bkui-vue 0.0.1-beta.127 → 0.0.1-beta.128
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 +31 -145
- package/dist/index.esm.js +471 -3573
- package/dist/index.umd.js +31 -145
- 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 +22 -118
- package/lib/alert/alert.variable.css +2 -2
- package/lib/alert/index.d.ts +28 -146
- package/lib/animate-number/index.d.ts +14 -84
- package/lib/backtop/backtop.variable.css +2 -2
- package/lib/backtop/index.d.ts +29 -135
- package/lib/badge/badge.variable.css +2 -2
- package/lib/badge/index.d.ts +46 -211
- package/lib/breadcrumb/breadcrumb.css +0 -43
- package/lib/breadcrumb/breadcrumb.variable.css +2 -45
- package/lib/button/button.css +0 -4
- package/lib/button/button.less +7 -13
- package/lib/button/button.variable.css +2 -6
- package/lib/card/card.css +0 -43
- package/lib/card/card.variable.css +2 -45
- package/lib/card/index.d.ts +50 -223
- package/lib/cascader/cascader.variable.css +2 -2
- package/lib/checkbox/checkbox.css +2 -4
- package/lib/checkbox/checkbox.less +2 -4
- package/lib/checkbox/checkbox.variable.css +4 -6
- package/lib/code-diff/code-diff.variable.css +2 -2
- package/lib/code-diff/index.d.ts +23 -123
- package/lib/collapse/collapse.variable.css +2 -2
- package/lib/collapse/index.d.ts +28 -147
- package/lib/components.d.ts +0 -1
- package/lib/components.js +1 -1
- package/lib/container/container.css +0 -43
- package/lib/container/container.variable.css +2 -45
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/date-picker/index.d.ts +124 -566
- package/lib/dialog/index.d.ts +140 -557
- package/lib/divider/divider.variable.css +2 -2
- package/lib/divider/index.d.ts +23 -117
- package/lib/dropdown/dropdown.variable.css +2 -2
- package/lib/exception/exception.variable.css +2 -2
- package/lib/exception/index.d.ts +13 -83
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
- package/lib/fixed-navbar/index.d.ts +22 -121
- package/lib/form/form.variable.css +2 -2
- package/lib/input/index.d.ts +92 -408
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +5 -56
- package/lib/input/input.less +2 -12
- package/lib/input/input.variable.css +4 -55
- package/lib/link/index.d.ts +28 -134
- package/lib/link/link.variable.css +2 -2
- package/lib/loading/loading.css +2 -43
- package/lib/loading/loading.less +2 -2
- package/lib/loading/loading.variable.css +4 -45
- package/lib/menu/menu.css +0 -43
- package/lib/menu/menu.variable.css +2 -45
- package/lib/menu/submenu.variable.css +2 -2
- package/lib/message/message.variable.css +2 -2
- package/lib/navigation/index.d.ts +51 -244
- package/lib/navigation/navigation.variable.css +2 -2
- package/lib/notify/notify.variable.css +2 -2
- package/lib/pagination/index.d.ts +68 -305
- package/lib/pagination/pagination.variable.css +2 -2
- package/lib/popover/index.d.ts +76 -298
- package/lib/popover/popover.variable.css +2 -2
- package/lib/popover2/index.d.ts +92 -378
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/popover2.variable.css +2 -2
- package/lib/process/index.d.ts +35 -166
- package/lib/process/process.variable.css +2 -2
- package/lib/progress/index.d.ts +76 -306
- package/lib/progress/progress.css +0 -43
- package/lib/progress/progress.variable.css +2 -45
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio.css +5 -4
- package/lib/radio/radio.less +5 -4
- package/lib/radio/radio.variable.css +7 -6
- package/lib/rate/index.d.ts +15 -96
- package/lib/resize-layout/index.d.ts +52 -261
- package/lib/resize-layout/resize-layout.variable.css +2 -2
- package/lib/select/select.css +23 -23
- package/lib/select/select.less +122 -126
- package/lib/select/select.variable.css +25 -25
- package/lib/shared/index.d.ts +3 -3
- package/lib/sideslider/index.d.ts +91 -369
- package/lib/sideslider/sideslider.variable.css +2 -2
- package/lib/slider/index.d.ts +78 -319
- package/lib/slider/slider.variable.css +2 -2
- package/lib/steps/index.d.ts +43 -198
- package/lib/steps/steps.variable.css +2 -2
- package/lib/styles/mixins/mixins.css +0 -43
- package/lib/styles/mixins/mixins.less +0 -1
- package/lib/styles/mixins/mixins.variable.css +0 -43
- package/lib/styles/mixins/scroll.variable.css +2 -2
- package/lib/styles/themes/themes.less +2 -2
- package/lib/swiper/index.d.ts +30 -146
- package/lib/switcher/index.d.ts +50 -223
- package/lib/switcher/switcher.css +0 -43
- package/lib/switcher/switcher.variable.css +2 -45
- package/lib/tab/tab.variable.css +2 -2
- package/lib/table/const.d.ts +0 -5
- package/lib/table/index.d.ts +101 -419
- 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 +4 -23
- package/lib/table/plugins/settings.less +4 -25
- package/lib/table/plugins/settings.variable.css +6 -25
- package/lib/table/props.d.ts +0 -1
- package/lib/table/table.css +5 -668
- package/lib/table/table.less +1 -7
- package/lib/table/table.variable.css +7 -670
- package/lib/table/use-common.d.ts +1 -16
- package/lib/table/utils.d.ts +1 -1
- package/lib/tag/index.d.ts +38 -183
- package/lib/tag/tag.variable.css +2 -2
- package/lib/tag-input/index.d.ts +145 -666
- package/lib/tag-input/tag-input.variable.css +2 -2
- package/lib/timeline/index.d.ts +19 -109
- package/lib/timeline/timeline.variable.css +2 -2
- package/lib/transfer/index.d.ts +59 -264
- package/lib/transfer/transfer.variable.css +2 -2
- package/lib/tree/index.d.ts +103 -401
- package/lib/tree/index.js +1 -1
- package/lib/tree/tree.css +0 -107
- package/lib/tree/tree.less +0 -2
- package/lib/tree/tree.variable.css +2 -109
- package/lib/tree/use-node-action.d.ts +1 -1
- package/lib/tree/use-node-attribute.d.ts +0 -1
- package/lib/upload/upload.css +0 -43
- package/lib/upload/upload.variable.css +2 -45
- package/lib/virtual-render/index.d.ts +109 -433
- package/lib/virtual-render/virtual-render.variable.css +2 -2
- package/package.json +1 -1
- package/lib/popover2/use-platform.d.ts +0 -30
@@ -42,23 +42,8 @@ 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
|
-
};
|
60
45
|
setting: {
|
61
|
-
size:
|
46
|
+
size: any;
|
62
47
|
height: any;
|
63
48
|
};
|
64
49
|
};
|
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
|
9
|
+
export declare const resolvePropVal: (prop: any, key: string, args: any[]) => any;
|
10
10
|
/**
|
11
11
|
* 处理Props中的ActiveColumn,解析为统一的数组格式
|
12
12
|
* @param props
|
package/lib/tag/index.d.ts
CHANGED
@@ -1,181 +1,4 @@
|
|
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<{
|
1
|
+
declare const BkTag: import("vue").DefineComponent<{
|
179
2
|
theme: import("vue-types").VueTypeDef<string> & {
|
180
3
|
default: string;
|
181
4
|
};
|
@@ -207,9 +30,6 @@ declare const BkTag: {
|
|
207
30
|
} & {
|
208
31
|
default: string;
|
209
32
|
};
|
210
|
-
}>> & {
|
211
|
-
onChange?: (...args: any[]) => any;
|
212
|
-
onClose?: (...args: any[]) => any;
|
213
33
|
}, {
|
214
34
|
wrapperCls: import("vue").ComputedRef<string>;
|
215
35
|
wrapperStyle: import("vue").ComputedRef<{
|
@@ -217,7 +37,42 @@ declare const BkTag: {
|
|
217
37
|
}>;
|
218
38
|
handleClose: (e: Event) => void;
|
219
39
|
handleClick: (e: Event) => void;
|
220
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", {
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
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
|
+
}, {
|
221
76
|
type: string;
|
222
77
|
theme: string;
|
223
78
|
extCls: string;
|
@@ -225,5 +80,5 @@ declare const BkTag: {
|
|
225
80
|
radius: string;
|
226
81
|
checked: boolean;
|
227
82
|
checkable: boolean;
|
228
|
-
}
|
83
|
+
}>;
|
229
84
|
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: 38px;
|
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-large);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|