bkui-vue 0.0.1-beta.16 → 0.0.1-beta.17

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 (153) hide show
  1. package/dist/bkui-vue.cjs.js +796 -139
  2. package/dist/bkui-vue.esm.js +841 -186
  3. package/dist/bkui-vue.umd.js +796 -139
  4. package/dist/style.css +287 -13
  5. package/lib/alert/alert.d.ts +24 -15
  6. package/lib/alert/alert.variable.css +6 -0
  7. package/lib/alert/index.d.ts +96 -60
  8. package/lib/animate-number/animate-number.d.ts +12 -7
  9. package/lib/animate-number/index.d.ts +48 -28
  10. package/lib/backtop/backtop.d.ts +27 -13
  11. package/lib/backtop/backtop.variable.css +6 -0
  12. package/lib/backtop/index.d.ts +108 -52
  13. package/lib/badge/badge.d.ts +40 -19
  14. package/lib/badge/badge.variable.css +6 -0
  15. package/lib/badge/index.d.ts +144 -76
  16. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  17. package/lib/breadcrumb/breadcrumb.d.ts +21 -13
  18. package/lib/breadcrumb/breadcrumb.variable.css +6 -0
  19. package/lib/breadcrumb/index.d.ts +97 -61
  20. package/lib/button/button-group.d.ts +3 -5
  21. package/lib/button/button.d.ts +27 -22
  22. package/lib/button/button.variable.css +6 -0
  23. package/lib/button/index.d.ts +111 -93
  24. package/lib/card/card.d.ts +30 -15
  25. package/lib/card/card.variable.css +6 -0
  26. package/lib/card/index.d.ts +120 -60
  27. package/lib/checkbox/checkbox-group.d.ts +13 -9
  28. package/lib/checkbox/checkbox.d.ts +31 -22
  29. package/lib/checkbox/checkbox.variable.css +6 -0
  30. package/lib/checkbox/index.d.ts +137 -97
  31. package/lib/collapse/collapse.d.ts +50 -18
  32. package/lib/collapse/index.d.ts +108 -72
  33. package/lib/components.d.ts +2 -0
  34. package/lib/date-picker/date-picker.d.ts +110 -63
  35. package/lib/date-picker/date-picker.variable.css +6 -0
  36. package/lib/date-picker/index.d.ts +437 -249
  37. package/lib/dialog/dialog.d.ts +44 -23
  38. package/lib/dialog/index.d.ts +176 -92
  39. package/lib/divider/divider.d.ts +21 -13
  40. package/lib/divider/divider.variable.css +6 -0
  41. package/lib/divider/index.d.ts +84 -52
  42. package/lib/dropdown/dropdown-item.d.ts +6 -5
  43. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  44. package/lib/dropdown/dropdown.d.ts +25 -13
  45. package/lib/dropdown/dropdown.variable.css +6 -0
  46. package/lib/dropdown/index.d.ts +94 -62
  47. package/lib/exception/exception.d.ts +11 -9
  48. package/lib/exception/exception.variable.css +6 -0
  49. package/lib/exception/index.d.ts +44 -36
  50. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  51. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -0
  52. package/lib/fixed-navbar/index.d.ts +60 -36
  53. package/lib/form/form-item.d.ts +46 -27
  54. package/lib/form/form.d.ts +21 -13
  55. package/lib/input/index.d.ts +240 -160
  56. package/lib/input/input.d.ts +60 -40
  57. package/lib/input/input.variable.css +6 -0
  58. package/lib/link/index.d.ts +100 -52
  59. package/lib/link/link.d.ts +25 -13
  60. package/lib/link/link.variable.css +6 -0
  61. package/lib/loading/index.d.ts +64 -64
  62. package/lib/loading/loading.d.ts +16 -16
  63. package/lib/loading/loading.variable.css +6 -0
  64. package/lib/menu/index.d.ts +90 -71
  65. package/lib/menu/menu-group.d.ts +6 -5
  66. package/lib/menu/menu-item.d.ts +6 -5
  67. package/lib/menu/menu.d.ts +18 -14
  68. package/lib/menu/menu.variable.css +6 -0
  69. package/lib/menu/submenu.d.ts +6 -5
  70. package/lib/menu/submenu.variable.css +6 -0
  71. package/lib/message/message.variable.css +6 -0
  72. package/lib/message/messageConstructor.d.ts +28 -16
  73. package/lib/modal/index.d.ts +88 -52
  74. package/lib/modal/modal.d.ts +22 -13
  75. package/lib/navigation/navigation-title.d.ts +10 -7
  76. package/lib/navigation/navigation.d.ts +40 -23
  77. package/lib/navigation/navigation.variable.css +6 -0
  78. package/lib/notify/notify.variable.css +6 -0
  79. package/lib/notify/notifyConstructor.d.ts +36 -20
  80. package/lib/popover/index.d.ts +207 -177
  81. package/lib/popover/popover.d.ts +52 -30
  82. package/lib/popover/popover.variable.css +6 -0
  83. package/lib/process/index.d.ts +120 -60
  84. package/lib/process/process.css +2 -3
  85. package/lib/process/process.d.ts +30 -15
  86. package/lib/process/process.less +2 -3
  87. package/lib/process/process.variable.css +8 -3
  88. package/lib/progress/index.d.ts +284 -136
  89. package/lib/progress/progress.d.ts +71 -34
  90. package/lib/progress/progress.variable.css +6 -0
  91. package/lib/radio/index.d.ts +127 -78
  92. package/lib/radio/radio-button.d.ts +24 -16
  93. package/lib/radio/radio-group.d.ts +11 -10
  94. package/lib/radio/radio.d.ts +23 -13
  95. package/lib/radio/radio.variable.css +6 -0
  96. package/lib/rate/index.d.ts +52 -40
  97. package/lib/rate/rate.d.ts +13 -10
  98. package/lib/rate/star.d.ts +32 -15
  99. package/lib/select/index.d.ts +396 -327
  100. package/lib/select/option.d.ts +9 -10
  101. package/lib/select/optionGroup.d.ts +49 -41
  102. package/lib/select/select.d.ts +98 -84
  103. package/lib/select/select.variable.css +6 -0
  104. package/lib/sideslider/index.d.ts +108 -60
  105. package/lib/sideslider/sideslider.d.ts +27 -15
  106. package/lib/sideslider/sideslider.variable.css +6 -0
  107. package/lib/slider/slider-button.d.ts +10 -7
  108. package/lib/slider/slider.d.ts +70 -40
  109. package/lib/slider/slider.variable.css +6 -0
  110. package/lib/steps/index.d.ts +156 -104
  111. package/lib/steps/steps.css +3 -0
  112. package/lib/steps/steps.d.ts +39 -26
  113. package/lib/steps/steps.less +4 -0
  114. package/lib/steps/steps.variable.css +9 -0
  115. package/lib/styles/index.d.ts +1 -0
  116. package/lib/styles/index.js +1 -1
  117. package/lib/styles/themes/themes.less +10 -0
  118. package/lib/switcher/index.d.ts +192 -128
  119. package/lib/switcher/switcher.d.ts +48 -32
  120. package/lib/switcher/switcher.variable.css +6 -0
  121. package/lib/tab/index.d.ts +344 -208
  122. package/lib/tab/tab-nav.d.ts +74 -38
  123. package/lib/tab/tab-panel.d.ts +22 -20
  124. package/lib/tab/tab.d.ts +64 -32
  125. package/lib/tab/tab.variable.css +6 -0
  126. package/lib/table/const.d.ts +4 -0
  127. package/lib/table/index.d.ts +154 -130
  128. package/lib/table/index.js +1 -1
  129. package/lib/table/props.d.ts +18 -0
  130. package/lib/table/render.d.ts +18 -2
  131. package/lib/table/table.css +47 -10
  132. package/lib/table/table.d.ts +47 -22
  133. package/lib/table/table.less +61 -17
  134. package/lib/table/table.variable.css +55 -12
  135. package/lib/table/utils.d.ts +26 -1
  136. package/lib/tag/index.d.ts +10 -286
  137. package/lib/tag/tag.d.ts +2 -48
  138. package/lib/tag/tag.variable.css +6 -0
  139. package/lib/timeline/index.d.ts +129 -0
  140. package/lib/timeline/index.js +1 -0
  141. package/lib/timeline/timeline.css +235 -0
  142. package/lib/timeline/timeline.d.ts +81 -0
  143. package/lib/timeline/timeline.less +239 -0
  144. package/lib/timeline/timeline.variable.css +327 -0
  145. package/lib/tree/index.d.ts +140 -75
  146. package/lib/tree/index.js +1 -1
  147. package/lib/tree/props.d.ts +19 -1
  148. package/lib/tree/tree.d.ts +42 -20
  149. package/lib/virtual-render/index.d.ts +406 -260
  150. package/lib/virtual-render/index.js +1 -1
  151. package/lib/virtual-render/props.d.ts +1 -0
  152. package/lib/virtual-render/virtual-render.d.ts +104 -43
  153. package/package.json +1 -1
