bkui-vue 2.0.2-beta.9 → 2.0.2-beta.91
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 +24632 -18447
- 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 +2 -2
- package/lib/alert/alert.variable.css +2 -1
- package/lib/alert/index.js +16 -5
- package/lib/animate-number/index.js +2 -2
- package/lib/backtop/backtop.variable.css +2 -1
- package/lib/backtop/index.js +2 -2
- package/lib/badge/badge.variable.css +2 -1
- package/lib/badge/index.js +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -1
- package/lib/breadcrumb/index.js +3 -3
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.variable.css +2 -1
- package/lib/button/index.js +3 -3
- package/lib/card/card.variable.css +2 -1
- package/lib/card/index.js +2 -2
- package/lib/cascader/cascader.css +52 -25
- package/lib/cascader/cascader.d.ts +309 -0
- package/lib/cascader/cascader.less +109 -75
- package/lib/cascader/cascader.variable.css +54 -26
- package/lib/cascader/index.d.ts +618 -0
- package/lib/cascader/index.js +147 -65
- package/lib/checkbox/checkbox.variable.css +2 -1
- package/lib/checkbox/index.js +5 -5
- package/lib/code-diff/code-diff.variable.css +2 -1
- package/lib/code-diff/index.js +2 -2
- package/lib/collapse/collapse.variable.css +2 -1
- package/lib/collapse/index.js +3 -3
- package/lib/collapse-transition/collapse-transition.variable.css +2 -1
- package/lib/collapse-transition/index.js +2 -2
- package/lib/color-picker/color-picker.variable.css +2 -1
- package/lib/color-picker/index.js +64 -55
- 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 +6 -6
- package/lib/container/container.variable.css +2 -1
- package/lib/container/index.js +5 -5
- 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 +79 -76
- 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 +13 -36
- package/lib/directives/index.js +8 -9
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.variable.css +2 -1
- package/lib/divider/index.js +3 -3
- 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 +15 -10
- package/lib/exception/exception.variable.css +2 -1
- package/lib/exception/index.js +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +19 -0
- package/lib/form/form.css +17 -4
- package/lib/form/form.less +25 -6
- package/lib/form/form.variable.css +19 -5
- package/lib/form/index.d.ts +13 -0
- package/lib/form/index.js +43 -50
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.variable.css +2 -1
- package/lib/image/image.variable.css +2 -1
- package/lib/image/index.js +11 -12
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +22 -7
- 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 +45 -20
- package/lib/input/index.js +57 -29
- package/lib/input/input.css +6 -0
- package/lib/input/input.d.ts +35 -17
- package/lib/input/input.less +7 -0
- package/lib/input/input.variable.css +8 -1
- package/lib/link/index.js +2 -2
- package/lib/link/link.variable.css +2 -1
- package/lib/loading/index.js +15 -7
- package/lib/loading/loading.variable.css +2 -1
- package/lib/locale/index.d.ts +1 -0
- package/lib/locale/index.js +172 -4
- package/lib/locale/lang/ja-jp.d.ts +3 -0
- package/lib/menu/index.js +12 -9
- 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 +62 -28
- package/lib/message/message.variable.css +2 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.js +19 -8
- package/lib/modal/modal.css +20 -1
- package/lib/modal/modal.variable.css +22 -2
- package/lib/navigation/index.js +3 -3
- 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 +43 -24
- 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 +3 -3
- package/lib/overflow-title/props.d.ts +3 -1
- package/lib/pagination/index.js +22 -14
- 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 +10 -6
- 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 +281 -76
- 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 +2 -2
- package/lib/preset.js +1 -1
- package/lib/process/index.js +2 -2
- package/lib/process/process.d.ts +1 -1
- package/lib/process/process.variable.css +2 -1
- package/lib/progress/index.js +4 -4
- package/lib/progress/progress.variable.css +2 -1
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +2 -1
- package/lib/rate/index.js +3 -3
- package/lib/rate/rate.variable.css +2 -1
- package/lib/resize-layout/index.js +2 -2
- 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 +6 -6
- package/lib/search-select/index.d.ts +43 -15
- package/lib/search-select/index.js +88 -37
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/search-select.d.ts +14 -5
- 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 +58 -14
- package/lib/select/index.js +67 -71
- package/lib/select/optionGroup.d.ts +12 -1
- package/lib/select/select.d.ts +21 -5
- 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 +10 -10
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.d.ts +129 -2
- package/lib/sideslider/index.js +149 -11
- package/lib/sideslider/sideslider.css +62 -0
- package/lib/sideslider/sideslider.d.ts +59 -1
- package/lib/sideslider/sideslider.less +83 -0
- package/lib/sideslider/sideslider.variable.css +64 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +5 -4
- 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 +13 -14
- 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 +2 -2
- package/lib/swiper/swiper.variable.css +2 -1
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.variable.css +2 -1
- package/lib/tab/index.d.ts +12 -0
- package/lib/tab/index.js +22 -17
- 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 +35 -36
- 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 +1 -1
- package/lib/tag/index.d.ts +23 -0
- package/lib/tag/index.js +10 -5
- package/lib/tag/tag.d.ts +11 -0
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/index.d.ts +82 -9
- package/lib/tag-input/index.js +1639 -54
- package/lib/tag-input/tag-input.css +31 -0
- package/lib/tag-input/tag-input.d.ts +36 -4
- 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 +1 -1
- package/lib/time-picker/time-picker.variable.css +2 -1
- package/lib/timeline/index.d.ts +7 -7
- package/lib/timeline/index.js +1375 -9
- package/lib/timeline/timeline.d.ts +5 -5
- package/lib/timeline/timeline.variable.css +2 -1
- package/lib/transfer/index.d.ts +1 -24
- package/lib/transfer/index.js +21 -11
- 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 +67 -11
- package/lib/tree/index.js +17694 -103
- package/lib/tree/props.d.ts +37 -3
- package/lib/tree/tree.css +34 -0
- package/lib/tree/tree.d.ts +31 -5
- package/lib/tree/tree.less +41 -2
- package/lib/tree/tree.variable.css +36 -1
- package/lib/tree/use-array-move.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +3 -1
- package/lib/tree/use-node-attribute.d.ts +3 -0
- package/lib/upload/index.js +8 -8
- package/lib/upload/upload.variable.css +2 -1
- package/lib/virtual-render/index.js +11 -7
- 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
package/lib/tag-input/index.d.ts
CHANGED
|
@@ -225,7 +225,9 @@ declare const TagInput: {
|
|
|
225
225
|
alignmentAxis?: number;
|
|
226
226
|
});
|
|
227
227
|
};
|
|
228
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
228
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
229
|
+
default: string | (() => HTMLElement);
|
|
230
|
+
};
|
|
229
231
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
230
232
|
default: number;
|
|
231
233
|
} & {
|
|
@@ -301,6 +303,16 @@ declare const TagInput: {
|
|
|
301
303
|
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
302
304
|
default: () => {};
|
|
303
305
|
};
|
|
306
|
+
copyable: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
307
|
+
default: boolean;
|
|
308
|
+
} & {
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
311
|
+
copySeparator: import("vue-types").VueTypeValidableDef<string> & {
|
|
312
|
+
default: string;
|
|
313
|
+
} & {
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
304
316
|
}>> & {
|
|
305
317
|
onFocus?: (...args: any[]) => any;
|
|
306
318
|
onBlur?: (...args: any[]) => any;
|
|
@@ -310,9 +322,11 @@ declare const TagInput: {
|
|
|
310
322
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
311
323
|
onRemove?: (...args: any[]) => any;
|
|
312
324
|
onRemoveAll?: (...args: any[]) => any;
|
|
325
|
+
"onCopy-success"?: (...args: any[]) => any;
|
|
313
326
|
}, {
|
|
314
327
|
isShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
315
328
|
isShowClear: import("vue").ComputedRef<boolean>;
|
|
329
|
+
isShowCopy: import("vue").ComputedRef<boolean>;
|
|
316
330
|
placeholderText: import("vue").ComputedRef<string>;
|
|
317
331
|
curInputValue: import("vue").Ref<string>;
|
|
318
332
|
renderList: import("vue").ComputedRef<any[]>;
|
|
@@ -336,15 +350,19 @@ declare const TagInput: {
|
|
|
336
350
|
[x: string]: boolean;
|
|
337
351
|
};
|
|
338
352
|
handleInput: (e?: Event) => void;
|
|
353
|
+
handleCompositionEnd: () => void;
|
|
339
354
|
handleFocus: () => void;
|
|
340
355
|
handleBlur: () => void;
|
|
341
356
|
handleTagSelected: (item: any, type: string, e?: Event) => void;
|
|
342
|
-
handleTagRemove: (data: any,
|
|
357
|
+
handleTagRemove: (data: any, e?: MouseEvent) => void;
|
|
343
358
|
handleClear: (e: MouseEvent) => void;
|
|
344
359
|
tagFocus: (e: MouseEvent) => void;
|
|
345
360
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
346
361
|
handlePaste: (e: ClipboardEvent) => void;
|
|
347
362
|
resolveClassName: (cls: string) => string;
|
|
363
|
+
handleTagDblclick: (isDblclick: any) => void;
|
|
364
|
+
handleTagDblclickChange: (item: any, index: any, value: any) => void;
|
|
365
|
+
handleCopy: (e: MouseEvent) => void;
|
|
348
366
|
curPage: import("vue").Ref<number>;
|
|
349
367
|
totalSize: import("vue").Ref<number>;
|
|
350
368
|
totalPage: import("vue").Ref<number>;
|
|
@@ -367,7 +385,7 @@ declare const TagInput: {
|
|
|
367
385
|
crossAxis: number;
|
|
368
386
|
};
|
|
369
387
|
};
|
|
370
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "select" | "update:modelValue" | "remove" | "removeAll")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
388
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "select" | "update:modelValue" | "remove" | "removeAll" | "copy-success")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
371
389
|
modelValue: import("vue-types").VueTypeDef<string[]> & {
|
|
372
390
|
default: () => string[];
|
|
373
391
|
};
|
|
@@ -592,7 +610,9 @@ declare const TagInput: {
|
|
|
592
610
|
alignmentAxis?: number;
|
|
593
611
|
});
|
|
594
612
|
};
|
|
595
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
613
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
614
|
+
default: string | (() => HTMLElement);
|
|
615
|
+
};
|
|
596
616
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
597
617
|
default: number;
|
|
598
618
|
} & {
|
|
@@ -668,6 +688,16 @@ declare const TagInput: {
|
|
|
668
688
|
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
669
689
|
default: () => {};
|
|
670
690
|
};
|
|
691
|
+
copyable: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
692
|
+
default: boolean;
|
|
693
|
+
} & {
|
|
694
|
+
default: boolean;
|
|
695
|
+
};
|
|
696
|
+
copySeparator: import("vue-types").VueTypeValidableDef<string> & {
|
|
697
|
+
default: string;
|
|
698
|
+
} & {
|
|
699
|
+
default: string;
|
|
700
|
+
};
|
|
671
701
|
}>> & {
|
|
672
702
|
onFocus?: (...args: any[]) => any;
|
|
673
703
|
onBlur?: (...args: any[]) => any;
|
|
@@ -677,6 +707,7 @@ declare const TagInput: {
|
|
|
677
707
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
678
708
|
onRemove?: (...args: any[]) => any;
|
|
679
709
|
onRemoveAll?: (...args: any[]) => any;
|
|
710
|
+
"onCopy-success"?: (...args: any[]) => any;
|
|
680
711
|
}, {
|
|
681
712
|
disabled: boolean;
|
|
682
713
|
trigger: "focus" | "search";
|
|
@@ -708,6 +739,8 @@ declare const TagInput: {
|
|
|
708
739
|
leftSpace: number;
|
|
709
740
|
popoverProps: {};
|
|
710
741
|
tagOverflowTips: {};
|
|
742
|
+
copyable: boolean;
|
|
743
|
+
copySeparator: string;
|
|
711
744
|
}, true, {}, {}, {
|
|
712
745
|
P: {};
|
|
713
746
|
B: {};
|
|
@@ -940,7 +973,9 @@ declare const TagInput: {
|
|
|
940
973
|
alignmentAxis?: number;
|
|
941
974
|
});
|
|
942
975
|
};
|
|
943
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
976
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
977
|
+
default: string | (() => HTMLElement);
|
|
978
|
+
};
|
|
944
979
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
945
980
|
default: number;
|
|
946
981
|
} & {
|
|
@@ -1016,6 +1051,16 @@ declare const TagInput: {
|
|
|
1016
1051
|
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
1017
1052
|
default: () => {};
|
|
1018
1053
|
};
|
|
1054
|
+
copyable: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
1055
|
+
default: boolean;
|
|
1056
|
+
} & {
|
|
1057
|
+
default: boolean;
|
|
1058
|
+
};
|
|
1059
|
+
copySeparator: import("vue-types").VueTypeValidableDef<string> & {
|
|
1060
|
+
default: string;
|
|
1061
|
+
} & {
|
|
1062
|
+
default: string;
|
|
1063
|
+
};
|
|
1019
1064
|
}>> & {
|
|
1020
1065
|
onFocus?: (...args: any[]) => any;
|
|
1021
1066
|
onBlur?: (...args: any[]) => any;
|
|
@@ -1025,9 +1070,11 @@ declare const TagInput: {
|
|
|
1025
1070
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
1026
1071
|
onRemove?: (...args: any[]) => any;
|
|
1027
1072
|
onRemoveAll?: (...args: any[]) => any;
|
|
1073
|
+
"onCopy-success"?: (...args: any[]) => any;
|
|
1028
1074
|
}, {
|
|
1029
1075
|
isShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
1030
1076
|
isShowClear: import("vue").ComputedRef<boolean>;
|
|
1077
|
+
isShowCopy: import("vue").ComputedRef<boolean>;
|
|
1031
1078
|
placeholderText: import("vue").ComputedRef<string>;
|
|
1032
1079
|
curInputValue: import("vue").Ref<string>;
|
|
1033
1080
|
renderList: import("vue").ComputedRef<any[]>;
|
|
@@ -1051,15 +1098,19 @@ declare const TagInput: {
|
|
|
1051
1098
|
[x: string]: boolean;
|
|
1052
1099
|
};
|
|
1053
1100
|
handleInput: (e?: Event) => void;
|
|
1101
|
+
handleCompositionEnd: () => void;
|
|
1054
1102
|
handleFocus: () => void;
|
|
1055
1103
|
handleBlur: () => void;
|
|
1056
1104
|
handleTagSelected: (item: any, type: string, e?: Event) => void;
|
|
1057
|
-
handleTagRemove: (data: any,
|
|
1105
|
+
handleTagRemove: (data: any, e?: MouseEvent) => void;
|
|
1058
1106
|
handleClear: (e: MouseEvent) => void;
|
|
1059
1107
|
tagFocus: (e: MouseEvent) => void;
|
|
1060
1108
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
1061
1109
|
handlePaste: (e: ClipboardEvent) => void;
|
|
1062
1110
|
resolveClassName: (cls: string) => string;
|
|
1111
|
+
handleTagDblclick: (isDblclick: any) => void;
|
|
1112
|
+
handleTagDblclickChange: (item: any, index: any, value: any) => void;
|
|
1113
|
+
handleCopy: (e: MouseEvent) => void;
|
|
1063
1114
|
curPage: import("vue").Ref<number>;
|
|
1064
1115
|
totalSize: import("vue").Ref<number>;
|
|
1065
1116
|
totalPage: import("vue").Ref<number>;
|
|
@@ -1113,6 +1164,8 @@ declare const TagInput: {
|
|
|
1113
1164
|
leftSpace: number;
|
|
1114
1165
|
popoverProps: {};
|
|
1115
1166
|
tagOverflowTips: {};
|
|
1167
|
+
copyable: boolean;
|
|
1168
|
+
copySeparator: string;
|
|
1116
1169
|
}>;
|
|
1117
1170
|
__isFragment?: never;
|
|
1118
1171
|
__isTeleport?: never;
|
|
@@ -1342,7 +1395,9 @@ declare const TagInput: {
|
|
|
1342
1395
|
alignmentAxis?: number;
|
|
1343
1396
|
});
|
|
1344
1397
|
};
|
|
1345
|
-
boundary: import("vue-types").VueTypeDef<string | HTMLElement
|
|
1398
|
+
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
|
1399
|
+
default: string | (() => HTMLElement);
|
|
1400
|
+
};
|
|
1346
1401
|
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
|
1347
1402
|
default: number;
|
|
1348
1403
|
} & {
|
|
@@ -1418,6 +1473,16 @@ declare const TagInput: {
|
|
|
1418
1473
|
type: import("vue").PropType<Partial<import("../../bkui-vue").IOptions>>;
|
|
1419
1474
|
default: () => {};
|
|
1420
1475
|
};
|
|
1476
|
+
copyable: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
1477
|
+
default: boolean;
|
|
1478
|
+
} & {
|
|
1479
|
+
default: boolean;
|
|
1480
|
+
};
|
|
1481
|
+
copySeparator: import("vue-types").VueTypeValidableDef<string> & {
|
|
1482
|
+
default: string;
|
|
1483
|
+
} & {
|
|
1484
|
+
default: string;
|
|
1485
|
+
};
|
|
1421
1486
|
}>> & {
|
|
1422
1487
|
onFocus?: (...args: any[]) => any;
|
|
1423
1488
|
onBlur?: (...args: any[]) => any;
|
|
@@ -1427,9 +1492,11 @@ declare const TagInput: {
|
|
|
1427
1492
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
1428
1493
|
onRemove?: (...args: any[]) => any;
|
|
1429
1494
|
onRemoveAll?: (...args: any[]) => any;
|
|
1495
|
+
"onCopy-success"?: (...args: any[]) => any;
|
|
1430
1496
|
}, {
|
|
1431
1497
|
isShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
1432
1498
|
isShowClear: import("vue").ComputedRef<boolean>;
|
|
1499
|
+
isShowCopy: import("vue").ComputedRef<boolean>;
|
|
1433
1500
|
placeholderText: import("vue").ComputedRef<string>;
|
|
1434
1501
|
curInputValue: import("vue").Ref<string>;
|
|
1435
1502
|
renderList: import("vue").ComputedRef<any[]>;
|
|
@@ -1453,15 +1520,19 @@ declare const TagInput: {
|
|
|
1453
1520
|
[x: string]: boolean;
|
|
1454
1521
|
};
|
|
1455
1522
|
handleInput: (e?: Event) => void;
|
|
1523
|
+
handleCompositionEnd: () => void;
|
|
1456
1524
|
handleFocus: () => void;
|
|
1457
1525
|
handleBlur: () => void;
|
|
1458
1526
|
handleTagSelected: (item: any, type: string, e?: Event) => void;
|
|
1459
|
-
handleTagRemove: (data: any,
|
|
1527
|
+
handleTagRemove: (data: any, e?: MouseEvent) => void;
|
|
1460
1528
|
handleClear: (e: MouseEvent) => void;
|
|
1461
1529
|
tagFocus: (e: MouseEvent) => void;
|
|
1462
1530
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
1463
1531
|
handlePaste: (e: ClipboardEvent) => void;
|
|
1464
1532
|
resolveClassName: (cls: string) => string;
|
|
1533
|
+
handleTagDblclick: (isDblclick: any) => void;
|
|
1534
|
+
handleTagDblclickChange: (item: any, index: any, value: any) => void;
|
|
1535
|
+
handleCopy: (e: MouseEvent) => void;
|
|
1465
1536
|
curPage: import("vue").Ref<number>;
|
|
1466
1537
|
totalSize: import("vue").Ref<number>;
|
|
1467
1538
|
totalPage: import("vue").Ref<number>;
|
|
@@ -1484,7 +1555,7 @@ declare const TagInput: {
|
|
|
1484
1555
|
crossAxis: number;
|
|
1485
1556
|
};
|
|
1486
1557
|
};
|
|
1487
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "select" | "update:modelValue" | "remove" | "removeAll")[], "blur" | "change" | "focus" | "input" | "select" | "update:modelValue" | "remove" | "removeAll", {
|
|
1558
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "select" | "update:modelValue" | "remove" | "removeAll" | "copy-success")[], "blur" | "change" | "focus" | "input" | "select" | "update:modelValue" | "remove" | "removeAll" | "copy-success", {
|
|
1488
1559
|
disabled: boolean;
|
|
1489
1560
|
trigger: "focus" | "search";
|
|
1490
1561
|
separator: string;
|
|
@@ -1515,6 +1586,8 @@ declare const TagInput: {
|
|
|
1515
1586
|
leftSpace: number;
|
|
1516
1587
|
popoverProps: {};
|
|
1517
1588
|
tagOverflowTips: {};
|
|
1589
|
+
copyable: boolean;
|
|
1590
|
+
copySeparator: string;
|
|
1518
1591
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
|
1519
1592
|
export default TagInput;
|
|
1520
1593
|
export { useTagsOverflow, TagInput };
|