bkui-vue 1.0.3-beta.60.scrollbar.5 → 1.0.3-beta.61.dialog.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 +61 -63
- package/dist/index.esm.js +19978 -19906
- package/dist/index.umd.js +61 -63
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/components.d.ts +2 -0
- package/lib/components.js +3 -1
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.css +140 -80
- package/lib/dialog/dialog.d.ts +41 -121
- package/lib/dialog/dialog.less +10 -65
- package/lib/dialog/dialog.variable.css +140 -80
- package/lib/dialog/index.d.ts +105 -272
- package/lib/dialog/index.js +91 -100
- package/lib/dialog/props.d.ts +8 -48
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +312 -172
- package/lib/info-box/info-box.css +63 -7
- package/lib/info-box/info-box.d.ts +17 -16
- package/lib/info-box/info-box.less +76 -14
- package/lib/info-box/info-box.variable.css +63 -7
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +48 -325
- package/lib/modal/index.js +195 -675
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +132 -34
- package/lib/modal/modal.d.ts +17 -126
- package/lib/modal/modal.less +88 -39
- package/lib/modal/modal.variable.css +132 -34
- package/lib/modal/props.mixin.d.ts +2 -53
- package/lib/scrollbar/index.d.ts +14 -0
- package/lib/scrollbar/index.js +18737 -0
- package/lib/{virtual-render → scrollbar}/scrollbar-core/index.d.ts +31 -8
- package/lib/{virtual-render/bk-scrollbar.css → scrollbar/scrollbar.css} +13 -13
- package/lib/{virtual-render/bk-scrollbar.less → scrollbar/scrollbar.less} +13 -13
- package/lib/{virtual-render/bk-scrollbar.variable.css → scrollbar/scrollbar.variable.css} +13 -13
- package/lib/search-select/index.d.ts +327 -12
- package/lib/search-select/index.js +620 -340
- package/lib/search-select/input.d.ts +6 -1
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +109 -4
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +20 -6
- package/lib/search-select/selected.d.ts +107 -5
- package/lib/search-select/utils.d.ts +13 -1
- package/lib/select/index.d.ts +23 -0
- package/lib/select/index.js +4 -1
- package/lib/select/select.d.ts +11 -0
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -48
- package/lib/sideslider/index.d.ts +31 -222
- package/lib/sideslider/index.js +49 -36
- package/lib/sideslider/sideslider.css +4 -47
- package/lib/sideslider/sideslider.d.ts +14 -105
- package/lib/sideslider/sideslider.less +14 -65
- package/lib/sideslider/sideslider.variable.css +4 -47
- package/lib/table/index.js +37 -28
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/table.css +14 -13
- package/lib/table/table.less +2 -2
- package/lib/table/table.variable.css +14 -13
- package/lib/table/use-attributes.d.ts +1 -0
- package/lib/timeline/index.js +1 -0
- package/lib/tree/tree.css +13 -13
- package/lib/tree/tree.variable.css +13 -13
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +21 -30
- package/lib/upload/props.d.ts +3 -0
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/virtual-render/index.js +262 -2175
- package/lib/virtual-render/use-scrollbar.d.ts +2 -2
- package/lib/virtual-render/virtual-render.css +13 -13
- package/lib/virtual-render/virtual-render.less +2 -2
- package/lib/virtual-render/virtual-render.variable.css +13 -13
- package/package.json +2 -2
- package/lib/icon/image-fill.js +0 -191
- package/lib/shared/mask.d.ts +0 -11
- package/lib/virtual-render/bk-scrollbar.d.ts +0 -10
- /package/lib/{virtual-render → scrollbar}/scrollbar-core/can-use-dom.d.ts +0 -0
- /package/lib/{virtual-render → scrollbar}/scrollbar-core/helpers.d.ts +0 -0
- /package/lib/{virtual-render → scrollbar}/scrollbar-core/mouse-wheel.d.ts +0 -0
- /package/lib/{virtual-render → scrollbar}/scrollbar-core/scrollbar-width.d.ts +0 -0
@@ -44,7 +44,7 @@ declare const BkSearchSelect: {
|
|
44
44
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
45
45
|
onSearch?: (...args: any[]) => any;
|
46
46
|
}, {
|
47
|
-
inputRef: import("vue").Ref<import("vue").
|
47
|
+
inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
48
48
|
data: {
|
49
49
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
50
50
|
required: true;
|
@@ -65,6 +65,10 @@ declare const BkSearchSelect: {
|
|
65
65
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
66
66
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
67
67
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
68
|
+
}>> & {
|
69
|
+
onFocus?: (...args: any[]) => any;
|
70
|
+
onDelete?: (...args: any[]) => any;
|
71
|
+
onAdd?: (...args: any[]) => any;
|
68
72
|
}, {
|
69
73
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
70
74
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -97,14 +101,19 @@ declare const BkSearchSelect: {
|
|
97
101
|
};
|
98
102
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
99
103
|
handleClickOutside: (e: MouseEvent) => void;
|
100
|
-
handleInputFocus: (
|
104
|
+
handleInputFocus: () => void;
|
101
105
|
handleInputChange: (event: Event) => void;
|
106
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
102
107
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
103
108
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
104
109
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
105
110
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
106
111
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
107
112
|
resolveClassName: (cls: string) => string;
|
113
|
+
inputFocusForWrapper: () => void;
|
114
|
+
inputEnterForWrapper: () => Promise<void>;
|
115
|
+
inputClearForWrapper: () => void;
|
116
|
+
deleteInputTextNode: () => void;
|
108
117
|
t: import("vue").ComputedRef<{
|
109
118
|
pleaseSelect: string;
|
110
119
|
loading: string;
|
@@ -115,7 +124,7 @@ declare const BkSearchSelect: {
|
|
115
124
|
and: string;
|
116
125
|
logical: string;
|
117
126
|
}>;
|
118
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[],
|
127
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
119
128
|
data: {
|
120
129
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
121
130
|
required: true;
|
@@ -145,7 +154,99 @@ declare const BkSearchSelect: {
|
|
145
154
|
conditions: import("./utils").ICommonItem[];
|
146
155
|
showInputBefore: boolean;
|
147
156
|
showCondition: boolean;
|
148
|
-
}, {}
|
157
|
+
}, true, {}, {}, {
|
158
|
+
P: {};
|
159
|
+
B: {};
|
160
|
+
D: {};
|
161
|
+
C: {};
|
162
|
+
M: {};
|
163
|
+
Defaults: {};
|
164
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
165
|
+
data: {
|
166
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
167
|
+
required: true;
|
168
|
+
};
|
169
|
+
showInputBefore: BooleanConstructor;
|
170
|
+
showCondition: BooleanConstructor;
|
171
|
+
clickOutside: FunctionConstructor;
|
172
|
+
placeholder: StringConstructor;
|
173
|
+
conditions: {
|
174
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
175
|
+
default: () => any[];
|
176
|
+
};
|
177
|
+
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
178
|
+
mode: {
|
179
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
180
|
+
default: import("./utils").SearchInputMode;
|
181
|
+
};
|
182
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
183
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
184
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
185
|
+
}>> & {
|
186
|
+
onFocus?: (...args: any[]) => any;
|
187
|
+
onDelete?: (...args: any[]) => any;
|
188
|
+
onAdd?: (...args: any[]) => any;
|
189
|
+
}, {
|
190
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
191
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
192
|
+
keyword: import("vue").Ref<string>;
|
193
|
+
loading: import("vue").Ref<boolean>;
|
194
|
+
remoteMenuList: import("vue").Ref<{
|
195
|
+
id: string;
|
196
|
+
name: string;
|
197
|
+
disabled?: boolean;
|
198
|
+
realId?: string;
|
199
|
+
value?: {
|
200
|
+
name: string;
|
201
|
+
id: string;
|
202
|
+
realId?: string;
|
203
|
+
isSelected?: boolean;
|
204
|
+
logical?: import("./utils").SearchLogical;
|
205
|
+
};
|
206
|
+
isSelected?: boolean;
|
207
|
+
logical?: import("./utils").SearchLogical;
|
208
|
+
}[]>;
|
209
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
210
|
+
menuHoverId: import("vue").Ref<string>;
|
211
|
+
isFocus: import("vue").Ref<boolean>;
|
212
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
213
|
+
showPopover: import("vue").Ref<boolean>;
|
214
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
215
|
+
debounceSetMenuList: {
|
216
|
+
(this: any): any;
|
217
|
+
cancel(): void;
|
218
|
+
};
|
219
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
220
|
+
handleClickOutside: (e: MouseEvent) => void;
|
221
|
+
handleInputFocus: () => void;
|
222
|
+
handleInputChange: (event: Event) => void;
|
223
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
224
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
225
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
226
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
227
|
+
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
228
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
229
|
+
resolveClassName: (cls: string) => string;
|
230
|
+
inputFocusForWrapper: () => void;
|
231
|
+
inputEnterForWrapper: () => Promise<void>;
|
232
|
+
inputClearForWrapper: () => void;
|
233
|
+
deleteInputTextNode: () => void;
|
234
|
+
t: import("vue").ComputedRef<{
|
235
|
+
pleaseSelect: string;
|
236
|
+
loading: string;
|
237
|
+
filterQueryMustHasValue: string;
|
238
|
+
ok: string;
|
239
|
+
cancel: string;
|
240
|
+
or: string;
|
241
|
+
and: string;
|
242
|
+
logical: string;
|
243
|
+
}>;
|
244
|
+
}, {}, {}, {}, {
|
245
|
+
mode: import("./utils").SearchInputMode;
|
246
|
+
conditions: import("./utils").ICommonItem[];
|
247
|
+
showInputBefore: boolean;
|
248
|
+
showCondition: boolean;
|
249
|
+
}>>;
|
149
250
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
150
251
|
isFocus: import("vue").Ref<boolean>;
|
151
252
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -169,6 +270,7 @@ declare const BkSearchSelect: {
|
|
169
270
|
}[];
|
170
271
|
condition: string;
|
171
272
|
logical: import("./utils").SearchLogical;
|
273
|
+
nameRenderkey: string;
|
172
274
|
searchItem: {
|
173
275
|
id: string;
|
174
276
|
name: string;
|
@@ -238,6 +340,9 @@ declare const BkSearchSelect: {
|
|
238
340
|
readonly showLogical: boolean;
|
239
341
|
isSpecialType: () => boolean;
|
240
342
|
addValue: (item: import("./utils").ICommonItem) => void;
|
343
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
344
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
345
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
241
346
|
toValue: () => import("./utils").ISearchValue;
|
242
347
|
toValueKey: () => string;
|
243
348
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -372,7 +477,7 @@ declare const BkSearchSelect: {
|
|
372
477
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
373
478
|
onSearch?: (...args: any[]) => any;
|
374
479
|
}, {
|
375
|
-
inputRef: import("vue").Ref<import("vue").
|
480
|
+
inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
376
481
|
data: {
|
377
482
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
378
483
|
required: true;
|
@@ -393,6 +498,10 @@ declare const BkSearchSelect: {
|
|
393
498
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
394
499
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
395
500
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
501
|
+
}>> & {
|
502
|
+
onFocus?: (...args: any[]) => any;
|
503
|
+
onDelete?: (...args: any[]) => any;
|
504
|
+
onAdd?: (...args: any[]) => any;
|
396
505
|
}, {
|
397
506
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
398
507
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -425,14 +534,19 @@ declare const BkSearchSelect: {
|
|
425
534
|
};
|
426
535
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
427
536
|
handleClickOutside: (e: MouseEvent) => void;
|
428
|
-
handleInputFocus: (
|
537
|
+
handleInputFocus: () => void;
|
429
538
|
handleInputChange: (event: Event) => void;
|
539
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
430
540
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
431
541
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
432
542
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
433
543
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
434
544
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
435
545
|
resolveClassName: (cls: string) => string;
|
546
|
+
inputFocusForWrapper: () => void;
|
547
|
+
inputEnterForWrapper: () => Promise<void>;
|
548
|
+
inputClearForWrapper: () => void;
|
549
|
+
deleteInputTextNode: () => void;
|
436
550
|
t: import("vue").ComputedRef<{
|
437
551
|
pleaseSelect: string;
|
438
552
|
loading: string;
|
@@ -443,7 +557,7 @@ declare const BkSearchSelect: {
|
|
443
557
|
and: string;
|
444
558
|
logical: string;
|
445
559
|
}>;
|
446
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[],
|
560
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
447
561
|
data: {
|
448
562
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
449
563
|
required: true;
|
@@ -473,7 +587,99 @@ declare const BkSearchSelect: {
|
|
473
587
|
conditions: import("./utils").ICommonItem[];
|
474
588
|
showInputBefore: boolean;
|
475
589
|
showCondition: boolean;
|
476
|
-
}, {}
|
590
|
+
}, true, {}, {}, {
|
591
|
+
P: {};
|
592
|
+
B: {};
|
593
|
+
D: {};
|
594
|
+
C: {};
|
595
|
+
M: {};
|
596
|
+
Defaults: {};
|
597
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
598
|
+
data: {
|
599
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
600
|
+
required: true;
|
601
|
+
};
|
602
|
+
showInputBefore: BooleanConstructor;
|
603
|
+
showCondition: BooleanConstructor;
|
604
|
+
clickOutside: FunctionConstructor;
|
605
|
+
placeholder: StringConstructor;
|
606
|
+
conditions: {
|
607
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
608
|
+
default: () => any[];
|
609
|
+
};
|
610
|
+
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
611
|
+
mode: {
|
612
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
613
|
+
default: import("./utils").SearchInputMode;
|
614
|
+
};
|
615
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
616
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
617
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
618
|
+
}>> & {
|
619
|
+
onFocus?: (...args: any[]) => any;
|
620
|
+
onDelete?: (...args: any[]) => any;
|
621
|
+
onAdd?: (...args: any[]) => any;
|
622
|
+
}, {
|
623
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
624
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
625
|
+
keyword: import("vue").Ref<string>;
|
626
|
+
loading: import("vue").Ref<boolean>;
|
627
|
+
remoteMenuList: import("vue").Ref<{
|
628
|
+
id: string;
|
629
|
+
name: string;
|
630
|
+
disabled?: boolean;
|
631
|
+
realId?: string;
|
632
|
+
value?: {
|
633
|
+
name: string;
|
634
|
+
id: string;
|
635
|
+
realId?: string;
|
636
|
+
isSelected?: boolean;
|
637
|
+
logical?: import("./utils").SearchLogical;
|
638
|
+
};
|
639
|
+
isSelected?: boolean;
|
640
|
+
logical?: import("./utils").SearchLogical;
|
641
|
+
}[]>;
|
642
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
643
|
+
menuHoverId: import("vue").Ref<string>;
|
644
|
+
isFocus: import("vue").Ref<boolean>;
|
645
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
646
|
+
showPopover: import("vue").Ref<boolean>;
|
647
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
648
|
+
debounceSetMenuList: {
|
649
|
+
(this: any): any;
|
650
|
+
cancel(): void;
|
651
|
+
};
|
652
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
653
|
+
handleClickOutside: (e: MouseEvent) => void;
|
654
|
+
handleInputFocus: () => void;
|
655
|
+
handleInputChange: (event: Event) => void;
|
656
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
657
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
658
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
659
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
660
|
+
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
661
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
662
|
+
resolveClassName: (cls: string) => string;
|
663
|
+
inputFocusForWrapper: () => void;
|
664
|
+
inputEnterForWrapper: () => Promise<void>;
|
665
|
+
inputClearForWrapper: () => void;
|
666
|
+
deleteInputTextNode: () => void;
|
667
|
+
t: import("vue").ComputedRef<{
|
668
|
+
pleaseSelect: string;
|
669
|
+
loading: string;
|
670
|
+
filterQueryMustHasValue: string;
|
671
|
+
ok: string;
|
672
|
+
cancel: string;
|
673
|
+
or: string;
|
674
|
+
and: string;
|
675
|
+
logical: string;
|
676
|
+
}>;
|
677
|
+
}, {}, {}, {}, {
|
678
|
+
mode: import("./utils").SearchInputMode;
|
679
|
+
conditions: import("./utils").ICommonItem[];
|
680
|
+
showInputBefore: boolean;
|
681
|
+
showCondition: boolean;
|
682
|
+
}>>;
|
477
683
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
478
684
|
isFocus: import("vue").Ref<boolean>;
|
479
685
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -497,6 +703,7 @@ declare const BkSearchSelect: {
|
|
497
703
|
}[];
|
498
704
|
condition: string;
|
499
705
|
logical: import("./utils").SearchLogical;
|
706
|
+
nameRenderkey: string;
|
500
707
|
searchItem: {
|
501
708
|
id: string;
|
502
709
|
name: string;
|
@@ -566,6 +773,9 @@ declare const BkSearchSelect: {
|
|
566
773
|
readonly showLogical: boolean;
|
567
774
|
isSpecialType: () => boolean;
|
568
775
|
addValue: (item: import("./utils").ICommonItem) => void;
|
776
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
777
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
778
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
569
779
|
toValue: () => import("./utils").ISearchValue;
|
570
780
|
toValueKey: () => string;
|
571
781
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -653,7 +863,7 @@ declare const BkSearchSelect: {
|
|
653
863
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
654
864
|
onSearch?: (...args: any[]) => any;
|
655
865
|
}, {
|
656
|
-
inputRef: import("vue").Ref<import("vue").
|
866
|
+
inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
657
867
|
data: {
|
658
868
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
659
869
|
required: true;
|
@@ -674,6 +884,10 @@ declare const BkSearchSelect: {
|
|
674
884
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
675
885
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
676
886
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
887
|
+
}>> & {
|
888
|
+
onFocus?: (...args: any[]) => any;
|
889
|
+
onDelete?: (...args: any[]) => any;
|
890
|
+
onAdd?: (...args: any[]) => any;
|
677
891
|
}, {
|
678
892
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
679
893
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -706,14 +920,19 @@ declare const BkSearchSelect: {
|
|
706
920
|
};
|
707
921
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
708
922
|
handleClickOutside: (e: MouseEvent) => void;
|
709
|
-
handleInputFocus: (
|
923
|
+
handleInputFocus: () => void;
|
710
924
|
handleInputChange: (event: Event) => void;
|
925
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
711
926
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
712
927
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
713
928
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
714
929
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
715
930
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
716
931
|
resolveClassName: (cls: string) => string;
|
932
|
+
inputFocusForWrapper: () => void;
|
933
|
+
inputEnterForWrapper: () => Promise<void>;
|
934
|
+
inputClearForWrapper: () => void;
|
935
|
+
deleteInputTextNode: () => void;
|
717
936
|
t: import("vue").ComputedRef<{
|
718
937
|
pleaseSelect: string;
|
719
938
|
loading: string;
|
@@ -724,7 +943,44 @@ declare const BkSearchSelect: {
|
|
724
943
|
and: string;
|
725
944
|
logical: string;
|
726
945
|
}>;
|
727
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[],
|
946
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
947
|
+
data: {
|
948
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
949
|
+
required: true;
|
950
|
+
};
|
951
|
+
showInputBefore: BooleanConstructor;
|
952
|
+
showCondition: BooleanConstructor;
|
953
|
+
clickOutside: FunctionConstructor;
|
954
|
+
placeholder: StringConstructor;
|
955
|
+
conditions: {
|
956
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
957
|
+
default: () => any[];
|
958
|
+
};
|
959
|
+
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
960
|
+
mode: {
|
961
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
962
|
+
default: import("./utils").SearchInputMode;
|
963
|
+
};
|
964
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
965
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
966
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
967
|
+
}>> & {
|
968
|
+
onFocus?: (...args: any[]) => any;
|
969
|
+
onDelete?: (...args: any[]) => any;
|
970
|
+
onAdd?: (...args: any[]) => any;
|
971
|
+
}, {
|
972
|
+
mode: import("./utils").SearchInputMode;
|
973
|
+
conditions: import("./utils").ICommonItem[];
|
974
|
+
showInputBefore: boolean;
|
975
|
+
showCondition: boolean;
|
976
|
+
}, true, {}, {}, {
|
977
|
+
P: {};
|
978
|
+
B: {};
|
979
|
+
D: {};
|
980
|
+
C: {};
|
981
|
+
M: {};
|
982
|
+
Defaults: {};
|
983
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
728
984
|
data: {
|
729
985
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
730
986
|
required: true;
|
@@ -750,11 +1006,66 @@ declare const BkSearchSelect: {
|
|
750
1006
|
onDelete?: (...args: any[]) => any;
|
751
1007
|
onAdd?: (...args: any[]) => any;
|
752
1008
|
}, {
|
1009
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
1010
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
1011
|
+
keyword: import("vue").Ref<string>;
|
1012
|
+
loading: import("vue").Ref<boolean>;
|
1013
|
+
remoteMenuList: import("vue").Ref<{
|
1014
|
+
id: string;
|
1015
|
+
name: string;
|
1016
|
+
disabled?: boolean;
|
1017
|
+
realId?: string;
|
1018
|
+
value?: {
|
1019
|
+
name: string;
|
1020
|
+
id: string;
|
1021
|
+
realId?: string;
|
1022
|
+
isSelected?: boolean;
|
1023
|
+
logical?: import("./utils").SearchLogical;
|
1024
|
+
};
|
1025
|
+
isSelected?: boolean;
|
1026
|
+
logical?: import("./utils").SearchLogical;
|
1027
|
+
}[]>;
|
1028
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
1029
|
+
menuHoverId: import("vue").Ref<string>;
|
1030
|
+
isFocus: import("vue").Ref<boolean>;
|
1031
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
1032
|
+
showPopover: import("vue").Ref<boolean>;
|
1033
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
1034
|
+
debounceSetMenuList: {
|
1035
|
+
(this: any): any;
|
1036
|
+
cancel(): void;
|
1037
|
+
};
|
1038
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
1039
|
+
handleClickOutside: (e: MouseEvent) => void;
|
1040
|
+
handleInputFocus: () => void;
|
1041
|
+
handleInputChange: (event: Event) => void;
|
1042
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
1043
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1044
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
1045
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1046
|
+
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
1047
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1048
|
+
resolveClassName: (cls: string) => string;
|
1049
|
+
inputFocusForWrapper: () => void;
|
1050
|
+
inputEnterForWrapper: () => Promise<void>;
|
1051
|
+
inputClearForWrapper: () => void;
|
1052
|
+
deleteInputTextNode: () => void;
|
1053
|
+
t: import("vue").ComputedRef<{
|
1054
|
+
pleaseSelect: string;
|
1055
|
+
loading: string;
|
1056
|
+
filterQueryMustHasValue: string;
|
1057
|
+
ok: string;
|
1058
|
+
cancel: string;
|
1059
|
+
or: string;
|
1060
|
+
and: string;
|
1061
|
+
logical: string;
|
1062
|
+
}>;
|
1063
|
+
}, {}, {}, {}, {
|
753
1064
|
mode: import("./utils").SearchInputMode;
|
754
1065
|
conditions: import("./utils").ICommonItem[];
|
755
1066
|
showInputBefore: boolean;
|
756
1067
|
showCondition: boolean;
|
757
|
-
}
|
1068
|
+
}>>;
|
758
1069
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
759
1070
|
isFocus: import("vue").Ref<boolean>;
|
760
1071
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -778,6 +1089,7 @@ declare const BkSearchSelect: {
|
|
778
1089
|
}[];
|
779
1090
|
condition: string;
|
780
1091
|
logical: import("./utils").SearchLogical;
|
1092
|
+
nameRenderkey: string;
|
781
1093
|
searchItem: {
|
782
1094
|
id: string;
|
783
1095
|
name: string;
|
@@ -847,6 +1159,9 @@ declare const BkSearchSelect: {
|
|
847
1159
|
readonly showLogical: boolean;
|
848
1160
|
isSpecialType: () => boolean;
|
849
1161
|
addValue: (item: import("./utils").ICommonItem) => void;
|
1162
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
1163
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
1164
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
850
1165
|
toValue: () => import("./utils").ISearchValue;
|
851
1166
|
toValueKey: () => string;
|
852
1167
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|