bkui-vue 2.0.1-beta.31 → 2.0.1-beta.32

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/lib/index.js CHANGED
@@ -4,5 +4,5 @@ export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
6
  export * as plugins from './plugins';
7
- export const version = "2.0.1-beta.31";
7
+ export const version = "2.0.1-beta.32";
8
8
  window.__bkui_vue_version__ = version;
@@ -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
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
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;
@@ -109,7 +101,7 @@ declare const BkSearchSelect: {
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
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
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;
@@ -140,7 +132,7 @@ declare const BkSearchSelect: {
140
132
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
141
133
  default: () => any[];
142
134
  };
143
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
135
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
144
136
  mode: {
145
137
  type: import("vue").PropType<import("./utils").SearchInputMode>;
146
138
  default: import("./utils").SearchInputMode;
@@ -180,7 +172,7 @@ declare const BkSearchSelect: {
180
172
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
181
173
  default: () => any[];
182
174
  };
183
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
175
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
184
176
  mode: {
185
177
  type: import("vue").PropType<import("./utils").SearchInputMode>;
186
178
  default: import("./utils").SearchInputMode;
@@ -231,7 +223,7 @@ declare const BkSearchSelect: {
231
223
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
232
224
  handleInputKeyup: (event: KeyboardEvent) => void;
233
225
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
234
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
226
+ handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
235
227
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
236
228
  resolveClassName: (cls: string) => string;
237
229
  inputFocusForWrapper: () => void;
@@ -278,7 +270,7 @@ declare const BkSearchSelect: {
278
270
  }[];
279
271
  condition: string;
280
272
  logical: import("./utils").SearchLogical;
281
- nameRenderkey: string;
273
+ nameRenderKey: string;
282
274
  searchItem: {
283
275
  id: string;
284
276
  name: string;
@@ -371,7 +363,7 @@ declare const BkSearchSelect: {
371
363
  handleClickSearch: (e: MouseEvent) => void;
372
364
  localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
373
365
  resolveClassName: (cls: string) => string;
374
- handleSelectedKey: (a: any) => void;
366
+ handleSelectedKey: (a: import("./utils").ICommonItem) => void;
375
367
  t: import("vue").ComputedRef<{
376
368
  pleaseSelect: string;
377
369
  loading: string;
@@ -384,25 +376,17 @@ declare const BkSearchSelect: {
384
376
  }>;
385
377
  }, 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
378
  data: {
387
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
379
+ type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
388
380
  default: () => any[];
389
381
  };
390
382
  modelValue: {
391
383
  type: import("vue").PropType<import("./utils").ISearchValue[]>;
392
384
  default: () => any[];
393
385
  };
394
- shrink: {
395
- type: BooleanConstructor;
396
- default: boolean;
397
- };
398
386
  maxHeight: {
399
387
  type: NumberConstructor;
400
388
  default: number;
401
389
  };
402
- minHeight: {
403
- type: NumberConstructor;
404
- default: number;
405
- };
406
390
  conditions: {
407
391
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
408
392
  default: () => any[];
@@ -428,14 +412,12 @@ declare const BkSearchSelect: {
428
412
  onSelectKey?: (...args: any[]) => any;
429
413
  onSearch?: (...args: any[]) => any;
430
414
  }, {
431
- data: import("./utils").ISearchItem[];
415
+ data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
432
416
  maxHeight: number;
433
417
  clearable: boolean;
434
418
  modelValue: import("./utils").ISearchValue[];
435
- minHeight: number;
436
419
  conditions: import("./utils").ICommonItem[];
437
420
  valueBehavior: "all" | "need-key";
438
- shrink: boolean;
439
421
  uniqueSelect: boolean;
440
422
  }, true, {}, import("vue").SlotsType<{
441
423
  menu: import("./utils").MenuSlotParams;
@@ -451,25 +433,17 @@ declare const BkSearchSelect: {
451
433
  Defaults: {};
452
434
  }, Readonly<import("vue").ExtractPropTypes<{
453
435
  data: {
454
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
436
+ type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
455
437
  default: () => any[];
456
438
  };
457
439
  modelValue: {
458
440
  type: import("vue").PropType<import("./utils").ISearchValue[]>;
459
441
  default: () => any[];
460
442
  };
461
- shrink: {
462
- type: BooleanConstructor;
463
- default: boolean;
464
- };
465
443
  maxHeight: {
466
444
  type: NumberConstructor;
467
445
  default: number;
468
446
  };
469
- minHeight: {
470
- type: NumberConstructor;
471
- default: number;
472
- };
473
447
  conditions: {
474
448
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
475
449
  default: () => any[];
@@ -508,7 +482,7 @@ declare const BkSearchSelect: {
508
482
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
509
483
  default: () => any[];
510
484
  };
511
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
485
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
512
486
  mode: {
513
487
  type: import("vue").PropType<import("./utils").SearchInputMode>;
514
488
  default: import("./utils").SearchInputMode;
@@ -559,7 +533,7 @@ declare const BkSearchSelect: {
559
533
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
560
534
  handleInputKeyup: (event: KeyboardEvent) => void;
561
535
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
562
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
536
+ handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
563
537
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
564
538
  resolveClassName: (cls: string) => string;
565
539
  inputFocusForWrapper: () => void;
@@ -590,7 +564,7 @@ declare const BkSearchSelect: {
590
564
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
591
565
  default: () => any[];
592
566
  };
593
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
567
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
594
568
  mode: {
595
569
  type: import("vue").PropType<import("./utils").SearchInputMode>;
596
570
  default: import("./utils").SearchInputMode;
@@ -630,7 +604,7 @@ declare const BkSearchSelect: {
630
604
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
631
605
  default: () => any[];
632
606
  };
633
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
607
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
634
608
  mode: {
635
609
  type: import("vue").PropType<import("./utils").SearchInputMode>;
636
610
  default: import("./utils").SearchInputMode;
@@ -681,7 +655,7 @@ declare const BkSearchSelect: {
681
655
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
682
656
  handleInputKeyup: (event: KeyboardEvent) => void;
683
657
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
684
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
658
+ handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
685
659
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
686
660
  resolveClassName: (cls: string) => string;
687
661
  inputFocusForWrapper: () => void;
@@ -728,7 +702,7 @@ declare const BkSearchSelect: {
728
702
  }[];
729
703
  condition: string;
730
704
  logical: import("./utils").SearchLogical;
731
- nameRenderkey: string;
705
+ nameRenderKey: string;
732
706
  searchItem: {
733
707
  id: string;
734
708
  name: string;
@@ -821,7 +795,7 @@ declare const BkSearchSelect: {
821
795
  handleClickSearch: (e: MouseEvent) => void;
822
796
  localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
823
797
  resolveClassName: (cls: string) => string;
824
- handleSelectedKey: (a: any) => void;
798
+ handleSelectedKey: (a: import("./utils").ICommonItem) => void;
825
799
  t: import("vue").ComputedRef<{
826
800
  pleaseSelect: string;
827
801
  loading: string;
@@ -833,14 +807,12 @@ declare const BkSearchSelect: {
833
807
  logical: string;
834
808
  }>;
835
809
  }, {}, {}, {}, {
836
- data: import("./utils").ISearchItem[];
810
+ data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
837
811
  maxHeight: number;
838
812
  clearable: boolean;
839
813
  modelValue: import("./utils").ISearchValue[];
840
- minHeight: number;
841
814
  conditions: import("./utils").ICommonItem[];
842
815
  valueBehavior: "all" | "need-key";
843
- shrink: boolean;
844
816
  uniqueSelect: boolean;
845
817
  }>;
846
818
  __isFragment?: never;
@@ -848,25 +820,17 @@ declare const BkSearchSelect: {
848
820
  __isSuspense?: never;
849
821
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
850
822
  data: {
851
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
823
+ type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
852
824
  default: () => any[];
853
825
  };
854
826
  modelValue: {
855
827
  type: import("vue").PropType<import("./utils").ISearchValue[]>;
856
828
  default: () => any[];
857
829
  };
858
- shrink: {
859
- type: BooleanConstructor;
860
- default: boolean;
861
- };
862
830
  maxHeight: {
863
831
  type: NumberConstructor;
864
832
  default: number;
865
833
  };
866
- minHeight: {
867
- type: NumberConstructor;
868
- default: number;
869
- };
870
834
  conditions: {
871
835
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
872
836
  default: () => any[];
@@ -905,7 +869,7 @@ declare const BkSearchSelect: {
905
869
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
906
870
  default: () => any[];
907
871
  };
908
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
872
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
909
873
  mode: {
910
874
  type: import("vue").PropType<import("./utils").SearchInputMode>;
911
875
  default: import("./utils").SearchInputMode;
@@ -956,7 +920,7 @@ declare const BkSearchSelect: {
956
920
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
957
921
  handleInputKeyup: (event: KeyboardEvent) => void;
958
922
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
959
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
923
+ handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
960
924
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
961
925
  resolveClassName: (cls: string) => string;
962
926
  inputFocusForWrapper: () => void;
@@ -987,7 +951,7 @@ declare const BkSearchSelect: {
987
951
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
988
952
  default: () => any[];
989
953
  };
990
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
954
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
991
955
  mode: {
992
956
  type: import("vue").PropType<import("./utils").SearchInputMode>;
993
957
  default: import("./utils").SearchInputMode;
@@ -1027,7 +991,7 @@ declare const BkSearchSelect: {
1027
991
  type: import("vue").PropType<import("./utils").ICommonItem[]>;
1028
992
  default: () => any[];
1029
993
  };
1030
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
994
+ defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
1031
995
  mode: {
1032
996
  type: import("vue").PropType<import("./utils").SearchInputMode>;
1033
997
  default: import("./utils").SearchInputMode;
@@ -1078,7 +1042,7 @@ declare const BkSearchSelect: {
1078
1042
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
1079
1043
  handleInputKeyup: (event: KeyboardEvent) => void;
1080
1044
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
1081
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
1045
+ handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
1082
1046
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
1083
1047
  resolveClassName: (cls: string) => string;
1084
1048
  inputFocusForWrapper: () => void;
@@ -1125,7 +1089,7 @@ declare const BkSearchSelect: {
1125
1089
  }[];
1126
1090
  condition: string;
1127
1091
  logical: import("./utils").SearchLogical;
1128
- nameRenderkey: string;
1092
+ nameRenderKey: string;
1129
1093
  searchItem: {
1130
1094
  id: string;
1131
1095
  name: string;
@@ -1218,7 +1182,7 @@ declare const BkSearchSelect: {
1218
1182
  handleClickSearch: (e: MouseEvent) => void;
1219
1183
  localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
1220
1184
  resolveClassName: (cls: string) => string;
1221
- handleSelectedKey: (a: any) => void;
1185
+ handleSelectedKey: (a: import("./utils").ICommonItem) => void;
1222
1186
  t: import("vue").ComputedRef<{
1223
1187
  pleaseSelect: string;
1224
1188
  loading: string;
@@ -1230,14 +1194,12 @@ declare const BkSearchSelect: {
1230
1194
  logical: string;
1231
1195
  }>;
1232
1196
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], "search" | "update:modelValue" | "selectKey", {
1233
- data: import("./utils").ISearchItem[];
1197
+ data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
1234
1198
  maxHeight: number;
1235
1199
  clearable: boolean;
1236
1200
  modelValue: import("./utils").ISearchValue[];
1237
- minHeight: number;
1238
1201
  conditions: import("./utils").ICommonItem[];
1239
1202
  valueBehavior: "all" | "need-key";
1240
- shrink: boolean;
1241
1203
  uniqueSelect: boolean;
1242
1204
  }, {}, string, import("vue").SlotsType<{
1243
1205
  menu: import("./utils").MenuSlotParams;