bkui-vue 0.0.1-beta.16 → 0.0.1-beta.17
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 +796 -139
- package/dist/bkui-vue.esm.js +841 -186
- package/dist/bkui-vue.umd.js +796 -139
- package/dist/style.css +287 -13
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +6 -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 +6 -0
- package/lib/backtop/index.d.ts +108 -52
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.variable.css +6 -0
- package/lib/badge/index.d.ts +144 -76
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.d.ts +21 -13
- package/lib/breadcrumb/breadcrumb.variable.css +6 -0
- package/lib/breadcrumb/index.d.ts +97 -61
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.d.ts +27 -22
- package/lib/button/button.variable.css +6 -0
- package/lib/button/index.d.ts +111 -93
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +6 -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 +6 -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 +2 -0
- package/lib/date-picker/date-picker.d.ts +110 -63
- package/lib/date-picker/date-picker.variable.css +6 -0
- package/lib/date-picker/index.d.ts +437 -249
- package/lib/dialog/dialog.d.ts +44 -23
- package/lib/dialog/index.d.ts +176 -92
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +6 -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 +6 -0
- package/lib/dropdown/index.d.ts +94 -62
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +6 -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 +6 -0
- package/lib/fixed-navbar/index.d.ts +60 -36
- package/lib/form/form-item.d.ts +46 -27
- package/lib/form/form.d.ts +21 -13
- package/lib/input/index.d.ts +240 -160
- package/lib/input/input.d.ts +60 -40
- package/lib/input/input.variable.css +6 -0
- package/lib/link/index.d.ts +100 -52
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +6 -0
- package/lib/loading/index.d.ts +64 -64
- package/lib/loading/loading.d.ts +16 -16
- package/lib/loading/loading.variable.css +6 -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 +6 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.variable.css +6 -0
- package/lib/message/message.variable.css +6 -0
- package/lib/message/messageConstructor.d.ts +28 -16
- package/lib/modal/index.d.ts +88 -52
- package/lib/modal/modal.d.ts +22 -13
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.d.ts +40 -23
- package/lib/navigation/navigation.variable.css +6 -0
- package/lib/notify/notify.variable.css +6 -0
- package/lib/notify/notifyConstructor.d.ts +36 -20
- package/lib/popover/index.d.ts +207 -177
- package/lib/popover/popover.d.ts +52 -30
- package/lib/popover/popover.variable.css +6 -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 +8 -3
- package/lib/progress/index.d.ts +284 -136
- package/lib/progress/progress.d.ts +71 -34
- package/lib/progress/progress.variable.css +6 -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 +6 -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.d.ts +98 -84
- package/lib/select/select.variable.css +6 -0
- package/lib/sideslider/index.d.ts +108 -60
- package/lib/sideslider/sideslider.d.ts +27 -15
- package/lib/sideslider/sideslider.variable.css +6 -0
- package/lib/slider/slider-button.d.ts +10 -7
- package/lib/slider/slider.d.ts +70 -40
- package/lib/slider/slider.variable.css +6 -0
- package/lib/steps/index.d.ts +156 -104
- package/lib/steps/steps.css +3 -0
- package/lib/steps/steps.d.ts +39 -26
- package/lib/steps/steps.less +4 -0
- package/lib/steps/steps.variable.css +9 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/themes/themes.less +10 -0
- package/lib/switcher/index.d.ts +192 -128
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.variable.css +6 -0
- package/lib/tab/index.d.ts +344 -208
- package/lib/tab/tab-nav.d.ts +74 -38
- package/lib/tab/tab-panel.d.ts +22 -20
- package/lib/tab/tab.d.ts +64 -32
- package/lib/tab/tab.variable.css +6 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +154 -130
- 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 +55 -12
- package/lib/table/utils.d.ts +26 -1
- package/lib/tag/index.d.ts +10 -286
- package/lib/tag/tag.d.ts +2 -48
- package/lib/tag/tag.variable.css +6 -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 +327 -0
- package/lib/tree/index.d.ts +140 -75
- 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/virtual-render/index.d.ts +406 -260
- 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 +104 -43
- package/package.json +1 -1
@@ -27,66 +27,113 @@ declare const BkDatePicker: {
|
|
27
27
|
footerSlotCls: string;
|
28
28
|
allowCrossDay: boolean;
|
29
29
|
behavior: "normal" | "simplicity";
|
30
|
-
}> & Omit<Readonly<{
|
31
|
-
readonly type
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
readonly
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
readonly
|
41
|
-
readonly
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
readonly
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
readonly
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
readonly
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
readonly
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
30
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
31
|
+
readonly type: {
|
32
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
33
|
+
readonly default: "date";
|
34
|
+
readonly validator: (value: any) => boolean;
|
35
|
+
};
|
36
|
+
readonly extPopoverCls: {
|
37
|
+
readonly type: StringConstructor;
|
38
|
+
readonly default: "";
|
39
|
+
};
|
40
|
+
readonly format: StringConstructor;
|
41
|
+
readonly readonly: {
|
42
|
+
readonly type: BooleanConstructor;
|
43
|
+
readonly default: false;
|
44
|
+
};
|
45
|
+
readonly disabled: {
|
46
|
+
readonly type: BooleanConstructor;
|
47
|
+
readonly default: false;
|
48
|
+
};
|
49
|
+
readonly editable: {
|
50
|
+
readonly type: BooleanConstructor;
|
51
|
+
readonly default: true;
|
52
|
+
};
|
53
|
+
readonly clearable: {
|
54
|
+
readonly type: BooleanConstructor;
|
55
|
+
readonly default: true;
|
56
|
+
};
|
57
|
+
readonly open: {
|
58
|
+
readonly type: BooleanConstructor;
|
59
|
+
readonly default: any;
|
60
|
+
};
|
61
|
+
readonly multiple: {
|
62
|
+
readonly type: BooleanConstructor;
|
63
|
+
readonly default: false;
|
64
|
+
};
|
65
|
+
readonly timePickerOptions: {
|
66
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
67
|
+
readonly default: () => {};
|
68
|
+
};
|
69
|
+
readonly splitPanels: {
|
70
|
+
readonly type: BooleanConstructor;
|
71
|
+
readonly default: true;
|
72
|
+
};
|
73
|
+
readonly startDate: DateConstructor;
|
74
|
+
readonly placeholder: {
|
75
|
+
readonly type: StringConstructor;
|
76
|
+
readonly default: "";
|
77
|
+
};
|
78
|
+
readonly placement: {
|
79
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
80
|
+
readonly default: "bottom-start";
|
81
|
+
readonly validator: (value: any) => boolean;
|
82
|
+
};
|
83
|
+
readonly transfer: {
|
84
|
+
readonly type: BooleanConstructor;
|
85
|
+
readonly default: false;
|
86
|
+
};
|
87
|
+
readonly appendToBody: {
|
88
|
+
readonly type: BooleanConstructor;
|
89
|
+
readonly default: false;
|
90
|
+
};
|
91
|
+
readonly shortcuts: {
|
92
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
93
|
+
readonly default: () => any[];
|
94
|
+
};
|
95
|
+
readonly shortcutClose: {
|
96
|
+
readonly type: BooleanConstructor;
|
97
|
+
readonly default: false;
|
98
|
+
};
|
99
|
+
readonly modelValue: {
|
100
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
101
|
+
};
|
102
|
+
readonly options: {
|
103
|
+
readonly type: ObjectConstructor;
|
104
|
+
readonly default: () => {};
|
105
|
+
};
|
106
|
+
readonly fontSize: {
|
107
|
+
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
108
|
+
readonly default: "normal";
|
109
|
+
};
|
110
|
+
readonly upToNow: {
|
111
|
+
readonly type: BooleanConstructor;
|
112
|
+
readonly default: false;
|
113
|
+
};
|
114
|
+
readonly useShortcutText: {
|
115
|
+
readonly type: BooleanConstructor;
|
116
|
+
readonly default: false;
|
117
|
+
};
|
118
|
+
readonly shortcutSelectedIndex: {
|
119
|
+
readonly type: NumberConstructor;
|
120
|
+
readonly default: -1;
|
121
|
+
};
|
122
|
+
readonly footerSlotCls: {
|
123
|
+
readonly type: StringConstructor;
|
124
|
+
readonly default: "";
|
125
|
+
};
|
126
|
+
readonly allowCrossDay: {
|
127
|
+
readonly type: BooleanConstructor;
|
128
|
+
readonly default: false;
|
129
|
+
};
|
130
|
+
readonly behavior: {
|
131
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
132
|
+
readonly default: "normal";
|
133
|
+
readonly validator: (v: any) => boolean;
|
134
|
+
};
|
135
|
+
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
136
|
+
}>> & {
|
90
137
|
onChange?: (...args: any[]) => any;
|
91
138
|
onInput?: (...args: any[]) => any;
|
92
139
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -108,66 +155,113 @@ declare const BkDatePicker: {
|
|
108
155
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
109
156
|
$emit: (event: "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
110
157
|
$el: any;
|
111
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
112
|
-
readonly type
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
readonly
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
readonly
|
122
|
-
readonly
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
readonly
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
readonly
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
readonly
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
readonly
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
158
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
159
|
+
readonly type: {
|
160
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
161
|
+
readonly default: "date";
|
162
|
+
readonly validator: (value: any) => boolean;
|
163
|
+
};
|
164
|
+
readonly extPopoverCls: {
|
165
|
+
readonly type: StringConstructor;
|
166
|
+
readonly default: "";
|
167
|
+
};
|
168
|
+
readonly format: StringConstructor;
|
169
|
+
readonly readonly: {
|
170
|
+
readonly type: BooleanConstructor;
|
171
|
+
readonly default: false;
|
172
|
+
};
|
173
|
+
readonly disabled: {
|
174
|
+
readonly type: BooleanConstructor;
|
175
|
+
readonly default: false;
|
176
|
+
};
|
177
|
+
readonly editable: {
|
178
|
+
readonly type: BooleanConstructor;
|
179
|
+
readonly default: true;
|
180
|
+
};
|
181
|
+
readonly clearable: {
|
182
|
+
readonly type: BooleanConstructor;
|
183
|
+
readonly default: true;
|
184
|
+
};
|
185
|
+
readonly open: {
|
186
|
+
readonly type: BooleanConstructor;
|
187
|
+
readonly default: any;
|
188
|
+
};
|
189
|
+
readonly multiple: {
|
190
|
+
readonly type: BooleanConstructor;
|
191
|
+
readonly default: false;
|
192
|
+
};
|
193
|
+
readonly timePickerOptions: {
|
194
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
195
|
+
readonly default: () => {};
|
196
|
+
};
|
197
|
+
readonly splitPanels: {
|
198
|
+
readonly type: BooleanConstructor;
|
199
|
+
readonly default: true;
|
200
|
+
};
|
201
|
+
readonly startDate: DateConstructor;
|
202
|
+
readonly placeholder: {
|
203
|
+
readonly type: StringConstructor;
|
204
|
+
readonly default: "";
|
205
|
+
};
|
206
|
+
readonly placement: {
|
207
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
208
|
+
readonly default: "bottom-start";
|
209
|
+
readonly validator: (value: any) => boolean;
|
210
|
+
};
|
211
|
+
readonly transfer: {
|
212
|
+
readonly type: BooleanConstructor;
|
213
|
+
readonly default: false;
|
214
|
+
};
|
215
|
+
readonly appendToBody: {
|
216
|
+
readonly type: BooleanConstructor;
|
217
|
+
readonly default: false;
|
218
|
+
};
|
219
|
+
readonly shortcuts: {
|
220
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
221
|
+
readonly default: () => any[];
|
222
|
+
};
|
223
|
+
readonly shortcutClose: {
|
224
|
+
readonly type: BooleanConstructor;
|
225
|
+
readonly default: false;
|
226
|
+
};
|
227
|
+
readonly modelValue: {
|
228
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
229
|
+
};
|
230
|
+
readonly options: {
|
231
|
+
readonly type: ObjectConstructor;
|
232
|
+
readonly default: () => {};
|
233
|
+
};
|
234
|
+
readonly fontSize: {
|
235
|
+
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
236
|
+
readonly default: "normal";
|
237
|
+
};
|
238
|
+
readonly upToNow: {
|
239
|
+
readonly type: BooleanConstructor;
|
240
|
+
readonly default: false;
|
241
|
+
};
|
242
|
+
readonly useShortcutText: {
|
243
|
+
readonly type: BooleanConstructor;
|
244
|
+
readonly default: false;
|
245
|
+
};
|
246
|
+
readonly shortcutSelectedIndex: {
|
247
|
+
readonly type: NumberConstructor;
|
248
|
+
readonly default: -1;
|
249
|
+
};
|
250
|
+
readonly footerSlotCls: {
|
251
|
+
readonly type: StringConstructor;
|
252
|
+
readonly default: "";
|
253
|
+
};
|
254
|
+
readonly allowCrossDay: {
|
255
|
+
readonly type: BooleanConstructor;
|
256
|
+
readonly default: false;
|
257
|
+
};
|
258
|
+
readonly behavior: {
|
259
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
260
|
+
readonly default: "normal";
|
261
|
+
readonly validator: (v: any) => boolean;
|
262
|
+
};
|
263
|
+
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
264
|
+
}>> & {
|
171
265
|
onChange?: (...args: any[]) => any;
|
172
266
|
onInput?: (...args: any[]) => any;
|
173
267
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -204,13 +298,13 @@ declare const BkDatePicker: {
|
|
204
298
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
205
299
|
showClose: import("vue").Ref<boolean>;
|
206
300
|
visible: import("vue").Ref<boolean>;
|
207
|
-
internalValue: any
|
301
|
+
internalValue: import("vue").Ref<any>;
|
208
302
|
disableClickOutSide: import("vue").Ref<boolean>;
|
209
303
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
210
304
|
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
211
305
|
forceInputRerender: import("vue").Ref<number>;
|
212
306
|
isFocused: import("vue").Ref<boolean>;
|
213
|
-
focusedDate: any
|
307
|
+
focusedDate: import("vue").Ref<any>;
|
214
308
|
focusedTime: import("vue").Ref<{
|
215
309
|
column: number;
|
216
310
|
picker: number;
|
@@ -219,7 +313,7 @@ declare const BkDatePicker: {
|
|
219
313
|
}>;
|
220
314
|
internalFocus: import("vue").Ref<boolean>;
|
221
315
|
timeEnterMode: import("vue").Ref<boolean>;
|
222
|
-
shortcut: any
|
316
|
+
shortcut: import("vue").Ref<any>;
|
223
317
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
224
318
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
|
225
319
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -266,66 +360,113 @@ declare const BkDatePicker: {
|
|
266
360
|
$forceUpdate: () => void;
|
267
361
|
$nextTick: typeof import("vue").nextTick;
|
268
362
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
269
|
-
} & Readonly<{
|
270
|
-
readonly type
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
readonly
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
readonly
|
280
|
-
readonly
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
readonly
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
readonly
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
readonly
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
readonly
|
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
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
363
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
364
|
+
readonly type: {
|
365
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
366
|
+
readonly default: "date";
|
367
|
+
readonly validator: (value: any) => boolean;
|
368
|
+
};
|
369
|
+
readonly extPopoverCls: {
|
370
|
+
readonly type: StringConstructor;
|
371
|
+
readonly default: "";
|
372
|
+
};
|
373
|
+
readonly format: StringConstructor;
|
374
|
+
readonly readonly: {
|
375
|
+
readonly type: BooleanConstructor;
|
376
|
+
readonly default: false;
|
377
|
+
};
|
378
|
+
readonly disabled: {
|
379
|
+
readonly type: BooleanConstructor;
|
380
|
+
readonly default: false;
|
381
|
+
};
|
382
|
+
readonly editable: {
|
383
|
+
readonly type: BooleanConstructor;
|
384
|
+
readonly default: true;
|
385
|
+
};
|
386
|
+
readonly clearable: {
|
387
|
+
readonly type: BooleanConstructor;
|
388
|
+
readonly default: true;
|
389
|
+
};
|
390
|
+
readonly open: {
|
391
|
+
readonly type: BooleanConstructor;
|
392
|
+
readonly default: any;
|
393
|
+
};
|
394
|
+
readonly multiple: {
|
395
|
+
readonly type: BooleanConstructor;
|
396
|
+
readonly default: false;
|
397
|
+
};
|
398
|
+
readonly timePickerOptions: {
|
399
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
400
|
+
readonly default: () => {};
|
401
|
+
};
|
402
|
+
readonly splitPanels: {
|
403
|
+
readonly type: BooleanConstructor;
|
404
|
+
readonly default: true;
|
405
|
+
};
|
406
|
+
readonly startDate: DateConstructor;
|
407
|
+
readonly placeholder: {
|
408
|
+
readonly type: StringConstructor;
|
409
|
+
readonly default: "";
|
410
|
+
};
|
411
|
+
readonly placement: {
|
412
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
413
|
+
readonly default: "bottom-start";
|
414
|
+
readonly validator: (value: any) => boolean;
|
415
|
+
};
|
416
|
+
readonly transfer: {
|
417
|
+
readonly type: BooleanConstructor;
|
418
|
+
readonly default: false;
|
419
|
+
};
|
420
|
+
readonly appendToBody: {
|
421
|
+
readonly type: BooleanConstructor;
|
422
|
+
readonly default: false;
|
423
|
+
};
|
424
|
+
readonly shortcuts: {
|
425
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
426
|
+
readonly default: () => any[];
|
427
|
+
};
|
428
|
+
readonly shortcutClose: {
|
429
|
+
readonly type: BooleanConstructor;
|
430
|
+
readonly default: false;
|
431
|
+
};
|
432
|
+
readonly modelValue: {
|
433
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
434
|
+
};
|
435
|
+
readonly options: {
|
436
|
+
readonly type: ObjectConstructor;
|
437
|
+
readonly default: () => {};
|
438
|
+
};
|
439
|
+
readonly fontSize: {
|
440
|
+
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
441
|
+
readonly default: "normal";
|
442
|
+
};
|
443
|
+
readonly upToNow: {
|
444
|
+
readonly type: BooleanConstructor;
|
445
|
+
readonly default: false;
|
446
|
+
};
|
447
|
+
readonly useShortcutText: {
|
448
|
+
readonly type: BooleanConstructor;
|
449
|
+
readonly default: false;
|
450
|
+
};
|
451
|
+
readonly shortcutSelectedIndex: {
|
452
|
+
readonly type: NumberConstructor;
|
453
|
+
readonly default: -1;
|
454
|
+
};
|
455
|
+
readonly footerSlotCls: {
|
456
|
+
readonly type: StringConstructor;
|
457
|
+
readonly default: "";
|
458
|
+
};
|
459
|
+
readonly allowCrossDay: {
|
460
|
+
readonly type: BooleanConstructor;
|
461
|
+
readonly default: false;
|
462
|
+
};
|
463
|
+
readonly behavior: {
|
464
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
465
|
+
readonly default: "normal";
|
466
|
+
readonly validator: (v: any) => boolean;
|
467
|
+
};
|
468
|
+
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
469
|
+
}>> & {
|
329
470
|
onChange?: (...args: any[]) => any;
|
330
471
|
onInput?: (...args: any[]) => any;
|
331
472
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -362,13 +503,13 @@ declare const BkDatePicker: {
|
|
362
503
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
363
504
|
showClose: import("vue").Ref<boolean>;
|
364
505
|
visible: import("vue").Ref<boolean>;
|
365
|
-
internalValue: any
|
506
|
+
internalValue: import("vue").Ref<any>;
|
366
507
|
disableClickOutSide: import("vue").Ref<boolean>;
|
367
508
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
368
509
|
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
369
510
|
forceInputRerender: import("vue").Ref<number>;
|
370
511
|
isFocused: import("vue").Ref<boolean>;
|
371
|
-
focusedDate: any
|
512
|
+
focusedDate: import("vue").Ref<any>;
|
372
513
|
focusedTime: import("vue").Ref<{
|
373
514
|
column: number;
|
374
515
|
picker: number;
|
@@ -377,72 +518,119 @@ declare const BkDatePicker: {
|
|
377
518
|
}>;
|
378
519
|
internalFocus: import("vue").Ref<boolean>;
|
379
520
|
timeEnterMode: import("vue").Ref<boolean>;
|
380
|
-
shortcut: any
|
521
|
+
shortcut: import("vue").Ref<any>;
|
381
522
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
382
523
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
383
524
|
__isFragment?: never;
|
384
525
|
__isTeleport?: never;
|
385
526
|
__isSuspense?: never;
|
386
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
387
|
-
readonly type
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
readonly
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
readonly
|
397
|
-
readonly
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
readonly
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
readonly
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
readonly
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
readonly
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
527
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
528
|
+
readonly type: {
|
529
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
530
|
+
readonly default: "date";
|
531
|
+
readonly validator: (value: any) => boolean;
|
532
|
+
};
|
533
|
+
readonly extPopoverCls: {
|
534
|
+
readonly type: StringConstructor;
|
535
|
+
readonly default: "";
|
536
|
+
};
|
537
|
+
readonly format: StringConstructor;
|
538
|
+
readonly readonly: {
|
539
|
+
readonly type: BooleanConstructor;
|
540
|
+
readonly default: false;
|
541
|
+
};
|
542
|
+
readonly disabled: {
|
543
|
+
readonly type: BooleanConstructor;
|
544
|
+
readonly default: false;
|
545
|
+
};
|
546
|
+
readonly editable: {
|
547
|
+
readonly type: BooleanConstructor;
|
548
|
+
readonly default: true;
|
549
|
+
};
|
550
|
+
readonly clearable: {
|
551
|
+
readonly type: BooleanConstructor;
|
552
|
+
readonly default: true;
|
553
|
+
};
|
554
|
+
readonly open: {
|
555
|
+
readonly type: BooleanConstructor;
|
556
|
+
readonly default: any;
|
557
|
+
};
|
558
|
+
readonly multiple: {
|
559
|
+
readonly type: BooleanConstructor;
|
560
|
+
readonly default: false;
|
561
|
+
};
|
562
|
+
readonly timePickerOptions: {
|
563
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
564
|
+
readonly default: () => {};
|
565
|
+
};
|
566
|
+
readonly splitPanels: {
|
567
|
+
readonly type: BooleanConstructor;
|
568
|
+
readonly default: true;
|
569
|
+
};
|
570
|
+
readonly startDate: DateConstructor;
|
571
|
+
readonly placeholder: {
|
572
|
+
readonly type: StringConstructor;
|
573
|
+
readonly default: "";
|
574
|
+
};
|
575
|
+
readonly placement: {
|
576
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
577
|
+
readonly default: "bottom-start";
|
578
|
+
readonly validator: (value: any) => boolean;
|
579
|
+
};
|
580
|
+
readonly transfer: {
|
581
|
+
readonly type: BooleanConstructor;
|
582
|
+
readonly default: false;
|
583
|
+
};
|
584
|
+
readonly appendToBody: {
|
585
|
+
readonly type: BooleanConstructor;
|
586
|
+
readonly default: false;
|
587
|
+
};
|
588
|
+
readonly shortcuts: {
|
589
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
590
|
+
readonly default: () => any[];
|
591
|
+
};
|
592
|
+
readonly shortcutClose: {
|
593
|
+
readonly type: BooleanConstructor;
|
594
|
+
readonly default: false;
|
595
|
+
};
|
596
|
+
readonly modelValue: {
|
597
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
598
|
+
};
|
599
|
+
readonly options: {
|
600
|
+
readonly type: ObjectConstructor;
|
601
|
+
readonly default: () => {};
|
602
|
+
};
|
603
|
+
readonly fontSize: {
|
604
|
+
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
605
|
+
readonly default: "normal";
|
606
|
+
};
|
607
|
+
readonly upToNow: {
|
608
|
+
readonly type: BooleanConstructor;
|
609
|
+
readonly default: false;
|
610
|
+
};
|
611
|
+
readonly useShortcutText: {
|
612
|
+
readonly type: BooleanConstructor;
|
613
|
+
readonly default: false;
|
614
|
+
};
|
615
|
+
readonly shortcutSelectedIndex: {
|
616
|
+
readonly type: NumberConstructor;
|
617
|
+
readonly default: -1;
|
618
|
+
};
|
619
|
+
readonly footerSlotCls: {
|
620
|
+
readonly type: StringConstructor;
|
621
|
+
readonly default: "";
|
622
|
+
};
|
623
|
+
readonly allowCrossDay: {
|
624
|
+
readonly type: BooleanConstructor;
|
625
|
+
readonly default: false;
|
626
|
+
};
|
627
|
+
readonly behavior: {
|
628
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
629
|
+
readonly default: "normal";
|
630
|
+
readonly validator: (v: any) => boolean;
|
631
|
+
};
|
632
|
+
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
633
|
+
}>> & {
|
446
634
|
onChange?: (...args: any[]) => any;
|
447
635
|
onInput?: (...args: any[]) => any;
|
448
636
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -479,13 +667,13 @@ declare const BkDatePicker: {
|
|
479
667
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
480
668
|
showClose: import("vue").Ref<boolean>;
|
481
669
|
visible: import("vue").Ref<boolean>;
|
482
|
-
internalValue: any
|
670
|
+
internalValue: import("vue").Ref<any>;
|
483
671
|
disableClickOutSide: import("vue").Ref<boolean>;
|
484
672
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
485
673
|
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
486
674
|
forceInputRerender: import("vue").Ref<number>;
|
487
675
|
isFocused: import("vue").Ref<boolean>;
|
488
|
-
focusedDate: any
|
676
|
+
focusedDate: import("vue").Ref<any>;
|
489
677
|
focusedTime: import("vue").Ref<{
|
490
678
|
column: number;
|
491
679
|
picker: number;
|
@@ -494,7 +682,7 @@ declare const BkDatePicker: {
|
|
494
682
|
}>;
|
495
683
|
internalFocus: import("vue").Ref<boolean>;
|
496
684
|
timeEnterMode: import("vue").Ref<boolean>;
|
497
|
-
shortcut: any
|
685
|
+
shortcut: import("vue").Ref<any>;
|
498
686
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
499
687
|
}, 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", {
|
500
688
|
placement: import("@popperjs/core").ComputedPlacement;
|