@easy-editor/setters 0.1.0 → 0.1.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.esm.js CHANGED
@@ -1,6 +1,72 @@
1
- import React$1, { forwardRef, createElement, useCallback, useRef, useEffect, useState, useMemo, Fragment } from 'react';
1
+ import React$1, { useRef, useState, useEffect, forwardRef, createElement, useCallback, useMemo, Fragment } from 'react';
2
+ import { createPortal } from 'react-dom';
2
3
  import { jsx, jsxs } from 'react/jsx-runtime';
3
4
 
5
+ /**
6
+ * Popover - 共享弹窗组件
7
+ * - 使用 Portal 渲染到 document.body,避免被父容器遮挡
8
+ * - 自动匹配触发器宽度
9
+ */
10
+ const Popover = props => {
11
+ const {
12
+ open,
13
+ onClose,
14
+ trigger,
15
+ children,
16
+ width = 'trigger'
17
+ } = props;
18
+ const triggerRef = useRef(null);
19
+ const [position, setPosition] = useState({
20
+ top: 0,
21
+ left: 0
22
+ });
23
+ const [popoverWidth, setPopoverWidth] = useState(0);
24
+
25
+ // 计算弹窗位置
26
+ useEffect(() => {
27
+ if (open && triggerRef.current) {
28
+ const triggerRect = triggerRef.current.getBoundingClientRect();
29
+ const triggerWidth = triggerRect.width;
30
+
31
+ // 设置弹窗宽度
32
+ if (width === 'trigger') {
33
+ setPopoverWidth(triggerWidth);
34
+ }
35
+ setPosition({
36
+ top: triggerRect.bottom + 4,
37
+ left: triggerRect.left
38
+ });
39
+ }
40
+ }, [open, width]);
41
+
42
+ // 点击外部关闭
43
+ useEffect(() => {
44
+ const handleClickOutside = event => {
45
+ const target = event.target;
46
+ const popoverEl = document.querySelector('.es-popover-portal');
47
+ if (popoverEl && !popoverEl.contains(target) && triggerRef.current && !triggerRef.current.contains(target)) {
48
+ onClose();
49
+ }
50
+ };
51
+ if (open) {
52
+ document.addEventListener('mousedown', handleClickOutside);
53
+ return () => document.removeEventListener('mousedown', handleClickOutside);
54
+ }
55
+ }, [open, onClose]);
56
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
57
+ ref: triggerRef
58
+ }, trigger), open ? /*#__PURE__*/createPortal(/*#__PURE__*/React.createElement("div", {
59
+ className: "es-popover-portal",
60
+ style: {
61
+ position: 'fixed',
62
+ top: position.top,
63
+ left: position.left,
64
+ width: popoverWidth || 'auto',
65
+ zIndex: 1000
66
+ }
67
+ }, children), document.body) : '');
68
+ };
69
+
4
70
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
5
71
 
