bkui-vue 2.0.1-beta.112 → 2.0.1-beta.113
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 +54 -54
- package/dist/index.esm.js +13942 -13951
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +17 -17
- package/lib/alert/index.d.ts +126 -73
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/index.d.ts +117 -69
- package/lib/backtop/index.js +10 -11
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +155 -119
- package/lib/button/index.js +20 -19
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +354 -393
- package/lib/cascader/index.js +57 -59
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +175 -143
- package/lib/checkbox/index.js +45 -45
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +438 -381
- package/lib/collapse/index.d.ts +175 -156
- package/lib/collapse/index.js +27 -28
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +165 -144
- package/lib/color-picker/index.js +40 -42
- package/lib/config-provider/index.d.ts +227 -160
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +26 -28
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +351 -380
- package/lib/date-picker/index.js +79 -80
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +269 -299
- package/lib/dialog/index.js +228 -227
- package/lib/directives/index.js +29 -29
- package/lib/divider/index.d.ts +111 -57
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +136 -94
- package/lib/dropdown/index.js +22 -24
- package/lib/exception/index.d.ts +102 -41
- package/lib/exception/index.js +21 -21
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +132 -80
- package/lib/form/index.js +22 -21
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +26 -27
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +233 -232
- package/lib/input/index.d.ts +293 -326
- package/lib/input/index.js +48 -46
- package/lib/link/index.d.ts +122 -73
- package/lib/link/index.js +2 -2
- package/lib/loading/index.d.ts +156 -130
- package/lib/loading/index.js +33 -32
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +116 -55
- package/lib/menu/index.js +25 -26
- package/lib/message/index.js +25 -24
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +185 -171
- package/lib/modal/index.js +19 -19
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +7 -9
- package/lib/notify/index.js +21 -20
- package/lib/overflow-title/index.d.ts +256 -343
- package/lib/overflow-title/index.js +10 -11
- package/lib/pagination/index.d.ts +198 -184
- package/lib/pagination/index.js +56 -49
- package/lib/pop-confirm/index.d.ts +153 -115
- package/lib/pop-confirm/index.js +4 -5
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +359 -421
- package/lib/popover/index.js +122 -220
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +226 -226
- package/lib/progress/index.d.ts +187 -178
- package/lib/progress/index.js +21 -22
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +140 -91
- package/lib/radio/index.js +48 -46
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +20 -19
- package/lib/resize-layout/index.d.ts +192 -168
- package/lib/resize-layout/index.js +21 -20
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +38 -38
- package/lib/search-select/index.d.ts +901 -684
- package/lib/search-select/index.js +274 -274
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +188 -133
- package/lib/search-select/selected.d.ts +188 -133
- package/lib/select/index.d.ts +1333 -1491
- package/lib/select/index.js +280 -279
- package/lib/select/select.d.ts +169 -132
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +56 -54
- package/lib/sideslider/index.d.ts +201 -197
- package/lib/sideslider/index.js +228 -227
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +225 -226
- package/lib/steps/index.d.ts +149 -110
- package/lib/steps/index.js +231 -230
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +174 -152
- package/lib/switcher/index.js +22 -20
- package/lib/tab/index.d.ts +183 -151
- package/lib/tab/index.js +19 -20
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +362 -457
- package/lib/table/index.js +348 -336
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +150 -104
- package/lib/tag/index.d.ts +142 -95
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +540 -755
- package/lib/tag-input/index.js +58 -52
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +386 -439
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +206 -191
- package/lib/tree/index.d.ts +308 -350
- package/lib/tree/index.js +74 -71
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +273 -311
- package/lib/upload/index.js +264 -261
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +241 -333
- package/lib/virtual-render/index.js +29 -29
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
@@ -1,351 +1,348 @@
|
|
1
1
|
import PickerDropdown from './base/picker-dropdown';
|
2
2
|
import TimePicker from './time-picker';
|
3
3
|
declare const BkDatePicker: {
|
4
|
-
new (...args: any[]):
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
readonly
|
9
|
-
|
10
|
-
|
11
|
-
readonly
|
12
|
-
readonly
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
readonly
|
17
|
-
readonly
|
18
|
-
|
19
|
-
|
20
|
-
readonly
|
21
|
-
readonly
|
22
|
-
|
23
|
-
|
24
|
-
readonly
|
25
|
-
readonly
|
26
|
-
|
27
|
-
|
28
|
-
readonly
|
29
|
-
readonly
|
30
|
-
|
31
|
-
|
32
|
-
readonly
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
readonly
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
readonly
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
};
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
readonly behavior: {
|
108
|
-
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
109
|
-
readonly default: "normal";
|
110
|
-
readonly validator: (v: any) => boolean;
|
111
|
-
};
|
112
|
-
readonly disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
113
|
-
readonly withValidate: {
|
114
|
-
readonly type: BooleanConstructor;
|
115
|
-
readonly default: true;
|
116
|
-
};
|
117
|
-
}>> & {
|
118
|
-
onFocus?: (...args: any[]) => any;
|
119
|
-
onBlur?: (...args: any[]) => any;
|
120
|
-
onChange?: (...args: any[]) => any;
|
121
|
-
onInput?: (...args: any[]) => any;
|
122
|
-
onClear?: (...args: any[]) => any;
|
123
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
124
|
-
"onPick-success"?: (...args: any[]) => any;
|
125
|
-
"onPick-first"?: (...args: any[]) => any;
|
126
|
-
"onOpen-change"?: (...args: any[]) => any;
|
127
|
-
"onShortcut-change"?: (...args: any[]) => any;
|
128
|
-
}, {
|
129
|
-
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
130
|
-
publicStringValue: import("vue").ComputedRef<any>;
|
131
|
-
opened: import("vue").ComputedRef<boolean>;
|
132
|
-
visualValue: import("vue").ComputedRef<any>;
|
133
|
-
displayValue: import("vue").ComputedRef<any>;
|
134
|
-
isConfirm: import("vue").ComputedRef<boolean>;
|
135
|
-
hasHeader: import("vue").ComputedRef<boolean>;
|
136
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
137
|
-
hasShortcuts: import("vue").ComputedRef<boolean>;
|
138
|
-
hasConfirm: import("vue").ComputedRef<boolean>;
|
139
|
-
fontSizeCls: import("vue").ComputedRef<string>;
|
140
|
-
longWidthCls: import("vue").ComputedRef<string>;
|
141
|
-
localReadonly: import("vue").ComputedRef<boolean>;
|
142
|
-
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
143
|
-
teleportTo: import("vue").Ref<any>;
|
144
|
-
pickerDropdownRef: import("vue").Ref<any>;
|
145
|
-
inputRef: import("vue").Ref<any>;
|
146
|
-
triggerRef: import("vue").Ref<HTMLElement>;
|
147
|
-
pickerPanelRef: import("vue").Ref<any>;
|
148
|
-
handleClose: (e?: Event) => boolean;
|
149
|
-
handleIconClick: () => void;
|
150
|
-
handleInputMouseenter: () => void;
|
151
|
-
handleInputMouseleave: (_e: any) => void;
|
152
|
-
handleFocus: (e: any) => void;
|
153
|
-
handleBlur: (e: any) => void;
|
154
|
-
handleKeydown: (e: KeyboardEvent) => void;
|
155
|
-
handleInputChange: (e: any) => void;
|
156
|
-
handleInputInput: (e: any) => void;
|
157
|
-
handleClear: () => void;
|
158
|
-
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
159
|
-
onPickSuccess: () => void;
|
160
|
-
onPickFirst: (val: any, type: any) => void;
|
161
|
-
handleToggleTime: () => void;
|
162
|
-
resolveClassName: (cls: string) => string;
|
163
|
-
showClose: import("vue").Ref<boolean>;
|
164
|
-
visible: import("vue").Ref<boolean>;
|
165
|
-
internalValue: import("vue").Ref<any>;
|
166
|
-
disableClickOutSide: import("vue").Ref<boolean>;
|
167
|
-
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
168
|
-
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
169
|
-
forceInputRerender: import("vue").Ref<number>;
|
170
|
-
isFocused: import("vue").Ref<boolean>;
|
171
|
-
focusedDate: import("vue").Ref<any>;
|
172
|
-
focusedTime: import("vue").Ref<{
|
173
|
-
column: number;
|
174
|
-
picker: number;
|
175
|
-
time: any;
|
176
|
-
active: boolean;
|
4
|
+
new (...args: any[]): {
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
6
|
+
$data: {};
|
7
|
+
$props: {
|
8
|
+
readonly type?: import("./interface").PickerTypeType;
|
9
|
+
readonly disabled?: boolean;
|
10
|
+
readonly placement?: import("@popperjs/core").ComputedPlacement;
|
11
|
+
readonly options?: Record<string, any>;
|
12
|
+
readonly fontSize?: "medium" | "large" | "normal";
|
13
|
+
readonly open?: boolean;
|
14
|
+
readonly multiple?: boolean;
|
15
|
+
readonly placeholder?: string;
|
16
|
+
readonly behavior?: "normal" | "simplicity";
|
17
|
+
readonly clearable?: boolean;
|
18
|
+
readonly readonly?: boolean;
|
19
|
+
readonly withValidate?: boolean;
|
20
|
+
readonly extPopoverCls?: string;
|
21
|
+
readonly editable?: boolean;
|
22
|
+
readonly timePickerOptions?: {};
|
23
|
+
readonly splitPanels?: boolean;
|
24
|
+
readonly appendToBody?: boolean;
|
25
|
+
readonly shortcuts?: import("./interface").DatePickerShortcutsType;
|
26
|
+
readonly shortcutClose?: boolean;
|
27
|
+
readonly upToNow?: boolean;
|
28
|
+
readonly useShortcutText?: boolean;
|
29
|
+
readonly shortcutSelectedIndex?: number;
|
30
|
+
readonly headerSlotCls?: string;
|
31
|
+
readonly footerSlotCls?: string;
|
32
|
+
readonly allowCrossDay?: boolean;
|
33
|
+
class?: unknown;
|
34
|
+
style?: unknown;
|
35
|
+
onFocus?: (...args: any[]) => any;
|
36
|
+
onBlur?: (...args: any[]) => any;
|
37
|
+
onChange?: (...args: any[]) => any;
|
38
|
+
onInput?: (...args: any[]) => any;
|
39
|
+
ref?: import("vue").VNodeRef;
|
40
|
+
key?: string | number | symbol;
|
41
|
+
ref_for?: boolean;
|
42
|
+
ref_key?: string;
|
43
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
|
+
[key: string]: any;
|
45
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
+
[key: string]: any;
|
47
|
+
}>) => void)[];
|
48
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
51
|
+
[key: string]: any;
|
52
|
+
}>) => void)[];
|
53
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
+
[key: string]: any;
|
55
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
56
|
+
[key: string]: any;
|
57
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
58
|
+
[key: string]: any;
|
59
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
60
|
+
[key: string]: any;
|
61
|
+
}>) => void)[];
|
62
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
63
|
+
[key: string]: any;
|
64
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
65
|
+
[key: string]: any;
|
66
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
67
|
+
[key: string]: any;
|
68
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
69
|
+
[key: string]: any;
|
70
|
+
}>) => void)[];
|
71
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
72
|
+
[key: string]: any;
|
73
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
74
|
+
[key: string]: any;
|
75
|
+
}>) => void)[];
|
76
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
77
|
+
[key: string]: any;
|
78
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
79
|
+
[key: string]: any;
|
80
|
+
}>) => void)[];
|
81
|
+
readonly value?: import("./interface").DatePickerValueType;
|
82
|
+
readonly modelValue?: import("./interface").DatePickerValueType;
|
83
|
+
onClear?: (...args: any[]) => any;
|
84
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
85
|
+
readonly format?: string;
|
86
|
+
readonly startDate?: Date;
|
87
|
+
readonly disabledDate?: import("./interface").DisabledDateType;
|
88
|
+
"onPick-success"?: (...args: any[]) => any;
|
89
|
+
"onPick-first"?: (...args: any[]) => any;
|
90
|
+
"onOpen-change"?: (...args: any[]) => any;
|
91
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
92
|
+
};
|
93
|
+
$attrs: {
|
94
|
+
[x: string]: unknown;
|
95
|
+
};
|
96
|
+
$refs: {
|
97
|
+
[x: string]: unknown;
|
98
|
+
};
|
99
|
+
$slots: Readonly<{
|
100
|
+
header?: () => any;
|
101
|
+
trigger?: (displayValue: string) => any;
|
102
|
+
footer?: () => any;
|
103
|
+
shortcuts?: (arg?: {
|
104
|
+
change: Function;
|
105
|
+
}) => any;
|
106
|
+
confirm?: import("vue").Slot<{}>;
|
177
107
|
}>;
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
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
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
108
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
109
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
110
|
+
$emit: (event: "blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
111
|
+
$el: any;
|
112
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
113
|
+
readonly type: {
|
114
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
115
|
+
readonly default: "date";
|
116
|
+
readonly validator: (value: any) => boolean;
|
117
|
+
};
|
118
|
+
readonly extPopoverCls: {
|
119
|
+
readonly type: StringConstructor;
|
120
|
+
readonly default: "";
|
121
|
+
};
|
122
|
+
readonly format: StringConstructor;
|
123
|
+
readonly readonly: {
|
124
|
+
readonly type: BooleanConstructor;
|
125
|
+
readonly default: false;
|
126
|
+
};
|
127
|
+
readonly disabled: {
|
128
|
+
readonly type: BooleanConstructor;
|
129
|
+
readonly default: false;
|
130
|
+
};
|
131
|
+
readonly editable: {
|
132
|
+
readonly type: BooleanConstructor;
|
133
|
+
readonly default: true;
|
134
|
+
};
|
135
|
+
readonly clearable: {
|
136
|
+
readonly type: BooleanConstructor;
|
137
|
+
readonly default: true;
|
138
|
+
};
|
139
|
+
readonly open: {
|
140
|
+
readonly type: () => boolean;
|
141
|
+
readonly default: any;
|
142
|
+
};
|
143
|
+
readonly multiple: {
|
144
|
+
readonly type: BooleanConstructor;
|
145
|
+
readonly default: false;
|
146
|
+
};
|
147
|
+
readonly timePickerOptions: {
|
148
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
149
|
+
readonly default: () => {};
|
150
|
+
};
|
151
|
+
readonly splitPanels: {
|
152
|
+
readonly type: BooleanConstructor;
|
153
|
+
readonly default: true;
|
154
|
+
};
|
155
|
+
readonly startDate: DateConstructor;
|
156
|
+
readonly placeholder: {
|
157
|
+
readonly type: StringConstructor;
|
158
|
+
readonly default: "";
|
159
|
+
};
|
160
|
+
readonly placement: {
|
161
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
162
|
+
readonly default: "bottom-start";
|
163
|
+
readonly validator: (value: any) => boolean;
|
164
|
+
};
|
165
|
+
readonly appendToBody: {
|
166
|
+
readonly type: BooleanConstructor;
|
167
|
+
readonly default: false;
|
168
|
+
};
|
169
|
+
readonly shortcuts: {
|
170
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
171
|
+
readonly default: () => any[];
|
172
|
+
};
|
173
|
+
readonly shortcutClose: {
|
174
|
+
readonly type: BooleanConstructor;
|
175
|
+
readonly default: false;
|
176
|
+
};
|
177
|
+
readonly modelValue: {
|
178
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
179
|
+
};
|
180
|
+
readonly value: {
|
181
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
182
|
+
};
|
183
|
+
readonly options: {
|
184
|
+
readonly type: ObjectConstructor;
|
185
|
+
readonly default: () => {};
|
186
|
+
};
|
187
|
+
readonly fontSize: {
|
188
|
+
readonly type: import("vue").PropType<"medium" | "large" | "normal">;
|
189
|
+
readonly default: "normal";
|
190
|
+
};
|
191
|
+
readonly upToNow: {
|
192
|
+
readonly type: BooleanConstructor;
|
193
|
+
readonly default: false;
|
194
|
+
};
|
195
|
+
readonly useShortcutText: {
|
196
|
+
readonly type: BooleanConstructor;
|
197
|
+
readonly default: false;
|
198
|
+
};
|
199
|
+
readonly shortcutSelectedIndex: {
|
200
|
+
readonly type: NumberConstructor;
|
201
|
+
readonly default: -1;
|
202
|
+
};
|
203
|
+
readonly headerSlotCls: {
|
204
|
+
readonly type: StringConstructor;
|
205
|
+
readonly default: "";
|
206
|
+
};
|
207
|
+
readonly footerSlotCls: {
|
208
|
+
readonly type: StringConstructor;
|
209
|
+
readonly default: "";
|
210
|
+
};
|
211
|
+
readonly allowCrossDay: {
|
212
|
+
readonly type: BooleanConstructor;
|
213
|
+
readonly default: false;
|
214
|
+
};
|
215
|
+
readonly behavior: {
|
216
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
217
|
+
readonly default: "normal";
|
218
|
+
readonly validator: (v: any) => boolean;
|
219
|
+
};
|
220
|
+
readonly disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
221
|
+
readonly withValidate: {
|
222
|
+
readonly type: BooleanConstructor;
|
223
|
+
readonly default: true;
|
224
|
+
};
|
225
|
+
}>> & {
|
226
|
+
onFocus?: (...args: any[]) => any;
|
227
|
+
onBlur?: (...args: any[]) => any;
|
228
|
+
onChange?: (...args: any[]) => any;
|
229
|
+
onInput?: (...args: any[]) => any;
|
230
|
+
onClear?: (...args: any[]) => any;
|
231
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
232
|
+
"onPick-success"?: (...args: any[]) => any;
|
233
|
+
"onPick-first"?: (...args: any[]) => any;
|
234
|
+
"onOpen-change"?: (...args: any[]) => any;
|
235
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
236
|
+
}, {
|
237
|
+
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
238
|
+
publicStringValue: import("vue").ComputedRef<any>;
|
239
|
+
opened: import("vue").ComputedRef<boolean>;
|
240
|
+
visualValue: import("vue").ComputedRef<any>;
|
241
|
+
displayValue: import("vue").ComputedRef<any>;
|
242
|
+
isConfirm: import("vue").ComputedRef<boolean>;
|
243
|
+
hasHeader: import("vue").ComputedRef<boolean>;
|
244
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
245
|
+
hasShortcuts: import("vue").ComputedRef<boolean>;
|
246
|
+
hasConfirm: import("vue").ComputedRef<boolean>;
|
247
|
+
fontSizeCls: import("vue").ComputedRef<string>;
|
248
|
+
longWidthCls: import("vue").ComputedRef<string>;
|
249
|
+
localReadonly: import("vue").ComputedRef<boolean>;
|
250
|
+
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
251
|
+
teleportTo: any;
|
252
|
+
pickerDropdownRef: any;
|
253
|
+
inputRef: any;
|
254
|
+
triggerRef: import("vue").Ref<HTMLElement>;
|
255
|
+
pickerPanelRef: any;
|
256
|
+
handleClose: (e?: Event) => boolean;
|
257
|
+
handleIconClick: () => void;
|
258
|
+
handleInputMouseenter: () => void;
|
259
|
+
handleInputMouseleave: (_e: any) => void;
|
260
|
+
handleFocus: (e: any) => void;
|
261
|
+
handleBlur: (e: any) => void;
|
262
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
263
|
+
handleInputChange: (e: any) => void;
|
264
|
+
handleInputInput: (e: any) => void;
|
265
|
+
handleClear: () => void;
|
266
|
+
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
267
|
+
onPickSuccess: () => void;
|
268
|
+
onPickFirst: (val: any, type: any) => void;
|
269
|
+
handleToggleTime: () => void;
|
270
|
+
resolveClassName: (cls: string) => string;
|
271
|
+
showClose: import("vue").Ref<boolean>;
|
272
|
+
visible: import("vue").Ref<boolean>;
|
273
|
+
internalValue: import("vue").Ref<any>;
|
274
|
+
disableClickOutSide: import("vue").Ref<boolean>;
|
275
|
+
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
276
|
+
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
277
|
+
forceInputRerender: import("vue").Ref<number>;
|
278
|
+
isFocused: import("vue").Ref<boolean>;
|
279
|
+
focusedDate: import("vue").Ref<any>;
|
280
|
+
focusedTime: import("vue").Ref<{
|
281
|
+
column: number;
|
282
|
+
picker: number;
|
283
|
+
time: any;
|
284
|
+
active: boolean;
|
285
|
+
}>;
|
286
|
+
internalFocus: import("vue").Ref<boolean>;
|
287
|
+
timeEnterMode: import("vue").Ref<boolean>;
|
288
|
+
shortcut: import("vue").Ref<any>;
|
289
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
290
|
+
tmpValue: import("vue").Ref<any>;
|
291
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], string, {
|
292
|
+
readonly type: import("./interface").PickerTypeType;
|
293
|
+
readonly disabled: boolean;
|
294
|
+
readonly placement: import("@popperjs/core").ComputedPlacement;
|
295
|
+
readonly options: Record<string, any>;
|
296
|
+
readonly fontSize: "medium" | "large" | "normal";
|
297
|
+
readonly open: boolean;
|
298
|
+
readonly multiple: boolean;
|
299
|
+
readonly placeholder: string;
|
300
|
+
readonly behavior: "normal" | "simplicity";
|
301
|
+
readonly clearable: boolean;
|
302
|
+
readonly readonly: boolean;
|
303
|
+
readonly withValidate: boolean;
|
304
|
+
readonly extPopoverCls: string;
|
305
|
+
readonly editable: boolean;
|
306
|
+
readonly timePickerOptions: {};
|
307
|
+
readonly splitPanels: boolean;
|
308
|
+
readonly appendToBody: boolean;
|
309
|
+
readonly shortcuts: import("./interface").DatePickerShortcutsType;
|
310
|
+
readonly shortcutClose: boolean;
|
311
|
+
readonly upToNow: boolean;
|
312
|
+
readonly useShortcutText: boolean;
|
313
|
+
readonly shortcutSelectedIndex: number;
|
314
|
+
readonly headerSlotCls: string;
|
315
|
+
readonly footerSlotCls: string;
|
316
|
+
readonly allowCrossDay: boolean;
|
317
|
+
}, {}, string, import("vue").SlotsType<{
|
318
|
+
header?: () => any;
|
319
|
+
trigger?: (displayValue: string) => any;
|
320
|
+
footer?: () => any;
|
321
|
+
shortcuts?: (arg?: {
|
322
|
+
change: Function;
|
323
|
+
}) => any;
|
324
|
+
confirm?: {};
|
325
|
+
}>> & {
|
326
|
+
beforeCreate?: (() => void) | (() => void)[];
|
327
|
+
created?: (() => void) | (() => void)[];
|
328
|
+
beforeMount?: (() => void) | (() => void)[];
|
329
|
+
mounted?: (() => void) | (() => void)[];
|
330
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
331
|
+
updated?: (() => void) | (() => void)[];
|
332
|
+
activated?: (() => void) | (() => void)[];
|
333
|
+
deactivated?: (() => void) | (() => void)[];
|
334
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
335
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
336
|
+
destroyed?: (() => void) | (() => void)[];
|
337
|
+
unmounted?: (() => void) | (() => void)[];
|
338
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
339
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
340
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
341
|
+
};
|
342
|
+
$forceUpdate: () => void;
|
343
|
+
$nextTick: typeof import("vue").nextTick;
|
344
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
345
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
349
346
|
readonly type: {
|
350
347
|
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
351
348
|
readonly default: "date";
|
@@ -469,7 +466,7 @@ declare const BkDatePicker: {
|
|
469
466
|
"onPick-first"?: (...args: any[]) => any;
|
470
467
|
"onOpen-change"?: (...args: any[]) => any;
|
471
468
|
"onShortcut-change"?: (...args: any[]) => any;
|
472
|
-
}
|
469
|
+
} & import("vue").ShallowUnwrapRef<{
|
473
470
|
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
474
471
|
publicStringValue: import("vue").ComputedRef<any>;
|
475
472
|
opened: import("vue").ComputedRef<boolean>;
|
@@ -484,11 +481,11 @@ declare const BkDatePicker: {
|
|
484
481
|
longWidthCls: import("vue").ComputedRef<string>;
|
485
482
|
localReadonly: import("vue").ComputedRef<boolean>;
|
486
483
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
487
|
-
teleportTo:
|
488
|
-
pickerDropdownRef:
|
489
|
-
inputRef:
|
484
|
+
teleportTo: any;
|
485
|
+
pickerDropdownRef: any;
|
486
|
+
inputRef: any;
|
490
487
|
triggerRef: import("vue").Ref<HTMLElement>;
|
491
|
-
pickerPanelRef:
|
488
|
+
pickerPanelRef: any;
|
492
489
|
handleClose: (e?: Event) => boolean;
|
493
490
|
handleIconClick: () => void;
|
494
491
|
handleInputMouseenter: () => void;
|
@@ -524,33 +521,7 @@ declare const BkDatePicker: {
|
|
524
521
|
shortcut: import("vue").Ref<any>;
|
525
522
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
526
523
|
tmpValue: import("vue").Ref<any>;
|
527
|
-
}
|
528
|
-
readonly type: import("./interface").PickerTypeType;
|
529
|
-
readonly disabled: boolean;
|
530
|
-
readonly placement: import("@popperjs/core").ComputedPlacement;
|
531
|
-
readonly options: Record<string, any>;
|
532
|
-
readonly fontSize: "medium" | "large" | "normal";
|
533
|
-
readonly open: boolean;
|
534
|
-
readonly multiple: boolean;
|
535
|
-
readonly placeholder: string;
|
536
|
-
readonly behavior: "normal" | "simplicity";
|
537
|
-
readonly clearable: boolean;
|
538
|
-
readonly readonly: boolean;
|
539
|
-
readonly withValidate: boolean;
|
540
|
-
readonly extPopoverCls: string;
|
541
|
-
readonly editable: boolean;
|
542
|
-
readonly timePickerOptions: {};
|
543
|
-
readonly splitPanels: boolean;
|
544
|
-
readonly appendToBody: boolean;
|
545
|
-
readonly shortcuts: import("./interface").DatePickerShortcutsType;
|
546
|
-
readonly shortcutClose: boolean;
|
547
|
-
readonly upToNow: boolean;
|
548
|
-
readonly useShortcutText: boolean;
|
549
|
-
readonly shortcutSelectedIndex: number;
|
550
|
-
readonly headerSlotCls: string;
|
551
|
-
readonly footerSlotCls: string;
|
552
|
-
readonly allowCrossDay: boolean;
|
553
|
-
}>;
|
524
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
554
525
|
__isFragment?: never;
|
555
526
|
__isTeleport?: never;
|
556
527
|
__isSuspense?: never;
|
@@ -693,11 +664,11 @@ declare const BkDatePicker: {
|
|
693
664
|
longWidthCls: import("vue").ComputedRef<string>;
|
694
665
|
localReadonly: import("vue").ComputedRef<boolean>;
|
695
666
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
696
|
-
teleportTo:
|
697
|
-
pickerDropdownRef:
|
698
|
-
inputRef:
|
667
|
+
teleportTo: any;
|
668
|
+
pickerDropdownRef: any;
|
669
|
+
inputRef: any;
|
699
670
|
triggerRef: import("vue").Ref<HTMLElement>;
|
700
|
-
pickerPanelRef:
|
671
|
+
pickerPanelRef: any;
|
701
672
|
handleClose: (e?: Event) => boolean;
|
702
673
|
handleIconClick: () => void;
|
703
674
|
handleInputMouseenter: () => void;
|