bkui-vue 0.0.1-beta.196 → 0.0.1-beta.197

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.
@@ -0,0 +1,681 @@
1
+ declare const BkSearchSelect: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ data: import("./utils").ISearchItem[];
7
+ maxHeight: number;
8
+ minHeight: number;
9
+ clearable: boolean;
10
+ modelValue: import("./utils").ISearchValue[];
11
+ conditions: import("./utils").ICommonItem[];
12
+ shrink: boolean;
13
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
+ data: {
15
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
16
+ default: () => any[];
17
+ };
18
+ modelValue: {
19
+ type: import("vue").PropType<import("./utils").ISearchValue[]>;
20
+ default: () => any[];
21
+ };
22
+ shrink: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ maxHeight: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
30
+ minHeight: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ };
34
+ conditions: {
35
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
36
+ default: () => {
37
+ id: string;
38
+ name: string;
39
+ }[];
40
+ };
41
+ clearable: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
46
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
47
+ }>> & {
48
+ "onUpdate:modelValue"?: (...args: any[]) => any;
49
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "maxHeight" | "minHeight" | "clearable" | "modelValue" | "conditions" | "shrink">;
50
+ $attrs: {
51
+ [x: string]: unknown;
52
+ };
53
+ $refs: {
54
+ [x: string]: unknown;
55
+ };
56
+ $slots: Readonly<{
57
+ [name: string]: import("vue").Slot;
58
+ }>;
59
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
60
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
61
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
62
+ $el: any;
63
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
64
+ data: {
65
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
66
+ default: () => any[];
67
+ };
68
+ modelValue: {
69
+ type: import("vue").PropType<import("./utils").ISearchValue[]>;
70
+ default: () => any[];
71
+ };
72
+ shrink: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ maxHeight: {
77
+ type: NumberConstructor;
78
+ default: number;
79
+ };
80
+ minHeight: {
81
+ type: NumberConstructor;
82
+ default: number;
83
+ };
84
+ conditions: {
85
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
86
+ default: () => {
87
+ id: string;
88
+ name: string;
89
+ }[];
90
+ };
91
+ clearable: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
96
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
97
+ }>> & {
98
+ "onUpdate:modelValue"?: (...args: any[]) => any;
99
+ }, {
100
+ inputRef: import("vue").Ref<import("vue").DefineComponent<{
101
+ data: {
102
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
103
+ required: true;
104
+ };
105
+ showInputBefore: BooleanConstructor;
106
+ showCondition: BooleanConstructor;
107
+ clickOutside: FunctionConstructor;
108
+ conditions: {
109
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
110
+ default: () => any[];
111
+ };
112
+ defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
113
+ mode: {
114
+ type: import("vue").PropType<import("./utils").SearchInputMode>;
115
+ default: import("./utils").SearchInputMode;
116
+ };
117
+ geMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
118
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
119
+ }, {
120
+ popoverRef: import("vue").Ref<HTMLDivElement>;
121
+ inputRef: import("vue").Ref<HTMLDivElement>;
122
+ keyword: import("vue").Ref<string>;
123
+ loading: import("vue").Ref<boolean>;
124
+ remoteMenuList: import("vue").Ref<{
125
+ id: string;
126
+ name: string;
127
+ disabled?: boolean;
128
+ realId?: string;
129
+ value?: {
130
+ name: string;
131
+ id: string;
132
+ realId?: string;
133
+ };
134
+ }[]>;
135
+ menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
136
+ menuHoverId: import("vue").Ref<string>;
137
+ isFocus: import("vue").Ref<boolean>;
138
+ usingItem: import("vue").Ref<import("./utils").SelectedItem>;
139
+ showPopover: import("vue").Ref<boolean>;
140
+ showNoSelectValueError: import("vue").Ref<boolean>;
141
+ debounceSetMenuList: {
142
+ (this: any): any;
143
+ cancel(): void;
144
+ };
145
+ documentArrowEvent: (e: KeyboardEvent) => void;
146
+ handleClickOutside: (e: MouseEvent) => void;
147
+ handleInputFocus: (e: FocusEvent) => void;
148
+ handleInputChange: (event: Event) => void;
149
+ handleInputKeyup: (event: KeyboardEvent) => void;
150
+ handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
151
+ handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
152
+ handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
153
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete")[], "focus" | "add" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
154
+ data: {
155
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
156
+ required: true;
157
+ };
158
+ showInputBefore: BooleanConstructor;
159
+ showCondition: BooleanConstructor;
160
+ clickOutside: FunctionConstructor;
161
+ conditions: {
162
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
163
+ default: () => any[];
164
+ };
165
+ defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
166
+ mode: {
167
+ type: import("vue").PropType<import("./utils").SearchInputMode>;
168
+ default: import("./utils").SearchInputMode;
169
+ };
170
+ geMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
171
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
172
+ }>> & {
173
+ onFocus?: (...args: any[]) => any;
174
+ onAdd?: (...args: any[]) => any;
175
+ onDelete?: (...args: any[]) => any;
176
+ }, {
177
+ mode: import("./utils").SearchInputMode;
178
+ conditions: import("./utils").ICommonItem[];
179
+ showInputBefore: boolean;
180
+ showCondition: boolean;
181
+ }>>;
182
+ wrapRef: import("vue").Ref<HTMLDivElement>;
183
+ isFocus: import("vue").Ref<boolean>;
184
+ selectedList: import("vue").Ref<{
185
+ id: string;
186
+ name: string;
187
+ values: {
188
+ id: string;
189
+ name: string;
190
+ disabled?: boolean;
191
+ realId?: string;
192
+ value?: {
193
+ name: string;
194
+ id: string;
195
+ realId?: string;
196
+ };
197
+ }[];
198
+ condition: string;
199
+ searchItem: {
200
+ id: string;
201
+ name: string;
202
+ children?: {
203
+ id: string;
204
+ name: string;
205
+ disabled?: boolean;
206
+ realId?: string;
207
+ value?: {
208
+ name: string;
209
+ id: string;
210
+ realId?: string;
211
+ };
212
+ }[];
213
+ multiple?: boolean;
214
+ async?: boolean;
215
+ noValidate?: boolean;
216
+ placeholder?: string;
217
+ disabled?: boolean;
218
+ };
219
+ type: import("./utils").SearchItemType;
220
+ readonly multiple: boolean;
221
+ readonly placeholder: string;
222
+ readonly children: {
223
+ id: string;
224
+ name: string;
225
+ disabled?: boolean;
226
+ realId?: string;
227
+ value?: {
228
+ name: string;
229
+ id: string;
230
+ realId?: string;
231
+ };
232
+ }[];
233
+ readonly validate: boolean;
234
+ readonly inputInnerHtml: string;
235
+ readonly inputInnerText: string;
236
+ readonly keyInnerHtml: string;
237
+ readonly keyInnerText: string;
238
+ isSpecialType: () => boolean;
239
+ addValue: (item: import("./utils").ICommonItem) => void;
240
+ toValue: () => import("./utils").ISearchValue;
241
+ toValueKey: () => string;
242
+ isInValueList: (item: import("./utils").ICommonItem) => boolean;
243
+ }[]>;
244
+ overflowIndex: import("vue").Ref<number>;
245
+ validateStr: import("vue").Ref<string>;
246
+ onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
247
+ onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
248
+ handleWrapClick: () => void;
249
+ handleInputFocus: (v: boolean) => void;
250
+ handleResize: () => void;
251
+ handleClearAll: () => void;
252
+ handleInputOutside: (target: Node) => boolean;
253
+ handleAddSelected: (item: import("./utils").SelectedItem) => void;
254
+ handleDeleteSelected: (index?: number) => void;
255
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
256
+ data: import("./utils").ISearchItem[];
257
+ maxHeight: number;
258
+ minHeight: number;
259
+ clearable: boolean;
260
+ modelValue: import("./utils").ISearchValue[];
261
+ conditions: import("./utils").ICommonItem[];
262
+ shrink: boolean;
263
+ }> & {
264
+ beforeCreate?: (() => void) | (() => void)[];
265
+ created?: (() => void) | (() => void)[];
266
+ beforeMount?: (() => void) | (() => void)[];
267
+ mounted?: (() => void) | (() => void)[];
268
+ beforeUpdate?: (() => void) | (() => void)[];
269
+ updated?: (() => void) | (() => void)[];
270
+ activated?: (() => void) | (() => void)[];
271
+ deactivated?: (() => void) | (() => void)[];
272
+ beforeDestroy?: (() => void) | (() => void)[];
273
+ beforeUnmount?: (() => void) | (() => void)[];
274
+ destroyed?: (() => void) | (() => void)[];
275
+ unmounted?: (() => void) | (() => void)[];
276
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
277
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
278
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
279
+ };
280
+ $forceUpdate: () => void;
281
+ $nextTick: typeof import("vue").nextTick;
282
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
283
+ } & Readonly<import("vue").ExtractPropTypes<{
284
+ data: {
285
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
286
+ default: () => any[];
287
+ };
288
+ modelValue: {
289
+ type: import("vue").PropType<import("./utils").ISearchValue[]>;
290
+ default: () => any[];
291
+ };
292
+ shrink: {
293
+ type: BooleanConstructor;
294
+ default: boolean;
295
+ };
296
+ maxHeight: {
297
+ type: NumberConstructor;
298
+ default: number;
299
+ };
300
+ minHeight: {
301
+ type: NumberConstructor;
302
+ default: number;
303
+ };
304
+ conditions: {
305
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
306
+ default: () => {
307
+ id: string;
308
+ name: string;
309
+ }[];
310
+ };
311
+ clearable: {
312
+ type: BooleanConstructor;
313
+ default: boolean;
314
+ };
315
+ getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
316
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
317
+ }>> & {
318
+ "onUpdate:modelValue"?: (...args: any[]) => any;
319
+ } & import("vue").ShallowUnwrapRef<{
320
+ inputRef: import("vue").Ref<import("vue").DefineComponent<{
321
+ data: {
322
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
323
+ required: true;
324
+ };
325
+ showInputBefore: BooleanConstructor;
326
+ showCondition: BooleanConstructor;
327
+ clickOutside: FunctionConstructor;
328
+ conditions: {
329
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
330
+ default: () => any[];
331
+ };
332
+ defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
333
+ mode: {
334
+ type: import("vue").PropType<import("./utils").SearchInputMode>;
335
+ default: import("./utils").SearchInputMode;
336
+ };
337
+ geMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
338
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
339
+ }, {
340
+ popoverRef: import("vue").Ref<HTMLDivElement>;
341
+ inputRef: import("vue").Ref<HTMLDivElement>;
342
+ keyword: import("vue").Ref<string>;
343
+ loading: import("vue").Ref<boolean>;
344
+ remoteMenuList: import("vue").Ref<{
345
+ id: string;
346
+ name: string;
347
+ disabled?: boolean;
348
+ realId?: string;
349
+ value?: {
350
+ name: string;
351
+ id: string;
352
+ realId?: string;
353
+ };
354
+ }[]>;
355
+ menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
356
+ menuHoverId: import("vue").Ref<string>;
357
+ isFocus: import("vue").Ref<boolean>;
358
+ usingItem: import("vue").Ref<import("./utils").SelectedItem>;
359
+ showPopover: import("vue").Ref<boolean>;
360
+ showNoSelectValueError: import("vue").Ref<boolean>;
361
+ debounceSetMenuList: {
362
+ (this: any): any;
363
+ cancel(): void;
364
+ };
365
+ documentArrowEvent: (e: KeyboardEvent) => void;
366
+ handleClickOutside: (e: MouseEvent) => void;
367
+ handleInputFocus: (e: FocusEvent) => void;
368
+ handleInputChange: (event: Event) => void;
369
+ handleInputKeyup: (event: KeyboardEvent) => void;
370
+ handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
371
+ handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
372
+ handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
373
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete")[], "focus" | "add" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
374
+ data: {
375
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
376
+ required: true;
377
+ };
378
+ showInputBefore: BooleanConstructor;
379
+ showCondition: BooleanConstructor;
380
+ clickOutside: FunctionConstructor;
381
+ conditions: {
382
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
383
+ default: () => any[];
384
+ };
385
+ defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
386
+ mode: {
387
+ type: import("vue").PropType<import("./utils").SearchInputMode>;
388
+ default: import("./utils").SearchInputMode;
389
+ };
390
+ geMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
391
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
392
+ }>> & {
393
+ onFocus?: (...args: any[]) => any;
394
+ onAdd?: (...args: any[]) => any;
395
+ onDelete?: (...args: any[]) => any;
396
+ }, {
397
+ mode: import("./utils").SearchInputMode;
398
+ conditions: import("./utils").ICommonItem[];
399
+ showInputBefore: boolean;
400
+ showCondition: boolean;
401
+ }>>;
402
+ wrapRef: import("vue").Ref<HTMLDivElement>;
403
+ isFocus: import("vue").Ref<boolean>;
404
+ selectedList: import("vue").Ref<{
405
+ id: string;
406
+ name: string;
407
+ values: {
408
+ id: string;
409
+ name: string;
410
+ disabled?: boolean;
411
+ realId?: string;
412
+ value?: {
413
+ name: string;
414
+ id: string;
415
+ realId?: string;
416
+ };
417
+ }[];
418
+ condition: string;
419
+ searchItem: {
420
+ id: string;
421
+ name: string;
422
+ children?: {
423
+ id: string;
424
+ name: string;
425
+ disabled?: boolean;
426
+ realId?: string;
427
+ value?: {
428
+ name: string;
429
+ id: string;
430
+ realId?: string;
431
+ };
432
+ }[];
433
+ multiple?: boolean;
434
+ async?: boolean;
435
+ noValidate?: boolean;
436
+ placeholder?: string;
437
+ disabled?: boolean;
438
+ };
439
+ type: import("./utils").SearchItemType;
440
+ readonly multiple: boolean;
441
+ readonly placeholder: string;
442
+ readonly children: {
443
+ id: string;
444
+ name: string;
445
+ disabled?: boolean;
446
+ realId?: string;
447
+ value?: {
448
+ name: string;
449
+ id: string;
450
+ realId?: string;
451
+ };
452
+ }[];
453
+ readonly validate: boolean;
454
+ readonly inputInnerHtml: string;
455
+ readonly inputInnerText: string;
456
+ readonly keyInnerHtml: string;
457
+ readonly keyInnerText: string;
458
+ isSpecialType: () => boolean;
459
+ addValue: (item: import("./utils").ICommonItem) => void;
460
+ toValue: () => import("./utils").ISearchValue;
461
+ toValueKey: () => string;
462
+ isInValueList: (item: import("./utils").ICommonItem) => boolean;
463
+ }[]>;
464
+ overflowIndex: import("vue").Ref<number>;
465
+ validateStr: import("vue").Ref<string>;
466
+ onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
467
+ onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
468
+ handleWrapClick: () => void;
469
+ handleInputFocus: (v: boolean) => void;
470
+ handleResize: () => void;
471
+ handleClearAll: () => void;
472
+ handleInputOutside: (target: Node) => boolean;
473
+ handleAddSelected: (item: import("./utils").SelectedItem) => void;
474
+ handleDeleteSelected: (index?: number) => void;
475
+ }> & {} & {} & import("vue").ComponentCustomProperties;
476
+ __isFragment?: never;
477
+ __isTeleport?: never;
478
+ __isSuspense?: never;
479
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
480
+ data: {
481
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
482
+ default: () => any[];
483
+ };
484
+ modelValue: {
485
+ type: import("vue").PropType<import("./utils").ISearchValue[]>;
486
+ default: () => any[];
487
+ };
488
+ shrink: {
489
+ type: BooleanConstructor;
490
+ default: boolean;
491
+ };
492
+ maxHeight: {
493
+ type: NumberConstructor;
494
+ default: number;
495
+ };
496
+ minHeight: {
497
+ type: NumberConstructor;
498
+ default: number;
499
+ };
500
+ conditions: {
501
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
502
+ default: () => {
503
+ id: string;
504
+ name: string;
505
+ }[];
506
+ };
507
+ clearable: {
508
+ type: BooleanConstructor;
509
+ default: boolean;
510
+ };
511
+ getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
512
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
513
+ }>> & {
514
+ "onUpdate:modelValue"?: (...args: any[]) => any;
515
+ }, {
516
+ inputRef: import("vue").Ref<import("vue").DefineComponent<{
517
+ data: {
518
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
519
+ required: true;
520
+ };
521
+ showInputBefore: BooleanConstructor;
522
+ showCondition: BooleanConstructor;
523
+ clickOutside: FunctionConstructor;
524
+ conditions: {
525
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
526
+ default: () => any[];
527
+ };
528
+ defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
529
+ mode: {
530
+ type: import("vue").PropType<import("./utils").SearchInputMode>;
531
+ default: import("./utils").SearchInputMode;
532
+ };
533
+ geMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
534
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
535
+ }, {
536
+ popoverRef: import("vue").Ref<HTMLDivElement>;
537
+ inputRef: import("vue").Ref<HTMLDivElement>;
538
+ keyword: import("vue").Ref<string>;
539
+ loading: import("vue").Ref<boolean>;
540
+ remoteMenuList: import("vue").Ref<{
541
+ id: string;
542
+ name: string;
543
+ disabled?: boolean;
544
+ realId?: string;
545
+ value?: {
546
+ name: string;
547
+ id: string;
548
+ realId?: string;
549
+ };
550
+ }[]>;
551
+ menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
552
+ menuHoverId: import("vue").Ref<string>;
553
+ isFocus: import("vue").Ref<boolean>;
554
+ usingItem: import("vue").Ref<import("./utils").SelectedItem>;
555
+ showPopover: import("vue").Ref<boolean>;
556
+ showNoSelectValueError: import("vue").Ref<boolean>;
557
+ debounceSetMenuList: {
558
+ (this: any): any;
559
+ cancel(): void;
560
+ };
561
+ documentArrowEvent: (e: KeyboardEvent) => void;
562
+ handleClickOutside: (e: MouseEvent) => void;
563
+ handleInputFocus: (e: FocusEvent) => void;
564
+ handleInputChange: (event: Event) => void;
565
+ handleInputKeyup: (event: KeyboardEvent) => void;
566
+ handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
567
+ handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
568
+ handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
569
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete")[], "focus" | "add" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
570
+ data: {
571
+ type: import("vue").PropType<import("./utils").ISearchItem[]>;
572
+ required: true;
573
+ };
574
+ showInputBefore: BooleanConstructor;
575
+ showCondition: BooleanConstructor;
576
+ clickOutside: FunctionConstructor;
577
+ conditions: {
578
+ type: import("vue").PropType<import("./utils").ICommonItem[]>;
579
+ default: () => any[];
580
+ };
581
+ defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
582
+ mode: {
583
+ type: import("vue").PropType<import("./utils").SearchInputMode>;
584
+ default: import("./utils").SearchInputMode;
585
+ };
586
+ geMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
587
+ validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
588
+ }>> & {
589
+ onFocus?: (...args: any[]) => any;
590
+ onAdd?: (...args: any[]) => any;
591
+ onDelete?: (...args: any[]) => any;
592
+ }, {
593
+ mode: import("./utils").SearchInputMode;
594
+ conditions: import("./utils").ICommonItem[];
595
+ showInputBefore: boolean;
596
+ showCondition: boolean;
597
+ }>>;
598
+ wrapRef: import("vue").Ref<HTMLDivElement>;
599
+ isFocus: import("vue").Ref<boolean>;
600
+ selectedList: import("vue").Ref<{
601
+ id: string;
602
+ name: string;
603
+ values: {
604
+ id: string;
605
+ name: string;
606
+ disabled?: boolean;
607
+ realId?: string;
608
+ value?: {
609
+ name: string;
610
+ id: string;
611
+ realId?: string;
612
+ };
613
+ }[];
614
+ condition: string;
615
+ searchItem: {
616
+ id: string;
617
+ name: string;
618
+ children?: {
619
+ id: string;
620
+ name: string;
621
+ disabled?: boolean;
622
+ realId?: string;
623
+ value?: {
624
+ name: string;
625
+ id: string;
626
+ realId?: string;
627
+ };
628
+ }[];
629
+ multiple?: boolean;
630
+ async?: boolean;
631
+ noValidate?: boolean;
632
+ placeholder?: string;
633
+ disabled?: boolean;
634
+ };
635
+ type: import("./utils").SearchItemType;
636
+ readonly multiple: boolean;
637
+ readonly placeholder: string;
638
+ readonly children: {
639
+ id: string;
640
+ name: string;
641
+ disabled?: boolean;
642
+ realId?: string;
643
+ value?: {
644
+ name: string;
645
+ id: string;
646
+ realId?: string;
647
+ };
648
+ }[];
649
+ readonly validate: boolean;
650
+ readonly inputInnerHtml: string;
651
+ readonly inputInnerText: string;
652
+ readonly keyInnerHtml: string;
653
+ readonly keyInnerText: string;
654
+ isSpecialType: () => boolean;
655
+ addValue: (item: import("./utils").ICommonItem) => void;
656
+ toValue: () => import("./utils").ISearchValue;
657
+ toValueKey: () => string;
658
+ isInValueList: (item: import("./utils").ICommonItem) => boolean;
659
+ }[]>;
660
+ overflowIndex: import("vue").Ref<number>;
661
+ validateStr: import("vue").Ref<string>;
662
+ onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
663
+ onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
664
+ handleWrapClick: () => void;
665
+ handleInputFocus: (v: boolean) => void;
666
+ handleResize: () => void;
667
+ handleClearAll: () => void;
668
+ handleInputOutside: (target: Node) => boolean;
669
+ handleAddSelected: (item: import("./utils").SelectedItem) => void;
670
+ handleDeleteSelected: (index?: number) => void;
671
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
672
+ data: import("./utils").ISearchItem[];
673
+ maxHeight: number;
674
+ minHeight: number;
675
+ clearable: boolean;
676
+ modelValue: import("./utils").ISearchValue[];
677
+ conditions: import("./utils").ICommonItem[];
678
+ shrink: boolean;
679
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
680
+ export default BkSearchSelect;
681
+ export { BkSearchSelect, };