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
@@ -1,559 +1,4 @@
|
|
1
|
-
declare const BkDatePicker: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
$: import("vue").ComponentInternalInstance;
|
4
|
-
$data: {};
|
5
|
-
$props: Partial<{
|
6
|
-
placement: import("@popperjs/core").ComputedPlacement;
|
7
|
-
options: Record<string, any>;
|
8
|
-
type: import("./interface").PickerTypeType;
|
9
|
-
disabled: boolean;
|
10
|
-
placeholder: string;
|
11
|
-
fontSize: "large" | "normal" | "medium";
|
12
|
-
open: boolean;
|
13
|
-
multiple: boolean;
|
14
|
-
clearable: boolean;
|
15
|
-
readonly: boolean;
|
16
|
-
behavior: "normal" | "simplicity";
|
17
|
-
extPopoverCls: string;
|
18
|
-
editable: boolean;
|
19
|
-
timePickerOptions: {};
|
20
|
-
splitPanels: boolean;
|
21
|
-
transfer: boolean;
|
22
|
-
appendToBody: boolean;
|
23
|
-
shortcuts: import("./interface").DatePickerShortcutsType;
|
24
|
-
shortcutClose: boolean;
|
25
|
-
upToNow: boolean;
|
26
|
-
useShortcutText: boolean;
|
27
|
-
shortcutSelectedIndex: number;
|
28
|
-
headerSlotCls: string;
|
29
|
-
footerSlotCls: string;
|
30
|
-
allowCrossDay: boolean;
|
31
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
32
|
-
readonly type: {
|
33
|
-
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
34
|
-
readonly default: "date";
|
35
|
-
readonly validator: (value: any) => boolean;
|
36
|
-
};
|
37
|
-
readonly extPopoverCls: {
|
38
|
-
readonly type: StringConstructor;
|
39
|
-
readonly default: "";
|
40
|
-
};
|
41
|
-
readonly format: StringConstructor;
|
42
|
-
readonly readonly: {
|
43
|
-
readonly type: BooleanConstructor;
|
44
|
-
readonly default: false;
|
45
|
-
};
|
46
|
-
readonly disabled: {
|
47
|
-
readonly type: BooleanConstructor;
|
48
|
-
readonly default: false;
|
49
|
-
};
|
50
|
-
readonly editable: {
|
51
|
-
readonly type: BooleanConstructor;
|
52
|
-
readonly default: true;
|
53
|
-
};
|
54
|
-
readonly clearable: {
|
55
|
-
readonly type: BooleanConstructor;
|
56
|
-
readonly default: true;
|
57
|
-
};
|
58
|
-
readonly open: {
|
59
|
-
readonly type: BooleanConstructor;
|
60
|
-
readonly default: any;
|
61
|
-
};
|
62
|
-
readonly multiple: {
|
63
|
-
readonly type: BooleanConstructor;
|
64
|
-
readonly default: false;
|
65
|
-
};
|
66
|
-
readonly timePickerOptions: {
|
67
|
-
readonly type: import("vue").PropType<Record<string, any>>;
|
68
|
-
readonly default: () => {};
|
69
|
-
};
|
70
|
-
readonly splitPanels: {
|
71
|
-
readonly type: BooleanConstructor;
|
72
|
-
readonly default: true;
|
73
|
-
};
|
74
|
-
readonly startDate: DateConstructor;
|
75
|
-
readonly placeholder: {
|
76
|
-
readonly type: StringConstructor;
|
77
|
-
readonly default: "";
|
78
|
-
};
|
79
|
-
readonly placement: {
|
80
|
-
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
81
|
-
readonly default: "bottom-start";
|
82
|
-
readonly validator: (value: any) => boolean;
|
83
|
-
};
|
84
|
-
readonly transfer: {
|
85
|
-
readonly type: BooleanConstructor;
|
86
|
-
readonly default: false;
|
87
|
-
};
|
88
|
-
readonly appendToBody: {
|
89
|
-
readonly type: BooleanConstructor;
|
90
|
-
readonly default: false;
|
91
|
-
};
|
92
|
-
readonly shortcuts: {
|
93
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
94
|
-
readonly default: () => any[];
|
95
|
-
};
|
96
|
-
readonly shortcutClose: {
|
97
|
-
readonly type: BooleanConstructor;
|
98
|
-
readonly default: false;
|
99
|
-
};
|
100
|
-
readonly modelValue: {
|
101
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
102
|
-
};
|
103
|
-
readonly value: {
|
104
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
105
|
-
};
|
106
|
-
readonly options: {
|
107
|
-
readonly type: ObjectConstructor;
|
108
|
-
readonly default: () => {};
|
109
|
-
};
|
110
|
-
readonly fontSize: {
|
111
|
-
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
112
|
-
readonly default: "normal";
|
113
|
-
};
|
114
|
-
readonly upToNow: {
|
115
|
-
readonly type: BooleanConstructor;
|
116
|
-
readonly default: false;
|
117
|
-
};
|
118
|
-
readonly useShortcutText: {
|
119
|
-
readonly type: BooleanConstructor;
|
120
|
-
readonly default: false;
|
121
|
-
};
|
122
|
-
readonly shortcutSelectedIndex: {
|
123
|
-
readonly type: NumberConstructor;
|
124
|
-
readonly default: -1;
|
125
|
-
};
|
126
|
-
readonly headerSlotCls: {
|
127
|
-
readonly type: StringConstructor;
|
128
|
-
readonly default: "";
|
129
|
-
};
|
130
|
-
readonly footerSlotCls: {
|
131
|
-
readonly type: StringConstructor;
|
132
|
-
readonly default: "";
|
133
|
-
};
|
134
|
-
readonly allowCrossDay: {
|
135
|
-
readonly type: BooleanConstructor;
|
136
|
-
readonly default: false;
|
137
|
-
};
|
138
|
-
readonly behavior: {
|
139
|
-
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
140
|
-
readonly default: "normal";
|
141
|
-
readonly validator: (v: any) => boolean;
|
142
|
-
};
|
143
|
-
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
144
|
-
}>> & {
|
145
|
-
onChange?: (...args: any[]) => any;
|
146
|
-
onInput?: (...args: any[]) => any;
|
147
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
148
|
-
onClear?: (...args: any[]) => any;
|
149
|
-
"onPick-success"?: (...args: any[]) => any;
|
150
|
-
"onOpen-change"?: (...args: any[]) => any;
|
151
|
-
"onShortcut-change"?: (...args: any[]) => any;
|
152
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "options" | "type" | "disabled" | "placeholder" | "fontSize" | "open" | "multiple" | "clearable" | "readonly" | "behavior" | "extPopoverCls" | "editable" | "timePickerOptions" | "splitPanels" | "transfer" | "appendToBody" | "shortcuts" | "shortcutClose" | "upToNow" | "useShortcutText" | "shortcutSelectedIndex" | "headerSlotCls" | "footerSlotCls" | "allowCrossDay">;
|
153
|
-
$attrs: {
|
154
|
-
[x: string]: unknown;
|
155
|
-
};
|
156
|
-
$refs: {
|
157
|
-
[x: string]: unknown;
|
158
|
-
};
|
159
|
-
$slots: Readonly<{
|
160
|
-
[name: string]: import("vue").Slot;
|
161
|
-
}>;
|
162
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
163
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
164
|
-
$emit: (event: "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
165
|
-
$el: any;
|
166
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
167
|
-
readonly type: {
|
168
|
-
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
169
|
-
readonly default: "date";
|
170
|
-
readonly validator: (value: any) => boolean;
|
171
|
-
};
|
172
|
-
readonly extPopoverCls: {
|
173
|
-
readonly type: StringConstructor;
|
174
|
-
readonly default: "";
|
175
|
-
};
|
176
|
-
readonly format: StringConstructor;
|
177
|
-
readonly readonly: {
|
178
|
-
readonly type: BooleanConstructor;
|
179
|
-
readonly default: false;
|
180
|
-
};
|
181
|
-
readonly disabled: {
|
182
|
-
readonly type: BooleanConstructor;
|
183
|
-
readonly default: false;
|
184
|
-
};
|
185
|
-
readonly editable: {
|
186
|
-
readonly type: BooleanConstructor;
|
187
|
-
readonly default: true;
|
188
|
-
};
|
189
|
-
readonly clearable: {
|
190
|
-
readonly type: BooleanConstructor;
|
191
|
-
readonly default: true;
|
192
|
-
};
|
193
|
-
readonly open: {
|
194
|
-
readonly type: BooleanConstructor;
|
195
|
-
readonly default: any;
|
196
|
-
};
|
197
|
-
readonly multiple: {
|
198
|
-
readonly type: BooleanConstructor;
|
199
|
-
readonly default: false;
|
200
|
-
};
|
201
|
-
readonly timePickerOptions: {
|
202
|
-
readonly type: import("vue").PropType<Record<string, any>>;
|
203
|
-
readonly default: () => {};
|
204
|
-
};
|
205
|
-
readonly splitPanels: {
|
206
|
-
readonly type: BooleanConstructor;
|
207
|
-
readonly default: true;
|
208
|
-
};
|
209
|
-
readonly startDate: DateConstructor;
|
210
|
-
readonly placeholder: {
|
211
|
-
readonly type: StringConstructor;
|
212
|
-
readonly default: "";
|
213
|
-
};
|
214
|
-
readonly placement: {
|
215
|
-
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
216
|
-
readonly default: "bottom-start";
|
217
|
-
readonly validator: (value: any) => boolean;
|
218
|
-
};
|
219
|
-
readonly transfer: {
|
220
|
-
readonly type: BooleanConstructor;
|
221
|
-
readonly default: false;
|
222
|
-
};
|
223
|
-
readonly appendToBody: {
|
224
|
-
readonly type: BooleanConstructor;
|
225
|
-
readonly default: false;
|
226
|
-
};
|
227
|
-
readonly shortcuts: {
|
228
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
229
|
-
readonly default: () => any[];
|
230
|
-
};
|
231
|
-
readonly shortcutClose: {
|
232
|
-
readonly type: BooleanConstructor;
|
233
|
-
readonly default: false;
|
234
|
-
};
|
235
|
-
readonly modelValue: {
|
236
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
237
|
-
};
|
238
|
-
readonly value: {
|
239
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
240
|
-
};
|
241
|
-
readonly options: {
|
242
|
-
readonly type: ObjectConstructor;
|
243
|
-
readonly default: () => {};
|
244
|
-
};
|
245
|
-
readonly fontSize: {
|
246
|
-
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
247
|
-
readonly default: "normal";
|
248
|
-
};
|
249
|
-
readonly upToNow: {
|
250
|
-
readonly type: BooleanConstructor;
|
251
|
-
readonly default: false;
|
252
|
-
};
|
253
|
-
readonly useShortcutText: {
|
254
|
-
readonly type: BooleanConstructor;
|
255
|
-
readonly default: false;
|
256
|
-
};
|
257
|
-
readonly shortcutSelectedIndex: {
|
258
|
-
readonly type: NumberConstructor;
|
259
|
-
readonly default: -1;
|
260
|
-
};
|
261
|
-
readonly headerSlotCls: {
|
262
|
-
readonly type: StringConstructor;
|
263
|
-
readonly default: "";
|
264
|
-
};
|
265
|
-
readonly footerSlotCls: {
|
266
|
-
readonly type: StringConstructor;
|
267
|
-
readonly default: "";
|
268
|
-
};
|
269
|
-
readonly allowCrossDay: {
|
270
|
-
readonly type: BooleanConstructor;
|
271
|
-
readonly default: false;
|
272
|
-
};
|
273
|
-
readonly behavior: {
|
274
|
-
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
275
|
-
readonly default: "normal";
|
276
|
-
readonly validator: (v: any) => boolean;
|
277
|
-
};
|
278
|
-
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
279
|
-
}>> & {
|
280
|
-
onChange?: (...args: any[]) => any;
|
281
|
-
onInput?: (...args: any[]) => any;
|
282
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
283
|
-
onClear?: (...args: any[]) => any;
|
284
|
-
"onPick-success"?: (...args: any[]) => any;
|
285
|
-
"onOpen-change"?: (...args: any[]) => any;
|
286
|
-
"onShortcut-change"?: (...args: any[]) => any;
|
287
|
-
}, {
|
288
|
-
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
289
|
-
publicStringValue: import("vue").ComputedRef<any>;
|
290
|
-
opened: import("vue").ComputedRef<boolean>;
|
291
|
-
visualValue: import("vue").ComputedRef<any>;
|
292
|
-
displayValue: import("vue").ComputedRef<any>;
|
293
|
-
isConfirm: import("vue").ComputedRef<boolean>;
|
294
|
-
hasHeader: import("vue").ComputedRef<boolean>;
|
295
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
296
|
-
hasShortcuts: import("vue").ComputedRef<boolean>;
|
297
|
-
fontSizeCls: import("vue").ComputedRef<string>;
|
298
|
-
longWidthCls: import("vue").ComputedRef<string>;
|
299
|
-
localReadonly: import("vue").ComputedRef<boolean>;
|
300
|
-
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
301
|
-
pickerDropdownRef: any;
|
302
|
-
inputRef: any;
|
303
|
-
triggerRef: import("vue").Ref<HTMLElement>;
|
304
|
-
pickerPanelRef: any;
|
305
|
-
handleClose: (e?: Event) => boolean;
|
306
|
-
handleIconClick: () => void;
|
307
|
-
handleInputMouseenter: () => void;
|
308
|
-
handleInputMouseleave: (_e: any) => void;
|
309
|
-
handleFocus: (e: any) => void;
|
310
|
-
handleBlur: (e: any) => void;
|
311
|
-
handleKeydown: (e: KeyboardEvent) => void;
|
312
|
-
handleInputChange: (e: any) => void;
|
313
|
-
handleClear: () => void;
|
314
|
-
handleTransferClick: () => void;
|
315
|
-
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
316
|
-
onPickSuccess: () => void;
|
317
|
-
showClose: import("vue").Ref<boolean>;
|
318
|
-
visible: import("vue").Ref<boolean>;
|
319
|
-
internalValue: import("vue").Ref<any>;
|
320
|
-
disableClickOutSide: import("vue").Ref<boolean>;
|
321
|
-
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
322
|
-
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
323
|
-
forceInputRerender: import("vue").Ref<number>;
|
324
|
-
isFocused: import("vue").Ref<boolean>;
|
325
|
-
focusedDate: import("vue").Ref<any>;
|
326
|
-
focusedTime: import("vue").Ref<{
|
327
|
-
column: number;
|
328
|
-
picker: number;
|
329
|
-
time: any;
|
330
|
-
active: boolean;
|
331
|
-
}>;
|
332
|
-
internalFocus: import("vue").Ref<boolean>;
|
333
|
-
timeEnterMode: import("vue").Ref<boolean>;
|
334
|
-
shortcut: import("vue").Ref<any>;
|
335
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
336
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
|
337
|
-
placement: import("@popperjs/core").ComputedPlacement;
|
338
|
-
options: Record<string, any>;
|
339
|
-
type: import("./interface").PickerTypeType;
|
340
|
-
disabled: boolean;
|
341
|
-
placeholder: string;
|
342
|
-
fontSize: "large" | "normal" | "medium";
|
343
|
-
open: boolean;
|
344
|
-
multiple: boolean;
|
345
|
-
clearable: boolean;
|
346
|
-
readonly: boolean;
|
347
|
-
behavior: "normal" | "simplicity";
|
348
|
-
extPopoverCls: string;
|
349
|
-
editable: boolean;
|
350
|
-
timePickerOptions: {};
|
351
|
-
splitPanels: boolean;
|
352
|
-
transfer: boolean;
|
353
|
-
appendToBody: boolean;
|
354
|
-
shortcuts: import("./interface").DatePickerShortcutsType;
|
355
|
-
shortcutClose: boolean;
|
356
|
-
upToNow: boolean;
|
357
|
-
useShortcutText: boolean;
|
358
|
-
shortcutSelectedIndex: number;
|
359
|
-
headerSlotCls: string;
|
360
|
-
footerSlotCls: string;
|
361
|
-
allowCrossDay: boolean;
|
362
|
-
}> & {
|
363
|
-
beforeCreate?: (() => void) | (() => void)[];
|
364
|
-
created?: (() => void) | (() => void)[];
|
365
|
-
beforeMount?: (() => void) | (() => void)[];
|
366
|
-
mounted?: (() => void) | (() => void)[];
|
367
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
368
|
-
updated?: (() => void) | (() => void)[];
|
369
|
-
activated?: (() => void) | (() => void)[];
|
370
|
-
deactivated?: (() => void) | (() => void)[];
|
371
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
372
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
373
|
-
destroyed?: (() => void) | (() => void)[];
|
374
|
-
unmounted?: (() => void) | (() => void)[];
|
375
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
376
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
377
|
-
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)[];
|
378
|
-
};
|
379
|
-
$forceUpdate: () => void;
|
380
|
-
$nextTick: typeof import("vue").nextTick;
|
381
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
382
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
383
|
-
readonly type: {
|
384
|
-
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
385
|
-
readonly default: "date";
|
386
|
-
readonly validator: (value: any) => boolean;
|
387
|
-
};
|
388
|
-
readonly extPopoverCls: {
|
389
|
-
readonly type: StringConstructor;
|
390
|
-
readonly default: "";
|
391
|
-
};
|
392
|
-
readonly format: StringConstructor;
|
393
|
-
readonly readonly: {
|
394
|
-
readonly type: BooleanConstructor;
|
395
|
-
readonly default: false;
|
396
|
-
};
|
397
|
-
readonly disabled: {
|
398
|
-
readonly type: BooleanConstructor;
|
399
|
-
readonly default: false;
|
400
|
-
};
|
401
|
-
readonly editable: {
|
402
|
-
readonly type: BooleanConstructor;
|
403
|
-
readonly default: true;
|
404
|
-
};
|
405
|
-
readonly clearable: {
|
406
|
-
readonly type: BooleanConstructor;
|
407
|
-
readonly default: true;
|
408
|
-
};
|
409
|
-
readonly open: {
|
410
|
-
readonly type: BooleanConstructor;
|
411
|
-
readonly default: any;
|
412
|
-
};
|
413
|
-
readonly multiple: {
|
414
|
-
readonly type: BooleanConstructor;
|
415
|
-
readonly default: false;
|
416
|
-
};
|
417
|
-
readonly timePickerOptions: {
|
418
|
-
readonly type: import("vue").PropType<Record<string, any>>;
|
419
|
-
readonly default: () => {};
|
420
|
-
};
|
421
|
-
readonly splitPanels: {
|
422
|
-
readonly type: BooleanConstructor;
|
423
|
-
readonly default: true;
|
424
|
-
};
|
425
|
-
readonly startDate: DateConstructor;
|
426
|
-
readonly placeholder: {
|
427
|
-
readonly type: StringConstructor;
|
428
|
-
readonly default: "";
|
429
|
-
};
|
430
|
-
readonly placement: {
|
431
|
-
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
432
|
-
readonly default: "bottom-start";
|
433
|
-
readonly validator: (value: any) => boolean;
|
434
|
-
};
|
435
|
-
readonly transfer: {
|
436
|
-
readonly type: BooleanConstructor;
|
437
|
-
readonly default: false;
|
438
|
-
};
|
439
|
-
readonly appendToBody: {
|
440
|
-
readonly type: BooleanConstructor;
|
441
|
-
readonly default: false;
|
442
|
-
};
|
443
|
-
readonly shortcuts: {
|
444
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
445
|
-
readonly default: () => any[];
|
446
|
-
};
|
447
|
-
readonly shortcutClose: {
|
448
|
-
readonly type: BooleanConstructor;
|
449
|
-
readonly default: false;
|
450
|
-
};
|
451
|
-
readonly modelValue: {
|
452
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
453
|
-
};
|
454
|
-
readonly value: {
|
455
|
-
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
456
|
-
};
|
457
|
-
readonly options: {
|
458
|
-
readonly type: ObjectConstructor;
|
459
|
-
readonly default: () => {};
|
460
|
-
};
|
461
|
-
readonly fontSize: {
|
462
|
-
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
463
|
-
readonly default: "normal";
|
464
|
-
};
|
465
|
-
readonly upToNow: {
|
466
|
-
readonly type: BooleanConstructor;
|
467
|
-
readonly default: false;
|
468
|
-
};
|
469
|
-
readonly useShortcutText: {
|
470
|
-
readonly type: BooleanConstructor;
|
471
|
-
readonly default: false;
|
472
|
-
};
|
473
|
-
readonly shortcutSelectedIndex: {
|
474
|
-
readonly type: NumberConstructor;
|
475
|
-
readonly default: -1;
|
476
|
-
};
|
477
|
-
readonly headerSlotCls: {
|
478
|
-
readonly type: StringConstructor;
|
479
|
-
readonly default: "";
|
480
|
-
};
|
481
|
-
readonly footerSlotCls: {
|
482
|
-
readonly type: StringConstructor;
|
483
|
-
readonly default: "";
|
484
|
-
};
|
485
|
-
readonly allowCrossDay: {
|
486
|
-
readonly type: BooleanConstructor;
|
487
|
-
readonly default: false;
|
488
|
-
};
|
489
|
-
readonly behavior: {
|
490
|
-
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
491
|
-
readonly default: "normal";
|
492
|
-
readonly validator: (v: any) => boolean;
|
493
|
-
};
|
494
|
-
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
495
|
-
}>> & {
|
496
|
-
onChange?: (...args: any[]) => any;
|
497
|
-
onInput?: (...args: any[]) => any;
|
498
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
499
|
-
onClear?: (...args: any[]) => any;
|
500
|
-
"onPick-success"?: (...args: any[]) => any;
|
501
|
-
"onOpen-change"?: (...args: any[]) => any;
|
502
|
-
"onShortcut-change"?: (...args: any[]) => any;
|
503
|
-
} & import("vue").ShallowUnwrapRef<{
|
504
|
-
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
505
|
-
publicStringValue: import("vue").ComputedRef<any>;
|
506
|
-
opened: import("vue").ComputedRef<boolean>;
|
507
|
-
visualValue: import("vue").ComputedRef<any>;
|
508
|
-
displayValue: import("vue").ComputedRef<any>;
|
509
|
-
isConfirm: import("vue").ComputedRef<boolean>;
|
510
|
-
hasHeader: import("vue").ComputedRef<boolean>;
|
511
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
512
|
-
hasShortcuts: import("vue").ComputedRef<boolean>;
|
513
|
-
fontSizeCls: import("vue").ComputedRef<string>;
|
514
|
-
longWidthCls: import("vue").ComputedRef<string>;
|
515
|
-
localReadonly: import("vue").ComputedRef<boolean>;
|
516
|
-
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
517
|
-
pickerDropdownRef: any;
|
518
|
-
inputRef: any;
|
519
|
-
triggerRef: import("vue").Ref<HTMLElement>;
|
520
|
-
pickerPanelRef: any;
|
521
|
-
handleClose: (e?: Event) => boolean;
|
522
|
-
handleIconClick: () => void;
|
523
|
-
handleInputMouseenter: () => void;
|
524
|
-
handleInputMouseleave: (_e: any) => void;
|
525
|
-
handleFocus: (e: any) => void;
|
526
|
-
handleBlur: (e: any) => void;
|
527
|
-
handleKeydown: (e: KeyboardEvent) => void;
|
528
|
-
handleInputChange: (e: any) => void;
|
529
|
-
handleClear: () => void;
|
530
|
-
handleTransferClick: () => void;
|
531
|
-
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
532
|
-
onPickSuccess: () => void;
|
533
|
-
showClose: import("vue").Ref<boolean>;
|
534
|
-
visible: import("vue").Ref<boolean>;
|
535
|
-
internalValue: import("vue").Ref<any>;
|
536
|
-
disableClickOutSide: import("vue").Ref<boolean>;
|
537
|
-
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
538
|
-
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
539
|
-
forceInputRerender: import("vue").Ref<number>;
|
540
|
-
isFocused: import("vue").Ref<boolean>;
|
541
|
-
focusedDate: import("vue").Ref<any>;
|
542
|
-
focusedTime: import("vue").Ref<{
|
543
|
-
column: number;
|
544
|
-
picker: number;
|
545
|
-
time: any;
|
546
|
-
active: boolean;
|
547
|
-
}>;
|
548
|
-
internalFocus: import("vue").Ref<boolean>;
|
549
|
-
timeEnterMode: import("vue").Ref<boolean>;
|
550
|
-
shortcut: import("vue").Ref<any>;
|
551
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
552
|
-
}> & {} & {} & import("vue").ComponentCustomProperties;
|
553
|
-
__isFragment?: never;
|
554
|
-
__isTeleport?: never;
|
555
|
-
__isSuspense?: never;
|
556
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1
|
+
declare const BkDatePicker: import("vue").DefineComponent<{
|
557
2
|
readonly type: {
|
558
3
|
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
559
4
|
readonly default: "date";
|
@@ -666,14 +111,6 @@ declare const BkDatePicker: {
|
|
666
111
|
readonly validator: (v: any) => boolean;
|
667
112
|
};
|
668
113
|
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
669
|
-
}>> & {
|
670
|
-
onChange?: (...args: any[]) => any;
|
671
|
-
onInput?: (...args: any[]) => any;
|
672
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
673
|
-
onClear?: (...args: any[]) => any;
|
674
|
-
"onPick-success"?: (...args: any[]) => any;
|
675
|
-
"onOpen-change"?: (...args: any[]) => any;
|
676
|
-
"onShortcut-change"?: (...args: any[]) => any;
|
677
114
|
}, {
|
678
115
|
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
679
116
|
publicStringValue: import("vue").ComputedRef<any>;
|
@@ -723,7 +160,128 @@ declare const BkDatePicker: {
|
|
723
160
|
timeEnterMode: import("vue").Ref<boolean>;
|
724
161
|
shortcut: import("vue").Ref<any>;
|
725
162
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
726
|
-
}, 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", {
|
163
|
+
}, 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<import("vue").ExtractPropTypes<{
|
164
|
+
readonly type: {
|
165
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
166
|
+
readonly default: "date";
|
167
|
+
readonly validator: (value: any) => boolean;
|
168
|
+
};
|
169
|
+
readonly extPopoverCls: {
|
170
|
+
readonly type: StringConstructor;
|
171
|
+
readonly default: "";
|
172
|
+
};
|
173
|
+
readonly format: StringConstructor;
|
174
|
+
readonly readonly: {
|
175
|
+
readonly type: BooleanConstructor;
|
176
|
+
readonly default: false;
|
177
|
+
};
|
178
|
+
readonly disabled: {
|
179
|
+
readonly type: BooleanConstructor;
|
180
|
+
readonly default: false;
|
181
|
+
};
|
182
|
+
readonly editable: {
|
183
|
+
readonly type: BooleanConstructor;
|
184
|
+
readonly default: true;
|
185
|
+
};
|
186
|
+
readonly clearable: {
|
187
|
+
readonly type: BooleanConstructor;
|
188
|
+
readonly default: true;
|
189
|
+
};
|
190
|
+
readonly open: {
|
191
|
+
readonly type: BooleanConstructor;
|
192
|
+
readonly default: any;
|
193
|
+
};
|
194
|
+
readonly multiple: {
|
195
|
+
readonly type: BooleanConstructor;
|
196
|
+
readonly default: false;
|
197
|
+
};
|
198
|
+
readonly timePickerOptions: {
|
199
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
200
|
+
readonly default: () => {};
|
201
|
+
};
|
202
|
+
readonly splitPanels: {
|
203
|
+
readonly type: BooleanConstructor;
|
204
|
+
readonly default: true;
|
205
|
+
};
|
206
|
+
readonly startDate: DateConstructor;
|
207
|
+
readonly placeholder: {
|
208
|
+
readonly type: StringConstructor;
|
209
|
+
readonly default: "";
|
210
|
+
};
|
211
|
+
readonly placement: {
|
212
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
213
|
+
readonly default: "bottom-start";
|
214
|
+
readonly validator: (value: any) => boolean;
|
215
|
+
};
|
216
|
+
readonly transfer: {
|
217
|
+
readonly type: BooleanConstructor;
|
218
|
+
readonly default: false;
|
219
|
+
};
|
220
|
+
readonly appendToBody: {
|
221
|
+
readonly type: BooleanConstructor;
|
222
|
+
readonly default: false;
|
223
|
+
};
|
224
|
+
readonly shortcuts: {
|
225
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
226
|
+
readonly default: () => any[];
|
227
|
+
};
|
228
|
+
readonly shortcutClose: {
|
229
|
+
readonly type: BooleanConstructor;
|
230
|
+
readonly default: false;
|
231
|
+
};
|
232
|
+
readonly modelValue: {
|
233
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
234
|
+
};
|
235
|
+
readonly value: {
|
236
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
237
|
+
};
|
238
|
+
readonly options: {
|
239
|
+
readonly type: ObjectConstructor;
|
240
|
+
readonly default: () => {};
|
241
|
+
};
|
242
|
+
readonly fontSize: {
|
243
|
+
readonly type: import("vue").PropType<"large" | "normal" | "medium">;
|
244
|
+
readonly default: "normal";
|
245
|
+
};
|
246
|
+
readonly upToNow: {
|
247
|
+
readonly type: BooleanConstructor;
|
248
|
+
readonly default: false;
|
249
|
+
};
|
250
|
+
readonly useShortcutText: {
|
251
|
+
readonly type: BooleanConstructor;
|
252
|
+
readonly default: false;
|
253
|
+
};
|
254
|
+
readonly shortcutSelectedIndex: {
|
255
|
+
readonly type: NumberConstructor;
|
256
|
+
readonly default: -1;
|
257
|
+
};
|
258
|
+
readonly headerSlotCls: {
|
259
|
+
readonly type: StringConstructor;
|
260
|
+
readonly default: "";
|
261
|
+
};
|
262
|
+
readonly footerSlotCls: {
|
263
|
+
readonly type: StringConstructor;
|
264
|
+
readonly default: "";
|
265
|
+
};
|
266
|
+
readonly allowCrossDay: {
|
267
|
+
readonly type: BooleanConstructor;
|
268
|
+
readonly default: false;
|
269
|
+
};
|
270
|
+
readonly behavior: {
|
271
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
272
|
+
readonly default: "normal";
|
273
|
+
readonly validator: (v: any) => boolean;
|
274
|
+
};
|
275
|
+
readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
|
276
|
+
}>> & {
|
277
|
+
onChange?: (...args: any[]) => any;
|
278
|
+
onInput?: (...args: any[]) => any;
|
279
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
280
|
+
onClear?: (...args: any[]) => any;
|
281
|
+
"onPick-success"?: (...args: any[]) => any;
|
282
|
+
"onOpen-change"?: (...args: any[]) => any;
|
283
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
284
|
+
}, {
|
727
285
|
placement: import("@popperjs/core").ComputedPlacement;
|
728
286
|
options: Record<string, any>;
|
729
287
|
type: import("./interface").PickerTypeType;
|
@@ -749,5 +307,5 @@ declare const BkDatePicker: {
|
|
749
307
|
headerSlotCls: string;
|
750
308
|
footerSlotCls: string;
|
751
309
|
allowCrossDay: boolean;
|
752
|
-
}
|
310
|
+
}>;
|
753
311
|
export default BkDatePicker;
|