bkui-vue 0.0.1-beta.128 → 0.0.1-beta.129

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