bkui-vue 1.0.3-beta.7 → 1.0.3-beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +148 -150
- package/dist/index.esm.js +17965 -16537
- package/dist/index.umd.js +148 -150
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/alert/alert.variable.css +3 -0
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/badge/badge.variable.css +3 -0
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +4 -4
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/collapse/collapse.variable.css +3 -0
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.variable.css +3 -0
- package/lib/components.d.ts +1 -0
- package/lib/components.js +2 -5
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/date-picker/base/month-table.d.ts +2 -2
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +70 -32
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +4 -0
- package/lib/dialog/dialog.css +93 -122
- package/lib/dialog/dialog.d.ts +39 -14
- package/lib/dialog/dialog.less +92 -98
- package/lib/dialog/dialog.variable.css +96 -122
- package/lib/dialog/index.d.ts +81 -30
- package/lib/dialog/index.js +146 -124
- package/lib/dialog/props.d.ts +18 -6
- package/lib/directives/index.js +0 -1
- package/lib/dist.index.js +0 -1
- package/lib/divider/divider.variable.css +3 -0
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/exception/exception.variable.css +3 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +3 -1
- package/lib/hooks.js +1 -8
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +5 -2
- package/lib/index.js +0 -1
- package/lib/info-box/index.js +41 -455
- package/lib/info-box/info-box.css +6 -32
- package/lib/info-box/info-box.d.ts +1 -1
- package/lib/info-box/info-box.less +16 -47
- package/lib/info-box/info-box.variable.css +9 -32
- package/lib/input/index.js +5 -0
- package/lib/input/input.variable.css +3 -0
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/message.variable.css +3 -0
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +100 -52
- package/lib/modal/index.js +173 -74
- package/lib/modal/modal.css +41 -65
- package/lib/modal/modal.d.ts +40 -17
- package/lib/modal/modal.less +50 -57
- package/lib/modal/modal.variable.css +44 -65
- package/lib/modal/props.mixin.d.ts +12 -0
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/pagination/index.js +2 -1
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +45 -26
- package/lib/pop-confirm/index.js +8 -5
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.js +45 -26
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/preset.d.ts +2 -0
- package/lib/preset.js +14 -20
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +3 -0
- package/lib/rate/rate.variable.css +3 -0
- package/lib/rate/star.variable.css +3 -0
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +701 -366
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +116 -6
- package/lib/search-select/utils.d.ts +19 -6
- package/lib/select/index.d.ts +143 -6
- package/lib/select/index.js +1355 -78
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +55 -12
- package/lib/select/select.d.ts +59 -2
- package/lib/select/select.less +69 -19
- package/lib/select/select.variable.css +58 -12
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/select/type.d.ts +2 -3
- package/lib/shared/index.js +67 -3
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +5 -0
- package/lib/sideslider/index.d.ts +55 -9
- package/lib/sideslider/index.js +26 -25
- package/lib/sideslider/sideslider.css +51 -46
- package/lib/sideslider/sideslider.d.ts +25 -3
- package/lib/sideslider/sideslider.less +108 -104
- package/lib/sideslider/sideslider.variable.css +54 -46
- package/lib/slider/slider.variable.css +3 -0
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-column.d.ts +111 -5
- package/lib/table/index.d.ts +51 -5
- package/lib/table/index.js +504 -261
- package/lib/table/plugins/head-filter.variable.css +3 -0
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/props.d.ts +6 -4
- package/lib/table/table.css +6 -12
- package/lib/table/table.less +12 -9
- package/lib/table/table.variable.css +9 -12
- package/lib/table/use-attributes.d.ts +4 -42
- package/lib/table/utils.d.ts +2 -2
- package/lib/table-column/index.d.ts +235 -119
- package/lib/table-column/index.js +217 -30
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +54 -65
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/transfer.variable.css +3 -0
- package/lib/tree/tree.variable.css +3 -0
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +21 -30
- package/lib/upload/props.d.ts +3 -0
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.variable.css +3 -0
- package/lib/virtual-render/index.d.ts +9 -9
- package/lib/virtual-render/virtual-render.d.ts +3 -3
- package/lib/virtual-render/virtual-render.variable.css +3 -0
- package/package.json +3 -2
@@ -25,7 +25,7 @@ declare const BkTimePicker: {
|
|
25
25
|
readonly default: true;
|
26
26
|
};
|
27
27
|
type: {
|
28
|
-
type: import("vue").PropType<import("
|
28
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
29
29
|
default: string;
|
30
30
|
validator(value: any): boolean;
|
31
31
|
};
|
@@ -89,7 +89,7 @@ declare const BkTimePicker: {
|
|
89
89
|
readonly default: false;
|
90
90
|
};
|
91
91
|
shortcuts: {
|
92
|
-
readonly type: import("vue").PropType<import("
|
92
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
93
93
|
readonly default: () => any[];
|
94
94
|
};
|
95
95
|
shortcutClose: {
|
@@ -97,10 +97,10 @@ declare const BkTimePicker: {
|
|
97
97
|
readonly default: false;
|
98
98
|
};
|
99
99
|
modelValue: {
|
100
|
-
readonly type: import("vue").PropType<import("
|
100
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
101
101
|
};
|
102
102
|
value: {
|
103
|
-
readonly type: import("vue").PropType<import("
|
103
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
104
104
|
};
|
105
105
|
options: {
|
106
106
|
readonly type: ObjectConstructor;
|
@@ -135,7 +135,7 @@ declare const BkTimePicker: {
|
|
135
135
|
readonly default: "normal";
|
136
136
|
readonly validator: (v: any) => boolean;
|
137
137
|
};
|
138
|
-
disabledDate: import("vue").PropType<import("
|
138
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
139
139
|
withValidate: {
|
140
140
|
readonly type: BooleanConstructor;
|
141
141
|
readonly default: true;
|
@@ -149,7 +149,7 @@ declare const BkTimePicker: {
|
|
149
149
|
"onOpen-change"?: (...args: any[]) => any;
|
150
150
|
"onShortcut-change"?: (...args: any[]) => any;
|
151
151
|
}, {
|
152
|
-
panel: import("vue").ComputedRef<import("
|
152
|
+
panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
|
153
153
|
publicStringValue: import("vue").ComputedRef<any>;
|
154
154
|
opened: import("vue").ComputedRef<boolean>;
|
155
155
|
visualValue: import("vue").ComputedRef<any>;
|
@@ -172,6 +172,7 @@ declare const BkTimePicker: {
|
|
172
172
|
inputRef: import("vue").Ref<any>;
|
173
173
|
triggerRef: import("vue").Ref<HTMLElement>;
|
174
174
|
pickerPanelRef: import("vue").Ref<any>;
|
175
|
+
teleportTo: import("vue").Ref<any>;
|
175
176
|
handleClose: (e?: Event) => boolean;
|
176
177
|
handleIconClick: () => void;
|
177
178
|
handleInputMouseenter: () => void;
|
@@ -191,7 +192,7 @@ declare const BkTimePicker: {
|
|
191
192
|
internalValue: import("vue").Ref<any>;
|
192
193
|
disableClickOutSide: import("vue").Ref<boolean>;
|
193
194
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
194
|
-
selectionMode: import("vue").Ref<import("
|
195
|
+
selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
|
195
196
|
forceInputRerender: import("vue").Ref<number>;
|
196
197
|
isFocused: import("vue").Ref<boolean>;
|
197
198
|
focusedDate: import("vue").Ref<any>;
|
@@ -204,7 +205,7 @@ declare const BkTimePicker: {
|
|
204
205
|
internalFocus: import("vue").Ref<boolean>;
|
205
206
|
timeEnterMode: import("vue").Ref<boolean>;
|
206
207
|
shortcut: import("vue").Ref<any>;
|
207
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("
|
208
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
208
209
|
tmpValue: import("vue").Ref<any>;
|
209
210
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
210
211
|
disabledHours: {
|
@@ -232,7 +233,7 @@ declare const BkTimePicker: {
|
|
232
233
|
readonly default: true;
|
233
234
|
};
|
234
235
|
type: {
|
235
|
-
type: import("vue").PropType<import("
|
236
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
236
237
|
default: string;
|
237
238
|
validator(value: any): boolean;
|
238
239
|
};
|
@@ -296,7 +297,7 @@ declare const BkTimePicker: {
|
|
296
297
|
readonly default: false;
|
297
298
|
};
|
298
299
|
shortcuts: {
|
299
|
-
readonly type: import("vue").PropType<import("
|
300
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
300
301
|
readonly default: () => any[];
|
301
302
|
};
|
302
303
|
shortcutClose: {
|
@@ -304,10 +305,10 @@ declare const BkTimePicker: {
|
|
304
305
|
readonly default: false;
|
305
306
|
};
|
306
307
|
modelValue: {
|
307
|
-
readonly type: import("vue").PropType<import("
|
308
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
308
309
|
};
|
309
310
|
value: {
|
310
|
-
readonly type: import("vue").PropType<import("
|
311
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
311
312
|
};
|
312
313
|
options: {
|
313
314
|
readonly type: ObjectConstructor;
|
@@ -342,7 +343,7 @@ declare const BkTimePicker: {
|
|
342
343
|
readonly default: "normal";
|
343
344
|
readonly validator: (v: any) => boolean;
|
344
345
|
};
|
345
|
-
disabledDate: import("vue").PropType<import("
|
346
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
346
347
|
withValidate: {
|
347
348
|
readonly type: BooleanConstructor;
|
348
349
|
readonly default: true;
|
@@ -356,7 +357,7 @@ declare const BkTimePicker: {
|
|
356
357
|
"onOpen-change"?: (...args: any[]) => any;
|
357
358
|
"onShortcut-change"?: (...args: any[]) => any;
|
358
359
|
}, {
|
359
|
-
type: import("
|
360
|
+
type: import("../date-picker/interface").PickerTypeType;
|
360
361
|
width: number;
|
361
362
|
disabled: boolean;
|
362
363
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -375,7 +376,7 @@ declare const BkTimePicker: {
|
|
375
376
|
timePickerOptions: {};
|
376
377
|
splitPanels: boolean;
|
377
378
|
appendToBody: boolean;
|
378
|
-
shortcuts: import("
|
379
|
+
shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
|
379
380
|
shortcutClose: boolean;
|
380
381
|
upToNow: boolean;
|
381
382
|
useShortcutText: boolean;
|
@@ -429,7 +430,7 @@ declare const BkTimePicker: {
|
|
429
430
|
readonly default: true;
|
430
431
|
};
|
431
432
|
type: {
|
432
|
-
type: import("vue").PropType<import("
|
433
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
433
434
|
default: string;
|
434
435
|
validator(value: any): boolean;
|
435
436
|
};
|
@@ -493,7 +494,7 @@ declare const BkTimePicker: {
|
|
493
494
|
readonly default: false;
|
494
495
|
};
|
495
496
|
shortcuts: {
|
496
|
-
readonly type: import("vue").PropType<import("
|
497
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
497
498
|
readonly default: () => any[];
|
498
499
|
};
|
499
500
|
shortcutClose: {
|
@@ -501,10 +502,10 @@ declare const BkTimePicker: {
|
|
501
502
|
readonly default: false;
|
502
503
|
};
|
503
504
|
modelValue: {
|
504
|
-
readonly type: import("vue").PropType<import("
|
505
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
505
506
|
};
|
506
507
|
value: {
|
507
|
-
readonly type: import("vue").PropType<import("
|
508
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
508
509
|
};
|
509
510
|
options: {
|
510
511
|
readonly type: ObjectConstructor;
|
@@ -539,7 +540,7 @@ declare const BkTimePicker: {
|
|
539
540
|
readonly default: "normal";
|
540
541
|
readonly validator: (v: any) => boolean;
|
541
542
|
};
|
542
|
-
disabledDate: import("vue").PropType<import("
|
543
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
543
544
|
withValidate: {
|
544
545
|
readonly type: BooleanConstructor;
|
545
546
|
readonly default: true;
|
@@ -553,7 +554,7 @@ declare const BkTimePicker: {
|
|
553
554
|
"onOpen-change"?: (...args: any[]) => any;
|
554
555
|
"onShortcut-change"?: (...args: any[]) => any;
|
555
556
|
}, {
|
556
|
-
panel: import("vue").ComputedRef<import("
|
557
|
+
panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
|
557
558
|
publicStringValue: import("vue").ComputedRef<any>;
|
558
559
|
opened: import("vue").ComputedRef<boolean>;
|
559
560
|
visualValue: import("vue").ComputedRef<any>;
|
@@ -576,6 +577,7 @@ declare const BkTimePicker: {
|
|
576
577
|
inputRef: import("vue").Ref<any>;
|
577
578
|
triggerRef: import("vue").Ref<HTMLElement>;
|
578
579
|
pickerPanelRef: import("vue").Ref<any>;
|
580
|
+
teleportTo: import("vue").Ref<any>;
|
579
581
|
handleClose: (e?: Event) => boolean;
|
580
582
|
handleIconClick: () => void;
|
581
583
|
handleInputMouseenter: () => void;
|
@@ -595,7 +597,7 @@ declare const BkTimePicker: {
|
|
595
597
|
internalValue: import("vue").Ref<any>;
|
596
598
|
disableClickOutSide: import("vue").Ref<boolean>;
|
597
599
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
598
|
-
selectionMode: import("vue").Ref<import("
|
600
|
+
selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
|
599
601
|
forceInputRerender: import("vue").Ref<number>;
|
600
602
|
isFocused: import("vue").Ref<boolean>;
|
601
603
|
focusedDate: import("vue").Ref<any>;
|
@@ -608,10 +610,10 @@ declare const BkTimePicker: {
|
|
608
610
|
internalFocus: import("vue").Ref<boolean>;
|
609
611
|
timeEnterMode: import("vue").Ref<boolean>;
|
610
612
|
shortcut: import("vue").Ref<any>;
|
611
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("
|
613
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
612
614
|
tmpValue: import("vue").Ref<any>;
|
613
615
|
}, {}, {}, {}, {
|
614
|
-
type: import("
|
616
|
+
type: import("../date-picker/interface").PickerTypeType;
|
615
617
|
width: number;
|
616
618
|
disabled: boolean;
|
617
619
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -630,7 +632,7 @@ declare const BkTimePicker: {
|
|
630
632
|
timePickerOptions: {};
|
631
633
|
splitPanels: boolean;
|
632
634
|
appendToBody: boolean;
|
633
|
-
shortcuts: import("
|
635
|
+
shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
|
634
636
|
shortcutClose: boolean;
|
635
637
|
upToNow: boolean;
|
636
638
|
useShortcutText: boolean;
|
@@ -673,7 +675,7 @@ declare const BkTimePicker: {
|
|
673
675
|
readonly default: true;
|
674
676
|
};
|
675
677
|
type: {
|
676
|
-
type: import("vue").PropType<import("
|
678
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
677
679
|
default: string;
|
678
680
|
validator(value: any): boolean;
|
679
681
|
};
|
@@ -737,7 +739,7 @@ declare const BkTimePicker: {
|
|
737
739
|
readonly default: false;
|
738
740
|
};
|
739
741
|
shortcuts: {
|
740
|
-
readonly type: import("vue").PropType<import("
|
742
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
741
743
|
readonly default: () => any[];
|
742
744
|
};
|
743
745
|
shortcutClose: {
|
@@ -745,10 +747,10 @@ declare const BkTimePicker: {
|
|
745
747
|
readonly default: false;
|
746
748
|
};
|
747
749
|
modelValue: {
|
748
|
-
readonly type: import("vue").PropType<import("
|
750
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
749
751
|
};
|
750
752
|
value: {
|
751
|
-
readonly type: import("vue").PropType<import("
|
753
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
752
754
|
};
|
753
755
|
options: {
|
754
756
|
readonly type: ObjectConstructor;
|
@@ -783,7 +785,7 @@ declare const BkTimePicker: {
|
|
783
785
|
readonly default: "normal";
|
784
786
|
readonly validator: (v: any) => boolean;
|
785
787
|
};
|
786
|
-
disabledDate: import("vue").PropType<import("
|
788
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
787
789
|
withValidate: {
|
788
790
|
readonly type: BooleanConstructor;
|
789
791
|
readonly default: true;
|
@@ -797,7 +799,7 @@ declare const BkTimePicker: {
|
|
797
799
|
"onOpen-change"?: (...args: any[]) => any;
|
798
800
|
"onShortcut-change"?: (...args: any[]) => any;
|
799
801
|
}, {
|
800
|
-
panel: import("vue").ComputedRef<import("
|
802
|
+
panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
|
801
803
|
publicStringValue: import("vue").ComputedRef<any>;
|
802
804
|
opened: import("vue").ComputedRef<boolean>;
|
803
805
|
visualValue: import("vue").ComputedRef<any>;
|
@@ -820,6 +822,7 @@ declare const BkTimePicker: {
|
|
820
822
|
inputRef: import("vue").Ref<any>;
|
821
823
|
triggerRef: import("vue").Ref<HTMLElement>;
|
822
824
|
pickerPanelRef: import("vue").Ref<any>;
|
825
|
+
teleportTo: import("vue").Ref<any>;
|
823
826
|
handleClose: (e?: Event) => boolean;
|
824
827
|
handleIconClick: () => void;
|
825
828
|
handleInputMouseenter: () => void;
|
@@ -839,7 +842,7 @@ declare const BkTimePicker: {
|
|
839
842
|
internalValue: import("vue").Ref<any>;
|
840
843
|
disableClickOutSide: import("vue").Ref<boolean>;
|
841
844
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
842
|
-
selectionMode: import("vue").Ref<import("
|
845
|
+
selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
|
843
846
|
forceInputRerender: import("vue").Ref<number>;
|
844
847
|
isFocused: import("vue").Ref<boolean>;
|
845
848
|
focusedDate: import("vue").Ref<any>;
|
@@ -852,10 +855,10 @@ declare const BkTimePicker: {
|
|
852
855
|
internalFocus: import("vue").Ref<boolean>;
|
853
856
|
timeEnterMode: import("vue").Ref<boolean>;
|
854
857
|
shortcut: import("vue").Ref<any>;
|
855
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("
|
858
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
856
859
|
tmpValue: import("vue").Ref<any>;
|
857
860
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
858
|
-
type: import("
|
861
|
+
type: import("../date-picker/interface").PickerTypeType;
|
859
862
|
width: number;
|
860
863
|
disabled: boolean;
|
861
864
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -874,7 +877,7 @@ declare const BkTimePicker: {
|
|
874
877
|
timePickerOptions: {};
|
875
878
|
splitPanels: boolean;
|
876
879
|
appendToBody: boolean;
|
877
|
-
shortcuts: import("
|
880
|
+
shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
|
878
881
|
shortcutClose: boolean;
|
879
882
|
upToNow: boolean;
|
880
883
|
useShortcutText: boolean;
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-time-picker-header {
|
128
131
|
height: 46px;
|
package/lib/timeline/index.d.ts
CHANGED
@@ -1,43 +1,57 @@
|
|
1
1
|
declare const BkTimeline: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
list: import("vue-types").
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
list: import("vue-types").VueTypeDef<{
|
4
|
+
tag: string;
|
5
|
+
content: object;
|
6
|
+
type: string;
|
7
|
+
size: string;
|
8
|
+
color: string;
|
9
|
+
icon: any;
|
10
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
11
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
12
|
+
nodeType: "template" | "vnode";
|
13
|
+
}[]>;
|
8
14
|
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
9
15
|
default: boolean;
|
10
16
|
} & {
|
11
17
|
default: boolean;
|
12
18
|
};
|
13
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
14
|
-
default: string;
|
15
|
-
};
|
16
19
|
}>> & {
|
17
20
|
onSelect?: (...args: any[]) => any;
|
18
21
|
}, {
|
19
|
-
defaultTimelines: import("vue").
|
20
|
-
|
22
|
+
defaultTimelines: import("vue").ShallowRef<{
|
23
|
+
tag: string;
|
24
|
+
content: object;
|
25
|
+
type: string;
|
26
|
+
size: string;
|
27
|
+
color: string;
|
28
|
+
icon: any;
|
29
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
30
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
31
|
+
nodeType: "template" | "vnode";
|
32
|
+
}[]>;
|
33
|
+
handleTitleSelect: (item: any) => void;
|
21
34
|
resolveClassName: (cls: string) => string;
|
22
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
23
|
-
list: import("vue-types").
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
36
|
+
list: import("vue-types").VueTypeDef<{
|
37
|
+
tag: string;
|
38
|
+
content: object;
|
39
|
+
type: string;
|
40
|
+
size: string;
|
41
|
+
color: string;
|
42
|
+
icon: any;
|
43
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
44
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
45
|
+
nodeType: "template" | "vnode";
|
46
|
+
}[]>;
|
28
47
|
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
29
48
|
default: boolean;
|
30
49
|
} & {
|
31
50
|
default: boolean;
|
32
51
|
};
|
33
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
34
|
-
default: string;
|
35
|
-
};
|
36
52
|
}>> & {
|
37
53
|
onSelect?: (...args: any[]) => any;
|
38
54
|
}, {
|
39
|
-
extCls: string;
|
40
|
-
list: unknown[];
|
41
55
|
titleAble: boolean;
|
42
56
|
}, true, {}, {}, {
|
43
57
|
P: {};
|
@@ -47,56 +61,78 @@ declare const BkTimeline: {
|
|
47
61
|
M: {};
|
48
62
|
Defaults: {};
|
49
63
|
}, Readonly<import("vue").ExtractPropTypes<{
|
50
|
-
list: import("vue-types").
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
64
|
+
list: import("vue-types").VueTypeDef<{
|
65
|
+
tag: string;
|
66
|
+
content: object;
|
67
|
+
type: string;
|
68
|
+
size: string;
|
69
|
+
color: string;
|
70
|
+
icon: any;
|
71
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
72
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
73
|
+
nodeType: "template" | "vnode";
|
74
|
+
}[]>;
|
55
75
|
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
56
76
|
default: boolean;
|
57
77
|
} & {
|
58
78
|
default: boolean;
|
59
79
|
};
|
60
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
61
|
-
default: string;
|
62
|
-
};
|
63
80
|
}>> & {
|
64
81
|
onSelect?: (...args: any[]) => any;
|
65
82
|
}, {
|
66
|
-
defaultTimelines: import("vue").
|
67
|
-
|
83
|
+
defaultTimelines: import("vue").ShallowRef<{
|
84
|
+
tag: string;
|
85
|
+
content: object;
|
86
|
+
type: string;
|
87
|
+
size: string;
|
88
|
+
color: string;
|
89
|
+
icon: any;
|
90
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
91
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
92
|
+
nodeType: "template" | "vnode";
|
93
|
+
}[]>;
|
94
|
+
handleTitleSelect: (item: any) => void;
|
68
95
|
resolveClassName: (cls: string) => string;
|
69
96
|
}, {}, {}, {}, {
|
70
|
-
extCls: string;
|
71
|
-
list: unknown[];
|
72
97
|
titleAble: boolean;
|
73
98
|
}>;
|
74
99
|
__isFragment?: never;
|
75
100
|
__isTeleport?: never;
|
76
101
|
__isSuspense?: never;
|
77
102
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
78
|
-
list: import("vue-types").
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
103
|
+
list: import("vue-types").VueTypeDef<{
|
104
|
+
tag: string;
|
105
|
+
content: object;
|
106
|
+
type: string;
|
107
|
+
size: string;
|
108
|
+
color: string;
|
109
|
+
icon: any;
|
110
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
111
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
112
|
+
nodeType: "template" | "vnode";
|
113
|
+
}[]>;
|
83
114
|
titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
|
84
115
|
default: boolean;
|
85
116
|
} & {
|
86
117
|
default: boolean;
|
87
118
|
};
|
88
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
89
|
-
default: string;
|
90
|
-
};
|
91
119
|
}>> & {
|
92
120
|
onSelect?: (...args: any[]) => any;
|
93
121
|
}, {
|
94
|
-
defaultTimelines: import("vue").
|
95
|
-
|
122
|
+
defaultTimelines: import("vue").ShallowRef<{
|
123
|
+
tag: string;
|
124
|
+
content: object;
|
125
|
+
type: string;
|
126
|
+
size: string;
|
127
|
+
color: string;
|
128
|
+
icon: any;
|
129
|
+
filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
130
|
+
border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
131
|
+
nodeType: "template" | "vnode";
|
132
|
+
}[]>;
|
133
|
+
handleTitleSelect: (item: any) => void;
|
96
134
|
resolveClassName: (cls: string) => string;
|
97
135
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", {
|
98
|
-
extCls: string;
|
99
|
-
list: unknown[];
|
100
136
|
titleAble: boolean;
|
101
137
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
102
138
|
export default BkTimeline;
|