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