bkui-vue 2.0.1-beta.111 → 2.0.1-beta.112
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 +23106 -23099
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +17 -17
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +8 -7
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +11 -10
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +121 -156
- package/lib/button/index.js +19 -20
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +5 -5
- package/lib/cascader/index.d.ts +395 -356
- package/lib/cascader/index.js +74 -805
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +45 -45
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +28 -27
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +50 -294
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +28 -26
- 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 +382 -352
- package/lib/date-picker/index.js +154 -150
- 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 +299 -269
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +29 -29
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +24 -22
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +21 -21
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +21 -22
- 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 +113 -149
- package/lib/image/index.js +27 -26
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +232 -233
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +46 -48
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +2 -2
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +32 -33
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +26 -25
- package/lib/message/index.js +24 -25
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +19 -19
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +20 -21
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +11 -10
- package/lib/pagination/index.d.ts +185 -199
- package/lib/pagination/index.js +49 -56
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +4 -3777
- package/lib/pop-confirm/index.d.ts +119 -157
- package/lib/pop-confirm/index.js +5 -4
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +221 -123
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +226 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +22 -21
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +46 -48
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +38 -38
- package/lib/search-select/index.d.ts +678 -895
- 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 +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1380 -1221
- package/lib/select/index.js +336 -334
- package/lib/select/select.d.ts +134 -171
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +54 -56
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +227 -228
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +226 -225
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +230 -231
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +20 -19
- 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 +459 -364
- package/lib/table/index.js +336 -348
- package/lib/table/table.d.ts +3 -3
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +7 -731
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +750 -533
- package/lib/tag-input/index.js +151 -151
- package/lib/tag-input/tag-input.d.ts +9 -9
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +2 -2
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +192 -207
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +71 -74
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +261 -264
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +29 -29
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
@@ -1,347 +1,351 @@
|
|
1
|
+
import PickerDropdown from './base/picker-dropdown';
|
1
2
|
import TimePicker from './time-picker';
|
2
3
|
declare const BkDatePicker: {
|
3
|
-
new (...args: any[]): {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
readonly
|
8
|
-
|
9
|
-
|
10
|
-
readonly
|
11
|
-
readonly
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
readonly
|
16
|
-
readonly
|
17
|
-
|
18
|
-
|
19
|
-
readonly
|
20
|
-
readonly
|
21
|
-
|
22
|
-
|
23
|
-
readonly
|
24
|
-
readonly
|
25
|
-
|
26
|
-
|
27
|
-
readonly
|
28
|
-
readonly
|
29
|
-
|
30
|
-
|
31
|
-
readonly
|
32
|
-
|
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
|
-
readonly
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
readonly
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
};
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
5
|
+
readonly type: {
|
6
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
7
|
+
readonly default: "date";
|
8
|
+
readonly validator: (value: any) => boolean;
|
9
|
+
};
|
10
|
+
readonly extPopoverCls: {
|
11
|
+
readonly type: StringConstructor;
|
12
|
+
readonly default: "";
|
13
|
+
};
|
14
|
+
readonly format: StringConstructor;
|
15
|
+
readonly readonly: {
|
16
|
+
readonly type: BooleanConstructor;
|
17
|
+
readonly default: false;
|
18
|
+
};
|
19
|
+
readonly disabled: {
|
20
|
+
readonly type: BooleanConstructor;
|
21
|
+
readonly default: false;
|
22
|
+
};
|
23
|
+
readonly editable: {
|
24
|
+
readonly type: BooleanConstructor;
|
25
|
+
readonly default: true;
|
26
|
+
};
|
27
|
+
readonly clearable: {
|
28
|
+
readonly type: BooleanConstructor;
|
29
|
+
readonly default: true;
|
30
|
+
};
|
31
|
+
readonly open: {
|
32
|
+
readonly type: () => boolean;
|
33
|
+
readonly default: any;
|
34
|
+
};
|
35
|
+
readonly multiple: {
|
36
|
+
readonly type: BooleanConstructor;
|
37
|
+
readonly default: false;
|
38
|
+
};
|
39
|
+
readonly timePickerOptions: {
|
40
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
41
|
+
readonly default: () => {};
|
42
|
+
};
|
43
|
+
readonly splitPanels: {
|
44
|
+
readonly type: BooleanConstructor;
|
45
|
+
readonly default: true;
|
46
|
+
};
|
47
|
+
readonly startDate: DateConstructor;
|
48
|
+
readonly placeholder: {
|
49
|
+
readonly type: StringConstructor;
|
50
|
+
readonly default: "";
|
51
|
+
};
|
52
|
+
readonly placement: {
|
53
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
54
|
+
readonly default: "bottom-start";
|
55
|
+
readonly validator: (value: any) => boolean;
|
56
|
+
};
|
57
|
+
readonly appendToBody: {
|
58
|
+
readonly type: BooleanConstructor;
|
59
|
+
readonly default: false;
|
60
|
+
};
|
61
|
+
readonly shortcuts: {
|
62
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
63
|
+
readonly default: () => any[];
|
64
|
+
};
|
65
|
+
readonly shortcutClose: {
|
66
|
+
readonly type: BooleanConstructor;
|
67
|
+
readonly default: false;
|
68
|
+
};
|
69
|
+
readonly modelValue: {
|
70
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
71
|
+
};
|
72
|
+
readonly value: {
|
73
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
74
|
+
};
|
75
|
+
readonly options: {
|
76
|
+
readonly type: ObjectConstructor;
|
77
|
+
readonly default: () => {};
|
78
|
+
};
|
79
|
+
readonly fontSize: {
|
80
|
+
readonly type: import("vue").PropType<"medium" | "large" | "normal">;
|
81
|
+
readonly default: "normal";
|
82
|
+
};
|
83
|
+
readonly upToNow: {
|
84
|
+
readonly type: BooleanConstructor;
|
85
|
+
readonly default: false;
|
86
|
+
};
|
87
|
+
readonly useShortcutText: {
|
88
|
+
readonly type: BooleanConstructor;
|
89
|
+
readonly default: false;
|
90
|
+
};
|
91
|
+
readonly shortcutSelectedIndex: {
|
92
|
+
readonly type: NumberConstructor;
|
93
|
+
readonly default: -1;
|
94
|
+
};
|
95
|
+
readonly headerSlotCls: {
|
96
|
+
readonly type: StringConstructor;
|
97
|
+
readonly default: "";
|
98
|
+
};
|
99
|
+
readonly footerSlotCls: {
|
100
|
+
readonly type: StringConstructor;
|
101
|
+
readonly default: "";
|
102
|
+
};
|
103
|
+
readonly allowCrossDay: {
|
104
|
+
readonly type: BooleanConstructor;
|
105
|
+
readonly default: false;
|
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;
|
106
177
|
}>;
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
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
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
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
|
-
focusedDate: import("vue").Ref<any>;
|
279
|
-
focusedTime: import("vue").Ref<{
|
280
|
-
column: number;
|
281
|
-
picker: number;
|
282
|
-
time: any;
|
283
|
-
active: boolean;
|
284
|
-
}>;
|
285
|
-
internalFocus: import("vue").Ref<boolean>;
|
286
|
-
timeEnterMode: import("vue").Ref<boolean>;
|
287
|
-
shortcut: import("vue").Ref<any>;
|
288
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
289
|
-
tmpValue: import("vue").Ref<any>;
|
290
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], string, {
|
291
|
-
readonly type: import("./interface").PickerTypeType;
|
292
|
-
readonly disabled: boolean;
|
293
|
-
readonly placement: import("@popperjs/core").ComputedPlacement;
|
294
|
-
readonly options: Record<string, any>;
|
295
|
-
readonly fontSize: "medium" | "large" | "normal";
|
296
|
-
readonly open: boolean;
|
297
|
-
readonly multiple: boolean;
|
298
|
-
readonly placeholder: string;
|
299
|
-
readonly behavior: "normal" | "simplicity";
|
300
|
-
readonly clearable: boolean;
|
301
|
-
readonly readonly: boolean;
|
302
|
-
readonly withValidate: boolean;
|
303
|
-
readonly extPopoverCls: string;
|
304
|
-
readonly editable: boolean;
|
305
|
-
readonly timePickerOptions: {};
|
306
|
-
readonly splitPanels: boolean;
|
307
|
-
readonly appendToBody: boolean;
|
308
|
-
readonly shortcuts: import("./interface").DatePickerShortcutsType;
|
309
|
-
readonly shortcutClose: boolean;
|
310
|
-
readonly upToNow: boolean;
|
311
|
-
readonly useShortcutText: boolean;
|
312
|
-
readonly shortcutSelectedIndex: number;
|
313
|
-
readonly headerSlotCls: string;
|
314
|
-
readonly footerSlotCls: string;
|
315
|
-
readonly allowCrossDay: boolean;
|
316
|
-
}, {}, string, import("vue").SlotsType<{
|
317
|
-
header?: () => any;
|
318
|
-
trigger?: (displayValue: string) => any;
|
319
|
-
footer?: () => any;
|
320
|
-
shortcuts?: (arg?: {
|
321
|
-
change: Function;
|
322
|
-
}) => any;
|
323
|
-
confirm?: {};
|
324
|
-
}>> & {
|
325
|
-
beforeCreate?: (() => void) | (() => void)[];
|
326
|
-
created?: (() => void) | (() => void)[];
|
327
|
-
beforeMount?: (() => void) | (() => void)[];
|
328
|
-
mounted?: (() => void) | (() => void)[];
|
329
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
330
|
-
updated?: (() => void) | (() => void)[];
|
331
|
-
activated?: (() => void) | (() => void)[];
|
332
|
-
deactivated?: (() => void) | (() => void)[];
|
333
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
334
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
335
|
-
destroyed?: (() => void) | (() => void)[];
|
336
|
-
unmounted?: (() => void) | (() => void)[];
|
337
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
338
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
339
|
-
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)[];
|
340
|
-
};
|
341
|
-
$forceUpdate: () => void;
|
342
|
-
$nextTick: typeof import("vue").nextTick;
|
343
|
-
$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;
|
344
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
178
|
+
internalFocus: import("vue").Ref<boolean>;
|
179
|
+
timeEnterMode: import("vue").Ref<boolean>;
|
180
|
+
shortcut: import("vue").Ref<any>;
|
181
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
182
|
+
tmpValue: import("vue").Ref<any>;
|
183
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
184
|
+
readonly type: {
|
185
|
+
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
186
|
+
readonly default: "date";
|
187
|
+
readonly validator: (value: any) => boolean;
|
188
|
+
};
|
189
|
+
readonly extPopoverCls: {
|
190
|
+
readonly type: StringConstructor;
|
191
|
+
readonly default: "";
|
192
|
+
};
|
193
|
+
readonly format: StringConstructor;
|
194
|
+
readonly readonly: {
|
195
|
+
readonly type: BooleanConstructor;
|
196
|
+
readonly default: false;
|
197
|
+
};
|
198
|
+
readonly disabled: {
|
199
|
+
readonly type: BooleanConstructor;
|
200
|
+
readonly default: false;
|
201
|
+
};
|
202
|
+
readonly editable: {
|
203
|
+
readonly type: BooleanConstructor;
|
204
|
+
readonly default: true;
|
205
|
+
};
|
206
|
+
readonly clearable: {
|
207
|
+
readonly type: BooleanConstructor;
|
208
|
+
readonly default: true;
|
209
|
+
};
|
210
|
+
readonly open: {
|
211
|
+
readonly type: () => boolean;
|
212
|
+
readonly default: any;
|
213
|
+
};
|
214
|
+
readonly multiple: {
|
215
|
+
readonly type: BooleanConstructor;
|
216
|
+
readonly default: false;
|
217
|
+
};
|
218
|
+
readonly timePickerOptions: {
|
219
|
+
readonly type: import("vue").PropType<Record<string, any>>;
|
220
|
+
readonly default: () => {};
|
221
|
+
};
|
222
|
+
readonly splitPanels: {
|
223
|
+
readonly type: BooleanConstructor;
|
224
|
+
readonly default: true;
|
225
|
+
};
|
226
|
+
readonly startDate: DateConstructor;
|
227
|
+
readonly placeholder: {
|
228
|
+
readonly type: StringConstructor;
|
229
|
+
readonly default: "";
|
230
|
+
};
|
231
|
+
readonly placement: {
|
232
|
+
readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
|
233
|
+
readonly default: "bottom-start";
|
234
|
+
readonly validator: (value: any) => boolean;
|
235
|
+
};
|
236
|
+
readonly appendToBody: {
|
237
|
+
readonly type: BooleanConstructor;
|
238
|
+
readonly default: false;
|
239
|
+
};
|
240
|
+
readonly shortcuts: {
|
241
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
|
242
|
+
readonly default: () => any[];
|
243
|
+
};
|
244
|
+
readonly shortcutClose: {
|
245
|
+
readonly type: BooleanConstructor;
|
246
|
+
readonly default: false;
|
247
|
+
};
|
248
|
+
readonly modelValue: {
|
249
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
250
|
+
};
|
251
|
+
readonly value: {
|
252
|
+
readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
|
253
|
+
};
|
254
|
+
readonly options: {
|
255
|
+
readonly type: ObjectConstructor;
|
256
|
+
readonly default: () => {};
|
257
|
+
};
|
258
|
+
readonly fontSize: {
|
259
|
+
readonly type: import("vue").PropType<"medium" | "large" | "normal">;
|
260
|
+
readonly default: "normal";
|
261
|
+
};
|
262
|
+
readonly upToNow: {
|
263
|
+
readonly type: BooleanConstructor;
|
264
|
+
readonly default: false;
|
265
|
+
};
|
266
|
+
readonly useShortcutText: {
|
267
|
+
readonly type: BooleanConstructor;
|
268
|
+
readonly default: false;
|
269
|
+
};
|
270
|
+
readonly shortcutSelectedIndex: {
|
271
|
+
readonly type: NumberConstructor;
|
272
|
+
readonly default: -1;
|
273
|
+
};
|
274
|
+
readonly headerSlotCls: {
|
275
|
+
readonly type: StringConstructor;
|
276
|
+
readonly default: "";
|
277
|
+
};
|
278
|
+
readonly footerSlotCls: {
|
279
|
+
readonly type: StringConstructor;
|
280
|
+
readonly default: "";
|
281
|
+
};
|
282
|
+
readonly allowCrossDay: {
|
283
|
+
readonly type: BooleanConstructor;
|
284
|
+
readonly default: false;
|
285
|
+
};
|
286
|
+
readonly behavior: {
|
287
|
+
readonly type: import("vue").PropType<"normal" | "simplicity">;
|
288
|
+
readonly default: "normal";
|
289
|
+
readonly validator: (v: any) => boolean;
|
290
|
+
};
|
291
|
+
readonly disabledDate: import("vue").PropType<import("./interface").DisabledDateType>;
|
292
|
+
readonly withValidate: {
|
293
|
+
readonly type: BooleanConstructor;
|
294
|
+
readonly default: true;
|
295
|
+
};
|
296
|
+
}>> & {
|
297
|
+
onFocus?: (...args: any[]) => any;
|
298
|
+
onBlur?: (...args: any[]) => any;
|
299
|
+
onChange?: (...args: any[]) => any;
|
300
|
+
onInput?: (...args: any[]) => any;
|
301
|
+
onClear?: (...args: any[]) => any;
|
302
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
303
|
+
"onPick-success"?: (...args: any[]) => any;
|
304
|
+
"onPick-first"?: (...args: any[]) => any;
|
305
|
+
"onOpen-change"?: (...args: any[]) => any;
|
306
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
307
|
+
}, {
|
308
|
+
readonly type: import("./interface").PickerTypeType;
|
309
|
+
readonly disabled: boolean;
|
310
|
+
readonly placement: import("@popperjs/core").ComputedPlacement;
|
311
|
+
readonly options: Record<string, any>;
|
312
|
+
readonly fontSize: "medium" | "large" | "normal";
|
313
|
+
readonly open: boolean;
|
314
|
+
readonly multiple: boolean;
|
315
|
+
readonly placeholder: string;
|
316
|
+
readonly behavior: "normal" | "simplicity";
|
317
|
+
readonly clearable: boolean;
|
318
|
+
readonly readonly: boolean;
|
319
|
+
readonly withValidate: boolean;
|
320
|
+
readonly extPopoverCls: string;
|
321
|
+
readonly editable: boolean;
|
322
|
+
readonly timePickerOptions: {};
|
323
|
+
readonly splitPanels: boolean;
|
324
|
+
readonly appendToBody: boolean;
|
325
|
+
readonly shortcuts: import("./interface").DatePickerShortcutsType;
|
326
|
+
readonly shortcutClose: boolean;
|
327
|
+
readonly upToNow: boolean;
|
328
|
+
readonly useShortcutText: boolean;
|
329
|
+
readonly shortcutSelectedIndex: number;
|
330
|
+
readonly headerSlotCls: string;
|
331
|
+
readonly footerSlotCls: string;
|
332
|
+
readonly allowCrossDay: boolean;
|
333
|
+
}, true, {}, import("vue").SlotsType<{
|
334
|
+
header?: () => any;
|
335
|
+
trigger?: (displayValue: string) => any;
|
336
|
+
footer?: () => any;
|
337
|
+
shortcuts?: (arg?: {
|
338
|
+
change: Function;
|
339
|
+
}) => any;
|
340
|
+
confirm?: {};
|
341
|
+
}>, {
|
342
|
+
P: {};
|
343
|
+
B: {};
|
344
|
+
D: {};
|
345
|
+
C: {};
|
346
|
+
M: {};
|
347
|
+
Defaults: {};
|
348
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
345
349
|
readonly type: {
|
346
350
|
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
347
351
|
readonly default: "date";
|
@@ -465,7 +469,7 @@ declare const BkDatePicker: {
|
|
465
469
|
"onPick-first"?: (...args: any[]) => any;
|
466
470
|
"onOpen-change"?: (...args: any[]) => any;
|
467
471
|
"onShortcut-change"?: (...args: any[]) => any;
|
468
|
-
}
|
472
|
+
}, {
|
469
473
|
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
470
474
|
publicStringValue: import("vue").ComputedRef<any>;
|
471
475
|
opened: import("vue").ComputedRef<boolean>;
|
@@ -480,11 +484,11 @@ declare const BkDatePicker: {
|
|
480
484
|
longWidthCls: import("vue").ComputedRef<string>;
|
481
485
|
localReadonly: import("vue").ComputedRef<boolean>;
|
482
486
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
483
|
-
teleportTo: any
|
484
|
-
pickerDropdownRef: any
|
485
|
-
inputRef: any
|
487
|
+
teleportTo: import("vue").Ref<any>;
|
488
|
+
pickerDropdownRef: import("vue").Ref<any>;
|
489
|
+
inputRef: import("vue").Ref<any>;
|
486
490
|
triggerRef: import("vue").Ref<HTMLElement>;
|
487
|
-
pickerPanelRef: any
|
491
|
+
pickerPanelRef: import("vue").Ref<any>;
|
488
492
|
handleClose: (e?: Event) => boolean;
|
489
493
|
handleIconClick: () => void;
|
490
494
|
handleInputMouseenter: () => void;
|
@@ -520,7 +524,33 @@ declare const BkDatePicker: {
|
|
520
524
|
shortcut: import("vue").Ref<any>;
|
521
525
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
522
526
|
tmpValue: import("vue").Ref<any>;
|
523
|
-
}
|
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
554
|
__isFragment?: never;
|
525
555
|
__isTeleport?: never;
|
526
556
|
__isSuspense?: never;
|
@@ -663,11 +693,11 @@ declare const BkDatePicker: {
|
|
663
693
|
longWidthCls: import("vue").ComputedRef<string>;
|
664
694
|
localReadonly: import("vue").ComputedRef<boolean>;
|
665
695
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
666
|
-
teleportTo: any
|
667
|
-
pickerDropdownRef: any
|
668
|
-
inputRef: any
|
696
|
+
teleportTo: import("vue").Ref<any>;
|
697
|
+
pickerDropdownRef: import("vue").Ref<any>;
|
698
|
+
inputRef: import("vue").Ref<any>;
|
669
699
|
triggerRef: import("vue").Ref<HTMLElement>;
|
670
|
-
pickerPanelRef: any
|
700
|
+
pickerPanelRef: import("vue").Ref<any>;
|
671
701
|
handleClose: (e?: Event) => boolean;
|
672
702
|
handleIconClick: () => void;
|
673
703
|
handleInputMouseenter: () => void;
|
@@ -739,4 +769,4 @@ declare const BkDatePicker: {
|
|
739
769
|
confirm?: {};
|
740
770
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
741
771
|
export default BkDatePicker;
|
742
|
-
export { TimePicker };
|
772
|
+
export { TimePicker, PickerDropdown };
|