bkui-vue 2.0.1-beta.106 → 2.0.1-beta.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +71 -71
- package/dist/index.esm.js +18609 -18772
- package/dist/index.umd.js +70 -70
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +17 -17
- package/lib/alert/index.d.ts +126 -73
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/index.d.ts +117 -69
- package/lib/backtop/index.js +10 -11
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +155 -119
- package/lib/button/index.js +20 -19
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +354 -393
- package/lib/cascader/index.js +268 -270
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +175 -143
- package/lib/checkbox/index.js +45 -45
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +438 -381
- package/lib/collapse/index.d.ts +175 -156
- package/lib/collapse/index.js +27 -28
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +165 -144
- package/lib/color-picker/index.js +41 -43
- package/lib/config-provider/index.d.ts +227 -160
- package/lib/config-provider/index.js +22 -25
- package/lib/config-provider/use-global-config.d.ts +0 -1
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +26 -28
- 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 +4 -4
- package/lib/date-picker/index.d.ts +351 -380
- package/lib/date-picker/index.js +79 -80
- 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 +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +269 -299
- package/lib/dialog/index.js +228 -227
- package/lib/directives/index.js +33 -41
- package/lib/divider/index.d.ts +111 -57
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +136 -94
- package/lib/dropdown/index.js +22 -24
- package/lib/exception/index.d.ts +102 -41
- package/lib/exception/index.js +21 -21
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +132 -80
- package/lib/form/index.js +22 -21
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +26 -27
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +233 -232
- package/lib/input/index.d.ts +293 -326
- package/lib/input/index.js +48 -46
- package/lib/link/index.d.ts +122 -73
- package/lib/link/index.js +2 -2
- package/lib/loading/index.d.ts +156 -130
- package/lib/loading/index.js +33 -32
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +116 -55
- package/lib/menu/index.js +25 -26
- package/lib/message/index.js +25 -24
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +185 -171
- package/lib/modal/index.js +19 -19
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +7 -9
- package/lib/notify/index.js +21 -20
- package/lib/overflow-title/index.d.ts +256 -343
- package/lib/overflow-title/index.js +10 -11
- package/lib/pagination/index.d.ts +198 -184
- package/lib/pagination/index.js +56 -49
- package/lib/plugin-popover/index.js +135 -233
- package/lib/pop-confirm/index.d.ts +153 -115
- package/lib/pop-confirm/index.js +4 -5
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +361 -423
- package/lib/popover/index.js +135 -233
- package/lib/popover/popover.d.ts +1 -1
- package/lib/popover/use-popover-init.d.ts +1 -2
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +226 -226
- package/lib/progress/index.d.ts +187 -178
- package/lib/progress/index.js +21 -22
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +140 -91
- package/lib/radio/index.js +48 -46
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +20 -19
- package/lib/resize-layout/index.d.ts +192 -168
- package/lib/resize-layout/index.js +21 -20
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +38 -38
- package/lib/search-select/index.d.ts +901 -684
- package/lib/search-select/index.js +274 -274
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +188 -133
- package/lib/search-select/selected.d.ts +188 -133
- package/lib/select/index.d.ts +1333 -1491
- package/lib/select/index.js +280 -279
- package/lib/select/select.d.ts +169 -132
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +56 -54
- package/lib/sideslider/index.d.ts +201 -197
- package/lib/sideslider/index.js +228 -227
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +225 -226
- package/lib/steps/index.d.ts +149 -110
- package/lib/steps/index.js +231 -230
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +174 -152
- package/lib/switcher/index.js +22 -20
- package/lib/tab/index.d.ts +183 -151
- package/lib/tab/index.js +19 -20
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +362 -457
- package/lib/table/index.js +350 -338
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +150 -104
- package/lib/table-column/index.js +19 -18
- package/lib/tag/index.d.ts +142 -95
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +540 -755
- package/lib/tag-input/index.js +58 -52
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +386 -439
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +206 -191
- package/lib/tree/index.d.ts +308 -350
- package/lib/tree/index.js +74 -71
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +273 -311
- package/lib/upload/index.js +264 -261
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +241 -333
- package/lib/virtual-render/index.js +29 -29
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/progress/index.d.ts
CHANGED
@@ -1,168 +1,194 @@
|
|
1
1
|
declare const BkProgress: {
|
2
|
-
new (...args: any[]):
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
width: import("vue-types").VueTypeValidableDef<number> & {
|
19
|
-
default: number;
|
20
|
-
} & {
|
21
|
-
default: number;
|
22
|
-
};
|
23
|
-
strokeWidth: import("vue-types").VueTypeValidableDef<number> & {
|
24
|
-
default: number;
|
25
|
-
};
|
26
|
-
strokeLinecap: import("vue-types").VueTypeDef<"round" | "butt" | "square"> & {
|
27
|
-
default: "round" | "butt" | "square";
|
28
|
-
};
|
29
|
-
textInside: import("vue-types").VueTypeValidableDef<boolean> & {
|
30
|
-
default: boolean;
|
31
|
-
} & {
|
32
|
-
default: boolean;
|
33
|
-
};
|
34
|
-
showText: import("vue-types").VueTypeValidableDef<boolean> & {
|
35
|
-
default: boolean;
|
36
|
-
} & {
|
37
|
-
default: boolean;
|
38
|
-
};
|
39
|
-
color: import("vue-types").VueTypeValidableDef<string> & {
|
40
|
-
default: string;
|
41
|
-
};
|
42
|
-
bgColor: import("vue-types").VueTypeValidableDef<string> & {
|
43
|
-
default: string;
|
44
|
-
};
|
45
|
-
fixed: import("vue-types").VueTypeValidableDef<number> & {
|
46
|
-
default: number;
|
47
|
-
} & {
|
48
|
-
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
49
|
-
} & {
|
50
|
-
default: number;
|
51
|
-
};
|
52
|
-
format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
53
|
-
default: (...args: any[]) => any;
|
54
|
-
} & {
|
55
|
-
default: (...args: any[]) => any;
|
56
|
-
};
|
57
|
-
titleStyle: import("vue-types").VueTypeValidableDef<{
|
58
|
-
[key: string]: any;
|
59
|
-
}> & {
|
60
|
-
default: () => {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: {
|
6
|
+
type?: "circle" | "line" | "dashboard";
|
7
|
+
width?: number;
|
8
|
+
extCls?: string;
|
9
|
+
theme?: "danger" | "primary" | "success" | "warning";
|
10
|
+
fixed?: number;
|
11
|
+
color?: string;
|
12
|
+
strokeLinecap?: "round" | "butt" | "square";
|
13
|
+
strokeWidth?: number;
|
14
|
+
format?: (...args: any[]) => any;
|
15
|
+
percent?: number;
|
16
|
+
bgColor?: string;
|
17
|
+
titleStyle?: {
|
61
18
|
[key: string]: any;
|
62
19
|
};
|
63
|
-
|
64
|
-
|
20
|
+
showText?: boolean;
|
21
|
+
textInside?: boolean;
|
22
|
+
class?: unknown;
|
23
|
+
style?: unknown;
|
24
|
+
ref?: import("vue").VNodeRef;
|
25
|
+
key?: string | number | symbol;
|
26
|
+
ref_for?: boolean;
|
27
|
+
ref_key?: string;
|
28
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
+
[key: string]: any;
|
30
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
+
[key: string]: any;
|
32
|
+
}>) => void)[];
|
33
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
65
34
|
[key: string]: any;
|
35
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
+
[key: string]: any;
|
37
|
+
}>) => void)[];
|
38
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
+
[key: string]: any;
|
40
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
+
[key: string]: any;
|
42
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void)[];
|
47
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
+
[key: string]: any;
|
49
|
+
}>, oldVNode: 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
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
+
[key: string]: any;
|
55
|
+
}>) => void)[];
|
56
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
+
[key: string]: any;
|
58
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
|
+
[key: string]: any;
|
60
|
+
}>) => void)[];
|
61
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
62
|
+
[key: string]: any;
|
63
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
64
|
+
[key: string]: any;
|
65
|
+
}>) => void)[];
|
66
|
+
readonly size?: "default" | "small" | "large" | "huge";
|
67
|
+
};
|
68
|
+
$attrs: {
|
69
|
+
[x: string]: unknown;
|
70
|
+
};
|
71
|
+
$refs: {
|
72
|
+
[x: string]: unknown;
|
73
|
+
};
|
74
|
+
$slots: Readonly<{
|
75
|
+
[name: string]: import("vue").Slot<any>;
|
76
|
+
}>;
|
77
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
78
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
79
|
+
$emit: (event: string, ...args: any[]) => void;
|
80
|
+
$el: any;
|
81
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
82
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
83
|
+
default: string;
|
66
84
|
};
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
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
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
default: number;
|
120
|
-
} & {
|
121
|
-
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
122
|
-
} & {
|
123
|
-
default: number;
|
124
|
-
};
|
125
|
-
format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
126
|
-
default: (...args: any[]) => any;
|
127
|
-
} & {
|
128
|
-
default: (...args: any[]) => any;
|
129
|
-
};
|
130
|
-
titleStyle: import("vue-types").VueTypeValidableDef<{
|
131
|
-
[key: string]: any;
|
132
|
-
}> & {
|
133
|
-
default: () => {
|
85
|
+
type: import("vue-types").VueTypeDef<"circle" | "line" | "dashboard"> & {
|
86
|
+
default: "circle" | "line" | "dashboard";
|
87
|
+
};
|
88
|
+
percent: import("vue-types").VueTypeValidableDef<number> & {
|
89
|
+
default: number;
|
90
|
+
} & {
|
91
|
+
default: number;
|
92
|
+
};
|
93
|
+
theme: import("vue-types").VueTypeDef<"danger" | "primary" | "success" | "warning"> & {
|
94
|
+
default: "danger" | "primary" | "success" | "warning";
|
95
|
+
};
|
96
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
97
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
98
|
+
default: number;
|
99
|
+
} & {
|
100
|
+
default: number;
|
101
|
+
};
|
102
|
+
strokeWidth: import("vue-types").VueTypeValidableDef<number> & {
|
103
|
+
default: number;
|
104
|
+
};
|
105
|
+
strokeLinecap: import("vue-types").VueTypeDef<"round" | "butt" | "square"> & {
|
106
|
+
default: "round" | "butt" | "square";
|
107
|
+
};
|
108
|
+
textInside: import("vue-types").VueTypeValidableDef<boolean> & {
|
109
|
+
default: boolean;
|
110
|
+
} & {
|
111
|
+
default: boolean;
|
112
|
+
};
|
113
|
+
showText: import("vue-types").VueTypeValidableDef<boolean> & {
|
114
|
+
default: boolean;
|
115
|
+
} & {
|
116
|
+
default: boolean;
|
117
|
+
};
|
118
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
119
|
+
default: string;
|
120
|
+
};
|
121
|
+
bgColor: import("vue-types").VueTypeValidableDef<string> & {
|
122
|
+
default: string;
|
123
|
+
};
|
124
|
+
fixed: import("vue-types").VueTypeValidableDef<number> & {
|
125
|
+
default: number;
|
126
|
+
} & {
|
127
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
128
|
+
} & {
|
129
|
+
default: number;
|
130
|
+
};
|
131
|
+
format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
132
|
+
default: (...args: any[]) => any;
|
133
|
+
} & {
|
134
|
+
default: (...args: any[]) => any;
|
135
|
+
};
|
136
|
+
titleStyle: import("vue-types").VueTypeValidableDef<{
|
134
137
|
[key: string]: any;
|
138
|
+
}> & {
|
139
|
+
default: () => {
|
140
|
+
[key: string]: any;
|
141
|
+
};
|
142
|
+
} & {
|
143
|
+
default: () => {
|
144
|
+
[key: string]: any;
|
145
|
+
};
|
135
146
|
};
|
136
|
-
}
|
137
|
-
|
147
|
+
}>>, {
|
148
|
+
resolveClassName: (cls: string) => string;
|
149
|
+
}, unknown, {}, {
|
150
|
+
validPercent(percent?: number): number;
|
151
|
+
renderProcessInfo(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
152
|
+
[key: string]: any;
|
153
|
+
}>[] | JSX.Element;
|
154
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
155
|
+
type: "circle" | "line" | "dashboard";
|
156
|
+
width: number;
|
157
|
+
extCls: string;
|
158
|
+
theme: "danger" | "primary" | "success" | "warning";
|
159
|
+
fixed: number;
|
160
|
+
color: string;
|
161
|
+
strokeLinecap: "round" | "butt" | "square";
|
162
|
+
strokeWidth: number;
|
163
|
+
format: (...args: any[]) => any;
|
164
|
+
percent: number;
|
165
|
+
bgColor: string;
|
166
|
+
titleStyle: {
|
138
167
|
[key: string]: any;
|
139
168
|
};
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
[
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
M: {};
|
164
|
-
Defaults: {};
|
165
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
169
|
+
showText: boolean;
|
170
|
+
textInside: boolean;
|
171
|
+
}, {}, string, {}> & {
|
172
|
+
beforeCreate?: (() => void) | (() => void)[];
|
173
|
+
created?: (() => void) | (() => void)[];
|
174
|
+
beforeMount?: (() => void) | (() => void)[];
|
175
|
+
mounted?: (() => void) | (() => void)[];
|
176
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
177
|
+
updated?: (() => void) | (() => void)[];
|
178
|
+
activated?: (() => void) | (() => void)[];
|
179
|
+
deactivated?: (() => void) | (() => void)[];
|
180
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
181
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
182
|
+
destroyed?: (() => void) | (() => void)[];
|
183
|
+
unmounted?: (() => void) | (() => void)[];
|
184
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
185
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
186
|
+
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)[];
|
187
|
+
};
|
188
|
+
$forceUpdate: () => void;
|
189
|
+
$nextTick: typeof import("vue").nextTick;
|
190
|
+
$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;
|
191
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
166
192
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
167
193
|
default: string;
|
168
194
|
};
|
@@ -228,31 +254,14 @@ declare const BkProgress: {
|
|
228
254
|
[key: string]: any;
|
229
255
|
};
|
230
256
|
};
|
231
|
-
}
|
257
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
232
258
|
resolveClassName: (cls: string) => string;
|
233
|
-
}
|
259
|
+
}> & {} & {
|
234
260
|
validPercent(percent?: number): number;
|
235
261
|
renderProcessInfo(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
236
262
|
[key: string]: any;
|
237
263
|
}>[] | JSX.Element;
|
238
|
-
}
|
239
|
-
type: "circle" | "line" | "dashboard";
|
240
|
-
width: number;
|
241
|
-
extCls: string;
|
242
|
-
theme: "danger" | "primary" | "success" | "warning";
|
243
|
-
fixed: number;
|
244
|
-
color: string;
|
245
|
-
format: (...args: any[]) => any;
|
246
|
-
percent: number;
|
247
|
-
strokeWidth: number;
|
248
|
-
strokeLinecap: "round" | "butt" | "square";
|
249
|
-
bgColor: string;
|
250
|
-
titleStyle: {
|
251
|
-
[key: string]: any;
|
252
|
-
};
|
253
|
-
showText: boolean;
|
254
|
-
textInside: boolean;
|
255
|
-
}>;
|
264
|
+
} & import("vue").ComponentCustomProperties & {};
|
256
265
|
__isFragment?: never;
|
257
266
|
__isTeleport?: never;
|
258
267
|
__isSuspense?: never;
|
@@ -336,10 +345,10 @@ declare const BkProgress: {
|
|
336
345
|
theme: "danger" | "primary" | "success" | "warning";
|
337
346
|
fixed: number;
|
338
347
|
color: string;
|
348
|
+
strokeLinecap: "round" | "butt" | "square";
|
349
|
+
strokeWidth: number;
|
339
350
|
format: (...args: any[]) => any;
|
340
351
|
percent: number;
|
341
|
-
strokeWidth: number;
|
342
|
-
strokeLinecap: "round" | "butt" | "square";
|
343
352
|
bgColor: string;
|
344
353
|
titleStyle: {
|
345
354
|
[key: string]: any;
|
package/lib/progress/index.js
CHANGED
@@ -37,38 +37,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
37
37
|
var y = x => () => x
|
38
38
|
const shared_namespaceObject = x({ ["ProgressStrokeLineCapType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.ProgressStrokeLineCapType, ["ProgressType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.ProgressType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["ThemeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.ThemeEnum, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
39
39
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
40
|
-
function _typeof(
|
40
|
+
function _typeof(obj) {
|
41
41
|
"@babel/helpers - typeof";
|
42
42
|
|
43
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
44
|
-
return typeof
|
45
|
-
} : function (
|
46
|
-
return
|
47
|
-
}, _typeof(
|
43
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
44
|
+
return typeof obj;
|
45
|
+
} : function (obj) {
|
46
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
47
|
+
}, _typeof(obj);
|
48
48
|
}
|
49
49
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
50
50
|
|
51
|
-
function
|
52
|
-
if ("object"
|
53
|
-
var
|
54
|
-
if (
|
55
|
-
var
|
56
|
-
if ("object"
|
51
|
+
function _toPrimitive(input, hint) {
|
52
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
53
|
+
var prim = input[Symbol.toPrimitive];
|
54
|
+
if (prim !== undefined) {
|
55
|
+
var res = prim.call(input, hint || "default");
|
56
|
+
if (_typeof(res) !== "object") return res;
|
57
57
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
58
58
|
}
|
59
|
-
return ("string"
|
59
|
+
return (hint === "string" ? String : Number)(input);
|
60
60
|
}
|
61
61
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
62
62
|
|
63
63
|
|
64
|
-
function
|
65
|
-
var
|
66
|
-
return "symbol"
|
64
|
+
function _toPropertyKey(arg) {
|
65
|
+
var key = _toPrimitive(arg, "string");
|
66
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
67
67
|
}
|
68
68
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
69
|
|
70
70
|
function _defineProperty(obj, key, value) {
|
71
|
-
key =
|
71
|
+
key = _toPropertyKey(key);
|
72
72
|
if (key in obj) {
|
73
73
|
Object.defineProperty(obj, key, {
|
74
74
|
value: value,
|
@@ -84,7 +84,7 @@ function _defineProperty(obj, key, value) {
|
|
84
84
|
;// CONCATENATED MODULE: external "vue"
|
85
85
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
86
86
|
var external_vue_y = x => () => x
|
87
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["
|
87
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode });
|
88
88
|
;// CONCATENATED MODULE: external "../config-provider"
|
89
89
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
90
90
|
var config_provider_y = x => () => x
|
@@ -273,9 +273,6 @@ var Line = function Line(_, _ref) {
|
|
273
273
|
/* harmony default export */ const line = (Line);
|
274
274
|
;// CONCATENATED MODULE: ../../packages/progress/src/progress.tsx
|
275
275
|
|
276
|
-
|
277
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
278
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
279
276
|
/*
|
280
277
|
* Tencent is pleased to support the open source community by making
|
281
278
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -302,6 +299,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
302
299
|
* IN THE SOFTWARE.
|
303
300
|
*/
|
304
301
|
|
302
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
303
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
305
304
|
|
306
305
|
|
307
306
|
|
@@ -333,7 +332,7 @@ var progressType = {
|
|
333
332
|
verticalAlign: 'middle'
|
334
333
|
})
|
335
334
|
};
|
336
|
-
/* harmony default export */ const progress = (
|
335
|
+
/* harmony default export */ const progress = (defineComponent({
|
337
336
|
name: 'Progress',
|
338
337
|
props: progressType,
|
339
338
|
setup: function setup() {
|
@@ -215,10 +215,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
215
215
|
theme: "danger" | "primary" | "success" | "warning";
|
216
216
|
fixed: number;
|
217
217
|
color: string;
|
218
|
+
strokeLinecap: "round" | "butt" | "square";
|
219
|
+
strokeWidth: number;
|
218
220
|
format: (...args: any[]) => any;
|
219
221
|
percent: number;
|
220
|
-
strokeWidth: number;
|
221
|
-
strokeLinecap: "round" | "butt" | "square";
|
222
222
|
bgColor: string;
|
223
223
|
titleStyle: {
|
224
224
|
[key: string]: any;
|