bkui-vue 0.0.1-beta.27 → 0.0.1-beta.28
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/bkui-vue.cjs.js +953 -11
- package/dist/bkui-vue.esm.js +953 -12
- package/dist/bkui-vue.umd.js +953 -11
- package/dist/style.css +214 -6
- package/lib/components.d.ts +1 -0
- package/lib/select/select.css +6 -6
- package/lib/select/select.less +12 -7
- package/lib/select/select.variable.css +6 -6
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.js +1 -1
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +301 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/tree/index.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1,208 @@
|
|
1
|
+
.bk-tag-input {
|
2
|
+
position: relative;
|
3
|
+
min-height: 32px;
|
4
|
+
}
|
5
|
+
.bk-tag-input .bk-popover-reference {
|
6
|
+
display: block;
|
7
|
+
}
|
8
|
+
.bk-tag-input .bk-tag-input-trigger {
|
9
|
+
position: relative;
|
10
|
+
display: flex;
|
11
|
+
min-height: 32px;
|
12
|
+
padding: 0 0 0 5px;
|
13
|
+
overflow: hidden;
|
14
|
+
font-size: 12px;
|
15
|
+
cursor: pointer;
|
16
|
+
background: white;
|
17
|
+
border: 1px solid #c4c6cc;
|
18
|
+
border-radius: 2px;
|
19
|
+
align-items: center;
|
20
|
+
justify-content: space-between;
|
21
|
+
}
|
22
|
+
.bk-tag-input .bk-tag-input-trigger.active {
|
23
|
+
border-color: #3a84ff;
|
24
|
+
}
|
25
|
+
.bk-tag-input .bk-tag-input-trigger.disabled {
|
26
|
+
cursor: not-allowed;
|
27
|
+
background: #fafbfd;
|
28
|
+
border-color: #dcdee5;
|
29
|
+
}
|
30
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list {
|
31
|
+
display: inline-flex;
|
32
|
+
max-height: 135px;
|
33
|
+
padding: 0;
|
34
|
+
margin: 0;
|
35
|
+
overflow: auto;
|
36
|
+
align-items: center;
|
37
|
+
flex-wrap: wrap;
|
38
|
+
}
|
39
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list > li {
|
40
|
+
display: inline-flex;
|
41
|
+
height: 22px;
|
42
|
+
margin: 4px 5px 4px 0;
|
43
|
+
overflow: hidden;
|
44
|
+
font-size: 12px;
|
45
|
+
border: solid 1px transparent;
|
46
|
+
border-radius: 2px;
|
47
|
+
align-items: center;
|
48
|
+
}
|
49
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list > li.tag-item {
|
50
|
+
background: #f0f1f5;
|
51
|
+
border-color: #f0f1f5;
|
52
|
+
}
|
53
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list .remove-tag {
|
54
|
+
flex-shrink: 0;
|
55
|
+
margin-right: 5px;
|
56
|
+
font-size: 14px;
|
57
|
+
line-height: 0;
|
58
|
+
}
|
59
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list .tag {
|
60
|
+
max-width: 190px;
|
61
|
+
overflow: hidden;
|
62
|
+
text-overflow: ellipsis;
|
63
|
+
word-break: break-all;
|
64
|
+
white-space: nowrap;
|
65
|
+
flex: 1;
|
66
|
+
}
|
67
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list .text {
|
68
|
+
padding: 0 5px;
|
69
|
+
line-height: 20px;
|
70
|
+
color: #63656e;
|
71
|
+
background-color: #f0f1f5;
|
72
|
+
border-radius: 2px;
|
73
|
+
box-sizing: border-box;
|
74
|
+
}
|
75
|
+
.bk-tag-input .bk-tag-input-trigger .tag-list .tag-input {
|
76
|
+
width: 10px;
|
77
|
+
height: 22px;
|
78
|
+
max-width: 295px;
|
79
|
+
padding: 0;
|
80
|
+
border: 0;
|
81
|
+
outline: none;
|
82
|
+
box-sizing: border-box;
|
83
|
+
}
|
84
|
+
.bk-tag-input .bk-tag-input-trigger .placeholder {
|
85
|
+
position: absolute;
|
86
|
+
top: 0;
|
87
|
+
left: 8px;
|
88
|
+
padding: 0;
|
89
|
+
margin: 0;
|
90
|
+
line-height: 30px;
|
91
|
+
color: #c4c6cc;
|
92
|
+
}
|
93
|
+
.bk-tag-input .bk-tag-input-trigger .clear-icon {
|
94
|
+
margin-right: 5px;
|
95
|
+
font-size: 14px;
|
96
|
+
line-height: 0;
|
97
|
+
color: #c4c6cc;
|
98
|
+
cursor: pointer;
|
99
|
+
}
|
100
|
+
.bk-tag-input .bk-tag-input-trigger .clear-icon:hover {
|
101
|
+
color: #979ba5;
|
102
|
+
}
|
103
|
+
.bk-tag-input .bk-popover-content {
|
104
|
+
padding: 0;
|
105
|
+
}
|
106
|
+
.bk-selector-list {
|
107
|
+
min-width: 150px;
|
108
|
+
}
|
109
|
+
.bk-selector-list .outside-ul {
|
110
|
+
max-height: 160px;
|
111
|
+
padding: 0;
|
112
|
+
padding: 6px 0;
|
113
|
+
margin: 0;
|
114
|
+
overflow-y: auto;
|
115
|
+
list-style: none;
|
116
|
+
background-color: white;
|
117
|
+
border: 1px solid #dcdee5;
|
118
|
+
border-radius: 2px;
|
119
|
+
}
|
120
|
+
.bk-selector-list .outside-ul::-webkit-scrollbar {
|
121
|
+
width: 6px;
|
122
|
+
height: 6px;
|
123
|
+
}
|
124
|
+
.bk-selector-list .outside-ul::-webkit-scrollbar-thumb {
|
125
|
+
min-height: 24px;
|
126
|
+
background-color: #dcdee5;
|
127
|
+
border-radius: 3px;
|
128
|
+
}
|
129
|
+
.bk-selector-list .bk-selector-group-item {
|
130
|
+
list-style: none;
|
131
|
+
}
|
132
|
+
.bk-selector-list .bk-selector-group-item .group-name {
|
133
|
+
padding-left: 11px;
|
134
|
+
font-size: 12px;
|
135
|
+
line-height: 32px;
|
136
|
+
color: #979ba5;
|
137
|
+
}
|
138
|
+
.bk-selector-list .bk-selector-group-list-item {
|
139
|
+
padding: 0;
|
140
|
+
margin: 0;
|
141
|
+
list-style: none;
|
142
|
+
}
|
143
|
+
.bk-selector-list .bk-selector-list-item {
|
144
|
+
position: relative;
|
145
|
+
width: 100%;
|
146
|
+
cursor: pointer;
|
147
|
+
background-color: white;
|
148
|
+
border-right: #c4c6cc;
|
149
|
+
border-left: #c4c6cc;
|
150
|
+
}
|
151
|
+
.bk-selector-list .bk-selector-list-item:first-child {
|
152
|
+
border-top: #c4c6cc;
|
153
|
+
}
|
154
|
+
.bk-selector-list .bk-selector-list-item:last-child {
|
155
|
+
border-bottom: #c4c6cc;
|
156
|
+
}
|
157
|
+
.bk-selector-list .bk-selector-list-item.bk-selector-selected {
|
158
|
+
background-color: #f4f6fa;
|
159
|
+
}
|
160
|
+
.bk-selector-list .bk-selector-list-item.bk-selector-selected .selected-icon {
|
161
|
+
display: inline-block;
|
162
|
+
}
|
163
|
+
.bk-selector-list .bk-selector-list-item.bk-selector-actived {
|
164
|
+
background-color: #f4f6fa;
|
165
|
+
}
|
166
|
+
.bk-selector-list .bk-selector-list-item:hover {
|
167
|
+
background-color: #eaf3ff;
|
168
|
+
}
|
169
|
+
.bk-selector-list .bk-selector-list-item.disabled {
|
170
|
+
cursor: not-allowed;
|
171
|
+
background: white;
|
172
|
+
}
|
173
|
+
.bk-selector-list .bk-selector-list-item.disabled .text {
|
174
|
+
color: #c4c6cc;
|
175
|
+
}
|
176
|
+
.bk-selector-list .bk-selector-list-item.loading {
|
177
|
+
padding: 5px 0 3px;
|
178
|
+
text-align: center;
|
179
|
+
}
|
180
|
+
.bk-selector-list .bk-selector-list-item .loading {
|
181
|
+
position: relative;
|
182
|
+
width: 100%;
|
183
|
+
height: 40px;
|
184
|
+
font-size: 14px;
|
185
|
+
cursor: default;
|
186
|
+
}
|
187
|
+
.bk-selector-list .bk-selector-list-item .text {
|
188
|
+
padding: 0 10px;
|
189
|
+
overflow: hidden;
|
190
|
+
font-size: 12px;
|
191
|
+
line-height: 32px;
|
192
|
+
color: #63656e;
|
193
|
+
text-overflow: ellipsis;
|
194
|
+
white-space: nowrap;
|
195
|
+
}
|
196
|
+
.bk-selector-list .bk-selector-list-item .bk-selector-tools {
|
197
|
+
position: absolute;
|
198
|
+
top: 10px;
|
199
|
+
right: 0;
|
200
|
+
display: none;
|
201
|
+
font-size: 12px;
|
202
|
+
}
|
203
|
+
.bk-selector-list .bk-selector-list-item .bk-selector-tools .bk-selector-list-icon {
|
204
|
+
margin-right: 14px;
|
205
|
+
}
|
206
|
+
.bk-selector-list .bk-selector-list-item .highlight-text {
|
207
|
+
color: #3a84ff;
|
208
|
+
}
|
@@ -0,0 +1,374 @@
|
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
modelValue: import("vue-types").VueTypeDef<string[]> & {
|
4
|
+
default: () => string[];
|
5
|
+
};
|
6
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
7
|
+
default: string;
|
8
|
+
} & {
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
list: import("vue-types").VueTypeDef<{
|
12
|
+
[key: string]: any;
|
13
|
+
}[]> & {
|
14
|
+
default: () => {
|
15
|
+
[key: string]: any;
|
16
|
+
}[];
|
17
|
+
};
|
18
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
|
+
default: boolean;
|
20
|
+
} & {
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
tooltipKey: import("vue-types").VueTypeValidableDef<string> & {
|
24
|
+
default: string;
|
25
|
+
} & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
saveKey: import("vue-types").VueTypeValidableDef<string> & {
|
29
|
+
default: string;
|
30
|
+
} & {
|
31
|
+
default: string;
|
32
|
+
};
|
33
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
34
|
+
default: string;
|
35
|
+
} & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
hasDeleteIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
} & {
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
44
|
+
default: boolean;
|
45
|
+
} & {
|
46
|
+
default: boolean;
|
47
|
+
};
|
48
|
+
trigger: import("vue-types").VueTypeDef<string> & {
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
searchKey: import("vue-types").VueTypeDef<string | string[]> & {
|
52
|
+
default: string | (() => string[]);
|
53
|
+
};
|
54
|
+
useGroup: import("vue-types").VueTypeValidableDef<boolean> & {
|
55
|
+
default: boolean;
|
56
|
+
} & {
|
57
|
+
default: boolean;
|
58
|
+
};
|
59
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
60
|
+
default: boolean;
|
61
|
+
} & {
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
maxData: import("vue-types").VueTypeValidableDef<number> & {
|
65
|
+
default: number;
|
66
|
+
} & {
|
67
|
+
default: number;
|
68
|
+
};
|
69
|
+
maxResult: import("vue-types").VueTypeValidableDef<number> & {
|
70
|
+
default: number;
|
71
|
+
} & {
|
72
|
+
default: number;
|
73
|
+
};
|
74
|
+
contentMaxHeight: import("vue-types").VueTypeValidableDef<number> & {
|
75
|
+
default: number;
|
76
|
+
} & {
|
77
|
+
default: number;
|
78
|
+
};
|
79
|
+
contentWidth: import("vue-types").VueTypeValidableDef<number> & {
|
80
|
+
default: number;
|
81
|
+
} & {
|
82
|
+
default: number;
|
83
|
+
};
|
84
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
85
|
+
default: string;
|
86
|
+
} & {
|
87
|
+
default: string;
|
88
|
+
};
|
89
|
+
allowNextFocus: import("vue-types").VueTypeValidableDef<boolean> & {
|
90
|
+
default: boolean;
|
91
|
+
} & {
|
92
|
+
default: boolean;
|
93
|
+
};
|
94
|
+
allowAutoMatch: import("vue-types").VueTypeValidableDef<boolean> & {
|
95
|
+
default: boolean;
|
96
|
+
} & {
|
97
|
+
default: boolean;
|
98
|
+
};
|
99
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
100
|
+
default: boolean;
|
101
|
+
} & {
|
102
|
+
default: boolean;
|
103
|
+
};
|
104
|
+
leftSpace: import("vue-types").VueTypeValidableDef<number> & {
|
105
|
+
default: number;
|
106
|
+
} & {
|
107
|
+
default: number;
|
108
|
+
};
|
109
|
+
createTagValidator: {
|
110
|
+
type: import("vue").PropType<(tag: any) => boolean>;
|
111
|
+
default: any;
|
112
|
+
};
|
113
|
+
filterCallback: {
|
114
|
+
type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
|
115
|
+
default: any;
|
116
|
+
};
|
117
|
+
tagTpl: {
|
118
|
+
type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
119
|
+
[key: string]: any;
|
120
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
121
|
+
[key: string]: any;
|
122
|
+
}>>;
|
123
|
+
default: any;
|
124
|
+
};
|
125
|
+
tpl: {
|
126
|
+
type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
127
|
+
[key: string]: any;
|
128
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
129
|
+
[key: string]: any;
|
130
|
+
}>>;
|
131
|
+
default: any;
|
132
|
+
};
|
133
|
+
pasteFn: {
|
134
|
+
type: import("vue").PropType<(value: string) => any[]>;
|
135
|
+
default: any;
|
136
|
+
};
|
137
|
+
}, {
|
138
|
+
isShowPlaceholder: import("vue").ComputedRef<boolean>;
|
139
|
+
isShowClear: import("vue").ComputedRef<boolean>;
|
140
|
+
curInputValue: Ref<string>;
|
141
|
+
formatList: any[];
|
142
|
+
renderList: import("vue").ComputedRef<any[]>;
|
143
|
+
showTagClose: import("vue").ComputedRef<boolean>;
|
144
|
+
tagInputRef: any;
|
145
|
+
bkTagSelectorRef: any;
|
146
|
+
tagListRef: any;
|
147
|
+
tagInputItemRef: any;
|
148
|
+
selectorListRef: any;
|
149
|
+
popoverRef: any;
|
150
|
+
triggerClass: import("vue").ComputedRef<{
|
151
|
+
'bk-tag-input-trigger': boolean;
|
152
|
+
active: boolean;
|
153
|
+
disabled: boolean;
|
154
|
+
}>;
|
155
|
+
focusInputTrigger: (e?: MouseEvent) => void;
|
156
|
+
activeClass: (data: any, index: number) => {
|
157
|
+
'bk-selector-actived': boolean;
|
158
|
+
'bk-selector-selected': boolean;
|
159
|
+
};
|
160
|
+
handleInput: (e?: Event) => void;
|
161
|
+
handleFocus: () => void;
|
162
|
+
handleBlur: () => void;
|
163
|
+
handleTagSelected: (item: any, type: string, e?: Event) => void;
|
164
|
+
handleTagRemove: (data: any, index: number, e?: MouseEvent) => void;
|
165
|
+
handleClear: (e: MouseEvent) => void;
|
166
|
+
tagFocus: (e: MouseEvent) => void;
|
167
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
168
|
+
handlePaste: (e: ClipboardEvent) => boolean;
|
169
|
+
curPage: Ref<number>;
|
170
|
+
totalSize: Ref<number>;
|
171
|
+
totalPage: Ref<number>;
|
172
|
+
pageSize: Ref<number>;
|
173
|
+
isPageLoading: Ref<boolean>;
|
174
|
+
curPageList: Ref<any[]>;
|
175
|
+
renderListPaged: Ref<any[]>;
|
176
|
+
localList: Ref<any[]>;
|
177
|
+
tagListCache: Ref<any[]>;
|
178
|
+
selectedTagList: Ref<any[]>;
|
179
|
+
selectedTagListCache: Ref<any[]>;
|
180
|
+
isEdit: Ref<boolean>;
|
181
|
+
isHover: Ref<boolean>;
|
182
|
+
focusItemIndex: Ref<number>;
|
183
|
+
popoverProps: {
|
184
|
+
isShow: boolean;
|
185
|
+
width: number;
|
186
|
+
modifiers: {
|
187
|
+
name: string;
|
188
|
+
options: {
|
189
|
+
offset: number[];
|
190
|
+
};
|
191
|
+
}[];
|
192
|
+
};
|
193
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll")[], "select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
194
|
+
modelValue: import("vue-types").VueTypeDef<string[]> & {
|
195
|
+
default: () => string[];
|
196
|
+
};
|
197
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
198
|
+
default: string;
|
199
|
+
} & {
|
200
|
+
default: string;
|
201
|
+
};
|
202
|
+
list: import("vue-types").VueTypeDef<{
|
203
|
+
[key: string]: any;
|
204
|
+
}[]> & {
|
205
|
+
default: () => {
|
206
|
+
[key: string]: any;
|
207
|
+
}[];
|
208
|
+
};
|
209
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
210
|
+
default: boolean;
|
211
|
+
} & {
|
212
|
+
default: boolean;
|
213
|
+
};
|
214
|
+
tooltipKey: import("vue-types").VueTypeValidableDef<string> & {
|
215
|
+
default: string;
|
216
|
+
} & {
|
217
|
+
default: string;
|
218
|
+
};
|
219
|
+
saveKey: import("vue-types").VueTypeValidableDef<string> & {
|
220
|
+
default: string;
|
221
|
+
} & {
|
222
|
+
default: string;
|
223
|
+
};
|
224
|
+
displayKey: import("vue-types").VueTypeValidableDef<string> & {
|
225
|
+
default: string;
|
226
|
+
} & {
|
227
|
+
default: string;
|
228
|
+
};
|
229
|
+
hasDeleteIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
230
|
+
default: boolean;
|
231
|
+
} & {
|
232
|
+
default: boolean;
|
233
|
+
};
|
234
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
235
|
+
default: boolean;
|
236
|
+
} & {
|
237
|
+
default: boolean;
|
238
|
+
};
|
239
|
+
trigger: import("vue-types").VueTypeDef<string> & {
|
240
|
+
default: string;
|
241
|
+
};
|
242
|
+
searchKey: import("vue-types").VueTypeDef<string | string[]> & {
|
243
|
+
default: string | (() => string[]);
|
244
|
+
};
|
245
|
+
useGroup: import("vue-types").VueTypeValidableDef<boolean> & {
|
246
|
+
default: boolean;
|
247
|
+
} & {
|
248
|
+
default: boolean;
|
249
|
+
};
|
250
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
251
|
+
default: boolean;
|
252
|
+
} & {
|
253
|
+
default: boolean;
|
254
|
+
};
|
255
|
+
maxData: import("vue-types").VueTypeValidableDef<number> & {
|
256
|
+
default: number;
|
257
|
+
} & {
|
258
|
+
default: number;
|
259
|
+
};
|
260
|
+
maxResult: import("vue-types").VueTypeValidableDef<number> & {
|
261
|
+
default: number;
|
262
|
+
} & {
|
263
|
+
default: number;
|
264
|
+
};
|
265
|
+
contentMaxHeight: import("vue-types").VueTypeValidableDef<number> & {
|
266
|
+
default: number;
|
267
|
+
} & {
|
268
|
+
default: number;
|
269
|
+
};
|
270
|
+
contentWidth: import("vue-types").VueTypeValidableDef<number> & {
|
271
|
+
default: number;
|
272
|
+
} & {
|
273
|
+
default: number;
|
274
|
+
};
|
275
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
276
|
+
default: string;
|
277
|
+
} & {
|
278
|
+
default: string;
|
279
|
+
};
|
280
|
+
allowNextFocus: import("vue-types").VueTypeValidableDef<boolean> & {
|
281
|
+
default: boolean;
|
282
|
+
} & {
|
283
|
+
default: boolean;
|
284
|
+
};
|
285
|
+
allowAutoMatch: import("vue-types").VueTypeValidableDef<boolean> & {
|
286
|
+
default: boolean;
|
287
|
+
} & {
|
288
|
+
default: boolean;
|
289
|
+
};
|
290
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
291
|
+
default: boolean;
|
292
|
+
} & {
|
293
|
+
default: boolean;
|
294
|
+
};
|
295
|
+
leftSpace: import("vue-types").VueTypeValidableDef<number> & {
|
296
|
+
default: number;
|
297
|
+
} & {
|
298
|
+
default: number;
|
299
|
+
};
|
300
|
+
createTagValidator: {
|
301
|
+
type: import("vue").PropType<(tag: any) => boolean>;
|
302
|
+
default: any;
|
303
|
+
};
|
304
|
+
filterCallback: {
|
305
|
+
type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
|
306
|
+
default: any;
|
307
|
+
};
|
308
|
+
tagTpl: {
|
309
|
+
type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
310
|
+
[key: string]: any;
|
311
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
312
|
+
[key: string]: any;
|
313
|
+
}>>;
|
314
|
+
default: any;
|
315
|
+
};
|
316
|
+
tpl: {
|
317
|
+
type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
318
|
+
[key: string]: any;
|
319
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
320
|
+
[key: string]: any;
|
321
|
+
}>>;
|
322
|
+
default: any;
|
323
|
+
};
|
324
|
+
pasteFn: {
|
325
|
+
type: import("vue").PropType<(value: string) => any[]>;
|
326
|
+
default: any;
|
327
|
+
};
|
328
|
+
}>> & {
|
329
|
+
onBlur?: (...args: any[]) => any;
|
330
|
+
onChange?: (...args: any[]) => any;
|
331
|
+
onSelect?: (...args: any[]) => any;
|
332
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
333
|
+
onRemove?: (...args: any[]) => any;
|
334
|
+
onRemoveAll?: (...args: any[]) => any;
|
335
|
+
}, {
|
336
|
+
placeholder: string;
|
337
|
+
list: {
|
338
|
+
[key: string]: any;
|
339
|
+
}[];
|
340
|
+
separator: string;
|
341
|
+
disabled: boolean;
|
342
|
+
modelValue: string[];
|
343
|
+
trigger: string;
|
344
|
+
clearable: boolean;
|
345
|
+
showClearOnlyHover: boolean;
|
346
|
+
searchKey: string | string[];
|
347
|
+
displayKey: string;
|
348
|
+
tooltipKey: string;
|
349
|
+
saveKey: string;
|
350
|
+
hasDeleteIcon: boolean;
|
351
|
+
useGroup: boolean;
|
352
|
+
allowCreate: boolean;
|
353
|
+
maxData: number;
|
354
|
+
maxResult: number;
|
355
|
+
contentMaxHeight: number;
|
356
|
+
contentWidth: number;
|
357
|
+
allowNextFocus: boolean;
|
358
|
+
allowAutoMatch: boolean;
|
359
|
+
leftSpace: number;
|
360
|
+
createTagValidator: (tag: any) => boolean;
|
361
|
+
filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
|
362
|
+
tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
363
|
+
[key: string]: any;
|
364
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
365
|
+
[key: string]: any;
|
366
|
+
}>;
|
367
|
+
tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
368
|
+
[key: string]: any;
|
369
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
370
|
+
[key: string]: any;
|
371
|
+
}>;
|
372
|
+
pasteFn: (value: string) => any[];
|
373
|
+
}>;
|
374
|
+
export default _default;
|