bkui-vue 2.0.1-beta.7 → 2.0.1-beta.70.search.1
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/index.cjs.js +71 -71
- package/dist/index.esm.js +19703 -20587
- package/dist/index.umd.js +71 -71
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.less +3 -3
- package/lib/cascader/cascader.variable.css +3 -3
- package/lib/cascader/index.js +4 -4
- package/lib/collapse/collapse.css +0 -11
- package/lib/collapse/collapse.d.ts +0 -11
- package/lib/collapse/collapse.less +1 -15
- package/lib/collapse/collapse.variable.css +0 -11
- package/lib/collapse/index.d.ts +0 -23
- package/lib/collapse/index.js +1 -9
- package/lib/collapse/props.d.ts +0 -8
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +3 -3
- package/lib/color-picker/index.js +1 -1
- package/lib/components.d.ts +0 -1
- package/lib/components.js +0 -1
- package/lib/date-picker/base/year-table.d.ts +2 -2
- package/lib/date-picker/index.js +36 -111
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/panel/date-range.d.ts +63 -1
- package/lib/date-picker/utils.d.ts +0 -4
- package/lib/dialog/dialog.css +84 -135
- package/lib/dialog/dialog.d.ts +132 -38
- package/lib/dialog/dialog.less +76 -9
- package/lib/dialog/dialog.variable.css +84 -135
- package/lib/dialog/index.d.ts +311 -96
- package/lib/dialog/index.js +221 -197
- package/lib/dialog/props.d.ts +47 -10
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +173 -328
- package/lib/info-box/info-box.css +7 -63
- package/lib/info-box/info-box.d.ts +16 -18
- package/lib/info-box/info-box.less +14 -76
- package/lib/info-box/info-box.variable.css +7 -63
- package/lib/input/index.js +1 -2
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +345 -29
- package/lib/modal/index.js +703 -218
- package/lib/modal/modal.css +32 -131
- package/lib/modal/modal.d.ts +132 -11
- package/lib/modal/modal.less +29 -83
- package/lib/modal/modal.variable.css +32 -131
- package/lib/modal/props.mixin.d.ts +52 -4
- package/lib/overflow-title/index.js +52 -46
- package/lib/radio/index.d.ts +0 -29
- package/lib/radio/index.js +16 -34
- package/lib/radio/radio-button.d.ts +0 -10
- package/lib/radio/radio-group.d.ts +0 -10
- package/lib/radio/radio.d.ts +0 -10
- package/lib/rate/rate.css +0 -27
- package/lib/rate/rate.less +0 -33
- package/lib/rate/rate.variable.css +0 -27
- package/lib/rate/star.css +27 -0
- package/lib/rate/star.less +34 -0
- package/lib/{scrollbar/scrollbar.variable.css → rate/star.variable.css} +19 -67
- package/lib/search-select/index.d.ts +58 -78
- package/lib/search-select/index.js +311 -211
- package/lib/search-select/input.d.ts +6 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.d.ts +19 -43
- package/lib/search-select/selected.d.ts +12 -10
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/index.d.ts +19 -0
- package/lib/select/index.js +21 -8
- package/lib/select/select.css +2 -1
- package/lib/select/select.d.ts +9 -0
- package/lib/select/select.less +2 -1
- package/lib/select/select.variable.css +2 -1
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +48 -4
- package/lib/shared/mask.d.ts +11 -0
- package/lib/sideslider/index.d.ts +218 -42
- package/lib/sideslider/index.js +40 -65
- package/lib/sideslider/sideslider.css +86 -17
- package/lib/sideslider/sideslider.d.ts +104 -20
- package/lib/sideslider/sideslider.less +107 -27
- package/lib/sideslider/sideslider.variable.css +86 -17
- package/lib/slider/index.d.ts +0 -19
- package/lib/slider/index.js +5 -45
- package/lib/slider/slider.css +0 -14
- package/lib/slider/slider.d.ts +0 -9
- package/lib/slider/slider.less +0 -15
- package/lib/slider/slider.variable.css +0 -14
- package/lib/styles/index.d.ts +1 -0
- package/lib/table/components/table-cell.d.ts +2 -3
- package/lib/table/components/table-column.d.ts +119 -3
- package/lib/table/const.d.ts +4 -4
- package/lib/table/index.d.ts +107 -26
- package/lib/table/index.js +578 -17818
- package/lib/table/plugins/head-filter.css +4 -8
- package/lib/table/plugins/head-filter.less +3 -6
- package/lib/table/plugins/head-filter.variable.css +4 -8
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +1 -3
- package/lib/table/props.d.ts +4 -12
- package/lib/table/table.css +46 -106
- package/lib/table/table.d.ts +0 -11
- package/lib/table/table.less +58 -43
- package/lib/table/table.variable.css +46 -106
- package/lib/table/use-attributes.d.ts +1 -2
- package/lib/table/use-column.d.ts +10 -9
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.d.ts +299 -9
- package/lib/table-column/index.js +283 -25
- package/lib/transfer/index.js +14 -16
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +9 -9
- package/lib/tree/constant.d.ts +1 -3
- package/lib/tree/index.d.ts +0 -44
- package/lib/tree/index.js +35 -17554
- package/lib/tree/props.d.ts +0 -18
- package/lib/tree/tree.css +2 -76
- package/lib/tree/tree.d.ts +2 -28
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +2 -76
- package/lib/tree/use-node-attribute.d.ts +0 -9
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.js +9 -16
- package/lib/upload/upload.type.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +0 -27
- package/lib/virtual-render/index.js +80 -295
- package/lib/virtual-render/props.d.ts +0 -16
- package/lib/virtual-render/use-fix-top.d.ts +7 -2
- package/lib/virtual-render/v-virtual-render.d.ts +1 -2
- package/lib/virtual-render/virtual-render.css +2 -76
- package/lib/virtual-render/virtual-render.d.ts +0 -13
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +2 -76
- package/package.json +1 -1
- package/lib/info-box/render-component.d.ts +0 -4
- package/lib/modal/mask.d.ts +0 -6
- package/lib/scrollbar/index.d.ts +0 -15
- package/lib/scrollbar/index.js +0 -18763
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-shift-key.d.ts +0 -13
- package/lib/tree/use-intersection-observer.d.ts +0 -27
- package/lib/virtual-render/use-scrollbar.d.ts +0 -24
@@ -1,25 +1,17 @@
|
|
1
1
|
declare const BkSearchSelect: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
3
|
data: {
|
4
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
4
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
5
5
|
default: () => any[];
|
6
6
|
};
|
7
7
|
modelValue: {
|
8
8
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
9
9
|
default: () => any[];
|
10
10
|
};
|
11
|
-
shrink: {
|
12
|
-
type: BooleanConstructor;
|
13
|
-
default: boolean;
|
14
|
-
};
|
15
11
|
maxHeight: {
|
16
12
|
type: NumberConstructor;
|
17
13
|
default: number;
|
18
14
|
};
|
19
|
-
minHeight: {
|
20
|
-
type: NumberConstructor;
|
21
|
-
default: number;
|
22
|
-
};
|
23
15
|
conditions: {
|
24
16
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
25
17
|
default: () => any[];
|
@@ -58,7 +50,7 @@ declare const BkSearchSelect: {
|
|
58
50
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
59
51
|
default: () => any[];
|
60
52
|
};
|
61
|
-
|
53
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
62
54
|
mode: {
|
63
55
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
64
56
|
default: import("./utils").SearchInputMode;
|
@@ -103,13 +95,13 @@ declare const BkSearchSelect: {
|
|
103
95
|
};
|
104
96
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
105
97
|
handleClickOutside: (e: MouseEvent) => void;
|
106
|
-
handleInputFocus: () => void;
|
98
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
107
99
|
handleInputChange: (event: Event) => void;
|
108
100
|
handleInputPaste: (event: ClipboardEvent) => void;
|
109
101
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
110
102
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
111
103
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
112
|
-
|
104
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
113
105
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
114
106
|
resolveClassName: (cls: string) => string;
|
115
107
|
inputFocusForWrapper: () => void;
|
@@ -117,6 +109,7 @@ declare const BkSearchSelect: {
|
|
117
109
|
inputClearForWrapper: () => void;
|
118
110
|
deleteInputTextNode: () => void;
|
119
111
|
customPanelSubmit: (value: string) => void;
|
112
|
+
refleshMenuHover: () => void;
|
120
113
|
t: import("vue").ComputedRef<{
|
121
114
|
pleaseSelect: string;
|
122
115
|
loading: string;
|
@@ -140,7 +133,7 @@ declare const BkSearchSelect: {
|
|
140
133
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
141
134
|
default: () => any[];
|
142
135
|
};
|
143
|
-
|
136
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
144
137
|
mode: {
|
145
138
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
146
139
|
default: import("./utils").SearchInputMode;
|
@@ -180,7 +173,7 @@ declare const BkSearchSelect: {
|
|
180
173
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
181
174
|
default: () => any[];
|
182
175
|
};
|
183
|
-
|
176
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
184
177
|
mode: {
|
185
178
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
186
179
|
default: import("./utils").SearchInputMode;
|
@@ -225,13 +218,13 @@ declare const BkSearchSelect: {
|
|
225
218
|
};
|
226
219
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
227
220
|
handleClickOutside: (e: MouseEvent) => void;
|
228
|
-
handleInputFocus: () => void;
|
221
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
229
222
|
handleInputChange: (event: Event) => void;
|
230
223
|
handleInputPaste: (event: ClipboardEvent) => void;
|
231
224
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
232
225
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
233
226
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
234
|
-
|
227
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
235
228
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
236
229
|
resolveClassName: (cls: string) => string;
|
237
230
|
inputFocusForWrapper: () => void;
|
@@ -239,6 +232,7 @@ declare const BkSearchSelect: {
|
|
239
232
|
inputClearForWrapper: () => void;
|
240
233
|
deleteInputTextNode: () => void;
|
241
234
|
customPanelSubmit: (value: string) => void;
|
235
|
+
refleshMenuHover: () => void;
|
242
236
|
t: import("vue").ComputedRef<{
|
243
237
|
pleaseSelect: string;
|
244
238
|
loading: string;
|
@@ -278,7 +272,7 @@ declare const BkSearchSelect: {
|
|
278
272
|
}[];
|
279
273
|
condition: string;
|
280
274
|
logical: import("./utils").SearchLogical;
|
281
|
-
|
275
|
+
nameRenderKey: string;
|
282
276
|
searchItem: {
|
283
277
|
id: string;
|
284
278
|
name: string;
|
@@ -371,7 +365,7 @@ declare const BkSearchSelect: {
|
|
371
365
|
handleClickSearch: (e: MouseEvent) => void;
|
372
366
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
373
367
|
resolveClassName: (cls: string) => string;
|
374
|
-
handleSelectedKey: (a:
|
368
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
375
369
|
t: import("vue").ComputedRef<{
|
376
370
|
pleaseSelect: string;
|
377
371
|
loading: string;
|
@@ -384,25 +378,17 @@ declare const BkSearchSelect: {
|
|
384
378
|
}>;
|
385
379
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
386
380
|
data: {
|
387
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
381
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
388
382
|
default: () => any[];
|
389
383
|
};
|
390
384
|
modelValue: {
|
391
385
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
392
386
|
default: () => any[];
|
393
387
|
};
|
394
|
-
shrink: {
|
395
|
-
type: BooleanConstructor;
|
396
|
-
default: boolean;
|
397
|
-
};
|
398
388
|
maxHeight: {
|
399
389
|
type: NumberConstructor;
|
400
390
|
default: number;
|
401
391
|
};
|
402
|
-
minHeight: {
|
403
|
-
type: NumberConstructor;
|
404
|
-
default: number;
|
405
|
-
};
|
406
392
|
conditions: {
|
407
393
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
408
394
|
default: () => any[];
|
@@ -428,20 +414,24 @@ declare const BkSearchSelect: {
|
|
428
414
|
onSelectKey?: (...args: any[]) => any;
|
429
415
|
onSearch?: (...args: any[]) => any;
|
430
416
|
}, {
|
431
|
-
data: import("./utils").ISearchItem[];
|
417
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
432
418
|
maxHeight: number;
|
433
419
|
clearable: boolean;
|
434
420
|
modelValue: import("./utils").ISearchValue[];
|
435
|
-
minHeight: number;
|
436
421
|
conditions: import("./utils").ICommonItem[];
|
437
422
|
valueBehavior: "all" | "need-key";
|
438
|
-
shrink: boolean;
|
439
423
|
uniqueSelect: boolean;
|
440
424
|
}, true, {}, import("vue").SlotsType<{
|
441
425
|
menu: import("./utils").MenuSlotParams;
|
442
|
-
prepend:
|
443
|
-
|
444
|
-
|
426
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
427
|
+
[key: string]: any;
|
428
|
+
}>;
|
429
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
430
|
+
[key: string]: any;
|
431
|
+
}>;
|
432
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
433
|
+
[key: string]: any;
|
434
|
+
}>;
|
445
435
|
}>, {
|
446
436
|
P: {};
|
447
437
|
B: {};
|
@@ -451,25 +441,17 @@ declare const BkSearchSelect: {
|
|
451
441
|
Defaults: {};
|
452
442
|
}, Readonly<import("vue").ExtractPropTypes<{
|
453
443
|
data: {
|
454
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
444
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
455
445
|
default: () => any[];
|
456
446
|
};
|
457
447
|
modelValue: {
|
458
448
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
459
449
|
default: () => any[];
|
460
450
|
};
|
461
|
-
shrink: {
|
462
|
-
type: BooleanConstructor;
|
463
|
-
default: boolean;
|
464
|
-
};
|
465
451
|
maxHeight: {
|
466
452
|
type: NumberConstructor;
|
467
453
|
default: number;
|
468
454
|
};
|
469
|
-
minHeight: {
|
470
|
-
type: NumberConstructor;
|
471
|
-
default: number;
|
472
|
-
};
|
473
455
|
conditions: {
|
474
456
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
475
457
|
default: () => any[];
|
@@ -508,7 +490,7 @@ declare const BkSearchSelect: {
|
|
508
490
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
509
491
|
default: () => any[];
|
510
492
|
};
|
511
|
-
|
493
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
512
494
|
mode: {
|
513
495
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
514
496
|
default: import("./utils").SearchInputMode;
|
@@ -553,13 +535,13 @@ declare const BkSearchSelect: {
|
|
553
535
|
};
|
554
536
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
555
537
|
handleClickOutside: (e: MouseEvent) => void;
|
556
|
-
handleInputFocus: () => void;
|
538
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
557
539
|
handleInputChange: (event: Event) => void;
|
558
540
|
handleInputPaste: (event: ClipboardEvent) => void;
|
559
541
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
560
542
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
561
543
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
562
|
-
|
544
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
563
545
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
564
546
|
resolveClassName: (cls: string) => string;
|
565
547
|
inputFocusForWrapper: () => void;
|
@@ -567,6 +549,7 @@ declare const BkSearchSelect: {
|
|
567
549
|
inputClearForWrapper: () => void;
|
568
550
|
deleteInputTextNode: () => void;
|
569
551
|
customPanelSubmit: (value: string) => void;
|
552
|
+
refleshMenuHover: () => void;
|
570
553
|
t: import("vue").ComputedRef<{
|
571
554
|
pleaseSelect: string;
|
572
555
|
loading: string;
|
@@ -590,7 +573,7 @@ declare const BkSearchSelect: {
|
|
590
573
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
591
574
|
default: () => any[];
|
592
575
|
};
|
593
|
-
|
576
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
594
577
|
mode: {
|
595
578
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
596
579
|
default: import("./utils").SearchInputMode;
|
@@ -630,7 +613,7 @@ declare const BkSearchSelect: {
|
|
630
613
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
631
614
|
default: () => any[];
|
632
615
|
};
|
633
|
-
|
616
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
634
617
|
mode: {
|
635
618
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
636
619
|
default: import("./utils").SearchInputMode;
|
@@ -675,13 +658,13 @@ declare const BkSearchSelect: {
|
|
675
658
|
};
|
676
659
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
677
660
|
handleClickOutside: (e: MouseEvent) => void;
|
678
|
-
handleInputFocus: () => void;
|
661
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
679
662
|
handleInputChange: (event: Event) => void;
|
680
663
|
handleInputPaste: (event: ClipboardEvent) => void;
|
681
664
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
682
665
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
683
666
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
684
|
-
|
667
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
685
668
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
686
669
|
resolveClassName: (cls: string) => string;
|
687
670
|
inputFocusForWrapper: () => void;
|
@@ -689,6 +672,7 @@ declare const BkSearchSelect: {
|
|
689
672
|
inputClearForWrapper: () => void;
|
690
673
|
deleteInputTextNode: () => void;
|
691
674
|
customPanelSubmit: (value: string) => void;
|
675
|
+
refleshMenuHover: () => void;
|
692
676
|
t: import("vue").ComputedRef<{
|
693
677
|
pleaseSelect: string;
|
694
678
|
loading: string;
|
@@ -728,7 +712,7 @@ declare const BkSearchSelect: {
|
|
728
712
|
}[];
|
729
713
|
condition: string;
|
730
714
|
logical: import("./utils").SearchLogical;
|
731
|
-
|
715
|
+
nameRenderKey: string;
|
732
716
|
searchItem: {
|
733
717
|
id: string;
|
734
718
|
name: string;
|
@@ -821,7 +805,7 @@ declare const BkSearchSelect: {
|
|
821
805
|
handleClickSearch: (e: MouseEvent) => void;
|
822
806
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
823
807
|
resolveClassName: (cls: string) => string;
|
824
|
-
handleSelectedKey: (a:
|
808
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
825
809
|
t: import("vue").ComputedRef<{
|
826
810
|
pleaseSelect: string;
|
827
811
|
loading: string;
|
@@ -833,14 +817,12 @@ declare const BkSearchSelect: {
|
|
833
817
|
logical: string;
|
834
818
|
}>;
|
835
819
|
}, {}, {}, {}, {
|
836
|
-
data: import("./utils").ISearchItem[];
|
820
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
837
821
|
maxHeight: number;
|
838
822
|
clearable: boolean;
|
839
823
|
modelValue: import("./utils").ISearchValue[];
|
840
|
-
minHeight: number;
|
841
824
|
conditions: import("./utils").ICommonItem[];
|
842
825
|
valueBehavior: "all" | "need-key";
|
843
|
-
shrink: boolean;
|
844
826
|
uniqueSelect: boolean;
|
845
827
|
}>;
|
846
828
|
__isFragment?: never;
|
@@ -848,25 +830,17 @@ declare const BkSearchSelect: {
|
|
848
830
|
__isSuspense?: never;
|
849
831
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
850
832
|
data: {
|
851
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
833
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
852
834
|
default: () => any[];
|
853
835
|
};
|
854
836
|
modelValue: {
|
855
837
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
856
838
|
default: () => any[];
|
857
839
|
};
|
858
|
-
shrink: {
|
859
|
-
type: BooleanConstructor;
|
860
|
-
default: boolean;
|
861
|
-
};
|
862
840
|
maxHeight: {
|
863
841
|
type: NumberConstructor;
|
864
842
|
default: number;
|
865
843
|
};
|
866
|
-
minHeight: {
|
867
|
-
type: NumberConstructor;
|
868
|
-
default: number;
|
869
|
-
};
|
870
844
|
conditions: {
|
871
845
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
872
846
|
default: () => any[];
|
@@ -905,7 +879,7 @@ declare const BkSearchSelect: {
|
|
905
879
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
906
880
|
default: () => any[];
|
907
881
|
};
|
908
|
-
|
882
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
909
883
|
mode: {
|
910
884
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
911
885
|
default: import("./utils").SearchInputMode;
|
@@ -950,13 +924,13 @@ declare const BkSearchSelect: {
|
|
950
924
|
};
|
951
925
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
952
926
|
handleClickOutside: (e: MouseEvent) => void;
|
953
|
-
handleInputFocus: () => void;
|
927
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
954
928
|
handleInputChange: (event: Event) => void;
|
955
929
|
handleInputPaste: (event: ClipboardEvent) => void;
|
956
930
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
957
931
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
958
932
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
959
|
-
|
933
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
960
934
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
961
935
|
resolveClassName: (cls: string) => string;
|
962
936
|
inputFocusForWrapper: () => void;
|
@@ -964,6 +938,7 @@ declare const BkSearchSelect: {
|
|
964
938
|
inputClearForWrapper: () => void;
|
965
939
|
deleteInputTextNode: () => void;
|
966
940
|
customPanelSubmit: (value: string) => void;
|
941
|
+
refleshMenuHover: () => void;
|
967
942
|
t: import("vue").ComputedRef<{
|
968
943
|
pleaseSelect: string;
|
969
944
|
loading: string;
|
@@ -987,7 +962,7 @@ declare const BkSearchSelect: {
|
|
987
962
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
988
963
|
default: () => any[];
|
989
964
|
};
|
990
|
-
|
965
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
991
966
|
mode: {
|
992
967
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
993
968
|
default: import("./utils").SearchInputMode;
|
@@ -1027,7 +1002,7 @@ declare const BkSearchSelect: {
|
|
1027
1002
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
1028
1003
|
default: () => any[];
|
1029
1004
|
};
|
1030
|
-
|
1005
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
1031
1006
|
mode: {
|
1032
1007
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
1033
1008
|
default: import("./utils").SearchInputMode;
|
@@ -1072,13 +1047,13 @@ declare const BkSearchSelect: {
|
|
1072
1047
|
};
|
1073
1048
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
1074
1049
|
handleClickOutside: (e: MouseEvent) => void;
|
1075
|
-
handleInputFocus: () => void;
|
1050
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
1076
1051
|
handleInputChange: (event: Event) => void;
|
1077
1052
|
handleInputPaste: (event: ClipboardEvent) => void;
|
1078
1053
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1079
1054
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
1080
1055
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1081
|
-
|
1056
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
1082
1057
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1083
1058
|
resolveClassName: (cls: string) => string;
|
1084
1059
|
inputFocusForWrapper: () => void;
|
@@ -1086,6 +1061,7 @@ declare const BkSearchSelect: {
|
|
1086
1061
|
inputClearForWrapper: () => void;
|
1087
1062
|
deleteInputTextNode: () => void;
|
1088
1063
|
customPanelSubmit: (value: string) => void;
|
1064
|
+
refleshMenuHover: () => void;
|
1089
1065
|
t: import("vue").ComputedRef<{
|
1090
1066
|
pleaseSelect: string;
|
1091
1067
|
loading: string;
|
@@ -1125,7 +1101,7 @@ declare const BkSearchSelect: {
|
|
1125
1101
|
}[];
|
1126
1102
|
condition: string;
|
1127
1103
|
logical: import("./utils").SearchLogical;
|
1128
|
-
|
1104
|
+
nameRenderKey: string;
|
1129
1105
|
searchItem: {
|
1130
1106
|
id: string;
|
1131
1107
|
name: string;
|
@@ -1218,7 +1194,7 @@ declare const BkSearchSelect: {
|
|
1218
1194
|
handleClickSearch: (e: MouseEvent) => void;
|
1219
1195
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
1220
1196
|
resolveClassName: (cls: string) => string;
|
1221
|
-
handleSelectedKey: (a:
|
1197
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
1222
1198
|
t: import("vue").ComputedRef<{
|
1223
1199
|
pleaseSelect: string;
|
1224
1200
|
loading: string;
|
@@ -1230,20 +1206,24 @@ declare const BkSearchSelect: {
|
|
1230
1206
|
logical: string;
|
1231
1207
|
}>;
|
1232
1208
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], "search" | "update:modelValue" | "selectKey", {
|
1233
|
-
data: import("./utils").ISearchItem[];
|
1209
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
1234
1210
|
maxHeight: number;
|
1235
1211
|
clearable: boolean;
|
1236
1212
|
modelValue: import("./utils").ISearchValue[];
|
1237
|
-
minHeight: number;
|
1238
1213
|
conditions: import("./utils").ICommonItem[];
|
1239
1214
|
valueBehavior: "all" | "need-key";
|
1240
|
-
shrink: boolean;
|
1241
1215
|
uniqueSelect: boolean;
|
1242
1216
|
}, {}, string, import("vue").SlotsType<{
|
1243
1217
|
menu: import("./utils").MenuSlotParams;
|
1244
|
-
prepend:
|
1245
|
-
|
1246
|
-
|
1218
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1219
|
+
[key: string]: any;
|
1220
|
+
}>;
|
1221
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1222
|
+
[key: string]: any;
|
1223
|
+
}>;
|
1224
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1225
|
+
[key: string]: any;
|
1226
|
+
}>;
|
1247
1227
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
1248
1228
|
export default BkSearchSelect;
|
1249
1229
|
export { BkSearchSelect };
|