bkui-vue 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- 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/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +6 -13
package/lib/badge/index.d.ts
CHANGED
@@ -1,159 +1,116 @@
|
|
1
1
|
declare const BkBadge: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
position?: string;
|
11
|
-
count?: string | number;
|
12
|
-
radius?: string;
|
13
|
-
valLength?: number;
|
14
|
-
overflowCount?: number;
|
15
|
-
class?: unknown;
|
16
|
-
style?: unknown;
|
17
|
-
ref?: import("vue").VNodeRef;
|
18
|
-
key?: string | number | symbol;
|
19
|
-
ref_for?: boolean;
|
20
|
-
ref_key?: string;
|
21
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
22
|
-
[key: string]: any;
|
23
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
24
|
-
[key: string]: any;
|
25
|
-
}>) => void)[];
|
26
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
27
|
-
[key: string]: any;
|
28
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
-
[key: string]: any;
|
30
|
-
}>) => void)[];
|
31
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
-
[key: string]: any;
|
33
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
-
[key: string]: any;
|
35
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
-
[key: string]: any;
|
37
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
38
|
-
[key: string]: any;
|
39
|
-
}>) => void)[];
|
40
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
-
[key: string]: any;
|
42
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
-
[key: string]: any;
|
44
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
-
[key: string]: any;
|
46
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
47
|
-
[key: string]: any;
|
48
|
-
}>) => void)[];
|
49
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
-
[key: string]: any;
|
51
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
52
|
-
[key: string]: any;
|
53
|
-
}>) => void)[];
|
54
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
55
|
-
[key: string]: any;
|
56
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
-
[key: string]: any;
|
58
|
-
}>) => void)[];
|
59
|
-
onHover?: (...args: any[]) => any;
|
60
|
-
onLeave?: (...args: any[]) => any;
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
4
|
+
default: string;
|
5
|
+
} & {
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
count: import("vue-types").VueTypeDef<string | number> & {
|
9
|
+
default: string | number;
|
61
10
|
};
|
62
|
-
|
63
|
-
|
11
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
12
|
+
default: string;
|
13
|
+
} & {
|
14
|
+
default: string;
|
64
15
|
};
|
65
|
-
|
66
|
-
|
16
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
20
|
+
default: number;
|
21
|
+
} & {
|
22
|
+
default: number;
|
23
|
+
};
|
24
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
25
|
+
default: number;
|
26
|
+
} & {
|
27
|
+
default: number;
|
67
28
|
};
|
68
|
-
|
69
|
-
|
29
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
30
|
+
default: boolean;
|
31
|
+
} & {
|
32
|
+
default: boolean;
|
33
|
+
};
|
34
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
35
|
+
default: boolean;
|
36
|
+
} & {
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
40
|
+
default: string;
|
41
|
+
};
|
42
|
+
}>> & {
|
43
|
+
onHover?: (...args: any[]) => any;
|
44
|
+
onLeave?: (...args: any[]) => any;
|
45
|
+
}, {
|
46
|
+
numberCount: import("vue").ComputedRef<string | number>;
|
47
|
+
handleHover: () => void;
|
48
|
+
handleLeave: () => void;
|
49
|
+
radiusStyle: import("vue").ComputedRef<{
|
50
|
+
borderRadius: string;
|
70
51
|
}>;
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
};
|
112
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
113
|
-
default: string;
|
114
|
-
};
|
115
|
-
}>> & {
|
116
|
-
onHover?: (...args: any[]) => any;
|
117
|
-
onLeave?: (...args: any[]) => any;
|
118
|
-
}, {
|
119
|
-
numberCount: import("vue").ComputedRef<string | number>;
|
120
|
-
handleHover: () => void;
|
121
|
-
handleLeave: () => void;
|
122
|
-
radiusStyle: import("vue").ComputedRef<{
|
123
|
-
borderRadius: string;
|
124
|
-
}>;
|
125
|
-
resolveClassName: (cls: string) => string;
|
126
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hover" | "leave")[], string, {
|
127
|
-
extCls: string;
|
128
|
-
visible: boolean;
|
129
|
-
theme: string;
|
130
|
-
dot: boolean;
|
131
|
-
position: string;
|
132
|
-
count: string | number;
|
133
|
-
radius: string;
|
134
|
-
valLength: number;
|
135
|
-
overflowCount: number;
|
136
|
-
}, {}, string, {}> & {
|
137
|
-
beforeCreate?: (() => void) | (() => void)[];
|
138
|
-
created?: (() => void) | (() => void)[];
|
139
|
-
beforeMount?: (() => void) | (() => void)[];
|
140
|
-
mounted?: (() => void) | (() => void)[];
|
141
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
142
|
-
updated?: (() => void) | (() => void)[];
|
143
|
-
activated?: (() => void) | (() => void)[];
|
144
|
-
deactivated?: (() => void) | (() => void)[];
|
145
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
146
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
147
|
-
destroyed?: (() => void) | (() => void)[];
|
148
|
-
unmounted?: (() => void) | (() => void)[];
|
149
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
150
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
151
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
52
|
+
resolveClassName: (cls: string) => string;
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hover" | "leave")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
54
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
+
default: string;
|
56
|
+
} & {
|
57
|
+
default: string;
|
58
|
+
};
|
59
|
+
count: import("vue-types").VueTypeDef<string | number> & {
|
60
|
+
default: string | number;
|
61
|
+
};
|
62
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
63
|
+
default: string;
|
64
|
+
} & {
|
65
|
+
default: string;
|
66
|
+
};
|
67
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
68
|
+
default: string;
|
69
|
+
};
|
70
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
71
|
+
default: number;
|
72
|
+
} & {
|
73
|
+
default: number;
|
74
|
+
};
|
75
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
76
|
+
default: number;
|
77
|
+
} & {
|
78
|
+
default: number;
|
79
|
+
};
|
80
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
81
|
+
default: boolean;
|
82
|
+
} & {
|
83
|
+
default: boolean;
|
84
|
+
};
|
85
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
86
|
+
default: boolean;
|
87
|
+
} & {
|
88
|
+
default: boolean;
|
89
|
+
};
|
90
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
91
|
+
default: string;
|
152
92
|
};
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
}
|
93
|
+
}>> & {
|
94
|
+
onHover?: (...args: any[]) => any;
|
95
|
+
onLeave?: (...args: any[]) => any;
|
96
|
+
}, {
|
97
|
+
extCls: string;
|
98
|
+
visible: boolean;
|
99
|
+
theme: string;
|
100
|
+
position: string;
|
101
|
+
dot: boolean;
|
102
|
+
count: string | number;
|
103
|
+
radius: string;
|
104
|
+
valLength: number;
|
105
|
+
overflowCount: number;
|
106
|
+
}, true, {}, {}, {
|
107
|
+
P: {};
|
108
|
+
B: {};
|
109
|
+
D: {};
|
110
|
+
C: {};
|
111
|
+
M: {};
|
112
|
+
Defaults: {};
|
113
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
157
114
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
158
115
|
default: string;
|
159
116
|
} & {
|
@@ -196,7 +153,7 @@ declare const BkBadge: {
|
|
196
153
|
}>> & {
|
197
154
|
onHover?: (...args: any[]) => any;
|
198
155
|
onLeave?: (...args: any[]) => any;
|
199
|
-
}
|
156
|
+
}, {
|
200
157
|
numberCount: import("vue").ComputedRef<string | number>;
|
201
158
|
handleHover: () => void;
|
202
159
|
handleLeave: () => void;
|
@@ -204,7 +161,17 @@ declare const BkBadge: {
|
|
204
161
|
borderRadius: string;
|
205
162
|
}>;
|
206
163
|
resolveClassName: (cls: string) => string;
|
207
|
-
}
|
164
|
+
}, {}, {}, {}, {
|
165
|
+
extCls: string;
|
166
|
+
visible: boolean;
|
167
|
+
theme: string;
|
168
|
+
position: string;
|
169
|
+
dot: boolean;
|
170
|
+
count: string | number;
|
171
|
+
radius: string;
|
172
|
+
valLength: number;
|
173
|
+
overflowCount: number;
|
174
|
+
}>;
|
208
175
|
__isFragment?: never;
|
209
176
|
__isTeleport?: never;
|
210
177
|
__isSuspense?: never;
|
@@ -263,8 +230,8 @@ declare const BkBadge: {
|
|
263
230
|
extCls: string;
|
264
231
|
visible: boolean;
|
265
232
|
theme: string;
|
266
|
-
dot: boolean;
|
267
233
|
position: string;
|
234
|
+
dot: boolean;
|
268
235
|
count: string | number;
|
269
236
|
radius: string;
|
270
237
|
valLength: number;
|
package/lib/badge/index.js
CHANGED
@@ -36,38 +36,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
36
36
|
var y = x => () => x
|
37
37
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
38
38
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
39
|
-
function _typeof(
|
39
|
+
function _typeof(o) {
|
40
40
|
"@babel/helpers - typeof";
|
41
41
|
|
42
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
43
|
-
return typeof
|
44
|
-
} : function (
|
45
|
-
return
|
46
|
-
}, _typeof(
|
42
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
43
|
+
return typeof o;
|
44
|
+
} : function (o) {
|
45
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
46
|
+
}, _typeof(o);
|
47
47
|
}
|
48
48
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
49
49
|
|
50
|
-
function
|
51
|
-
if (
|
52
|
-
var
|
53
|
-
if (
|
54
|
-
var
|
55
|
-
if (
|
50
|
+
function toPrimitive(t, r) {
|
51
|
+
if ("object" != _typeof(t) || !t) return t;
|
52
|
+
var e = t[Symbol.toPrimitive];
|
53
|
+
if (void 0 !== e) {
|
54
|
+
var i = e.call(t, r || "default");
|
55
|
+
if ("object" != _typeof(i)) return i;
|
56
56
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
57
57
|
}
|
58
|
-
return (
|
58
|
+
return ("string" === r ? String : Number)(t);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
61
61
|
|
62
62
|
|
63
|
-
function
|
64
|
-
var
|
65
|
-
return _typeof(
|
63
|
+
function toPropertyKey(t) {
|
64
|
+
var i = toPrimitive(t, "string");
|
65
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
66
66
|
}
|
67
67
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
68
68
|
|
69
69
|
function _defineProperty(obj, key, value) {
|
70
|
-
key =
|
70
|
+
key = toPropertyKey(key);
|
71
71
|
if (key in obj) {
|
72
72
|
Object.defineProperty(obj, key, {
|
73
73
|
value: value,
|
@@ -188,9 +188,9 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
188
188
|
};
|
189
189
|
},
|
190
190
|
render: function render() {
|
191
|
-
var
|
191
|
+
var _this$$slots$default, _this$$slots$default2, _this$$slots, _this$$slots$icon, _this$$slots$icon2, _this$$slots2;
|
192
192
|
var wrapperClasses = (0,shared_namespaceObject.classes)(_defineProperty({}, "".concat(this.resolveClassName('badge-main')), true), this.$props.extCls);
|
193
|
-
var badgeClass = (0,shared_namespaceObject.classes)((
|
193
|
+
var badgeClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('badge'), " ").concat(this.resolveClassName(this.$props.theme)), !!this.$props.theme), 'pinned ', this.$slots["default"]), 'dot', this.$props.dot), "".concat(this.$props.position), this.$slots["default"]), "".concat(this.resolveClassName('badge-icon'), " is-icon"), this.$slots.icon), '');
|
194
194
|
var number = !this.$props.dot ? (0,external_vue_namespaceObject.createVNode)("span", null, [this.numberCount]) : '';
|
195
195
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
196
196
|
"class": wrapperClasses
|
@@ -1,125 +1,65 @@
|
|
1
1
|
import BreadcrumbItem from './breadcrumb-item';
|
2
2
|
declare const BkBreadcrumb: {
|
3
|
-
new (...args: any[]): {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
23
|
-
[key: string]: any;
|
24
|
-
}>) => void)[];
|
25
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
-
[key: string]: any;
|
27
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
28
|
-
[key: string]: any;
|
29
|
-
}>) => void)[];
|
30
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
-
[key: string]: any;
|
32
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
33
|
-
[key: string]: any;
|
34
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
35
|
-
[key: string]: any;
|
36
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
37
|
-
[key: string]: any;
|
38
|
-
}>) => void)[];
|
39
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
|
-
[key: string]: any;
|
41
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
-
[key: string]: any;
|
43
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
|
-
[key: string]: any;
|
45
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
-
[key: string]: any;
|
47
|
-
}>) => void)[];
|
48
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
-
[key: string]: any;
|
50
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
51
|
-
[key: string]: any;
|
52
|
-
}>) => void)[];
|
53
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
-
[key: string]: any;
|
55
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
56
|
-
[key: string]: any;
|
57
|
-
}>) => void)[];
|
58
|
-
};
|
59
|
-
$attrs: {
|
60
|
-
[x: string]: unknown;
|
61
|
-
};
|
62
|
-
$refs: {
|
63
|
-
[x: string]: unknown;
|
64
|
-
};
|
65
|
-
$slots: Readonly<{
|
66
|
-
[name: string]: import("vue").Slot<any>;
|
67
|
-
}>;
|
68
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
69
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
70
|
-
$emit: (event: string, ...args: any[]) => void;
|
71
|
-
$el: any;
|
72
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
73
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
74
|
-
default: string;
|
75
|
-
};
|
76
|
-
separator: import("vue-types").VueTypeValidableDef<string> & {
|
77
|
-
default: string;
|
78
|
-
} & {
|
79
|
-
default: string;
|
80
|
-
};
|
81
|
-
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
82
|
-
default: string;
|
83
|
-
};
|
84
|
-
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
85
|
-
default: boolean;
|
86
|
-
};
|
87
|
-
backRouter: import("vue-types").VueTypeDef<string | {
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
5
|
+
default: string;
|
6
|
+
};
|
7
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
8
|
+
default: string;
|
9
|
+
} & {
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
19
|
+
[key: string]: any;
|
20
|
+
}> & {
|
21
|
+
default: string | (() => {
|
88
22
|
[key: string]: any;
|
89
|
-
}
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
}
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
23
|
+
});
|
24
|
+
};
|
25
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
26
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
27
|
+
default: string;
|
28
|
+
};
|
29
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
30
|
+
default: string;
|
31
|
+
} & {
|
32
|
+
default: string;
|
33
|
+
};
|
34
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
41
|
+
[key: string]: any;
|
42
|
+
}> & {
|
43
|
+
default: string | (() => {
|
100
44
|
[key: string]: any;
|
101
|
-
};
|
102
|
-
}
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
$forceUpdate: () => void;
|
120
|
-
$nextTick: typeof import("vue").nextTick;
|
121
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
122
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
45
|
+
});
|
46
|
+
};
|
47
|
+
}>>, {
|
48
|
+
extCls: string;
|
49
|
+
replace: boolean;
|
50
|
+
separator: string;
|
51
|
+
separatorClass: string;
|
52
|
+
backRouter: string | {
|
53
|
+
[key: string]: any;
|
54
|
+
};
|
55
|
+
}, true, {}, {}, {
|
56
|
+
P: {};
|
57
|
+
B: {};
|
58
|
+
D: {};
|
59
|
+
C: {};
|
60
|
+
M: {};
|
61
|
+
Defaults: {};
|
62
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
123
63
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
124
64
|
default: string;
|
125
65
|
};
|
@@ -141,7 +81,15 @@ declare const BkBreadcrumb: {
|
|
141
81
|
[key: string]: any;
|
142
82
|
});
|
143
83
|
};
|
144
|
-
}
|
84
|
+
}>>, () => JSX.Element, {}, {}, {}, {
|
85
|
+
extCls: string;
|
86
|
+
replace: boolean;
|
87
|
+
separator: string;
|
88
|
+
separatorClass: string;
|
89
|
+
backRouter: string | {
|
90
|
+
[key: string]: any;
|
91
|
+
};
|
92
|
+
}>;
|
145
93
|
__isFragment?: never;
|
146
94
|
__isTeleport?: never;
|
147
95
|
__isSuspense?: never;
|
package/lib/breadcrumb/index.js
CHANGED
@@ -39,38 +39,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
39
39
|
var y = x => () => x
|
40
40
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
41
41
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
42
|
-
function _typeof(
|
42
|
+
function _typeof(o) {
|
43
43
|
"@babel/helpers - typeof";
|
44
44
|
|
45
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
46
|
-
return typeof
|
47
|
-
} : function (
|
48
|
-
return
|
49
|
-
}, _typeof(
|
45
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
46
|
+
return typeof o;
|
47
|
+
} : function (o) {
|
48
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
49
|
+
}, _typeof(o);
|
50
50
|
}
|
51
51
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
52
52
|
|
53
|
-
function
|
54
|
-
if (
|
55
|
-
var
|
56
|
-
if (
|
57
|
-
var
|
58
|
-
if (
|
53
|
+
function toPrimitive(t, r) {
|
54
|
+
if ("object" != _typeof(t) || !t) return t;
|
55
|
+
var e = t[Symbol.toPrimitive];
|
56
|
+
if (void 0 !== e) {
|
57
|
+
var i = e.call(t, r || "default");
|
58
|
+
if ("object" != _typeof(i)) return i;
|
59
59
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
60
60
|
}
|
61
|
-
return (
|
61
|
+
return ("string" === r ? String : Number)(t);
|
62
62
|
}
|
63
63
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
64
64
|
|
65
65
|
|
66
|
-
function
|
67
|
-
var
|
68
|
-
return _typeof(
|
66
|
+
function toPropertyKey(t) {
|
67
|
+
var i = toPrimitive(t, "string");
|
68
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
69
69
|
}
|
70
70
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
71
71
|
|
72
72
|
function _defineProperty(obj, key, value) {
|
73
|
-
key =
|
73
|
+
key = toPropertyKey(key);
|
74
74
|
if (key in obj) {
|
75
75
|
Object.defineProperty(obj, key, {
|
76
76
|
value: value,
|