bkui-vue 0.0.1-beta.10 → 0.0.1-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bkui-vue.cjs.js +5628 -472
- package/dist/bkui-vue.esm.js +5620 -474
- package/dist/bkui-vue.umd.js +5628 -472
- package/dist/style.css +1858 -16
- package/lib/alert/alert.variable.css +16 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.variable.css +16 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.variable.css +16 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +16 -0
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.d.ts +12 -12
- package/lib/button/button.less +6 -6
- package/lib/button/button.variable.css +16 -0
- package/lib/button/index.d.ts +16 -19
- package/lib/button/index.js +1 -1
- package/lib/card/card.variable.css +16 -0
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox.variable.css +16 -0
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +6 -1
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +357 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +493 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +525 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +14 -14
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +40 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +124 -0
- package/lib/divider/index.d.ts +110 -0
- package/lib/divider/index.js +1 -0
- package/lib/dropdown/dropdown-item.d.ts +18 -0
- package/lib/dropdown/dropdown-menu.d.ts +15 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +49 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +129 -0
- package/lib/dropdown/index.d.ts +160 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.variable.css +16 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +16 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/form-item.d.ts +140 -0
- package/lib/form/form.css +39 -0
- package/lib/form/form.d.ts +76 -0
- package/lib/form/form.less +50 -0
- package/lib/form/form.variable.css +39 -0
- package/lib/form/index.d.ts +4 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/index.d.ts +27 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/input/index.d.ts +36 -36
- package/lib/input/index.js +1 -1
- package/lib/input/input.d.ts +10 -10
- package/lib/input/input.variable.css +16 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.variable.css +16 -0
- package/lib/loading/index.d.ts +21 -4
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.d.ts +13 -2
- package/lib/loading/loading.variable.css +16 -0
- package/lib/menu/index.d.ts +169 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +13 -0
- package/lib/menu/menu-item.d.ts +15 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +60 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +268 -0
- package/lib/menu/submenu.d.ts +21 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +86 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +17 -0
- package/lib/message/message.less +18 -0
- package/lib/message/message.variable.css +33 -0
- package/lib/message/messageConstructor.d.ts +12 -6
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +22 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +94 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +270 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +135 -0
- package/lib/notify/notifyConstructor.d.ts +75 -0
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +2 -3
- package/lib/popover/popover.d.ts +8 -8
- package/lib/popover/popover.less +2 -3
- package/lib/popover/popover.variable.css +18 -3
- package/lib/preset.d.ts +2 -3
- package/lib/process/index.d.ts +145 -0
- package/lib/process/index.js +15 -0
- package/lib/process/process.css +139 -0
- package/lib/process/process.d.ts +116 -0
- package/lib/process/process.less +179 -0
- package/lib/process/process.variable.css +225 -0
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.d.ts +1 -1
- package/lib/progress/progress.variable.css +16 -0
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +6 -0
- package/lib/radio/radio.less +7 -0
- package/lib/radio/radio.variable.css +22 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/star.d.ts +2 -2
- package/lib/select/common.d.ts +4 -3
- package/lib/select/index.d.ts +211 -60
- package/lib/select/index.js +15 -1
- package/lib/select/option.d.ts +2 -2
- package/lib/select/optionGroup.d.ts +115 -0
- package/lib/select/select.css +52 -12
- package/lib/select/select.d.ts +24 -21
- package/lib/select/select.less +73 -7
- package/lib/select/select.variable.css +68 -12
- package/lib/shared/bk-popover.d.ts +11 -1
- package/lib/shared/index.d.ts +7 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/vue-types.d.ts +1 -0
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.variable.css +16 -0
- package/lib/slider/index.d.ts +27 -0
- package/lib/slider/index.js +15 -0
- package/lib/slider/slider-button.d.ts +72 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +159 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +235 -0
- package/lib/steps/index.d.ts +15 -15
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.css +1 -1
- package/lib/steps/steps.d.ts +4 -4
- package/lib/steps/steps.less +1 -1
- package/lib/steps/steps.variable.css +17 -1
- package/lib/styles/index.d.ts +12 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +26 -1
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.variable.css +16 -0
- package/lib/tab/index.d.ts +416 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/tab-nav.d.ts +154 -0
- package/lib/tab/tab-panel.d.ts +46 -0
- package/lib/tab/tab.css +147 -0
- package/lib/tab/tab.d.ts +131 -0
- package/lib/tab/tab.less +221 -0
- package/lib/tab/tab.variable.css +233 -0
- package/lib/table/index.d.ts +71 -60
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +41 -0
- package/lib/table/render.d.ts +47 -0
- package/lib/table/table.css +44 -0
- package/lib/table/table.d.ts +22 -63
- package/lib/table/table.less +63 -1
- package/lib/table/table.variable.css +60 -0
- package/lib/table/utils.d.ts +22 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.variable.css +16 -0
- package/lib/tree/index.d.ts +149 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/tree.css +35 -0
- package/lib/tree/tree.d.ts +58 -0
- package/lib/tree/tree.less +55 -0
- package/lib/tree/tree.variable.css +35 -0
- package/lib/tree/util.d.ts +89 -0
- package/lib/use-message.d.ts +2 -0
- package/package.json +9 -1
- package/lib/message/message.d.ts +0 -2
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
@@ -0,0 +1,525 @@
|
|
1
|
+
declare const BkDatePicker: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
7
|
+
options: Record<string, any>;
|
8
|
+
placeholder: string;
|
9
|
+
open: boolean;
|
10
|
+
multiple: boolean;
|
11
|
+
disabled: boolean;
|
12
|
+
type: import("./interface").PickerTypeType;
|
13
|
+
extPopoverCls: string;
|
14
|
+
readonly: boolean;
|
15
|
+
editable: boolean;
|
16
|
+
clearable: boolean;
|
17
|
+
timePickerOptions: {};
|
18
|
+
splitPanels: boolean;
|
19
|
+
transfer: boolean;
|
20
|
+
appendToBody: boolean;
|
21
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
22
|
+
shortcutClose: boolean;
|
23
|
+
fontSize: "large" | "normal" | "medium";
|
24
|
+
upToNow: boolean;
|
25
|
+
useShortcutText: boolean;
|
26
|
+
shortcutSelectedIndex: number;
|
27
|
+
footerSlotCls: string;
|
28
|
+
allowCrossDay: boolean;
|
29
|
+
behavior: "normal" | "simplicity";
|
30
|
+
}> & Omit<Readonly<{
|
31
|
+
readonly type?: unknown;
|
32
|
+
readonly extPopoverCls?: unknown;
|
33
|
+
readonly format?: unknown;
|
34
|
+
readonly readonly?: unknown;
|
35
|
+
readonly disabled?: unknown;
|
36
|
+
readonly editable?: unknown;
|
37
|
+
readonly clearable?: unknown;
|
38
|
+
readonly open?: unknown;
|
39
|
+
readonly multiple?: unknown;
|
40
|
+
readonly timePickerOptions?: unknown;
|
41
|
+
readonly splitPanels?: unknown;
|
42
|
+
readonly startDate?: unknown;
|
43
|
+
readonly placeholder?: unknown;
|
44
|
+
readonly placement?: unknown;
|
45
|
+
readonly transfer?: unknown;
|
46
|
+
readonly appendToBody?: unknown;
|
47
|
+
readonly shortcuts?: unknown;
|
48
|
+
readonly shortcutClose?: unknown;
|
49
|
+
readonly modelValue?: unknown;
|
50
|
+
readonly options?: unknown;
|
51
|
+
readonly fontSize?: unknown;
|
52
|
+
readonly upToNow?: unknown;
|
53
|
+
readonly useShortcutText?: unknown;
|
54
|
+
readonly shortcutSelectedIndex?: unknown;
|
55
|
+
readonly footerSlotCls?: unknown;
|
56
|
+
readonly allowCrossDay?: unknown;
|
57
|
+
readonly behavior?: unknown;
|
58
|
+
readonly disableDate?: unknown;
|
59
|
+
} & {
|
60
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
61
|
+
options: Record<string, any>;
|
62
|
+
placeholder: string;
|
63
|
+
multiple: boolean;
|
64
|
+
disabled: boolean;
|
65
|
+
type: import("./interface").PickerTypeType;
|
66
|
+
extPopoverCls: string;
|
67
|
+
readonly: boolean;
|
68
|
+
editable: boolean;
|
69
|
+
clearable: boolean;
|
70
|
+
timePickerOptions: {};
|
71
|
+
splitPanels: boolean;
|
72
|
+
transfer: boolean;
|
73
|
+
appendToBody: boolean;
|
74
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
75
|
+
shortcutClose: boolean;
|
76
|
+
fontSize: "large" | "normal" | "medium";
|
77
|
+
upToNow: boolean;
|
78
|
+
useShortcutText: boolean;
|
79
|
+
shortcutSelectedIndex: number;
|
80
|
+
footerSlotCls: string;
|
81
|
+
allowCrossDay: boolean;
|
82
|
+
behavior: "normal" | "simplicity";
|
83
|
+
} & {
|
84
|
+
open?: boolean;
|
85
|
+
modelValue?: import("./interface").DatePickerValueType;
|
86
|
+
format?: string;
|
87
|
+
startDate?: Date;
|
88
|
+
disableDate?: import("./interface").DisableDateType;
|
89
|
+
}> & {
|
90
|
+
onChange?: (...args: any[]) => any;
|
91
|
+
onInput?: (...args: any[]) => any;
|
92
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
93
|
+
"onPick-success"?: (...args: any[]) => any;
|
94
|
+
onClear?: (...args: any[]) => any;
|
95
|
+
"onOpen-change"?: (...args: any[]) => any;
|
96
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
97
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "options" | "placeholder" | "open" | "multiple" | "disabled" | "type" | "extPopoverCls" | "readonly" | "editable" | "clearable" | "timePickerOptions" | "splitPanels" | "transfer" | "appendToBody" | "shortcuts" | "shortcutClose" | "fontSize" | "upToNow" | "useShortcutText" | "shortcutSelectedIndex" | "footerSlotCls" | "allowCrossDay" | "behavior">;
|
98
|
+
$attrs: {
|
99
|
+
[x: string]: unknown;
|
100
|
+
};
|
101
|
+
$refs: {
|
102
|
+
[x: string]: unknown;
|
103
|
+
};
|
104
|
+
$slots: Readonly<{
|
105
|
+
[name: string]: import("vue").Slot;
|
106
|
+
}>;
|
107
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
108
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
109
|
+
$emit: (event: "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
110
|
+
$el: any;
|
111
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
112
|
+
readonly type?: unknown;
|
113
|
+
readonly extPopoverCls?: unknown;
|
114
|
+
readonly format?: unknown;
|
115
|
+
readonly readonly?: unknown;
|
116
|
+
readonly disabled?: unknown;
|
117
|
+
readonly editable?: unknown;
|
118
|
+
readonly clearable?: unknown;
|
119
|
+
readonly open?: unknown;
|
120
|
+
readonly multiple?: unknown;
|
121
|
+
readonly timePickerOptions?: unknown;
|
122
|
+
readonly splitPanels?: unknown;
|
123
|
+
readonly startDate?: unknown;
|
124
|
+
readonly placeholder?: unknown;
|
125
|
+
readonly placement?: unknown;
|
126
|
+
readonly transfer?: unknown;
|
127
|
+
readonly appendToBody?: unknown;
|
128
|
+
readonly shortcuts?: unknown;
|
129
|
+
readonly shortcutClose?: unknown;
|
130
|
+
readonly modelValue?: unknown;
|
131
|
+
readonly options?: unknown;
|
132
|
+
readonly fontSize?: unknown;
|
133
|
+
readonly upToNow?: unknown;
|
134
|
+
readonly useShortcutText?: unknown;
|
135
|
+
readonly shortcutSelectedIndex?: unknown;
|
136
|
+
readonly footerSlotCls?: unknown;
|
137
|
+
readonly allowCrossDay?: unknown;
|
138
|
+
readonly behavior?: unknown;
|
139
|
+
readonly disableDate?: unknown;
|
140
|
+
} & {
|
141
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
142
|
+
options: Record<string, any>;
|
143
|
+
placeholder: string;
|
144
|
+
multiple: boolean;
|
145
|
+
disabled: boolean;
|
146
|
+
type: import("./interface").PickerTypeType;
|
147
|
+
extPopoverCls: string;
|
148
|
+
readonly: boolean;
|
149
|
+
editable: boolean;
|
150
|
+
clearable: boolean;
|
151
|
+
timePickerOptions: {};
|
152
|
+
splitPanels: boolean;
|
153
|
+
transfer: boolean;
|
154
|
+
appendToBody: boolean;
|
155
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
156
|
+
shortcutClose: boolean;
|
157
|
+
fontSize: "large" | "normal" | "medium";
|
158
|
+
upToNow: boolean;
|
159
|
+
useShortcutText: boolean;
|
160
|
+
shortcutSelectedIndex: number;
|
161
|
+
footerSlotCls: string;
|
162
|
+
allowCrossDay: boolean;
|
163
|
+
behavior: "normal" | "simplicity";
|
164
|
+
} & {
|
165
|
+
open?: boolean;
|
166
|
+
modelValue?: import("./interface").DatePickerValueType;
|
167
|
+
format?: string;
|
168
|
+
startDate?: Date;
|
169
|
+
disableDate?: import("./interface").DisableDateType;
|
170
|
+
}> & {
|
171
|
+
onChange?: (...args: any[]) => any;
|
172
|
+
onInput?: (...args: any[]) => any;
|
173
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
174
|
+
"onPick-success"?: (...args: any[]) => any;
|
175
|
+
onClear?: (...args: any[]) => any;
|
176
|
+
"onOpen-change"?: (...args: any[]) => any;
|
177
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
178
|
+
}, {
|
179
|
+
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
180
|
+
publicStringValue: import("vue").ComputedRef<any>;
|
181
|
+
opened: import("vue").ComputedRef<boolean>;
|
182
|
+
visualValue: import("vue").ComputedRef<any>;
|
183
|
+
displayValue: import("vue").ComputedRef<any>;
|
184
|
+
isConfirm: import("vue").ComputedRef<boolean>;
|
185
|
+
fontSizeCls: import("vue").ComputedRef<string>;
|
186
|
+
longWidthCls: import("vue").ComputedRef<string>;
|
187
|
+
localReadonly: import("vue").ComputedRef<boolean>;
|
188
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
189
|
+
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
190
|
+
pickerDropdownRef: any;
|
191
|
+
inputRef: any;
|
192
|
+
triggerRef: import("vue").Ref<HTMLElement>;
|
193
|
+
pickerPanelRef: any;
|
194
|
+
handleClose: (e?: Event) => boolean;
|
195
|
+
handleIconClick: () => void;
|
196
|
+
handleInputMouseenter: () => void;
|
197
|
+
handleInputMouseleave: (e: any) => void;
|
198
|
+
handleFocus: (e: any) => void;
|
199
|
+
handleBlur: (e: any) => void;
|
200
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
201
|
+
handleInputChange: (e: any) => void;
|
202
|
+
handleClear: () => void;
|
203
|
+
handleTransferClick: () => void;
|
204
|
+
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
205
|
+
showClose: import("vue").Ref<boolean>;
|
206
|
+
visible: import("vue").Ref<boolean>;
|
207
|
+
internalValue: any;
|
208
|
+
disableClickOutSide: import("vue").Ref<boolean>;
|
209
|
+
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
210
|
+
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
211
|
+
forceInputRerender: import("vue").Ref<number>;
|
212
|
+
isFocused: import("vue").Ref<boolean>;
|
213
|
+
focusedDate: any;
|
214
|
+
focusedTime: import("vue").Ref<{
|
215
|
+
column: number;
|
216
|
+
picker: number;
|
217
|
+
time: any;
|
218
|
+
active: boolean;
|
219
|
+
}>;
|
220
|
+
internalFocus: import("vue").Ref<boolean>;
|
221
|
+
timeEnterMode: import("vue").Ref<boolean>;
|
222
|
+
shortcut: any;
|
223
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
224
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
|
225
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
226
|
+
options: Record<string, any>;
|
227
|
+
placeholder: string;
|
228
|
+
open: boolean;
|
229
|
+
multiple: boolean;
|
230
|
+
disabled: boolean;
|
231
|
+
type: import("./interface").PickerTypeType;
|
232
|
+
extPopoverCls: string;
|
233
|
+
readonly: boolean;
|
234
|
+
editable: boolean;
|
235
|
+
clearable: boolean;
|
236
|
+
timePickerOptions: {};
|
237
|
+
splitPanels: boolean;
|
238
|
+
transfer: boolean;
|
239
|
+
appendToBody: boolean;
|
240
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
241
|
+
shortcutClose: boolean;
|
242
|
+
fontSize: "large" | "normal" | "medium";
|
243
|
+
upToNow: boolean;
|
244
|
+
useShortcutText: boolean;
|
245
|
+
shortcutSelectedIndex: number;
|
246
|
+
footerSlotCls: string;
|
247
|
+
allowCrossDay: boolean;
|
248
|
+
behavior: "normal" | "simplicity";
|
249
|
+
}> & {
|
250
|
+
beforeCreate?: (() => void) | (() => void)[];
|
251
|
+
created?: (() => void) | (() => void)[];
|
252
|
+
beforeMount?: (() => void) | (() => void)[];
|
253
|
+
mounted?: (() => void) | (() => void)[];
|
254
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
255
|
+
updated?: (() => void) | (() => void)[];
|
256
|
+
activated?: (() => void) | (() => void)[];
|
257
|
+
deactivated?: (() => void) | (() => void)[];
|
258
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
259
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
260
|
+
destroyed?: (() => void) | (() => void)[];
|
261
|
+
unmounted?: (() => void) | (() => void)[];
|
262
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
263
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
264
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
265
|
+
};
|
266
|
+
$forceUpdate: () => void;
|
267
|
+
$nextTick: typeof import("vue").nextTick;
|
268
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
269
|
+
} & Readonly<{
|
270
|
+
readonly type?: unknown;
|
271
|
+
readonly extPopoverCls?: unknown;
|
272
|
+
readonly format?: unknown;
|
273
|
+
readonly readonly?: unknown;
|
274
|
+
readonly disabled?: unknown;
|
275
|
+
readonly editable?: unknown;
|
276
|
+
readonly clearable?: unknown;
|
277
|
+
readonly open?: unknown;
|
278
|
+
readonly multiple?: unknown;
|
279
|
+
readonly timePickerOptions?: unknown;
|
280
|
+
readonly splitPanels?: unknown;
|
281
|
+
readonly startDate?: unknown;
|
282
|
+
readonly placeholder?: unknown;
|
283
|
+
readonly placement?: unknown;
|
284
|
+
readonly transfer?: unknown;
|
285
|
+
readonly appendToBody?: unknown;
|
286
|
+
readonly shortcuts?: unknown;
|
287
|
+
readonly shortcutClose?: unknown;
|
288
|
+
readonly modelValue?: unknown;
|
289
|
+
readonly options?: unknown;
|
290
|
+
readonly fontSize?: unknown;
|
291
|
+
readonly upToNow?: unknown;
|
292
|
+
readonly useShortcutText?: unknown;
|
293
|
+
readonly shortcutSelectedIndex?: unknown;
|
294
|
+
readonly footerSlotCls?: unknown;
|
295
|
+
readonly allowCrossDay?: unknown;
|
296
|
+
readonly behavior?: unknown;
|
297
|
+
readonly disableDate?: unknown;
|
298
|
+
} & {
|
299
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
300
|
+
options: Record<string, any>;
|
301
|
+
placeholder: string;
|
302
|
+
multiple: boolean;
|
303
|
+
disabled: boolean;
|
304
|
+
type: import("./interface").PickerTypeType;
|
305
|
+
extPopoverCls: string;
|
306
|
+
readonly: boolean;
|
307
|
+
editable: boolean;
|
308
|
+
clearable: boolean;
|
309
|
+
timePickerOptions: {};
|
310
|
+
splitPanels: boolean;
|
311
|
+
transfer: boolean;
|
312
|
+
appendToBody: boolean;
|
313
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
314
|
+
shortcutClose: boolean;
|
315
|
+
fontSize: "large" | "normal" | "medium";
|
316
|
+
upToNow: boolean;
|
317
|
+
useShortcutText: boolean;
|
318
|
+
shortcutSelectedIndex: number;
|
319
|
+
footerSlotCls: string;
|
320
|
+
allowCrossDay: boolean;
|
321
|
+
behavior: "normal" | "simplicity";
|
322
|
+
} & {
|
323
|
+
open?: boolean;
|
324
|
+
modelValue?: import("./interface").DatePickerValueType;
|
325
|
+
format?: string;
|
326
|
+
startDate?: Date;
|
327
|
+
disableDate?: import("./interface").DisableDateType;
|
328
|
+
}> & {
|
329
|
+
onChange?: (...args: any[]) => any;
|
330
|
+
onInput?: (...args: any[]) => any;
|
331
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
332
|
+
"onPick-success"?: (...args: any[]) => any;
|
333
|
+
onClear?: (...args: any[]) => any;
|
334
|
+
"onOpen-change"?: (...args: any[]) => any;
|
335
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
336
|
+
} & import("vue").ShallowUnwrapRef<{
|
337
|
+
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
338
|
+
publicStringValue: import("vue").ComputedRef<any>;
|
339
|
+
opened: import("vue").ComputedRef<boolean>;
|
340
|
+
visualValue: import("vue").ComputedRef<any>;
|
341
|
+
displayValue: import("vue").ComputedRef<any>;
|
342
|
+
isConfirm: import("vue").ComputedRef<boolean>;
|
343
|
+
fontSizeCls: import("vue").ComputedRef<string>;
|
344
|
+
longWidthCls: import("vue").ComputedRef<string>;
|
345
|
+
localReadonly: import("vue").ComputedRef<boolean>;
|
346
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
347
|
+
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
348
|
+
pickerDropdownRef: any;
|
349
|
+
inputRef: any;
|
350
|
+
triggerRef: import("vue").Ref<HTMLElement>;
|
351
|
+
pickerPanelRef: any;
|
352
|
+
handleClose: (e?: Event) => boolean;
|
353
|
+
handleIconClick: () => void;
|
354
|
+
handleInputMouseenter: () => void;
|
355
|
+
handleInputMouseleave: (e: any) => void;
|
356
|
+
handleFocus: (e: any) => void;
|
357
|
+
handleBlur: (e: any) => void;
|
358
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
359
|
+
handleInputChange: (e: any) => void;
|
360
|
+
handleClear: () => void;
|
361
|
+
handleTransferClick: () => void;
|
362
|
+
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
363
|
+
showClose: import("vue").Ref<boolean>;
|
364
|
+
visible: import("vue").Ref<boolean>;
|
365
|
+
internalValue: any;
|
366
|
+
disableClickOutSide: import("vue").Ref<boolean>;
|
367
|
+
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
368
|
+
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
369
|
+
forceInputRerender: import("vue").Ref<number>;
|
370
|
+
isFocused: import("vue").Ref<boolean>;
|
371
|
+
focusedDate: any;
|
372
|
+
focusedTime: import("vue").Ref<{
|
373
|
+
column: number;
|
374
|
+
picker: number;
|
375
|
+
time: any;
|
376
|
+
active: boolean;
|
377
|
+
}>;
|
378
|
+
internalFocus: import("vue").Ref<boolean>;
|
379
|
+
timeEnterMode: import("vue").Ref<boolean>;
|
380
|
+
shortcut: any;
|
381
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
382
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
383
|
+
__isFragment?: never;
|
384
|
+
__isTeleport?: never;
|
385
|
+
__isSuspense?: never;
|
386
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
387
|
+
readonly type?: unknown;
|
388
|
+
readonly extPopoverCls?: unknown;
|
389
|
+
readonly format?: unknown;
|
390
|
+
readonly readonly?: unknown;
|
391
|
+
readonly disabled?: unknown;
|
392
|
+
readonly editable?: unknown;
|
393
|
+
readonly clearable?: unknown;
|
394
|
+
readonly open?: unknown;
|
395
|
+
readonly multiple?: unknown;
|
396
|
+
readonly timePickerOptions?: unknown;
|
397
|
+
readonly splitPanels?: unknown;
|
398
|
+
readonly startDate?: unknown;
|
399
|
+
readonly placeholder?: unknown;
|
400
|
+
readonly placement?: unknown;
|
401
|
+
readonly transfer?: unknown;
|
402
|
+
readonly appendToBody?: unknown;
|
403
|
+
readonly shortcuts?: unknown;
|
404
|
+
readonly shortcutClose?: unknown;
|
405
|
+
readonly modelValue?: unknown;
|
406
|
+
readonly options?: unknown;
|
407
|
+
readonly fontSize?: unknown;
|
408
|
+
readonly upToNow?: unknown;
|
409
|
+
readonly useShortcutText?: unknown;
|
410
|
+
readonly shortcutSelectedIndex?: unknown;
|
411
|
+
readonly footerSlotCls?: unknown;
|
412
|
+
readonly allowCrossDay?: unknown;
|
413
|
+
readonly behavior?: unknown;
|
414
|
+
readonly disableDate?: unknown;
|
415
|
+
} & {
|
416
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
417
|
+
options: Record<string, any>;
|
418
|
+
placeholder: string;
|
419
|
+
multiple: boolean;
|
420
|
+
disabled: boolean;
|
421
|
+
type: import("./interface").PickerTypeType;
|
422
|
+
extPopoverCls: string;
|
423
|
+
readonly: boolean;
|
424
|
+
editable: boolean;
|
425
|
+
clearable: boolean;
|
426
|
+
timePickerOptions: {};
|
427
|
+
splitPanels: boolean;
|
428
|
+
transfer: boolean;
|
429
|
+
appendToBody: boolean;
|
430
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
431
|
+
shortcutClose: boolean;
|
432
|
+
fontSize: "large" | "normal" | "medium";
|
433
|
+
upToNow: boolean;
|
434
|
+
useShortcutText: boolean;
|
435
|
+
shortcutSelectedIndex: number;
|
436
|
+
footerSlotCls: string;
|
437
|
+
allowCrossDay: boolean;
|
438
|
+
behavior: "normal" | "simplicity";
|
439
|
+
} & {
|
440
|
+
open?: boolean;
|
441
|
+
modelValue?: import("./interface").DatePickerValueType;
|
442
|
+
format?: string;
|
443
|
+
startDate?: Date;
|
444
|
+
disableDate?: import("./interface").DisableDateType;
|
445
|
+
}> & {
|
446
|
+
onChange?: (...args: any[]) => any;
|
447
|
+
onInput?: (...args: any[]) => any;
|
448
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
449
|
+
"onPick-success"?: (...args: any[]) => any;
|
450
|
+
onClear?: (...args: any[]) => any;
|
451
|
+
"onOpen-change"?: (...args: any[]) => any;
|
452
|
+
"onShortcut-change"?: (...args: any[]) => any;
|
453
|
+
}, {
|
454
|
+
panel: import("vue").ComputedRef<import("./interface").DatePickerPanelType>;
|
455
|
+
publicStringValue: import("vue").ComputedRef<any>;
|
456
|
+
opened: import("vue").ComputedRef<boolean>;
|
457
|
+
visualValue: import("vue").ComputedRef<any>;
|
458
|
+
displayValue: import("vue").ComputedRef<any>;
|
459
|
+
isConfirm: import("vue").ComputedRef<boolean>;
|
460
|
+
fontSizeCls: import("vue").ComputedRef<string>;
|
461
|
+
longWidthCls: import("vue").ComputedRef<string>;
|
462
|
+
localReadonly: import("vue").ComputedRef<boolean>;
|
463
|
+
hasFooter: import("vue").ComputedRef<boolean>;
|
464
|
+
allowCrossDayProp: import("vue").ComputedRef<boolean>;
|
465
|
+
pickerDropdownRef: any;
|
466
|
+
inputRef: any;
|
467
|
+
triggerRef: import("vue").Ref<HTMLElement>;
|
468
|
+
pickerPanelRef: any;
|
469
|
+
handleClose: (e?: Event) => boolean;
|
470
|
+
handleIconClick: () => void;
|
471
|
+
handleInputMouseenter: () => void;
|
472
|
+
handleInputMouseleave: (e: any) => void;
|
473
|
+
handleFocus: (e: any) => void;
|
474
|
+
handleBlur: (e: any) => void;
|
475
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
476
|
+
handleInputChange: (e: any) => void;
|
477
|
+
handleClear: () => void;
|
478
|
+
handleTransferClick: () => void;
|
479
|
+
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
480
|
+
showClose: import("vue").Ref<boolean>;
|
481
|
+
visible: import("vue").Ref<boolean>;
|
482
|
+
internalValue: any;
|
483
|
+
disableClickOutSide: import("vue").Ref<boolean>;
|
484
|
+
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
485
|
+
selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
|
486
|
+
forceInputRerender: import("vue").Ref<number>;
|
487
|
+
isFocused: import("vue").Ref<boolean>;
|
488
|
+
focusedDate: any;
|
489
|
+
focusedTime: import("vue").Ref<{
|
490
|
+
column: number;
|
491
|
+
picker: number;
|
492
|
+
time: any;
|
493
|
+
active: boolean;
|
494
|
+
}>;
|
495
|
+
internalFocus: import("vue").Ref<boolean>;
|
496
|
+
timeEnterMode: import("vue").Ref<boolean>;
|
497
|
+
shortcut: any;
|
498
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
499
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
500
|
+
placement: import("@popperjs/core").ComputedPlacement;
|
501
|
+
options: Record<string, any>;
|
502
|
+
placeholder: string;
|
503
|
+
open: boolean;
|
504
|
+
multiple: boolean;
|
505
|
+
disabled: boolean;
|
506
|
+
type: import("./interface").PickerTypeType;
|
507
|
+
extPopoverCls: string;
|
508
|
+
readonly: boolean;
|
509
|
+
editable: boolean;
|
510
|
+
clearable: boolean;
|
511
|
+
timePickerOptions: {};
|
512
|
+
splitPanels: boolean;
|
513
|
+
transfer: boolean;
|
514
|
+
appendToBody: boolean;
|
515
|
+
shortcuts: import("./interface").DatePickerShortcutsType;
|
516
|
+
shortcutClose: boolean;
|
517
|
+
fontSize: "large" | "normal" | "medium";
|
518
|
+
upToNow: boolean;
|
519
|
+
useShortcutText: boolean;
|
520
|
+
shortcutSelectedIndex: number;
|
521
|
+
footerSlotCls: string;
|
522
|
+
allowCrossDay: boolean;
|
523
|
+
behavior: "normal" | "simplicity";
|
524
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
525
|
+
export default BkDatePicker;
|