bkui-vue 0.0.2-beta.99 → 0.0.2-modal-refactor.2
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 +47 -47
- package/dist/index.esm.js +12587 -12621
- package/dist/index.umd.js +34 -34
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -122
- package/lib/affix/affix.variable.css +5 -245
- package/lib/alert/alert.css +3 -125
- package/lib/alert/alert.variable.css +5 -245
- package/lib/backtop/backtop.css +3 -125
- package/lib/backtop/backtop.variable.css +8 -370
- package/lib/badge/badge.css +34 -150
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +13 -247
- package/lib/breadcrumb/breadcrumb.css +5 -127
- package/lib/breadcrumb/breadcrumb.variable.css +10 -372
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +137 -256
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.less +98 -93
- package/lib/button/button.variable.css +23 -260
- package/lib/button/index.d.ts +5 -5
- package/lib/card/card.css +11 -133
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +16 -378
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +26 -148
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +4 -6
- package/lib/cascader/cascader.variable.css +31 -393
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +31 -14
- package/lib/checkbox/checkbox.css +22 -132
- package/lib/checkbox/checkbox.d.ts +9 -8
- package/lib/checkbox/checkbox.less +15 -1
- package/lib/checkbox/checkbox.variable.css +18 -246
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +15 -12
- package/lib/checkbox/index.js +33 -9
- package/lib/code-diff/code-diff.css +0 -122
- package/lib/code-diff/code-diff.variable.css +5 -245
- package/lib/collapse/collapse.css +1 -123
- package/lib/collapse/collapse.variable.css +5 -245
- package/lib/collapse-transition/collapse-transition.css +0 -122
- package/lib/collapse-transition/collapse-transition.variable.css +5 -245
- package/lib/color-picker/color-picker.css +0 -122
- package/lib/color-picker/color-picker.variable.css +5 -245
- package/lib/config-provider/config-provider.css +0 -122
- package/lib/config-provider/config-provider.d.ts +18 -0
- package/lib/config-provider/config-provider.variable.css +5 -245
- package/lib/config-provider/index.d.ts +24 -0
- package/lib/config-provider/token.d.ts +6 -0
- package/lib/container/container.css +0 -122
- package/lib/container/container.variable.css +5 -367
- package/lib/date-picker/common.d.ts +2 -0
- package/lib/date-picker/date-picker.css +17 -139
- package/lib/date-picker/date-picker.d.ts +2 -0
- package/lib/date-picker/date-picker.variable.css +5 -245
- package/lib/date-picker/index.d.ts +6 -0
- package/lib/date-picker/index.js +184 -110
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +17 -0
- package/lib/date-picker/panel/time.d.ts +17 -1
- package/lib/date-picker/time-picker.d.ts +2 -0
- package/lib/date-picker/use-calendar.d.ts +24 -0
- package/lib/dialog/dialog.css +76 -172
- package/lib/dialog/dialog.d.ts +18 -9
- package/lib/dialog/dialog.less +9 -8
- package/lib/dialog/dialog.variable.css +81 -417
- package/lib/dialog/index.d.ts +34 -18
- package/lib/dialog/index.js +4 -7
- package/lib/dialog/props.d.ts +7 -3
- package/lib/directives/index.js +15 -4
- package/lib/divider/divider.css +3 -125
- package/lib/divider/divider.variable.css +5 -245
- package/lib/dropdown/dropdown.css +1 -123
- package/lib/dropdown/dropdown.variable.css +6 -368
- package/lib/dropdown/index.js +2 -2
- package/lib/exception/exception.css +0 -122
- package/lib/exception/exception.variable.css +5 -245
- package/lib/fixed-navbar/fixed-navbar.css +4 -126
- package/lib/fixed-navbar/fixed-navbar.variable.css +5 -245
- package/lib/form/form.css +2 -123
- package/lib/form/form.less +3 -2
- package/lib/form/form.variable.css +7 -246
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +58 -25
- package/lib/icon/loading.d.ts +4 -0
- package/lib/icon/loading.js +276 -0
- package/lib/image/image-viewer.css +0 -122
- package/lib/image/image-viewer.variable.css +5 -245
- package/lib/image/image.css +0 -122
- package/lib/image/image.variable.css +5 -367
- package/lib/info-box/index.js +28 -20
- package/lib/info-box/info-box.css +10 -132
- package/lib/info-box/info-box.less +37 -34
- package/lib/info-box/info-box.variable.css +15 -255
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +12 -5
- package/lib/input/input.css +84 -190
- package/lib/input/input.d.ts +3 -3
- package/lib/input/input.less +19 -0
- package/lib/input/input.variable.css +89 -435
- package/lib/link/link.css +16 -138
- package/lib/link/link.variable.css +5 -245
- package/lib/loading/index.d.ts +3 -3
- package/lib/loading/loading.css +25 -147
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +30 -392
- package/lib/locale/index.js +14 -2
- package/lib/locale/lang/en.d.ts +6 -0
- package/lib/menu/menu.css +18 -140
- package/lib/menu/menu.variable.css +23 -385
- package/lib/menu/submenu.css +0 -122
- package/lib/menu/submenu.variable.css +5 -245
- package/lib/message/message.css +21 -143
- package/lib/message/message.variable.css +5 -245
- package/lib/modal/index.d.ts +103 -60
- package/lib/modal/index.js +131 -103
- package/lib/modal/modal.css +35 -132
- package/lib/modal/modal.d.ts +38 -20
- package/lib/modal/modal.less +33 -0
- package/lib/modal/modal.variable.css +40 -377
- package/lib/modal/props.mixin.d.ts +7 -3
- package/lib/navigation/navigation.css +2 -124
- package/lib/navigation/navigation.variable.css +5 -245
- package/lib/notify/notify.css +13 -135
- package/lib/notify/notify.less +6 -6
- package/lib/notify/notify.variable.css +11 -251
- package/lib/overflow-title/components/overflow-title.d.ts +0 -1
- package/lib/overflow-title/index.js +2 -178
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.css +2 -123
- package/lib/pagination/pagination.d.ts +3 -3
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +6 -245
- package/lib/plugin-popover/index.js +31 -103
- package/lib/pop-confirm/index.d.ts +42 -3
- package/lib/pop-confirm/index.js +55 -47
- package/lib/pop-confirm/pop-confirm.css +4 -126
- package/lib/pop-confirm/pop-confirm.d.ts +14 -1
- package/lib/pop-confirm/pop-confirm.less +4 -4
- package/lib/pop-confirm/pop-confirm.variable.css +9 -249
- package/lib/popover/index.js +31 -103
- package/lib/popover/popover.css +1 -123
- package/lib/popover/popover.less +1 -1
- package/lib/popover/popover.variable.css +6 -246
- package/lib/preset.d.ts +12 -0
- package/lib/process/process.css +13 -135
- package/lib/process/process.variable.css +5 -245
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.css +11 -129
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +16 -374
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +8 -2
- package/lib/radio/index.js +11 -3
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio-group.d.ts +3 -0
- package/lib/radio/radio.css +49 -157
- package/lib/radio/radio.d.ts +1 -0
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +25 -251
- package/lib/rate/index.d.ts +4 -4
- package/lib/rate/index.js +22 -6
- package/lib/rate/rate.css +0 -122
- package/lib/rate/rate.d.ts +2 -2
- package/lib/rate/rate.variable.css +5 -245
- package/lib/rate/star.css +3 -122
- package/lib/rate/star.less +3 -0
- package/lib/rate/star.variable.css +8 -245
- package/lib/resize-layout/index.d.ts +3 -3
- package/lib/resize-layout/resize-layout.css +2 -124
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +2 -2
- package/lib/resize-layout/resize-layout.variable.css +7 -247
- package/lib/search-select/index.js +6 -6
- package/lib/search-select/search-select.css +34 -156
- package/lib/search-select/search-select.less +9 -9
- package/lib/search-select/search-select.variable.css +39 -401
- package/lib/select/common.d.ts +3 -1
- package/lib/select/index.d.ts +92 -21
- package/lib/select/index.js +193 -63
- package/lib/select/option.d.ts +1 -0
- package/lib/select/select.css +27 -146
- package/lib/select/select.d.ts +38 -9
- package/lib/select/select.less +3 -0
- package/lib/select/select.variable.css +32 -391
- package/lib/select/selectTagInput.d.ts +2 -0
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +484 -1133
- package/lib/shared/mask.d.ts +11 -0
- package/lib/shared/vue-types.d.ts +1 -1
- package/lib/sideslider/index.d.ts +34 -18
- package/lib/sideslider/index.js +0 -11
- package/lib/sideslider/sideslider.css +12 -134
- package/lib/sideslider/sideslider.d.ts +18 -9
- package/lib/sideslider/sideslider.less +80 -77
- package/lib/sideslider/sideslider.variable.css +16 -256
- package/lib/slider/index.js +7 -1
- package/lib/slider/slider.css +6 -126
- package/lib/slider/slider.less +2 -0
- package/lib/slider/slider.variable.css +7 -245
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +53 -163
- package/lib/steps/steps.d.ts +3 -3
- package/lib/steps/steps.less +26 -5
- package/lib/steps/steps.variable.css +23 -251
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.css +0 -122
- package/lib/styles/mixins/animate.variable.css +5 -245
- package/lib/styles/mixins/mixins.css +0 -122
- package/lib/styles/mixins/mixins.variable.css +0 -122
- package/lib/styles/mixins/popper.css +0 -122
- package/lib/styles/mixins/popper.variable.css +5 -245
- package/lib/styles/mixins/scroll.css +0 -122
- package/lib/styles/mixins/scroll.variable.css +5 -245
- package/lib/styles/reset.css +0 -122
- package/lib/styles/reset.variable.css +5 -245
- package/lib/styles/themes/themes.less +124 -289
- package/lib/swiper/swiper.css +0 -122
- package/lib/swiper/swiper.variable.css +5 -245
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/switcher.css +17 -139
- package/lib/switcher/switcher.d.ts +3 -3
- package/lib/switcher/switcher.variable.css +22 -384
- package/lib/tab/tab.css +17 -139
- package/lib/tab/tab.variable.css +5 -245
- package/lib/table/components/table-column.d.ts +5 -4
- package/lib/table/index.d.ts +8 -7
- package/lib/table/index.js +877 -630
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +1 -150
- package/lib/table/plugins/head-filter.less +2 -34
- package/lib/table/plugins/head-filter.variable.css +6 -273
- package/lib/table/plugins/head-sort.css +0 -122
- package/lib/table/plugins/head-sort.variable.css +5 -245
- package/lib/table/plugins/settings.css +0 -122
- package/lib/table/plugins/settings.d.ts +0 -7
- package/lib/table/plugins/settings.variable.css +5 -245
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +2 -1
- package/lib/table/props.d.ts +3 -1
- package/lib/table/table.css +207 -337
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +27 -21
- package/lib/table/table.variable.css +212 -582
- package/lib/table/use-attributes.d.ts +5 -1
- package/lib/table/use-column.d.ts +3 -0
- package/lib/table/use-common.d.ts +0 -1
- package/lib/table/utils.d.ts +6 -4
- package/lib/table-column/index.d.ts +13 -10
- package/lib/tag/tag.css +5 -127
- package/lib/tag/tag.variable.css +5 -245
- package/lib/tag-input/index.js +17 -13
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.css +18 -140
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/tag-input/tag-input.variable.css +5 -245
- package/lib/time-picker/index.d.ts +6 -0
- package/lib/time-picker/time-picker.css +4 -125
- package/lib/time-picker/time-picker.less +5 -9
- package/lib/time-picker/time-picker.variable.css +9 -248
- package/lib/timeline/timeline.css +19 -141
- package/lib/timeline/timeline.variable.css +5 -245
- package/lib/transfer/transfer.css +21 -143
- package/lib/transfer/transfer.less +2 -2
- package/lib/transfer/transfer.variable.css +7 -247
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/index.js +54 -8
- package/lib/tree/tree.css +22 -132
- package/lib/tree/tree.d.ts +5 -1
- package/lib/tree/tree.variable.css +27 -377
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/upload/index.js +2 -2
- package/lib/upload/upload.css +27 -149
- package/lib/upload/upload.variable.css +32 -394
- package/lib/virtual-render/index.js +71 -30
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +5 -0
- package/lib/virtual-render/virtual-render.css +0 -122
- package/lib/virtual-render/virtual-render.variable.css +5 -367
- package/package.json +4 -3
- package/lib/shared/mask-manager.d.ts +0 -89
- package/lib/shared/pop-manager.d.ts +0 -41
- package/lib/styles/themes/themes.css +0 -122
- package/lib/styles/themes/themes.variable.css +0 -122
- package/lib/table/render.d.ts +0 -130
- /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
- /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
- /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
package/lib/select/index.d.ts
CHANGED
@@ -7,15 +7,15 @@ declare const BkSelect: {
|
|
7
7
|
$props: {
|
8
8
|
prefix?: string;
|
9
9
|
disabled?: boolean;
|
10
|
-
size?: "default" | "small" | "large";
|
10
|
+
size?: "default" | "small" | "large" | "huge";
|
11
11
|
multiple?: boolean;
|
12
12
|
showOnInit?: boolean;
|
13
13
|
placeholder?: string;
|
14
14
|
list?: any[];
|
15
|
+
loading?: boolean;
|
15
16
|
tagTheme?: "" | "info" | "success" | "warning" | "danger";
|
16
17
|
behavior?: "normal" | "simplicity";
|
17
18
|
selectedStyle?: "checkbox" | "check";
|
18
|
-
loading?: boolean;
|
19
19
|
scrollHeight?: number;
|
20
20
|
clearable?: boolean;
|
21
21
|
withValidate?: boolean;
|
@@ -28,6 +28,7 @@ declare const BkSelect: {
|
|
28
28
|
displayKey?: string;
|
29
29
|
idKey?: string;
|
30
30
|
remoteMethod?: (...args: any[]) => any;
|
31
|
+
showAll?: boolean;
|
31
32
|
showSelectAll?: boolean;
|
32
33
|
multipleMode?: string;
|
33
34
|
autoHeight?: boolean;
|
@@ -98,6 +99,7 @@ declare const BkSelect: {
|
|
98
99
|
"onScroll-end"?: (...args: any[]) => any;
|
99
100
|
"onTag-remove"?: (...args: any[]) => any;
|
100
101
|
onDeselect?: (...args: any[]) => any;
|
102
|
+
readonly allOptionId?: string | number;
|
101
103
|
readonly filterOption?: Function;
|
102
104
|
};
|
103
105
|
$attrs: {
|
@@ -125,8 +127,8 @@ declare const BkSelect: {
|
|
125
127
|
} & {
|
126
128
|
default: boolean;
|
127
129
|
};
|
128
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
|
129
|
-
default: "default" | "small" | "large";
|
130
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
|
131
|
+
default: "default" | "small" | "large" | "huge";
|
130
132
|
};
|
131
133
|
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
134
|
default: boolean;
|
@@ -151,6 +153,12 @@ declare const BkSelect: {
|
|
151
153
|
} & {
|
152
154
|
default: number;
|
153
155
|
};
|
156
|
+
showAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
157
|
+
default: boolean;
|
158
|
+
} & {
|
159
|
+
default: boolean;
|
160
|
+
};
|
161
|
+
allOptionId: import("vue-types").VueTypeDef<string | number>;
|
154
162
|
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
155
163
|
default: boolean;
|
156
164
|
} & {
|
@@ -415,6 +423,15 @@ declare const BkSelect: {
|
|
415
423
|
"onTag-remove"?: (...args: any[]) => any;
|
416
424
|
onDeselect?: (...args: any[]) => any;
|
417
425
|
}, {
|
426
|
+
t: import("vue").ComputedRef<{
|
427
|
+
noData: string;
|
428
|
+
noMatchedData: string;
|
429
|
+
loading: string;
|
430
|
+
pleaseSelect: string;
|
431
|
+
enterKeywords: string;
|
432
|
+
all: string;
|
433
|
+
selectAll: string;
|
434
|
+
}>;
|
418
435
|
selected: import("vue").Ref<{
|
419
436
|
value: string;
|
420
437
|
label: string | number;
|
@@ -551,8 +568,10 @@ declare const BkSelect: {
|
|
551
568
|
overflowTagIndex: import("vue").Ref<number>;
|
552
569
|
value: any;
|
553
570
|
inputRef: import("vue").Ref<HTMLElement>;
|
571
|
+
overflowContent: import("vue").ComputedRef<string>;
|
554
572
|
handleRemoveTag: (val: string) => void;
|
555
573
|
focus: () => void;
|
574
|
+
blur: () => void;
|
556
575
|
handleInput: (e: any) => void;
|
557
576
|
handleKeydown: (e: any) => void;
|
558
577
|
resolveClassName: (cls: string) => string;
|
@@ -631,8 +650,10 @@ declare const BkSelect: {
|
|
631
650
|
overflowTagIndex: import("vue").Ref<number>;
|
632
651
|
value: any;
|
633
652
|
inputRef: import("vue").Ref<HTMLElement>;
|
653
|
+
overflowContent: import("vue").ComputedRef<string>;
|
634
654
|
handleRemoveTag: (val: string) => void;
|
635
655
|
focus: () => void;
|
656
|
+
blur: () => void;
|
636
657
|
handleInput: (e: any) => void;
|
637
658
|
handleKeydown: (e: any) => void;
|
638
659
|
resolveClassName: (cls: string) => string;
|
@@ -646,7 +667,9 @@ declare const BkSelect: {
|
|
646
667
|
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
647
668
|
curContentText: import("vue").ComputedRef<string>;
|
648
669
|
isGroup: import("vue").ComputedRef<boolean>;
|
649
|
-
|
670
|
+
searchValue: import("vue").Ref<string>;
|
671
|
+
customOptionName: import("vue").Ref<string>;
|
672
|
+
isShowAll: import("vue").ComputedRef<boolean>;
|
650
673
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
651
674
|
virtualHeight: import("vue").ComputedRef<number>;
|
652
675
|
virtualList: import("vue").ComputedRef<any[]>;
|
@@ -779,6 +802,7 @@ declare const BkSelect: {
|
|
779
802
|
default: boolean;
|
780
803
|
};
|
781
804
|
}>>>>;
|
805
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
782
806
|
focusInput: () => void;
|
783
807
|
setHover: () => void;
|
784
808
|
cancelHover: () => void;
|
@@ -788,7 +812,7 @@ declare const BkSelect: {
|
|
788
812
|
handleClear: (e: Event) => void;
|
789
813
|
hidePopover: () => void;
|
790
814
|
showPopover: () => void;
|
791
|
-
|
815
|
+
handleToggleSelectAll: () => void;
|
792
816
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
793
817
|
handleClickOutside: ({ event }: {
|
794
818
|
event: any;
|
@@ -803,19 +827,19 @@ declare const BkSelect: {
|
|
803
827
|
localSearchPlaceholder: import("vue").ComputedRef<string>;
|
804
828
|
localSelectAllText: import("vue").ComputedRef<string>;
|
805
829
|
resolveClassName: (cls: string) => string;
|
806
|
-
handleCreateCustomOption: (val: string | number) => void;
|
830
|
+
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
807
831
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect")[], string, {
|
808
832
|
prefix: string;
|
809
833
|
disabled: boolean;
|
810
|
-
size: "default" | "small" | "large";
|
834
|
+
size: "default" | "small" | "large" | "huge";
|
811
835
|
multiple: boolean;
|
812
836
|
showOnInit: boolean;
|
813
837
|
placeholder: string;
|
814
838
|
list: any[];
|
839
|
+
loading: boolean;
|
815
840
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
816
841
|
behavior: "normal" | "simplicity";
|
817
842
|
selectedStyle: "checkbox" | "check";
|
818
|
-
loading: boolean;
|
819
843
|
scrollHeight: number;
|
820
844
|
clearable: boolean;
|
821
845
|
withValidate: boolean;
|
@@ -828,6 +852,7 @@ declare const BkSelect: {
|
|
828
852
|
displayKey: string;
|
829
853
|
idKey: string;
|
830
854
|
remoteMethod: (...args: any[]) => any;
|
855
|
+
showAll: boolean;
|
831
856
|
showSelectAll: boolean;
|
832
857
|
multipleMode: string;
|
833
858
|
autoHeight: boolean;
|
@@ -874,8 +899,8 @@ declare const BkSelect: {
|
|
874
899
|
} & {
|
875
900
|
default: boolean;
|
876
901
|
};
|
877
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
|
878
|
-
default: "default" | "small" | "large";
|
902
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
|
903
|
+
default: "default" | "small" | "large" | "huge";
|
879
904
|
};
|
880
905
|
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
881
906
|
default: boolean;
|
@@ -900,6 +925,12 @@ declare const BkSelect: {
|
|
900
925
|
} & {
|
901
926
|
default: number;
|
902
927
|
};
|
928
|
+
showAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
929
|
+
default: boolean;
|
930
|
+
} & {
|
931
|
+
default: boolean;
|
932
|
+
};
|
933
|
+
allOptionId: import("vue-types").VueTypeDef<string | number>;
|
903
934
|
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
904
935
|
default: boolean;
|
905
936
|
} & {
|
@@ -1164,6 +1195,15 @@ declare const BkSelect: {
|
|
1164
1195
|
"onTag-remove"?: (...args: any[]) => any;
|
1165
1196
|
onDeselect?: (...args: any[]) => any;
|
1166
1197
|
} & import("vue").ShallowUnwrapRef<{
|
1198
|
+
t: import("vue").ComputedRef<{
|
1199
|
+
noData: string;
|
1200
|
+
noMatchedData: string;
|
1201
|
+
loading: string;
|
1202
|
+
pleaseSelect: string;
|
1203
|
+
enterKeywords: string;
|
1204
|
+
all: string;
|
1205
|
+
selectAll: string;
|
1206
|
+
}>;
|
1167
1207
|
selected: import("vue").Ref<{
|
1168
1208
|
value: string;
|
1169
1209
|
label: string | number;
|
@@ -1300,8 +1340,10 @@ declare const BkSelect: {
|
|
1300
1340
|
overflowTagIndex: import("vue").Ref<number>;
|
1301
1341
|
value: any;
|
1302
1342
|
inputRef: import("vue").Ref<HTMLElement>;
|
1343
|
+
overflowContent: import("vue").ComputedRef<string>;
|
1303
1344
|
handleRemoveTag: (val: string) => void;
|
1304
1345
|
focus: () => void;
|
1346
|
+
blur: () => void;
|
1305
1347
|
handleInput: (e: any) => void;
|
1306
1348
|
handleKeydown: (e: any) => void;
|
1307
1349
|
resolveClassName: (cls: string) => string;
|
@@ -1380,8 +1422,10 @@ declare const BkSelect: {
|
|
1380
1422
|
overflowTagIndex: import("vue").Ref<number>;
|
1381
1423
|
value: any;
|
1382
1424
|
inputRef: import("vue").Ref<HTMLElement>;
|
1425
|
+
overflowContent: import("vue").ComputedRef<string>;
|
1383
1426
|
handleRemoveTag: (val: string) => void;
|
1384
1427
|
focus: () => void;
|
1428
|
+
blur: () => void;
|
1385
1429
|
handleInput: (e: any) => void;
|
1386
1430
|
handleKeydown: (e: any) => void;
|
1387
1431
|
resolveClassName: (cls: string) => string;
|
@@ -1395,7 +1439,9 @@ declare const BkSelect: {
|
|
1395
1439
|
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
1396
1440
|
curContentText: import("vue").ComputedRef<string>;
|
1397
1441
|
isGroup: import("vue").ComputedRef<boolean>;
|
1398
|
-
|
1442
|
+
searchValue: import("vue").Ref<string>;
|
1443
|
+
customOptionName: import("vue").Ref<string>;
|
1444
|
+
isShowAll: import("vue").ComputedRef<boolean>;
|
1399
1445
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
1400
1446
|
virtualHeight: import("vue").ComputedRef<number>;
|
1401
1447
|
virtualList: import("vue").ComputedRef<any[]>;
|
@@ -1528,6 +1574,7 @@ declare const BkSelect: {
|
|
1528
1574
|
default: boolean;
|
1529
1575
|
};
|
1530
1576
|
}>>>>;
|
1577
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
1531
1578
|
focusInput: () => void;
|
1532
1579
|
setHover: () => void;
|
1533
1580
|
cancelHover: () => void;
|
@@ -1537,7 +1584,7 @@ declare const BkSelect: {
|
|
1537
1584
|
handleClear: (e: Event) => void;
|
1538
1585
|
hidePopover: () => void;
|
1539
1586
|
showPopover: () => void;
|
1540
|
-
|
1587
|
+
handleToggleSelectAll: () => void;
|
1541
1588
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
1542
1589
|
handleClickOutside: ({ event }: {
|
1543
1590
|
event: any;
|
@@ -1552,7 +1599,7 @@ declare const BkSelect: {
|
|
1552
1599
|
localSearchPlaceholder: import("vue").ComputedRef<string>;
|
1553
1600
|
localSelectAllText: import("vue").ComputedRef<string>;
|
1554
1601
|
resolveClassName: (cls: string) => string;
|
1555
|
-
handleCreateCustomOption: (val: string | number) => void;
|
1602
|
+
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
1556
1603
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
1557
1604
|
__isFragment?: never;
|
1558
1605
|
__isTeleport?: never;
|
@@ -1569,8 +1616,8 @@ declare const BkSelect: {
|
|
1569
1616
|
} & {
|
1570
1617
|
default: boolean;
|
1571
1618
|
};
|
1572
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
|
1573
|
-
default: "default" | "small" | "large";
|
1619
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
|
1620
|
+
default: "default" | "small" | "large" | "huge";
|
1574
1621
|
};
|
1575
1622
|
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1576
1623
|
default: boolean;
|
@@ -1595,6 +1642,12 @@ declare const BkSelect: {
|
|
1595
1642
|
} & {
|
1596
1643
|
default: number;
|
1597
1644
|
};
|
1645
|
+
showAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
1646
|
+
default: boolean;
|
1647
|
+
} & {
|
1648
|
+
default: boolean;
|
1649
|
+
};
|
1650
|
+
allOptionId: import("vue-types").VueTypeDef<string | number>;
|
1598
1651
|
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
1599
1652
|
default: boolean;
|
1600
1653
|
} & {
|
@@ -1859,6 +1912,15 @@ declare const BkSelect: {
|
|
1859
1912
|
"onTag-remove"?: (...args: any[]) => any;
|
1860
1913
|
onDeselect?: (...args: any[]) => any;
|
1861
1914
|
}, {
|
1915
|
+
t: import("vue").ComputedRef<{
|
1916
|
+
noData: string;
|
1917
|
+
noMatchedData: string;
|
1918
|
+
loading: string;
|
1919
|
+
pleaseSelect: string;
|
1920
|
+
enterKeywords: string;
|
1921
|
+
all: string;
|
1922
|
+
selectAll: string;
|
1923
|
+
}>;
|
1862
1924
|
selected: import("vue").Ref<{
|
1863
1925
|
value: string;
|
1864
1926
|
label: string | number;
|
@@ -1995,8 +2057,10 @@ declare const BkSelect: {
|
|
1995
2057
|
overflowTagIndex: import("vue").Ref<number>;
|
1996
2058
|
value: any;
|
1997
2059
|
inputRef: import("vue").Ref<HTMLElement>;
|
2060
|
+
overflowContent: import("vue").ComputedRef<string>;
|
1998
2061
|
handleRemoveTag: (val: string) => void;
|
1999
2062
|
focus: () => void;
|
2063
|
+
blur: () => void;
|
2000
2064
|
handleInput: (e: any) => void;
|
2001
2065
|
handleKeydown: (e: any) => void;
|
2002
2066
|
resolveClassName: (cls: string) => string;
|
@@ -2075,8 +2139,10 @@ declare const BkSelect: {
|
|
2075
2139
|
overflowTagIndex: import("vue").Ref<number>;
|
2076
2140
|
value: any;
|
2077
2141
|
inputRef: import("vue").Ref<HTMLElement>;
|
2142
|
+
overflowContent: import("vue").ComputedRef<string>;
|
2078
2143
|
handleRemoveTag: (val: string) => void;
|
2079
2144
|
focus: () => void;
|
2145
|
+
blur: () => void;
|
2080
2146
|
handleInput: (e: any) => void;
|
2081
2147
|
handleKeydown: (e: any) => void;
|
2082
2148
|
resolveClassName: (cls: string) => string;
|
@@ -2090,7 +2156,9 @@ declare const BkSelect: {
|
|
2090
2156
|
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
2091
2157
|
curContentText: import("vue").ComputedRef<string>;
|
2092
2158
|
isGroup: import("vue").ComputedRef<boolean>;
|
2093
|
-
|
2159
|
+
searchValue: import("vue").Ref<string>;
|
2160
|
+
customOptionName: import("vue").Ref<string>;
|
2161
|
+
isShowAll: import("vue").ComputedRef<boolean>;
|
2094
2162
|
isShowSelectAll: import("vue").ComputedRef<boolean>;
|
2095
2163
|
virtualHeight: import("vue").ComputedRef<number>;
|
2096
2164
|
virtualList: import("vue").ComputedRef<any[]>;
|
@@ -2223,6 +2291,7 @@ declare const BkSelect: {
|
|
2223
2291
|
default: boolean;
|
2224
2292
|
};
|
2225
2293
|
}>>>>;
|
2294
|
+
isAllSelected: import("vue").ComputedRef<boolean>;
|
2226
2295
|
focusInput: () => void;
|
2227
2296
|
setHover: () => void;
|
2228
2297
|
cancelHover: () => void;
|
@@ -2232,7 +2301,7 @@ declare const BkSelect: {
|
|
2232
2301
|
handleClear: (e: Event) => void;
|
2233
2302
|
hidePopover: () => void;
|
2234
2303
|
showPopover: () => void;
|
2235
|
-
|
2304
|
+
handleToggleSelectAll: () => void;
|
2236
2305
|
handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
|
2237
2306
|
handleClickOutside: ({ event }: {
|
2238
2307
|
event: any;
|
@@ -2247,19 +2316,19 @@ declare const BkSelect: {
|
|
2247
2316
|
localSearchPlaceholder: import("vue").ComputedRef<string>;
|
2248
2317
|
localSelectAllText: import("vue").ComputedRef<string>;
|
2249
2318
|
resolveClassName: (cls: string) => string;
|
2250
|
-
handleCreateCustomOption: (val: string | number) => void;
|
2319
|
+
handleCreateCustomOption: (val: string | number, e: KeyboardEvent) => void;
|
2251
2320
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect")[], "blur" | "change" | "focus" | "select" | "toggle" | "clear" | "update:modelValue" | "scroll-end" | "tag-remove" | "deselect", {
|
2252
2321
|
prefix: string;
|
2253
2322
|
disabled: boolean;
|
2254
|
-
size: "default" | "small" | "large";
|
2323
|
+
size: "default" | "small" | "large" | "huge";
|
2255
2324
|
multiple: boolean;
|
2256
2325
|
showOnInit: boolean;
|
2257
2326
|
placeholder: string;
|
2258
2327
|
list: any[];
|
2328
|
+
loading: boolean;
|
2259
2329
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
2260
2330
|
behavior: "normal" | "simplicity";
|
2261
2331
|
selectedStyle: "checkbox" | "check";
|
2262
|
-
loading: boolean;
|
2263
2332
|
scrollHeight: number;
|
2264
2333
|
clearable: boolean;
|
2265
2334
|
withValidate: boolean;
|
@@ -2272,6 +2341,7 @@ declare const BkSelect: {
|
|
2272
2341
|
displayKey: string;
|
2273
2342
|
idKey: string;
|
2274
2343
|
remoteMethod: (...args: any[]) => any;
|
2344
|
+
showAll: boolean;
|
2275
2345
|
showSelectAll: boolean;
|
2276
2346
|
multipleMode: string;
|
2277
2347
|
autoHeight: boolean;
|
@@ -2311,6 +2381,7 @@ declare const BkSelect: {
|
|
2311
2381
|
selectedStyle: import("vue").ComputedRef<import("../shared").SelectedTypeEnum>;
|
2312
2382
|
optionName: import("vue").ComputedRef<string | number>;
|
2313
2383
|
optionID: import("vue").ComputedRef<unknown>;
|
2384
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
2314
2385
|
handleOptionClick: () => void;
|
2315
2386
|
handleMouseEnter: () => void;
|
2316
2387
|
resolveClassName: (cls: string) => string;
|