bkui-vue 2.0.2-beta.8 → 2.0.2-beta.80
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/License.txt +1 -2
- package/dist/cli.css +1 -0
- package/dist/index.cjs.js +166 -138
- package/dist/index.esm.js +24292 -18450
- package/dist/index.umd.js +166 -138
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/ja-jp.esm.js +2 -0
- package/dist/locale/ja-jp.esm.js.map +1 -0
- package/dist/locale/ja-jp.umd.js +2 -0
- package/dist/locale/ja-jp.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +2 -1
- package/lib/affix/index.js +24 -32
- package/lib/alert/alert.variable.css +2 -1
- package/lib/alert/index.js +38 -35
- package/lib/animate-number/index.js +12 -16
- package/lib/backtop/backtop.variable.css +2 -1
- package/lib/backtop/index.js +24 -34
- package/lib/badge/badge.variable.css +2 -1
- package/lib/badge/index.js +20 -26
- package/lib/breadcrumb/breadcrumb.variable.css +2 -1
- package/lib/breadcrumb/index.js +26 -34
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +2 -1
- package/lib/button/index.js +29 -39
- package/lib/card/card.variable.css +2 -1
- package/lib/card/index.js +35 -49
- package/lib/cascader/cascader.css +26 -24
- package/lib/cascader/cascader.d.ts +315 -0
- package/lib/cascader/cascader.less +78 -76
- package/lib/cascader/cascader.variable.css +28 -25
- package/lib/cascader/index.d.ts +618 -0
- package/lib/cascader/index.js +749 -717
- package/lib/checkbox/checkbox.variable.css +2 -1
- package/lib/checkbox/index.js +39 -49
- package/lib/code-diff/code-diff.variable.css +2 -1
- package/lib/code-diff/index.js +81 -85
- package/lib/collapse/collapse.variable.css +2 -1
- package/lib/collapse/index.js +36 -42
- package/lib/collapse-transition/collapse-transition.variable.css +2 -1
- package/lib/collapse-transition/index.js +16 -22
- package/lib/color-picker/color-picker.variable.css +2 -1
- package/lib/color-picker/index.js +682 -689
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.variable.css +2 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +32 -40
- package/lib/container/container.variable.css +2 -1
- package/lib/container/index.js +26 -32
- package/lib/date-picker/date-picker.d.ts +2 -1
- package/lib/date-picker/date-picker.variable.css +2 -1
- package/lib/date-picker/index.d.ts +6 -2
- package/lib/date-picker/index.js +717 -736
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +5 -17
- package/lib/dialog/dialog.css +20 -1
- package/lib/dialog/dialog.variable.css +22 -2
- package/lib/dialog/index.js +100 -137
- package/lib/directives/index.js +509 -518
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +2 -1
- package/lib/divider/index.js +18 -24
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.variable.css +2 -1
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +45 -52
- package/lib/exception/exception.variable.css +2 -1
- package/lib/exception/index.js +51 -57
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
- package/lib/fixed-navbar/index.js +16 -22
- package/lib/form/form-item.d.ts +19 -0
- package/lib/form/form.css +16 -4
- package/lib/form/form.less +24 -6
- package/lib/form/form.variable.css +18 -5
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +677 -708
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +13 -15
- package/lib/icon/angle-double-left-line.js +13 -15
- package/lib/icon/angle-double-left.js +13 -15
- package/lib/icon/angle-double-right-line.js +13 -15
- package/lib/icon/angle-double-right.js +13 -15
- package/lib/icon/angle-double-up-line.js +13 -15
- package/lib/icon/angle-down-fill.js +13 -15
- package/lib/icon/angle-down-line.js +13 -15
- package/lib/icon/angle-down.js +13 -15
- package/lib/icon/angle-left.js +13 -15
- package/lib/icon/angle-right.js +13 -15
- package/lib/icon/angle-up-fill.js +13 -15
- package/lib/icon/angle-up.js +13 -15
- package/lib/icon/archive-fill.js +13 -15
- package/lib/icon/arrows-left.js +13 -15
- package/lib/icon/arrows-right.js +13 -15
- package/lib/icon/assistant.js +13 -15
- package/lib/icon/audio-fill.js +13 -15
- package/lib/icon/bk.js +13 -15
- package/lib/icon/circle.js +13 -15
- package/lib/icon/close-line.js +13 -15
- package/lib/icon/close.js +13 -15
- package/lib/icon/code.js +13 -15
- package/lib/icon/cog-shape.js +13 -15
- package/lib/icon/collapse-left.js +13 -15
- package/lib/icon/copy-shape.js +13 -15
- package/lib/icon/copy.js +13 -15
- package/lib/icon/data-shape.js +13 -15
- package/lib/icon/del.js +13 -15
- package/lib/icon/doc-fill.js +13 -15
- package/lib/icon/done.js +13 -15
- package/lib/icon/down-shape.js +13 -15
- package/lib/icon/down-small.js +13 -15
- package/lib/icon/edit-line.js +13 -15
- package/lib/icon/ellipsis.js +13 -15
- package/lib/icon/enlarge-line.js +13 -15
- package/lib/icon/error.js +13 -15
- package/lib/icon/excel-fill.js +13 -15
- package/lib/icon/exclamation-circle-shape.js +13 -15
- package/lib/icon/eye.js +13 -15
- package/lib/icon/filliscreen-line.js +13 -15
- package/lib/icon/fix-line.js +13 -15
- package/lib/icon/fix-shape.js +13 -15
- package/lib/icon/folder-open.js +13 -15
- package/lib/icon/folder-shape-open.js +13 -15
- package/lib/icon/folder-shape.js +13 -15
- package/lib/icon/folder.js +13 -15
- package/lib/icon/funnel.js +13 -15
- package/lib/icon/grag-fill.js +13 -15
- package/lib/icon/help-document-fill.js +13 -15
- package/lib/icon/help-fill.js +13 -15
- package/lib/icon/help.js +13 -15
- package/lib/icon/image-fill.js +13 -15
- package/lib/icon/img-error.js +13 -15
- package/lib/icon/img-placehoulder.js +13 -15
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +13 -15
- package/lib/icon/info.js +13 -15
- package/lib/icon/left-shape.js +13 -15
- package/lib/icon/left-turn-line.js +13 -15
- package/lib/icon/loading.js +13 -15
- package/lib/icon/narrow-line.js +13 -15
- package/lib/icon/original.js +13 -15
- package/lib/icon/pdf-fill.js +13 -15
- package/lib/icon/play-shape.js +13 -15
- package/lib/icon/plus.js +13 -15
- package/lib/icon/ppt-fill.js +13 -15
- package/lib/icon/qq.js +13 -15
- package/lib/icon/right-shape.js +13 -15
- package/lib/icon/right-turn-line.js +13 -15
- package/lib/icon/search.js +13 -15
- package/lib/icon/share.js +13 -15
- package/lib/icon/spinner.js +13 -15
- package/lib/icon/success.js +13 -15
- package/lib/icon/switcher-loading.js +13 -15
- package/lib/icon/text-all.js +13 -15
- package/lib/icon/text-file.js +13 -15
- package/lib/icon/text-fill.js +13 -15
- package/lib/icon/transfer.js +13 -15
- package/lib/icon/tree-application-shape.js +13 -15
- package/lib/icon/unfull-screen.js +13 -15
- package/lib/icon/unvisible.js +13 -15
- package/lib/icon/up-shape.js +13 -15
- package/lib/icon/upload.js +13 -15
- package/lib/icon/video-fill.js +13 -15
- package/lib/icon/warn.js +13 -15
- package/lib/icon/weixin-pro.js +13 -15
- package/lib/icon/weixin.js +13 -15
- package/lib/image/image-viewer.variable.css +2 -1
- package/lib/image/image.variable.css +2 -1
- package/lib/image/index.js +335 -352
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +109 -108
- package/lib/info-box/info-box.css +20 -1
- package/lib/info-box/info-box.d.ts +1 -0
- package/lib/info-box/info-box.less +28 -2
- package/lib/info-box/info-box.variable.css +23 -3
- package/lib/input/index.d.ts +39 -20
- package/lib/input/index.js +448 -444
- package/lib/input/input.css +6 -0
- package/lib/input/input.d.ts +33 -19
- package/lib/input/input.less +7 -0
- package/lib/input/input.variable.css +8 -1
- package/lib/link/index.js +20 -28
- package/lib/link/link.variable.css +2 -1
- package/lib/loading/index.js +34 -32
- package/lib/loading/loading.variable.css +2 -1
- package/lib/locale/index.d.ts +1 -0
- package/lib/locale/index.js +175 -7
- package/lib/locale/lang/ja-jp.d.ts +3 -0
- package/lib/menu/index.js +44 -49
- package/lib/menu/menu.css +5 -4
- package/lib/menu/menu.less +1 -0
- package/lib/menu/menu.variable.css +7 -5
- package/lib/menu/submenu.variable.css +2 -1
- package/lib/message/index.js +102 -74
- package/lib/message/message.variable.css +2 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.js +43 -45
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +22 -2
- package/lib/navigation/index.js +22 -30
- package/lib/navigation/navigation.css +29 -29
- package/lib/navigation/navigation.less +29 -29
- package/lib/navigation/navigation.variable.css +31 -30
- package/lib/notify/index.js +69 -60
- package/lib/notify/notify.variable.css +2 -1
- package/lib/overflow-title/components/overflow-title.d.ts +6 -2
- package/lib/overflow-title/index.d.ts +12 -4
- package/lib/overflow-title/index.js +32 -44
- package/lib/overflow-title/props.d.ts +3 -1
- package/lib/pagination/index.js +68 -76
- package/lib/pagination/pagination.css +1 -0
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +3 -1
- package/lib/pop-confirm/index.d.ts +592 -0
- package/lib/pop-confirm/index.js +43 -55
- package/lib/pop-confirm/pop-confirm.d.ts +296 -0
- package/lib/pop-confirm/pop-confirm.variable.css +2 -1
- package/lib/pop-confirm/props.d.ts +148 -0
- package/lib/popover/index.d.ts +18 -10
- package/lib/popover/index.js +582 -459
- package/lib/popover/popover.d.ts +8 -4
- package/lib/popover/popover.variable.css +2 -1
- package/lib/popover/props.d.ts +3 -1
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -2
- package/lib/popover/use-popper-id.d.ts +3 -1
- package/lib/popover2/index.js +12 -16
- package/lib/preset.js +1 -1
- package/lib/process/index.js +76 -80
- package/lib/process/process.d.ts +1 -1
- package/lib/process/process.variable.css +2 -1
- package/lib/progress/index.js +24 -30
- package/lib/progress/progress.variable.css +2 -1
- package/lib/radio/index.js +36 -44
- package/lib/radio/radio.variable.css +2 -1
- package/lib/rate/index.js +22 -28
- package/lib/rate/rate.variable.css +2 -1
- package/lib/resize-layout/index.js +24 -32
- package/lib/resize-layout/resize-layout.css +1 -0
- package/lib/resize-layout/resize-layout.less +1 -0
- package/lib/resize-layout/resize-layout.variable.css +3 -1
- package/lib/scrollbar/css/scrollbar.variable.css +2 -1
- package/lib/scrollbar/index.js +31 -31
- package/lib/search-select/index.d.ts +39 -11
- package/lib/search-select/index.js +576 -547
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/search-select.d.ts +13 -4
- package/lib/search-select/search-select.variable.css +2 -1
- package/lib/search-select/selected.d.ts +10 -2
- package/lib/search-select/utils.d.ts +1 -0
- package/lib/select/common.d.ts +0 -1
- package/lib/select/index.d.ts +55 -11
- package/lib/select/index.js +570 -619
- package/lib/select/optionGroup.d.ts +12 -1
- package/lib/select/select.d.ts +20 -4
- package/lib/select/select.variable.css +2 -1
- package/lib/select/type.d.ts +1 -0
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +59 -67
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.js +86 -94
- package/lib/sideslider/sideslider.variable.css +2 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +80 -89
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/slider/slider.variable.css +2 -1
- package/lib/steps/index.js +85 -92
- package/lib/steps/steps.css +24 -11
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.less +28 -10
- package/lib/steps/steps.variable.css +26 -12
- package/lib/styles/mixins/animate.variable.css +2 -1
- package/lib/styles/mixins/popper.variable.css +2 -1
- package/lib/styles/mixins/scroll.variable.css +2 -1
- package/lib/styles/reset.variable.css +2 -1
- package/lib/styles/themes/themes.less +4 -1
- package/lib/swiper/index.js +20 -26
- package/lib/swiper/swiper.variable.css +2 -1
- package/lib/switcher/index.js +24 -32
- package/lib/switcher/switcher.variable.css +2 -1
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +344 -353
- package/lib/tab/props.d.ts +3 -0
- package/lib/tab/tab.d.ts +6 -0
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.js +632 -691
- package/lib/table/plugins/head-filter.variable.css +2 -1
- package/lib/table/plugins/head-sort.variable.css +2 -1
- package/lib/table/plugins/settings.variable.css +2 -1
- package/lib/table/table.css +1 -0
- package/lib/table/table.variable.css +3 -1
- package/lib/table-column/index.js +10 -14
- package/lib/tag/index.js +28 -38
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/index.d.ts +79 -6
- package/lib/tag-input/index.js +2341 -791
- package/lib/tag-input/tag-input.css +31 -0
- package/lib/tag-input/tag-input.d.ts +35 -3
- package/lib/tag-input/tag-input.less +36 -0
- package/lib/tag-input/tag-input.variable.css +33 -1
- package/lib/tag-input/tag-props.d.ts +13 -1
- package/lib/tag-input/tag-render.d.ts +24 -2
- package/lib/time-picker/index.js +10 -14
- package/lib/time-picker/time-picker.variable.css +2 -1
- package/lib/timeline/index.js +1368 -25
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.variable.css +2 -1
- package/lib/transfer/index.d.ts +1 -24
- package/lib/transfer/index.js +61 -67
- package/lib/transfer/props.d.ts +0 -5
- package/lib/transfer/transfer.css +26 -8
- package/lib/transfer/transfer.d.ts +1 -12
- package/lib/transfer/transfer.less +18 -8
- package/lib/transfer/transfer.variable.css +28 -9
- package/lib/tree/constant.d.ts +2 -0
- package/lib/tree/index.d.ts +71 -11
- package/lib/tree/index.js +17743 -209
- package/lib/tree/props.d.ts +38 -3
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +33 -5
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +48 -1
- package/lib/tree/use-array-move.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +3 -0
- package/lib/upload/index.js +570 -582
- package/lib/upload/upload.variable.css +2 -1
- package/lib/virtual-render/index.js +50 -62
- package/lib/virtual-render/virtual-render.variable.css +2 -1
- package/lib/volar.components.d.ts +2 -1
- package/package.json +13 -2
- package/dist/style.css +0 -1
|
@@ -49,6 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
menuList: Ref<ISearchItem[]>;
|
|
50
50
|
menuHoverId: Ref<string>;
|
|
51
51
|
isFocus: Ref<boolean>;
|
|
52
|
+
isComposition: Ref<boolean>;
|
|
52
53
|
usingItem: Ref<SelectedItem>;
|
|
53
54
|
showPopover: Ref<boolean>;
|
|
54
55
|
showNoSelectValueError: Ref<boolean>;
|
|
@@ -72,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
73
|
inputClearForWrapper: () => void;
|
|
73
74
|
deleteInputTextNode: () => void;
|
|
74
75
|
customPanelSubmit: (value: string) => void;
|
|
75
|
-
|
|
76
|
+
refreshMenuHover: () => void;
|
|
76
77
|
t: import("vue").ComputedRef<{
|
|
77
78
|
pleaseSelect: string;
|
|
78
79
|
loading: string;
|
|
@@ -84,6 +85,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
85
|
logical: string;
|
|
85
86
|
}>;
|
|
86
87
|
inputKey: Ref<string>;
|
|
88
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
89
|
+
handleCompositionStart: () => void;
|
|
90
|
+
handleInputCopy: (event: ClipboardEvent) => void;
|
|
87
91
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], "focus" | "delete" | "add" | "selectKey", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
92
|
data: {
|
|
89
93
|
type: PropType<ISearchItem[]>;
|
|
@@ -122,6 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
menuList: import("vue").Ref<ISearchItem[]>;
|
|
123
123
|
menuHoverId: import("vue").Ref<string>;
|
|
124
124
|
isFocus: import("vue").Ref<boolean>;
|
|
125
|
+
isComposition: import("vue").Ref<boolean>;
|
|
125
126
|
usingItem: import("vue").Ref<SelectedItem>;
|
|
126
127
|
showPopover: import("vue").Ref<boolean>;
|
|
127
128
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
|
@@ -145,7 +146,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
146
|
inputClearForWrapper: () => void;
|
|
146
147
|
deleteInputTextNode: () => void;
|
|
147
148
|
customPanelSubmit: (value: string) => void;
|
|
148
|
-
|
|
149
|
+
refreshMenuHover: () => void;
|
|
149
150
|
t: import("vue").ComputedRef<{
|
|
150
151
|
pleaseSelect: string;
|
|
151
152
|
loading: string;
|
|
@@ -157,6 +158,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
158
|
logical: string;
|
|
158
159
|
}>;
|
|
159
160
|
inputKey: import("vue").Ref<string>;
|
|
161
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
162
|
+
handleCompositionStart: () => void;
|
|
163
|
+
handleInputCopy: (event: ClipboardEvent) => void;
|
|
160
164
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
161
165
|
data: {
|
|
162
166
|
type: PropType<ISearchItem[]>;
|
|
@@ -255,6 +259,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
255
259
|
menuList: import("vue").Ref<ISearchItem[]>;
|
|
256
260
|
menuHoverId: import("vue").Ref<string>;
|
|
257
261
|
isFocus: import("vue").Ref<boolean>;
|
|
262
|
+
isComposition: import("vue").Ref<boolean>;
|
|
258
263
|
usingItem: import("vue").Ref<SelectedItem>;
|
|
259
264
|
showPopover: import("vue").Ref<boolean>;
|
|
260
265
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
|
@@ -278,7 +283,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
283
|
inputClearForWrapper: () => void;
|
|
279
284
|
deleteInputTextNode: () => void;
|
|
280
285
|
customPanelSubmit: (value: string) => void;
|
|
281
|
-
|
|
286
|
+
refreshMenuHover: () => void;
|
|
282
287
|
t: import("vue").ComputedRef<{
|
|
283
288
|
pleaseSelect: string;
|
|
284
289
|
loading: string;
|
|
@@ -290,6 +295,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
295
|
logical: string;
|
|
291
296
|
}>;
|
|
292
297
|
inputKey: import("vue").Ref<string>;
|
|
298
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
299
|
+
handleCompositionStart: () => void;
|
|
300
|
+
handleInputCopy: (event: ClipboardEvent) => void;
|
|
293
301
|
}, {}, {}, {}, {
|
|
294
302
|
maxHeight: number;
|
|
295
303
|
mode: import("./utils").SearchInputMode;
|
|
@@ -406,7 +414,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
406
414
|
handleWrapClick: () => void;
|
|
407
415
|
handleInputFocus: (v: boolean) => void;
|
|
408
416
|
handleResize: () => void;
|
|
409
|
-
handleClearAll: () => void;
|
|
417
|
+
handleClearAll: (e: MouseEvent) => void;
|
|
410
418
|
handleInputOutside: (target: Node) => boolean;
|
|
411
419
|
handleAddSelected: (item: SelectedItem) => void;
|
|
412
420
|
handleDeleteSelected: (index?: number) => void;
|
|
@@ -424,7 +432,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
424
432
|
and: string;
|
|
425
433
|
logical: string;
|
|
426
434
|
}>;
|
|
427
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], "search" | "update:modelValue" | "selectKey", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
435
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("copy" | "search" | "update:modelValue" | "selectKey")[], "copy" | "search" | "update:modelValue" | "selectKey", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
428
436
|
data: {
|
|
429
437
|
type: PropType<Omit<ISearchItem, "value" | "isSelected">[]>;
|
|
430
438
|
default: () => any[];
|
|
@@ -458,6 +466,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
458
466
|
validator(v: ValueBehavior): boolean;
|
|
459
467
|
};
|
|
460
468
|
}>> & {
|
|
469
|
+
onCopy?: (...args: any[]) => any;
|
|
461
470
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
462
471
|
onSelectKey?: (...args: any[]) => any;
|
|
463
472
|
onSearch?: (...args: any[]) => any;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
--submenu-bg-color: #151d2c;
|
|
100
100
|
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
|
101
101
|
--menu-color: #96a2b9;
|
|
102
|
-
--menu-group-color:
|
|
102
|
+
--menu-group-color: #6E788B;
|
|
103
103
|
--menu-width: 260px;
|
|
104
104
|
--menu-collapse-width: 60px;
|
|
105
105
|
--menu-active-color: white;
|
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
--search-select-menu-border-color: var(--disable-color);
|
|
129
129
|
--select-active-color: #e1ecff;
|
|
130
130
|
--select-hover-color: #f5f7fa;
|
|
131
|
+
--sub-title-bg-color: #f5f6fa;
|
|
131
132
|
}
|
|
132
133
|
@keyframes loading-scale-animate {
|
|
133
134
|
0% {
|
|
@@ -78,6 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
menuList: import("vue").Ref<ISearchItem[]>;
|
|
79
79
|
menuHoverId: import("vue").Ref<string>;
|
|
80
80
|
isFocus: import("vue").Ref<boolean>;
|
|
81
|
+
isComposition: import("vue").Ref<boolean>;
|
|
81
82
|
usingItem: import("vue").Ref<SelectedItem>;
|
|
82
83
|
showPopover: import("vue").Ref<boolean>;
|
|
83
84
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
|
@@ -101,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
102
|
inputClearForWrapper: () => void;
|
|
102
103
|
deleteInputTextNode: () => void;
|
|
103
104
|
customPanelSubmit: (value: string) => void;
|
|
104
|
-
|
|
105
|
+
refreshMenuHover: () => void;
|
|
105
106
|
t: import("vue").ComputedRef<{
|
|
106
107
|
pleaseSelect: string;
|
|
107
108
|
loading: string;
|
|
@@ -113,6 +114,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
114
|
logical: string;
|
|
114
115
|
}>;
|
|
115
116
|
inputKey: import("vue").Ref<string>;
|
|
117
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
118
|
+
handleCompositionStart: () => void;
|
|
119
|
+
handleInputCopy: (event: ClipboardEvent) => void;
|
|
116
120
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
117
121
|
data: {
|
|
118
122
|
type: PropType<ISearchItem[]>;
|
|
@@ -211,6 +215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
211
215
|
menuList: import("vue").Ref<ISearchItem[]>;
|
|
212
216
|
menuHoverId: import("vue").Ref<string>;
|
|
213
217
|
isFocus: import("vue").Ref<boolean>;
|
|
218
|
+
isComposition: import("vue").Ref<boolean>;
|
|
214
219
|
usingItem: import("vue").Ref<SelectedItem>;
|
|
215
220
|
showPopover: import("vue").Ref<boolean>;
|
|
216
221
|
showNoSelectValueError: import("vue").Ref<boolean>;
|
|
@@ -234,7 +239,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
239
|
inputClearForWrapper: () => void;
|
|
235
240
|
deleteInputTextNode: () => void;
|
|
236
241
|
customPanelSubmit: (value: string) => void;
|
|
237
|
-
|
|
242
|
+
refreshMenuHover: () => void;
|
|
238
243
|
t: import("vue").ComputedRef<{
|
|
239
244
|
pleaseSelect: string;
|
|
240
245
|
loading: string;
|
|
@@ -246,6 +251,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
251
|
logical: string;
|
|
247
252
|
}>;
|
|
248
253
|
inputKey: import("vue").Ref<string>;
|
|
254
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
255
|
+
handleCompositionStart: () => void;
|
|
256
|
+
handleInputCopy: (event: ClipboardEvent) => void;
|
|
249
257
|
}, {}, {}, {}, {
|
|
250
258
|
maxHeight: number;
|
|
251
259
|
mode: SearchInputMode;
|
|
@@ -26,6 +26,7 @@ export interface ISearchSelectProvider {
|
|
|
26
26
|
onEditEnter: (item: SelectedItem, index: number) => void;
|
|
27
27
|
onEditBlur: () => void;
|
|
28
28
|
onValidate: (str: string) => void;
|
|
29
|
+
onCopy: (event: ClipboardEvent, text: string, item: ISearchValue) => void;
|
|
29
30
|
editKey: Ref<string>;
|
|
30
31
|
searchData: ComputedRef<ISearchItem[]>;
|
|
31
32
|
isClickOutside: (target: Node) => boolean;
|
package/lib/select/common.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export declare function useRegistry<T>(data: Ref<Map<PropertyKey, T>>): {
|
|
|
11
11
|
register: (key: string, item: T) => Map<PropertyKey, T>;
|
|
12
12
|
unregister: (key: string, item?: T) => void;
|
|
13
13
|
};
|
|
14
|
-
export declare function useDebouncedRef<T>(value: any, delay?: number): Ref<T>;
|
|
15
14
|
export declare function usePopover(config: IPopoverConfig, triggerRef: Ref<HTMLElement>): {
|
|
16
15
|
isPopoverShow: Ref<boolean>;
|
|
17
16
|
popperWidth: Ref<string | number>;
|
package/lib/select/index.d.ts
CHANGED
|
@@ -196,7 +196,9 @@ declare const BkSelect: {
|
|
|
196
196
|
alignmentAxis?: number;
|
|
197
197
|
});
|
|
198
198
|
};
|
|
199
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
199
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
200
|
+
default: string | (() => HTMLElement);
|
|
201
|
+
};
|
|
200
202
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
201
203
|
default: number;
|
|
202
204
|
} & {
|
|
@@ -348,6 +350,10 @@ declare const BkSelect: {
|
|
|
348
350
|
} & {
|
|
349
351
|
default: boolean;
|
|
350
352
|
};
|
|
353
|
+
inputTooltipsOptions: {
|
|
354
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
355
|
+
default: () => {};
|
|
356
|
+
};
|
|
351
357
|
}>> & {
|
|
352
358
|
onFocus?: (...args: any[]) => any;
|
|
353
359
|
onBlur?: (...args: any[]) => any;
|
|
@@ -384,7 +390,7 @@ declare const BkSelect: {
|
|
|
384
390
|
inputRef: import("vue").Ref<HTMLElement>;
|
|
385
391
|
triggerRef: import("vue").Ref<HTMLElement>;
|
|
386
392
|
contentRef: import("vue").Ref<HTMLElement>;
|
|
387
|
-
searchRef: import("vue").Ref<
|
|
393
|
+
searchRef: import("vue").Ref<HTMLInputElement>;
|
|
388
394
|
scrollContainerRef: import("vue").Ref<HTMLElement>;
|
|
389
395
|
selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
390
396
|
selected: {
|
|
@@ -666,7 +672,9 @@ declare const BkSelect: {
|
|
|
666
672
|
alignmentAxis?: number;
|
|
667
673
|
});
|
|
668
674
|
};
|
|
669
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
675
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
676
|
+
default: string | (() => HTMLElement);
|
|
677
|
+
};
|
|
670
678
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
671
679
|
default: number;
|
|
672
680
|
} & {
|
|
@@ -960,7 +968,9 @@ declare const BkSelect: {
|
|
|
960
968
|
alignmentAxis?: number;
|
|
961
969
|
});
|
|
962
970
|
};
|
|
963
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
971
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
972
|
+
default: string | (() => HTMLElement);
|
|
973
|
+
};
|
|
964
974
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
965
975
|
default: number;
|
|
966
976
|
} & {
|
|
@@ -1112,6 +1122,10 @@ declare const BkSelect: {
|
|
|
1112
1122
|
} & {
|
|
1113
1123
|
default: boolean;
|
|
1114
1124
|
};
|
|
1125
|
+
inputTooltipsOptions: {
|
|
1126
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
1127
|
+
default: () => {};
|
|
1128
|
+
};
|
|
1115
1129
|
}>> & {
|
|
1116
1130
|
onFocus?: (...args: any[]) => any;
|
|
1117
1131
|
onBlur?: (...args: any[]) => any;
|
|
@@ -1170,6 +1184,7 @@ declare const BkSelect: {
|
|
|
1170
1184
|
keepSearchValue: boolean;
|
|
1171
1185
|
searchWithPinyin: boolean;
|
|
1172
1186
|
disableScrollToSelectedOption: boolean;
|
|
1187
|
+
inputTooltipsOptions: {};
|
|
1173
1188
|
}, true, {}, {}, {
|
|
1174
1189
|
P: {};
|
|
1175
1190
|
B: {};
|
|
@@ -1371,7 +1386,9 @@ declare const BkSelect: {
|
|
|
1371
1386
|
alignmentAxis?: number;
|
|
1372
1387
|
});
|
|
1373
1388
|
};
|
|
1374
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
1389
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
1390
|
+
default: string | (() => HTMLElement);
|
|
1391
|
+
};
|
|
1375
1392
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
1376
1393
|
default: number;
|
|
1377
1394
|
} & {
|
|
@@ -1523,6 +1540,10 @@ declare const BkSelect: {
|
|
|
1523
1540
|
} & {
|
|
1524
1541
|
default: boolean;
|
|
1525
1542
|
};
|
|
1543
|
+
inputTooltipsOptions: {
|
|
1544
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
1545
|
+
default: () => {};
|
|
1546
|
+
};
|
|
1526
1547
|
}>> & {
|
|
1527
1548
|
onFocus?: (...args: any[]) => any;
|
|
1528
1549
|
onBlur?: (...args: any[]) => any;
|
|
@@ -1559,7 +1580,7 @@ declare const BkSelect: {
|
|
|
1559
1580
|
inputRef: import("vue").Ref<HTMLElement>;
|
|
1560
1581
|
triggerRef: import("vue").Ref<HTMLElement>;
|
|
1561
1582
|
contentRef: import("vue").Ref<HTMLElement>;
|
|
1562
|
-
searchRef: import("vue").Ref<
|
|
1583
|
+
searchRef: import("vue").Ref<HTMLInputElement>;
|
|
1563
1584
|
scrollContainerRef: import("vue").Ref<HTMLElement>;
|
|
1564
1585
|
selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
1565
1586
|
selected: {
|
|
@@ -1841,7 +1862,9 @@ declare const BkSelect: {
|
|
|
1841
1862
|
alignmentAxis?: number;
|
|
1842
1863
|
});
|
|
1843
1864
|
};
|
|
1844
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
1865
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
1866
|
+
default: string | (() => HTMLElement);
|
|
1867
|
+
};
|
|
1845
1868
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
1846
1869
|
default: number;
|
|
1847
1870
|
} & {
|
|
@@ -1987,6 +2010,7 @@ declare const BkSelect: {
|
|
|
1987
2010
|
keepSearchValue: boolean;
|
|
1988
2011
|
searchWithPinyin: boolean;
|
|
1989
2012
|
disableScrollToSelectedOption: boolean;
|
|
2013
|
+
inputTooltipsOptions: {};
|
|
1990
2014
|
}>;
|
|
1991
2015
|
__isFragment?: never;
|
|
1992
2016
|
__isTeleport?: never;
|
|
@@ -2185,7 +2209,9 @@ declare const BkSelect: {
|
|
|
2185
2209
|
alignmentAxis?: number;
|
|
2186
2210
|
});
|
|
2187
2211
|
};
|
|
2188
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
2212
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
2213
|
+
default: string | (() => HTMLElement);
|
|
2214
|
+
};
|
|
2189
2215
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
2190
2216
|
default: number;
|
|
2191
2217
|
} & {
|
|
@@ -2337,6 +2363,10 @@ declare const BkSelect: {
|
|
|
2337
2363
|
} & {
|
|
2338
2364
|
default: boolean;
|
|
2339
2365
|
};
|
|
2366
|
+
inputTooltipsOptions: {
|
|
2367
|
+
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
2368
|
+
default: () => {};
|
|
2369
|
+
};
|
|
2340
2370
|
}>> & {
|
|
2341
2371
|
onFocus?: (...args: any[]) => any;
|
|
2342
2372
|
onBlur?: (...args: any[]) => any;
|
|
@@ -2373,7 +2403,7 @@ declare const BkSelect: {
|
|
|
2373
2403
|
inputRef: import("vue").Ref<HTMLElement>;
|
|
2374
2404
|
triggerRef: import("vue").Ref<HTMLElement>;
|
|
2375
2405
|
contentRef: import("vue").Ref<HTMLElement>;
|
|
2376
|
-
searchRef: import("vue").Ref<
|
|
2406
|
+
searchRef: import("vue").Ref<HTMLInputElement>;
|
|
2377
2407
|
scrollContainerRef: import("vue").Ref<HTMLElement>;
|
|
2378
2408
|
selectTagInputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
2379
2409
|
selected: {
|
|
@@ -2655,7 +2685,9 @@ declare const BkSelect: {
|
|
|
2655
2685
|
alignmentAxis?: number;
|
|
2656
2686
|
});
|
|
2657
2687
|
};
|
|
2658
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
2688
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
2689
|
+
default: string | (() => HTMLElement);
|
|
2690
|
+
};
|
|
2659
2691
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
2660
2692
|
default: number;
|
|
2661
2693
|
} & {
|
|
@@ -2801,6 +2833,7 @@ declare const BkSelect: {
|
|
|
2801
2833
|
keepSearchValue: boolean;
|
|
2802
2834
|
searchWithPinyin: boolean;
|
|
2803
2835
|
disableScrollToSelectedOption: boolean;
|
|
2836
|
+
inputTooltipsOptions: {};
|
|
2804
2837
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
|
2805
2838
|
Option: import("vue").DefineComponent<{
|
|
2806
2839
|
id: {
|
|
@@ -2876,12 +2909,17 @@ declare const BkSelect: {
|
|
|
2876
2909
|
} & {
|
|
2877
2910
|
default: boolean;
|
|
2878
2911
|
};
|
|
2912
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
2913
|
+
default: boolean;
|
|
2914
|
+
} & {
|
|
2915
|
+
default: boolean;
|
|
2916
|
+
};
|
|
2879
2917
|
}, {
|
|
2880
2918
|
groupLabel: import("vue").ComputedRef<string>;
|
|
2919
|
+
isVisible: import("vue").ComputedRef<boolean>;
|
|
2881
2920
|
handleToggleCollapse: () => void;
|
|
2882
2921
|
resolveClassName: (cls: string) => string;
|
|
2883
2922
|
groupCollapse: import("vue").Ref<boolean>;
|
|
2884
|
-
visible: import("vue").Ref<boolean>;
|
|
2885
2923
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2886
2924
|
label: import("vue-types").VueTypeValidableDef<string> & {
|
|
2887
2925
|
default: string;
|
|
@@ -2903,8 +2941,14 @@ declare const BkSelect: {
|
|
|
2903
2941
|
} & {
|
|
2904
2942
|
default: boolean;
|
|
2905
2943
|
};
|
|
2944
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
2945
|
+
default: boolean;
|
|
2946
|
+
} & {
|
|
2947
|
+
default: boolean;
|
|
2948
|
+
};
|
|
2906
2949
|
}>>, {
|
|
2907
2950
|
label: string;
|
|
2951
|
+
visible: boolean;
|
|
2908
2952
|
disabled: boolean;
|
|
2909
2953
|
collapse: boolean;
|
|
2910
2954
|
collapsible: boolean;
|