bkui-vue 0.0.1-beta.16 → 0.0.1-beta.19
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/bkui-vue.cjs.js +1564 -558
- package/dist/bkui-vue.esm.js +1582 -579
- package/dist/bkui-vue.umd.js +1564 -558
- package/dist/style.css +469 -14
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +7 -0
- package/lib/alert/index.d.ts +96 -60
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +7 -0
- package/lib/backtop/index.d.ts +108 -52
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.variable.css +7 -0
- package/lib/badge/index.d.ts +146 -78
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.d.ts +22 -14
- package/lib/breadcrumb/breadcrumb.variable.css +7 -0
- package/lib/breadcrumb/index.d.ts +100 -64
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.d.ts +28 -23
- package/lib/button/button.variable.css +7 -0
- package/lib/button/index.d.ts +114 -96
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +7 -0
- package/lib/card/index.d.ts +120 -60
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.variable.css +7 -0
- package/lib/checkbox/index.d.ts +137 -97
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/index.d.ts +108 -72
- package/lib/components.d.ts +3 -0
- package/lib/date-picker/date-picker.d.ts +112 -65
- package/lib/date-picker/date-picker.variable.css +7 -0
- package/lib/date-picker/index.d.ts +444 -256
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +55 -25
- package/lib/dialog/index.d.ts +199 -96
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +7 -0
- package/lib/divider/index.d.ts +84 -52
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.d.ts +25 -13
- package/lib/dropdown/dropdown.variable.css +7 -0
- package/lib/dropdown/index.d.ts +94 -62
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +7 -0
- package/lib/exception/index.d.ts +44 -36
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +7 -0
- package/lib/fixed-navbar/index.d.ts +60 -36
- package/lib/form/form-item.d.ts +47 -28
- package/lib/form/form.d.ts +22 -14
- package/lib/form/index.d.ts +285 -3
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +15 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +15 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +15 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +15 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +15 -0
- package/lib/icon/index.d.ts +7 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +15 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +15 -0
- package/lib/input/index.d.ts +243 -163
- package/lib/input/input.d.ts +61 -41
- package/lib/input/input.variable.css +7 -0
- package/lib/link/index.d.ts +100 -52
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +7 -0
- package/lib/loading/index.d.ts +64 -64
- package/lib/loading/loading.d.ts +16 -16
- package/lib/loading/loading.variable.css +7 -0
- package/lib/menu/index.d.ts +90 -71
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.d.ts +18 -14
- package/lib/menu/menu.variable.css +7 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.variable.css +7 -0
- package/lib/message/message.variable.css +7 -0
- package/lib/message/messageConstructor.d.ts +28 -16
- package/lib/modal/index.d.ts +111 -52
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +31 -13
- package/lib/modal/props.mixin.d.ts +4 -0
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.d.ts +40 -23
- package/lib/navigation/navigation.variable.css +7 -0
- package/lib/notify/notify.variable.css +7 -0
- package/lib/notify/notifyConstructor.d.ts +36 -20
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +272 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +209 -179
- package/lib/popover/popover.css +1 -0
- package/lib/popover/popover.d.ts +53 -31
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +8 -0
- package/lib/process/index.d.ts +120 -60
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +30 -15
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +9 -3
- package/lib/progress/index.d.ts +293 -145
- package/lib/progress/progress.d.ts +74 -37
- package/lib/progress/progress.variable.css +7 -0
- package/lib/radio/index.d.ts +127 -78
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.variable.css +7 -0
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +32 -15
- package/lib/select/index.d.ts +396 -327
- package/lib/select/option.d.ts +9 -10
- package/lib/select/optionGroup.d.ts +49 -41
- package/lib/select/select.css +2 -1
- package/lib/select/select.d.ts +98 -84
- package/lib/select/select.less +2 -1
- package/lib/select/select.variable.css +9 -1
- package/lib/shared/bk-mask-manager.d.ts +32 -3
- package/lib/shared/bk-pop-manager.d.ts +8 -1
- package/lib/shared/index.js +1 -1
- package/lib/shared/vue-types.d.ts +2 -6
- package/lib/sideslider/index.d.ts +130 -63
- package/lib/sideslider/sideslider.d.ts +37 -16
- package/lib/sideslider/sideslider.variable.css +7 -0
- package/lib/slider/slider-button.d.ts +10 -7
- package/lib/slider/slider.d.ts +70 -40
- package/lib/slider/slider.variable.css +7 -0
- package/lib/steps/index.d.ts +160 -108
- package/lib/steps/steps.css +3 -0
- package/lib/steps/steps.d.ts +40 -27
- package/lib/steps/steps.less +4 -0
- package/lib/steps/steps.variable.css +10 -0
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/themes/themes.less +11 -0
- package/lib/switcher/index.d.ts +192 -128
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.variable.css +7 -0
- package/lib/tab/index.d.ts +347 -211
- package/lib/tab/tab-nav.d.ts +74 -38
- package/lib/tab/tab-panel.d.ts +22 -20
- package/lib/tab/tab.d.ts +65 -33
- package/lib/tab/tab.variable.css +7 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +155 -131
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +18 -0
- package/lib/table/render.d.ts +18 -2
- package/lib/table/table.css +47 -10
- package/lib/table/table.d.ts +47 -22
- package/lib/table/table.less +61 -17
- package/lib/table/table.variable.css +56 -12
- package/lib/table/utils.d.ts +32 -1
- package/lib/tag/index.d.ts +10 -286
- package/lib/tag/tag.d.ts +2 -48
- package/lib/tag/tag.variable.css +7 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +328 -0
- package/lib/tree/index.d.ts +142 -77
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +19 -1
- package/lib/tree/tree.d.ts +42 -20
- package/lib/use-form.d.ts +3 -0
- package/lib/virtual-render/index.d.ts +412 -266
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +1 -0
- package/lib/virtual-render/virtual-render.d.ts +106 -45
- package/package.json +46 -46
package/lib/collapse/index.d.ts
CHANGED
@@ -8,24 +8,33 @@ declare const BkCollaspe: {
|
|
8
8
|
titleField: string;
|
9
9
|
contentField: string;
|
10
10
|
accordion: boolean;
|
11
|
-
}> & Omit<Readonly<{
|
12
|
-
list
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
13
|
+
default: () => any[];
|
14
|
+
};
|
15
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
21
|
+
default: string;
|
22
|
+
} & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
26
|
+
default: string;
|
27
|
+
} & {
|
28
|
+
default: string;
|
29
|
+
};
|
30
|
+
activeIndex: import("vue-types").VueTypeDef<number | number[]>;
|
31
|
+
activeName: import("vue-types").VueTypeDef<string | string[]>;
|
32
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
33
|
+
default: boolean;
|
34
|
+
} & {
|
35
|
+
default: boolean;
|
36
|
+
};
|
37
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "list" | "idFiled" | "titleField" | "contentField" | "accordion">;
|
29
38
|
$attrs: {
|
30
39
|
[x: string]: unknown;
|
31
40
|
};
|
@@ -39,24 +48,33 @@ declare const BkCollaspe: {
|
|
39
48
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
40
49
|
$emit: (event: string, ...args: any[]) => void;
|
41
50
|
$el: any;
|
42
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
43
|
-
list
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
51
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
52
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
53
|
+
default: () => any[];
|
54
|
+
};
|
55
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
56
|
+
default: string;
|
57
|
+
} & {
|
58
|
+
default: string;
|
59
|
+
};
|
60
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
61
|
+
default: string;
|
62
|
+
} & {
|
63
|
+
default: string;
|
64
|
+
};
|
65
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
66
|
+
default: string;
|
67
|
+
} & {
|
68
|
+
default: string;
|
69
|
+
};
|
70
|
+
activeIndex: import("vue-types").VueTypeDef<number | number[]>;
|
71
|
+
activeName: import("vue-types").VueTypeDef<string | string[]>;
|
72
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
73
|
+
default: boolean;
|
74
|
+
} & {
|
75
|
+
default: boolean;
|
76
|
+
};
|
77
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
60
78
|
list: any[];
|
61
79
|
idFiled: string;
|
62
80
|
titleField: string;
|
@@ -82,45 +100,63 @@ declare const BkCollaspe: {
|
|
82
100
|
$forceUpdate: () => void;
|
83
101
|
$nextTick: typeof import("vue").nextTick;
|
84
102
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
85
|
-
} & Readonly<{
|
86
|
-
list
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
104
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
105
|
+
default: () => any[];
|
106
|
+
};
|
107
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
108
|
+
default: string;
|
109
|
+
} & {
|
110
|
+
default: string;
|
111
|
+
};
|
112
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
113
|
+
default: string;
|
114
|
+
} & {
|
115
|
+
default: string;
|
116
|
+
};
|
117
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
118
|
+
default: string;
|
119
|
+
} & {
|
120
|
+
default: string;
|
121
|
+
};
|
122
|
+
activeIndex: import("vue-types").VueTypeDef<number | number[]>;
|
123
|
+
activeName: import("vue-types").VueTypeDef<string | string[]>;
|
124
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
125
|
+
default: boolean;
|
126
|
+
} & {
|
127
|
+
default: boolean;
|
128
|
+
};
|
129
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
103
130
|
__isFragment?: never;
|
104
131
|
__isTeleport?: never;
|
105
132
|
__isSuspense?: never;
|
106
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
107
|
-
list
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
}
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
133
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
134
|
+
list: import("vue-types").VueTypeDef<any[]> & {
|
135
|
+
default: () => any[];
|
136
|
+
};
|
137
|
+
idFiled: import("vue-types").VueTypeValidableDef<string> & {
|
138
|
+
default: string;
|
139
|
+
} & {
|
140
|
+
default: string;
|
141
|
+
};
|
142
|
+
titleField: import("vue-types").VueTypeValidableDef<string> & {
|
143
|
+
default: string;
|
144
|
+
} & {
|
145
|
+
default: string;
|
146
|
+
};
|
147
|
+
contentField: import("vue-types").VueTypeValidableDef<string> & {
|
148
|
+
default: string;
|
149
|
+
} & {
|
150
|
+
default: string;
|
151
|
+
};
|
152
|
+
activeIndex: import("vue-types").VueTypeDef<number | number[]>;
|
153
|
+
activeName: import("vue-types").VueTypeDef<string | string[]>;
|
154
|
+
accordion: import("vue-types").VueTypeValidableDef<boolean> & {
|
155
|
+
default: boolean;
|
156
|
+
} & {
|
157
|
+
default: boolean;
|
158
|
+
};
|
159
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
124
160
|
list: any[];
|
125
161
|
idFiled: string;
|
126
162
|
titleField: string;
|
package/lib/components.d.ts
CHANGED
@@ -31,3 +31,6 @@ export { default as Notify } from './notify';
|
|
31
31
|
export { default as Menu } from './menu';
|
32
32
|
export { default as Navigation } from './navigation';
|
33
33
|
export { default as DatePicker } from './date-picker';
|
34
|
+
export { default as Tree } from './tree';
|
35
|
+
export { default as VirtualRender } from './virtual-render';
|
36
|
+
export { default as Form, BkFormItem as FormItem } from './form';
|
@@ -244,13 +244,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
244
244
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
245
245
|
showClose: import("vue").Ref<boolean>;
|
246
246
|
visible: import("vue").Ref<boolean>;
|
247
|
-
internalValue: any
|
247
|
+
internalValue: import("vue").Ref<any>;
|
248
248
|
disableClickOutSide: import("vue").Ref<boolean>;
|
249
249
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
250
250
|
selectionMode: import("vue").Ref<SelectionModeType>;
|
251
251
|
forceInputRerender: import("vue").Ref<number>;
|
252
252
|
isFocused: import("vue").Ref<boolean>;
|
253
|
-
focusedDate: any
|
253
|
+
focusedDate: import("vue").Ref<any>;
|
254
254
|
focusedTime: import("vue").Ref<{
|
255
255
|
column: number;
|
256
256
|
picker: number;
|
@@ -259,68 +259,115 @@ declare const _default: import("vue").DefineComponent<{
|
|
259
259
|
}>;
|
260
260
|
internalFocus: import("vue").Ref<boolean>;
|
261
261
|
timeEnterMode: import("vue").Ref<boolean>;
|
262
|
-
shortcut: any
|
262
|
+
shortcut: import("vue").Ref<any>;
|
263
263
|
onSelectionModeChange: import("vue").Ref<(_type: any) => SelectionModeType>;
|
264
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
265
|
-
readonly type
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
readonly
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
readonly
|
275
|
-
readonly
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
readonly
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
readonly
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
readonly
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
readonly
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
264
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
265
|
+
readonly type: {
|
266
|
+
readonly type: PropType<PickerTypeType>;
|
267
|
+
readonly default: "date";
|
268
|
+
readonly validator: (value: any) => boolean;
|
269
|
+
};
|
270
|
+
readonly extPopoverCls: {
|
271
|
+
readonly type: StringConstructor;
|
272
|
+
readonly default: "";
|
273
|
+
};
|
274
|
+
readonly format: StringConstructor;
|
275
|
+
readonly readonly: {
|
276
|
+
readonly type: BooleanConstructor;
|
277
|
+
readonly default: false;
|
278
|
+
};
|
279
|
+
readonly disabled: {
|
280
|
+
readonly type: BooleanConstructor;
|
281
|
+
readonly default: false;
|
282
|
+
};
|
283
|
+
readonly editable: {
|
284
|
+
readonly type: BooleanConstructor;
|
285
|
+
readonly default: true;
|
286
|
+
};
|
287
|
+
readonly clearable: {
|
288
|
+
readonly type: BooleanConstructor;
|
289
|
+
readonly default: true;
|
290
|
+
};
|
291
|
+
readonly open: {
|
292
|
+
readonly type: BooleanConstructor;
|
293
|
+
readonly default: any;
|
294
|
+
};
|
295
|
+
readonly multiple: {
|
296
|
+
readonly type: BooleanConstructor;
|
297
|
+
readonly default: false;
|
298
|
+
};
|
299
|
+
readonly timePickerOptions: {
|
300
|
+
readonly type: PropType<Record<string, any>>;
|
301
|
+
readonly default: () => {};
|
302
|
+
};
|
303
|
+
readonly splitPanels: {
|
304
|
+
readonly type: BooleanConstructor;
|
305
|
+
readonly default: true;
|
306
|
+
};
|
307
|
+
readonly startDate: DateConstructor;
|
308
|
+
readonly placeholder: {
|
309
|
+
readonly type: StringConstructor;
|
310
|
+
readonly default: "";
|
311
|
+
};
|
312
|
+
readonly placement: {
|
313
|
+
readonly type: PropType<import("@popperjs/core").ComputedPlacement>;
|
314
|
+
readonly default: "bottom-start";
|
315
|
+
readonly validator: (value: any) => boolean;
|
316
|
+
};
|
317
|
+
readonly transfer: {
|
318
|
+
readonly type: BooleanConstructor;
|
319
|
+
readonly default: false;
|
320
|
+
};
|
321
|
+
readonly appendToBody: {
|
322
|
+
readonly type: BooleanConstructor;
|
323
|
+
readonly default: false;
|
324
|
+
};
|
325
|
+
readonly shortcuts: {
|
326
|
+
readonly type: PropType<DatePickerShortcutsType>;
|
327
|
+
readonly default: () => any[];
|
328
|
+
};
|
329
|
+
readonly shortcutClose: {
|
330
|
+
readonly type: BooleanConstructor;
|
331
|
+
readonly default: false;
|
332
|
+
};
|
333
|
+
readonly modelValue: {
|
334
|
+
readonly type: PropType<DatePickerValueType>;
|
335
|
+
};
|
336
|
+
readonly options: {
|
337
|
+
readonly type: ObjectConstructor;
|
338
|
+
readonly default: () => {};
|
339
|
+
};
|
340
|
+
readonly fontSize: {
|
341
|
+
readonly type: PropType<"large" | "normal" | "medium">;
|
342
|
+
readonly default: "normal";
|
343
|
+
};
|
344
|
+
readonly upToNow: {
|
345
|
+
readonly type: BooleanConstructor;
|
346
|
+
readonly default: false;
|
347
|
+
};
|
348
|
+
readonly useShortcutText: {
|
349
|
+
readonly type: BooleanConstructor;
|
350
|
+
readonly default: false;
|
351
|
+
};
|
352
|
+
readonly shortcutSelectedIndex: {
|
353
|
+
readonly type: NumberConstructor;
|
354
|
+
readonly default: -1;
|
355
|
+
};
|
356
|
+
readonly footerSlotCls: {
|
357
|
+
readonly type: StringConstructor;
|
358
|
+
readonly default: "";
|
359
|
+
};
|
360
|
+
readonly allowCrossDay: {
|
361
|
+
readonly type: BooleanConstructor;
|
362
|
+
readonly default: false;
|
363
|
+
};
|
364
|
+
readonly behavior: {
|
365
|
+
readonly type: PropType<"normal" | "simplicity">;
|
366
|
+
readonly default: "normal";
|
367
|
+
readonly validator: (v: any) => boolean;
|
368
|
+
};
|
369
|
+
readonly disableDate: PropType<DisableDateType>;
|
370
|
+
}>> & {
|
324
371
|
onChange?: (...args: any[]) => any;
|
325
372
|
onInput?: (...args: any[]) => any;
|
326
373
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -331,11 +378,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
331
378
|
}, {
|
332
379
|
placement: import("@popperjs/core").ComputedPlacement;
|
333
380
|
options: Record<string, any>;
|
381
|
+
type: PickerTypeType;
|
334
382
|
placeholder: string;
|
383
|
+
fontSize: "large" | "normal" | "medium";
|
335
384
|
open: boolean;
|
336
385
|
multiple: boolean;
|
337
386
|
disabled: boolean;
|
338
|
-
type: PickerTypeType;
|
339
387
|
extPopoverCls: string;
|
340
388
|
readonly: boolean;
|
341
389
|
editable: boolean;
|
@@ -346,7 +394,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
346
394
|
appendToBody: boolean;
|
347
395
|
shortcuts: DatePickerShortcutsType;
|
348
396
|
shortcutClose: boolean;
|
349
|
-
fontSize: "large" | "normal" | "medium";
|
350
397
|
upToNow: boolean;
|
351
398
|
useShortcutText: boolean;
|
352
399
|
shortcutSelectedIndex: number;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
@@ -83,6 +84,12 @@
|
|
83
84
|
--date-picker-disabled-bg: #fafbfd;
|
84
85
|
--date-picker-dropdown-mb: 4px;
|
85
86
|
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
86
93
|
}
|
87
94
|
.bk-date-picker {
|
88
95
|
display: inline-block;
|