bkui-vue 0.0.1-beta.143 → 0.0.1-beta.144
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.esm.js +1 -0
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +128 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +388 -0
- package/lib/color-picker/index.d.ts +231 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/styles/index.d.ts +1 -0
- package/package.json +2 -1
@@ -0,0 +1,388 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
4
|
+
--primary-color: #3a84ff;
|
5
|
+
--success-color: #2dcb56;
|
6
|
+
--warning-color: #ff9c01;
|
7
|
+
--danger-color: #ea3636;
|
8
|
+
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
10
|
+
--light-gray: #c4c6cc;
|
11
|
+
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
13
|
+
--disable-color: #dcdee5;
|
14
|
+
--font-size-base: 12px;
|
15
|
+
--font-size-medium: 14px;
|
16
|
+
--font-size-large: 16px;
|
17
|
+
--line-height-base: 16px;
|
18
|
+
--line-height-medium: 16px;
|
19
|
+
--line-height-large: 18px;
|
20
|
+
--component-size-small: 26px;
|
21
|
+
--component-size-base: 32px;
|
22
|
+
--component-size-large: 40px;
|
23
|
+
--border-width-base: 1px;
|
24
|
+
--border-style-base: solid;
|
25
|
+
--border-radius-base: 2px;
|
26
|
+
--input-disabled-bg: #fafbfd;
|
27
|
+
--input-disabled-border: var(--disable-color);
|
28
|
+
--input-height-base: var(--component-size-base);
|
29
|
+
--input-color: var(--default-color);
|
30
|
+
--input-bg: white;
|
31
|
+
--input-border-color: var(--light-gray);
|
32
|
+
--input-broder-radius: 3px;
|
33
|
+
--input-shadow-color: #a3c5fd;
|
34
|
+
--input-horizontal-padding: 10px;
|
35
|
+
--input-block-color: #f5f7fa;
|
36
|
+
--input-block-hover-color: #eaebf0;
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
|
+
--input-maxlength-color: #979ba5;
|
39
|
+
--button-primary-hover-color: #5594fa;
|
40
|
+
--button-danger-hover-color: #ff5656;
|
41
|
+
--button-success-hover-color: #45e35f;
|
42
|
+
--button-warning-hover-color: #ffb848;
|
43
|
+
--button-default-hover-border-color: #979ba5;
|
44
|
+
--button-primary-active-color: #2c77f4;
|
45
|
+
--button-danger-active-color: #db2626;
|
46
|
+
--button-success-active-color: #1ab943;
|
47
|
+
--button-warning-active-color: #eb9000;
|
48
|
+
--button-selected-bg-color: #e1ecff;
|
49
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
50
|
+
--radio-font-color: #63656e;
|
51
|
+
--radio-active-color: #5594fa;
|
52
|
+
--radio-hover-border-color: #979ba5;
|
53
|
+
--radio-disabled-border: #dcdee5;
|
54
|
+
--radio-disabled-font-color: #c4c6c;
|
55
|
+
--radio-distable-checked-bg: #fafbfd;
|
56
|
+
--radio-button-checked-bg: #e1ecff;
|
57
|
+
--fixed-navbar-background: #fff;
|
58
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
59
|
+
--switch-default-color: #fff;
|
60
|
+
--switch-grey-color: #c4c6cc;
|
61
|
+
--breadcrumb-black-color: #979ba5;
|
62
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
63
|
+
--breadcrumb-fn-main-color: #63656e;
|
64
|
+
--link-default-hover-color: #979ba5;
|
65
|
+
--link-primary-hover-color: #699df4;
|
66
|
+
--link-success-hover-color: #45e35f;
|
67
|
+
--link-warning-hover-color: #ffb848;
|
68
|
+
--link-danger-hover-color: #ff5656;
|
69
|
+
--link-default-disabled-color: #dcdee5;
|
70
|
+
--link-primary-disabled-color: #a3c5fd;
|
71
|
+
--link-success-disabled-color: #94f5a4;
|
72
|
+
--link-warning-disabled-color: #ffd695;
|
73
|
+
--link-danger-disabled-color: #fd9c9c;
|
74
|
+
--message-color: var(--default-color);
|
75
|
+
--message-primary-bg-color: #f0f8ff;
|
76
|
+
--message-primary-border-color: #e1ecff;
|
77
|
+
--message-primary-shadow-color: #e1e8f4;
|
78
|
+
--message-warning-bg-color: #fff4e2;
|
79
|
+
--message-warning-border-color: #ffe8c3;
|
80
|
+
--message-warning-shadow-color: #ede6db;
|
81
|
+
--message-success-bg-color: #f2fff4;
|
82
|
+
--message-success-border-color: #dcffe2;
|
83
|
+
--message-success-shadow-color: #cef0d7;
|
84
|
+
--message-danger-bg-color: #ffeded;
|
85
|
+
--message-danger-border-color: #ffdddd;
|
86
|
+
--message-danger-shadow-color: #f6dada;
|
87
|
+
--slider-default-bg: #dcdee5;
|
88
|
+
--slider-disable-bar-bg: #979ba5;
|
89
|
+
--menu-bg-color: #182132;
|
90
|
+
--submenu-bg-color: #151d2c;
|
91
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
92
|
+
--menu-color: #96a2b9;
|
93
|
+
--menu-group-color: var(--default-color);
|
94
|
+
--menu-width: 260px;
|
95
|
+
--menu-collapse-width: 60px;
|
96
|
+
--menu-active-color: white;
|
97
|
+
--nav-header-bg-color: #182132;
|
98
|
+
--nav-bg-color: #182132;
|
99
|
+
--date-picker-disabled-bg: #fafbfd;
|
100
|
+
--date-picker-dropdown-mb: 4px;
|
101
|
+
--date-picker-dropdown-bg: #fff;
|
102
|
+
--table-bg-color: var(--white-color);
|
103
|
+
--table-border-color: #dcdee5;
|
104
|
+
--table-head-bg-color: #fafbfd;
|
105
|
+
--table-head-font-color: #313238;
|
106
|
+
--table-body-font-color: #575961;
|
107
|
+
--table-row-hover-bg-color: #f5f7fa;
|
108
|
+
--table-row-active-bg-color: #f0f1f5;
|
109
|
+
--cascader-panel-border-color: #dcdee5;
|
110
|
+
--cascader-panel-hover: #eaf3ff;
|
111
|
+
--cascader-panel-active: #f4f6fa;
|
112
|
+
--cascader-panel-disabled-bg: #fff;
|
113
|
+
}
|
114
|
+
.bk-color-picker {
|
115
|
+
position: relative;
|
116
|
+
display: inline-flex;
|
117
|
+
height: 32px;
|
118
|
+
color: #63656e;
|
119
|
+
cursor: pointer;
|
120
|
+
border: 1px solid #dcdee5;
|
121
|
+
border-radius: 2px;
|
122
|
+
outline: none;
|
123
|
+
transition: border 0.2s, box-shadow 0.2s;
|
124
|
+
align-content: center;
|
125
|
+
}
|
126
|
+
.bk-color-picker.bk-color-picker-show-value {
|
127
|
+
width: 150px;
|
128
|
+
}
|
129
|
+
.bk-color-picker.bk-color-picker-large {
|
130
|
+
height: 36px;
|
131
|
+
}
|
132
|
+
.bk-color-picker.bk-color-picker-large.bk-color-picker-show-value {
|
133
|
+
width: 170px;
|
134
|
+
}
|
135
|
+
.bk-color-picker.bk-color-picker-large.bk-color-picker-show-value .bk-color-picker-text {
|
136
|
+
width: calc(100% - 62px);
|
137
|
+
font-size: 16px;
|
138
|
+
}
|
139
|
+
.bk-color-picker.bk-color-picker-large .bk-color-picker-color .bk-color-picker-color-square {
|
140
|
+
width: 22px;
|
141
|
+
height: 22px;
|
142
|
+
font-size: 22px;
|
143
|
+
}
|
144
|
+
.bk-color-picker.bk-color-picker-small {
|
145
|
+
height: 28px;
|
146
|
+
}
|
147
|
+
.bk-color-picker.bk-color-picker-small.bk-color-picker-show-value {
|
148
|
+
width: 132px;
|
149
|
+
}
|
150
|
+
.bk-color-picker.bk-color-picker-small.bk-color-picker-show-value .bk-color-picker-text {
|
151
|
+
width: calc(100% - 56px);
|
152
|
+
font-size: 12px;
|
153
|
+
}
|
154
|
+
.bk-color-picker.bk-color-picker-small .bk-color-picker-color .bk-color-picker-color-square {
|
155
|
+
width: 16px;
|
156
|
+
height: 16px;
|
157
|
+
font-size: 16px;
|
158
|
+
}
|
159
|
+
.bk-color-picker:hover,
|
160
|
+
.bk-color-picker:focus {
|
161
|
+
border-color: #3a84ff;
|
162
|
+
transition: border 0.2s;
|
163
|
+
}
|
164
|
+
.bk-color-picker.bk-color-picker-show-dropdown {
|
165
|
+
border-color: #3a84ff;
|
166
|
+
box-shadow: 0 0 0 2px rgba(45, 140, 240, 0.2);
|
167
|
+
transition: border 0.2s, box-shadow 0.2s;
|
168
|
+
}
|
169
|
+
.bk-color-picker.bk-color-picker-show-dropdown .icon-angle-down {
|
170
|
+
transform: rotate(-180deg);
|
171
|
+
transition: transform 0.3s;
|
172
|
+
}
|
173
|
+
.bk-color-picker.bk-color-picker-disabled {
|
174
|
+
cursor: not-allowed;
|
175
|
+
background-color: #e1ecff;
|
176
|
+
border-color: #699df4;
|
177
|
+
}
|
178
|
+
.bk-color-picker.bk-color-picker-disabled .bk-color-picker-text {
|
179
|
+
color: #3a84ff;
|
180
|
+
}
|
181
|
+
.bk-color-picker.bk-color-picker-disabled .bk-color-picker-icon .icon-angle-down {
|
182
|
+
color: #3a84ff;
|
183
|
+
}
|
184
|
+
.bk-color-picker .bk-color-picker-color {
|
185
|
+
display: flex;
|
186
|
+
margin-left: 6px;
|
187
|
+
align-items: center;
|
188
|
+
}
|
189
|
+
.bk-color-picker .bk-color-picker-color .bk-color-picker-color-square {
|
190
|
+
width: 18px;
|
191
|
+
height: 18px;
|
192
|
+
font-size: 18px;
|
193
|
+
color: #3a84ff;
|
194
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
|
195
|
+
}
|
196
|
+
.bk-color-picker .bk-color-picker-text {
|
197
|
+
display: flex;
|
198
|
+
width: calc(100% - 58px);
|
199
|
+
margin-left: 6px;
|
200
|
+
font-size: 14px;
|
201
|
+
line-height: 20px;
|
202
|
+
color: #63656e;
|
203
|
+
align-items: center;
|
204
|
+
}
|
205
|
+
.bk-color-picker .bk-color-picker-text span {
|
206
|
+
overflow: hidden;
|
207
|
+
text-overflow: ellipsis;
|
208
|
+
white-space: nowrap;
|
209
|
+
}
|
210
|
+
.bk-color-picker .bk-color-picker-icon {
|
211
|
+
display: flex;
|
212
|
+
justify-content: center;
|
213
|
+
align-items: center;
|
214
|
+
width: 20px;
|
215
|
+
margin-right: 5px;
|
216
|
+
transform: rotate(180deg);
|
217
|
+
}
|
218
|
+
.bk-color-picker .bk-color-picker-icon .icon-angle-down {
|
219
|
+
position: absolute;
|
220
|
+
right: 4px;
|
221
|
+
display: flex;
|
222
|
+
align-items: center;
|
223
|
+
font-size: 20px;
|
224
|
+
color: #979ba5;
|
225
|
+
transition: transform 0.3s;
|
226
|
+
}
|
227
|
+
/*下拉面板*/
|
228
|
+
.bk-color-picker-dropdown {
|
229
|
+
width: 272px;
|
230
|
+
}
|
231
|
+
.bk-color-picker-saturation {
|
232
|
+
position: relative;
|
233
|
+
height: 180px;
|
234
|
+
margin: 0 6px 6px;
|
235
|
+
}
|
236
|
+
.bk-color-picker-saturation .bk-color-picker-saturation-white {
|
237
|
+
background: linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0));
|
238
|
+
}
|
239
|
+
.bk-color-picker-saturation .bk-color-picker-saturation-black {
|
240
|
+
background: linear-gradient(0deg, #000, transparent);
|
241
|
+
}
|
242
|
+
.bk-color-picker-saturation .bk-color-picker-saturation-white,
|
243
|
+
.bk-color-picker-saturation .bk-color-picker-saturation-black {
|
244
|
+
position: absolute;
|
245
|
+
top: 0;
|
246
|
+
left: 0;
|
247
|
+
width: 100%;
|
248
|
+
height: 100%;
|
249
|
+
cursor: pointer;
|
250
|
+
}
|
251
|
+
.bk-color-picker-hue {
|
252
|
+
position: relative;
|
253
|
+
height: 10px;
|
254
|
+
margin: 0 6px 6px;
|
255
|
+
cursor: pointer;
|
256
|
+
background: linear-gradient(90deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red);
|
257
|
+
}
|
258
|
+
.bk-color-picker-hue .bk-color-picker-hue-pointer {
|
259
|
+
position: absolute;
|
260
|
+
top: 0;
|
261
|
+
}
|
262
|
+
.bk-color-picker-hue .bk-color-picker-hue-pointer .bk-color-picker-hue-rectangle {
|
263
|
+
width: 4px;
|
264
|
+
height: 8px;
|
265
|
+
margin-top: 1px;
|
266
|
+
cursor: pointer;
|
267
|
+
background: #fff;
|
268
|
+
border-radius: 1px;
|
269
|
+
transform: translateX(-2px);
|
270
|
+
box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
|
271
|
+
}
|
272
|
+
.bk-color-picker-input {
|
273
|
+
display: flex;
|
274
|
+
margin: 0 6px 1px;
|
275
|
+
font-size: 12px;
|
276
|
+
color: #63656e;
|
277
|
+
justify-content: space-between;
|
278
|
+
}
|
279
|
+
.bk-color-picker-input .bk-color-picker-input-hex .bk-color-picker-input-part .bk-color-picker-input-value {
|
280
|
+
width: 70px;
|
281
|
+
}
|
282
|
+
.bk-color-picker-input .bk-color-picker-input-rgba {
|
283
|
+
display: flex;
|
284
|
+
width: 160px;
|
285
|
+
justify-content: space-between;
|
286
|
+
}
|
287
|
+
.bk-color-picker-input .bk-color-picker-input-part {
|
288
|
+
display: flex;
|
289
|
+
flex-flow: column;
|
290
|
+
}
|
291
|
+
.bk-color-picker-input .bk-color-picker-input-part .bk-color-picker-input-value {
|
292
|
+
width: 32px;
|
293
|
+
height: 22px;
|
294
|
+
padding: 0 4px;
|
295
|
+
line-height: 16px;
|
296
|
+
border: 1px solid #c4c6cc;
|
297
|
+
border-radius: 2px;
|
298
|
+
outline: none;
|
299
|
+
transition: border 0.2s;
|
300
|
+
}
|
301
|
+
.bk-color-picker-input .bk-color-picker-input-part .bk-color-picker-input-value:focus {
|
302
|
+
border-color: #3a84ff;
|
303
|
+
transition: border 0.2s;
|
304
|
+
}
|
305
|
+
.bk-color-picker-input .bk-color-picker-input-part .bk-color-picker-input-value.error {
|
306
|
+
border-color: #3a84ff;
|
307
|
+
}
|
308
|
+
.bk-color-picker-input .bk-color-picker-input-part .bk-color-picker-input-value::-webkit-outer-spin-button,
|
309
|
+
.bk-color-picker-input .bk-color-picker-input-part .bk-color-picker-input-value::-webkit-inner-spin-button {
|
310
|
+
margin: 0;
|
311
|
+
appearance: none;
|
312
|
+
}
|
313
|
+
.bk-color-picker-input .bk-color-picker-input-part .bk-color-picker-input-text {
|
314
|
+
height: 18px;
|
315
|
+
line-height: 18px;
|
316
|
+
text-align: center;
|
317
|
+
}
|
318
|
+
.bk-color-picker-recommend-container {
|
319
|
+
padding: 6px;
|
320
|
+
border-top: 1px solid #f0f1f5;
|
321
|
+
}
|
322
|
+
.bk-color-picker-recommend-container .bk-color-picker-recommend {
|
323
|
+
display: flex;
|
324
|
+
flex-wrap: wrap;
|
325
|
+
}
|
326
|
+
.bk-color-picker-recommend-container .bk-color-picker-recommend .bk-color-picker-recommend-color {
|
327
|
+
width: 20px;
|
328
|
+
height: 20px;
|
329
|
+
margin: 3px;
|
330
|
+
cursor: pointer;
|
331
|
+
border-radius: 3px;
|
332
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
|
333
|
+
}
|
334
|
+
.bk-color-picker-recommend-container .bk-color-picker-recommend .bk-color-picker-recommend-color.bk-color-picker-recommend-selected-color {
|
335
|
+
box-shadow: 0 0 3px 2px #3a84ff;
|
336
|
+
}
|
337
|
+
.bk-color-picker-saturation,
|
338
|
+
.bk-color-picker-hue,
|
339
|
+
.bk-color-picker-recommend {
|
340
|
+
outline: none;
|
341
|
+
transition: box-shadow 0.2s;
|
342
|
+
}
|
343
|
+
.bk-color-picker-saturation:focus,
|
344
|
+
.bk-color-picker-hue:focus,
|
345
|
+
.bk-color-picker-recommend:focus {
|
346
|
+
box-shadow: 0 0 0 2px rgba(45, 140, 240, 0.5);
|
347
|
+
transition: box-shadow 0.2s;
|
348
|
+
}
|
349
|
+
/*饱和度和预设值共用样式*/
|
350
|
+
.bk-color-picker-pointer {
|
351
|
+
position: absolute;
|
352
|
+
top: 50%;
|
353
|
+
left: 50%;
|
354
|
+
width: 4px;
|
355
|
+
height: 4px;
|
356
|
+
cursor: pointer;
|
357
|
+
}
|
358
|
+
.bk-color-picker-pointer .bk-color-picker-circle {
|
359
|
+
position: absolute;
|
360
|
+
top: 0;
|
361
|
+
left: 0;
|
362
|
+
width: 4px;
|
363
|
+
height: 4px;
|
364
|
+
cursor: pointer;
|
365
|
+
border-radius: 50%;
|
366
|
+
transform: translate(-2px, -2px);
|
367
|
+
box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
|
368
|
+
}
|
369
|
+
.bk-color-picker-empty {
|
370
|
+
position: relative;
|
371
|
+
}
|
372
|
+
.bk-color-picker-empty::after {
|
373
|
+
position: absolute;
|
374
|
+
top: 1px;
|
375
|
+
left: calc(50% - 1px);
|
376
|
+
width: 2px;
|
377
|
+
height: calc(100% - 2px);
|
378
|
+
background: #ea3536;
|
379
|
+
border-radius: 1px;
|
380
|
+
content: '';
|
381
|
+
transform: rotate(45deg);
|
382
|
+
}
|
383
|
+
.bk-color-dropdown-container {
|
384
|
+
padding: 0px;
|
385
|
+
cursor: default;
|
386
|
+
transform-origin: center top;
|
387
|
+
will-change: top, left;
|
388
|
+
}
|
@@ -0,0 +1,231 @@
|
|
1
|
+
declare const BkColorPicker: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
disabled: boolean;
|
7
|
+
extCls: string;
|
8
|
+
size: string;
|
9
|
+
readonly: boolean;
|
10
|
+
modelValue: string;
|
11
|
+
transfer: boolean;
|
12
|
+
recommend: boolean | unknown[];
|
13
|
+
showValue: boolean;
|
14
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
21
|
+
default: boolean;
|
22
|
+
} & {
|
23
|
+
default: boolean;
|
24
|
+
};
|
25
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
26
|
+
default: boolean;
|
27
|
+
} & {
|
28
|
+
default: boolean;
|
29
|
+
};
|
30
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
31
|
+
default: boolean;
|
32
|
+
} & {
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
size: import("vue-types").VueTypeDef<string> & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
} & {
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
44
|
+
default: boolean | (() => unknown[]);
|
45
|
+
};
|
46
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
} & {
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
}>> & {
|
52
|
+
onChange?: (...args: any[]) => any;
|
53
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
54
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "extCls" | "size" | "readonly" | "modelValue" | "transfer" | "recommend" | "showValue">;
|
55
|
+
$attrs: {
|
56
|
+
[x: string]: unknown;
|
57
|
+
};
|
58
|
+
$refs: {
|
59
|
+
[x: string]: unknown;
|
60
|
+
};
|
61
|
+
$slots: Readonly<{
|
62
|
+
[name: string]: import("vue").Slot;
|
63
|
+
}>;
|
64
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
65
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
66
|
+
$emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
|
67
|
+
$el: any;
|
68
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
69
|
+
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
70
|
+
default: string;
|
71
|
+
} & {
|
72
|
+
default: string;
|
73
|
+
};
|
74
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
75
|
+
default: boolean;
|
76
|
+
} & {
|
77
|
+
default: boolean;
|
78
|
+
};
|
79
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
80
|
+
default: boolean;
|
81
|
+
} & {
|
82
|
+
default: boolean;
|
83
|
+
};
|
84
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
85
|
+
default: boolean;
|
86
|
+
} & {
|
87
|
+
default: boolean;
|
88
|
+
};
|
89
|
+
size: import("vue-types").VueTypeDef<string> & {
|
90
|
+
default: string;
|
91
|
+
};
|
92
|
+
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
93
|
+
default: boolean;
|
94
|
+
} & {
|
95
|
+
default: boolean;
|
96
|
+
};
|
97
|
+
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
98
|
+
default: boolean | (() => unknown[]);
|
99
|
+
};
|
100
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
101
|
+
default: string;
|
102
|
+
} & {
|
103
|
+
default: string;
|
104
|
+
};
|
105
|
+
}>> & {
|
106
|
+
onChange?: (...args: any[]) => any;
|
107
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
108
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
109
|
+
disabled: boolean;
|
110
|
+
extCls: string;
|
111
|
+
size: string;
|
112
|
+
readonly: boolean;
|
113
|
+
modelValue: string;
|
114
|
+
transfer: boolean;
|
115
|
+
recommend: boolean | unknown[];
|
116
|
+
showValue: boolean;
|
117
|
+
}> & {
|
118
|
+
beforeCreate?: (() => void) | (() => void)[];
|
119
|
+
created?: (() => void) | (() => void)[];
|
120
|
+
beforeMount?: (() => void) | (() => void)[];
|
121
|
+
mounted?: (() => void) | (() => void)[];
|
122
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
123
|
+
updated?: (() => void) | (() => void)[];
|
124
|
+
activated?: (() => void) | (() => void)[];
|
125
|
+
deactivated?: (() => void) | (() => void)[];
|
126
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
127
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
128
|
+
destroyed?: (() => void) | (() => void)[];
|
129
|
+
unmounted?: (() => void) | (() => void)[];
|
130
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
131
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
132
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
133
|
+
};
|
134
|
+
$forceUpdate: () => void;
|
135
|
+
$nextTick: typeof import("vue").nextTick;
|
136
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
137
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
138
|
+
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
139
|
+
default: string;
|
140
|
+
} & {
|
141
|
+
default: string;
|
142
|
+
};
|
143
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
144
|
+
default: boolean;
|
145
|
+
} & {
|
146
|
+
default: boolean;
|
147
|
+
};
|
148
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
149
|
+
default: boolean;
|
150
|
+
} & {
|
151
|
+
default: boolean;
|
152
|
+
};
|
153
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
154
|
+
default: boolean;
|
155
|
+
} & {
|
156
|
+
default: boolean;
|
157
|
+
};
|
158
|
+
size: import("vue-types").VueTypeDef<string> & {
|
159
|
+
default: string;
|
160
|
+
};
|
161
|
+
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
162
|
+
default: boolean;
|
163
|
+
} & {
|
164
|
+
default: boolean;
|
165
|
+
};
|
166
|
+
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
167
|
+
default: boolean | (() => unknown[]);
|
168
|
+
};
|
169
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
170
|
+
default: string;
|
171
|
+
} & {
|
172
|
+
default: string;
|
173
|
+
};
|
174
|
+
}>> & {
|
175
|
+
onChange?: (...args: any[]) => any;
|
176
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
177
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
178
|
+
__isFragment?: never;
|
179
|
+
__isTeleport?: never;
|
180
|
+
__isSuspense?: never;
|
181
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
182
|
+
modelValue: import("vue-types").VueTypeValidableDef<string> & {
|
183
|
+
default: string;
|
184
|
+
} & {
|
185
|
+
default: string;
|
186
|
+
};
|
187
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
188
|
+
default: boolean;
|
189
|
+
} & {
|
190
|
+
default: boolean;
|
191
|
+
};
|
192
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
193
|
+
default: boolean;
|
194
|
+
} & {
|
195
|
+
default: boolean;
|
196
|
+
};
|
197
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
198
|
+
default: boolean;
|
199
|
+
} & {
|
200
|
+
default: boolean;
|
201
|
+
};
|
202
|
+
size: import("vue-types").VueTypeDef<string> & {
|
203
|
+
default: string;
|
204
|
+
};
|
205
|
+
showValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
206
|
+
default: boolean;
|
207
|
+
} & {
|
208
|
+
default: boolean;
|
209
|
+
};
|
210
|
+
recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
|
211
|
+
default: boolean | (() => unknown[]);
|
212
|
+
};
|
213
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
214
|
+
default: string;
|
215
|
+
} & {
|
216
|
+
default: string;
|
217
|
+
};
|
218
|
+
}>> & {
|
219
|
+
onChange?: (...args: any[]) => any;
|
220
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
221
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
222
|
+
disabled: boolean;
|
223
|
+
extCls: string;
|
224
|
+
size: string;
|
225
|
+
readonly: boolean;
|
226
|
+
modelValue: string;
|
227
|
+
transfer: boolean;
|
228
|
+
recommend: boolean | unknown[];
|
229
|
+
showValue: boolean;
|
230
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
231
|
+
export default BkColorPicker;
|