6
72
  function cn(...inputs) {
@@ -103,19 +169,7 @@ const createLucideIcon = (iconName, iconNode) => {
103
169
  * This source code is licensed under the ISC license.
104
170
  * See the LICENSE file in the root directory of this source tree.
105
171
  */
106
- const __iconNode$1O = [["path", {
107
- d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",
108
- key: "169zse"
109
- }]];
110
- const Activity = createLucideIcon("activity", __iconNode$1O);
111
-
112
- /**
113
- * @license lucide-react v0.561.0 - ISC
114
- *
115
- * This source code is licensed under the ISC license.
116
- * See the LICENSE file in the root directory of this source tree.
117
- */
118
- const __iconNode$1N = [["rect", {
172
+ const __iconNode$m = [["rect", {
119
173
  width: "6",
120
174
  height: "16",
121
175
  x: "4",
@@ -133,7 +187,7 @@ const __iconNode$1N = [["rect", {
133
187
  d: "M22 22H2",
134
188
  key: "19qnx5"
135
189
  }]];
136
- const AlignEndHorizontal = createLucideIcon("align-end-horizontal", __iconNode$1N);
190
+ const AlignEndHorizontal = createLucideIcon("align-end-horizontal", __iconNode$m);
137
191
 
138
192
  /**
139
193
  * @license lucide-react v0.561.0 - ISC
@@ -141,7 +195,7 @@ const AlignEndHorizontal = createLucideIcon("align-end-horizontal", __iconNode$1
141
195
  * This source code is licensed under the ISC license.
142
196
  * See the LICENSE file in the root directory of this source tree.
143
197
  */
144
- const __iconNode$1M = [["rect", {
198
+ const __iconNode$l = [["rect", {
145
199
  width: "16",
146
200
  height: "6",
147
201
  x: "2",
@@ -159,7 +213,7 @@ const __iconNode$1M = [["rect", {
159
213
  d: "M22 22V2",
160
214
  key: "12ipfv"
161
215
  }]];
162
- const AlignEndVertical = createLucideIcon("align-end-vertical", __iconNode$1M);
216
+ const AlignEndVertical = createLucideIcon("align-end-vertical", __iconNode$l);
163
217
 
164
218
  /**
165
219
  * @license lucide-react v0.561.0 - ISC
@@ -167,7 +221,7 @@ const AlignEndVertical = createLucideIcon("align-end-vertical", __iconNode$1M);
167
221
  * This source code is licensed under the ISC license.
168
222
  * See the LICENSE file in the root directory of this source tree.
169
223
  */
170
- const __iconNode$1L = [["rect", {
224
+ const __iconNode$k = [["rect", {
171
225
  width: "6",
172
226
  height: "14",
173
227
  x: "4",
@@ -194,7 +248,7 @@ const __iconNode$1L = [["rect", {
194
248
  d: "M7 5V2",
195
249
  key: "liy1u9"
196
250
  }]];
197
- const AlignHorizontalDistributeCenter = createLucideIcon("align-horizontal-distribute-center", __iconNode$1L);
251
+ const AlignHorizontalDistributeCenter = createLucideIcon("align-horizontal-distribute-center", __iconNode$k);
198
252
 
199
253
  /**
200
254
  * @license lucide-react v0.561.0 - ISC
@@ -202,7 +256,7 @@ const AlignHorizontalDistributeCenter = createLucideIcon("align-horizontal-distr
202
256
  * This source code is licensed under the ISC license.
203
257
  * See the LICENSE file in the root directory of this source tree.
204
258
  */
205
- const __iconNode$1K = [["rect", {
259
+ const __iconNode$j = [["rect", {
206
260
  width: "6",
207
261
  height: "16",
208
262
  x: "4",
@@ -220,7 +274,7 @@ const __iconNode$1K = [["rect", {
220
274
  d: "M22 2H2",
221
275
  key: "fhrpnj"
222
276
  }]];
223
- const AlignStartHorizontal = createLucideIcon("align-start-horizontal", __iconNode$1K);
277
+ const AlignStartHorizontal = createLucideIcon("align-start-horizontal", __iconNode$j);
224
278
 
225
279
  /**
226
280
  * @license lucide-react v0.561.0 - ISC
@@ -228,7 +282,7 @@ const AlignStartHorizontal = createLucideIcon("align-start-horizontal", __iconNo
228
282
  * This source code is licensed under the ISC license.
229
283
  * See the LICENSE file in the root directory of this source tree.
230
284
  */
231
- const __iconNode$1J = [["rect", {
285
+ const __iconNode$i = [["rect", {
232
286
  width: "9",
233
287
  height: "6",
234
288
  x: "6",
@@ -246,7 +300,7 @@ const __iconNode$1J = [["rect", {
246
300
  d: "M2 2v20",
247
301
  key: "1ivd8o"
248
302
  }]];
249
- const AlignStartVertical = createLucideIcon("align-start-vertical", __iconNode$1J);
303
+ const AlignStartVertical = createLucideIcon("align-start-vertical", __iconNode$i);
250
304
 
251
305
  /**
252
306
  * @license lucide-react v0.561.0 - ISC
@@ -254,7 +308,7 @@ const AlignStartVertical = createLucideIcon("align-start-vertical", __iconNode$1
254
308
  * This source code is licensed under the ISC license.
255
309
  * See the LICENSE file in the root directory of this source tree.
256
310
  */
257
- const __iconNode$1I = [["path", {
311
+ const __iconNode$h = [["path", {
258
312
  d: "M22 17h-3",
259
313
  key: "1lwga1"
260
314
  }], ["path", {
@@ -281,37 +335,7 @@ const __iconNode$1I = [["path", {
281
335
  rx: "2",
282
336
  key: "we8e9z"
283
337
  }]];
284
- const AlignVerticalDistributeCenter = createLucideIcon("align-vertical-distribute-center", __iconNode$1I);
285
-
286
- /**
287
- * @license lucide-react v0.561.0 - ISC
288
- *
289
- * This source code is licensed under the ISC license.
290
- * See the LICENSE file in the root directory of this source tree.
291
- */
292
- const __iconNode$1H = [["path", {
293
- d: "M12 5v14",
294
- key: "s699le"
295
- }], ["path", {
296
- d: "m19 12-7 7-7-7",
297
- key: "1idqje"
298
- }]];
299
- const ArrowDown = createLucideIcon("arrow-down", __iconNode$1H);
300
-
301
- /**
302
- * @license lucide-react v0.561.0 - ISC
303
- *
304
- * This source code is licensed under the ISC license.
305
- * See the LICENSE file in the root directory of this source tree.
306
- */
307
- const __iconNode$1G = [["path", {
308
- d: "m12 19-7-7 7-7",
309
- key: "1l729n"
310
- }], ["path", {
311
- d: "M19 12H5",
312
- key: "x3x0zl"
313
- }]];
314
- const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1G);
338
+ const AlignVerticalDistributeCenter = createLucideIcon("align-vertical-distribute-center", __iconNode$h);
315
339
 
316
340
  /**
317
341
  * @license lucide-react v0.561.0 - ISC
@@ -319,120 +343,14 @@ const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1G);
319
343
  * This source code is licensed under the ISC license.
320
344
  * See the LICENSE file in the root directory of this source tree.
321
345
  */
322
- const __iconNode$1F = [["path", {
346
+ const __iconNode$g = [["path", {
323
347
  d: "M5 12h14",
324
348
  key: "1ays0h"
325
349
  }], ["path", {
326
350
  d: "m12 5 7 7-7 7",
327
351
  key: "xquz4c"
328
352
  }]];
329
- const ArrowRight = createLucideIcon("arrow-right", __iconNode$1F);
330
-
331
- /**
332
- * @license lucide-react v0.561.0 - ISC
333
- *
334
- * This source code is licensed under the ISC license.
335
- * See the LICENSE file in the root directory of this source tree.
336
- */
337
- const __iconNode$1E = [["path", {
338
- d: "m5 12 7-7 7 7",
339
- key: "hav0vg"
340
- }], ["path", {
341
- d: "M12 19V5",
342
- key: "x0mq9r"
343
- }]];
344
- const ArrowUp = createLucideIcon("arrow-up", __iconNode$1E);
345
-
346
- /**
347
- * @license lucide-react v0.561.0 - ISC
348
- *
349
- * This source code is licensed under the ISC license.
350
- * See the LICENSE file in the root directory of this source tree.
351
- */
352
- const __iconNode$1D = [["path", {
353
- d: "M10.268 21a2 2 0 0 0 3.464 0",
354
- key: "vwvbt9"
355
- }], ["path", {
356
- d: "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",
357
- key: "11g9vi"
358
- }]];
359
- const Bell = createLucideIcon("bell", __iconNode$1D);
360
-
361
- /**
362
- * @license lucide-react v0.561.0 - ISC
363
- *
364
- * This source code is licensed under the ISC license.
365
- * See the LICENSE file in the root directory of this source tree.
366
- */
367
- const __iconNode$1C = [["path", {
368
- d: "M8 2v4",
369
- key: "1cmpym"
370
- }], ["path", {
371
- d: "M16 2v4",
372
- key: "4m81vk"
373
- }], ["rect", {
374
- width: "18",
375
- height: "18",
376
- x: "3",
377
- y: "4",
378
- rx: "2",
379
- key: "1hopcy"
380
- }], ["path", {
381
- d: "M3 10h18",
382
- key: "8toen8"
383
- }]];
384
- const Calendar = createLucideIcon("calendar", __iconNode$1C);
385
-
386
- /**
387
- * @license lucide-react v0.561.0 - ISC
388
- *
389
- * This source code is licensed under the ISC license.
390
- * See the LICENSE file in the root directory of this source tree.
391
- */
392
- const __iconNode$1B = [["path", {
393
- d: "M5 21v-6",
394
- key: "1hz6c0"
395
- }], ["path", {
396
- d: "M12 21V9",
397
- key: "uvy0l4"
398
- }], ["path", {
399
- d: "M19 21V3",
400
- key: "11j9sm"
401
- }]];
402
- const ChartNoAxesColumnIncreasing = createLucideIcon("chart-no-axes-column-increasing", __iconNode$1B);
403
-
404
- /**
405
- * @license lucide-react v0.561.0 - ISC
406
- *
407
- * This source code is licensed under the ISC license.
408
- * See the LICENSE file in the root directory of this source tree.
409
- */
410
- const __iconNode$1A = [["path", {
411
- d: "M5 21v-6",
412
- key: "1hz6c0"
413
- }], ["path", {
414
- d: "M12 21V3",
415
- key: "1lcnhd"
416
- }], ["path", {
417
- d: "M19 21V9",
418
- key: "unv183"
419
- }]];
420
- const ChartNoAxesColumn = createLucideIcon("chart-no-axes-column", __iconNode$1A);
421
-
422
- /**
423
- * @license lucide-react v0.561.0 - ISC
424
- *
425
- * This source code is licensed under the ISC license.
426
- * See the LICENSE file in the root directory of this source tree.
427
- */
428
- const __iconNode$1z = [["path", {
429
- d: "M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",
430
- key: "pzmjnu"
431
- }], ["path", {
432
- d: "M21.21 15.89A10 10 0 1 1 8 2.83",
433
- key: "k2fpak"
434
- }]];
435
- const ChartPie = createLucideIcon("chart-pie", __iconNode$1z);
353
+ const ArrowRight = createLucideIcon("arrow-right", __iconNode$g);
436
354
 
437
355
  /**
438
356
  * @license lucide-react v0.561.0 - ISC
@@ -440,11 +358,11 @@ const ChartPie = createLucideIcon("chart-pie", __iconNode$1z);
440
358
  * This source code is licensed under the ISC license.
441
359
  * See the LICENSE file in the root directory of this source tree.
442
360
  */
443
- const __iconNode$1y = [["path", {
361
+ const __iconNode$f = [["path", {
444
362
  d: "M20 6 9 17l-5-5",
445
363
  key: "1gmf2c"
446
364
  }]];
447
- const Check = createLucideIcon("check", __iconNode$1y);
365
+ const Check = createLucideIcon("check", __iconNode$f);
448
366
 
449
367
  /**
450
368
  * @license lucide-react v0.561.0 - ISC
@@ -452,47 +370,11 @@ const Check = createLucideIcon("check", __iconNode$1y);
452
370
  * This source code is licensed under the ISC license.
453
371
  * See the LICENSE file in the root directory of this source tree.
454
372
  */
455
- const __iconNode$1x = [["path", {
373
+ const __iconNode$e = [["path", {
456
374
  d: "m6 9 6 6 6-6",
457
375
  key: "qrunsl"
458
376
  }]];
459
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$1x);
460
-
461
- /**
462
- * @license lucide-react v0.561.0 - ISC
463
- *
464
- * This source code is licensed under the ISC license.
465
- * See the LICENSE file in the root directory of this source tree.
466
- */
467
- const __iconNode$1w = [["path", {
468
- d: "m15 18-6-6 6-6",
469
- key: "1wnfg3"
470
- }]];
471
- const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1w);
472
-
473
- /**
474
- * @license lucide-react v0.561.0 - ISC
475
- *
476
- * This source code is licensed under the ISC license.
477
- * See the LICENSE file in the root directory of this source tree.
478
- */
479
- const __iconNode$1v = [["path", {
480
- d: "m9 18 6-6-6-6",
481
- key: "mthhwq"
482
- }]];
483
- const ChevronRight = createLucideIcon("chevron-right", __iconNode$1v);
484
-
485
- /**
486
- * @license lucide-react v0.561.0 - ISC
487
- *
488
- * This source code is licensed under the ISC license.
489
- * See the LICENSE file in the root directory of this source tree.
490
- */
491
- const __iconNode$1u = [["path", {
492
- d: "m18 15-6-6-6 6",
493
- key: "153udz"
494
- }]];
495
- const ChevronUp = createLucideIcon("chevron-up", __iconNode$1u);
377
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$e);
496
378
 
497
379
  /**
498
380
  * @license lucide-react v0.561.0 - ISC
@@ -500,40 +382,14 @@ const ChevronUp = createLucideIcon("chevron-up", __iconNode$1u);
500
382
  * This source code is licensed under the ISC license.
501
383
  * See the LICENSE file in the root directory of this source tree.
502
384
  */
503
- const __iconNode$1t = [["path", {
385
+ const __iconNode$d = [["path", {
504
386
  d: "m7 15 5 5 5-5",
505
387
  key: "1hf1tw"
506
388
  }], ["path", {
507
389
  d: "m7 9 5-5 5 5",
508
390
  key: "sgt6xg"
509
391
  }]];
510
- const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$1t);
511
-
512
- /**
513
- * @license lucide-react v0.561.0 - ISC
514
- *
515
- * This source code is licensed under the ISC license.
516
- * See the LICENSE file in the root directory of this source tree.
517
- */
518
- const __iconNode$1s = [["circle", {
519
- cx: "12",
520
- cy: "12",
521
- r: "10",
522
- key: "1mglay"
523
- }], ["line", {
524
- x1: "12",
525
- x2: "12",
526
- y1: "8",
527
- y2: "12",
528
- key: "1pkeuh"
529
- }], ["line", {
530
- x1: "12",
531
- x2: "12.01",
532
- y1: "16",
533
- y2: "16",
534
- key: "4dfq90"
535
- }]];
536
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$1s);
392
+ const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$d);
537
393
 
538
394
  /**
539
395
  * @license lucide-react v0.561.0 - ISC
@@ -541,14 +397,14 @@ const CircleAlert = createLucideIcon("circle-alert", __iconNode$1s);
541
397
  * This source code is licensed under the ISC license.
542
398
  * See the LICENSE file in the root directory of this source tree.
543
399
  */
544
- const __iconNode$1r = [["path", {
545
- d: "M21.801 10A10 10 0 1 1 17 3.335",
546
- key: "yps3ct"
400
+ const __iconNode$c = [["path", {
401
+ d: "m16 18 6-6-6-6",
402
+ key: "eg8j8"
547
403
  }], ["path", {
548
- d: "m9 11 3 3L22 4",
549
- key: "1pflzl"
404
+ d: "m8 6-6 6 6 6",
405
+ key: "ppft3o"
550
406
  }]];
551
- const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$1r);
407
+ const Code = createLucideIcon("code", __iconNode$c);
552
408
 
553
409
  /**
554
410
  * @license lucide-react v0.561.0 - ISC
@@ -556,19 +412,20 @@ const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$1r);
556
412
  * This source code is licensed under the ISC license.
557
413
  * See the LICENSE file in the root directory of this source tree.
558
414
  */
559
- const __iconNode$1q = [["circle", {
415
+ const __iconNode$b = [["ellipse", {
560
416
  cx: "12",
561
- cy: "12",
562
- r: "10",
563
- key: "1mglay"
417
+ cy: "5",
418
+ rx: "9",
419
+ ry: "3",
420
+ key: "msslwz"
564
421
  }], ["path", {
565
- d: "m15 9-6 6",
566
- key: "1uzhvr"
422
+ d: "M3 5V19A9 3 0 0 0 21 19V5",
423
+ key: "1wlel7"
567
424
  }], ["path", {
568
- d: "m9 9 6 6",
569
- key: "z0biqf"
425
+ d: "M3 12A9 3 0 0 0 21 12",
426
+ key: "mv7ke4"
570
427
  }]];
571
- const CircleX = createLucideIcon("circle-x", __iconNode$1q);
428
+ const Database = createLucideIcon("database", __iconNode$b);
572
429
 
573
430
  /**
574
431
  * @license lucide-react v0.561.0 - ISC
@@ -576,13 +433,20 @@ const CircleX = createLucideIcon("circle-x", __iconNode$1q);
576
433
  * This source code is licensed under the ISC license.
577
434
  * See the LICENSE file in the root directory of this source tree.
578
435
  */
579
- const __iconNode$1p = [["circle", {
580
- cx: "12",
581
- cy: "12",
582
- r: "10",
583
- key: "1mglay"
436
+ const __iconNode$a = [["path", {
437
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
438
+ key: "1oefj6"
439
+ }], ["path", {
440
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
441
+ key: "wfsgrz"
442
+ }], ["path", {
443
+ d: "M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",
444
+ key: "1oajmo"
445
+ }], ["path", {
446
+ d: "M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",
447
+ key: "mpwhp6"
584
448
  }]];
585
- const Circle = createLucideIcon("circle", __iconNode$1p);
449
+ const FileBraces = createLucideIcon("file-braces", __iconNode$a);
586
450
 
587
451
  /**
588
452
  * @license lucide-react v0.561.0 - ISC
@@ -590,16 +454,38 @@ const Circle = createLucideIcon("circle", __iconNode$1p);
590
454
  * This source code is licensed under the ISC license.
591
455
  * See the LICENSE file in the root directory of this source tree.
592
456
  */
593
- const __iconNode$1o = [["path", {
594
- d: "M12 6v6l4 2",
595
- key: "mmk7yg"
457
+ const __iconNode$9 = [["circle", {
458
+ cx: "9",
459
+ cy: "12",
460
+ r: "1",
461
+ key: "1vctgf"
596
462
  }], ["circle", {
597
- cx: "12",
463
+ cx: "9",
464
+ cy: "5",
465
+ r: "1",
466
+ key: "hp0tcf"
467
+ }], ["circle", {
468
+ cx: "9",
469
+ cy: "19",
470
+ r: "1",
471
+ key: "fkjjf6"
472
+ }], ["circle", {
473
+ cx: "15",
598
474
  cy: "12",
599
- r: "10",
600
- key: "1mglay"
475
+ r: "1",
476
+ key: "1tmaij"
477
+ }], ["circle", {
478
+ cx: "15",
479
+ cy: "5",
480
+ r: "1",
481
+ key: "19l28e"
482
+ }], ["circle", {
483
+ cx: "15",
484
+ cy: "19",
485
+ r: "1",
486
+ key: "f4zoj3"
601
487
  }]];
602
- const Clock = createLucideIcon("clock", __iconNode$1o);
488
+ const GripVertical = createLucideIcon("grip-vertical", __iconNode$9);
603
489
 
604
490
  /**
605
491
  * @license lucide-react v0.561.0 - ISC
@@ -607,11 +493,20 @@ const Clock = createLucideIcon("clock", __iconNode$1o);
607
493
  * This source code is licensed under the ISC license.
608
494
  * See the LICENSE file in the root directory of this source tree.
609
495
  */
610
- const __iconNode$1n = [["path", {
611
- d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",
612
- key: "p7xjir"
496
+ const __iconNode$8 = [["path", {
497
+ d: "M9 17H7A5 5 0 0 1 7 7h2",
498
+ key: "8i5ue5"
499
+ }], ["path", {
500
+ d: "M15 7h2a5 5 0 1 1 0 10h-2",
501
+ key: "1b9ql8"
502
+ }], ["line", {
503
+ x1: "8",
504
+ x2: "16",
505
+ y1: "12",
506
+ y2: "12",
507
+ key: "1jonct"
613
508
  }]];
614
- const Cloud = createLucideIcon("cloud", __iconNode$1n);
509
+ const Link2 = createLucideIcon("link-2", __iconNode$8);
615
510
 
616
511
  /**
617
512
  * @license lucide-react v0.561.0 - ISC
@@ -619,14 +514,14 @@ const Cloud = createLucideIcon("cloud", __iconNode$1n);
619
514
  * This source code is licensed under the ISC license.
620
515
  * See the LICENSE file in the root directory of this source tree.
621
516
  */
622
- const __iconNode$1m = [["path", {
623
- d: "m16 18 6-6-6-6",
624
- key: "eg8j8"
517
+ const __iconNode$7 = [["path", {
518
+ d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
519
+ key: "1cjeqo"
625
520
  }], ["path", {
626
- d: "m8 6-6 6 6 6",
627
- key: "ppft3o"
521
+ d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
522
+ key: "19qd67"
628
523
  }]];
629
- const Code = createLucideIcon("code", __iconNode$1m);
524
+ const Link = createLucideIcon("link", __iconNode$7);
630
525
 
631
526
  /**
632
527
  * @license lucide-react v0.561.0 - ISC
@@ -634,19 +529,20 @@ const Code = createLucideIcon("code", __iconNode$1m);
634
529
  * This source code is licensed under the ISC license.
635
530
  * See the LICENSE file in the root directory of this source tree.
636
531
  */
637
- const __iconNode$1l = [["rect", {
638
- width: "14",
639
- height: "14",
640
- x: "8",
641
- y: "8",
642
- rx: "2",
643
- ry: "2",
644
- key: "17jyea"
532
+ const __iconNode$6 = [["path", {
533
+ d: "M15 3h6v6",
534
+ key: "1q9fwt"
645
535
  }], ["path", {
646
- d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
647
- key: "zix9uf"
536
+ d: "m21 3-7 7",
537
+ key: "1l2asr"
538
+ }], ["path", {
539
+ d: "m3 21 7-7",
540
+ key: "tjx5ai"
541
+ }], ["path", {
542
+ d: "M9 21H3v-6",
543
+ key: "wtvkvv"
648
544
  }]];
649
- const Copy = createLucideIcon("copy", __iconNode$1l);
545
+ const Maximize2 = createLucideIcon("maximize-2", __iconNode$6);
650
546
 
651
547
  /**
652
548
  * @license lucide-react v0.561.0 - ISC
@@ -654,1432 +550,14 @@ const Copy = createLucideIcon("copy", __iconNode$1l);
654
550
  * This source code is licensed under the ISC license.
655
551
  * See the LICENSE file in the root directory of this source tree.
656
552
  */
657
- const __iconNode$1k = [["ellipse", {
658
- cx: "12",
659
- cy: "5",
660
- rx: "9",
661
- ry: "3",
662
- key: "msslwz"
553
+ const __iconNode$5 = [["path", {
554
+ d: "M5 12h14",
555
+ key: "1ays0h"
663
556
  }], ["path", {
664
- d: "M3 5V19A9 3 0 0 0 21 19V5",
665
- key: "1wlel7"
666
- }], ["path", {
667
- d: "M3 12A9 3 0 0 0 21 12",
668
- key: "mv7ke4"
669
- }]];
670
- const Database = createLucideIcon("database", __iconNode$1k);
671
-
672
- /**
673
- * @license lucide-react v0.561.0 - ISC
674
- *
675
- * This source code is licensed under the ISC license.
676
- * See the LICENSE file in the root directory of this source tree.
677
- */
678
- const __iconNode$1j = [["path", {
679
- d: "M12 15V3",
680
- key: "m9g1x1"
681
- }], ["path", {
682
- d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
683
- key: "ih7n3h"
684
- }], ["path", {
685
- d: "m7 10 5 5 5-5",
686
- key: "brsn70"
687
- }]];
688
- const Download = createLucideIcon("download", __iconNode$1j);
689
-
690
- /**
691
- * @license lucide-react v0.561.0 - ISC
692
- *
693
- * This source code is licensed under the ISC license.
694
- * See the LICENSE file in the root directory of this source tree.
695
- */
696
- const __iconNode$1i = [["circle", {
697
- cx: "12",
698
- cy: "12",
699
- r: "1",
700
- key: "41hilf"
701
- }], ["circle", {
702
- cx: "12",
703
- cy: "5",
704
- r: "1",
705
- key: "gxeob9"
706
- }], ["circle", {
707
- cx: "12",
708
- cy: "19",
709
- r: "1",
710
- key: "lyex9k"
711
- }]];
712
- const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$1i);
713
-
714
- /**
715
- * @license lucide-react v0.561.0 - ISC
716
- *
717
- * This source code is licensed under the ISC license.
718
- * See the LICENSE file in the root directory of this source tree.
719
- */
720
- const __iconNode$1h = [["circle", {
721
- cx: "12",
722
- cy: "12",
723
- r: "1",
724
- key: "41hilf"
725
- }], ["circle", {
726
- cx: "19",
727
- cy: "12",
728
- r: "1",
729
- key: "1wjl8i"
730
- }], ["circle", {
731
- cx: "5",
732
- cy: "12",
733
- r: "1",
734
- key: "1pcz8c"
735
- }]];
736
- const Ellipsis = createLucideIcon("ellipsis", __iconNode$1h);
737
-
738
- /**
739
- * @license lucide-react v0.561.0 - ISC
740
- *
741
- * This source code is licensed under the ISC license.
742
- * See the LICENSE file in the root directory of this source tree.
743
- */
744
- const __iconNode$1g = [["path", {
745
- d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
746
- key: "ct8e1f"
747
- }], ["path", {
748
- d: "M14.084 14.158a3 3 0 0 1-4.242-4.242",
749
- key: "151rxh"
750
- }], ["path", {
751
- d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
752
- key: "13bj9a"
753
- }], ["path", {
754
- d: "m2 2 20 20",
755
- key: "1ooewy"
756
- }]];
757
- const EyeOff = createLucideIcon("eye-off", __iconNode$1g);
758
-
759
- /**
760
- * @license lucide-react v0.561.0 - ISC
761
- *
762
- * This source code is licensed under the ISC license.
763
- * See the LICENSE file in the root directory of this source tree.
764
- */
765
- const __iconNode$1f = [["path", {
766
- d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
767
- key: "1nclc0"
768
- }], ["circle", {
769
- cx: "12",
770
- cy: "12",
771
- r: "3",
772
- key: "1v7zrd"
773
- }]];
774
- const Eye = createLucideIcon("eye", __iconNode$1f);
775
-
776
- /**
777
- * @license lucide-react v0.561.0 - ISC
778
- *
779
- * This source code is licensed under the ISC license.
780
- * See the LICENSE file in the root directory of this source tree.
781
- */
782
- const __iconNode$1e = [["path", {
783
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
784
- key: "1oefj6"
785
- }], ["path", {
786
- d: "M14 2v5a1 1 0 0 0 1 1h5",
787
- key: "wfsgrz"
788
- }], ["path", {
789
- d: "M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",
790
- key: "1oajmo"
791
- }], ["path", {
792
- d: "M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",
793
- key: "mpwhp6"
794
- }]];
795
- const FileBraces = createLucideIcon("file-braces", __iconNode$1e);
796
-
797
- /**
798
- * @license lucide-react v0.561.0 - ISC
799
- *
800
- * This source code is licensed under the ISC license.
801
- * See the LICENSE file in the root directory of this source tree.
802
- */
803
- const __iconNode$1d = [["path", {
804
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
805
- key: "1oefj6"
806
- }], ["path", {
807
- d: "M14 2v5a1 1 0 0 0 1 1h5",
808
- key: "wfsgrz"
809
- }], ["path", {
810
- d: "M10 9H8",
811
- key: "b1mrlr"
812
- }], ["path", {
813
- d: "M16 13H8",
814
- key: "t4e002"
815
- }], ["path", {
816
- d: "M16 17H8",
817
- key: "z1uh3a"
818
- }]];
819
- const FileText = createLucideIcon("file-text", __iconNode$1d);
820
-
821
- /**
822
- * @license lucide-react v0.561.0 - ISC
823
- *
824
- * This source code is licensed under the ISC license.
825
- * See the LICENSE file in the root directory of this source tree.
826
- */
827
- const __iconNode$1c = [["path", {
828
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
829
- key: "1oefj6"
830
- }], ["path", {
831
- d: "M14 2v5a1 1 0 0 0 1 1h5",
832
- key: "wfsgrz"
833
- }]];
834
- const File = createLucideIcon("file", __iconNode$1c);
835
-
836
- /**
837
- * @license lucide-react v0.561.0 - ISC
838
- *
839
- * This source code is licensed under the ISC license.
840
- * See the LICENSE file in the root directory of this source tree.
841
- */
842
- const __iconNode$1b = [["path", {
843
- d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
844
- key: "1kt360"
845
- }]];
846
- const Folder = createLucideIcon("folder", __iconNode$1b);
847
-
848
- /**
849
- * @license lucide-react v0.561.0 - ISC
850
- *
851
- * This source code is licensed under the ISC license.
852
- * See the LICENSE file in the root directory of this source tree.
853
- */
854
- const __iconNode$1a = [["path", {
855
- d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
856
- key: "sc7q7i"
857
- }]];
858
- const Funnel = createLucideIcon("funnel", __iconNode$1a);
859
-
860
- /**
861
- * @license lucide-react v0.561.0 - ISC
862
- *
863
- * This source code is licensed under the ISC license.
864
- * See the LICENSE file in the root directory of this source tree.
865
- */
866
- const __iconNode$19 = [["circle", {
867
- cx: "12",
868
- cy: "12",
869
- r: "10",
870
- key: "1mglay"
871
- }], ["path", {
872
- d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",
873
- key: "13o1zl"
874
- }], ["path", {
875
- d: "M2 12h20",
876
- key: "9i4pu4"
877
- }]];
878
- const Globe = createLucideIcon("globe", __iconNode$19);
879
-
880
- /**
881
- * @license lucide-react v0.561.0 - ISC
882
- *
883
- * This source code is licensed under the ISC license.
884
- * See the LICENSE file in the root directory of this source tree.
885
- */
886
- const __iconNode$18 = [["rect", {
887
- width: "18",
888
- height: "18",
889
- x: "3",
890
- y: "3",
891
- rx: "2",
892
- key: "afitv7"
893
- }], ["path", {
894
- d: "M3 9h18",
895
- key: "1pudct"
896
- }], ["path", {
897
- d: "M3 15h18",
898
- key: "5xshup"
899
- }], ["path", {
900
- d: "M9 3v18",
901
- key: "fh3hqa"
902
- }], ["path", {
903
- d: "M15 3v18",
904
- key: "14nvp0"
905
- }]];
906
- const Grid3x3 = createLucideIcon("grid-3x3", __iconNode$18);
907
-
908
- /**
909
- * @license lucide-react v0.561.0 - ISC
910
- *
911
- * This source code is licensed under the ISC license.
912
- * See the LICENSE file in the root directory of this source tree.
913
- */
914
- const __iconNode$17 = [["circle", {
915
- cx: "9",
916
- cy: "12",
917
- r: "1",
918
- key: "1vctgf"
919
- }], ["circle", {
920
- cx: "9",
921
- cy: "5",
922
- r: "1",
923
- key: "hp0tcf"
924
- }], ["circle", {
925
- cx: "9",
926
- cy: "19",
927
- r: "1",
928
- key: "fkjjf6"
929
- }], ["circle", {
930
- cx: "15",
931
- cy: "12",
932
- r: "1",
933
- key: "1tmaij"
934
- }], ["circle", {
935
- cx: "15",
936
- cy: "5",
937
- r: "1",
938
- key: "19l28e"
939
- }], ["circle", {
940
- cx: "15",
941
- cy: "19",
942
- r: "1",
943
- key: "f4zoj3"
944
- }]];
945
- const GripVertical = createLucideIcon("grip-vertical", __iconNode$17);
946
-
947
- /**
948
- * @license lucide-react v0.561.0 - ISC
949
- *
950
- * This source code is licensed under the ISC license.
951
- * See the LICENSE file in the root directory of this source tree.
952
- */
953
- const __iconNode$16 = [["path", {
954
- d: "M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",
955
- key: "mvr1a0"
956
- }]];
957
- const Heart = createLucideIcon("heart", __iconNode$16);
958
-
959
- /**
960
- * @license lucide-react v0.561.0 - ISC
961
- *
962
- * This source code is licensed under the ISC license.
963
- * See the LICENSE file in the root directory of this source tree.
964
- */
965
- const __iconNode$15 = [["path", {
966
- d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",
967
- key: "5wwlr5"
968
- }], ["path", {
969
- d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
970
- key: "r6nss1"
971
- }]];
972
- const House = createLucideIcon("house", __iconNode$15);
973
-
974
- /**
975
- * @license lucide-react v0.561.0 - ISC
976
- *
977
- * This source code is licensed under the ISC license.
978
- * See the LICENSE file in the root directory of this source tree.
979
- */
980
- const __iconNode$14 = [["rect", {
981
- width: "18",
982
- height: "18",
983
- x: "3",
984
- y: "3",
985
- rx: "2",
986
- ry: "2",
987
- key: "1m3agn"
988
- }], ["circle", {
989
- cx: "9",
990
- cy: "9",
991
- r: "2",
992
- key: "af1f0g"
993
- }], ["path", {
994
- d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
995
- key: "1xmnt7"
996
- }]];
997
- const Image$1 = createLucideIcon("image", __iconNode$14);
998
-
999
- /**
1000
- * @license lucide-react v0.561.0 - ISC
1001
- *
1002
- * This source code is licensed under the ISC license.
1003
- * See the LICENSE file in the root directory of this source tree.
1004
- */
1005
- const __iconNode$13 = [["circle", {
1006
- cx: "12",
1007
- cy: "12",
1008
- r: "10",
1009
- key: "1mglay"
1010
- }], ["path", {
1011
- d: "M12 16v-4",
1012
- key: "1dtifu"
1013
- }], ["path", {
1014
- d: "M12 8h.01",
1015
- key: "e9boi3"
1016
- }]];
1017
- const Info = createLucideIcon("info", __iconNode$13);
1018
-
1019
- /**
1020
- * @license lucide-react v0.561.0 - ISC
1021
- *
1022
- * This source code is licensed under the ISC license.
1023
- * See the LICENSE file in the root directory of this source tree.
1024
- */
1025
- const __iconNode$12 = [["path", {
1026
- d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
1027
- key: "zw3jo"
1028
- }], ["path", {
1029
- d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
1030
- key: "1wduqc"
1031
- }], ["path", {
1032
- d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
1033
- key: "kqbvx6"
1034
- }]];
1035
- const Layers = createLucideIcon("layers", __iconNode$12);
1036
-
1037
- /**
1038
- * @license lucide-react v0.561.0 - ISC
1039
- *
1040
- * This source code is licensed under the ISC license.
1041
- * See the LICENSE file in the root directory of this source tree.
1042
- */
1043
- const __iconNode$11 = [["path", {
1044
- d: "M9 17H7A5 5 0 0 1 7 7h2",
1045
- key: "8i5ue5"
1046
- }], ["path", {
1047
- d: "M15 7h2a5 5 0 1 1 0 10h-2",
1048
- key: "1b9ql8"
1049
- }], ["line", {
1050
- x1: "8",
1051
- x2: "16",
1052
- y1: "12",
1053
- y2: "12",
1054
- key: "1jonct"
1055
- }]];
1056
- const Link2 = createLucideIcon("link-2", __iconNode$11);
1057
-
1058
- /**
1059
- * @license lucide-react v0.561.0 - ISC
1060
- *
1061
- * This source code is licensed under the ISC license.
1062
- * See the LICENSE file in the root directory of this source tree.
1063
- */
1064
- const __iconNode$10 = [["path", {
1065
- d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
1066
- key: "1cjeqo"
1067
- }], ["path", {
1068
- d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
1069
- key: "19qd67"
1070
- }]];
1071
- const Link = createLucideIcon("link", __iconNode$10);
1072
-
1073
- /**
1074
- * @license lucide-react v0.561.0 - ISC
1075
- *
1076
- * This source code is licensed under the ISC license.
1077
- * See the LICENSE file in the root directory of this source tree.
1078
- */
1079
- const __iconNode$$ = [["path", {
1080
- d: "M3 5h.01",
1081
- key: "18ugdj"
1082
- }], ["path", {
1083
- d: "M3 12h.01",
1084
- key: "nlz23k"
1085
- }], ["path", {
1086
- d: "M3 19h.01",
1087
- key: "noohij"
1088
- }], ["path", {
1089
- d: "M8 5h13",
1090
- key: "1pao27"
1091
- }], ["path", {
1092
- d: "M8 12h13",
1093
- key: "1za7za"
1094
- }], ["path", {
1095
- d: "M8 19h13",
1096
- key: "m83p4d"
1097
- }]];
1098
- const List = createLucideIcon("list", __iconNode$$);
1099
-
1100
- /**
1101
- * @license lucide-react v0.561.0 - ISC
1102
- *
1103
- * This source code is licensed under the ISC license.
1104
- * See the LICENSE file in the root directory of this source tree.
1105
- */
1106
- const __iconNode$_ = [["path", {
1107
- d: "M12 2v4",
1108
- key: "3427ic"
1109
- }], ["path", {
1110
- d: "m16.2 7.8 2.9-2.9",
1111
- key: "r700ao"
1112
- }], ["path", {
1113
- d: "M18 12h4",
1114
- key: "wj9ykh"
1115
- }], ["path", {
1116
- d: "m16.2 16.2 2.9 2.9",
1117
- key: "1bxg5t"
1118
- }], ["path", {
1119
- d: "M12 18v4",
1120
- key: "jadmvz"
1121
- }], ["path", {
1122
- d: "m4.9 19.1 2.9-2.9",
1123
- key: "bwix9q"
1124
- }], ["path", {
1125
- d: "M2 12h4",
1126
- key: "j09sii"
1127
- }], ["path", {
1128
- d: "m4.9 4.9 2.9 2.9",
1129
- key: "giyufr"
1130
- }]];
1131
- const Loader = createLucideIcon("loader", __iconNode$_);
1132
-
1133
- /**
1134
- * @license lucide-react v0.561.0 - ISC
1135
- *
1136
- * This source code is licensed under the ISC license.
1137
- * See the LICENSE file in the root directory of this source tree.
1138
- */
1139
- const __iconNode$Z = [["rect", {
1140
- width: "18",
1141
- height: "11",
1142
- x: "3",
1143
- y: "11",
1144
- rx: "2",
1145
- ry: "2",
1146
- key: "1w4ew1"
1147
- }], ["path", {
1148
- d: "M7 11V7a5 5 0 0 1 9.9-1",
1149
- key: "1mm8w8"
1150
- }]];
1151
- const LockOpen = createLucideIcon("lock-open", __iconNode$Z);
1152
-
1153
- /**
1154
- * @license lucide-react v0.561.0 - ISC
1155
- *
1156
- * This source code is licensed under the ISC license.
1157
- * See the LICENSE file in the root directory of this source tree.
1158
- */
1159
- const __iconNode$Y = [["rect", {
1160
- width: "18",
1161
- height: "11",
1162
- x: "3",
1163
- y: "11",
1164
- rx: "2",
1165
- ry: "2",
1166
- key: "1w4ew1"
1167
- }], ["path", {
1168
- d: "M7 11V7a5 5 0 0 1 10 0v4",
1169
- key: "fwvmzm"
1170
- }]];
1171
- const Lock = createLucideIcon("lock", __iconNode$Y);
1172
-
1173
- /**
1174
- * @license lucide-react v0.561.0 - ISC
1175
- *
1176
- * This source code is licensed under the ISC license.
1177
- * See the LICENSE file in the root directory of this source tree.
1178
- */
1179
- const __iconNode$X = [["path", {
1180
- d: "m16 17 5-5-5-5",
1181
- key: "1bji2h"
1182
- }], ["path", {
1183
- d: "M21 12H9",
1184
- key: "dn1m92"
1185
- }], ["path", {
1186
- d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",
1187
- key: "1uf3rs"
1188
- }]];
1189
- const LogOut = createLucideIcon("log-out", __iconNode$X);
1190
-
1191
- /**
1192
- * @license lucide-react v0.561.0 - ISC
1193
- *
1194
- * This source code is licensed under the ISC license.
1195
- * See the LICENSE file in the root directory of this source tree.
1196
- */
1197
- const __iconNode$W = [["path", {
1198
- d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",
1199
- key: "132q7q"
1200
- }], ["rect", {
1201
- x: "2",
1202
- y: "4",
1203
- width: "20",
1204
- height: "16",
1205
- rx: "2",
1206
- key: "izxlao"
1207
- }]];
1208
- const Mail = createLucideIcon("mail", __iconNode$W);
1209
-
1210
- /**
1211
- * @license lucide-react v0.561.0 - ISC
1212
- *
1213
- * This source code is licensed under the ISC license.
1214
- * See the LICENSE file in the root directory of this source tree.
1215
- */
1216
- const __iconNode$V = [["path", {
1217
- d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
1218
- key: "1r0f0z"
1219
- }], ["circle", {
1220
- cx: "12",
1221
- cy: "10",
1222
- r: "3",
1223
- key: "ilqhr7"
1224
- }]];
1225
- const MapPin = createLucideIcon("map-pin", __iconNode$V);
1226
-
1227
- /**
1228
- * @license lucide-react v0.561.0 - ISC
1229
- *
1230
- * This source code is licensed under the ISC license.
1231
- * See the LICENSE file in the root directory of this source tree.
1232
- */
1233
- const __iconNode$U = [["path", {
1234
- d: "M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",
1235
- key: "169xi5"
1236
- }], ["path", {
1237
- d: "M15 5.764v15",
1238
- key: "1pn4in"
1239
- }], ["path", {
1240
- d: "M9 3.236v15",
1241
- key: "1uimfh"
1242
- }]];
1243
- const Map = createLucideIcon("map", __iconNode$U);
1244
-
1245
- /**
1246
- * @license lucide-react v0.561.0 - ISC
1247
- *
1248
- * This source code is licensed under the ISC license.
1249
- * See the LICENSE file in the root directory of this source tree.
1250
- */
1251
- const __iconNode$T = [["path", {
1252
- d: "M15 3h6v6",
1253
- key: "1q9fwt"
1254
- }], ["path", {
1255
- d: "m21 3-7 7",
1256
- key: "1l2asr"
1257
- }], ["path", {
1258
- d: "m3 21 7-7",
1259
- key: "tjx5ai"
1260
- }], ["path", {
1261
- d: "M9 21H3v-6",
1262
- key: "wtvkvv"
1263
- }]];
1264
- const Maximize2 = createLucideIcon("maximize-2", __iconNode$T);
1265
-
1266
- /**
1267
- * @license lucide-react v0.561.0 - ISC
1268
- *
1269
- * This source code is licensed under the ISC license.
1270
- * See the LICENSE file in the root directory of this source tree.
1271
- */
1272
- const __iconNode$S = [["path", {
1273
- d: "M4 5h16",
1274
- key: "1tepv9"
1275
- }], ["path", {
1276
- d: "M4 12h16",
1277
- key: "1lakjw"
1278
- }], ["path", {
1279
- d: "M4 19h16",
1280
- key: "1djgab"
1281
- }]];
1282
- const Menu = createLucideIcon("menu", __iconNode$S);
1283
-
1284
- /**
1285
- * @license lucide-react v0.561.0 - ISC
1286
- *
1287
- * This source code is licensed under the ISC license.
1288
- * See the LICENSE file in the root directory of this source tree.
1289
- */
1290
- const __iconNode$R = [["path", {
1291
- d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
1292
- key: "1sd12s"
1293
- }]];
1294
- const MessageCircle = createLucideIcon("message-circle", __iconNode$R);
1295
-
1296
- /**
1297
- * @license lucide-react v0.561.0 - ISC
1298
- *
1299
- * This source code is licensed under the ISC license.
1300
- * See the LICENSE file in the root directory of this source tree.
1301
- */
1302
- const __iconNode$Q = [["path", {
1303
- d: "M5 12h14",
1304
- key: "1ays0h"
1305
- }]];
1306
- const Minus = createLucideIcon("minus", __iconNode$Q);
1307
-
1308
- /**
1309
- * @license lucide-react v0.561.0 - ISC
1310
- *
1311
- * This source code is licensed under the ISC license.
1312
- * See the LICENSE file in the root directory of this source tree.
1313
- */
1314
- const __iconNode$P = [["rect", {
1315
- width: "20",
1316
- height: "14",
1317
- x: "2",
1318
- y: "3",
1319
- rx: "2",
1320
- key: "48i651"
1321
- }], ["line", {
1322
- x1: "8",
1323
- x2: "16",
1324
- y1: "21",
1325
- y2: "21",
1326
- key: "1svkeh"
1327
- }], ["line", {
1328
- x1: "12",
1329
- x2: "12",
1330
- y1: "17",
1331
- y2: "21",
1332
- key: "vw1qmm"
1333
- }]];
1334
- const Monitor = createLucideIcon("monitor", __iconNode$P);
1335
-
1336
- /**
1337
- * @license lucide-react v0.561.0 - ISC
1338
- *
1339
- * This source code is licensed under the ISC license.
1340
- * See the LICENSE file in the root directory of this source tree.
1341
- */
1342
- const __iconNode$O = [["path", {
1343
- d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
1344
- key: "kfwtm"
1345
- }]];
1346
- const Moon = createLucideIcon("moon", __iconNode$O);
1347
-
1348
- /**
1349
- * @license lucide-react v0.561.0 - ISC
1350
- *
1351
- * This source code is licensed under the ISC license.
1352
- * See the LICENSE file in the root directory of this source tree.
1353
- */
1354
- const __iconNode$N = [["path", {
1355
- d: "M12 2v20",
1356
- key: "t6zp3m"
1357
- }], ["path", {
1358
- d: "m15 19-3 3-3-3",
1359
- key: "11eu04"
1360
- }], ["path", {
1361
- d: "m19 9 3 3-3 3",
1362
- key: "1mg7y2"
1363
- }], ["path", {
1364
- d: "M2 12h20",
1365
- key: "9i4pu4"
1366
- }], ["path", {
1367
- d: "m5 9-3 3 3 3",
1368
- key: "j64kie"
1369
- }], ["path", {
1370
- d: "m9 5 3-3 3 3",
1371
- key: "l8vdw6"
1372
- }]];
1373
- const Move = createLucideIcon("move", __iconNode$N);
1374
-
1375
- /**
1376
- * @license lucide-react v0.561.0 - ISC
1377
- *
1378
- * This source code is licensed under the ISC license.
1379
- * See the LICENSE file in the root directory of this source tree.
1380
- */
1381
- const __iconNode$M = [["path", {
1382
- d: "M9 18V5l12-2v13",
1383
- key: "1jmyc2"
1384
- }], ["circle", {
1385
- cx: "6",
1386
- cy: "18",
1387
- r: "3",
1388
- key: "fqmcym"
1389
- }], ["circle", {
1390
- cx: "18",
1391
- cy: "16",
1392
- r: "3",
1393
- key: "1hluhg"
1394
- }]];
1395
- const Music = createLucideIcon("music", __iconNode$M);
1396
-
1397
- /**
1398
- * @license lucide-react v0.561.0 - ISC
1399
- *
1400
- * This source code is licensed under the ISC license.
1401
- * See the LICENSE file in the root directory of this source tree.
1402
- */
1403
- const __iconNode$L = [["path", {
1404
- d: "M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",
1405
- key: "1a0edw"
1406
- }], ["path", {
1407
- d: "M12 22V12",
1408
- key: "d0xqtd"
1409
- }], ["polyline", {
1410
- points: "3.29 7 12 12 20.71 7",
1411
- key: "ousv84"
1412
- }], ["path", {
1413
- d: "m7.5 4.27 9 5.15",
1414
- key: "1c824w"
1415
- }]];
1416
- const Package = createLucideIcon("package", __iconNode$L);
1417
-
1418
- /**
1419
- * @license lucide-react v0.561.0 - ISC
1420
- *
1421
- * This source code is licensed under the ISC license.
1422
- * See the LICENSE file in the root directory of this source tree.
1423
- */
1424
- const __iconNode$K = [["rect", {
1425
- width: "18",
1426
- height: "18",
1427
- x: "3",
1428
- y: "3",
1429
- rx: "2",
1430
- key: "afitv7"
1431
- }], ["path", {
1432
- d: "M9 3v18",
1433
- key: "fh3hqa"
1434
- }]];
1435
- const PanelLeft = createLucideIcon("panel-left", __iconNode$K);
1436
-
1437
- /**
1438
- * @license lucide-react v0.561.0 - ISC
1439
- *
1440
- * This source code is licensed under the ISC license.
1441
- * See the LICENSE file in the root directory of this source tree.
1442
- */
1443
- const __iconNode$J = [["rect", {
1444
- width: "18",
1445
- height: "18",
1446
- x: "3",
1447
- y: "3",
1448
- rx: "2",
1449
- key: "afitv7"
1450
- }], ["path", {
1451
- d: "M3 9h18",
1452
- key: "1pudct"
1453
- }], ["path", {
1454
- d: "M9 21V9",
1455
- key: "1oto5p"
1456
- }]];
1457
- const PanelsTopLeft = createLucideIcon("panels-top-left", __iconNode$J);
1458
-
1459
- /**
1460
- * @license lucide-react v0.561.0 - ISC
1461
- *
1462
- * This source code is licensed under the ISC license.
1463
- * See the LICENSE file in the root directory of this source tree.
1464
- */
1465
- const __iconNode$I = [["rect", {
1466
- x: "14",
1467
- y: "3",
1468
- width: "5",
1469
- height: "18",
1470
- rx: "1",
1471
- key: "kaeet6"
1472
- }], ["rect", {
1473
- x: "5",
1474
- y: "3",
1475
- width: "5",
1476
- height: "18",
1477
- rx: "1",
1478
- key: "1wsw3u"
1479
- }]];
1480
- const Pause = createLucideIcon("pause", __iconNode$I);
1481
-
1482
- /**
1483
- * @license lucide-react v0.561.0 - ISC
1484
- *
1485
- * This source code is licensed under the ISC license.
1486
- * See the LICENSE file in the root directory of this source tree.
1487
- */
1488
- const __iconNode$H = [["path", {
1489
- d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
1490
- key: "10ikf1"
1491
- }]];
1492
- const Play = createLucideIcon("play", __iconNode$H);
1493
-
1494
- /**
1495
- * @license lucide-react v0.561.0 - ISC
1496
- *
1497
- * This source code is licensed under the ISC license.
1498
- * See the LICENSE file in the root directory of this source tree.
1499
- */
1500
- const __iconNode$G = [["path", {
1501
- d: "M5 12h14",
1502
- key: "1ays0h"
1503
- }], ["path", {
1504
- d: "M12 5v14",
1505
- key: "s699le"
1506
- }]];
1507
- const Plus = createLucideIcon("plus", __iconNode$G);
1508
-
1509
- /**
1510
- * @license lucide-react v0.561.0 - ISC
1511
- *
1512
- * This source code is licensed under the ISC license.
1513
- * See the LICENSE file in the root directory of this source tree.
1514
- */
1515
- const __iconNode$F = [["path", {
1516
- d: "M12 2v10",
1517
- key: "mnfbl"
1518
- }], ["path", {
1519
- d: "M18.4 6.6a9 9 0 1 1-12.77.04",
1520
- key: "obofu9"
1521
- }]];
1522
- const Power = createLucideIcon("power", __iconNode$F);
1523
-
1524
- /**
1525
- * @license lucide-react v0.561.0 - ISC
1526
- *
1527
- * This source code is licensed under the ISC license.
1528
- * See the LICENSE file in the root directory of this source tree.
1529
- */
1530
- const __iconNode$E = [["path", {
1531
- d: "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",
1532
- key: "143wyd"
1533
- }], ["path", {
1534
- d: "M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",
1535
- key: "1itne7"
1536
- }], ["rect", {
1537
- x: "6",
1538
- y: "14",
1539
- width: "12",
1540
- height: "8",
1541
- rx: "1",
1542
- key: "1ue0tg"
1543
- }]];
1544
- const Printer = createLucideIcon("printer", __iconNode$E);
1545
-
1546
- /**
1547
- * @license lucide-react v0.561.0 - ISC
1548
- *
1549
- * This source code is licensed under the ISC license.
1550
- * See the LICENSE file in the root directory of this source tree.
1551
- */
1552
- const __iconNode$D = [["path", {
1553
- d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
1554
- key: "v9h5vc"
1555
- }], ["path", {
1556
- d: "M21 3v5h-5",
1557
- key: "1q7to0"
1558
- }], ["path", {
1559
- d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
1560
- key: "3uifl3"
1561
- }], ["path", {
1562
- d: "M8 16H3v5",
1563
- key: "1cv678"
1564
- }]];
1565
- const RefreshCw = createLucideIcon("refresh-cw", __iconNode$D);
1566
-
1567
- /**
1568
- * @license lucide-react v0.561.0 - ISC
1569
- *
1570
- * This source code is licensed under the ISC license.
1571
- * See the LICENSE file in the root directory of this source tree.
1572
- */
1573
- const __iconNode$C = [["path", {
1574
- d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
1575
- key: "1c8476"
1576
- }], ["path", {
1577
- d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",
1578
- key: "1ydtos"
1579
- }], ["path", {
1580
- d: "M7 3v4a1 1 0 0 0 1 1h7",
1581
- key: "t51u73"
1582
- }]];
1583
- const Save = createLucideIcon("save", __iconNode$C);
1584
-
1585
- /**
1586
- * @license lucide-react v0.561.0 - ISC
1587
- *
1588
- * This source code is licensed under the ISC license.
1589
- * See the LICENSE file in the root directory of this source tree.
1590
- */
1591
- const __iconNode$B = [["path", {
1592
- d: "m21 21-4.34-4.34",
1593
- key: "14j7rj"
1594
- }], ["circle", {
1595
- cx: "11",
1596
- cy: "11",
1597
- r: "8",
1598
- key: "4ej97u"
1599
- }]];
1600
- const Search = createLucideIcon("search", __iconNode$B);
1601
-
1602
- /**
1603
- * @license lucide-react v0.561.0 - ISC
1604
- *
1605
- * This source code is licensed under the ISC license.
1606
- * See the LICENSE file in the root directory of this source tree.
1607
- */
1608
- const __iconNode$A = [["path", {
1609
- d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
1610
- key: "1ffxy3"
1611
- }], ["path", {
1612
- d: "m21.854 2.147-10.94 10.939",
1613
- key: "12cjpa"
1614
- }]];
1615
- const Send = createLucideIcon("send", __iconNode$A);
1616
-
1617
- /**
1618
- * @license lucide-react v0.561.0 - ISC
1619
- *
1620
- * This source code is licensed under the ISC license.
1621
- * See the LICENSE file in the root directory of this source tree.
1622
- */
1623
- const __iconNode$z = [["rect", {
1624
- width: "20",
1625
- height: "8",
1626
- x: "2",
1627
- y: "2",
1628
- rx: "2",
1629
- ry: "2",
1630
- key: "ngkwjq"
1631
- }], ["rect", {
1632
- width: "20",
1633
- height: "8",
1634
- x: "2",
1635
- y: "14",
1636
- rx: "2",
1637
- ry: "2",
1638
- key: "iecqi9"
1639
- }], ["line", {
1640
- x1: "6",
1641
- x2: "6.01",
1642
- y1: "6",
1643
- y2: "6",
1644
- key: "16zg32"
1645
- }], ["line", {
1646
- x1: "6",
1647
- x2: "6.01",
1648
- y1: "18",
1649
- y2: "18",
1650
- key: "nzw8ys"
1651
- }]];
1652
- const Server = createLucideIcon("server", __iconNode$z);
1653
-
1654
- /**
1655
- * @license lucide-react v0.561.0 - ISC
1656
- *
1657
- * This source code is licensed under the ISC license.
1658
- * See the LICENSE file in the root directory of this source tree.
1659
- */
1660
- const __iconNode$y = [["path", {
1661
- d: "M14 17H5",
1662
- key: "gfn3mx"
1663
- }], ["path", {
1664
- d: "M19 7h-9",
1665
- key: "6i9tg"
1666
- }], ["circle", {
1667
- cx: "17",
1668
- cy: "17",
1669
- r: "3",
1670
- key: "18b49y"
1671
- }], ["circle", {
1672
- cx: "7",
1673
- cy: "7",
1674
- r: "3",
1675
- key: "dfmy0x"
1676
- }]];
1677
- const Settings2 = createLucideIcon("settings-2", __iconNode$y);
1678
-
1679
- /**
1680
- * @license lucide-react v0.561.0 - ISC
1681
- *
1682
- * This source code is licensed under the ISC license.
1683
- * See the LICENSE file in the root directory of this source tree.
1684
- */
1685
- const __iconNode$x = [["path", {
1686
- d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
1687
- key: "1i5ecw"
1688
- }], ["circle", {
1689
- cx: "12",
1690
- cy: "12",
1691
- r: "3",
1692
- key: "1v7zrd"
1693
- }]];
1694
- const Settings = createLucideIcon("settings", __iconNode$x);
1695
-
1696
- /**
1697
- * @license lucide-react v0.561.0 - ISC
1698
- *
1699
- * This source code is licensed under the ISC license.
1700
- * See the LICENSE file in the root directory of this source tree.
1701
- */
1702
- const __iconNode$w = [["path", {
1703
- d: "M12 2v13",
1704
- key: "1km8f5"
1705
- }], ["path", {
1706
- d: "m16 6-4-4-4 4",
1707
- key: "13yo43"
1708
- }], ["path", {
1709
- d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",
1710
- key: "1b2hhj"
1711
- }]];
1712
- const Share = createLucideIcon("share", __iconNode$w);
1713
-
1714
- /**
1715
- * @license lucide-react v0.561.0 - ISC
1716
- *
1717
- * This source code is licensed under the ISC license.
1718
- * See the LICENSE file in the root directory of this source tree.
1719
- */
1720
- const __iconNode$v = [["path", {
1721
- d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
1722
- key: "oel41y"
1723
- }]];
1724
- const Shield = createLucideIcon("shield", __iconNode$v);
1725
-
1726
- /**
1727
- * @license lucide-react v0.561.0 - ISC
1728
- *
1729
- * This source code is licensed under the ISC license.
1730
- * See the LICENSE file in the root directory of this source tree.
1731
- */
1732
- const __iconNode$u = [["circle", {
1733
- cx: "8",
1734
- cy: "21",
1735
- r: "1",
1736
- key: "jimo8o"
1737
- }], ["circle", {
1738
- cx: "19",
1739
- cy: "21",
1740
- r: "1",
1741
- key: "13723u"
1742
- }], ["path", {
1743
- d: "M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",
1744
- key: "9zh506"
1745
- }]];
1746
- const ShoppingCart = createLucideIcon("shopping-cart", __iconNode$u);
1747
-
1748
- /**
1749
- * @license lucide-react v0.561.0 - ISC
1750
- *
1751
- * This source code is licensed under the ISC license.
1752
- * See the LICENSE file in the root directory of this source tree.
1753
- */
1754
- const __iconNode$t = [["path", {
1755
- d: "M10 8h4",
1756
- key: "1sr2af"
1757
- }], ["path", {
1758
- d: "M12 21v-9",
1759
- key: "17s77i"
1760
- }], ["path", {
1761
- d: "M12 8V3",
1762
- key: "13r4qs"
1763
- }], ["path", {
1764
- d: "M17 16h4",
1765
- key: "h1uq16"
1766
- }], ["path", {
1767
- d: "M19 12V3",
1768
- key: "o1uvq1"
1769
- }], ["path", {
1770
- d: "M19 21v-5",
1771
- key: "qua636"
1772
- }], ["path", {
1773
- d: "M3 14h4",
1774
- key: "bcjad9"
1775
- }], ["path", {
1776
- d: "M5 10V3",
1777
- key: "cb8scm"
1778
- }], ["path", {
1779
- d: "M5 21v-7",
1780
- key: "1w1uti"
1781
- }]];
1782
- const SlidersVertical = createLucideIcon("sliders-vertical", __iconNode$t);
1783
-
1784
- /**
1785
- * @license lucide-react v0.561.0 - ISC
1786
- *
1787
- * This source code is licensed under the ISC license.
1788
- * See the LICENSE file in the root directory of this source tree.
1789
- */
1790
- const __iconNode$s = [["rect", {
1791
- width: "14",
1792
- height: "20",
1793
- x: "5",
1794
- y: "2",
1795
- rx: "2",
1796
- ry: "2",
1797
- key: "1yt0o3"
1798
- }], ["path", {
1799
- d: "M12 18h.01",
1800
- key: "mhygvu"
1801
- }]];
1802
- const Smartphone = createLucideIcon("smartphone", __iconNode$s);
1803
-
1804
- /**
1805
- * @license lucide-react v0.561.0 - ISC
1806
- *
1807
- * This source code is licensed under the ISC license.
1808
- * See the LICENSE file in the root directory of this source tree.
1809
- */
1810
- const __iconNode$r = [["path", {
1811
- d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",
1812
- key: "1m0v6g"
1813
- }], ["path", {
1814
- d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",
1815
- key: "ohrbg2"
1816
- }]];
1817
- const SquarePen = createLucideIcon("square-pen", __iconNode$r);
1818
-
1819
- /**
1820
- * @license lucide-react v0.561.0 - ISC
1821
- *
1822
- * This source code is licensed under the ISC license.
1823
- * See the LICENSE file in the root directory of this source tree.
1824
- */
1825
- const __iconNode$q = [["rect", {
1826
- width: "18",
1827
- height: "18",
1828
- x: "3",
1829
- y: "3",
1830
- rx: "2",
1831
- key: "afitv7"
1832
- }]];
1833
- const Square = createLucideIcon("square", __iconNode$q);
1834
-
1835
- /**
1836
- * @license lucide-react v0.561.0 - ISC
1837
- *
1838
- * This source code is licensed under the ISC license.
1839
- * See the LICENSE file in the root directory of this source tree.
1840
- */
1841
- const __iconNode$p = [["path", {
1842
- d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
1843
- key: "r04s7s"
1844
- }]];
1845
- const Star = createLucideIcon("star", __iconNode$p);
1846
-
1847
- /**
1848
- * @license lucide-react v0.561.0 - ISC
1849
- *
1850
- * This source code is licensed under the ISC license.
1851
- * See the LICENSE file in the root directory of this source tree.
1852
- */
1853
- const __iconNode$o = [["circle", {
1854
- cx: "12",
1855
- cy: "12",
1856
- r: "4",
1857
- key: "4exip2"
1858
- }], ["path", {
1859
- d: "M12 2v2",
1860
- key: "tus03m"
1861
- }], ["path", {
1862
- d: "M12 20v2",
1863
- key: "1lh1kg"
1864
- }], ["path", {
1865
- d: "m4.93 4.93 1.41 1.41",
1866
- key: "149t6j"
1867
- }], ["path", {
1868
- d: "m17.66 17.66 1.41 1.41",
1869
- key: "ptbguv"
1870
- }], ["path", {
1871
- d: "M2 12h2",
1872
- key: "1t8f8n"
1873
- }], ["path", {
1874
- d: "M20 12h2",
1875
- key: "1q8mjw"
1876
- }], ["path", {
1877
- d: "m6.34 17.66-1.41 1.41",
1878
- key: "1m8zz5"
1879
- }], ["path", {
1880
- d: "m19.07 4.93-1.41 1.41",
1881
- key: "1shlcs"
1882
- }]];
1883
- const Sun = createLucideIcon("sun", __iconNode$o);
1884
-
1885
- /**
1886
- * @license lucide-react v0.561.0 - ISC
1887
- *
1888
- * This source code is licensed under the ISC license.
1889
- * See the LICENSE file in the root directory of this source tree.
1890
- */
1891
- const __iconNode$n = [["path", {
1892
- d: "M12 3v18",
1893
- key: "108xh3"
1894
- }], ["rect", {
1895
- width: "18",
1896
- height: "18",
1897
- x: "3",
1898
- y: "3",
1899
- rx: "2",
1900
- key: "afitv7"
1901
- }], ["path", {
1902
- d: "M3 9h18",
1903
- key: "1pudct"
1904
- }], ["path", {
1905
- d: "M3 15h18",
1906
- key: "5xshup"
1907
- }]];
1908
- const Table = createLucideIcon("table", __iconNode$n);
1909
-
1910
- /**
1911
- * @license lucide-react v0.561.0 - ISC
1912
- *
1913
- * This source code is licensed under the ISC license.
1914
- * See the LICENSE file in the root directory of this source tree.
1915
- */
1916
- const __iconNode$m = [["path", {
1917
- d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
1918
- key: "vktsd0"
1919
- }], ["circle", {
1920
- cx: "7.5",
1921
- cy: "7.5",
1922
- r: ".5",
1923
- fill: "currentColor",
1924
- key: "kqv944"
1925
- }]];
1926
- const Tag = createLucideIcon("tag", __iconNode$m);
1927
-
1928
- /**
1929
- * @license lucide-react v0.561.0 - ISC
1930
- *
1931
- * This source code is licensed under the ISC license.
1932
- * See the LICENSE file in the root directory of this source tree.
1933
- */
1934
- const __iconNode$l = [["circle", {
1935
- cx: "12",
1936
- cy: "12",
1937
- r: "10",
1938
- key: "1mglay"
1939
- }], ["circle", {
1940
- cx: "12",
1941
- cy: "12",
1942
- r: "6",
1943
- key: "1vlfrh"
1944
- }], ["circle", {
1945
- cx: "12",
1946
- cy: "12",
1947
- r: "2",
1948
- key: "1c9p78"
1949
- }]];
1950
- const Target = createLucideIcon("target", __iconNode$l);
1951
-
1952
- /**
1953
- * @license lucide-react v0.561.0 - ISC
1954
- *
1955
- * This source code is licensed under the ISC license.
1956
- * See the LICENSE file in the root directory of this source tree.
1957
- */
1958
- const __iconNode$k = [["path", {
1959
- d: "M12 19h8",
1960
- key: "baeox8"
1961
- }], ["path", {
1962
- d: "m4 17 6-6-6-6",
1963
- key: "1yngyt"
1964
- }]];
1965
- const Terminal = createLucideIcon("terminal", __iconNode$k);
1966
-
1967
- /**
1968
- * @license lucide-react v0.561.0 - ISC
1969
- *
1970
- * This source code is licensed under the ISC license.
1971
- * See the LICENSE file in the root directory of this source tree.
1972
- */
1973
- const __iconNode$j = [["path", {
1974
- d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",
1975
- key: "emmmcr"
1976
- }], ["path", {
1977
- d: "M7 10v12",
1978
- key: "1qc93n"
1979
- }]];
1980
- const ThumbsUp = createLucideIcon("thumbs-up", __iconNode$j);
1981
-
1982
- /**
1983
- * @license lucide-react v0.561.0 - ISC
1984
- *
1985
- * This source code is licensed under the ISC license.
1986
- * See the LICENSE file in the root directory of this source tree.
1987
- */
1988
- const __iconNode$i = [["path", {
1989
- d: "M10 11v6",
1990
- key: "nco0om"
1991
- }], ["path", {
1992
- d: "M14 11v6",
1993
- key: "outv1u"
1994
- }], ["path", {
1995
- d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
1996
- key: "miytrc"
1997
- }], ["path", {
1998
- d: "M3 6h18",
1999
- key: "d0wm0j"
2000
- }], ["path", {
2001
- d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
2002
- key: "e791ji"
2003
- }]];
2004
- const Trash2 = createLucideIcon("trash-2", __iconNode$i);
2005
-
2006
- /**
2007
- * @license lucide-react v0.561.0 - ISC
2008
- *
2009
- * This source code is licensed under the ISC license.
2010
- * See the LICENSE file in the root directory of this source tree.
2011
- */
2012
- const __iconNode$h = [["path", {
2013
- d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
2014
- key: "miytrc"
2015
- }], ["path", {
2016
- d: "M3 6h18",
2017
- key: "d0wm0j"
2018
- }], ["path", {
2019
- d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
2020
- key: "e791ji"
2021
- }]];
2022
- const Trash = createLucideIcon("trash", __iconNode$h);
2023
-
2024
- /**
2025
- * @license lucide-react v0.561.0 - ISC
2026
- *
2027
- * This source code is licensed under the ISC license.
2028
- * See the LICENSE file in the root directory of this source tree.
2029
- */
2030
- const __iconNode$g = [["path", {
2031
- d: "M16 17h6v-6",
2032
- key: "t6n2it"
2033
- }], ["path", {
2034
- d: "m22 17-8.5-8.5-5 5L2 7",
2035
- key: "x473p"
2036
- }]];
2037
- const TrendingDown = createLucideIcon("trending-down", __iconNode$g);
2038
-
2039
- /**
2040
- * @license lucide-react v0.561.0 - ISC
2041
- *
2042
- * This source code is licensed under the ISC license.
2043
- * See the LICENSE file in the root directory of this source tree.
2044
- */
2045
- const __iconNode$f = [["path", {
2046
- d: "M16 7h6v6",
2047
- key: "box55l"
2048
- }], ["path", {
2049
- d: "m22 7-8.5 8.5-5-5L2 17",
2050
- key: "1t1m79"
2051
- }]];
2052
- const TrendingUp = createLucideIcon("trending-up", __iconNode$f);
2053
-
2054
- /**
2055
- * @license lucide-react v0.561.0 - ISC
2056
- *
2057
- * This source code is licensed under the ISC license.
2058
- * See the LICENSE file in the root directory of this source tree.
2059
- */
2060
- const __iconNode$e = [["path", {
2061
- d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
2062
- key: "wmoenq"
2063
- }], ["path", {
2064
- d: "M12 9v4",
2065
- key: "juzpu7"
2066
- }], ["path", {
2067
- d: "M12 17h.01",
2068
- key: "p32p05"
2069
- }]];
2070
- const TriangleAlert = createLucideIcon("triangle-alert", __iconNode$e);
2071
-
2072
- /**
2073
- * @license lucide-react v0.561.0 - ISC
2074
- *
2075
- * This source code is licensed under the ISC license.
2076
- * See the LICENSE file in the root directory of this source tree.
2077
- */
2078
- const __iconNode$d = [["path", {
2079
- d: "M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",
2080
- key: "14u9p9"
557
+ d: "M12 5v14",
558
+ key: "s699le"
2081
559
  }]];
2082
- const Triangle = createLucideIcon("triangle", __iconNode$d);
560
+ const Plus = createLucideIcon("plus", __iconNode$5);
2083
561
 
2084
562
  /**
2085
563
  * @license lucide-react v0.561.0 - ISC
@@ -2087,46 +565,24 @@ const Triangle = createLucideIcon("triangle", __iconNode$d);
2087
565
  * This source code is licensed under the ISC license.
2088
566
  * See the LICENSE file in the root directory of this source tree.
2089
567
  */
2090
- const __iconNode$c = [["path", {
2091
- d: "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",
2092
- key: "wrbu53"
2093
- }], ["path", {
2094
- d: "M15 18H9",
2095
- key: "1lyqi6"
568
+ const __iconNode$4 = [["path", {
569
+ d: "M14 17H5",
570
+ key: "gfn3mx"
2096
571
  }], ["path", {
2097
- d: "M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",
2098
- key: "lysw3i"
572
+ d: "M19 7h-9",
573
+ key: "6i9tg"
2099
574
  }], ["circle", {
2100
575
  cx: "17",
2101
- cy: "18",
2102
- r: "2",
2103
- key: "332jqn"
576
+ cy: "17",
577
+ r: "3",
578
+ key: "18b49y"
2104
579
  }], ["circle", {
2105
580
  cx: "7",
2106
- cy: "18",
2107
- r: "2",
2108
- key: "19iecd"
2109
- }]];
2110
- const Truck = createLucideIcon("truck", __iconNode$c);
2111
-
2112
- /**
2113
- * @license lucide-react v0.561.0 - ISC
2114
- *
2115
- * This source code is licensed under the ISC license.
2116
- * See the LICENSE file in the root directory of this source tree.
2117
- */
2118
- const __iconNode$b = [["path", {
2119
- d: "m17 2-5 5-5-5",
2120
- key: "16satq"
2121
- }], ["rect", {
2122
- width: "20",
2123
- height: "15",
2124
- x: "2",
2125
- y: "7",
2126
- rx: "2",
2127
- key: "1e6viu"
581
+ cy: "7",
582
+ r: "3",
583
+ key: "dfmy0x"
2128
584
  }]];
2129
- const Tv = createLucideIcon("tv", __iconNode$b);
585
+ const Settings2 = createLucideIcon("settings-2", __iconNode$4);
2130
586
 
2131
587
  /**
2132
588
  * @license lucide-react v0.561.0 - ISC
@@ -2134,17 +590,23 @@ const Tv = createLucideIcon("tv", __iconNode$b);
2134
590
  * This source code is licensed under the ISC license.
2135
591
  * See the LICENSE file in the root directory of this source tree.
2136
592
  */
2137
- const __iconNode$a = [["path", {
2138
- d: "M12 4v16",
2139
- key: "1654pz"
593
+ const __iconNode$3 = [["path", {
594
+ d: "M10 11v6",
595
+ key: "nco0om"
596
+ }], ["path", {
597
+ d: "M14 11v6",
598
+ key: "outv1u"
599
+ }], ["path", {
600
+ d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
601
+ key: "miytrc"
2140
602
  }], ["path", {
2141
- d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",
2142
- key: "e0r10z"
603
+ d: "M3 6h18",
604
+ key: "d0wm0j"
2143
605
  }], ["path", {
2144
- d: "M9 20h6",
2145
- key: "s66wpe"
606
+ d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
607
+ key: "e791ji"
2146
608
  }]];
2147
- const Type = createLucideIcon("type", __iconNode$a);
609
+ const Trash2 = createLucideIcon("trash-2", __iconNode$3);
2148
610
 
2149
611
  /**
2150
612
  * @license lucide-react v0.561.0 - ISC
@@ -2152,7 +614,7 @@ const Type = createLucideIcon("type", __iconNode$a);
2152
614
  * This source code is licensed under the ISC license.
2153
615
  * See the LICENSE file in the root directory of this source tree.
2154
616
  */
2155
- const __iconNode$9 = [["path", {
617
+ const __iconNode$2 = [["path", {
2156
618
  d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",
2157
619
  key: "yqzxt4"
2158
620
  }], ["path", {
@@ -2183,7 +645,7 @@ const __iconNode$9 = [["path", {
2183
645
  y2: "16",
2184
646
  key: "ox905f"
2185
647
  }]];
2186
- const Unlink = createLucideIcon("unlink", __iconNode$9);
648
+ const Unlink = createLucideIcon("unlink", __iconNode$2);
2187
649
 
2188
650
  /**
2189
651
  * @license lucide-react v0.561.0 - ISC
@@ -2191,7 +653,7 @@ const Unlink = createLucideIcon("unlink", __iconNode$9);
2191
653
  * This source code is licensed under the ISC license.
2192
654
  * See the LICENSE file in the root directory of this source tree.
2193
655
  */
2194
- const __iconNode$8 = [["path", {
656
+ const __iconNode$1 = [["path", {
2195
657
  d: "M12 3v12",
2196
658
  key: "1x0j5s"
2197
659
  }], ["path", {
@@ -2201,87 +663,7 @@ const __iconNode$8 = [["path", {
2201
663
  d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
2202
664
  key: "ih7n3h"
2203
665
  }]];
2204
- const Upload = createLucideIcon("upload", __iconNode$8);
2205
-
2206
- /**
2207
- * @license lucide-react v0.561.0 - ISC
2208
- *
2209
- * This source code is licensed under the ISC license.
2210
- * See the LICENSE file in the root directory of this source tree.
2211
- */
2212
- const __iconNode$7 = [["path", {
2213
- d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",
2214
- key: "975kel"
2215
- }], ["circle", {
2216
- cx: "12",
2217
- cy: "7",
2218
- r: "4",
2219
- key: "17ys0d"
2220
- }]];
2221
- const User = createLucideIcon("user", __iconNode$7);
2222
-
2223
- /**
2224
- * @license lucide-react v0.561.0 - ISC
2225
- *
2226
- * This source code is licensed under the ISC license.
2227
- * See the LICENSE file in the root directory of this source tree.
2228
- */
2229
- const __iconNode$6 = [["path", {
2230
- d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
2231
- key: "1yyitq"
2232
- }], ["path", {
2233
- d: "M16 3.128a4 4 0 0 1 0 7.744",
2234
- key: "16gr8j"
2235
- }], ["path", {
2236
- d: "M22 21v-2a4 4 0 0 0-3-3.87",
2237
- key: "kshegd"
2238
- }], ["circle", {
2239
- cx: "9",
2240
- cy: "7",
2241
- r: "4",
2242
- key: "nufk8"
2243
- }]];
2244
- const Users = createLucideIcon("users", __iconNode$6);
2245
-
2246
- /**
2247
- * @license lucide-react v0.561.0 - ISC
2248
- *
2249
- * This source code is licensed under the ISC license.
2250
- * See the LICENSE file in the root directory of this source tree.
2251
- */
2252
- const __iconNode$5 = [["path", {
2253
- d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
2254
- key: "ftymec"
2255
- }], ["rect", {
2256
- x: "2",
2257
- y: "6",
2258
- width: "14",
2259
- height: "12",
2260
- rx: "2",
2261
- key: "158x01"
2262
- }]];
2263
- const Video = createLucideIcon("video", __iconNode$5);
2264
-
2265
- /**
2266
- * @license lucide-react v0.561.0 - ISC
2267
- *
2268
- * This source code is licensed under the ISC license.
2269
- * See the LICENSE file in the root directory of this source tree.
2270
- */
2271
- const __iconNode$4 = [["path", {
2272
- d: "M12 20h.01",
2273
- key: "zekei9"
2274
- }], ["path", {
2275
- d: "M2 8.82a15 15 0 0 1 20 0",
2276
- key: "dnpr2z"
2277
- }], ["path", {
2278
- d: "M5 12.859a10 10 0 0 1 14 0",
2279
- key: "1x1e6c"
2280
- }], ["path", {
2281
- d: "M8.5 16.429a5 5 0 0 1 7 0",
2282
- key: "1bycff"
2283
- }]];
2284
- const Wifi = createLucideIcon("wifi", __iconNode$4);
666
+ const Upload = createLucideIcon("upload", __iconNode$1);
2285
667
 
2286
668
  /**
2287
669
  * @license lucide-react v0.561.0 - ISC
@@ -2289,88 +671,18 @@ const Wifi = createLucideIcon("wifi", __iconNode$4);
2289
671
  * This source code is licensed under the ISC license.
2290
672
  * See the LICENSE file in the root directory of this source tree.
2291
673
  */
2292
- const __iconNode$3 = [["path", {
674
+ const __iconNode = [["path", {
2293
675
  d: "M18 6 6 18",
2294
676
  key: "1bl5f8"
2295
677
  }], ["path", {
2296
678
  d: "m6 6 12 12",
2297
679
  key: "d8bk6v"
2298
680
  }]];
2299
- const X = createLucideIcon("x", __iconNode$3);
2300
-
2301
- /**
2302
- * @license lucide-react v0.561.0 - ISC
2303
- *
2304
- * This source code is licensed under the ISC license.
2305
- * See the LICENSE file in the root directory of this source tree.
2306
- */
2307
- const __iconNode$2 = [["path", {
2308
- d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",
2309
- key: "1xq2db"
2310
- }]];
2311
- const Zap = createLucideIcon("zap", __iconNode$2);
2312
-
2313
- /**
2314
- * @license lucide-react v0.561.0 - ISC
2315
- *
2316
- * This source code is licensed under the ISC license.
2317
- * See the LICENSE file in the root directory of this source tree.
2318
- */
2319
- const __iconNode$1 = [["circle", {
2320
- cx: "11",
2321
- cy: "11",
2322
- r: "8",
2323
- key: "4ej97u"
2324
- }], ["line", {
2325
- x1: "21",
2326
- x2: "16.65",
2327
- y1: "21",
2328
- y2: "16.65",
2329
- key: "13gj7c"
2330
- }], ["line", {
2331
- x1: "11",
2332
- x2: "11",
2333
- y1: "8",
2334
- y2: "14",
2335
- key: "1vmskp"
2336
- }], ["line", {
2337
- x1: "8",
2338
- x2: "14",
2339
- y1: "11",
2340
- y2: "11",
2341
- key: "durymu"
2342
- }]];
2343
- const ZoomIn = createLucideIcon("zoom-in", __iconNode$1);
2344
-
2345
- /**
2346
- * @license lucide-react v0.561.0 - ISC
2347
- *
2348
- * This source code is licensed under the ISC license.
2349
- * See the LICENSE file in the root directory of this source tree.
2350
- */
2351
- const __iconNode = [["circle", {
2352
- cx: "11",
2353
- cy: "11",
2354
- r: "8",
2355
- key: "4ej97u"
2356
- }], ["line", {
2357
- x1: "21",
2358
- x2: "16.65",
2359
- y1: "21",
2360
- y2: "16.65",
2361
- key: "13gj7c"
2362
- }], ["line", {
2363
- x1: "8",
2364
- x2: "14",
2365
- y1: "11",
2366
- y2: "11",
2367
- key: "durymu"
2368
- }]];
2369
- const ZoomOut = createLucideIcon("zoom-out", __iconNode);
681
+ const X = createLucideIcon("x", __iconNode);
2370
682
 
2371
- var styles$k = {"container":"es-container-K2hFq","visualWrapper":"es-visualWrapper-4dHVX","previewBox":"es-previewBox-LDujZ","previewElement":"es-previewElement-Bu8GM","grid":"es-grid-BmRRU","gridButton":"es-gridButton-6Vtr7","gridButtonSelected":"es-gridButtonSelected-fOpOm","section":"es-section-SaHDo","sectionLabel":"es-sectionLabel-hDWO0","buttonGroup":"es-buttonGroup-Nj258","alignButton":"es-alignButton-zAvz2","alignButtonSelected":"es-alignButtonSelected-kGGHJ","alignIcon":"es-alignIcon-mFjSX","alignIconRotated":"es-alignIconRotated-z4AwW"};
683
+ var styles$j = {"container":"es-container-K2hFq","visualWrapper":"es-visualWrapper-4dHVX","previewBox":"es-previewBox-LDujZ","previewElement":"es-previewElement-Bu8GM","grid":"es-grid-BmRRU","gridButton":"es-gridButton-6Vtr7","gridButtonSelected":"es-gridButtonSelected-fOpOm","section":"es-section-SaHDo","sectionLabel":"es-sectionLabel-hDWO0","buttonGroup":"es-buttonGroup-Nj258","alignButton":"es-alignButton-zAvz2","alignButtonSelected":"es-alignButtonSelected-kGGHJ","alignIcon":"es-alignIcon-mFjSX","alignIconRotated":"es-alignIconRotated-z4AwW"};
2372
684
 
2373
- const defaultValue$4 = {
685
+ const defaultValue$3 = {
2374
686
  horizontal: 'left',
2375
687
  vertical: 'top'
2376
688
  };
@@ -2488,7 +800,7 @@ const AlignSetter = props => {
2488
800
  showHorizontal = true,
2489
801
  showVertical = true
2490
802
  } = props;
2491
- const currentValue = value ?? initialValue ?? defaultValue$4;
803
+ const currentValue = value ?? initialValue ?? defaultValue$3;
2492
804
  const updateAlign = useCallback(updates => {
2493
805
  onChange({
2494
806
  ...currentValue,
@@ -2503,34 +815,34 @@ const AlignSetter = props => {
2503
815
  }, [onChange]);
2504
816
  const isGridSelected = (h, v) => currentValue.horizontal === h && currentValue.vertical === v;
2505
817
  return /*#__PURE__*/React.createElement("div", {
2506
- className: styles$k.container
818
+ className: styles$j.container
2507
819
  }, showHorizontal === true && showVertical === true ? /*#__PURE__*/React.createElement("div", {
2508
- className: styles$k.visualWrapper
820
+ className: styles$j.visualWrapper
2509
821
  }, /*#__PURE__*/React.createElement("div", {
2510
- className: styles$k.previewBox
822
+ className: styles$j.previewBox
2511
823
  }, /*#__PURE__*/React.createElement("div", {
2512
- className: styles$k.previewElement,
824
+ className: styles$j.previewElement,
2513
825
  style: getElementPosition(currentValue.horizontal, currentValue.vertical)
2514
826
  })), /*#__PURE__*/React.createElement("div", {
2515
- className: styles$k.grid
827
+ className: styles$j.grid
2516
828
  }, gridPositions.map(pos => /*#__PURE__*/React.createElement("button", {
2517
829
  "aria-label": `Align ${pos.h} ${pos.v}`,
2518
- className: cn(styles$k.gridButton, isGridSelected(pos.h, pos.v) ? styles$k.gridButtonSelected : ''),
830
+ className: cn(styles$j.gridButton, isGridSelected(pos.h, pos.v) ? styles$j.gridButtonSelected : ''),
2519
831
  key: `${pos.h}-${pos.v}`,
2520
832
  onClick: () => handleGridClick(pos.h, pos.v),
2521
833
  type: "button"
2522
834
  })))) : null, showHorizontal === true ? /*#__PURE__*/React.createElement("div", {
2523
- className: styles$k.section
835
+ className: styles$j.section
2524
836
  }, /*#__PURE__*/React.createElement("span", {
2525
- className: styles$k.sectionLabel
837
+ className: styles$j.sectionLabel
2526
838
  }, "\u6C34\u5E73\u5BF9\u9F50"), /*#__PURE__*/React.createElement("div", {
2527
- className: styles$k.buttonGroup
839
+ className: styles$j.buttonGroup
2528
840
  }, horizontalOptions.map(option => {
2529
841
  const Icon = option.icon;
2530
842
  const isRotated = option.value === 'stretch';
2531
843
  return /*#__PURE__*/React.createElement("button", {
2532
844
  "aria-label": option.label,
2533
- className: cn(styles$k.alignButton, currentValue.horizontal === option.value ? styles$k.alignButtonSelected : ''),
845
+ className: cn(styles$j.alignButton, currentValue.horizontal === option.value ? styles$j.alignButtonSelected : ''),
2534
846
  key: option.value,
2535
847
  onClick: () => updateAlign({
2536
848
  horizontal: option.value
@@ -2538,19 +850,19 @@ const AlignSetter = props => {
2538
850
  title: option.label,
2539
851
  type: "button"
2540
852
  }, /*#__PURE__*/React.createElement(Icon, {
2541
- className: cn(styles$k.alignIcon, isRotated ? styles$k.alignIconRotated : '')
853
+ className: cn(styles$j.alignIcon, isRotated ? styles$j.alignIconRotated : '')
2542
854
  }));
2543
855
  }))) : null, showVertical === true ? /*#__PURE__*/React.createElement("div", {
2544
- className: styles$k.section
856
+ className: styles$j.section
2545
857
  }, /*#__PURE__*/React.createElement("span", {
2546
- className: styles$k.sectionLabel
858
+ className: styles$j.sectionLabel
2547
859
  }, "\u5782\u76F4\u5BF9\u9F50"), /*#__PURE__*/React.createElement("div", {
2548
- className: styles$k.buttonGroup
860
+ className: styles$j.buttonGroup
2549
861
  }, verticalOptions.map(option => {
2550
862
  const Icon = option.icon;
2551
863
  return /*#__PURE__*/React.createElement("button", {
2552
864
  "aria-label": option.label,
2553
- className: cn(styles$k.alignButton, currentValue.vertical === option.value ? styles$k.alignButtonSelected : ''),
865
+ className: cn(styles$j.alignButton, currentValue.vertical === option.value ? styles$j.alignButtonSelected : ''),
2554
866
  key: option.value,
2555
867
  onClick: () => updateAlign({
2556
868
  vertical: option.value
@@ -2558,12 +870,12 @@ const AlignSetter = props => {
2558
870
  title: option.label,
2559
871
  type: "button"
2560
872
  }, /*#__PURE__*/React.createElement(Icon, {
2561
- className: styles$k.alignIcon
873
+ className: styles$j.alignIcon
2562
874
  }));
2563
875
  }))) : null);
2564
876
  };
2565
877
 
2566
- var styles$j = {"container":"es-container-KSlB-","item":"es-item-xDCpZ","dragHandle":"es-dragHandle-lOaFv","input":"es-input-ItzPT","removeButton":"es-removeButton-ymAlo","removeIcon":"es-removeIcon-ld51f","addButton":"es-addButton-U1VQX","addIcon":"es-addIcon-6qJub"};
878
+ var styles$i = {"container":"es-container-KSlB-","item":"es-item-xDCpZ","dragHandle":"es-dragHandle-lOaFv","input":"es-input-ItzPT","removeButton":"es-removeButton-ymAlo","removeIcon":"es-removeIcon-ld51f","addButton":"es-addButton-U1VQX","addIcon":"es-addIcon-6qJub"};
2567
879
 
2568
880
  const ArraySetter = props => {
2569
881
  const {
@@ -2599,14 +911,14 @@ const ArraySetter = props => {
2599
911
  const canAdd = !maxItems || items.length < maxItems;
2600
912
  const canRemove = items.length > minItems;
2601
913
  return /*#__PURE__*/React.createElement("div", {
2602
- className: styles$j.container
914
+ className: styles$i.container
2603
915
  }, items.map((item, index) => /*#__PURE__*/React.createElement("div", {
2604
- className: styles$j.item,
916
+ className: styles$i.item,
2605
917
  key: `item-${String(item)}-${index}`
2606
918
  }, /*#__PURE__*/React.createElement(GripVertical, {
2607
- className: styles$j.dragHandle
919
+ className: styles$i.dragHandle
2608
920
  }), /*#__PURE__*/React.createElement("input", {
2609
- className: styles$j.input,
921
+ className: styles$i.input,
2610
922
  onChange: e => {
2611
923
  const val = itemSetter === 'number' ? +e.target.value : e.target.value;
2612
924
  handleChange(index, val);
@@ -2615,19 +927,19 @@ const ArraySetter = props => {
2615
927
  type: itemSetter === 'number' ? 'number' : 'text',
2616
928
  value: item
2617
929
  }), /*#__PURE__*/React.createElement("button", {
2618
- className: styles$j.removeButton,
930
+ className: styles$i.removeButton,
2619
931
  disabled: !canRemove,
2620
932
  onClick: () => handleRemove(index),
2621
933
  type: "button"
2622
934
  }, /*#__PURE__*/React.createElement(Trash2, {
2623
- className: styles$j.removeIcon
935
+ className: styles$i.removeIcon
2624
936
  })))), /*#__PURE__*/React.createElement("button", {
2625
- className: styles$j.addButton,
937
+ className: styles$i.addButton,
2626
938
  disabled: !canAdd,
2627
939
  onClick: handleAdd,
2628
940
  type: "button"
2629
941
  }, /*#__PURE__*/React.createElement(Plus, {
2630
- className: styles$j.addIcon
942
+ className: styles$i.addIcon
2631
943
  }), addButtonText));
2632
944
  };
2633
945
 
@@ -3827,7 +2139,7 @@ var Sketch = /*#__PURE__*/React$1.forwardRef((props, ref) => {
3827
2139
  });
3828
2140
  Sketch.displayName = 'Sketch';
3829
2141
 
3830
- var styles$i = {"trigger":"es-trigger-w-aUi","colorPreview":"es-colorPreview-SUgiJ","colorValue":"es-colorValue-cYdRP","popover":"es-popover-SfIUB","popoverHidden":"es-popoverHidden-GCAC8"};
2142
+ var styles$h = {"trigger":"es-trigger-w-aUi","colorPreview":"es-colorPreview-SUgiJ","colorValue":"es-colorValue-cYdRP","popover":"es-popover-SfIUB"};
3831
2143
 
3832
2144
  const ColorSetter = props => {
3833
2145
  const {
@@ -3837,40 +2149,25 @@ const ColorSetter = props => {
3837
2149
  disableAlpha = false
3838
2150
  } = props;
3839
2151
  const [open, setOpen] = useState(false);
3840
- const containerRef = useRef(null);
3841
- useEffect(() => {
3842
- const handleClickOutside = event => {
3843
- if (containerRef.current && !containerRef.current.contains(event.target)) {
3844
- setOpen(false);
2152
+ return /*#__PURE__*/React.createElement(Popover, {
2153
+ onClose: () => setOpen(false),
2154
+ open: open,
2155
+ trigger: /*#__PURE__*/React.createElement("button", {
2156
+ "aria-label": "Select color",
2157
+ className: styles$h.trigger,
2158
+ onClick: () => setOpen(true),
2159
+ type: "button"
2160
+ }, /*#__PURE__*/React.createElement("div", {
2161
+ "aria-label": "Current color",
2162
+ className: styles$h.colorPreview,
2163
+ style: {
2164
+ backgroundColor: value ?? initialValue
3845
2165
  }
3846
- };
3847
- if (open) {
3848
- document.addEventListener('mousedown', handleClickOutside);
3849
- }
3850
- return () => {
3851
- document.removeEventListener('mousedown', handleClickOutside);
3852
- };
3853
- }, [open]);
3854
- return /*#__PURE__*/React.createElement("div", {
3855
- ref: containerRef,
3856
- style: {
3857
- position: 'relative'
3858
- }
3859
- }, /*#__PURE__*/React.createElement("button", {
3860
- "aria-label": "Select color",
3861
- className: styles$i.trigger,
3862
- onClick: () => setOpen(!open),
3863
- type: "button"
2166
+ }), /*#__PURE__*/React.createElement("span", {
2167
+ className: styles$h.colorValue
2168
+ }, value ?? initialValue))
3864
2169
  }, /*#__PURE__*/React.createElement("div", {
3865
- "aria-label": "Current color",
3866
- className: styles$i.colorPreview,
3867
- style: {
3868
- backgroundColor: value ?? initialValue
3869
- }
3870
- }), /*#__PURE__*/React.createElement("span", {
3871
- className: styles$i.colorValue
3872
- }, value ?? initialValue)), /*#__PURE__*/React.createElement("div", {
3873
- className: cn(styles$i.popover, !open && styles$i.popoverHidden)
2170
+ className: styles$h.popover
3874
2171
  }, /*#__PURE__*/React.createElement(Sketch, {
3875
2172
  color: value,
3876
2173
  disableAlpha: disableAlpha,
@@ -3879,9 +2176,9 @@ const ColorSetter = props => {
3879
2176
  })));
3880
2177
  };
3881
2178
 
3882
- var styles$h = {"container":"es-container-df9wM","trigger":"es-trigger-fTNvQ","triggerIcon":"es-triggerIcon-1mdQ0","triggerIconPrimary":"es-triggerIconPrimary-opifh","triggerIconMuted":"es-triggerIconMuted-CWgDl","triggerText":"es-triggerText-WeQRu","popover":"es-popover-z8oiW","popoverHidden":"es-popoverHidden-kLhMd","tabsList":"es-tabsList-liSeY","tabTrigger":"es-tabTrigger-6j7K-","tabTriggerActive":"es-tabTriggerActive-g6hcl","tabTriggerIcon":"es-tabTriggerIcon-dRSAp","tabContent":"es-tabContent--H166","tabContentActive":"es-tabContentActive-Fjdu5","section":"es-section-eDYxd","sectionLabel":"es-sectionLabel--LHE8","input":"es-input--OymK","inputMono":"es-inputMono-pCJz3","textarea":"es-textarea-iurkc","booleanButtons":"es-booleanButtons-0bM8P","booleanButton":"es-booleanButton-3fXcB","booleanButtonActive":"es-booleanButtonActive-zGWrZ","datasourceList":"es-datasourceList-VIRXb","datasourceButton":"es-datasourceButton-giz6D","datasourceButtonActive":"es-datasourceButtonActive-m5WPP","datasourceIcon":"es-datasourceIcon-q9Omt","emptyState":"es-emptyState-rI2si","hint":"es-hint-zfWLZ","preview":"es-preview-tUInw"};
2179
+ var styles$g = {"trigger":"es-trigger-fTNvQ","triggerIcon":"es-triggerIcon-1mdQ0","triggerIconPrimary":"es-triggerIconPrimary-opifh","triggerIconMuted":"es-triggerIconMuted-CWgDl","triggerText":"es-triggerText-WeQRu","popoverContent":"es-popoverContent-6qE--","tabsList":"es-tabsList-liSeY","tabTrigger":"es-tabTrigger-6j7K-","tabTriggerActive":"es-tabTriggerActive-g6hcl","tabTriggerIcon":"es-tabTriggerIcon-dRSAp","tabContent":"es-tabContent--H166","tabContentActive":"es-tabContentActive-Fjdu5","section":"es-section-eDYxd","sectionLabel":"es-sectionLabel--LHE8","input":"es-input--OymK","inputMono":"es-inputMono-pCJz3","textarea":"es-textarea-iurkc","booleanButtons":"es-booleanButtons-0bM8P","booleanButton":"es-booleanButton-3fXcB","booleanButtonActive":"es-booleanButtonActive-zGWrZ","datasourceList":"es-datasourceList-VIRXb","datasourceButton":"es-datasourceButton-giz6D","datasourceButtonActive":"es-datasourceButtonActive-m5WPP","datasourceIcon":"es-datasourceIcon-q9Omt","emptyState":"es-emptyState-rI2si","hint":"es-hint-zfWLZ","preview":"es-preview-tUInw"};
3883
2180
 
3884
- const defaultValue$3 = {
2181
+ const defaultValue$2 = {
3885
2182
  type: 'static',
3886
2183
  staticValue: ''
3887
2184
  };
@@ -3894,23 +2191,9 @@ const DataBindingSetter = props => {
3894
2191
  showPreview = true,
3895
2192
  dataSources = []
3896
2193
  } = props;
3897
- const currentValue = value ?? initialValue ?? defaultValue$3;
2194
+ const currentValue = value ?? initialValue ?? defaultValue$2;
3898
2195
  const [open, setOpen] = useState(false);
3899
2196
  const [activeTab, setActiveTab] = useState(currentValue.type);
3900
- const containerRef = useRef(null);
3901
- useEffect(() => {
3902
- const handleClickOutside = event => {
3903
- if (containerRef.current && !containerRef.current.contains(event.target)) {
3904
- setOpen(false);
3905
- }
3906
- };
3907
- if (open) {
3908
- document.addEventListener('mousedown', handleClickOutside);
3909
- }
3910
- return () => {
3911
- document.removeEventListener('mousedown', handleClickOutside);
3912
- };
3913
- }, [open]);
3914
2197
  const updateBinding = useCallback(updates => {
3915
2198
  onChange({
3916
2199
  ...currentValue,
@@ -3945,7 +2228,7 @@ const DataBindingSetter = props => {
3945
2228
  switch (dataType) {
3946
2229
  case 'number':
3947
2230
  return /*#__PURE__*/React.createElement("input", {
3948
- className: styles$h.input,
2231
+ className: styles$g.input,
3949
2232
  onChange: e => handleStaticValueChange(Number(e.target.value)),
3950
2233
  placeholder: "\u8F93\u5165\u6570\u503C",
3951
2234
  type: "number",
@@ -3953,20 +2236,20 @@ const DataBindingSetter = props => {
3953
2236
  });
3954
2237
  case 'boolean':
3955
2238
  return /*#__PURE__*/React.createElement("div", {
3956
- className: styles$h.booleanButtons
2239
+ className: styles$g.booleanButtons
3957
2240
  }, /*#__PURE__*/React.createElement("button", {
3958
- className: cn(styles$h.booleanButton, currentValue.staticValue === true ? styles$h.booleanButtonActive : ''),
2241
+ className: cn(styles$g.booleanButton, currentValue.staticValue === true ? styles$g.booleanButtonActive : ''),
3959
2242
  onClick: () => handleStaticValueChange(true),
3960
2243
  type: "button"
3961
2244
  }, "True"), /*#__PURE__*/React.createElement("button", {
3962
- className: cn(styles$h.booleanButton, currentValue.staticValue === false ? styles$h.booleanButtonActive : ''),
2245
+ className: cn(styles$g.booleanButton, currentValue.staticValue === false ? styles$g.booleanButtonActive : ''),
3963
2246
  onClick: () => handleStaticValueChange(false),
3964
2247
  type: "button"
3965
2248
  }, "False"));
3966
2249
  case 'array':
3967
2250
  case 'object':
3968
2251
  return /*#__PURE__*/React.createElement("textarea", {
3969
- className: styles$h.textarea,
2252
+ className: styles$g.textarea,
3970
2253
  onChange: e => {
3971
2254
  try {
3972
2255
  const parsed = JSON.parse(e.target.value);
@@ -3980,7 +2263,7 @@ const DataBindingSetter = props => {
3980
2263
  });
3981
2264
  default:
3982
2265
  return /*#__PURE__*/React.createElement("input", {
3983
- className: styles$h.input,
2266
+ className: styles$g.input,
3984
2267
  onChange: e => handleStaticValueChange(e.target.value),
3985
2268
  placeholder: "\u8F93\u5165\u503C",
3986
2269
  type: "text",
@@ -3995,94 +2278,96 @@ const DataBindingSetter = props => {
3995
2278
  const ds = dataSources.find(d => d.id === currentValue.datasourceId);
3996
2279
  return {
3997
2280
  icon: /*#__PURE__*/React.createElement(Link2, {
3998
- className: cn(styles$h.triggerIcon, styles$h.triggerIconPrimary)
2281
+ className: cn(styles$g.triggerIcon, styles$g.triggerIconPrimary)
3999
2282
  }),
4000
2283
  text: `${ds?.name ?? currentValue.datasourceId}${currentValue.datasourcePath ? `.${currentValue.datasourcePath}` : ''}`
4001
2284
  };
4002
2285
  }
4003
2286
  return {
4004
2287
  icon: /*#__PURE__*/React.createElement(FileBraces, {
4005
- className: cn(styles$h.triggerIcon, styles$h.triggerIconMuted)
2288
+ className: cn(styles$g.triggerIcon, styles$g.triggerIconMuted)
4006
2289
  }),
4007
2290
  text: '静态数据'
4008
2291
  };
4009
2292
  }, [currentValue, dataSources]);
4010
- return /*#__PURE__*/React.createElement("div", {
4011
- className: styles$h.container,
4012
- ref: containerRef
4013
- }, /*#__PURE__*/React.createElement("button", {
4014
- "aria-label": "Data binding",
4015
- className: styles$h.trigger,
4016
- onClick: () => setOpen(!open),
4017
- type: "button"
4018
- }, bindingStatus.icon, /*#__PURE__*/React.createElement("span", {
4019
- className: styles$h.triggerText
4020
- }, bindingStatus.text)), /*#__PURE__*/React.createElement("div", {
4021
- className: cn(styles$h.popover, open === false ? styles$h.popoverHidden : '')
2293
+ return /*#__PURE__*/React.createElement(Popover, {
2294
+ onClose: () => setOpen(false),
2295
+ open: open,
2296
+ trigger: /*#__PURE__*/React.createElement("button", {
2297
+ "aria-label": "Data binding",
2298
+ className: styles$g.trigger,
2299
+ onClick: () => setOpen(true),
2300
+ type: "button"
2301
+ }, bindingStatus.icon, /*#__PURE__*/React.createElement("span", {
2302
+ className: styles$g.triggerText
2303
+ }, bindingStatus.text)),
2304
+ width: 300
4022
2305
  }, /*#__PURE__*/React.createElement("div", {
4023
- className: styles$h.tabsList,
2306
+ className: styles$g.popoverContent
2307
+ }, /*#__PURE__*/React.createElement("div", {
2308
+ className: styles$g.tabsList,
4024
2309
  role: "tablist"
4025
2310
  }, /*#__PURE__*/React.createElement("button", {
4026
2311
  "aria-selected": activeTab === 'static',
4027
- className: cn(styles$h.tabTrigger, activeTab === 'static' ? styles$h.tabTriggerActive : ''),
2312
+ className: cn(styles$g.tabTrigger, activeTab === 'static' ? styles$g.tabTriggerActive : ''),
4028
2313
  onClick: () => handleTypeChange('static'),
4029
2314
  role: "tab",
4030
2315
  type: "button"
4031
2316
  }, /*#__PURE__*/React.createElement(FileBraces, {
4032
- className: styles$h.tabTriggerIcon
2317
+ className: styles$g.tabTriggerIcon
4033
2318
  }), "\u9759\u6001\u6570\u636E"), /*#__PURE__*/React.createElement("button", {
4034
2319
  "aria-selected": activeTab === 'datasource',
4035
- className: cn(styles$h.tabTrigger, activeTab === 'datasource' ? styles$h.tabTriggerActive : ''),
2320
+ className: cn(styles$g.tabTrigger, activeTab === 'datasource' ? styles$g.tabTriggerActive : ''),
4036
2321
  onClick: () => handleTypeChange('datasource'),
4037
2322
  role: "tab",
4038
2323
  type: "button"
4039
2324
  }, /*#__PURE__*/React.createElement(Database, {
4040
- className: styles$h.tabTriggerIcon
2325
+ className: styles$g.tabTriggerIcon
4041
2326
  }), "\u6570\u636E\u6E90")), /*#__PURE__*/React.createElement("div", {
4042
- className: cn(styles$h.tabContent, activeTab === 'static' ? styles$h.tabContentActive : ''),
2327
+ className: cn(styles$g.tabContent, activeTab === 'static' ? styles$g.tabContentActive : ''),
4043
2328
  role: "tabpanel"
4044
2329
  }, /*#__PURE__*/React.createElement("div", {
4045
- className: styles$h.section
2330
+ className: styles$g.section
4046
2331
  }, /*#__PURE__*/React.createElement("span", {
4047
- className: styles$h.sectionLabel
2332
+ className: styles$g.sectionLabel
4048
2333
  }, "\u503C (", dataType, ")"), renderStaticInput)), /*#__PURE__*/React.createElement("div", {
4049
- className: cn(styles$h.tabContent, activeTab === 'datasource' ? styles$h.tabContentActive : ''),
2334
+ className: cn(styles$g.tabContent, activeTab === 'datasource' ? styles$g.tabContentActive : ''),
4050
2335
  role: "tabpanel"
4051
2336
  }, /*#__PURE__*/React.createElement("div", {
4052
- className: styles$h.section
2337
+ className: styles$g.section
4053
2338
  }, /*#__PURE__*/React.createElement("span", {
4054
- className: styles$h.sectionLabel
2339
+ className: styles$g.sectionLabel
4055
2340
  }, "\u6570\u636E\u6E90"), dataSources.length > 0 ? /*#__PURE__*/React.createElement("div", {
4056
- className: styles$h.datasourceList
2341
+ className: styles$g.datasourceList
4057
2342
  }, dataSources.map(ds => /*#__PURE__*/React.createElement("button", {
4058
- className: cn(styles$h.datasourceButton, currentValue.datasourceId === ds.id ? styles$h.datasourceButtonActive : ''),
2343
+ className: cn(styles$g.datasourceButton, currentValue.datasourceId === ds.id ? styles$g.datasourceButtonActive : ''),
4059
2344
  key: ds.id,
4060
2345
  onClick: () => handleDatasourceChange(ds.id),
4061
2346
  type: "button"
4062
2347
  }, /*#__PURE__*/React.createElement(Database, {
4063
- className: styles$h.datasourceIcon
2348
+ className: styles$g.datasourceIcon
4064
2349
  }), ds.name))) : /*#__PURE__*/React.createElement("div", {
4065
- className: styles$h.emptyState
2350
+ className: styles$g.emptyState
4066
2351
  }, "\u6682\u65E0\u53EF\u7528\u6570\u636E\u6E90"), currentValue.datasourceId ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
4067
- className: styles$h.sectionLabel
2352
+ className: styles$g.sectionLabel
4068
2353
  }, "\u6570\u636E\u8DEF\u5F84"), /*#__PURE__*/React.createElement("input", {
4069
- className: cn(styles$h.input, styles$h.inputMono),
2354
+ className: cn(styles$g.input, styles$g.inputMono),
4070
2355
  onChange: e => handlePathChange(e.target.value),
4071
2356
  placeholder: "data.list[0].name",
4072
2357
  type: "text",
4073
2358
  value: currentValue.datasourcePath ?? ''
4074
2359
  }), /*#__PURE__*/React.createElement("span", {
4075
- className: styles$h.hint
2360
+ className: styles$g.hint
4076
2361
  }, "\u4F7F\u7528\u70B9\u53F7\u8BBF\u95EE\u5D4C\u5957\u5C5E\u6027\uFF0C\u5982: data.items[0].value")) : null, showPreview === true && currentValue.datasourceId ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
4077
- className: styles$h.sectionLabel
2362
+ className: styles$g.sectionLabel
4078
2363
  }, "\u6570\u636E\u9884\u89C8"), /*#__PURE__*/React.createElement("div", {
4079
- className: styles$h.preview
2364
+ className: styles$g.preview
4080
2365
  }, "\u7ED1\u5B9A\u540E\u53EF\u5728\u9884\u89C8\u6A21\u5F0F\u67E5\u770B\u6570\u636E")) : null))));
4081
2366
  };
4082
2367
 
4083
- var styles$g = {"container":"es-container-4VZqD","trigger":"es-trigger-rmYLl","triggerIcon":"es-triggerIcon-ktlTS","triggerText":"es-triggerText-B63By","popover":"es-popover-d9HQQ","popoverHidden":"es-popoverHidden-fDKLq","content":"es-content-3MmL0","header":"es-header-VoKF3","headerTitle":"es-headerTitle-vDZR8","headerCount":"es-headerCount-stTlN","mappingList":"es-mappingList-SLqhN","mappingItem":"es-mappingItem-xtRLl","mappingHeader":"es-mappingHeader-LwKiY","mappingTitle":"es-mappingTitle-IMhzw","mappingRequired":"es-mappingRequired-tP6L-","mappingType":"es-mappingType-nyqrh","mappingRow":"es-mappingRow-lFfhT","select":"es-select-R4pIl","input":"es-input--LohJ","arrowIcon":"es-arrowIcon-QqWMM","targetField":"es-targetField-gSvGk","transformRow":"es-transformRow-O6MAG","transformIcon":"es-transformIcon-beXzy","transformInput":"es-transformInput-SyN2q","clearButton":"es-clearButton-Pm-uP","helpText":"es-helpText-IHqjo"};
2368
+ var styles$f = {"trigger":"es-trigger-rmYLl","triggerIcon":"es-triggerIcon-ktlTS","triggerText":"es-triggerText-B63By","popoverContent":"es-popoverContent-IIcFY","header":"es-header-VoKF3","headerTitle":"es-headerTitle-vDZR8","headerCount":"es-headerCount-stTlN","mappingList":"es-mappingList-SLqhN","mappingItem":"es-mappingItem-xtRLl","mappingHeader":"es-mappingHeader-LwKiY","mappingTitle":"es-mappingTitle-IMhzw","mappingRequired":"es-mappingRequired-tP6L-","mappingType":"es-mappingType-nyqrh","mappingRow":"es-mappingRow-lFfhT","select":"es-select-R4pIl","input":"es-input--LohJ","arrowIcon":"es-arrowIcon-QqWMM","targetField":"es-targetField-gSvGk","transformRow":"es-transformRow-O6MAG","transformIcon":"es-transformIcon-beXzy","transformInput":"es-transformInput-SyN2q","clearButton":"es-clearButton-Pm-uP","helpText":"es-helpText-IHqjo"};
4084
2369
 
4085
- const defaultValue$2 = {
2370
+ const defaultValue$1 = {
4086
2371
  mappings: []
4087
2372
  };
4088
2373
  const DataMappingSetter = props => {
@@ -4093,22 +2378,8 @@ const DataMappingSetter = props => {
4093
2378
  targetFields,
4094
2379
  sourceFields = []
4095
2380
  } = props;
4096
- const currentValue = value ?? initialValue ?? defaultValue$2;
2381
+ const currentValue = value ?? initialValue ?? defaultValue$1;
4097
2382
  const [open, setOpen] = useState(false);
4098
- const containerRef = useRef(null);
4099
- useEffect(() => {
4100
- const handleClickOutside = event => {
4101
- if (containerRef.current && !containerRef.current.contains(event.target)) {
4102
- setOpen(false);
4103
- }
4104
- };
4105
- if (open) {
4106
- document.addEventListener('mousedown', handleClickOutside);
4107
- }
4108
- return () => {
4109
- document.removeEventListener('mousedown', handleClickOutside);
4110
- };
4111
- }, [open]);
4112
2383
 
4113
2384
  // 获取字段的映射
4114
2385
  const getMapping = useCallback(targetField => currentValue.mappings.find(m => m.targetField === targetField), [currentValue.mappings]);
@@ -4144,47 +2415,47 @@ const DataMappingSetter = props => {
4144
2415
 
4145
2416
  // 统计已映射字段数
4146
2417
  const mappedCount = currentValue.mappings.filter(m => m.sourceField).length;
4147
- return /*#__PURE__*/React.createElement("div", {
4148
- className: styles$g.container,
4149
- ref: containerRef
4150
- }, /*#__PURE__*/React.createElement("button", {
4151
- "aria-label": "Data mapping",
4152
- className: styles$g.trigger,
4153
- onClick: () => setOpen(!open),
4154
- type: "button"
4155
- }, /*#__PURE__*/React.createElement(Settings2, {
4156
- className: styles$g.triggerIcon
4157
- }), /*#__PURE__*/React.createElement("span", {
4158
- className: styles$g.triggerText
4159
- }, "\u5B57\u6BB5\u6620\u5C04 (", mappedCount, "/", targetFields.length, ")")), /*#__PURE__*/React.createElement("div", {
4160
- className: cn(styles$g.popover, open === false ? styles$g.popoverHidden : '')
2418
+ return /*#__PURE__*/React.createElement(Popover, {
2419
+ onClose: () => setOpen(false),
2420
+ open: open,
2421
+ trigger: /*#__PURE__*/React.createElement("button", {
2422
+ "aria-label": "Data mapping",
2423
+ className: styles$f.trigger,
2424
+ onClick: () => setOpen(true),
2425
+ type: "button"
2426
+ }, /*#__PURE__*/React.createElement(Settings2, {
2427
+ className: styles$f.triggerIcon
2428
+ }), /*#__PURE__*/React.createElement("span", {
2429
+ className: styles$f.triggerText
2430
+ }, "\u5B57\u6BB5\u6620\u5C04 (", mappedCount, "/", targetFields.length, ")")),
2431
+ width: 320
4161
2432
  }, /*#__PURE__*/React.createElement("div", {
4162
- className: styles$g.content
2433
+ className: styles$f.popoverContent
4163
2434
  }, /*#__PURE__*/React.createElement("div", {
4164
- className: styles$g.header
2435
+ className: styles$f.header
4165
2436
  }, /*#__PURE__*/React.createElement("span", {
4166
- className: styles$g.headerTitle
2437
+ className: styles$f.headerTitle
4167
2438
  }, "\u5B57\u6BB5\u6620\u5C04\u914D\u7F6E"), /*#__PURE__*/React.createElement("span", {
4168
- className: styles$g.headerCount
2439
+ className: styles$f.headerCount
4169
2440
  }, mappedCount, "/", targetFields.length, " \u5DF2\u6620\u5C04")), /*#__PURE__*/React.createElement("div", {
4170
- className: styles$g.mappingList
2441
+ className: styles$f.mappingList
4171
2442
  }, targetFields.map(field => {
4172
2443
  const mapping = getMapping(field.name);
4173
2444
  return /*#__PURE__*/React.createElement("div", {
4174
- className: styles$g.mappingItem,
2445
+ className: styles$f.mappingItem,
4175
2446
  key: field.name
4176
2447
  }, /*#__PURE__*/React.createElement("div", {
4177
- className: styles$g.mappingHeader
2448
+ className: styles$f.mappingHeader
4178
2449
  }, /*#__PURE__*/React.createElement("span", {
4179
- className: styles$g.mappingTitle
2450
+ className: styles$f.mappingTitle
4180
2451
  }, field.label, field.required ? /*#__PURE__*/React.createElement("span", {
4181
- className: styles$g.mappingRequired
2452
+ className: styles$f.mappingRequired
4182
2453
  }, "*") : null), /*#__PURE__*/React.createElement("span", {
4183
- className: styles$g.mappingType
2454
+ className: styles$f.mappingType
4184
2455
  }, field.type)), /*#__PURE__*/React.createElement("div", {
4185
- className: styles$g.mappingRow
2456
+ className: styles$f.mappingRow
4186
2457
  }, sourceFields.length > 0 ? /*#__PURE__*/React.createElement("select", {
4187
- className: styles$g.select,
2458
+ className: styles$f.select,
4188
2459
  onChange: e => updateMapping(field.name, {
4189
2460
  sourceField: e.target.value
4190
2461
  }),
@@ -4195,7 +2466,7 @@ const DataMappingSetter = props => {
4195
2466
  key: sf,
4196
2467
  value: sf
4197
2468
  }, sf))) : /*#__PURE__*/React.createElement("input", {
4198
- className: styles$g.input,
2469
+ className: styles$f.input,
4199
2470
  onChange: e => updateMapping(field.name, {
4200
2471
  sourceField: e.target.value
4201
2472
  }),
@@ -4203,15 +2474,15 @@ const DataMappingSetter = props => {
4203
2474
  type: "text",
4204
2475
  value: mapping?.sourceField ?? ''
4205
2476
  }), /*#__PURE__*/React.createElement(ArrowRight, {
4206
- className: styles$g.arrowIcon
2477
+ className: styles$f.arrowIcon
4207
2478
  }), /*#__PURE__*/React.createElement("div", {
4208
- className: styles$g.targetField
2479
+ className: styles$f.targetField
4209
2480
  }, field.name)), mapping?.sourceField ? /*#__PURE__*/React.createElement("div", {
4210
- className: styles$g.transformRow
2481
+ className: styles$f.transformRow
4211
2482
  }, /*#__PURE__*/React.createElement(Code, {
4212
- className: styles$g.transformIcon
2483
+ className: styles$f.transformIcon
4213
2484
  }), /*#__PURE__*/React.createElement("input", {
4214
- className: styles$g.transformInput,
2485
+ className: styles$f.transformInput,
4215
2486
  onChange: e => updateMapping(field.name, {
4216
2487
  transform: e.target.value
4217
2488
  }),
@@ -4219,236 +2490,13 @@ const DataMappingSetter = props => {
4219
2490
  type: "text",
4220
2491
  value: mapping?.transform ?? ''
4221
2492
  })) : null, mapping?.sourceField ? /*#__PURE__*/React.createElement("button", {
4222
- className: styles$g.clearButton,
2493
+ className: styles$f.clearButton,
4223
2494
  onClick: () => clearMapping(field.name),
4224
2495
  type: "button"
4225
2496
  }, "\u6E05\u9664\u6620\u5C04") : null);
4226
2497
  })), /*#__PURE__*/React.createElement("div", {
4227
- className: styles$g.helpText
4228
- }, /*#__PURE__*/React.createElement("p", null, "\u2022 \u6E90\u5B57\u6BB5: \u6570\u636E\u6E90\u4E2D\u7684\u5B57\u6BB5\u8DEF\u5F84"), /*#__PURE__*/React.createElement("p", null, "\u2022 \u8F6C\u6362\u8868\u8FBE\u5F0F: \u5982 value * 100, value.toFixed(2)")))));
4229
- };
4230
-
4231
- var styles$f = {"container":"es-container-pcCYY","trigger":"es-trigger-IjziC","triggerIcon":"es-triggerIcon-t21hp","triggerText":"es-triggerText-WQ-5H","popover":"es-popover-h2Vn-","popoverHidden":"es-popoverHidden-EiA3W","searchWrapper":"es-searchWrapper-jUGP6","searchIcon":"es-searchIcon-Qu4Cl","searchInput":"es-searchInput-YUlsM","section":"es-section-mWvKy","sectionTitle":"es-sectionTitle-4m6ZV","iconGrid":"es-iconGrid-hvHqv","iconButton":"es-iconButton-3y2jO","iconButtonSelected":"es-iconButtonSelected-01Ozi","iconButtonIcon":"es-iconButtonIcon-ur-nS","emptyMessage":"es-emptyMessage-dWKQh"};
4232
-
4233
- // 图标映射表
4234
- const iconMap = {
4235
- Activity,
4236
- AlertCircle: CircleAlert,
4237
- AlertTriangle: TriangleAlert,
4238
- ArrowDown,
4239
- ArrowLeft,
4240
- ArrowRight,
4241
- ArrowUp,
4242
- BarChart: ChartNoAxesColumnIncreasing,
4243
- BarChart2: ChartNoAxesColumn,
4244
- Bell,
4245
- Calendar,
4246
- Check,
4247
- CheckCircle: CircleCheckBig,
4248
- ChevronDown,
4249
- ChevronLeft,
4250
- ChevronRight,
4251
- ChevronUp,
4252
- Circle,
4253
- Clock,
4254
- Cloud,
4255
- Code,
4256
- Copy,
4257
- Database,
4258
- Download,
4259
- Edit: SquarePen,
4260
- Eye,
4261
- EyeOff,
4262
- File,
4263
- FileText,
4264
- Filter: Funnel,
4265
- Folder,
4266
- Globe,
4267
- Grid: Grid3x3,
4268
- Heart,
4269
- Home: House,
4270
- Image: Image$1,
4271
- Info,
4272
- Layers,
4273
- Layout: PanelsTopLeft,
4274
- Link,
4275
- List,
4276
- Loader,
4277
- Lock,
4278
- LogOut,
4279
- Mail,
4280
- Map: Map,
4281
- MapPin,
4282
- Menu,
4283
- MessageCircle,
4284
- Minus,
4285
- Monitor,
4286
- Moon,
4287
- MoreHorizontal: Ellipsis,
4288
- MoreVertical: EllipsisVertical,
4289
- Move,
4290
- Music,
4291
- Package,
4292
- Pause,
4293
- PieChart: ChartPie,
4294
- Play,
4295
- Plus,
4296
- Power,
4297
- Printer,
4298
- RefreshCw,
4299
- Save,
4300
- Search,
4301
- Send,
4302
- Server,
4303
- Settings,
4304
- Share,
4305
- Shield,
4306
- ShoppingCart,
4307
- Sidebar: PanelLeft,
4308
- Sliders: SlidersVertical,
4309
- Smartphone,
4310
- Square,
4311
- Star,
4312
- Sun,
4313
- Table,
4314
- Tag,
4315
- Target,
4316
- Terminal,
4317
- ThumbsUp,
4318
- Trash,
4319
- TrendingDown,
4320
- TrendingUp,
4321
- Triangle,
4322
- Truck,
4323
- Tv,
4324
- Type,
4325
- Unlock: LockOpen,
4326
- Upload,
4327
- User,
4328
- Users,
4329
- Video,
4330
- Wifi,
4331
- X,
4332
- XCircle: CircleX,
4333
- Zap,
4334
- ZoomIn,
4335
- ZoomOut
4336
- };
4337
-
4338
- // 常用图标列表
4339
- const commonIcons = Object.keys(iconMap);
4340
- const defaultValue$1 = {
4341
- name: 'Circle'
4342
- };
4343
- const IconSetter = props => {
4344
- const {
4345
- value,
4346
- initialValue,
4347
- onChange,
4348
- recent = true
4349
- } = props;
4350
- const currentValue = value ?? initialValue ?? defaultValue$1;
4351
- const [open, setOpen] = useState(false);
4352
- const [searchQuery, setSearchQuery] = useState('');
4353
- const [recentIcons, setRecentIcons] = useState([]);
4354
- const containerRef = useRef(null);
4355
- useEffect(() => {
4356
- const handleClickOutside = event => {
4357
- if (containerRef.current && !containerRef.current.contains(event.target)) {
4358
- setOpen(false);
4359
- }
4360
- };
4361
- if (open) {
4362
- document.addEventListener('mousedown', handleClickOutside);
4363
- }
4364
- return () => {
4365
- document.removeEventListener('mousedown', handleClickOutside);
4366
- };
4367
- }, [open]);
4368
-
4369
- // 获取图标组件
4370
- const getIconComponent = useCallback(iconName => iconMap[iconName] || Circle, []);
4371
-
4372
- // 过滤图标
4373
- const filteredIcons = useMemo(() => {
4374
- if (!searchQuery) {
4375
- return commonIcons;
4376
- }
4377
- const query = searchQuery.toLowerCase();
4378
- return commonIcons.filter(icon => icon.toLowerCase().includes(query));
4379
- }, [searchQuery]);
4380
-
4381
- // 选择图标
4382
- const handleSelectIcon = useCallback(iconName => {
4383
- onChange({
4384
- name: iconName
4385
- });
4386
- setRecentIcons(prev => {
4387
- const newRecent = [iconName, ...prev.filter(i => i !== iconName)].slice(0, 8);
4388
- return newRecent;
4389
- });
4390
- setOpen(false);
4391
- }, [onChange]);
4392
- const CurrentIcon = getIconComponent(currentValue.name);
4393
- return /*#__PURE__*/React.createElement("div", {
4394
- className: styles$f.container,
4395
- ref: containerRef
4396
- }, /*#__PURE__*/React.createElement("button", {
4397
- "aria-label": "Select icon",
4398
- className: styles$f.trigger,
4399
- onClick: () => setOpen(!open),
4400
- type: "button"
4401
- }, /*#__PURE__*/React.createElement(CurrentIcon, {
4402
- className: styles$f.triggerIcon
4403
- }), /*#__PURE__*/React.createElement("span", {
4404
- className: styles$f.triggerText
4405
- }, currentValue.name)), /*#__PURE__*/React.createElement("div", {
4406
- className: cn(styles$f.popover, open === false ? styles$f.popoverHidden : '')
4407
- }, /*#__PURE__*/React.createElement("div", {
4408
- className: styles$f.searchWrapper
4409
- }, /*#__PURE__*/React.createElement(Search, {
4410
- className: styles$f.searchIcon
4411
- }), /*#__PURE__*/React.createElement("input", {
4412
- className: styles$f.searchInput,
4413
- onChange: e => setSearchQuery(e.target.value),
4414
- placeholder: "\u641C\u7D22\u56FE\u6807...",
4415
- type: "text",
4416
- value: searchQuery
4417
- })), recent === true && recentIcons.length > 0 && searchQuery === '' ? /*#__PURE__*/React.createElement("div", {
4418
- className: styles$f.section
4419
- }, /*#__PURE__*/React.createElement("div", {
4420
- className: styles$f.sectionTitle
4421
- }, "\u6700\u8FD1\u4F7F\u7528"), /*#__PURE__*/React.createElement("div", {
4422
- className: styles$f.iconGrid
4423
- }, recentIcons.map(iconName => {
4424
- const Icon = getIconComponent(iconName);
4425
- return /*#__PURE__*/React.createElement("button", {
4426
- "aria-label": iconName,
4427
- className: cn(styles$f.iconButton, currentValue.name === iconName ? styles$f.iconButtonSelected : ''),
4428
- key: iconName,
4429
- onClick: () => handleSelectIcon(iconName),
4430
- title: iconName,
4431
- type: "button"
4432
- }, /*#__PURE__*/React.createElement(Icon, {
4433
- className: styles$f.iconButtonIcon
4434
- }));
4435
- }))) : null, /*#__PURE__*/React.createElement("div", {
4436
- className: styles$f.iconGrid
4437
- }, filteredIcons.map(iconName => {
4438
- const Icon = getIconComponent(iconName);
4439
- return /*#__PURE__*/React.createElement("button", {
4440
- "aria-label": iconName,
4441
- className: cn(styles$f.iconButton, currentValue.name === iconName ? styles$f.iconButtonSelected : ''),
4442
- key: iconName,
4443
- onClick: () => handleSelectIcon(iconName),
4444
- title: iconName,
4445
- type: "button"
4446
- }, /*#__PURE__*/React.createElement(Icon, {
4447
- className: styles$f.iconButtonIcon
4448
- }));
4449
- })), filteredIcons.length === 0 ? /*#__PURE__*/React.createElement("div", {
4450
- className: styles$f.emptyMessage
4451
- }, "\u672A\u627E\u5230\u5339\u914D\u7684\u56FE\u6807") : null));
2498
+ className: styles$f.helpText
2499
+ }, /*#__PURE__*/React.createElement("p", null, "\u2022 \u6E90\u5B57\u6BB5: \u6570\u636E\u6E90\u4E2D\u7684\u5B57\u6BB5\u8DEF\u5F84"), /*#__PURE__*/React.createElement("p", null, "\u2022 \u8F6C\u6362\u8868\u8FBE\u5F0F: \u5982 value * 100, value.toFixed(2)"))));
4452
2500
  };
4453
2501
 
4454
2502
  var styles$e = {"container":"es-container-CUmyq","textarea":"es-textarea-hn1hD","textareaError":"es-textareaError-O2GWs","error":"es-error-wjKcS"};
@@ -4731,7 +2779,7 @@ const SegmentedSetter = props => {
4731
2779
  }, option.label)));
4732
2780
  };
4733
2781
 
4734
- var styles$8 = {"container":"es-container-HI7-c","trigger":"es-trigger-YRz9p","triggerValue":"es-triggerValue-k-g2-","placeholder":"es-placeholder-F8-XP","chevron":"es-chevron-UbZv-","chevronOpen":"es-chevronOpen-Yui-r","dropdown":"es-dropdown-l2sra","dropdownHidden":"es-dropdownHidden-S8Y4U","option":"es-option-cv-7C","optionSelected":"es-optionSelected-K4e5h","optionDisabled":"es-optionDisabled-72jrC"};
2782
+ var styles$8 = {"trigger":"es-trigger-YRz9p","triggerValue":"es-triggerValue-k-g2-","placeholder":"es-placeholder-F8-XP","chevron":"es-chevron-UbZv-","chevronOpen":"es-chevronOpen-Yui-r","dropdown":"es-dropdown-l2sra","option":"es-option-cv-7C","optionSelected":"es-optionSelected-K4e5h","optionDisabled":"es-optionDisabled-72jrC"};
4735
2783
 
4736
2784
  const SelectSetter = props => {
4737
2785
  const {
@@ -4742,22 +2790,8 @@ const SelectSetter = props => {
4742
2790
  onChange
4743
2791
  } = props;
4744
2792
  const [open, setOpen] = useState(false);
4745
- const containerRef = useRef(null);
4746
2793
  const currentValue = value ?? initialValue ?? '';
4747
2794
  const selectedOption = options.find(opt => opt.value === currentValue);
4748
- useEffect(() => {
4749
- const handleClickOutside = event => {
4750
- if (containerRef.current && !containerRef.current.contains(event.target)) {
4751
- setOpen(false);
4752
- }
4753
- };
4754
- if (open) {
4755
- document.addEventListener('mousedown', handleClickOutside);
4756
- }
4757
- return () => {
4758
- document.removeEventListener('mousedown', handleClickOutside);
4759
- };
4760
- }, [open]);
4761
2795
  const handleSelect = (optionValue, disabled) => {
4762
2796
  if (disabled) {
4763
2797
  return;
@@ -4765,21 +2799,22 @@ const SelectSetter = props => {
4765
2799
  onChange(optionValue);
4766
2800
  setOpen(false);
4767
2801
  };
4768
- return /*#__PURE__*/React.createElement("div", {
4769
- className: styles$8.container,
4770
- ref: containerRef
4771
- }, /*#__PURE__*/React.createElement("button", {
4772
- "aria-expanded": open,
4773
- "aria-haspopup": "listbox",
4774
- className: styles$8.trigger,
4775
- onClick: () => setOpen(!open),
4776
- type: "button"
4777
- }, /*#__PURE__*/React.createElement("span", {
4778
- className: cn(styles$8.triggerValue, selectedOption ? '' : styles$8.placeholder)
4779
- }, selectedOption?.label || placeholder || '请选择'), /*#__PURE__*/React.createElement(ChevronDown, {
4780
- className: cn(styles$8.chevron, open ? styles$8.chevronOpen : '')
4781
- })), /*#__PURE__*/React.createElement("div", {
4782
- className: cn(styles$8.dropdown, open === false ? styles$8.dropdownHidden : ''),
2802
+ return /*#__PURE__*/React.createElement(Popover, {
2803
+ onClose: () => setOpen(false),
2804
+ open: open,
2805
+ trigger: /*#__PURE__*/React.createElement("button", {
2806
+ "aria-expanded": open,
2807
+ "aria-haspopup": "listbox",
2808
+ className: styles$8.trigger,
2809
+ onClick: () => setOpen(true),
2810
+ type: "button"
2811
+ }, /*#__PURE__*/React.createElement("span", {
2812
+ className: cn(styles$8.triggerValue, selectedOption ? '' : styles$8.placeholder)
2813
+ }, selectedOption?.label || placeholder || '请选择'), /*#__PURE__*/React.createElement(ChevronDown, {
2814
+ className: cn(styles$8.chevron, open ? styles$8.chevronOpen : '')
2815
+ }))
2816
+ }, /*#__PURE__*/React.createElement("div", {
2817
+ className: styles$8.dropdown,
4783
2818
  role: "listbox"
4784
2819
  }, options.map(option => /*#__PURE__*/React.createElement("button", {
4785
2820
  "aria-selected": option.value === currentValue,
@@ -5272,7 +3307,6 @@ const setterMap = {
5272
3307
  TabSetter,
5273
3308
  SpacingSetter,
5274
3309
  AlignSetter,
5275
- IconSetter,
5276
3310
  DataBindingSetter,
5277
3311
  DataMappingSetter,
5278
3312
  SelectSetter,
@@ -5283,5 +3317,5 @@ const setterMap = {
5283
3317
  ObjectSetter
5284
3318
  };
5285
3319
 
5286
- export { AlignSetter, ArraySetter, CollapseSetter, ColorSetter, DataBindingSetter, DataMappingSetter, IconSetter, JsonSetter, NodeIdSetter, NumberSetter, ObjectSetter, RectSetter, SegmentedSetter, SelectSetter, SliderSetter, SpacingSetter, StringSetter, SwitchSetter, TabSetter, TextAreaSetter, UploadSetter, setterMap as default, setterMap };
3320
+ export { AlignSetter, ArraySetter, CollapseSetter, ColorSetter, DataBindingSetter, DataMappingSetter, JsonSetter, NodeIdSetter, NumberSetter, ObjectSetter, Popover, RectSetter, SegmentedSetter, SelectSetter, SliderSetter, SpacingSetter, StringSetter, SwitchSetter, TabSetter, TextAreaSetter, UploadSetter, setterMap as default, setterMap };
5287
3321
  //# sourceMappingURL=index.esm.js.map