bkui-vue 0.0.1-beta.128 → 0.0.1-beta.130
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 +145 -31
- package/dist/index.esm.js +3611 -509
- package/dist/index.umd.js +145 -31
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +2 -2
- package/lib/affix/index.d.ts +118 -22
- package/lib/alert/alert.variable.css +2 -2
- package/lib/alert/index.d.ts +146 -28
- package/lib/animate-number/index.d.ts +84 -14
- package/lib/backtop/backtop.variable.css +2 -2
- package/lib/backtop/index.d.ts +135 -29
- package/lib/badge/badge.variable.css +2 -2
- package/lib/badge/index.d.ts +211 -46
- package/lib/breadcrumb/breadcrumb.css +43 -0
- package/lib/breadcrumb/breadcrumb.variable.css +45 -2
- package/lib/button/button.css +4 -0
- package/lib/button/button.less +12 -6
- package/lib/button/button.variable.css +6 -2
- package/lib/card/card.css +43 -0
- package/lib/card/card.variable.css +45 -2
- package/lib/card/index.d.ts +223 -50
- package/lib/cascader/cascader.variable.css +2 -2
- package/lib/checkbox/checkbox.css +4 -2
- package/lib/checkbox/checkbox.less +4 -2
- package/lib/checkbox/checkbox.variable.css +6 -4
- package/lib/code-diff/code-diff.variable.css +2 -2
- package/lib/code-diff/index.d.ts +123 -23
- package/lib/collapse/collapse.variable.css +2 -2
- package/lib/collapse/index.d.ts +147 -28
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -1
- package/lib/container/container.css +43 -0
- package/lib/container/container.variable.css +45 -2
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/date-picker/index.d.ts +566 -124
- package/lib/dialog/index.d.ts +557 -140
- package/lib/divider/divider.variable.css +2 -2
- package/lib/divider/index.d.ts +117 -23
- package/lib/dropdown/dropdown.variable.css +2 -2
- package/lib/exception/exception.variable.css +2 -2
- package/lib/exception/index.d.ts +83 -13
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
- package/lib/fixed-navbar/index.d.ts +121 -22
- package/lib/form/form.variable.css +2 -2
- package/lib/input/index.d.ts +408 -92
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +56 -5
- package/lib/input/input.less +12 -2
- package/lib/input/input.variable.css +55 -4
- package/lib/link/index.d.ts +134 -28
- package/lib/link/link.variable.css +2 -2
- package/lib/loading/loading.css +43 -2
- package/lib/loading/loading.less +2 -2
- package/lib/loading/loading.variable.css +45 -4
- package/lib/menu/menu.css +43 -0
- package/lib/menu/menu.variable.css +45 -2
- package/lib/menu/submenu.variable.css +2 -2
- package/lib/message/message.variable.css +2 -2
- package/lib/navigation/index.d.ts +244 -51
- package/lib/navigation/navigation.variable.css +2 -2
- package/lib/notify/notify.variable.css +2 -2
- package/lib/pagination/index.d.ts +305 -68
- package/lib/pagination/pagination.variable.css +2 -2
- package/lib/popover/index.d.ts +298 -76
- package/lib/popover/popover.variable.css +2 -2
- package/lib/popover2/index.d.ts +378 -92
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/popover2.variable.css +2 -2
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/process/index.d.ts +166 -35
- package/lib/process/process.variable.css +2 -2
- package/lib/progress/index.d.ts +306 -76
- package/lib/progress/progress.css +43 -0
- package/lib/progress/progress.variable.css +45 -2
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +3 -4
- package/lib/radio/radio.css +4 -5
- package/lib/radio/radio.less +4 -5
- package/lib/radio/radio.variable.css +6 -7
- package/lib/rate/index.d.ts +96 -15
- package/lib/resize-layout/index.d.ts +261 -52
- package/lib/resize-layout/resize-layout.variable.css +2 -2
- package/lib/select/select.css +26 -24
- package/lib/select/select.less +132 -122
- package/lib/select/select.variable.css +28 -26
- package/lib/shared/index.d.ts +3 -3
- package/lib/sideslider/index.d.ts +369 -91
- package/lib/sideslider/sideslider.variable.css +2 -2
- package/lib/slider/index.d.ts +319 -78
- package/lib/slider/slider.variable.css +2 -2
- package/lib/steps/index.d.ts +198 -43
- package/lib/steps/steps.variable.css +2 -2
- package/lib/styles/mixins/mixins.css +43 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +43 -0
- package/lib/styles/mixins/scroll.variable.css +2 -2
- package/lib/styles/themes/themes.less +2 -2
- package/lib/swiper/index.d.ts +146 -30
- package/lib/switcher/index.d.ts +223 -50
- package/lib/switcher/switcher.css +43 -0
- package/lib/switcher/switcher.variable.css +45 -2
- package/lib/tab/tab.variable.css +2 -2
- package/lib/table/const.d.ts +14 -0
- package/lib/table/index.d.ts +419 -101
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.variable.css +2 -2
- package/lib/table/plugins/head-sort.variable.css +2 -2
- package/lib/table/plugins/settings.css +25 -6
- package/lib/table/plugins/settings.less +27 -6
- package/lib/table/plugins/settings.variable.css +27 -8
- package/lib/table/props.d.ts +1 -0
- package/lib/table/table.css +670 -7
- package/lib/table/table.d.ts +6 -2
- package/lib/table/table.less +7 -1
- package/lib/table/table.variable.css +672 -9
- package/lib/table/use-common.d.ts +16 -1
- package/lib/table/utils.d.ts +2 -2
- package/lib/tag/index.d.ts +183 -38
- package/lib/tag/tag.variable.css +2 -2
- package/lib/tag-input/index.d.ts +666 -145
- package/lib/tag-input/tag-input.variable.css +2 -2
- package/lib/timeline/index.d.ts +109 -19
- package/lib/timeline/timeline.variable.css +2 -2
- package/lib/transfer/index.d.ts +264 -59
- package/lib/transfer/transfer.variable.css +2 -2
- package/lib/tree/index.d.ts +401 -103
- package/lib/tree/index.js +1 -1
- package/lib/tree/tree.css +107 -0
- package/lib/tree/tree.less +2 -0
- package/lib/tree/tree.variable.css +109 -2
- package/lib/tree/use-node-action.d.ts +1 -1
- package/lib/tree/use-node-attribute.d.ts +1 -0
- package/lib/upload/upload.css +43 -0
- package/lib/upload/upload.variable.css +45 -2
- package/lib/virtual-render/index.d.ts +433 -109
- package/lib/virtual-render/virtual-render.variable.css +2 -2
- package/lib/volar.components.d.ts +2 -1
- package/package.json +1 -1
@@ -42,8 +42,23 @@ export declare const useInit: (props: TablePropTypes) => {
|
|
42
42
|
bottom: number;
|
43
43
|
};
|
44
44
|
activeColumns: any[];
|
45
|
+
settings: boolean | {
|
46
|
+
fields?: {
|
47
|
+
label: string;
|
48
|
+
field?: string;
|
49
|
+
disabled?: boolean;
|
50
|
+
}[];
|
51
|
+
checked?: string[];
|
52
|
+
limit?: number;
|
53
|
+
size?: string;
|
54
|
+
sizeList?: {
|
55
|
+
value?: string;
|
56
|
+
label?: string;
|
57
|
+
height?: number;
|
58
|
+
}[];
|
59
|
+
};
|
45
60
|
setting: {
|
46
|
-
size:
|
61
|
+
size: string;
|
47
62
|
height: any;
|
48
63
|
};
|
49
64
|
};
|
package/lib/table/utils.d.ts
CHANGED
@@ -6,7 +6,7 @@ import { Column, GroupColumn, TablePropTypes } from './props';
|
|
6
6
|
* @param args 如果是函数,传递参数
|
7
7
|
* @returns
|
8
8
|
*/
|
9
|
-
export declare const resolvePropVal: (prop: any, key: string, args: any[]) => any;
|
9
|
+
export declare const resolvePropVal: (prop: any, key: string | string[], args: any[]) => any;
|
10
10
|
/**
|
11
11
|
* 处理Props中的ActiveColumn,解析为统一的数组格式
|
12
12
|
* @param props
|
@@ -101,4 +101,4 @@ export declare const getRowText: (row: any, key: string, column: Column) => any;
|
|
101
101
|
export declare const formatPropAsArray: (prop: string | object | (() => any), args: any[]) => any;
|
102
102
|
export declare const isRenderScrollBottomLoading: (props: TablePropTypes) => boolean;
|
103
103
|
export declare const getRowKey: (item: any, props: TablePropTypes, index: number) => any;
|
104
|
-
export declare const hasRootScrollY: (root: any, querySelector: string) => boolean;
|
104
|
+
export declare const hasRootScrollY: (root: any, querySelector: string, offsetHeight?: number) => boolean;
|
package/lib/tag/index.d.ts
CHANGED
@@ -1,4 +1,181 @@
|
|
1
|
-
declare const BkTag:
|
1
|
+
declare const BkTag: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
type: string;
|
7
|
+
theme: string;
|
8
|
+
extCls: string;
|
9
|
+
closable: boolean;
|
10
|
+
radius: string;
|
11
|
+
checked: boolean;
|
12
|
+
checkable: boolean;
|
13
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
15
|
+
default: string;
|
16
|
+
};
|
17
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
|
+
default: boolean;
|
19
|
+
} & {
|
20
|
+
default: boolean;
|
21
|
+
};
|
22
|
+
type: import("vue-types").VueTypeDef<string> & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
26
|
+
default: boolean;
|
27
|
+
} & {
|
28
|
+
default: boolean;
|
29
|
+
};
|
30
|
+
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
31
|
+
default: boolean;
|
32
|
+
} & {
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
36
|
+
default: string;
|
37
|
+
} & {
|
38
|
+
default: string;
|
39
|
+
};
|
40
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
41
|
+
default: string;
|
42
|
+
} & {
|
43
|
+
default: string;
|
44
|
+
};
|
45
|
+
}>> & {
|
46
|
+
onChange?: (...args: any[]) => any;
|
47
|
+
onClose?: (...args: any[]) => any;
|
48
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "theme" | "extCls" | "closable" | "radius" | "checked" | "checkable">;
|
49
|
+
$attrs: {
|
50
|
+
[x: string]: unknown;
|
51
|
+
};
|
52
|
+
$refs: {
|
53
|
+
[x: string]: unknown;
|
54
|
+
};
|
55
|
+
$slots: Readonly<{
|
56
|
+
[name: string]: import("vue").Slot;
|
57
|
+
}>;
|
58
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
59
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
60
|
+
$emit: (event: "change" | "close", ...args: any[]) => void;
|
61
|
+
$el: any;
|
62
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
63
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
64
|
+
default: string;
|
65
|
+
};
|
66
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
67
|
+
default: boolean;
|
68
|
+
} & {
|
69
|
+
default: boolean;
|
70
|
+
};
|
71
|
+
type: import("vue-types").VueTypeDef<string> & {
|
72
|
+
default: string;
|
73
|
+
};
|
74
|
+
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
75
|
+
default: boolean;
|
76
|
+
} & {
|
77
|
+
default: boolean;
|
78
|
+
};
|
79
|
+
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
80
|
+
default: boolean;
|
81
|
+
} & {
|
82
|
+
default: boolean;
|
83
|
+
};
|
84
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
85
|
+
default: string;
|
86
|
+
} & {
|
87
|
+
default: string;
|
88
|
+
};
|
89
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
90
|
+
default: string;
|
91
|
+
} & {
|
92
|
+
default: string;
|
93
|
+
};
|
94
|
+
}>> & {
|
95
|
+
onChange?: (...args: any[]) => any;
|
96
|
+
onClose?: (...args: any[]) => any;
|
97
|
+
}, {
|
98
|
+
wrapperCls: import("vue").ComputedRef<string>;
|
99
|
+
wrapperStyle: import("vue").ComputedRef<{
|
100
|
+
borderRadius: string;
|
101
|
+
}>;
|
102
|
+
handleClose: (e: Event) => void;
|
103
|
+
handleClick: (e: Event) => void;
|
104
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], string, {
|
105
|
+
type: string;
|
106
|
+
theme: string;
|
107
|
+
extCls: string;
|
108
|
+
closable: boolean;
|
109
|
+
radius: string;
|
110
|
+
checked: boolean;
|
111
|
+
checkable: boolean;
|
112
|
+
}> & {
|
113
|
+
beforeCreate?: (() => void) | (() => void)[];
|
114
|
+
created?: (() => void) | (() => void)[];
|
115
|
+
beforeMount?: (() => void) | (() => void)[];
|
116
|
+
mounted?: (() => void) | (() => void)[];
|
117
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
118
|
+
updated?: (() => void) | (() => void)[];
|
119
|
+
activated?: (() => void) | (() => void)[];
|
120
|
+
deactivated?: (() => void) | (() => void)[];
|
121
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
122
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
123
|
+
destroyed?: (() => void) | (() => void)[];
|
124
|
+
unmounted?: (() => void) | (() => void)[];
|
125
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
126
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
127
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
128
|
+
};
|
129
|
+
$forceUpdate: () => void;
|
130
|
+
$nextTick: typeof import("vue").nextTick;
|
131
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
132
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
133
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
134
|
+
default: string;
|
135
|
+
};
|
136
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
137
|
+
default: boolean;
|
138
|
+
} & {
|
139
|
+
default: boolean;
|
140
|
+
};
|
141
|
+
type: import("vue-types").VueTypeDef<string> & {
|
142
|
+
default: string;
|
143
|
+
};
|
144
|
+
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
145
|
+
default: boolean;
|
146
|
+
} & {
|
147
|
+
default: boolean;
|
148
|
+
};
|
149
|
+
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
150
|
+
default: boolean;
|
151
|
+
} & {
|
152
|
+
default: boolean;
|
153
|
+
};
|
154
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
155
|
+
default: string;
|
156
|
+
} & {
|
157
|
+
default: string;
|
158
|
+
};
|
159
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
160
|
+
default: string;
|
161
|
+
} & {
|
162
|
+
default: string;
|
163
|
+
};
|
164
|
+
}>> & {
|
165
|
+
onChange?: (...args: any[]) => any;
|
166
|
+
onClose?: (...args: any[]) => any;
|
167
|
+
} & import("vue").ShallowUnwrapRef<{
|
168
|
+
wrapperCls: import("vue").ComputedRef<string>;
|
169
|
+
wrapperStyle: import("vue").ComputedRef<{
|
170
|
+
borderRadius: string;
|
171
|
+
}>;
|
172
|
+
handleClose: (e: Event) => void;
|
173
|
+
handleClick: (e: Event) => void;
|
174
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
175
|
+
__isFragment?: never;
|
176
|
+
__isTeleport?: never;
|
177
|
+
__isSuspense?: never;
|
178
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
2
179
|
theme: import("vue-types").VueTypeDef<string> & {
|
3
180
|
default: string;
|
4
181
|
};
|
@@ -30,6 +207,9 @@ declare const BkTag: import("vue").DefineComponent<{
|
|
30
207
|
} & {
|
31
208
|
default: string;
|
32
209
|
};
|
210
|
+
}>> & {
|
211
|
+
onChange?: (...args: any[]) => any;
|
212
|
+
onClose?: (...args: any[]) => any;
|
33
213
|
}, {
|
34
214
|
wrapperCls: import("vue").ComputedRef<string>;
|
35
215
|
wrapperStyle: import("vue").ComputedRef<{
|
@@ -37,42 +217,7 @@ declare const BkTag: import("vue").DefineComponent<{
|
|
37
217
|
}>;
|
38
218
|
handleClose: (e: Event) => void;
|
39
219
|
handleClick: (e: Event) => void;
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close",
|
41
|
-
theme: import("vue-types").VueTypeDef<string> & {
|
42
|
-
default: string;
|
43
|
-
};
|
44
|
-
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
|
-
default: boolean;
|
46
|
-
} & {
|
47
|
-
default: boolean;
|
48
|
-
};
|
49
|
-
type: import("vue-types").VueTypeDef<string> & {
|
50
|
-
default: string;
|
51
|
-
};
|
52
|
-
checkable: import("vue-types").VueTypeValidableDef<boolean> & {
|
53
|
-
default: boolean;
|
54
|
-
} & {
|
55
|
-
default: boolean;
|
56
|
-
};
|
57
|
-
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
58
|
-
default: boolean;
|
59
|
-
} & {
|
60
|
-
default: boolean;
|
61
|
-
};
|
62
|
-
radius: import("vue-types").VueTypeValidableDef<string> & {
|
63
|
-
default: string;
|
64
|
-
} & {
|
65
|
-
default: string;
|
66
|
-
};
|
67
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
68
|
-
default: string;
|
69
|
-
} & {
|
70
|
-
default: string;
|
71
|
-
};
|
72
|
-
}>> & {
|
73
|
-
onChange?: (...args: any[]) => any;
|
74
|
-
onClose?: (...args: any[]) => any;
|
75
|
-
}, {
|
220
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", {
|
76
221
|
type: string;
|
77
222
|
theme: string;
|
78
223
|
extCls: string;
|
@@ -80,5 +225,5 @@ declare const BkTag: import("vue").DefineComponent<{
|
|
80
225
|
radius: string;
|
81
226
|
checked: boolean;
|
82
227
|
checkable: boolean;
|
83
|
-
}
|
228
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
84
229
|
export default BkTag;
|
package/lib/tag/tag.variable.css
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|