bkui-vue 0.0.3-beta.2 → 0.0.3-beta.2-2
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 +48 -48
- package/dist/index.esm.js +10567 -10537
- package/dist/index.umd.js +48 -48
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +380 -437
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/index.d.ts +156 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +345 -302
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +25 -26
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +229 -230
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +0 -4
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +251 -246
- package/lib/modal/index.js +24 -24
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +62 -64
- package/lib/sideslider/index.d.ts +237 -226
- package/lib/sideslider/index.js +227 -227
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +161 -132
- package/lib/table/plugins/use-pagination.d.ts +3 -2
- package/lib/table/table.css +12 -5
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +15 -5
- package/lib/table/table.variable.css +12 -5
- package/lib/table/use-attributes.d.ts +40 -1
- package/lib/table/use-common.d.ts +68 -34
- package/lib/table-column/index.d.ts +206 -242
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +334 -293
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
@@ -1,160 +1,123 @@
|
|
1
1
|
declare const BkColorPicker: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
+
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
4
|
+
default: string;
|
5
|
+
} & {
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
9
|
+
default: boolean;
|
10
|
+
} & {
|
11
|
+
default: boolean;
|
12
|
+
};
|
13
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
|
+
default: boolean;
|
15
|
+
} & {
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
|
+
default: boolean;
|
20
|
+
} & {
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
size: import("vue-types").VueTypeDef<"" | "small" | "large"> & {
|
24
|
+
default: "" | "small" | "large";
|
25
|
+
};
|
26
|
+
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
27
|
+
default: boolean;
|
28
|
+
} & {
|
29
|
+
default: boolean;
|
30
|
+
};
|
31
|
+
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
32
|
+
default: boolean | (() => unknown[]);
|
33
|
+
};
|
34
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
35
|
+
default: string;
|
36
|
+
} & {
|
37
|
+
default: string;
|
38
|
+
};
|
39
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
40
|
+
default: boolean;
|
41
|
+
} & {
|
42
|
+
default: boolean;
|
43
|
+
};
|
44
|
+
recommendEmpty: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
|
+
default: boolean;
|
46
|
+
} & {
|
47
|
+
default: boolean;
|
48
|
+
};
|
49
|
+
}>> & {
|
50
|
+
onChange?: (...args: any[]) => any;
|
51
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
52
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
53
|
+
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
} & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
59
|
+
default: boolean;
|
60
|
+
} & {
|
61
|
+
default: boolean;
|
62
|
+
};
|
63
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
64
|
+
default: boolean;
|
65
|
+
} & {
|
66
|
+
default: boolean;
|
67
|
+
};
|
68
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
69
|
+
default: boolean;
|
70
|
+
} & {
|
71
|
+
default: boolean;
|
72
|
+
};
|
73
|
+
size: import("vue-types").VueTypeDef<"" | "small" | "large"> & {
|
74
|
+
default: "" | "small" | "large";
|
75
|
+
};
|
76
|
+
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
77
|
+
default: boolean;
|
78
|
+
} & {
|
79
|
+
default: boolean;
|
80
|
+
};
|
81
|
+
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
82
|
+
default: boolean | (() => unknown[]);
|
62
83
|
};
|
63
|
-
|
64
|
-
|
84
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
85
|
+
default: string;
|
86
|
+
} & {
|
87
|
+
default: string;
|
65
88
|
};
|
66
|
-
|
67
|
-
|
89
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
90
|
+
default: boolean;
|
91
|
+
} & {
|
92
|
+
default: boolean;
|
68
93
|
};
|
69
|
-
|
70
|
-
|
71
|
-
}
|
72
|
-
|
73
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
74
|
-
$emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
|
75
|
-
$el: any;
|
76
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
77
|
-
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
78
|
-
default: string;
|
79
|
-
} & {
|
80
|
-
default: string;
|
81
|
-
};
|
82
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
-
default: boolean;
|
84
|
-
} & {
|
85
|
-
default: boolean;
|
86
|
-
};
|
87
|
-
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
88
|
-
default: boolean;
|
89
|
-
} & {
|
90
|
-
default: boolean;
|
91
|
-
};
|
92
|
-
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
93
|
-
default: boolean;
|
94
|
-
} & {
|
95
|
-
default: boolean;
|
96
|
-
};
|
97
|
-
size: import("vue-types").VueTypeDef<"" | "small" | "large"> & {
|
98
|
-
default: "" | "small" | "large";
|
99
|
-
};
|
100
|
-
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
101
|
-
default: boolean;
|
102
|
-
} & {
|
103
|
-
default: boolean;
|
104
|
-
};
|
105
|
-
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
106
|
-
default: boolean | (() => unknown[]);
|
107
|
-
};
|
108
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
109
|
-
default: string;
|
110
|
-
} & {
|
111
|
-
default: string;
|
112
|
-
};
|
113
|
-
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
114
|
-
default: boolean;
|
115
|
-
} & {
|
116
|
-
default: boolean;
|
117
|
-
};
|
118
|
-
recommendEmpty: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
-
default: boolean;
|
120
|
-
} & {
|
121
|
-
default: boolean;
|
122
|
-
};
|
123
|
-
}>> & {
|
124
|
-
onChange?: (...args: any[]) => any;
|
125
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
126
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
127
|
-
extCls: string;
|
128
|
-
disabled: boolean;
|
129
|
-
size: "" | "small" | "large";
|
130
|
-
transfer: boolean;
|
131
|
-
readonly: boolean;
|
132
|
-
modelValue: string;
|
133
|
-
withValidate: boolean;
|
134
|
-
recommend: boolean | unknown[];
|
135
|
-
recommendEmpty: boolean;
|
136
|
-
showValue: boolean;
|
137
|
-
}, {}, string, {}> & {
|
138
|
-
beforeCreate?: (() => void) | (() => void)[];
|
139
|
-
created?: (() => void) | (() => void)[];
|
140
|
-
beforeMount?: (() => void) | (() => void)[];
|
141
|
-
mounted?: (() => void) | (() => void)[];
|
142
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
143
|
-
updated?: (() => void) | (() => void)[];
|
144
|
-
activated?: (() => void) | (() => void)[];
|
145
|
-
deactivated?: (() => void) | (() => void)[];
|
146
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
147
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
148
|
-
destroyed?: (() => void) | (() => void)[];
|
149
|
-
unmounted?: (() => void) | (() => void)[];
|
150
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
151
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
152
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
94
|
+
recommendEmpty: import("vue-types").VueTypeValidableDef<boolean> & {
|
95
|
+
default: boolean;
|
96
|
+
} & {
|
97
|
+
default: boolean;
|
153
98
|
};
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
}
|
99
|
+
}>> & {
|
100
|
+
onChange?: (...args: any[]) => any;
|
101
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
102
|
+
}, {
|
103
|
+
extCls: string;
|
104
|
+
size: "" | "small" | "large";
|
105
|
+
disabled: boolean;
|
106
|
+
transfer: boolean;
|
107
|
+
readonly: boolean;
|
108
|
+
modelValue: string;
|
109
|
+
withValidate: boolean;
|
110
|
+
recommend: boolean | unknown[];
|
111
|
+
recommendEmpty: boolean;
|
112
|
+
showValue: boolean;
|
113
|
+
}, true, {}, {}, {
|
114
|
+
P: {};
|
115
|
+
B: {};
|
116
|
+
D: {};
|
117
|
+
C: {};
|
118
|
+
M: {};
|
119
|
+
Defaults: {};
|
120
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
158
121
|
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
159
122
|
default: string;
|
160
123
|
} & {
|
@@ -204,7 +167,18 @@ declare const BkColorPicker: {
|
|
204
167
|
}>> & {
|
205
168
|
onChange?: (...args: any[]) => any;
|
206
169
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
207
|
-
}
|
170
|
+
}, () => JSX.Element, {}, {}, {}, {
|
171
|
+
extCls: string;
|
172
|
+
size: "" | "small" | "large";
|
173
|
+
disabled: boolean;
|
174
|
+
transfer: boolean;
|
175
|
+
readonly: boolean;
|
176
|
+
modelValue: string;
|
177
|
+
withValidate: boolean;
|
178
|
+
recommend: boolean | unknown[];
|
179
|
+
recommendEmpty: boolean;
|
180
|
+
showValue: boolean;
|
181
|
+
}>;
|
208
182
|
__isFragment?: never;
|
209
183
|
__isTeleport?: never;
|
210
184
|
__isSuspense?: never;
|
@@ -260,8 +234,8 @@ declare const BkColorPicker: {
|
|
260
234
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
261
235
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
262
236
|
extCls: string;
|
263
|
-
disabled: boolean;
|
264
237
|
size: "" | "small" | "large";
|
238
|
+
disabled: boolean;
|
265
239
|
transfer: boolean;
|
266
240
|
readonly: boolean;
|
267
241
|
modelValue: string;
|
@@ -38,38 +38,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
38
38
|
var y = x => () => x
|
39
39
|
const external_shared_namespaceObject = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.BKPopover, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
40
40
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
41
|
-
function _typeof(
|
41
|
+
function _typeof(o) {
|
42
42
|
"@babel/helpers - typeof";
|
43
43
|
|
44
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
45
|
-
return typeof
|
46
|
-
} : function (
|
47
|
-
return
|
48
|
-
}, _typeof(
|
44
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
45
|
+
return typeof o;
|
46
|
+
} : function (o) {
|
47
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
48
|
+
}, _typeof(o);
|
49
49
|
}
|
50
50
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
51
51
|
|
52
|
-
function
|
53
|
-
if (
|
54
|
-
var
|
55
|
-
if (
|
56
|
-
var
|
57
|
-
if (
|
52
|
+
function toPrimitive(t, r) {
|
53
|
+
if ("object" != _typeof(t) || !t) return t;
|
54
|
+
var e = t[Symbol.toPrimitive];
|
55
|
+
if (void 0 !== e) {
|
56
|
+
var i = e.call(t, r || "default");
|
57
|
+
if ("object" != _typeof(i)) return i;
|
58
58
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
59
59
|
}
|
60
|
-
return (
|
60
|
+
return ("string" === r ? String : Number)(t);
|
61
61
|
}
|
62
62
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
63
63
|
|
64
64
|
|
65
|
-
function
|
66
|
-
var
|
67
|
-
return _typeof(
|
65
|
+
function toPropertyKey(t) {
|
66
|
+
var i = toPrimitive(t, "string");
|
67
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
68
68
|
}
|
69
69
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
70
|
|
71
71
|
function _defineProperty(obj, key, value) {
|
72
|
-
key =
|
72
|
+
key = toPropertyKey(key);
|
73
73
|
if (key in obj) {
|
74
74
|
Object.defineProperty(obj, key, {
|
75
75
|
value: value,
|
@@ -1287,8 +1287,8 @@ const external_icon_namespaceObject = external_icon_x({ ["AngleUp"]: () => __WEB
|
|
1287
1287
|
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/picker-dropdown.tsx
|
1288
1288
|
|
1289
1289
|
|
1290
|
-
function ownKeys(
|
1291
|
-
function _objectSpread(
|
1290
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
1291
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
1292
1292
|
/*
|
1293
1293
|
* Tencent is pleased to support the open source community by making
|
1294
1294
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1375,7 +1375,7 @@ var pickerDropdownProps = {
|
|
1375
1375
|
var forceUpdate = function forceUpdate() {
|
1376
1376
|
if (popoverInstance) {
|
1377
1377
|
var _popoverInstance, _popoverInstance$forc;
|
1378
|
-
(_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0
|
1378
|
+
(_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0 || _popoverInstance$forc.call(_popoverInstance);
|
1379
1379
|
}
|
1380
1380
|
};
|
1381
1381
|
var destoryDropdown = function destoryDropdown() {
|
@@ -1505,7 +1505,6 @@ var pickerDropdownProps = {
|
|
1505
1505
|
});
|
1506
1506
|
}
|
1507
1507
|
};
|
1508
|
-
|
1509
1508
|
var styles = (0,external_vue_namespaceObject.computed)(function () {
|
1510
1509
|
var style = {};
|
1511
1510
|
if (props.appendToBody) {
|
@@ -2083,8 +2082,7 @@ var recommend_colors_colorPickerProps = {
|
|
2083
2082
|
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
2084
2083
|
resolveClassName = _usePrefix.resolveClassName;
|
2085
2084
|
var getColorClass = function getColorClass(color, index) {
|
2086
|
-
|
2087
|
-
return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName('color-picker-empty')), color === ''), _defineProperty(_classes, "".concat(resolveClassName('color-picker-recommend-selected-color')), isFocused.value && selectedIndex.value === index), _classes), "".concat(resolveClassName('color-picker-recommend-color')));
|
2085
|
+
return (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName('color-picker-empty')), color === ''), "".concat(resolveClassName('color-picker-recommend-selected-color')), isFocused.value && selectedIndex.value === index), "".concat(resolveClassName('color-picker-recommend-color')));
|
2088
2086
|
};
|
2089
2087
|
var handleKeydown = function handleKeydown(e) {
|
2090
2088
|
if (e.code === 'Tab') {
|
@@ -2411,8 +2409,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
2411
2409
|
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
2412
2410
|
resolveClassName = _usePrefix.resolveClassName;
|
2413
2411
|
var colorPickerCls = (0,external_vue_namespaceObject.computed)(function () {
|
2414
|
-
|
2415
|
-
return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName("color-picker-".concat(props.size))), props.size), _defineProperty(_classes, "".concat(resolveClassName('color-picker-show-dropdown')), showDropdown.value), _defineProperty(_classes, "".concat(resolveClassName('color-picker-show-value')), props.showValue), _defineProperty(_classes, "".concat(resolveClassName('color-picker-disabled')), props.disabled || props.readonly), _classes), "".concat(resolveClassName('color-picker'), " ").concat(props.extCls));
|
2412
|
+
return (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName("color-picker-".concat(props.size))), props.size), "".concat(resolveClassName('color-picker-show-dropdown')), showDropdown.value), "".concat(resolveClassName('color-picker-show-value')), props.showValue), "".concat(resolveClassName('color-picker-disabled')), props.disabled || props.readonly), "".concat(resolveClassName('color-picker'), " ").concat(props.extCls));
|
2416
2413
|
});
|
2417
2414
|
// 是否渲染预设值
|
2418
2415
|
var isRenderRecommend = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -2431,7 +2428,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
2431
2428
|
changeColorFromProps();
|
2432
2429
|
if (props.withValidate) {
|
2433
2430
|
var _formItem$validate;
|
2434
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
2431
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
2435
2432
|
}
|
2436
2433
|
});
|
2437
2434
|
var handleTriggerKeydown = function handleTriggerKeydown(e) {
|
@@ -2467,7 +2464,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
2467
2464
|
var openDropdown = function openDropdown() {
|
2468
2465
|
var _dropRef$value;
|
2469
2466
|
showDropdown.value = true;
|
2470
|
-
(_dropRef$value = dropRef.value) === null || _dropRef$value === void 0
|
2467
|
+
(_dropRef$value = dropRef.value) === null || _dropRef$value === void 0 || _dropRef$value.updateDropdown();
|
2471
2468
|
// 展开后默认聚焦于 HEX 输入框,setTimeout 等 transfer 出现
|
2472
2469
|
setTimeout(function () {
|
2473
2470
|
var hexInput = dropRef.value.$el.querySelector(".".concat(resolveClassName('color-picker-input-hex'), " .").concat(resolveClassName('color-picker-input-value')));
|
@@ -2481,7 +2478,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
2481
2478
|
return referenceRef.value.focus();
|
2482
2479
|
});
|
2483
2480
|
showDropdown.value = false;
|
2484
|
-
(_dropRef$value2 = dropRef.value) === null || _dropRef$value2 === void 0
|
2481
|
+
(_dropRef$value2 = dropRef.value) === null || _dropRef$value2 === void 0 || _dropRef$value2.destoryDropdown();
|
2485
2482
|
// 3. 关闭组件时如果绑定值与组件内部选择的值不一致(比如既没有使用 v-model 也没有监听 change 事件)显示绑定值
|
2486
2483
|
changeColorFromProps();
|
2487
2484
|
}
|