@@ -27,66 +27,113 @@ declare const BkDatePicker: {
27
27
  footerSlotCls: string;
28
28
  allowCrossDay: boolean;
29
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
- }> & {
30
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
31
+ readonly type: {
32
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
33
+ readonly default: "date";
34
+ readonly validator: (value: any) => boolean;
35
+ };
36
+ readonly extPopoverCls: {
37
+ readonly type: StringConstructor;
38
+ readonly default: "";
39
+ };
40
+ readonly format: StringConstructor;
41
+ readonly readonly: {
42
+ readonly type: BooleanConstructor;
43
+ readonly default: false;
44
+ };
45
+ readonly disabled: {
46
+ readonly type: BooleanConstructor;
47
+ readonly default: false;
48
+ };
49
+ readonly editable: {
50
+ readonly type: BooleanConstructor;
51
+ readonly default: true;
52
+ };
53
+ readonly clearable: {
54
+ readonly type: BooleanConstructor;
55
+ readonly default: true;
56
+ };
57
+ readonly open: {
58
+ readonly type: BooleanConstructor;
59
+ readonly default: any;
60
+ };
61
+ readonly multiple: {
62
+ readonly type: BooleanConstructor;
63
+ readonly default: false;
64
+ };
65
+ readonly timePickerOptions: {
66
+ readonly type: import("vue").PropType<Record<string, any>>;
67
+ readonly default: () => {};
68
+ };
69
+ readonly splitPanels: {
70
+ readonly type: BooleanConstructor;
71
+ readonly default: true;
72
+ };
73
+ readonly startDate: DateConstructor;
74
+ readonly placeholder: {
75
+ readonly type: StringConstructor;
76
+ readonly default: "";
77
+ };
78
+ readonly placement: {
79
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
80
+ readonly default: "bottom-start";
81
+ readonly validator: (value: any) => boolean;
82
+ };
83
+ readonly transfer: {
84
+ readonly type: BooleanConstructor;
85
+ readonly default: false;
86
+ };
87
+ readonly appendToBody: {
88
+ readonly type: BooleanConstructor;
89
+ readonly default: false;
90
+ };
91
+ readonly shortcuts: {
92
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
93
+ readonly default: () => any[];
94
+ };
95
+ readonly shortcutClose: {
96
+ readonly type: BooleanConstructor;
97
+ readonly default: false;
98
+ };
99
+ readonly modelValue: {
100
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
101
+ };
102
+ readonly options: {
103
+ readonly type: ObjectConstructor;
104
+ readonly default: () => {};
105
+ };
106
+ readonly fontSize: {
107
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
108
+ readonly default: "normal";
109
+ };
110
+ readonly upToNow: {
111
+ readonly type: BooleanConstructor;
112
+ readonly default: false;
113
+ };
114
+ readonly useShortcutText: {
115
+ readonly type: BooleanConstructor;
116
+ readonly default: false;
117
+ };
118
+ readonly shortcutSelectedIndex: {
119
+ readonly type: NumberConstructor;
120
+ readonly default: -1;
121
+ };
122
+ readonly footerSlotCls: {
123
+ readonly type: StringConstructor;
124
+ readonly default: "";
125
+ };
126
+ readonly allowCrossDay: {
127
+ readonly type: BooleanConstructor;
128
+ readonly default: false;
129
+ };
130
+ readonly behavior: {
131
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
132
+ readonly default: "normal";
133
+ readonly validator: (v: any) => boolean;
134
+ };
135
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
136
+ }>> & {
90
137
  onChange?: (...args: any[]) => any;
91
138
  onInput?: (...args: any[]) => any;
92
139
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -108,66 +155,113 @@ declare const BkDatePicker: {
108
155
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
109
156
  $emit: (event: "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", ...args: any[]) => void;
110
157
  $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
- }> & {
158
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
159
+ readonly type: {
160
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
161
+ readonly default: "date";
162
+ readonly validator: (value: any) => boolean;
163
+ };
164
+ readonly extPopoverCls: {
165
+ readonly type: StringConstructor;
166
+ readonly default: "";
167
+ };
168
+ readonly format: StringConstructor;
169
+ readonly readonly: {
170
+ readonly type: BooleanConstructor;
171
+ readonly default: false;
172
+ };
173
+ readonly disabled: {
174
+ readonly type: BooleanConstructor;
175
+ readonly default: false;
176
+ };
177
+ readonly editable: {
178
+ readonly type: BooleanConstructor;
179
+ readonly default: true;
180
+ };
181
+ readonly clearable: {
182
+ readonly type: BooleanConstructor;
183
+ readonly default: true;
184
+ };
185
+ readonly open: {
186
+ readonly type: BooleanConstructor;
187
+ readonly default: any;
188
+ };
189
+ readonly multiple: {
190
+ readonly type: BooleanConstructor;
191
+ readonly default: false;
192
+ };
193
+ readonly timePickerOptions: {
194
+ readonly type: import("vue").PropType<Record<string, any>>;
195
+ readonly default: () => {};
196
+ };
197
+ readonly splitPanels: {
198
+ readonly type: BooleanConstructor;
199
+ readonly default: true;
200
+ };
201
+ readonly startDate: DateConstructor;
202
+ readonly placeholder: {
203
+ readonly type: StringConstructor;
204
+ readonly default: "";
205
+ };
206
+ readonly placement: {
207
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
208
+ readonly default: "bottom-start";
209
+ readonly validator: (value: any) => boolean;
210
+ };
211
+ readonly transfer: {
212
+ readonly type: BooleanConstructor;
213
+ readonly default: false;
214
+ };
215
+ readonly appendToBody: {
216
+ readonly type: BooleanConstructor;
217
+ readonly default: false;
218
+ };
219
+ readonly shortcuts: {
220
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
221
+ readonly default: () => any[];
222
+ };
223
+ readonly shortcutClose: {
224
+ readonly type: BooleanConstructor;
225
+ readonly default: false;
226
+ };
227
+ readonly modelValue: {
228
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
229
+ };
230
+ readonly options: {
231
+ readonly type: ObjectConstructor;
232
+ readonly default: () => {};
233
+ };
234
+ readonly fontSize: {
235
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
236
+ readonly default: "normal";
237
+ };
238
+ readonly upToNow: {
239
+ readonly type: BooleanConstructor;
240
+ readonly default: false;
241
+ };
242
+ readonly useShortcutText: {
243
+ readonly type: BooleanConstructor;
244
+ readonly default: false;
245
+ };
246
+ readonly shortcutSelectedIndex: {
247
+ readonly type: NumberConstructor;
248
+ readonly default: -1;
249
+ };
250
+ readonly footerSlotCls: {
251
+ readonly type: StringConstructor;
252
+ readonly default: "";
253
+ };
254
+ readonly allowCrossDay: {
255
+ readonly type: BooleanConstructor;
256
+ readonly default: false;
257
+ };
258
+ readonly behavior: {
259
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
260
+ readonly default: "normal";
261
+ readonly validator: (v: any) => boolean;
262
+ };
263
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
264
+ }>> & {
171
265
  onChange?: (...args: any[]) => any;
172
266
  onInput?: (...args: any[]) => any;
173
267
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -204,13 +298,13 @@ declare const BkDatePicker: {
204
298
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
205
299
  showClose: import("vue").Ref<boolean>;
206
300
  visible: import("vue").Ref<boolean>;
207
- internalValue: any;
301
+ internalValue: import("vue").Ref<any>;
208
302
  disableClickOutSide: import("vue").Ref<boolean>;
209
303
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
210
304
  selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
211
305
  forceInputRerender: import("vue").Ref<number>;
212
306
  isFocused: import("vue").Ref<boolean>;
213
- focusedDate: any;
307
+ focusedDate: import("vue").Ref<any>;
214
308
  focusedTime: import("vue").Ref<{
215
309
  column: number;
216
310
  picker: number;
@@ -219,7 +313,7 @@ declare const BkDatePicker: {
219
313
  }>;
220
314
  internalFocus: import("vue").Ref<boolean>;
221
315
  timeEnterMode: import("vue").Ref<boolean>;
222
- shortcut: any;
316
+ shortcut: import("vue").Ref<any>;
223
317
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
224
318
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
225
319
  placement: import("@popperjs/core").ComputedPlacement;
@@ -266,66 +360,113 @@ declare const BkDatePicker: {
266
360
  $forceUpdate: () => void;
267
361
  $nextTick: typeof import("vue").nextTick;
268
362
  $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
- }> & {
363
+ } & Readonly<import("vue").ExtractPropTypes<{
364
+ readonly type: {
365
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
366
+ readonly default: "date";
367
+ readonly validator: (value: any) => boolean;
368
+ };
369
+ readonly extPopoverCls: {
370
+ readonly type: StringConstructor;
371
+ readonly default: "";
372
+ };
373
+ readonly format: StringConstructor;
374
+ readonly readonly: {
375
+ readonly type: BooleanConstructor;
376
+ readonly default: false;
377
+ };
378
+ readonly disabled: {
379
+ readonly type: BooleanConstructor;
380
+ readonly default: false;
381
+ };
382
+ readonly editable: {
383
+ readonly type: BooleanConstructor;
384
+ readonly default: true;
385
+ };
386
+ readonly clearable: {
387
+ readonly type: BooleanConstructor;
388
+ readonly default: true;
389
+ };
390
+ readonly open: {
391
+ readonly type: BooleanConstructor;
392
+ readonly default: any;
393
+ };
394
+ readonly multiple: {
395
+ readonly type: BooleanConstructor;
396
+ readonly default: false;
397
+ };
398
+ readonly timePickerOptions: {
399
+ readonly type: import("vue").PropType<Record<string, any>>;
400
+ readonly default: () => {};
401
+ };
402
+ readonly splitPanels: {
403
+ readonly type: BooleanConstructor;
404
+ readonly default: true;
405
+ };
406
+ readonly startDate: DateConstructor;
407
+ readonly placeholder: {
408
+ readonly type: StringConstructor;
409
+ readonly default: "";
410
+ };
411
+ readonly placement: {
412
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
413
+ readonly default: "bottom-start";
414
+ readonly validator: (value: any) => boolean;
415
+ };
416
+ readonly transfer: {
417
+ readonly type: BooleanConstructor;
418
+ readonly default: false;
419
+ };
420
+ readonly appendToBody: {
421
+ readonly type: BooleanConstructor;
422
+ readonly default: false;
423
+ };
424
+ readonly shortcuts: {
425
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
426
+ readonly default: () => any[];
427
+ };
428
+ readonly shortcutClose: {
429
+ readonly type: BooleanConstructor;
430
+ readonly default: false;
431
+ };
432
+ readonly modelValue: {
433
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
434
+ };
435
+ readonly options: {
436
+ readonly type: ObjectConstructor;
437
+ readonly default: () => {};
438
+ };
439
+ readonly fontSize: {
440
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
441
+ readonly default: "normal";
442
+ };
443
+ readonly upToNow: {
444
+ readonly type: BooleanConstructor;
445
+ readonly default: false;
446
+ };
447
+ readonly useShortcutText: {
448
+ readonly type: BooleanConstructor;
449
+ readonly default: false;
450
+ };
451
+ readonly shortcutSelectedIndex: {
452
+ readonly type: NumberConstructor;
453
+ readonly default: -1;
454
+ };
455
+ readonly footerSlotCls: {
456
+ readonly type: StringConstructor;
457
+ readonly default: "";
458
+ };
459
+ readonly allowCrossDay: {
460
+ readonly type: BooleanConstructor;
461
+ readonly default: false;
462
+ };
463
+ readonly behavior: {
464
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
465
+ readonly default: "normal";
466
+ readonly validator: (v: any) => boolean;
467
+ };
468
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
469
+ }>> & {
329
470
  onChange?: (...args: any[]) => any;
330
471
  onInput?: (...args: any[]) => any;
331
472
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -362,13 +503,13 @@ declare const BkDatePicker: {
362
503
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
363
504
  showClose: import("vue").Ref<boolean>;
364
505
  visible: import("vue").Ref<boolean>;
365
- internalValue: any;
506
+ internalValue: import("vue").Ref<any>;
366
507
  disableClickOutSide: import("vue").Ref<boolean>;
367
508
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
368
509
  selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
369
510
  forceInputRerender: import("vue").Ref<number>;
370
511
  isFocused: import("vue").Ref<boolean>;
371
- focusedDate: any;
512
+ focusedDate: import("vue").Ref<any>;
372
513
  focusedTime: import("vue").Ref<{
373
514
  column: number;
374
515
  picker: number;
@@ -377,72 +518,119 @@ declare const BkDatePicker: {
377
518
  }>;
378
519
  internalFocus: import("vue").Ref<boolean>;
379
520
  timeEnterMode: import("vue").Ref<boolean>;
380
- shortcut: any;
521
+ shortcut: import("vue").Ref<any>;
381
522
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
382
523
  }> & {} & {} & import("vue").ComponentCustomProperties;
383
524
  __isFragment?: never;
384
525
  __isTeleport?: never;
385
526
  __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
- }> & {
527
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
528
+ readonly type: {
529
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
530
+ readonly default: "date";
531
+ readonly validator: (value: any) => boolean;
532
+ };
533
+ readonly extPopoverCls: {
534
+ readonly type: StringConstructor;
535
+ readonly default: "";
536
+ };
537
+ readonly format: StringConstructor;
538
+ readonly readonly: {
539
+ readonly type: BooleanConstructor;
540
+ readonly default: false;
541
+ };
542
+ readonly disabled: {
543
+ readonly type: BooleanConstructor;
544
+ readonly default: false;
545
+ };
546
+ readonly editable: {
547
+ readonly type: BooleanConstructor;
548
+ readonly default: true;
549
+ };
550
+ readonly clearable: {
551
+ readonly type: BooleanConstructor;
552
+ readonly default: true;
553
+ };
554
+ readonly open: {
555
+ readonly type: BooleanConstructor;
556
+ readonly default: any;
557
+ };
558
+ readonly multiple: {
559
+ readonly type: BooleanConstructor;
560
+ readonly default: false;
561
+ };
562
+ readonly timePickerOptions: {
563
+ readonly type: import("vue").PropType<Record<string, any>>;
564
+ readonly default: () => {};
565
+ };
566
+ readonly splitPanels: {
567
+ readonly type: BooleanConstructor;
568
+ readonly default: true;
569
+ };
570
+ readonly startDate: DateConstructor;
571
+ readonly placeholder: {
572
+ readonly type: StringConstructor;
573
+ readonly default: "";
574
+ };
575
+ readonly placement: {
576
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
577
+ readonly default: "bottom-start";
578
+ readonly validator: (value: any) => boolean;
579
+ };
580
+ readonly transfer: {
581
+ readonly type: BooleanConstructor;
582
+ readonly default: false;
583
+ };
584
+ readonly appendToBody: {
585
+ readonly type: BooleanConstructor;
586
+ readonly default: false;
587
+ };
588
+ readonly shortcuts: {
589
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
590
+ readonly default: () => any[];
591
+ };
592
+ readonly shortcutClose: {
593
+ readonly type: BooleanConstructor;
594
+ readonly default: false;
595
+ };
596
+ readonly modelValue: {
597
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
598
+ };
599
+ readonly options: {
600
+ readonly type: ObjectConstructor;
601
+ readonly default: () => {};
602
+ };
603
+ readonly fontSize: {
604
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
605
+ readonly default: "normal";
606
+ };
607
+ readonly upToNow: {
608
+ readonly type: BooleanConstructor;
609
+ readonly default: false;
610
+ };
611
+ readonly useShortcutText: {
612
+ readonly type: BooleanConstructor;
613
+ readonly default: false;
614
+ };
615
+ readonly shortcutSelectedIndex: {
616
+ readonly type: NumberConstructor;
617
+ readonly default: -1;
618
+ };
619
+ readonly footerSlotCls: {
620
+ readonly type: StringConstructor;
621
+ readonly default: "";
622
+ };
623
+ readonly allowCrossDay: {
624
+ readonly type: BooleanConstructor;
625
+ readonly default: false;
626
+ };
627
+ readonly behavior: {
628
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
629
+ readonly default: "normal";
630
+ readonly validator: (v: any) => boolean;
631
+ };
632
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
633
+ }>> & {
446
634
  onChange?: (...args: any[]) => any;
447
635
  onInput?: (...args: any[]) => any;
448
636
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -479,13 +667,13 @@ declare const BkDatePicker: {
479
667
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
480
668
  showClose: import("vue").Ref<boolean>;
481
669
  visible: import("vue").Ref<boolean>;
482
- internalValue: any;
670
+ internalValue: import("vue").Ref<any>;
483
671
  disableClickOutSide: import("vue").Ref<boolean>;
484
672
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
485
673
  selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
486
674
  forceInputRerender: import("vue").Ref<number>;
487
675
  isFocused: import("vue").Ref<boolean>;
488
- focusedDate: any;
676
+ focusedDate: import("vue").Ref<any>;
489
677
  focusedTime: import("vue").Ref<{
490
678
  column: number;
491
679
  picker: number;
@@ -494,7 +682,7 @@ declare const BkDatePicker: {
494
682
  }>;
495
683
  internalFocus: import("vue").Ref<boolean>;
496
684
  timeEnterMode: import("vue").Ref<boolean>;
497
- shortcut: any;
685
+ shortcut: import("vue").Ref<any>;
498
686
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
499
687
  }, 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
688
  placement: import("@popperjs/core").ComputedPlacement;