antd-solid 0.0.20 → 0.0.22
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/css/index.css +1 -1
- package/dist/index.esm.js +2508 -1078
- package/dist/index.umd.js +1 -1
- package/es/Button/index.js +25 -7
- package/es/Checkbox/Group.js +2 -2
- package/es/Checkbox/index.js +26 -13
- package/es/CodeInput/index.js +3 -0
- package/es/Collapse/Item.js +50 -8
- package/es/Collapse/index.js +5 -3
- package/es/ColorPicker/ColorPickerInput.js +224 -210
- package/es/ColorPicker/ColorPickerSelect.js +61 -4
- package/es/ColorPicker/ColorPickerSlider.js +100 -67
- package/es/ColorPicker/index.js +62 -16
- package/es/ContextMenu/index.js +5 -1
- package/es/Cursor/index.js +15 -3
- package/es/Divider/index.js +12 -3
- package/es/Drawer/index.js +83 -42
- package/es/Element/index.js +2 -6
- package/es/Empty/PRESENTED_IMAGE_SIMPLE.js +12 -4
- package/es/Empty/assets/EmptySvg.js +3 -3
- package/es/Empty/assets/SimpleEmptySvg.js +3 -3
- package/es/Empty/index.js +12 -4
- package/es/Form/FormItem.js +76 -47
- package/es/Fragment/index.js +3 -1
- package/es/Image/index.js +31 -11
- package/es/Input/TextArea.js +31 -5
- package/es/Input/index.js +103 -46
- package/es/InputNumber/index.js +11 -4
- package/es/Menu/InternalMenu.js +93 -37
- package/es/Message/Message.js +11 -7
- package/es/Modal/index.js +107 -55
- package/es/Modal/useModal.js +14 -5
- package/es/Modal/warning.js +14 -5
- package/es/Popconfirm/index.js +36 -24
- package/es/Popover/index.js +20 -11
- package/es/Progress/Circle.js +63 -14
- package/es/Progress/index.js +38 -14
- package/es/Radio/Button.js +20 -4
- package/es/Radio/index.js +35 -5
- package/es/RangeInput/index.js +76 -22
- package/es/Result/index.js +27 -6
- package/es/Segmented/index.js +33 -13
- package/es/Select/index.js +35 -6
- package/es/SelectInput/index.js +112 -48
- package/es/Slider/index.js +84 -11
- package/es/Space/index.js +2 -2
- package/es/Spin/index.js +26 -14
- package/es/Switch/index.js +6 -4
- package/es/Table/index.js +40 -18
- package/es/Tabs/index.js +195 -91
- package/es/Timeline/index.js +14 -4
- package/es/Tooltip/index.js +48 -20
- package/es/Transformer/index.js +123 -59
- package/es/Tree/SingleLevelTree.js +191 -30
- package/es/TreeFor/index.js +3 -3
- package/es/TreeSelect/index.js +6 -4
- package/es/Upload/index.js +38 -4
- package/es/assets/svg/ColorPickUp.js +19 -6
- package/es/assets/svg/Crosshair.js +45 -6
- package/es/assets/svg/Resize.js +19 -6
- package/es/assets/svg/Rotate.js +14 -13
- package/es/assets/svg/RotateArrow.js +15 -20
- package/es/hooks/useClickAway.js +4 -6
- package/package.json +2 -2
- package/es/utils/DOMRect.d.ts +0 -22
- package/es/utils/DOMRect.js +0 -41
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { insert, createComponent, template } from 'solid-js/web';
|
|
2
2
|
import { useContext, createMemo, createSignal, createRenderEffect, Switch, Match, Show } from 'solid-js';
|
|
3
3
|
import ColorPickerContext from './context.js';
|
|
4
4
|
import Select from '../Select/index.js';
|
|
@@ -6,9 +6,9 @@ import Input from '../Input/index.js';
|
|
|
6
6
|
import InputNumber from '../InputNumber/index.js';
|
|
7
7
|
import Color from './color.js';
|
|
8
8
|
|
|
9
|
-
var _tmpl$ =
|
|
10
|
-
_tmpl$2 =
|
|
11
|
-
_tmpl$3 =
|
|
9
|
+
var _tmpl$ = /*#__PURE__*/template(`<div class="flex grow-1 gap-[var(--ant-margin-xxs)]">`),
|
|
10
|
+
_tmpl$2 = /*#__PURE__*/template(`<div class=flex>`),
|
|
11
|
+
_tmpl$3 = /*#__PURE__*/template(`<span class=text-[--ant-color-text-placeholder]>#`);
|
|
12
12
|
const ColorPickerInput = () => {
|
|
13
13
|
const context = useContext(ColorPickerContext);
|
|
14
14
|
const color = createMemo(() => context?.color() ?? new Color());
|
|
@@ -17,212 +17,226 @@ const ColorPickerInput = () => {
|
|
|
17
17
|
createRenderEffect(() => {
|
|
18
18
|
setHexInputValue(color().toHex());
|
|
19
19
|
});
|
|
20
|
-
return
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
},
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
20
|
+
return (() => {
|
|
21
|
+
var _el$ = _tmpl$2();
|
|
22
|
+
insert(_el$, createComponent(Select, {
|
|
23
|
+
get value() {
|
|
24
|
+
return type();
|
|
25
|
+
},
|
|
26
|
+
onChange: setType,
|
|
27
|
+
options: [{
|
|
28
|
+
label: 'HEX',
|
|
29
|
+
value: 'HEX'
|
|
30
|
+
}, {
|
|
31
|
+
label: 'HSV',
|
|
32
|
+
value: 'HSV'
|
|
33
|
+
}, {
|
|
34
|
+
label: 'RGB',
|
|
35
|
+
value: 'RGB'
|
|
36
|
+
}],
|
|
37
|
+
size: "small",
|
|
38
|
+
variant: "borderless",
|
|
39
|
+
style: {
|
|
40
|
+
'margin-right': 'var(--ant-margin-xs)',
|
|
41
|
+
'--ant-select-font-size': '12px',
|
|
42
|
+
'--ant-select-input-padding': '0',
|
|
43
|
+
'--ant-select-input-addon-after-padding': '0 0 0 var(--ant-padding-xxs)',
|
|
44
|
+
'--ant-select-popup-match-width': '60px'
|
|
45
|
+
}
|
|
46
|
+
}), null);
|
|
47
|
+
insert(_el$, createComponent(Switch, {
|
|
48
|
+
get children() {
|
|
49
|
+
return [createComponent(Match, {
|
|
50
|
+
get when() {
|
|
51
|
+
return type() === 'HEX';
|
|
52
|
+
},
|
|
53
|
+
get children() {
|
|
54
|
+
return createComponent(Input, {
|
|
55
|
+
size: "small",
|
|
56
|
+
get value() {
|
|
57
|
+
return hexInputValue();
|
|
58
|
+
},
|
|
59
|
+
onChange: e => {
|
|
60
|
+
const value = e.target.value.replace(/[^a-zA-Z0-9]/g, '');
|
|
61
|
+
if (value.length > 6) return;
|
|
62
|
+
setHexInputValue(value);
|
|
63
|
+
if (value.length !== 6) return;
|
|
64
|
+
const c = new Color(value);
|
|
65
|
+
if (!c.isValid) return;
|
|
66
|
+
context?.setColor(new Color(value).setAlpha(color().a));
|
|
67
|
+
},
|
|
68
|
+
onBlur: () => {
|
|
69
|
+
setHexInputValue(color().toHex());
|
|
70
|
+
context?.setColor(color(), true);
|
|
71
|
+
},
|
|
72
|
+
get prefix() {
|
|
73
|
+
return _tmpl$3();
|
|
74
|
+
},
|
|
75
|
+
style: {
|
|
76
|
+
'--ant-input-font-size': '12px'
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}), createComponent(Match, {
|
|
81
|
+
get when() {
|
|
82
|
+
return type() === 'HSV';
|
|
83
|
+
},
|
|
84
|
+
get children() {
|
|
85
|
+
var _el$2 = _tmpl$();
|
|
86
|
+
insert(_el$2, createComponent(InputNumber, {
|
|
87
|
+
size: "small",
|
|
88
|
+
get value() {
|
|
89
|
+
return Math.round(color().toHsv().h);
|
|
90
|
+
},
|
|
91
|
+
onChange: value => {
|
|
92
|
+
const hsv = color().toHsv();
|
|
93
|
+
hsv.h = value ?? 0;
|
|
94
|
+
context?.setColor(new Color(hsv));
|
|
95
|
+
},
|
|
96
|
+
onBlur: () => {
|
|
97
|
+
context?.setColor(color(), true);
|
|
98
|
+
},
|
|
99
|
+
min: 0,
|
|
100
|
+
max: 359,
|
|
101
|
+
precision: 0,
|
|
102
|
+
style: InputNumberStyle
|
|
103
|
+
}), null);
|
|
104
|
+
insert(_el$2, createComponent(InputNumber, {
|
|
105
|
+
size: "small",
|
|
106
|
+
get value() {
|
|
107
|
+
return Math.round(color().toHsv().s * 100);
|
|
108
|
+
},
|
|
109
|
+
onChange: value => {
|
|
110
|
+
const hsv = color().toHsv();
|
|
111
|
+
hsv.s = (value ?? 0) / 100;
|
|
112
|
+
context?.setColor(new Color(hsv));
|
|
113
|
+
},
|
|
114
|
+
onBlur: () => {
|
|
115
|
+
context?.setColor(color(), true);
|
|
116
|
+
},
|
|
117
|
+
min: 0,
|
|
118
|
+
max: 100,
|
|
119
|
+
precision: 0,
|
|
120
|
+
formatter: value => `${value || 0}%`,
|
|
121
|
+
style: InputNumberStyle
|
|
122
|
+
}), null);
|
|
123
|
+
insert(_el$2, createComponent(InputNumber, {
|
|
124
|
+
size: "small",
|
|
125
|
+
get value() {
|
|
126
|
+
return Math.round(color().toHsv().v * 100);
|
|
127
|
+
},
|
|
128
|
+
onChange: value => {
|
|
129
|
+
const hsv = color().toHsv();
|
|
130
|
+
hsv.v = (value ?? 0) / 100;
|
|
131
|
+
context?.setColor(new Color(hsv));
|
|
132
|
+
},
|
|
133
|
+
onBlur: () => {
|
|
134
|
+
context?.setColor(color(), true);
|
|
135
|
+
},
|
|
136
|
+
min: 0,
|
|
137
|
+
max: 100,
|
|
138
|
+
precision: 0,
|
|
139
|
+
formatter: value => `${value || 0}%`,
|
|
140
|
+
style: InputNumberStyle
|
|
141
|
+
}), null);
|
|
142
|
+
return _el$2;
|
|
143
|
+
}
|
|
144
|
+
}), createComponent(Match, {
|
|
145
|
+
get when() {
|
|
146
|
+
return type() === 'RGB';
|
|
147
|
+
},
|
|
148
|
+
get children() {
|
|
149
|
+
var _el$3 = _tmpl$();
|
|
150
|
+
insert(_el$3, createComponent(InputNumber, {
|
|
151
|
+
size: "small",
|
|
152
|
+
get value() {
|
|
153
|
+
return Math.round(color().r);
|
|
154
|
+
},
|
|
155
|
+
onChange: value => {
|
|
156
|
+
const rgb = color().toRgb();
|
|
157
|
+
rgb.r = value ?? 0;
|
|
158
|
+
context?.setColor(new Color(rgb));
|
|
159
|
+
},
|
|
160
|
+
onBlur: () => {
|
|
161
|
+
context?.setColor(color(), true);
|
|
162
|
+
},
|
|
163
|
+
min: 0,
|
|
164
|
+
max: 255,
|
|
165
|
+
precision: 0,
|
|
166
|
+
style: InputNumberStyle
|
|
167
|
+
}), null);
|
|
168
|
+
insert(_el$3, createComponent(InputNumber, {
|
|
169
|
+
size: "small",
|
|
170
|
+
get value() {
|
|
171
|
+
return Math.round(color().g);
|
|
172
|
+
},
|
|
173
|
+
onChange: value => {
|
|
174
|
+
const rgb = color().toRgb();
|
|
175
|
+
rgb.g = value ?? 0;
|
|
176
|
+
context?.setColor(new Color(rgb));
|
|
177
|
+
},
|
|
178
|
+
onBlur: () => {
|
|
179
|
+
context?.setColor(color(), true);
|
|
180
|
+
},
|
|
181
|
+
min: 0,
|
|
182
|
+
max: 255,
|
|
183
|
+
precision: 0,
|
|
184
|
+
style: InputNumberStyle
|
|
185
|
+
}), null);
|
|
186
|
+
insert(_el$3, createComponent(InputNumber, {
|
|
187
|
+
size: "small",
|
|
188
|
+
get value() {
|
|
189
|
+
return Math.round(color().b);
|
|
190
|
+
},
|
|
191
|
+
onChange: value => {
|
|
192
|
+
const rgb = color().toRgb();
|
|
193
|
+
rgb.b = value ?? 0;
|
|
194
|
+
context?.setColor(new Color(rgb));
|
|
195
|
+
},
|
|
196
|
+
onBlur: () => {
|
|
197
|
+
context?.setColor(color(), true);
|
|
198
|
+
},
|
|
199
|
+
min: 0,
|
|
200
|
+
max: 255,
|
|
201
|
+
precision: 0,
|
|
202
|
+
style: InputNumberStyle
|
|
203
|
+
}), null);
|
|
204
|
+
return _el$3;
|
|
205
|
+
}
|
|
206
|
+
})];
|
|
207
|
+
}
|
|
208
|
+
}), null);
|
|
209
|
+
insert(_el$, createComponent(Show, {
|
|
210
|
+
get when() {
|
|
211
|
+
return !context?.disabledAlpha();
|
|
212
|
+
},
|
|
213
|
+
get children() {
|
|
214
|
+
return createComponent(InputNumber, {
|
|
215
|
+
get value() {
|
|
216
|
+
return Math.round(color().a * 100);
|
|
217
|
+
},
|
|
218
|
+
onChange: value => {
|
|
219
|
+
context?.setColor(color().clone().setAlpha((value ?? 0) / 100));
|
|
220
|
+
},
|
|
221
|
+
onBlur: () => {
|
|
222
|
+
context?.setColor(color(), true);
|
|
223
|
+
},
|
|
224
|
+
size: "small",
|
|
225
|
+
min: 0,
|
|
226
|
+
max: 100,
|
|
227
|
+
precision: 0,
|
|
228
|
+
formatter: value => `${value || 0}%`,
|
|
229
|
+
get style() {
|
|
230
|
+
return {
|
|
231
|
+
...InputNumberStyle,
|
|
232
|
+
'margin-left': 'var(--ant-margin-xxs)'
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
}), null);
|
|
238
|
+
return _el$;
|
|
239
|
+
})();
|
|
226
240
|
};
|
|
227
241
|
const InputNumberStyle = {
|
|
228
242
|
width: '43px',
|
|
@@ -1,14 +1,71 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { delegateEvents, effect, template, use } from 'solid-js/web';
|
|
2
2
|
import { useContext, createMemo } from 'solid-js';
|
|
3
|
-
import 'lodash-es';
|
|
3
|
+
import { clamp } from 'lodash-es';
|
|
4
4
|
import ColorPickerContext from './context.js';
|
|
5
5
|
import Color from './color.js';
|
|
6
|
+
import { setupGlobalDrag } from '../utils/setupGlobalDrag.js';
|
|
6
7
|
|
|
7
|
-
var _tmpl$ =
|
|
8
|
+
var _tmpl$ = /*#__PURE__*/template(`<div class="h-160px rounded-[--ant-border-radius-sm] cursor-pointer relative overflow-hidden"><div class="absolute border-2px border-solid border-[--ant-color-bg-container] rounded-1/2 w-16px h-16px -translate-1/2">`);
|
|
8
9
|
const ColorPickerSelect = () => {
|
|
10
|
+
let ref;
|
|
9
11
|
const context = useContext(ColorPickerContext);
|
|
10
12
|
const color = createMemo(() => context?.color() ?? new Color());
|
|
11
|
-
|
|
13
|
+
const setColor = (e, completed) => {
|
|
14
|
+
if (!ref) return;
|
|
15
|
+
const rect = ref.getBoundingClientRect();
|
|
16
|
+
const offsetX = e.clientX - rect.x;
|
|
17
|
+
const offsetY = e.clientY - rect.y;
|
|
18
|
+
const {
|
|
19
|
+
clientWidth,
|
|
20
|
+
clientHeight
|
|
21
|
+
} = ref;
|
|
22
|
+
const hsv = color().toHsv();
|
|
23
|
+
hsv.s = clamp(offsetX / clientWidth, 0, 1);
|
|
24
|
+
hsv.v = clamp(1 - offsetY / clientHeight, 0, 1);
|
|
25
|
+
context?.setColor(new Color(hsv), completed);
|
|
26
|
+
};
|
|
27
|
+
return (() => {
|
|
28
|
+
var _el$ = _tmpl$(),
|
|
29
|
+
_el$2 = _el$.firstChild;
|
|
30
|
+
_el$.$$click = e => {
|
|
31
|
+
setColor(e, true);
|
|
32
|
+
};
|
|
33
|
+
var _ref$ = ref;
|
|
34
|
+
typeof _ref$ === "function" ? use(_ref$, _el$) : ref = _el$;
|
|
35
|
+
_el$.style.setProperty("background-image", "linear-gradient(0deg, rgb(0, 0, 0), transparent), linear-gradient(90deg, rgb(255, 255, 255), rgba(255, 255, 255, 0))");
|
|
36
|
+
_el$2.$$mousedown = () => {
|
|
37
|
+
let isDrag = false;
|
|
38
|
+
setupGlobalDrag(
|
|
39
|
+
// eslint-disable-next-line solid/reactivity
|
|
40
|
+
e => {
|
|
41
|
+
setColor(e);
|
|
42
|
+
isDrag = true;
|
|
43
|
+
},
|
|
44
|
+
// eslint-disable-next-line solid/reactivity
|
|
45
|
+
() => {
|
|
46
|
+
if (isDrag) context?.setColor(color(), true);
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
_el$2.style.setProperty("box-shadow", "inset 0 0 1px 0 var(--ant-color-text-quaternary), 0 0 0 1px var(--ant-color-fill-secondary)");
|
|
50
|
+
effect(_p$ => {
|
|
51
|
+
var _v$ = color().toHueRgbString(),
|
|
52
|
+
_v$2 = `${color().toHsv().s * 100}%`,
|
|
53
|
+
_v$3 = `${(1 - color().toHsv().v) * 100}%`,
|
|
54
|
+
_v$4 = color().toRgbString();
|
|
55
|
+
_v$ !== _p$.e && ((_p$.e = _v$) != null ? _el$.style.setProperty("background-color", _v$) : _el$.style.removeProperty("background-color"));
|
|
56
|
+
_v$2 !== _p$.t && ((_p$.t = _v$2) != null ? _el$2.style.setProperty("left", _v$2) : _el$2.style.removeProperty("left"));
|
|
57
|
+
_v$3 !== _p$.a && ((_p$.a = _v$3) != null ? _el$2.style.setProperty("top", _v$3) : _el$2.style.removeProperty("top"));
|
|
58
|
+
_v$4 !== _p$.o && ((_p$.o = _v$4) != null ? _el$2.style.setProperty("background", _v$4) : _el$2.style.removeProperty("background"));
|
|
59
|
+
return _p$;
|
|
60
|
+
}, {
|
|
61
|
+
e: undefined,
|
|
62
|
+
t: undefined,
|
|
63
|
+
a: undefined,
|
|
64
|
+
o: undefined
|
|
65
|
+
});
|
|
66
|
+
return _el$;
|
|
67
|
+
})();
|
|
12
68
|
};
|
|
69
|
+
delegateEvents(["click", "mousedown"]);
|
|
13
70
|
|
|
14
71
|
export { ColorPickerSelect as default };
|