@cronocode/react-box 3.1.3 → 3.1.7
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/BOX_AI_CONTEXT.md +576 -0
- package/components/dataGrid/components/dataGridColumnFilter.d.ts +11 -0
- package/components/dataGrid/components/dataGridEmptyColumns.d.ts +1 -0
- package/components/dataGrid/components/dataGridFilterCell.d.ts +8 -0
- package/components/dataGrid/components/dataGridFilterRow.d.ts +6 -0
- package/components/dataGrid/components/dataGridGlobalFilter.d.ts +6 -0
- package/components/dataGrid/contracts/dataGridContract.d.ts +68 -0
- package/components/dataGrid/models/columnModel.d.ts +11 -0
- package/components/dataGrid/models/gridModel.d.ts +59 -2
- package/components/dataGrid.cjs +1 -1
- package/components/dataGrid.mjs +891 -314
- package/components/dropdown.cjs +1 -1
- package/components/dropdown.d.ts +4 -1
- package/components/dropdown.mjs +156 -147
- package/components/form.mjs +1 -1
- package/components/semantics.d.ts +25 -25
- package/components/semantics.mjs +5 -5
- package/components/textbox.cjs +1 -1
- package/components/textbox.d.ts +2 -2
- package/components/textbox.mjs +5 -4
- package/components/tooltip.cjs +1 -1
- package/components/tooltip.d.ts +4 -0
- package/components/tooltip.mjs +45 -41
- package/core/boxStyles.d.ts +65 -31
- package/core/extends/boxComponents.d.ts +660 -159
- package/core/variables.d.ts +25 -1
- package/core.cjs +3 -7
- package/core.mjs +1399 -693
- package/hooks/useVirtualization.d.ts +43 -0
- package/package.json +8 -5
- package/ssg.cjs +1 -1
- package/ssg.mjs +28 -20
- package/types.d.ts +5 -4
- package/utils/string/fuzzySearch.d.ts +27 -0
package/core.mjs
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import we, { useContext as xe, useState as de, useLayoutEffect as ae, useMemo as le, useEffect as ge, useRef as Fe } from "react";
|
|
2
|
+
import { jsx as z } from "react/jsx-runtime";
|
|
3
|
+
import T from "./components/baseSvg.mjs";
|
|
3
4
|
import Ne from "./box.mjs";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}), t) : t, []);
|
|
5
|
+
function fe(...e) {
|
|
6
|
+
return e.reduce((r, l) => l ? typeof l == "string" ? (r.push(l), r) : Array.isArray(l) ? (r.push(...fe(...l)), r) : (Object.entries(l).forEach(([a, t]) => {
|
|
7
|
+
t && r.push(a);
|
|
8
|
+
}), r) : r, []);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
11
|
-
var
|
|
10
|
+
const X = 4;
|
|
11
|
+
var o;
|
|
12
12
|
((e) => {
|
|
13
|
-
((
|
|
14
|
-
function
|
|
15
|
-
return `${
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
return [`${
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
})(e.ClassName || (e.ClassName = {})), ((
|
|
23
|
-
function
|
|
24
|
-
return `${
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function
|
|
28
|
-
return `${
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function
|
|
32
|
-
const [
|
|
33
|
-
return `${+
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function n(
|
|
37
|
-
switch (
|
|
13
|
+
((r) => {
|
|
14
|
+
function l(t, n) {
|
|
15
|
+
return `${t}${n.replace("/", "-")}`;
|
|
16
|
+
}
|
|
17
|
+
r.fraction = l;
|
|
18
|
+
function a(t) {
|
|
19
|
+
return [`${t} path`, `${t} circle`, `${t} rect`, `${t} line`];
|
|
20
|
+
}
|
|
21
|
+
r.svg = a;
|
|
22
|
+
})(e.ClassName || (e.ClassName = {})), ((r) => {
|
|
23
|
+
function l(x, C, R = X) {
|
|
24
|
+
return `${x / R}rem`;
|
|
25
|
+
}
|
|
26
|
+
r.rem = l;
|
|
27
|
+
function a(x) {
|
|
28
|
+
return `${x}px`;
|
|
29
|
+
}
|
|
30
|
+
r.px = a;
|
|
31
|
+
function t(x) {
|
|
32
|
+
const [C, R] = x.split("/");
|
|
33
|
+
return `${+C / +R * 100}%`;
|
|
34
|
+
}
|
|
35
|
+
r.fraction = t;
|
|
36
|
+
function n(x, C) {
|
|
37
|
+
switch (C) {
|
|
38
38
|
case "fit":
|
|
39
39
|
return "100%";
|
|
40
40
|
case "fit-screen":
|
|
41
|
-
return
|
|
41
|
+
return x.toLocaleLowerCase().includes("height") ? "100vh" : "100vw";
|
|
42
42
|
default:
|
|
43
|
-
return
|
|
43
|
+
return C;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
function
|
|
48
|
-
return (
|
|
46
|
+
r.widthHeight = n;
|
|
47
|
+
function s(x) {
|
|
48
|
+
return (C, R) => `var(--${x}${R});`;
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
function
|
|
52
|
-
return (
|
|
50
|
+
r.variables = s;
|
|
51
|
+
function u(x) {
|
|
52
|
+
return (C, R) => `var(--${x}${R});`;
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
function
|
|
56
|
-
return `repeat(${
|
|
54
|
+
r.svgVariables = u;
|
|
55
|
+
function i(x, C) {
|
|
56
|
+
return `repeat(${C},minmax(0,1fr))`;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
function
|
|
60
|
-
return
|
|
58
|
+
r.gridColumns = i;
|
|
59
|
+
function m(x, C) {
|
|
60
|
+
return C === "full-row" ? "1/-1" : `span ${C}/span ${C}`;
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
function
|
|
64
|
-
return `${
|
|
62
|
+
r.gridColumn = m;
|
|
63
|
+
function f(x, C) {
|
|
64
|
+
return `${C}ms`;
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
function
|
|
68
|
-
return `${
|
|
66
|
+
r.ms = f;
|
|
67
|
+
function y(x, C) {
|
|
68
|
+
return `${C}deg`;
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return
|
|
70
|
+
r.rotate = y;
|
|
71
|
+
function k(x, C) {
|
|
72
|
+
return C === "xAxis" ? "-1 1" : "1 -1";
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
r.flip = k;
|
|
75
75
|
})(e.Value || (e.Value = {}));
|
|
76
|
-
})(
|
|
77
|
-
var
|
|
76
|
+
})(o || (o = {}));
|
|
77
|
+
var Y;
|
|
78
78
|
((e) => {
|
|
79
79
|
e.colors = {
|
|
80
80
|
currentColor: "currentColor",
|
|
@@ -328,7 +328,21 @@ var W;
|
|
|
328
328
|
"rose-800": "#9f1239",
|
|
329
329
|
"rose-900": "#881337",
|
|
330
330
|
"rose-950": "#4c0519"
|
|
331
|
-
}, e.
|
|
331
|
+
}, e.colorValues = Object.keys(e.colors), e.colorValues.push("none"), e.bgImages = {
|
|
332
|
+
"gradient-primary": "linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)",
|
|
333
|
+
"gradient-aurora-light": "radial-gradient(900px circle at 18% 18%, rgba(99, 102, 241, 0.12), transparent 46%), radial-gradient(780px circle at 82% 12%, rgba(14, 165, 233, 0.1), transparent 45%), radial-gradient(960px circle at 48% 78%, rgba(236, 72, 153, 0.08), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%)",
|
|
334
|
+
"gradient-aurora-dark": "radial-gradient(900px circle at 18% 18%, rgba(129, 140, 248, 0.16), transparent 46%), radial-gradient(820px circle at 82% 10%, rgba(45, 212, 191, 0.12), transparent 48%), radial-gradient(980px circle at 50% 80%, rgba(59, 130, 246, 0.12), transparent 55%), linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.9) 100%)",
|
|
335
|
+
"gradient-accent": "linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%)",
|
|
336
|
+
// checkbox/radio images
|
|
337
|
+
"bg-img-checked": `url("data:image/svg+xml,${encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' width='100%' viewBox='0 0 20 20'><path fill='none' stroke='#FFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 10l3 3l6-6'/></svg>")}")`,
|
|
338
|
+
"bg-img-indeterminate": `url("data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' width='100%' viewBox='0 0 20 20'><line stroke='${e.colors["violet-400"]}' x1='4' y1='10' x2='16' y2='10' stroke-width='1' /></svg>`)}")`,
|
|
339
|
+
"bg-img-radio": `url("data:image/svg+xml,${encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' width='100%' viewBox='0 0 20 20'><circle fill='#FFF' cx='10' cy='10' r='5'/></svg>")}")`
|
|
340
|
+
}, e.bgImageValues = Object.keys(e.bgImages), e.bgImageValues.push("none"), e.shadows = {
|
|
341
|
+
small: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
|
|
342
|
+
medium: "rgba(0, 0, 0, 0.24) 0px 3px 8px",
|
|
343
|
+
large: "rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px"
|
|
344
|
+
}, e.shadowValues = Object.keys(e.shadows), e.shadowValues.push("none"), e.percentages = [
|
|
345
|
+
"1/1",
|
|
332
346
|
"1/2",
|
|
333
347
|
"1/3",
|
|
334
348
|
"2/3",
|
|
@@ -355,32 +369,63 @@ var W;
|
|
|
355
369
|
"9/12",
|
|
356
370
|
"10/12",
|
|
357
371
|
"11/12"
|
|
372
|
+
], e.negativePercentages = [
|
|
373
|
+
"-1/1",
|
|
374
|
+
"-1/2",
|
|
375
|
+
"-1/3",
|
|
376
|
+
"-2/3",
|
|
377
|
+
"-1/4",
|
|
378
|
+
"-2/4",
|
|
379
|
+
"-3/4",
|
|
380
|
+
"-1/5",
|
|
381
|
+
"-2/5",
|
|
382
|
+
"-3/5",
|
|
383
|
+
"-4/5",
|
|
384
|
+
"-1/6",
|
|
385
|
+
"-2/6",
|
|
386
|
+
"-3/6",
|
|
387
|
+
"-4/6",
|
|
388
|
+
"-5/6",
|
|
389
|
+
"-1/12",
|
|
390
|
+
"-2/12",
|
|
391
|
+
"-3/12",
|
|
392
|
+
"-4/12",
|
|
393
|
+
"-5/12",
|
|
394
|
+
"-6/12",
|
|
395
|
+
"-7/12",
|
|
396
|
+
"-8/12",
|
|
397
|
+
"-9/12",
|
|
398
|
+
"-10/12",
|
|
399
|
+
"-11/12"
|
|
358
400
|
];
|
|
359
|
-
const
|
|
401
|
+
const l = { ...{
|
|
360
402
|
inherit: "inherit",
|
|
361
|
-
none: "none"
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
function i(s) {
|
|
371
|
-
return s in o ? r[s] = o[s] : s in t ? r[s] = t[s] : s in e.colors ? r[s] = e.colors[s] : r[s] = s, `var(--${s})`;
|
|
403
|
+
none: "none"
|
|
404
|
+
}, ...e.colors, ...e.bgImages, ...e.shadows }, a = {}, t = {};
|
|
405
|
+
let n = {};
|
|
406
|
+
function s(y) {
|
|
407
|
+
return y in a || (y in n ? (t[y] = n[y], a[y] = n[y]) : y in l ? (t[y] = l[y], a[y] = l[y]) : (t[y] = y, a[y] = y)), `var(--${y})`;
|
|
408
|
+
}
|
|
409
|
+
e.getVariableValue = s;
|
|
410
|
+
function u() {
|
|
411
|
+
return Object.entries(a).map(([y, k]) => `--${y}: ${k};`).join("");
|
|
372
412
|
}
|
|
373
|
-
e.
|
|
374
|
-
function
|
|
375
|
-
|
|
413
|
+
e.generateVariables = u;
|
|
414
|
+
function i() {
|
|
415
|
+
const y = { ...t };
|
|
416
|
+
return Object.keys(t).forEach((k) => delete t[k]), y;
|
|
417
|
+
}
|
|
418
|
+
e.getPendingVariables = i;
|
|
419
|
+
function m() {
|
|
420
|
+
return Object.keys(t).length > 0;
|
|
376
421
|
}
|
|
377
|
-
e.
|
|
378
|
-
function
|
|
379
|
-
|
|
422
|
+
e.hasPendingVariables = m;
|
|
423
|
+
function f(y) {
|
|
424
|
+
n = y;
|
|
380
425
|
}
|
|
381
|
-
e.setUserVariables =
|
|
382
|
-
})(
|
|
383
|
-
const
|
|
426
|
+
e.setUserVariables = f;
|
|
427
|
+
})(Y || (Y = {}));
|
|
428
|
+
const d = Y, L = {
|
|
384
429
|
/** The appearance CSS property is used to display UI elements with platform-specific styling, based on the operating system's theme. */
|
|
385
430
|
appearance: [
|
|
386
431
|
{
|
|
@@ -392,7 +437,7 @@ const y = W, R = {
|
|
|
392
437
|
{
|
|
393
438
|
values: 0,
|
|
394
439
|
styleName: "border-width",
|
|
395
|
-
valueFormat:
|
|
440
|
+
valueFormat: o.Value.px
|
|
396
441
|
}
|
|
397
442
|
],
|
|
398
443
|
/** The border-width shorthand CSS property sets the width of an element's left and right border. */
|
|
@@ -400,7 +445,7 @@ const y = W, R = {
|
|
|
400
445
|
{
|
|
401
446
|
values: 0,
|
|
402
447
|
styleName: "border-inline-width",
|
|
403
|
-
valueFormat:
|
|
448
|
+
valueFormat: o.Value.px
|
|
404
449
|
}
|
|
405
450
|
],
|
|
406
451
|
/** The border-width shorthand CSS property sets the width of an element's top and bottom border. */
|
|
@@ -408,7 +453,7 @@ const y = W, R = {
|
|
|
408
453
|
{
|
|
409
454
|
values: 0,
|
|
410
455
|
styleName: "border-block-width",
|
|
411
|
-
valueFormat:
|
|
456
|
+
valueFormat: o.Value.px
|
|
412
457
|
}
|
|
413
458
|
],
|
|
414
459
|
/** The border-top-width CSS property sets the width of the top border of an element. */
|
|
@@ -416,7 +461,7 @@ const y = W, R = {
|
|
|
416
461
|
{
|
|
417
462
|
values: 0,
|
|
418
463
|
styleName: "border-top-width",
|
|
419
|
-
valueFormat:
|
|
464
|
+
valueFormat: o.Value.px
|
|
420
465
|
}
|
|
421
466
|
],
|
|
422
467
|
/** The border-right-width CSS property sets the width of the right border of an element. */
|
|
@@ -424,7 +469,7 @@ const y = W, R = {
|
|
|
424
469
|
{
|
|
425
470
|
values: 0,
|
|
426
471
|
styleName: "border-right-width",
|
|
427
|
-
valueFormat:
|
|
472
|
+
valueFormat: o.Value.px
|
|
428
473
|
}
|
|
429
474
|
],
|
|
430
475
|
/** The border-bottom-width CSS property sets the width of the bottom border of an element. */
|
|
@@ -432,7 +477,7 @@ const y = W, R = {
|
|
|
432
477
|
{
|
|
433
478
|
values: 0,
|
|
434
479
|
styleName: "border-bottom-width",
|
|
435
|
-
valueFormat:
|
|
480
|
+
valueFormat: o.Value.px
|
|
436
481
|
}
|
|
437
482
|
],
|
|
438
483
|
/** The border-left-width CSS property sets the width of the left border of an element. */
|
|
@@ -440,7 +485,7 @@ const y = W, R = {
|
|
|
440
485
|
{
|
|
441
486
|
values: 0,
|
|
442
487
|
styleName: "border-left-width",
|
|
443
|
-
valueFormat:
|
|
488
|
+
valueFormat: o.Value.px
|
|
444
489
|
}
|
|
445
490
|
],
|
|
446
491
|
/** The border-style shorthand CSS property sets the line style for all four sides of an element's border. */
|
|
@@ -455,7 +500,7 @@ const y = W, R = {
|
|
|
455
500
|
{
|
|
456
501
|
styleName: "border-radius",
|
|
457
502
|
values: 0,
|
|
458
|
-
valueFormat:
|
|
503
|
+
valueFormat: o.Value.rem
|
|
459
504
|
}
|
|
460
505
|
],
|
|
461
506
|
/** The border-top-radius CSS property rounds the top corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -463,7 +508,7 @@ const y = W, R = {
|
|
|
463
508
|
{
|
|
464
509
|
values: 0,
|
|
465
510
|
styleName: ["border-top-left-radius", "border-top-right-radius"],
|
|
466
|
-
valueFormat:
|
|
511
|
+
valueFormat: o.Value.rem
|
|
467
512
|
}
|
|
468
513
|
],
|
|
469
514
|
/** The border-right-radius CSS property rounds the right corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -471,7 +516,7 @@ const y = W, R = {
|
|
|
471
516
|
{
|
|
472
517
|
values: 0,
|
|
473
518
|
styleName: ["border-top-right-radius", "border-bottom-right-radius"],
|
|
474
|
-
valueFormat:
|
|
519
|
+
valueFormat: o.Value.rem
|
|
475
520
|
}
|
|
476
521
|
],
|
|
477
522
|
/** The border-bottom-radius CSS property rounds the bottom corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -479,7 +524,7 @@ const y = W, R = {
|
|
|
479
524
|
{
|
|
480
525
|
values: 0,
|
|
481
526
|
styleName: ["border-bottom-left-radius", "border-bottom-right-radius"],
|
|
482
|
-
valueFormat:
|
|
527
|
+
valueFormat: o.Value.rem
|
|
483
528
|
}
|
|
484
529
|
],
|
|
485
530
|
/** The border-left-radius CSS property rounds the left corners of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -487,7 +532,7 @@ const y = W, R = {
|
|
|
487
532
|
{
|
|
488
533
|
values: 0,
|
|
489
534
|
styleName: ["border-top-left-radius", "border-bottom-left-radius"],
|
|
490
|
-
valueFormat:
|
|
535
|
+
valueFormat: o.Value.rem
|
|
491
536
|
}
|
|
492
537
|
],
|
|
493
538
|
/** The border-top-left-radius CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -495,7 +540,7 @@ const y = W, R = {
|
|
|
495
540
|
{
|
|
496
541
|
values: 0,
|
|
497
542
|
styleName: "border-top-left-radius",
|
|
498
|
-
valueFormat:
|
|
543
|
+
valueFormat: o.Value.rem
|
|
499
544
|
}
|
|
500
545
|
],
|
|
501
546
|
/** The border-top-right-radius CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -503,7 +548,7 @@ const y = W, R = {
|
|
|
503
548
|
{
|
|
504
549
|
values: 0,
|
|
505
550
|
styleName: "border-top-right-radius",
|
|
506
|
-
valueFormat:
|
|
551
|
+
valueFormat: o.Value.rem
|
|
507
552
|
}
|
|
508
553
|
],
|
|
509
554
|
/** The border-bottom-right-radius CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -511,7 +556,7 @@ const y = W, R = {
|
|
|
511
556
|
{
|
|
512
557
|
values: 0,
|
|
513
558
|
styleName: "border-bottom-right-radius",
|
|
514
|
-
valueFormat:
|
|
559
|
+
valueFormat: o.Value.rem
|
|
515
560
|
}
|
|
516
561
|
],
|
|
517
562
|
/** The border-bottom-left-radius CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. */
|
|
@@ -519,7 +564,7 @@ const y = W, R = {
|
|
|
519
564
|
{
|
|
520
565
|
values: 0,
|
|
521
566
|
styleName: "border-bottom-left-radius",
|
|
522
|
-
valueFormat:
|
|
567
|
+
valueFormat: o.Value.rem
|
|
523
568
|
}
|
|
524
569
|
],
|
|
525
570
|
/** The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
|
|
@@ -532,51 +577,67 @@ const y = W, R = {
|
|
|
532
577
|
top: [
|
|
533
578
|
{
|
|
534
579
|
values: 0,
|
|
535
|
-
valueFormat:
|
|
580
|
+
valueFormat: o.Value.rem
|
|
536
581
|
},
|
|
537
582
|
{
|
|
538
|
-
values:
|
|
539
|
-
valueFormat:
|
|
583
|
+
values: d.percentages,
|
|
584
|
+
valueFormat: o.Value.fraction
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
values: d.negativePercentages,
|
|
588
|
+
valueFormat: o.Value.fraction
|
|
540
589
|
}
|
|
541
590
|
],
|
|
542
591
|
/** The right CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements. */
|
|
543
592
|
right: [
|
|
544
593
|
{
|
|
545
594
|
values: 0,
|
|
546
|
-
valueFormat:
|
|
595
|
+
valueFormat: o.Value.rem
|
|
547
596
|
},
|
|
548
597
|
{
|
|
549
|
-
values:
|
|
550
|
-
valueFormat:
|
|
598
|
+
values: d.percentages,
|
|
599
|
+
valueFormat: o.Value.fraction
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
values: d.negativePercentages,
|
|
603
|
+
valueFormat: o.Value.fraction
|
|
551
604
|
}
|
|
552
605
|
],
|
|
553
606
|
/** The bottom CSS property participates in setting the vertical position of a positioned element. This inset property has no effect on non-positioned elements. */
|
|
554
607
|
bottom: [
|
|
555
608
|
{
|
|
556
609
|
values: 0,
|
|
557
|
-
valueFormat:
|
|
610
|
+
valueFormat: o.Value.rem
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
values: d.percentages,
|
|
614
|
+
valueFormat: o.Value.fraction
|
|
558
615
|
},
|
|
559
616
|
{
|
|
560
|
-
values:
|
|
561
|
-
valueFormat:
|
|
617
|
+
values: d.negativePercentages,
|
|
618
|
+
valueFormat: o.Value.fraction
|
|
562
619
|
}
|
|
563
620
|
],
|
|
564
621
|
/** The left CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements. */
|
|
565
622
|
left: [
|
|
566
623
|
{
|
|
567
624
|
values: 0,
|
|
568
|
-
valueFormat:
|
|
625
|
+
valueFormat: o.Value.rem
|
|
569
626
|
},
|
|
570
627
|
{
|
|
571
|
-
values:
|
|
572
|
-
valueFormat:
|
|
628
|
+
values: d.percentages,
|
|
629
|
+
valueFormat: o.Value.fraction
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
values: d.negativePercentages,
|
|
633
|
+
valueFormat: o.Value.fraction
|
|
573
634
|
}
|
|
574
635
|
],
|
|
575
636
|
/** The inset CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the same multi-value syntax of the margin shorthand. */
|
|
576
637
|
inset: [
|
|
577
638
|
{
|
|
578
639
|
values: 0,
|
|
579
|
-
valueFormat:
|
|
640
|
+
valueFormat: o.Value.rem
|
|
580
641
|
}
|
|
581
642
|
],
|
|
582
643
|
/** The `box-sizing` CSS property sets how the total width and height of an element is calculated. */
|
|
@@ -755,7 +816,7 @@ const y = W, R = {
|
|
|
755
816
|
{
|
|
756
817
|
styleName: "font-size",
|
|
757
818
|
values: 0,
|
|
758
|
-
valueFormat: (e) =>
|
|
819
|
+
valueFormat: (e) => o.Value.rem(e, void 0, 16)
|
|
759
820
|
},
|
|
760
821
|
{
|
|
761
822
|
styleName: "font-size",
|
|
@@ -780,7 +841,7 @@ const y = W, R = {
|
|
|
780
841
|
gap: [
|
|
781
842
|
{
|
|
782
843
|
values: 0,
|
|
783
|
-
valueFormat:
|
|
844
|
+
valueFormat: o.Value.rem
|
|
784
845
|
}
|
|
785
846
|
],
|
|
786
847
|
/** The row-gap CSS property sets the size of the gap (gutter) between an element's rows. */
|
|
@@ -788,7 +849,7 @@ const y = W, R = {
|
|
|
788
849
|
{
|
|
789
850
|
styleName: "row-gap",
|
|
790
851
|
values: 0,
|
|
791
|
-
valueFormat:
|
|
852
|
+
valueFormat: o.Value.rem
|
|
792
853
|
}
|
|
793
854
|
],
|
|
794
855
|
/** The column-gap CSS property sets the size of the gap (gutter) between an element's columns. */
|
|
@@ -796,7 +857,7 @@ const y = W, R = {
|
|
|
796
857
|
{
|
|
797
858
|
styleName: "column-gap",
|
|
798
859
|
values: 0,
|
|
799
|
-
valueFormat:
|
|
860
|
+
valueFormat: o.Value.rem
|
|
800
861
|
}
|
|
801
862
|
],
|
|
802
863
|
/** The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are sorted by ascending order value and then by their source code order. Items not given an explicit order value are assigned the default value of 0. */
|
|
@@ -808,7 +869,7 @@ const y = W, R = {
|
|
|
808
869
|
],
|
|
809
870
|
/** The height CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing is set to border-box, however, it instead determines the height of the border area. */
|
|
810
871
|
height: [
|
|
811
|
-
{ values: 0, valueFormat:
|
|
872
|
+
{ values: 0, valueFormat: o.Value.rem },
|
|
812
873
|
{
|
|
813
874
|
values: ["fit"],
|
|
814
875
|
valueFormat: () => "100%"
|
|
@@ -818,8 +879,8 @@ const y = W, R = {
|
|
|
818
879
|
valueFormat: () => "100vh"
|
|
819
880
|
},
|
|
820
881
|
{
|
|
821
|
-
values:
|
|
822
|
-
valueFormat:
|
|
882
|
+
values: d.percentages,
|
|
883
|
+
valueFormat: o.Value.fraction
|
|
823
884
|
},
|
|
824
885
|
{
|
|
825
886
|
values: ["auto", "fit-content", "max-content", "min-content"]
|
|
@@ -827,7 +888,7 @@ const y = W, R = {
|
|
|
827
888
|
],
|
|
828
889
|
/** The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller than the value specified for min-height. */
|
|
829
890
|
minHeight: [
|
|
830
|
-
{ styleName: "min-height", values: 0, valueFormat:
|
|
891
|
+
{ styleName: "min-height", values: 0, valueFormat: o.Value.rem },
|
|
831
892
|
{
|
|
832
893
|
styleName: "min-height",
|
|
833
894
|
values: ["fit"],
|
|
@@ -840,8 +901,8 @@ const y = W, R = {
|
|
|
840
901
|
},
|
|
841
902
|
{
|
|
842
903
|
styleName: "min-height",
|
|
843
|
-
values:
|
|
844
|
-
valueFormat:
|
|
904
|
+
values: d.percentages,
|
|
905
|
+
valueFormat: o.Value.fraction
|
|
845
906
|
},
|
|
846
907
|
{
|
|
847
908
|
styleName: "min-height",
|
|
@@ -850,7 +911,7 @@ const y = W, R = {
|
|
|
850
911
|
],
|
|
851
912
|
/** The max-height CSS property sets the maximum height of an element. It prevents the used value of the height property from becoming larger than the value specified for max-height. */
|
|
852
913
|
maxHeight: [
|
|
853
|
-
{ styleName: "max-height", values: 0, valueFormat:
|
|
914
|
+
{ styleName: "max-height", values: 0, valueFormat: o.Value.rem },
|
|
854
915
|
{
|
|
855
916
|
styleName: "max-height",
|
|
856
917
|
values: ["fit"],
|
|
@@ -863,8 +924,8 @@ const y = W, R = {
|
|
|
863
924
|
},
|
|
864
925
|
{
|
|
865
926
|
styleName: "max-height",
|
|
866
|
-
values:
|
|
867
|
-
valueFormat:
|
|
927
|
+
values: d.percentages,
|
|
928
|
+
valueFormat: o.Value.fraction
|
|
868
929
|
},
|
|
869
930
|
{
|
|
870
931
|
styleName: "max-height",
|
|
@@ -873,7 +934,7 @@ const y = W, R = {
|
|
|
873
934
|
],
|
|
874
935
|
/** The width CSS property sets an element's width. By default, it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area. */
|
|
875
936
|
width: [
|
|
876
|
-
{ values: 0, valueFormat:
|
|
937
|
+
{ values: 0, valueFormat: o.Value.rem },
|
|
877
938
|
{
|
|
878
939
|
values: ["fit"],
|
|
879
940
|
valueFormat: () => "100%"
|
|
@@ -883,8 +944,8 @@ const y = W, R = {
|
|
|
883
944
|
valueFormat: () => "100vw"
|
|
884
945
|
},
|
|
885
946
|
{
|
|
886
|
-
values:
|
|
887
|
-
valueFormat:
|
|
947
|
+
values: d.percentages,
|
|
948
|
+
valueFormat: o.Value.fraction
|
|
888
949
|
},
|
|
889
950
|
{
|
|
890
951
|
values: ["auto", "fit-content", "max-content", "min-content"]
|
|
@@ -892,7 +953,7 @@ const y = W, R = {
|
|
|
892
953
|
],
|
|
893
954
|
/** The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width. */
|
|
894
955
|
minWidth: [
|
|
895
|
-
{ styleName: "min-width", values: 0, valueFormat:
|
|
956
|
+
{ styleName: "min-width", values: 0, valueFormat: o.Value.rem },
|
|
896
957
|
{
|
|
897
958
|
styleName: "min-width",
|
|
898
959
|
values: ["fit"],
|
|
@@ -905,8 +966,8 @@ const y = W, R = {
|
|
|
905
966
|
},
|
|
906
967
|
{
|
|
907
968
|
styleName: "min-width",
|
|
908
|
-
values:
|
|
909
|
-
valueFormat:
|
|
969
|
+
values: d.percentages,
|
|
970
|
+
valueFormat: o.Value.fraction
|
|
910
971
|
},
|
|
911
972
|
{
|
|
912
973
|
styleName: "min-width",
|
|
@@ -915,7 +976,7 @@ const y = W, R = {
|
|
|
915
976
|
],
|
|
916
977
|
/** The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width. */
|
|
917
978
|
maxWidth: [
|
|
918
|
-
{ styleName: "max-width", values: 0, valueFormat:
|
|
979
|
+
{ styleName: "max-width", values: 0, valueFormat: o.Value.rem },
|
|
919
980
|
{
|
|
920
981
|
styleName: "max-width",
|
|
921
982
|
values: ["fit"],
|
|
@@ -928,8 +989,8 @@ const y = W, R = {
|
|
|
928
989
|
},
|
|
929
990
|
{
|
|
930
991
|
styleName: "max-width",
|
|
931
|
-
values:
|
|
932
|
-
valueFormat:
|
|
992
|
+
values: d.percentages,
|
|
993
|
+
valueFormat: o.Value.fraction
|
|
933
994
|
},
|
|
934
995
|
{
|
|
935
996
|
styleName: "max-width",
|
|
@@ -941,7 +1002,7 @@ const y = W, R = {
|
|
|
941
1002
|
{
|
|
942
1003
|
styleName: "letter-spacing",
|
|
943
1004
|
values: 0,
|
|
944
|
-
valueFormat:
|
|
1005
|
+
valueFormat: o.Value.px
|
|
945
1006
|
}
|
|
946
1007
|
],
|
|
947
1008
|
/** The line-height CSS property sets the height of a line box in horizontal writing modes. In vertical writing modes, it sets the width of a line box. It's commonly used to set the distance between lines of text. On block-level elements in horizontal writing modes, it specifies the preferred height of line boxes within the element, and on non-replaced inline elements, it specifies the height that is used to calculate line box height. */
|
|
@@ -949,7 +1010,7 @@ const y = W, R = {
|
|
|
949
1010
|
{
|
|
950
1011
|
styleName: "line-height",
|
|
951
1012
|
values: 0,
|
|
952
|
-
valueFormat:
|
|
1013
|
+
valueFormat: o.Value.px
|
|
953
1014
|
},
|
|
954
1015
|
{
|
|
955
1016
|
styleName: "line-height",
|
|
@@ -969,15 +1030,15 @@ const y = W, R = {
|
|
|
969
1030
|
{
|
|
970
1031
|
values: 0,
|
|
971
1032
|
styleName: "margin",
|
|
972
|
-
valueFormat:
|
|
1033
|
+
valueFormat: o.Value.rem
|
|
973
1034
|
},
|
|
974
1035
|
{
|
|
975
1036
|
values: ["auto"],
|
|
976
1037
|
styleName: "margin"
|
|
977
1038
|
},
|
|
978
1039
|
{
|
|
979
|
-
values:
|
|
980
|
-
valueFormat:
|
|
1040
|
+
values: d.percentages,
|
|
1041
|
+
valueFormat: o.Value.fraction
|
|
981
1042
|
}
|
|
982
1043
|
],
|
|
983
1044
|
/** The margin-inline CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. */
|
|
@@ -985,15 +1046,15 @@ const y = W, R = {
|
|
|
985
1046
|
{
|
|
986
1047
|
values: 0,
|
|
987
1048
|
styleName: "margin-inline",
|
|
988
|
-
valueFormat:
|
|
1049
|
+
valueFormat: o.Value.rem
|
|
989
1050
|
},
|
|
990
1051
|
{
|
|
991
1052
|
values: ["auto"],
|
|
992
1053
|
styleName: "margin-inline"
|
|
993
1054
|
},
|
|
994
1055
|
{
|
|
995
|
-
values:
|
|
996
|
-
valueFormat:
|
|
1056
|
+
values: d.percentages,
|
|
1057
|
+
valueFormat: o.Value.fraction
|
|
997
1058
|
}
|
|
998
1059
|
],
|
|
999
1060
|
/** The margin-block CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. */
|
|
@@ -1001,15 +1062,15 @@ const y = W, R = {
|
|
|
1001
1062
|
{
|
|
1002
1063
|
values: 0,
|
|
1003
1064
|
styleName: "margin-block",
|
|
1004
|
-
valueFormat:
|
|
1065
|
+
valueFormat: o.Value.rem
|
|
1005
1066
|
},
|
|
1006
1067
|
{
|
|
1007
1068
|
values: ["auto"],
|
|
1008
1069
|
styleName: "margin-block"
|
|
1009
1070
|
},
|
|
1010
1071
|
{
|
|
1011
|
-
values:
|
|
1012
|
-
valueFormat:
|
|
1072
|
+
values: d.percentages,
|
|
1073
|
+
valueFormat: o.Value.fraction
|
|
1013
1074
|
}
|
|
1014
1075
|
],
|
|
1015
1076
|
/** The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
|
|
@@ -1017,15 +1078,15 @@ const y = W, R = {
|
|
|
1017
1078
|
{
|
|
1018
1079
|
values: 0,
|
|
1019
1080
|
styleName: "margin-top",
|
|
1020
|
-
valueFormat:
|
|
1081
|
+
valueFormat: o.Value.rem
|
|
1021
1082
|
},
|
|
1022
1083
|
{
|
|
1023
1084
|
values: ["auto"],
|
|
1024
1085
|
styleName: "margin-top"
|
|
1025
1086
|
},
|
|
1026
1087
|
{
|
|
1027
|
-
values:
|
|
1028
|
-
valueFormat:
|
|
1088
|
+
values: d.percentages,
|
|
1089
|
+
valueFormat: o.Value.fraction
|
|
1029
1090
|
}
|
|
1030
1091
|
],
|
|
1031
1092
|
/** The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
|
|
@@ -1033,15 +1094,15 @@ const y = W, R = {
|
|
|
1033
1094
|
{
|
|
1034
1095
|
values: 0,
|
|
1035
1096
|
styleName: "margin-right",
|
|
1036
|
-
valueFormat:
|
|
1097
|
+
valueFormat: o.Value.rem
|
|
1037
1098
|
},
|
|
1038
1099
|
{
|
|
1039
1100
|
values: ["auto"],
|
|
1040
1101
|
styleName: "margin-right"
|
|
1041
1102
|
},
|
|
1042
1103
|
{
|
|
1043
|
-
values:
|
|
1044
|
-
valueFormat:
|
|
1104
|
+
values: d.percentages,
|
|
1105
|
+
valueFormat: o.Value.fraction
|
|
1045
1106
|
}
|
|
1046
1107
|
],
|
|
1047
1108
|
/** The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
|
|
@@ -1049,15 +1110,15 @@ const y = W, R = {
|
|
|
1049
1110
|
{
|
|
1050
1111
|
values: 0,
|
|
1051
1112
|
styleName: "margin-bottom",
|
|
1052
|
-
valueFormat:
|
|
1113
|
+
valueFormat: o.Value.rem
|
|
1053
1114
|
},
|
|
1054
1115
|
{
|
|
1055
1116
|
values: ["auto"],
|
|
1056
1117
|
styleName: "margin-bottom"
|
|
1057
1118
|
},
|
|
1058
1119
|
{
|
|
1059
|
-
values:
|
|
1060
|
-
valueFormat:
|
|
1120
|
+
values: d.percentages,
|
|
1121
|
+
valueFormat: o.Value.fraction
|
|
1061
1122
|
}
|
|
1062
1123
|
],
|
|
1063
1124
|
/** The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. */
|
|
@@ -1065,15 +1126,15 @@ const y = W, R = {
|
|
|
1065
1126
|
{
|
|
1066
1127
|
values: 0,
|
|
1067
1128
|
styleName: "margin-left",
|
|
1068
|
-
valueFormat:
|
|
1129
|
+
valueFormat: o.Value.rem
|
|
1069
1130
|
},
|
|
1070
1131
|
{
|
|
1071
1132
|
values: ["auto"],
|
|
1072
1133
|
styleName: "margin-left"
|
|
1073
1134
|
},
|
|
1074
1135
|
{
|
|
1075
|
-
values:
|
|
1076
|
-
valueFormat:
|
|
1136
|
+
values: d.percentages,
|
|
1137
|
+
valueFormat: o.Value.fraction
|
|
1077
1138
|
}
|
|
1078
1139
|
],
|
|
1079
1140
|
/** The padding CSS shorthand property sets the padding area on all four sides of an element at once. */
|
|
@@ -1081,11 +1142,11 @@ const y = W, R = {
|
|
|
1081
1142
|
{
|
|
1082
1143
|
values: 0,
|
|
1083
1144
|
styleName: "padding",
|
|
1084
|
-
valueFormat:
|
|
1145
|
+
valueFormat: o.Value.rem
|
|
1085
1146
|
},
|
|
1086
1147
|
{
|
|
1087
|
-
values:
|
|
1088
|
-
valueFormat:
|
|
1148
|
+
values: d.percentages,
|
|
1149
|
+
valueFormat: o.Value.fraction
|
|
1089
1150
|
}
|
|
1090
1151
|
],
|
|
1091
1152
|
/** The padding-inline CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. */
|
|
@@ -1093,11 +1154,11 @@ const y = W, R = {
|
|
|
1093
1154
|
{
|
|
1094
1155
|
values: 0,
|
|
1095
1156
|
styleName: "padding-inline",
|
|
1096
|
-
valueFormat:
|
|
1157
|
+
valueFormat: o.Value.rem
|
|
1097
1158
|
},
|
|
1098
1159
|
{
|
|
1099
|
-
values:
|
|
1100
|
-
valueFormat:
|
|
1160
|
+
values: d.percentages,
|
|
1161
|
+
valueFormat: o.Value.fraction
|
|
1101
1162
|
}
|
|
1102
1163
|
],
|
|
1103
1164
|
/** The padding-block CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. */
|
|
@@ -1105,11 +1166,11 @@ const y = W, R = {
|
|
|
1105
1166
|
{
|
|
1106
1167
|
values: 0,
|
|
1107
1168
|
styleName: "padding-block",
|
|
1108
|
-
valueFormat:
|
|
1169
|
+
valueFormat: o.Value.rem
|
|
1109
1170
|
},
|
|
1110
1171
|
{
|
|
1111
|
-
values:
|
|
1112
|
-
valueFormat:
|
|
1172
|
+
values: d.percentages,
|
|
1173
|
+
valueFormat: o.Value.fraction
|
|
1113
1174
|
}
|
|
1114
1175
|
],
|
|
1115
1176
|
/** The padding-top CSS property sets the height of the padding area on the top of an element. */
|
|
@@ -1117,11 +1178,11 @@ const y = W, R = {
|
|
|
1117
1178
|
{
|
|
1118
1179
|
values: 0,
|
|
1119
1180
|
styleName: "padding-top",
|
|
1120
|
-
valueFormat:
|
|
1181
|
+
valueFormat: o.Value.rem
|
|
1121
1182
|
},
|
|
1122
1183
|
{
|
|
1123
|
-
values:
|
|
1124
|
-
valueFormat:
|
|
1184
|
+
values: d.percentages,
|
|
1185
|
+
valueFormat: o.Value.fraction
|
|
1125
1186
|
}
|
|
1126
1187
|
],
|
|
1127
1188
|
/** The padding-right CSS property sets the width of the padding area on the right of an element. */
|
|
@@ -1129,11 +1190,11 @@ const y = W, R = {
|
|
|
1129
1190
|
{
|
|
1130
1191
|
values: 0,
|
|
1131
1192
|
styleName: "padding-right",
|
|
1132
|
-
valueFormat:
|
|
1193
|
+
valueFormat: o.Value.rem
|
|
1133
1194
|
},
|
|
1134
1195
|
{
|
|
1135
|
-
values:
|
|
1136
|
-
valueFormat:
|
|
1196
|
+
values: d.percentages,
|
|
1197
|
+
valueFormat: o.Value.fraction
|
|
1137
1198
|
}
|
|
1138
1199
|
],
|
|
1139
1200
|
/** The padding-bottom CSS property sets the height of the padding area on the bottom of an element. */
|
|
@@ -1141,11 +1202,11 @@ const y = W, R = {
|
|
|
1141
1202
|
{
|
|
1142
1203
|
values: 0,
|
|
1143
1204
|
styleName: "padding-bottom",
|
|
1144
|
-
valueFormat:
|
|
1205
|
+
valueFormat: o.Value.rem
|
|
1145
1206
|
},
|
|
1146
1207
|
{
|
|
1147
|
-
values:
|
|
1148
|
-
valueFormat:
|
|
1208
|
+
values: d.percentages,
|
|
1209
|
+
valueFormat: o.Value.fraction
|
|
1149
1210
|
}
|
|
1150
1211
|
],
|
|
1151
1212
|
/** The padding-left CSS property sets the width of the padding area to the left of an element. */
|
|
@@ -1153,11 +1214,11 @@ const y = W, R = {
|
|
|
1153
1214
|
{
|
|
1154
1215
|
values: 0,
|
|
1155
1216
|
styleName: "padding-left",
|
|
1156
|
-
valueFormat:
|
|
1217
|
+
valueFormat: o.Value.rem
|
|
1157
1218
|
},
|
|
1158
1219
|
{
|
|
1159
|
-
values:
|
|
1160
|
-
valueFormat:
|
|
1220
|
+
values: d.percentages,
|
|
1221
|
+
valueFormat: o.Value.fraction
|
|
1161
1222
|
}
|
|
1162
1223
|
],
|
|
1163
1224
|
/** The object-fit CSS property sets how the content of a replaced element, such as an <img> or <video>, should be resized to fit its container. */
|
|
@@ -1178,7 +1239,7 @@ const y = W, R = {
|
|
|
1178
1239
|
{
|
|
1179
1240
|
styleName: "outline-width",
|
|
1180
1241
|
values: 0,
|
|
1181
|
-
valueFormat:
|
|
1242
|
+
valueFormat: o.Value.px
|
|
1182
1243
|
}
|
|
1183
1244
|
],
|
|
1184
1245
|
/** The outline-style CSS property sets the style of an element's outline. An outline is a line that is drawn around an element, outside the border. */
|
|
@@ -1193,7 +1254,7 @@ const y = W, R = {
|
|
|
1193
1254
|
{
|
|
1194
1255
|
styleName: "outline-offset",
|
|
1195
1256
|
values: 0,
|
|
1196
|
-
valueFormat:
|
|
1257
|
+
valueFormat: o.Value.px
|
|
1197
1258
|
}
|
|
1198
1259
|
],
|
|
1199
1260
|
/** The overflow CSS shorthand property sets the desired behavior when content does not fit in the element's padding box (overflows) in the horizontal and/or vertical direction. */
|
|
@@ -1409,69 +1470,79 @@ const y = W, R = {
|
|
|
1409
1470
|
/** The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value. */
|
|
1410
1471
|
color: [
|
|
1411
1472
|
{
|
|
1412
|
-
values:
|
|
1413
|
-
valueFormat: (e,
|
|
1473
|
+
values: d.colorValues,
|
|
1474
|
+
valueFormat: (e, r) => r(e)
|
|
1414
1475
|
}
|
|
1415
1476
|
],
|
|
1416
1477
|
/** The background-color CSS property sets the background color of an element. */
|
|
1417
1478
|
bgColor: [
|
|
1418
1479
|
{
|
|
1419
|
-
values:
|
|
1420
|
-
valueFormat: (e,
|
|
1480
|
+
values: d.colorValues,
|
|
1481
|
+
valueFormat: (e, r) => r(e),
|
|
1421
1482
|
styleName: "background-color"
|
|
1422
1483
|
}
|
|
1423
1484
|
],
|
|
1424
1485
|
/** The border-color shorthand CSS property sets the color of an element's border. */
|
|
1425
1486
|
borderColor: [
|
|
1426
1487
|
{
|
|
1427
|
-
values:
|
|
1428
|
-
valueFormat: (e,
|
|
1488
|
+
values: d.colorValues,
|
|
1489
|
+
valueFormat: (e, r) => r(e),
|
|
1429
1490
|
styleName: "border-color"
|
|
1430
1491
|
}
|
|
1431
1492
|
],
|
|
1432
1493
|
/** The outline-color CSS property sets the color of an element's outline. */
|
|
1433
1494
|
outlineColor: [
|
|
1434
1495
|
{
|
|
1435
|
-
values:
|
|
1436
|
-
valueFormat: (e,
|
|
1496
|
+
values: d.colorValues,
|
|
1497
|
+
valueFormat: (e, r) => r(e),
|
|
1437
1498
|
styleName: "outline-color"
|
|
1438
1499
|
}
|
|
1439
1500
|
],
|
|
1440
1501
|
/** The fill CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute. */
|
|
1441
1502
|
fill: [
|
|
1442
1503
|
{
|
|
1443
|
-
values:
|
|
1444
|
-
valueFormat: (e,
|
|
1504
|
+
values: d.colorValues,
|
|
1505
|
+
valueFormat: (e, r) => r(e)
|
|
1445
1506
|
}
|
|
1446
1507
|
],
|
|
1447
1508
|
/** The stroke CSS property defines the color or SVG paint server used to draw an element's stroke. */
|
|
1448
1509
|
stroke: [
|
|
1449
1510
|
{
|
|
1450
|
-
values:
|
|
1451
|
-
valueFormat: (e,
|
|
1511
|
+
values: d.colorValues,
|
|
1512
|
+
valueFormat: (e, r) => r(e)
|
|
1452
1513
|
}
|
|
1453
1514
|
],
|
|
1454
1515
|
/** The background-image CSS property sets one or more background images on an element. */
|
|
1455
1516
|
bgImage: [
|
|
1456
1517
|
{
|
|
1457
|
-
values:
|
|
1458
|
-
valueFormat: (e,
|
|
1518
|
+
values: d.bgImageValues,
|
|
1519
|
+
valueFormat: (e, r) => r(e),
|
|
1459
1520
|
styleName: "background-image"
|
|
1460
1521
|
}
|
|
1461
1522
|
],
|
|
1462
1523
|
/** The box-shadow CSS property adds shadow effects around an element's frame */
|
|
1463
1524
|
shadow: [
|
|
1464
1525
|
{
|
|
1465
|
-
values:
|
|
1466
|
-
valueFormat: (e,
|
|
1526
|
+
values: d.shadowValues,
|
|
1527
|
+
valueFormat: (e, r) => r(e),
|
|
1467
1528
|
styleName: "box-shadow"
|
|
1468
1529
|
}
|
|
1469
1530
|
],
|
|
1470
|
-
/** The
|
|
1531
|
+
/** The translateX() CSS function repositions an element horizontally on the 2D plane. */
|
|
1471
1532
|
translateX: [
|
|
1472
1533
|
{
|
|
1473
1534
|
values: 0,
|
|
1474
|
-
valueFormat: (e) => `translateX(${e /
|
|
1535
|
+
valueFormat: (e) => `translateX(${e / X}rem)`,
|
|
1536
|
+
styleName: "transform"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
values: d.percentages,
|
|
1540
|
+
valueFormat: (e) => `translateX(${o.Value.fraction(e)})`,
|
|
1541
|
+
styleName: "transform"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
values: d.negativePercentages,
|
|
1545
|
+
valueFormat: (e) => `translateX(${o.Value.fraction(e)})`,
|
|
1475
1546
|
styleName: "transform"
|
|
1476
1547
|
}
|
|
1477
1548
|
],
|
|
@@ -1479,7 +1550,17 @@ const y = W, R = {
|
|
|
1479
1550
|
translateY: [
|
|
1480
1551
|
{
|
|
1481
1552
|
values: 0,
|
|
1482
|
-
valueFormat: (e) => `translateY(${e /
|
|
1553
|
+
valueFormat: (e) => `translateY(${e / X}rem)`,
|
|
1554
|
+
styleName: "transform"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
values: d.percentages,
|
|
1558
|
+
valueFormat: (e) => `translateY(${o.Value.fraction(e)})`,
|
|
1559
|
+
styleName: "transform"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
values: d.negativePercentages,
|
|
1563
|
+
valueFormat: (e) => `translateY(${o.Value.fraction(e)})`,
|
|
1483
1564
|
styleName: "transform"
|
|
1484
1565
|
}
|
|
1485
1566
|
],
|
|
@@ -1489,8 +1570,14 @@ const y = W, R = {
|
|
|
1489
1570
|
values: ["empty"],
|
|
1490
1571
|
valueFormat: () => "''"
|
|
1491
1572
|
}
|
|
1573
|
+
],
|
|
1574
|
+
backdropFilter: [
|
|
1575
|
+
{
|
|
1576
|
+
values: ["none", "blur(12px)", "blur(8px)", "blur(4px)"],
|
|
1577
|
+
styleName: "backdrop-filter"
|
|
1578
|
+
}
|
|
1492
1579
|
]
|
|
1493
|
-
},
|
|
1580
|
+
}, me = {
|
|
1494
1581
|
hover: ":hover",
|
|
1495
1582
|
focus: ":focus-within",
|
|
1496
1583
|
hasFocus: ":has(:focus)",
|
|
@@ -1505,33 +1592,34 @@ const y = W, R = {
|
|
|
1505
1592
|
hasDisabled: ":has([disabled])",
|
|
1506
1593
|
before: "::before",
|
|
1507
1594
|
after: "::after"
|
|
1508
|
-
},
|
|
1595
|
+
}, U = {
|
|
1509
1596
|
indeterminate: ":indeterminate",
|
|
1510
1597
|
checked: ":checked",
|
|
1511
1598
|
required: ":required",
|
|
1512
1599
|
disabled: "[disabled]",
|
|
1513
1600
|
selected: '[aria-selected="true"]'
|
|
1514
|
-
},
|
|
1601
|
+
}, Ve = {
|
|
1515
1602
|
theme: ""
|
|
1516
|
-
},
|
|
1517
|
-
(e, [
|
|
1603
|
+
}, W = { ...me, ...U, ...Ve }, ye = Object.entries(W).reduce(
|
|
1604
|
+
(e, [r], l) => (e[r] = Math.pow(2, l), e),
|
|
1518
1605
|
{}
|
|
1519
|
-
),
|
|
1520
|
-
(e, [
|
|
1521
|
-
const
|
|
1522
|
-
return Object.entries(e).forEach(([
|
|
1523
|
-
e[+
|
|
1606
|
+
), q = Object.entries(W).reduce(
|
|
1607
|
+
(e, [r]) => {
|
|
1608
|
+
const l = ye[r];
|
|
1609
|
+
return Object.entries(e).forEach(([a, t]) => {
|
|
1610
|
+
e[+a + l] = [...t, r];
|
|
1524
1611
|
}), e;
|
|
1525
1612
|
},
|
|
1526
1613
|
{ 0: [] }
|
|
1527
|
-
),
|
|
1614
|
+
), P = {
|
|
1528
1615
|
hoverGroup: "hover",
|
|
1529
1616
|
focusGroup: "focus",
|
|
1530
1617
|
activeGroup: "active",
|
|
1531
1618
|
disabledGroup: "disabled",
|
|
1532
|
-
selectedGroup: "selected"
|
|
1619
|
+
selectedGroup: "selected"
|
|
1620
|
+
}, ie = {
|
|
1533
1621
|
theme: "theme"
|
|
1534
|
-
},
|
|
1622
|
+
}, D = {
|
|
1535
1623
|
/** Styles applied for small screens and larger. >= 640 */
|
|
1536
1624
|
sm: 640,
|
|
1537
1625
|
/** Styles applied for medium screens and larger. >= 768 */
|
|
@@ -1543,34 +1631,34 @@ const y = W, R = {
|
|
|
1543
1631
|
/** Styles applied for 2x extra-large screens and larger. >= 1536 */
|
|
1544
1632
|
xxl: 1536
|
|
1545
1633
|
};
|
|
1546
|
-
var
|
|
1634
|
+
var Z;
|
|
1547
1635
|
((e) => {
|
|
1548
|
-
function
|
|
1549
|
-
const
|
|
1550
|
-
return
|
|
1551
|
-
|
|
1552
|
-
}),
|
|
1553
|
-
|
|
1554
|
-
}),
|
|
1636
|
+
function r(n, s, u) {
|
|
1637
|
+
const i = { ...n }, m = i.props || {};
|
|
1638
|
+
return s.forEach((f) => {
|
|
1639
|
+
f in i && (m[f] = i[f], delete i[f]);
|
|
1640
|
+
}), u && Object.entries(u).forEach(([f, y]) => {
|
|
1641
|
+
m[f] = y;
|
|
1642
|
+
}), i.props = m, i;
|
|
1555
1643
|
}
|
|
1556
|
-
e.buildProps =
|
|
1557
|
-
function
|
|
1644
|
+
e.buildProps = r;
|
|
1645
|
+
function l(n) {
|
|
1558
1646
|
return !!n && typeof n == "object";
|
|
1559
1647
|
}
|
|
1560
|
-
e.isObject =
|
|
1561
|
-
function
|
|
1562
|
-
return n.reduce((
|
|
1563
|
-
const
|
|
1564
|
-
|
|
1565
|
-
}),
|
|
1648
|
+
e.isObject = l;
|
|
1649
|
+
function a(...n) {
|
|
1650
|
+
return n.reduce((s, u) => (Object.keys(u ?? {}).forEach((i) => {
|
|
1651
|
+
const m = s[i], f = u[i];
|
|
1652
|
+
l(f) && "clean" in f && f.clean ? s[i] = f : i in U && typeof f == "boolean" || (i in U && Array.isArray(f) ? s[i] = a(m, f[1] ?? {}) : Array.isArray(m) && Array.isArray(f) ? s[i] = m.concat(...f) : l(m) && l(f) ? s[i] = a(m, f) : s[i] = f);
|
|
1653
|
+
}), s), {});
|
|
1566
1654
|
}
|
|
1567
|
-
e.mergeDeep =
|
|
1568
|
-
function
|
|
1569
|
-
return n in
|
|
1655
|
+
e.mergeDeep = a;
|
|
1656
|
+
function t(n, s) {
|
|
1657
|
+
return n in s;
|
|
1570
1658
|
}
|
|
1571
|
-
e.isKeyOf =
|
|
1572
|
-
})(
|
|
1573
|
-
const
|
|
1659
|
+
e.isKeyOf = t;
|
|
1660
|
+
})(Z || (Z = {}));
|
|
1661
|
+
const S = Z, se = {
|
|
1574
1662
|
h1: {
|
|
1575
1663
|
styles: { fontSize: 14 * 2.5 }
|
|
1576
1664
|
},
|
|
@@ -1595,42 +1683,131 @@ const N = K, oe = {
|
|
|
1595
1683
|
button: {
|
|
1596
1684
|
styles: {
|
|
1597
1685
|
display: "inline-flex",
|
|
1686
|
+
ai: "center",
|
|
1687
|
+
jc: "center",
|
|
1688
|
+
gap: 2,
|
|
1689
|
+
bgColor: "indigo-600",
|
|
1598
1690
|
color: "white",
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1691
|
+
fontWeight: 500,
|
|
1692
|
+
py: 2.5,
|
|
1693
|
+
px: 5,
|
|
1694
|
+
borderRadius: 2,
|
|
1695
|
+
b: 0,
|
|
1602
1696
|
cursor: "pointer",
|
|
1603
|
-
b: 1,
|
|
1604
|
-
borderRadius: 1,
|
|
1605
|
-
userSelect: "none",
|
|
1606
|
-
lineHeight: 20,
|
|
1607
1697
|
hover: {
|
|
1608
|
-
bgColor: "
|
|
1609
|
-
|
|
1698
|
+
bgColor: "indigo-700"
|
|
1699
|
+
},
|
|
1700
|
+
active: {
|
|
1701
|
+
bgColor: "indigo-800"
|
|
1702
|
+
},
|
|
1703
|
+
focus: {
|
|
1704
|
+
outline: 2,
|
|
1705
|
+
outlineOffset: 2,
|
|
1706
|
+
outlineColor: "indigo-200"
|
|
1610
1707
|
},
|
|
1611
1708
|
disabled: {
|
|
1612
|
-
|
|
1613
|
-
bgColor: "violet-50",
|
|
1709
|
+
bgColor: "gray-200",
|
|
1614
1710
|
color: "gray-400",
|
|
1615
|
-
|
|
1711
|
+
cursor: "not-allowed",
|
|
1712
|
+
hover: {
|
|
1713
|
+
bgColor: "gray-200"
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
theme: {
|
|
1717
|
+
dark: {
|
|
1718
|
+
bgColor: "indigo-500",
|
|
1719
|
+
hover: {
|
|
1720
|
+
bgColor: "indigo-400"
|
|
1721
|
+
},
|
|
1722
|
+
active: {
|
|
1723
|
+
bgColor: "indigo-600"
|
|
1724
|
+
},
|
|
1725
|
+
focus: {
|
|
1726
|
+
outlineColor: "indigo-800"
|
|
1727
|
+
},
|
|
1728
|
+
disabled: {
|
|
1729
|
+
bgColor: "gray-800",
|
|
1730
|
+
color: "gray-600",
|
|
1731
|
+
hover: {
|
|
1732
|
+
bgColor: "gray-800"
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1616
1736
|
}
|
|
1617
1737
|
},
|
|
1618
1738
|
variants: {
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
b:
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1739
|
+
secondary: {
|
|
1740
|
+
bgColor: "white",
|
|
1741
|
+
color: "gray-900",
|
|
1742
|
+
b: 1,
|
|
1743
|
+
borderColor: "gray-300",
|
|
1744
|
+
hover: {
|
|
1745
|
+
bgColor: "gray-50"
|
|
1746
|
+
},
|
|
1747
|
+
active: {
|
|
1748
|
+
bgColor: "gray-100"
|
|
1749
|
+
},
|
|
1750
|
+
focus: {
|
|
1751
|
+
borderColor: "indigo-500",
|
|
1752
|
+
outlineColor: "indigo-100"
|
|
1753
|
+
},
|
|
1754
|
+
disabled: {
|
|
1755
|
+
bgColor: "gray-50",
|
|
1756
|
+
color: "gray-400",
|
|
1757
|
+
borderColor: "gray-200"
|
|
1758
|
+
},
|
|
1759
|
+
theme: {
|
|
1760
|
+
dark: {
|
|
1761
|
+
bgColor: "gray-800",
|
|
1762
|
+
color: "gray-100",
|
|
1763
|
+
borderColor: "gray-700",
|
|
1764
|
+
hover: {
|
|
1765
|
+
bgColor: "gray-700"
|
|
1766
|
+
},
|
|
1767
|
+
active: {
|
|
1768
|
+
bgColor: "gray-600"
|
|
1769
|
+
},
|
|
1770
|
+
focus: {
|
|
1771
|
+
borderColor: "indigo-400",
|
|
1772
|
+
outlineColor: "indigo-900"
|
|
1773
|
+
},
|
|
1774
|
+
disabled: {
|
|
1775
|
+
bgColor: "gray-900",
|
|
1776
|
+
color: "gray-600",
|
|
1777
|
+
borderColor: "gray-800"
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
ghost: {
|
|
1783
|
+
bgColor: "transparent",
|
|
1784
|
+
color: "gray-700",
|
|
1785
|
+
hover: {
|
|
1786
|
+
bgColor: "gray-100"
|
|
1787
|
+
},
|
|
1788
|
+
active: {
|
|
1789
|
+
bgColor: "gray-200"
|
|
1632
1790
|
},
|
|
1633
|
-
|
|
1791
|
+
disabled: {
|
|
1792
|
+
bgColor: "transparent",
|
|
1793
|
+
color: "gray-400"
|
|
1794
|
+
},
|
|
1795
|
+
theme: {
|
|
1796
|
+
dark: {
|
|
1797
|
+
bgColor: "transparent",
|
|
1798
|
+
color: "gray-300",
|
|
1799
|
+
hover: {
|
|
1800
|
+
bgColor: "gray-800"
|
|
1801
|
+
},
|
|
1802
|
+
active: {
|
|
1803
|
+
bgColor: "gray-700"
|
|
1804
|
+
},
|
|
1805
|
+
disabled: {
|
|
1806
|
+
bgColor: "transparent",
|
|
1807
|
+
color: "gray-600"
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1634
1811
|
}
|
|
1635
1812
|
}
|
|
1636
1813
|
},
|
|
@@ -1638,26 +1815,53 @@ const N = K, oe = {
|
|
|
1638
1815
|
styles: {
|
|
1639
1816
|
display: "inline-block",
|
|
1640
1817
|
b: 1,
|
|
1641
|
-
borderColor: "
|
|
1642
|
-
bgColor: "
|
|
1643
|
-
color: "
|
|
1644
|
-
borderRadius:
|
|
1818
|
+
borderColor: "gray-300",
|
|
1819
|
+
bgColor: "white",
|
|
1820
|
+
color: "gray-900",
|
|
1821
|
+
borderRadius: 2,
|
|
1645
1822
|
p: 3,
|
|
1646
|
-
|
|
1823
|
+
px: 4,
|
|
1647
1824
|
lineHeight: 20,
|
|
1648
1825
|
hover: {
|
|
1649
|
-
borderColor: "
|
|
1826
|
+
borderColor: "gray-400"
|
|
1650
1827
|
},
|
|
1651
1828
|
focus: {
|
|
1652
|
-
outline:
|
|
1653
|
-
|
|
1654
|
-
|
|
1829
|
+
outline: 2,
|
|
1830
|
+
outlineOffset: 0,
|
|
1831
|
+
borderColor: "indigo-500",
|
|
1832
|
+
outlineColor: "indigo-200"
|
|
1655
1833
|
},
|
|
1656
1834
|
disabled: {
|
|
1657
1835
|
cursor: "not-allowed",
|
|
1658
|
-
bgColor: "
|
|
1836
|
+
bgColor: "gray-100",
|
|
1659
1837
|
color: "gray-400",
|
|
1660
|
-
borderColor: "gray-
|
|
1838
|
+
borderColor: "gray-200"
|
|
1839
|
+
},
|
|
1840
|
+
theme: {
|
|
1841
|
+
dark: {
|
|
1842
|
+
bgColor: "gray-800",
|
|
1843
|
+
color: "gray-100",
|
|
1844
|
+
borderColor: "gray-700",
|
|
1845
|
+
hover: {
|
|
1846
|
+
borderColor: "gray-600"
|
|
1847
|
+
},
|
|
1848
|
+
focus: {
|
|
1849
|
+
borderColor: "indigo-400",
|
|
1850
|
+
outlineColor: "indigo-900"
|
|
1851
|
+
},
|
|
1852
|
+
disabled: {
|
|
1853
|
+
bgColor: "gray-900",
|
|
1854
|
+
color: "gray-600",
|
|
1855
|
+
borderColor: "gray-800"
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
variants: {
|
|
1861
|
+
compact: {
|
|
1862
|
+
px: 2,
|
|
1863
|
+
py: 1,
|
|
1864
|
+
fontSize: 13
|
|
1661
1865
|
}
|
|
1662
1866
|
}
|
|
1663
1867
|
},
|
|
@@ -1665,26 +1869,46 @@ const N = K, oe = {
|
|
|
1665
1869
|
styles: {
|
|
1666
1870
|
display: "inline-block",
|
|
1667
1871
|
b: 1,
|
|
1668
|
-
borderColor: "
|
|
1669
|
-
bgColor: "
|
|
1670
|
-
color: "
|
|
1671
|
-
borderRadius:
|
|
1872
|
+
borderColor: "gray-300",
|
|
1873
|
+
bgColor: "white",
|
|
1874
|
+
color: "gray-900",
|
|
1875
|
+
borderRadius: 2,
|
|
1672
1876
|
p: 3,
|
|
1673
|
-
|
|
1877
|
+
px: 4,
|
|
1674
1878
|
hover: {
|
|
1675
|
-
borderColor: "
|
|
1879
|
+
borderColor: "gray-400"
|
|
1676
1880
|
},
|
|
1677
1881
|
focus: {
|
|
1678
|
-
outline:
|
|
1679
|
-
|
|
1680
|
-
|
|
1882
|
+
outline: 2,
|
|
1883
|
+
outlineOffset: 0,
|
|
1884
|
+
borderColor: "indigo-500",
|
|
1885
|
+
outlineColor: "indigo-200"
|
|
1681
1886
|
},
|
|
1682
1887
|
disabled: {
|
|
1683
1888
|
cursor: "not-allowed",
|
|
1684
|
-
bgColor: "
|
|
1889
|
+
bgColor: "gray-100",
|
|
1685
1890
|
color: "gray-400",
|
|
1686
|
-
borderColor: "gray-
|
|
1891
|
+
borderColor: "gray-200",
|
|
1687
1892
|
resize: "none"
|
|
1893
|
+
},
|
|
1894
|
+
theme: {
|
|
1895
|
+
dark: {
|
|
1896
|
+
bgColor: "gray-800",
|
|
1897
|
+
color: "gray-100",
|
|
1898
|
+
borderColor: "gray-700",
|
|
1899
|
+
hover: {
|
|
1900
|
+
borderColor: "gray-600"
|
|
1901
|
+
},
|
|
1902
|
+
focus: {
|
|
1903
|
+
borderColor: "indigo-400",
|
|
1904
|
+
outlineColor: "indigo-900"
|
|
1905
|
+
},
|
|
1906
|
+
disabled: {
|
|
1907
|
+
bgColor: "gray-900",
|
|
1908
|
+
color: "gray-600",
|
|
1909
|
+
borderColor: "gray-800"
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1688
1912
|
}
|
|
1689
1913
|
}
|
|
1690
1914
|
},
|
|
@@ -1692,34 +1916,64 @@ const N = K, oe = {
|
|
|
1692
1916
|
styles: {
|
|
1693
1917
|
display: "inline-block",
|
|
1694
1918
|
appearance: "none",
|
|
1695
|
-
b:
|
|
1696
|
-
borderColor: "
|
|
1919
|
+
b: 2,
|
|
1920
|
+
borderColor: "gray-300",
|
|
1697
1921
|
borderRadius: 1,
|
|
1698
1922
|
p: 2,
|
|
1699
1923
|
cursor: "pointer",
|
|
1700
|
-
transition: "none",
|
|
1701
1924
|
hover: {
|
|
1702
|
-
borderColor: "
|
|
1925
|
+
borderColor: "indigo-400"
|
|
1703
1926
|
},
|
|
1704
1927
|
focus: {
|
|
1705
1928
|
outline: 2,
|
|
1706
1929
|
outlineOffset: 2,
|
|
1707
|
-
outlineColor: "
|
|
1930
|
+
outlineColor: "indigo-200"
|
|
1708
1931
|
},
|
|
1709
1932
|
checked: {
|
|
1710
|
-
bgColor: "
|
|
1711
|
-
borderColor: "
|
|
1933
|
+
bgColor: "indigo-500",
|
|
1934
|
+
borderColor: "indigo-500",
|
|
1712
1935
|
bgImage: "bg-img-checked"
|
|
1713
1936
|
},
|
|
1714
1937
|
indeterminate: {
|
|
1715
|
-
|
|
1938
|
+
borderColor: "indigo-500",
|
|
1716
1939
|
bgImage: "bg-img-indeterminate"
|
|
1717
1940
|
},
|
|
1718
1941
|
disabled: {
|
|
1719
1942
|
cursor: "not-allowed",
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1943
|
+
borderColor: "gray-200",
|
|
1944
|
+
checked: {
|
|
1945
|
+
bgColor: "gray-300"
|
|
1946
|
+
},
|
|
1947
|
+
hover: {
|
|
1948
|
+
borderColor: "gray-200"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
theme: {
|
|
1952
|
+
dark: {
|
|
1953
|
+
borderColor: "gray-600",
|
|
1954
|
+
hover: {
|
|
1955
|
+
borderColor: "indigo-400"
|
|
1956
|
+
},
|
|
1957
|
+
focus: {
|
|
1958
|
+
outlineColor: "indigo-900"
|
|
1959
|
+
},
|
|
1960
|
+
checked: {
|
|
1961
|
+
bgColor: "indigo-500",
|
|
1962
|
+
borderColor: "indigo-500"
|
|
1963
|
+
},
|
|
1964
|
+
indeterminate: {
|
|
1965
|
+
borderColor: "indigo-500"
|
|
1966
|
+
},
|
|
1967
|
+
disabled: {
|
|
1968
|
+
borderColor: "gray-700",
|
|
1969
|
+
checked: {
|
|
1970
|
+
bgColor: "gray-600"
|
|
1971
|
+
},
|
|
1972
|
+
hover: {
|
|
1973
|
+
borderColor: "gray-700"
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1723
1977
|
}
|
|
1724
1978
|
},
|
|
1725
1979
|
variants: {
|
|
@@ -1730,72 +1984,123 @@ const N = K, oe = {
|
|
|
1730
1984
|
styles: {
|
|
1731
1985
|
appearance: "none",
|
|
1732
1986
|
b: 1,
|
|
1733
|
-
borderColor: "
|
|
1987
|
+
borderColor: "gray-300",
|
|
1734
1988
|
borderRadius: 3,
|
|
1735
1989
|
p: 2,
|
|
1736
1990
|
cursor: "pointer",
|
|
1737
|
-
transition: "none",
|
|
1738
1991
|
hover: {
|
|
1739
|
-
borderColor: "
|
|
1992
|
+
borderColor: "indigo-400"
|
|
1740
1993
|
},
|
|
1741
1994
|
focus: {
|
|
1742
1995
|
outline: 2,
|
|
1743
1996
|
outlineOffset: 2,
|
|
1744
|
-
outlineColor: "
|
|
1997
|
+
outlineColor: "indigo-200"
|
|
1745
1998
|
},
|
|
1746
1999
|
checked: {
|
|
1747
|
-
bgColor: "
|
|
1748
|
-
borderColor: "
|
|
2000
|
+
bgColor: "indigo-500",
|
|
2001
|
+
borderColor: "indigo-500",
|
|
1749
2002
|
bgImage: "bg-img-radio"
|
|
1750
2003
|
},
|
|
1751
2004
|
disabled: {
|
|
2005
|
+
checked: {
|
|
2006
|
+
bgColor: "gray-300",
|
|
2007
|
+
borderColor: "gray-200"
|
|
2008
|
+
},
|
|
1752
2009
|
cursor: "not-allowed",
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
2010
|
+
borderColor: "gray-200",
|
|
2011
|
+
hover: {
|
|
2012
|
+
borderColor: "gray-200"
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
theme: {
|
|
2016
|
+
dark: {
|
|
2017
|
+
borderColor: "gray-600",
|
|
2018
|
+
hover: {
|
|
2019
|
+
borderColor: "indigo-400"
|
|
2020
|
+
},
|
|
2021
|
+
focus: {
|
|
2022
|
+
outlineColor: "indigo-900"
|
|
2023
|
+
},
|
|
2024
|
+
checked: {
|
|
2025
|
+
bgColor: "indigo-500",
|
|
2026
|
+
borderColor: "indigo-500"
|
|
2027
|
+
},
|
|
2028
|
+
disabled: {
|
|
2029
|
+
borderColor: "gray-700",
|
|
2030
|
+
checked: {
|
|
2031
|
+
bgColor: "gray-600"
|
|
2032
|
+
},
|
|
2033
|
+
hover: {
|
|
2034
|
+
borderColor: "gray-700"
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
1756
2038
|
}
|
|
1757
2039
|
}
|
|
1758
2040
|
},
|
|
1759
2041
|
dropdown: {
|
|
1760
2042
|
styles: {
|
|
1761
|
-
display: "inline-
|
|
1762
|
-
|
|
2043
|
+
display: "inline-block",
|
|
2044
|
+
overflow: "hidden",
|
|
2045
|
+
whiteSpace: "nowrap",
|
|
2046
|
+
textOverflow: "ellipsis",
|
|
2047
|
+
textAlign: "left",
|
|
1763
2048
|
gap: 2,
|
|
1764
|
-
jc: "space-between",
|
|
1765
2049
|
p: 3,
|
|
1766
2050
|
cursor: "pointer",
|
|
1767
|
-
bgColor: "
|
|
1768
|
-
color: "
|
|
2051
|
+
bgColor: "white",
|
|
2052
|
+
color: "gray-900",
|
|
1769
2053
|
b: 1,
|
|
1770
|
-
borderColor: "
|
|
1771
|
-
borderRadius:
|
|
2054
|
+
borderColor: "gray-300",
|
|
2055
|
+
borderRadius: 2,
|
|
1772
2056
|
userSelect: "none",
|
|
1773
2057
|
lineHeight: 20,
|
|
1774
|
-
|
|
2058
|
+
width: "fit-content",
|
|
1775
2059
|
transition: "none",
|
|
1776
2060
|
hover: {
|
|
1777
|
-
borderColor: "
|
|
2061
|
+
borderColor: "gray-400"
|
|
1778
2062
|
},
|
|
1779
2063
|
focus: {
|
|
1780
|
-
outline:
|
|
1781
|
-
|
|
1782
|
-
|
|
2064
|
+
outline: 2,
|
|
2065
|
+
outlineOffset: 0,
|
|
2066
|
+
borderColor: "indigo-500",
|
|
2067
|
+
outlineColor: "indigo-200"
|
|
1783
2068
|
},
|
|
1784
2069
|
disabled: {
|
|
1785
2070
|
cursor: "not-allowed",
|
|
1786
|
-
bgColor: "
|
|
2071
|
+
bgColor: "gray-100",
|
|
1787
2072
|
color: "gray-400",
|
|
1788
2073
|
borderColor: "gray-300"
|
|
2074
|
+
},
|
|
2075
|
+
theme: {
|
|
2076
|
+
dark: {
|
|
2077
|
+
bgColor: "gray-800",
|
|
2078
|
+
color: "gray-100",
|
|
2079
|
+
borderColor: "gray-700",
|
|
2080
|
+
hover: {
|
|
2081
|
+
borderColor: "gray-600"
|
|
2082
|
+
},
|
|
2083
|
+
focus: {
|
|
2084
|
+
borderColor: "indigo-400",
|
|
2085
|
+
outlineColor: "indigo-900"
|
|
2086
|
+
},
|
|
2087
|
+
disabled: {
|
|
2088
|
+
bgColor: "gray-900",
|
|
2089
|
+
color: "gray-500",
|
|
2090
|
+
borderColor: "gray-700"
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
},
|
|
2095
|
+
variants: {
|
|
2096
|
+
compact: {
|
|
2097
|
+
px: 2,
|
|
2098
|
+
py: 1,
|
|
2099
|
+
fontSize: 13,
|
|
2100
|
+
height: 7.5
|
|
1789
2101
|
}
|
|
1790
2102
|
},
|
|
1791
2103
|
children: {
|
|
1792
|
-
display: {
|
|
1793
|
-
styles: {
|
|
1794
|
-
whiteSpace: "nowrap",
|
|
1795
|
-
textOverflow: "ellipsis",
|
|
1796
|
-
overflow: "hidden"
|
|
1797
|
-
}
|
|
1798
|
-
},
|
|
1799
2104
|
items: {
|
|
1800
2105
|
styles: {
|
|
1801
2106
|
display: "flex",
|
|
@@ -1803,39 +2108,67 @@ const N = K, oe = {
|
|
|
1803
2108
|
gap: 1,
|
|
1804
2109
|
p: 1,
|
|
1805
2110
|
b: 1,
|
|
1806
|
-
borderRadius:
|
|
2111
|
+
borderRadius: 2,
|
|
1807
2112
|
position: "relative",
|
|
1808
|
-
top: 1,
|
|
1809
2113
|
bgColor: "white",
|
|
1810
2114
|
overflow: "auto",
|
|
1811
2115
|
maxHeight: 62,
|
|
1812
|
-
borderColor: "
|
|
1813
|
-
color: "
|
|
1814
|
-
shadow: "medium"
|
|
2116
|
+
borderColor: "gray-300",
|
|
2117
|
+
color: "gray-900",
|
|
2118
|
+
shadow: "medium",
|
|
2119
|
+
theme: {
|
|
2120
|
+
dark: {
|
|
2121
|
+
bgColor: "gray-800",
|
|
2122
|
+
borderColor: "gray-700",
|
|
2123
|
+
color: "gray-100"
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
1815
2126
|
}
|
|
1816
2127
|
},
|
|
1817
2128
|
item: {
|
|
1818
2129
|
styles: {
|
|
2130
|
+
textWrap: "nowrap",
|
|
1819
2131
|
display: "flex",
|
|
1820
2132
|
width: "fit",
|
|
1821
2133
|
p: 3,
|
|
1822
2134
|
cursor: "pointer",
|
|
1823
2135
|
borderRadius: 1,
|
|
2136
|
+
lineHeight: 20,
|
|
1824
2137
|
hover: {
|
|
1825
2138
|
bgColor: "gray-100"
|
|
1826
2139
|
},
|
|
1827
2140
|
focus: {
|
|
1828
|
-
bgColor: "
|
|
2141
|
+
bgColor: "indigo-50"
|
|
1829
2142
|
},
|
|
1830
2143
|
selected: {
|
|
1831
|
-
bgColor: "
|
|
2144
|
+
bgColor: "indigo-50",
|
|
1832
2145
|
cursor: "default",
|
|
1833
2146
|
hover: {
|
|
1834
|
-
bgColor: "
|
|
2147
|
+
bgColor: "indigo-100"
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
theme: {
|
|
2151
|
+
dark: {
|
|
2152
|
+
hover: {
|
|
2153
|
+
bgColor: "gray-700"
|
|
2154
|
+
},
|
|
2155
|
+
focus: {
|
|
2156
|
+
bgColor: "gray-700"
|
|
2157
|
+
},
|
|
2158
|
+
selected: {
|
|
2159
|
+
bgColor: "indigo-900",
|
|
2160
|
+
hover: {
|
|
2161
|
+
bgColor: "indigo-800"
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
1835
2164
|
}
|
|
1836
2165
|
}
|
|
1837
2166
|
},
|
|
1838
2167
|
variants: {
|
|
2168
|
+
compact: {
|
|
2169
|
+
px: 2,
|
|
2170
|
+
py: 1
|
|
2171
|
+
},
|
|
1839
2172
|
multiple: {
|
|
1840
2173
|
selected: {
|
|
1841
2174
|
cursor: "pointer"
|
|
@@ -1851,16 +2184,36 @@ const N = K, oe = {
|
|
|
1851
2184
|
cursor: "pointer",
|
|
1852
2185
|
lineHeight: 20,
|
|
1853
2186
|
borderRadius: 1,
|
|
1854
|
-
color: "
|
|
2187
|
+
color: "gray-500",
|
|
1855
2188
|
hover: {
|
|
1856
|
-
bgColor: "
|
|
2189
|
+
bgColor: "gray-100"
|
|
1857
2190
|
},
|
|
1858
2191
|
focus: {
|
|
1859
|
-
bgColor: "
|
|
2192
|
+
bgColor: "gray-100"
|
|
1860
2193
|
},
|
|
1861
2194
|
selected: {
|
|
1862
|
-
bgColor: "
|
|
2195
|
+
bgColor: "gray-100",
|
|
1863
2196
|
cursor: "default"
|
|
2197
|
+
},
|
|
2198
|
+
theme: {
|
|
2199
|
+
dark: {
|
|
2200
|
+
color: "gray-400",
|
|
2201
|
+
hover: {
|
|
2202
|
+
bgColor: "gray-700"
|
|
2203
|
+
},
|
|
2204
|
+
focus: {
|
|
2205
|
+
bgColor: "gray-700"
|
|
2206
|
+
},
|
|
2207
|
+
selected: {
|
|
2208
|
+
bgColor: "gray-700"
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
variants: {
|
|
2214
|
+
compact: {
|
|
2215
|
+
px: 2,
|
|
2216
|
+
py: 1
|
|
1864
2217
|
}
|
|
1865
2218
|
}
|
|
1866
2219
|
},
|
|
@@ -1872,16 +2225,36 @@ const N = K, oe = {
|
|
|
1872
2225
|
cursor: "pointer",
|
|
1873
2226
|
lineHeight: 20,
|
|
1874
2227
|
borderRadius: 1,
|
|
1875
|
-
color: "
|
|
2228
|
+
color: "gray-500",
|
|
1876
2229
|
hover: {
|
|
1877
|
-
bgColor: "
|
|
2230
|
+
bgColor: "gray-100"
|
|
1878
2231
|
},
|
|
1879
2232
|
focus: {
|
|
1880
|
-
bgColor: "
|
|
2233
|
+
bgColor: "gray-100"
|
|
1881
2234
|
},
|
|
1882
2235
|
selected: {
|
|
1883
|
-
bgColor: "
|
|
2236
|
+
bgColor: "gray-100",
|
|
1884
2237
|
cursor: "default"
|
|
2238
|
+
},
|
|
2239
|
+
theme: {
|
|
2240
|
+
dark: {
|
|
2241
|
+
color: "gray-400",
|
|
2242
|
+
hover: {
|
|
2243
|
+
bgColor: "gray-700"
|
|
2244
|
+
},
|
|
2245
|
+
focus: {
|
|
2246
|
+
bgColor: "gray-700"
|
|
2247
|
+
},
|
|
2248
|
+
selected: {
|
|
2249
|
+
bgColor: "gray-700"
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
},
|
|
2254
|
+
variants: {
|
|
2255
|
+
compact: {
|
|
2256
|
+
px: 2,
|
|
2257
|
+
py: 1
|
|
1885
2258
|
}
|
|
1886
2259
|
}
|
|
1887
2260
|
},
|
|
@@ -1893,7 +2266,27 @@ const N = K, oe = {
|
|
|
1893
2266
|
cursor: "default",
|
|
1894
2267
|
lineHeight: 20,
|
|
1895
2268
|
borderRadius: 1,
|
|
1896
|
-
color: "
|
|
2269
|
+
color: "gray-400",
|
|
2270
|
+
theme: {
|
|
2271
|
+
dark: {
|
|
2272
|
+
color: "gray-500"
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2276
|
+
variants: {
|
|
2277
|
+
compact: {
|
|
2278
|
+
px: 2,
|
|
2279
|
+
py: 1
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
},
|
|
2283
|
+
icon: {
|
|
2284
|
+
styles: {
|
|
2285
|
+
position: "absolute",
|
|
2286
|
+
top: 0,
|
|
2287
|
+
right: 0,
|
|
2288
|
+
height: "fit",
|
|
2289
|
+
px: 1.5
|
|
1897
2290
|
}
|
|
1898
2291
|
}
|
|
1899
2292
|
}
|
|
@@ -1903,56 +2296,60 @@ const N = K, oe = {
|
|
|
1903
2296
|
styles: {
|
|
1904
2297
|
b: 1,
|
|
1905
2298
|
bgColor: "white",
|
|
1906
|
-
borderColor: "gray-
|
|
2299
|
+
borderColor: "gray-200",
|
|
1907
2300
|
overflow: "hidden",
|
|
1908
|
-
borderRadius:
|
|
2301
|
+
borderRadius: 3,
|
|
2302
|
+
shadow: "large",
|
|
2303
|
+
theme: {
|
|
2304
|
+
dark: {
|
|
2305
|
+
bgColor: "gray-900",
|
|
2306
|
+
borderColor: "gray-800"
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
1909
2309
|
},
|
|
1910
2310
|
children: {
|
|
1911
2311
|
topBar: {
|
|
1912
2312
|
styles: {
|
|
1913
|
-
|
|
2313
|
+
py: 3,
|
|
2314
|
+
px: 4,
|
|
1914
2315
|
bb: 1,
|
|
1915
|
-
borderColor: "gray-
|
|
1916
|
-
color: "gray-
|
|
1917
|
-
gap:
|
|
1918
|
-
ai: "center"
|
|
2316
|
+
borderColor: "gray-200",
|
|
2317
|
+
color: "gray-800",
|
|
2318
|
+
gap: 3,
|
|
2319
|
+
ai: "center",
|
|
2320
|
+
bgColor: "gray-50",
|
|
2321
|
+
theme: {
|
|
2322
|
+
dark: {
|
|
2323
|
+
bgColor: "gray-800",
|
|
2324
|
+
borderColor: "gray-700",
|
|
2325
|
+
color: "gray-200"
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
1919
2328
|
},
|
|
1920
2329
|
children: {
|
|
1921
|
-
|
|
1922
|
-
clean: !0,
|
|
2330
|
+
globalFilter: {
|
|
1923
2331
|
styles: {
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
2332
|
+
display: "flex",
|
|
2333
|
+
ai: "center",
|
|
2334
|
+
gap: 2
|
|
1927
2335
|
},
|
|
1928
2336
|
children: {
|
|
1929
|
-
|
|
2337
|
+
stats: {
|
|
1930
2338
|
styles: {
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
2339
|
+
fontSize: 11,
|
|
2340
|
+
fontWeight: 500,
|
|
2341
|
+
px: 2,
|
|
2342
|
+
py: 1,
|
|
1935
2343
|
borderRadius: 1,
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
overflow: "auto",
|
|
1943
|
-
maxHeight: 100
|
|
1944
|
-
},
|
|
1945
|
-
children: {
|
|
1946
|
-
item: {
|
|
1947
|
-
clean: !0,
|
|
1948
|
-
styles: {
|
|
1949
|
-
display: "flex",
|
|
1950
|
-
gap: 2,
|
|
1951
|
-
p: 3,
|
|
1952
|
-
cursor: "pointer",
|
|
1953
|
-
hover: { bgColor: "gray-200" }
|
|
2344
|
+
bgColor: "violet-100",
|
|
2345
|
+
color: "violet-700",
|
|
2346
|
+
theme: {
|
|
2347
|
+
dark: {
|
|
2348
|
+
bgColor: "violet-900",
|
|
2349
|
+
color: "violet-300"
|
|
1954
2350
|
}
|
|
1955
|
-
}
|
|
2351
|
+
},
|
|
2352
|
+
textWrap: "nowrap"
|
|
1956
2353
|
}
|
|
1957
2354
|
}
|
|
1958
2355
|
}
|
|
@@ -1965,8 +2362,13 @@ const N = K, oe = {
|
|
|
1965
2362
|
children: {
|
|
1966
2363
|
icon: {
|
|
1967
2364
|
styles: {
|
|
1968
|
-
color: "
|
|
1969
|
-
width: 4
|
|
2365
|
+
color: "gray-700",
|
|
2366
|
+
width: 4,
|
|
2367
|
+
theme: {
|
|
2368
|
+
dark: {
|
|
2369
|
+
color: "gray-300"
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
1970
2372
|
}
|
|
1971
2373
|
},
|
|
1972
2374
|
separator: {
|
|
@@ -1977,20 +2379,41 @@ const N = K, oe = {
|
|
|
1977
2379
|
gap: 2,
|
|
1978
2380
|
ai: "center",
|
|
1979
2381
|
b: 1,
|
|
1980
|
-
borderColor: "gray-
|
|
1981
|
-
bgColor: "
|
|
1982
|
-
borderRadius:
|
|
1983
|
-
py:
|
|
1984
|
-
pl:
|
|
1985
|
-
pr:
|
|
1986
|
-
color: "
|
|
2382
|
+
borderColor: "gray-300",
|
|
2383
|
+
bgColor: "white",
|
|
2384
|
+
borderRadius: 2,
|
|
2385
|
+
py: 2,
|
|
2386
|
+
pl: 3,
|
|
2387
|
+
pr: 2,
|
|
2388
|
+
color: "gray-800",
|
|
2389
|
+
fontSize: 14,
|
|
2390
|
+
fontWeight: 500,
|
|
2391
|
+
shadow: "small",
|
|
2392
|
+
theme: {
|
|
2393
|
+
dark: {
|
|
2394
|
+
bgColor: "gray-800",
|
|
2395
|
+
borderColor: "gray-700",
|
|
2396
|
+
color: "gray-200"
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
1987
2399
|
},
|
|
1988
2400
|
children: {
|
|
1989
2401
|
icon: {
|
|
1990
2402
|
styles: {
|
|
1991
2403
|
width: 3,
|
|
1992
|
-
color: "gray-
|
|
1993
|
-
cursor: "pointer"
|
|
2404
|
+
color: "gray-500",
|
|
2405
|
+
cursor: "pointer",
|
|
2406
|
+
hover: {
|
|
2407
|
+
color: "gray-700"
|
|
2408
|
+
},
|
|
2409
|
+
theme: {
|
|
2410
|
+
dark: {
|
|
2411
|
+
color: "gray-400",
|
|
2412
|
+
hover: {
|
|
2413
|
+
color: "gray-200"
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
1994
2417
|
}
|
|
1995
2418
|
}
|
|
1996
2419
|
}
|
|
@@ -1999,6 +2422,64 @@ const N = K, oe = {
|
|
|
1999
2422
|
}
|
|
2000
2423
|
}
|
|
2001
2424
|
},
|
|
2425
|
+
filter: {
|
|
2426
|
+
styles: {},
|
|
2427
|
+
children: {
|
|
2428
|
+
row: {
|
|
2429
|
+
styles: {
|
|
2430
|
+
bgColor: "gray-50",
|
|
2431
|
+
bb: 1,
|
|
2432
|
+
borderColor: "gray-200",
|
|
2433
|
+
theme: {
|
|
2434
|
+
dark: {
|
|
2435
|
+
bgColor: "gray-800",
|
|
2436
|
+
borderColor: "gray-700"
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
cell: {
|
|
2442
|
+
styles: {
|
|
2443
|
+
display: "flex",
|
|
2444
|
+
ai: "center",
|
|
2445
|
+
p: 2,
|
|
2446
|
+
transition: "none"
|
|
2447
|
+
},
|
|
2448
|
+
variants: {
|
|
2449
|
+
isPinned: {
|
|
2450
|
+
position: "sticky",
|
|
2451
|
+
bgColor: "gray-50",
|
|
2452
|
+
zIndex: 2,
|
|
2453
|
+
theme: {
|
|
2454
|
+
dark: {
|
|
2455
|
+
bgColor: "gray-800"
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
isFirstLeftPinned: {},
|
|
2460
|
+
isLastLeftPinned: {
|
|
2461
|
+
br: 1,
|
|
2462
|
+
borderColor: "gray-200",
|
|
2463
|
+
theme: {
|
|
2464
|
+
dark: {
|
|
2465
|
+
borderColor: "gray-700"
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
isFirstRightPinned: {
|
|
2470
|
+
bl: 1,
|
|
2471
|
+
borderColor: "gray-200",
|
|
2472
|
+
theme: {
|
|
2473
|
+
dark: {
|
|
2474
|
+
borderColor: "gray-700"
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
isLastRightPinned: {}
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2002
2483
|
header: {
|
|
2003
2484
|
styles: {
|
|
2004
2485
|
position: "sticky",
|
|
@@ -2006,30 +2487,82 @@ const N = K, oe = {
|
|
|
2006
2487
|
width: "max-content",
|
|
2007
2488
|
minWidth: "fit",
|
|
2008
2489
|
zIndex: 1,
|
|
2009
|
-
bgColor: "gray-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2490
|
+
bgColor: "gray-50",
|
|
2491
|
+
theme: {
|
|
2492
|
+
dark: {
|
|
2493
|
+
bgColor: "gray-800"
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2013
2496
|
},
|
|
2014
2497
|
children: {
|
|
2015
2498
|
cell: {
|
|
2016
2499
|
styles: {
|
|
2017
|
-
borderColor: "gray-
|
|
2500
|
+
borderColor: "gray-200",
|
|
2018
2501
|
bb: 1,
|
|
2019
2502
|
minHeight: 12,
|
|
2020
2503
|
position: "relative",
|
|
2021
|
-
transition: "none"
|
|
2504
|
+
transition: "none",
|
|
2505
|
+
fontSize: 13,
|
|
2506
|
+
fontWeight: 600,
|
|
2507
|
+
color: "gray-800",
|
|
2508
|
+
py: 3.5,
|
|
2509
|
+
theme: {
|
|
2510
|
+
dark: {
|
|
2511
|
+
borderColor: "gray-700",
|
|
2512
|
+
color: "gray-200"
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2022
2515
|
},
|
|
2023
2516
|
variants: {
|
|
2024
|
-
isPinned: {
|
|
2517
|
+
isPinned: {
|
|
2518
|
+
position: "sticky",
|
|
2519
|
+
zIndex: 2,
|
|
2520
|
+
bgColor: "gray-50",
|
|
2521
|
+
theme: {
|
|
2522
|
+
dark: {
|
|
2523
|
+
bgColor: "gray-800"
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
},
|
|
2025
2527
|
isFirstLeftPinned: {},
|
|
2026
|
-
isLastLeftPinned: {
|
|
2027
|
-
|
|
2528
|
+
isLastLeftPinned: {
|
|
2529
|
+
br: 1,
|
|
2530
|
+
borderColor: "gray-200",
|
|
2531
|
+
theme: {
|
|
2532
|
+
dark: {
|
|
2533
|
+
borderColor: "gray-700"
|
|
2534
|
+
}
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2537
|
+
isFirstRightPinned: {
|
|
2538
|
+
bl: 1,
|
|
2539
|
+
borderColor: "gray-200",
|
|
2540
|
+
theme: {
|
|
2541
|
+
dark: {
|
|
2542
|
+
borderColor: "gray-700"
|
|
2543
|
+
}
|
|
2544
|
+
}
|
|
2545
|
+
},
|
|
2028
2546
|
isLastRightPinned: {},
|
|
2029
|
-
isSortable: {
|
|
2547
|
+
isSortable: {
|
|
2548
|
+
cursor: "pointer",
|
|
2549
|
+
hover: {
|
|
2550
|
+
bgColor: "gray-100"
|
|
2551
|
+
},
|
|
2552
|
+
theme: {
|
|
2553
|
+
dark: {
|
|
2554
|
+
hover: {
|
|
2555
|
+
bgColor: "gray-800"
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2030
2560
|
isRowSelected: {},
|
|
2031
2561
|
isRowSelection: {},
|
|
2032
|
-
isRowNumber: { jc: "center" }
|
|
2562
|
+
isRowNumber: { jc: "center" },
|
|
2563
|
+
isFirstLeaf: {},
|
|
2564
|
+
isLastLeaf: {},
|
|
2565
|
+
isEmptyCell: {}
|
|
2033
2566
|
},
|
|
2034
2567
|
children: {
|
|
2035
2568
|
contextMenu: {
|
|
@@ -2045,7 +2578,14 @@ const N = K, oe = {
|
|
|
2045
2578
|
jc: "center",
|
|
2046
2579
|
ai: "center",
|
|
2047
2580
|
transition: "none",
|
|
2048
|
-
|
|
2581
|
+
color: "gray-600",
|
|
2582
|
+
hover: { bgColor: "gray-300" },
|
|
2583
|
+
theme: {
|
|
2584
|
+
dark: {
|
|
2585
|
+
color: "gray-400",
|
|
2586
|
+
hover: { bgColor: "gray-700" }
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2049
2589
|
},
|
|
2050
2590
|
children: {
|
|
2051
2591
|
icon: {
|
|
@@ -2054,20 +2594,23 @@ const N = K, oe = {
|
|
|
2054
2594
|
tooltip: {
|
|
2055
2595
|
styles: {
|
|
2056
2596
|
bgColor: "white",
|
|
2597
|
+
color: "gray-900",
|
|
2057
2598
|
width: 56,
|
|
2058
2599
|
b: 1,
|
|
2059
2600
|
borderColor: "gray-300",
|
|
2060
|
-
borderRadius:
|
|
2601
|
+
borderRadius: 3,
|
|
2061
2602
|
display: "flex",
|
|
2062
2603
|
d: "column",
|
|
2063
|
-
mt: 4,
|
|
2064
2604
|
py: 2,
|
|
2065
2605
|
overflow: "hidden",
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2606
|
+
shadow: "medium",
|
|
2607
|
+
theme: {
|
|
2608
|
+
dark: {
|
|
2609
|
+
bgColor: "gray-800",
|
|
2610
|
+
borderColor: "gray-700",
|
|
2611
|
+
color: "gray-100"
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2071
2614
|
},
|
|
2072
2615
|
children: {
|
|
2073
2616
|
item: {
|
|
@@ -2077,13 +2620,37 @@ const N = K, oe = {
|
|
|
2077
2620
|
gap: 2,
|
|
2078
2621
|
p: 3,
|
|
2079
2622
|
cursor: "pointer",
|
|
2080
|
-
|
|
2623
|
+
color: "gray-900",
|
|
2624
|
+
hover: { bgColor: "violet-50" },
|
|
2625
|
+
theme: {
|
|
2626
|
+
dark: {
|
|
2627
|
+
color: "gray-100",
|
|
2628
|
+
hover: { bgColor: "gray-700" }
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2081
2631
|
},
|
|
2082
2632
|
children: {
|
|
2083
2633
|
icon: {
|
|
2084
2634
|
styles: {
|
|
2085
2635
|
width: 4,
|
|
2086
|
-
color: "violet-950"
|
|
2636
|
+
color: "violet-950",
|
|
2637
|
+
theme: {
|
|
2638
|
+
dark: {
|
|
2639
|
+
color: "violet-300"
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2644
|
+
separator: {
|
|
2645
|
+
styles: {
|
|
2646
|
+
bb: 1,
|
|
2647
|
+
my: 2,
|
|
2648
|
+
borderColor: "gray-300",
|
|
2649
|
+
theme: {
|
|
2650
|
+
dark: {
|
|
2651
|
+
borderColor: "gray-700"
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2087
2654
|
}
|
|
2088
2655
|
}
|
|
2089
2656
|
}
|
|
@@ -2110,308 +2677,443 @@ const N = K, oe = {
|
|
|
2110
2677
|
cell: {
|
|
2111
2678
|
styles: {
|
|
2112
2679
|
bb: 1,
|
|
2113
|
-
borderColor: "gray-
|
|
2680
|
+
borderColor: "gray-200",
|
|
2114
2681
|
transition: "none",
|
|
2115
2682
|
ai: "center",
|
|
2116
|
-
hoverGroup: {
|
|
2683
|
+
hoverGroup: {
|
|
2684
|
+
"grid-row": {
|
|
2685
|
+
bgColor: "gray-100"
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2688
|
+
theme: {
|
|
2689
|
+
dark: {
|
|
2690
|
+
borderColor: "gray-800",
|
|
2691
|
+
hoverGroup: {
|
|
2692
|
+
"grid-row": {
|
|
2693
|
+
bgColor: "gray-700"
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2117
2698
|
},
|
|
2118
2699
|
variants: {
|
|
2119
|
-
isPinned: {
|
|
2700
|
+
isPinned: {
|
|
2701
|
+
position: "sticky",
|
|
2702
|
+
bgColor: "white",
|
|
2703
|
+
zIndex: 1,
|
|
2704
|
+
theme: {
|
|
2705
|
+
dark: {
|
|
2706
|
+
bgColor: "gray-900"
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2120
2710
|
isFirstLeftPinned: {},
|
|
2121
|
-
isLastLeftPinned: {
|
|
2122
|
-
|
|
2711
|
+
isLastLeftPinned: {
|
|
2712
|
+
br: 1,
|
|
2713
|
+
borderColor: "gray-200",
|
|
2714
|
+
theme: {
|
|
2715
|
+
dark: {
|
|
2716
|
+
borderColor: "gray-800"
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
isFirstRightPinned: {
|
|
2721
|
+
bl: 1,
|
|
2722
|
+
borderColor: "gray-200",
|
|
2723
|
+
theme: {
|
|
2724
|
+
dark: {
|
|
2725
|
+
borderColor: "gray-800"
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
},
|
|
2123
2729
|
isLastRightPinned: {},
|
|
2124
|
-
isRowNumber: {
|
|
2730
|
+
isRowNumber: { jc: "right" },
|
|
2125
2731
|
isRowSelection: {},
|
|
2126
|
-
isRowSelected: {}
|
|
2732
|
+
isRowSelected: {},
|
|
2733
|
+
isFirstLeaf: {},
|
|
2734
|
+
isLastLeaf: {},
|
|
2735
|
+
isEmptyCell: {}
|
|
2127
2736
|
}
|
|
2128
2737
|
}
|
|
2129
2738
|
}
|
|
2130
2739
|
},
|
|
2131
2740
|
bottomBar: {
|
|
2132
2741
|
styles: {
|
|
2133
|
-
|
|
2134
|
-
|
|
2742
|
+
py: 3,
|
|
2743
|
+
px: 4,
|
|
2744
|
+
lineHeight: 36,
|
|
2745
|
+
bgColor: "gray-50",
|
|
2135
2746
|
bt: 1,
|
|
2136
|
-
borderColor: "gray-
|
|
2137
|
-
gap: 4
|
|
2747
|
+
borderColor: "gray-200",
|
|
2748
|
+
gap: 4,
|
|
2749
|
+
ai: "center",
|
|
2750
|
+
fontSize: 14,
|
|
2751
|
+
color: "gray-800",
|
|
2752
|
+
theme: {
|
|
2753
|
+
dark: {
|
|
2754
|
+
bgColor: "gray-800",
|
|
2755
|
+
borderColor: "gray-700",
|
|
2756
|
+
color: "gray-200"
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2138
2759
|
}
|
|
2139
2760
|
}
|
|
2140
2761
|
}
|
|
2141
2762
|
}
|
|
2142
2763
|
};
|
|
2143
|
-
var
|
|
2764
|
+
var J;
|
|
2144
2765
|
((e) => {
|
|
2145
|
-
function
|
|
2146
|
-
return
|
|
2147
|
-
|
|
2148
|
-
}), Object.entries(n).forEach(([
|
|
2149
|
-
const
|
|
2150
|
-
|
|
2151
|
-
}), { extendedProps:
|
|
2766
|
+
function r(a, t, n) {
|
|
2767
|
+
return d.setUserVariables(a), Object.entries(t).forEach(([s, u]) => {
|
|
2768
|
+
L[s] = u;
|
|
2769
|
+
}), Object.entries(n).forEach(([s, u]) => {
|
|
2770
|
+
const i = L[s];
|
|
2771
|
+
L[s] = i ? [...u, ...i] : u;
|
|
2772
|
+
}), { extendedProps: t, extendedPropTypes: n };
|
|
2152
2773
|
}
|
|
2153
|
-
e.extend =
|
|
2154
|
-
function
|
|
2155
|
-
return e.componentsStyles =
|
|
2774
|
+
e.extend = r, e.componentsStyles = se;
|
|
2775
|
+
function l(a) {
|
|
2776
|
+
return e.componentsStyles = S.mergeDeep(se, a), a;
|
|
2156
2777
|
}
|
|
2157
|
-
e.components =
|
|
2158
|
-
})(
|
|
2159
|
-
const
|
|
2778
|
+
e.components = l;
|
|
2779
|
+
})(J || (J = {}));
|
|
2780
|
+
const $e = J, Q = we.createContext({ theme: "", setTheme: () => {
|
|
2160
2781
|
} });
|
|
2161
|
-
function
|
|
2162
|
-
const { children:
|
|
2163
|
-
return
|
|
2164
|
-
if (
|
|
2165
|
-
const
|
|
2166
|
-
return
|
|
2167
|
-
|
|
2782
|
+
function ee(e) {
|
|
2783
|
+
const { children: r, theme: l, use: a = "local" } = e, [t, n] = de(l);
|
|
2784
|
+
return ae(() => {
|
|
2785
|
+
if (a === "local") return;
|
|
2786
|
+
const s = document.documentElement;
|
|
2787
|
+
return s.classList.add(t), () => {
|
|
2788
|
+
s.classList.remove(t);
|
|
2168
2789
|
};
|
|
2169
|
-
}, [
|
|
2790
|
+
}, [t, a]), a === "local" ? /* @__PURE__ */ z(Q.Provider, { value: { theme: t, setTheme: n }, children: /* @__PURE__ */ z(Ne, { className: t, children: r }) }) : /* @__PURE__ */ z(Q.Provider, { value: { theme: t, setTheme: n }, children: r });
|
|
2170
2791
|
}
|
|
2171
2792
|
((e) => {
|
|
2172
|
-
function
|
|
2173
|
-
const { theme:
|
|
2174
|
-
return [
|
|
2793
|
+
function r() {
|
|
2794
|
+
const { theme: l, setTheme: a } = xe(Q);
|
|
2795
|
+
return [l, a];
|
|
2175
2796
|
}
|
|
2176
|
-
e.useTheme =
|
|
2177
|
-
})(
|
|
2178
|
-
const
|
|
2179
|
-
class
|
|
2797
|
+
e.useTheme = r;
|
|
2798
|
+
})(ee || (ee = {}));
|
|
2799
|
+
const ze = ee;
|
|
2800
|
+
class ke {
|
|
2180
2801
|
constructor() {
|
|
2181
2802
|
this._index = 0, this._cache = {};
|
|
2182
2803
|
}
|
|
2183
|
-
getIdentity(
|
|
2184
|
-
return this._cache[
|
|
2804
|
+
getIdentity(r) {
|
|
2805
|
+
return this._cache[r] || (this._cache[r] = this.getByIndex(this._index++)), this._cache[r];
|
|
2185
2806
|
}
|
|
2186
|
-
getByIndex(
|
|
2187
|
-
const { first:
|
|
2188
|
-
if (
|
|
2189
|
-
return r
|
|
2190
|
-
const n = Math.floor(
|
|
2191
|
-
return this.getByIndex(n) +
|
|
2807
|
+
getByIndex(r) {
|
|
2808
|
+
const { first: l, next: a } = Re, t = r - l.length;
|
|
2809
|
+
if (t < 0)
|
|
2810
|
+
return l[r];
|
|
2811
|
+
const n = Math.floor(t / a.length), s = t - n * a.length;
|
|
2812
|
+
return this.getByIndex(n) + a[s];
|
|
2192
2813
|
}
|
|
2193
2814
|
}
|
|
2194
|
-
const
|
|
2815
|
+
const Re = {
|
|
2195
2816
|
first: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
|
2196
2817
|
next: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
|
2197
2818
|
};
|
|
2198
|
-
function
|
|
2199
|
-
const { clean:
|
|
2200
|
-
return
|
|
2201
|
-
if (
|
|
2202
|
-
const
|
|
2203
|
-
if (!
|
|
2204
|
-
const n =
|
|
2819
|
+
function Se(e) {
|
|
2820
|
+
const { clean: r, component: l, variant: a } = e;
|
|
2821
|
+
return le(() => {
|
|
2822
|
+
if (r) return;
|
|
2823
|
+
const t = l?.split(".");
|
|
2824
|
+
if (!t) return;
|
|
2825
|
+
const n = t.reduce((i, m, f) => f === 0 ? $e.componentsStyles[m] : i?.children?.[m], void 0);
|
|
2205
2826
|
if (!n) return;
|
|
2206
|
-
if (!
|
|
2207
|
-
const
|
|
2208
|
-
if (
|
|
2209
|
-
const
|
|
2210
|
-
return n.styles ?
|
|
2211
|
-
}, [
|
|
2827
|
+
if (!a) return n.styles;
|
|
2828
|
+
const s = fe(a);
|
|
2829
|
+
if (s.length === 0) return n.styles;
|
|
2830
|
+
const u = S.mergeDeep(...s.map((i) => n.variants?.[i]));
|
|
2831
|
+
return n.styles ? S.mergeDeep(n.styles, u) : u;
|
|
2832
|
+
}, [r, l, a]);
|
|
2212
2833
|
}
|
|
2213
|
-
const
|
|
2214
|
-
function
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
return O.addClassNames(i, o, []), o;
|
|
2220
|
-
}, [e, t, r]);
|
|
2834
|
+
const Ae = new ke(), Oe = typeof window < "u" && typeof window.document < "u", H = typeof process == "object" && process.env?.NODE_ENV === "test", je = Oe && !H ? ae : ge, be = "_b", I = "_s";
|
|
2835
|
+
function He(e, r) {
|
|
2836
|
+
const l = Se(e), a = le(() => l ? S.mergeDeep(l, e) : e, [e, l]), t = [r ? I : be];
|
|
2837
|
+
return B.addClassNames(a, t, []), je(() => {
|
|
2838
|
+
B.flush();
|
|
2839
|
+
}, [a]), t;
|
|
2221
2840
|
}
|
|
2222
|
-
var
|
|
2841
|
+
var B;
|
|
2223
2842
|
((e) => {
|
|
2224
|
-
let
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2843
|
+
let r = !0, l = !1;
|
|
2844
|
+
const a = /* @__PURE__ */ new Set(), t = [], n = [];
|
|
2845
|
+
let s = 0;
|
|
2846
|
+
const u = Object.keys(L).reduce((b, h, w) => (b[h] = w, b), {});
|
|
2847
|
+
let i = {};
|
|
2848
|
+
function m(b, h, w, p, g) {
|
|
2849
|
+
Object.entries(b).forEach(([v, c]) => {
|
|
2850
|
+
if (S.isKeyOf(v, L))
|
|
2851
|
+
x(v, c, h, w, p, g);
|
|
2852
|
+
else if (S.isKeyOf(v, me))
|
|
2853
|
+
m(c, h, [...w, v], p, g);
|
|
2854
|
+
else if (S.isKeyOf(v, U)) {
|
|
2855
|
+
if (Array.isArray(c)) {
|
|
2856
|
+
const [F, N] = c;
|
|
2857
|
+
m(N, h, [...w, v], p, g);
|
|
2235
2858
|
}
|
|
2236
|
-
|
|
2237
|
-
} else
|
|
2238
|
-
|
|
2859
|
+
S.isObject(c) && m(c, h, [...w, v], p, g);
|
|
2860
|
+
} else S.isKeyOf(v, D) ? m(c, h, w, v, g) : S.isKeyOf(v, P) ? Object.entries(c).forEach(([F, N]) => {
|
|
2861
|
+
m(N, h, [...w, P[v]], p, F);
|
|
2862
|
+
}) : S.isKeyOf(v, ie) && Object.entries(c).forEach(([F, N]) => {
|
|
2863
|
+
const $ = [...w, ie[v]];
|
|
2864
|
+
Object.entries(N).forEach(([V, O]) => {
|
|
2865
|
+
S.isKeyOf(V, P) ? Object.entries(O).forEach(([G, j]) => {
|
|
2866
|
+
m(
|
|
2867
|
+
j,
|
|
2868
|
+
h,
|
|
2869
|
+
[...$, P[V]],
|
|
2870
|
+
p,
|
|
2871
|
+
// Use | as separator to distinguish theme from group name
|
|
2872
|
+
`${F}|${G}`
|
|
2873
|
+
);
|
|
2874
|
+
}) : m({ [V]: O }, h, $, p, F);
|
|
2875
|
+
});
|
|
2239
2876
|
});
|
|
2240
2877
|
});
|
|
2241
2878
|
}
|
|
2242
|
-
e.addClassNames =
|
|
2243
|
-
function
|
|
2244
|
-
|
|
2879
|
+
e.addClassNames = m;
|
|
2880
|
+
function f() {
|
|
2881
|
+
const b = d.hasPendingVariables();
|
|
2882
|
+
if (!r && !b) return;
|
|
2245
2883
|
console.debug("\x1B[36m%s\x1B[0m", "[react-box]: flush");
|
|
2246
|
-
const
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2884
|
+
const h = K(), w = h.sheet;
|
|
2885
|
+
if (l) {
|
|
2886
|
+
if (d.hasPendingVariables()) {
|
|
2887
|
+
const p = d.getPendingVariables(), g = `:root{${Object.entries(p).map(([v, c]) => `--${v}: ${c};`).join("")}}`;
|
|
2888
|
+
if (w && !H)
|
|
2889
|
+
try {
|
|
2890
|
+
w.insertRule(g, 0), s++;
|
|
2891
|
+
} catch {
|
|
2892
|
+
}
|
|
2893
|
+
else
|
|
2894
|
+
h.textContent = g + `
|
|
2895
|
+
` + h.textContent;
|
|
2896
|
+
}
|
|
2897
|
+
} else {
|
|
2898
|
+
const p = [
|
|
2899
|
+
`:root{${d.generateVariables()}}`,
|
|
2900
|
+
":root{--borderColor: black;--outlineColor: black;--lineHeight: 1.2;--fontSize: 14px;--transitionTime: 0.25s;--svgTransitionTime: 0.3s;}",
|
|
2901
|
+
"#crono-box {position: absolute;top: 0;left: 0;height: 0;z-index:99999;}",
|
|
2902
|
+
"html{font-size: 16px;font-family: Arial, sans-serif;}",
|
|
2903
|
+
"body{margin: 0;line-height: var(--lineHeight);font-size: var(--fontSize);}",
|
|
2904
|
+
"a,ul{all: unset;}",
|
|
2905
|
+
"button{color: inherit;}",
|
|
2906
|
+
'input[type="number"]{-moz-appearance: textfield;}',
|
|
2907
|
+
'input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{-webkit-appearance: none;margin: 0;}',
|
|
2908
|
+
`.${be}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;background-color: initial;transition: all var(--transitionTime);box-sizing: border-box;font-family: inherit;font-size: inherit;}`,
|
|
2909
|
+
`.${I}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}`,
|
|
2910
|
+
`.${I} path,.${I} circle,.${I} rect,.${I} line {transition: all var(--svgTransitionTime);}`
|
|
2911
|
+
];
|
|
2912
|
+
if (w && !H)
|
|
2913
|
+
for (const g of p)
|
|
2914
|
+
try {
|
|
2915
|
+
w.insertRule(g, s), s++;
|
|
2916
|
+
} catch {
|
|
2917
|
+
}
|
|
2918
|
+
else
|
|
2919
|
+
h.textContent = p.join(`
|
|
2920
|
+
`);
|
|
2921
|
+
l = !0;
|
|
2922
|
+
}
|
|
2923
|
+
if (t.length > 0) {
|
|
2924
|
+
if (t.sort((p, g) => p[1] - g[1] || p[0] - g[0]), w && !H)
|
|
2925
|
+
for (const [p, g, v] of t) {
|
|
2926
|
+
const c = g * 1e5 + p;
|
|
2927
|
+
let F = n.length;
|
|
2928
|
+
for (let N = 0; N < n.length; N++)
|
|
2929
|
+
if (c < n[N]) {
|
|
2930
|
+
F = N;
|
|
2931
|
+
break;
|
|
2932
|
+
}
|
|
2933
|
+
try {
|
|
2934
|
+
w.insertRule(v, s + F), n.splice(F, 0, c);
|
|
2935
|
+
} catch {
|
|
2936
|
+
w.insertRule(v, w.cssRules.length), n.push(c);
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2939
|
+
else
|
|
2940
|
+
h.textContent += t.map((p) => p[2]).join("");
|
|
2941
|
+
t.length = 0;
|
|
2942
|
+
}
|
|
2943
|
+
r = !1;
|
|
2944
|
+
}
|
|
2945
|
+
e.flush = f;
|
|
2946
|
+
function y(b, h, w, p, g) {
|
|
2947
|
+
const c = L[b].find((V) => Array.isArray(V.values) ? V.values.includes(h) : typeof h == typeof V.values);
|
|
2948
|
+
if (!c) return null;
|
|
2949
|
+
const F = u[b] ?? 0, N = D[p] ?? 0, $ = C(
|
|
2950
|
+
b,
|
|
2951
|
+
h,
|
|
2952
|
+
w,
|
|
2953
|
+
p,
|
|
2954
|
+
g
|
|
2279
2955
|
);
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2956
|
+
if (g) {
|
|
2957
|
+
const V = q[w], O = V.includes("theme"), j = (O ? V.filter((E) => E !== "theme") : V).map((E) => W[E]).join(""), M = g.includes("|");
|
|
2958
|
+
let A;
|
|
2959
|
+
if (M) {
|
|
2960
|
+
const [E, Ce] = g.split("|");
|
|
2961
|
+
A = `.${E} .${Ce}${j} .${$}`;
|
|
2962
|
+
} else O ? A = `.${g} .${$}${j}` : A = `.${g}${j} .${$}`;
|
|
2963
|
+
const he = c.selector?.(A, "") ?? A, ve = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], pe = c.valueFormat?.(h, d.getVariableValue) ?? h, ne = `${he}{${ve.map((E) => `${E}:${pe}`).join(";")}}`;
|
|
2964
|
+
return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${ne}}`, sortIndex: F, breakpointOrder: N } : { rule: ne, sortIndex: F, breakpointOrder: N };
|
|
2965
|
+
} else {
|
|
2966
|
+
const V = q[w].map((A) => W[A]).join(""), O = c.selector?.(`.${$}`, V) ?? `.${$}${V}`, G = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], j = c.valueFormat?.(h, d.getVariableValue) ?? h, M = `${O}{${G.map((A) => `${A}:${j}`).join(";")}}`;
|
|
2967
|
+
return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${M}}`, sortIndex: F, breakpointOrder: N } : { rule: M, sortIndex: F, breakpointOrder: N };
|
|
2968
|
+
}
|
|
2283
2969
|
}
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
r = {};
|
|
2970
|
+
function k() {
|
|
2971
|
+
i = {}, a.clear(), t.length = 0, n.length = 0, s = 0, l = !1;
|
|
2287
2972
|
}
|
|
2288
|
-
e.clear =
|
|
2289
|
-
function
|
|
2290
|
-
if (
|
|
2291
|
-
const
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2973
|
+
e.clear = k;
|
|
2974
|
+
function x(b, h, w, p, g = "normal", v) {
|
|
2975
|
+
if (h == null) return;
|
|
2976
|
+
const c = p.reduce(($, V) => $ + ye[V], 0), F = C(b, h, c, g, v), N = `${g}-${c}-${b}-${h}-${v ?? ""}`;
|
|
2977
|
+
if (!a.has(N)) {
|
|
2978
|
+
a.add(N);
|
|
2979
|
+
const $ = y(b, h, c, g, v);
|
|
2980
|
+
$ && (t.push([$.sortIndex, $.breakpointOrder, $.rule]), r = !0), i[g] ? i[g][c] ? i[g][c][b] || (i[g][c][b] = /* @__PURE__ */ new Set()) : i[g][c] = { [b]: /* @__PURE__ */ new Set() } : i[g] = { [c]: { [b]: /* @__PURE__ */ new Set() } }, v ? (i[g][c].__parents ? i[g][c].__parents[v] ? i[g][c].__parents[v][b] || (i[g][c].__parents[v][b] = /* @__PURE__ */ new Set()) : i[g][c].__parents[v] = { [b]: /* @__PURE__ */ new Set() } : i[g][c].__parents = { [v]: { [b]: /* @__PURE__ */ new Set() } }, i[g][c].__parents[v][b].add(h)) : i[g][c][b].add(h);
|
|
2981
|
+
}
|
|
2982
|
+
w.push(F);
|
|
2295
2983
|
}
|
|
2296
|
-
function
|
|
2297
|
-
const
|
|
2298
|
-
return
|
|
2984
|
+
function C(b, h, w, p, g) {
|
|
2985
|
+
const v = q[w], c = `${p === "normal" ? "" : `${p}-`}${v.map((F) => `${F}-`).join("")}${g ? `${g}-` : ""}${b}-${h}`;
|
|
2986
|
+
return H ? c : Ae.getIdentity(c);
|
|
2299
2987
|
}
|
|
2300
|
-
const
|
|
2301
|
-
function
|
|
2302
|
-
let
|
|
2303
|
-
return
|
|
2988
|
+
const R = "crono-styles";
|
|
2989
|
+
function K() {
|
|
2990
|
+
let b = document.getElementById(R);
|
|
2991
|
+
return b || (b = document.createElement("style"), b.setAttribute("id", R), b.setAttribute("type", "text/css"), document.head.insertBefore(b, document.head.firstChild)), b;
|
|
2304
2992
|
}
|
|
2305
|
-
})(
|
|
2306
|
-
var
|
|
2993
|
+
})(B || (B = {}));
|
|
2994
|
+
var ue;
|
|
2307
2995
|
((e) => {
|
|
2308
|
-
e.flush =
|
|
2309
|
-
})(
|
|
2996
|
+
e.flush = B.flush, e.clear = B.clear;
|
|
2997
|
+
})(ue || (ue = {}));
|
|
2310
2998
|
Array.prototype.removeBy || (Array.prototype.removeBy = function(e) {
|
|
2311
|
-
return this.filter((
|
|
2999
|
+
return this.filter((r) => !e(r));
|
|
2312
3000
|
});
|
|
2313
|
-
Array.prototype.take || (Array.prototype.take = function(e,
|
|
2314
|
-
return this.slice(
|
|
3001
|
+
Array.prototype.take || (Array.prototype.take = function(e, r = 0) {
|
|
3002
|
+
return this.slice(r, r + e);
|
|
2315
3003
|
});
|
|
2316
3004
|
Array.prototype.add || (Array.prototype.add = function(...e) {
|
|
2317
|
-
const
|
|
2318
|
-
return
|
|
3005
|
+
const r = [...this];
|
|
3006
|
+
return r.push(...e), r;
|
|
2319
3007
|
});
|
|
2320
|
-
Array.prototype.sumBy || (Array.prototype.sumBy = function(e,
|
|
2321
|
-
return this.reduce((
|
|
3008
|
+
Array.prototype.sumBy || (Array.prototype.sumBy = function(e, r = 0) {
|
|
3009
|
+
return this.reduce((l, a, t) => l + e(a, t), r);
|
|
2322
3010
|
});
|
|
2323
|
-
Array.prototype.sortBy || (Array.prototype.sortBy = function(e,
|
|
2324
|
-
return [...this].sort((
|
|
2325
|
-
const n = e(
|
|
2326
|
-
return n <
|
|
3011
|
+
Array.prototype.sortBy || (Array.prototype.sortBy = function(e, r) {
|
|
3012
|
+
return [...this].sort((a, t) => {
|
|
3013
|
+
const n = e(a), s = e(t);
|
|
3014
|
+
return n < s ? r === "DESC" ? 1 : -1 : n > s ? r === "DESC" ? -1 : 1 : 0;
|
|
2327
3015
|
});
|
|
2328
3016
|
});
|
|
2329
3017
|
Array.prototype.maxBy || (Array.prototype.maxBy = function(e) {
|
|
2330
3018
|
return Math.max(...this.map(e));
|
|
2331
3019
|
});
|
|
2332
3020
|
Array.prototype.findOrThrow || (Array.prototype.findOrThrow = function(e) {
|
|
2333
|
-
const
|
|
2334
|
-
if (typeof
|
|
2335
|
-
return
|
|
3021
|
+
const r = this.find(e);
|
|
3022
|
+
if (typeof r > "u") throw new Error("No items satisfy the provided condition.");
|
|
3023
|
+
return r;
|
|
2336
3024
|
});
|
|
2337
3025
|
Array.prototype.toRecord || (Array.prototype.toRecord = function(e) {
|
|
2338
3026
|
return this.reduce(
|
|
2339
|
-
(
|
|
2340
|
-
const
|
|
2341
|
-
if (!
|
|
2342
|
-
const [
|
|
2343
|
-
return t
|
|
3027
|
+
(r, l) => {
|
|
3028
|
+
const a = e(l);
|
|
3029
|
+
if (!a) return r;
|
|
3030
|
+
const [t, n] = a;
|
|
3031
|
+
return r[t] = n, r;
|
|
2344
3032
|
},
|
|
2345
3033
|
{}
|
|
2346
3034
|
);
|
|
2347
3035
|
});
|
|
2348
|
-
Array.prototype.groupBy || (Array.prototype.groupBy = function(e,
|
|
2349
|
-
const
|
|
2350
|
-
const
|
|
2351
|
-
return
|
|
3036
|
+
Array.prototype.groupBy || (Array.prototype.groupBy = function(e, r = !1) {
|
|
3037
|
+
const l = this.reduce((a, t, n) => {
|
|
3038
|
+
const s = e(t, n);
|
|
3039
|
+
return r && typeof s != "number" && !s || (a.has(s) === !1 && a.set(s, []), a.get(s)?.push(t)), a;
|
|
2352
3040
|
}, /* @__PURE__ */ new Map());
|
|
2353
|
-
return Array.from(
|
|
3041
|
+
return Array.from(l, ([a, t]) => ({ key: a, values: t }));
|
|
2354
3042
|
});
|
|
2355
|
-
function
|
|
2356
|
-
const { node:
|
|
2357
|
-
return
|
|
2358
|
-
function
|
|
2359
|
-
(
|
|
3043
|
+
function Ge(e) {
|
|
3044
|
+
const { node: r = null, event: l = "click", hideOnScroll: a = !1, hideOnResize: t = !1, hideOnEscape: n = !0 } = e ?? {}, [s, u] = de(!1), i = Fe(null);
|
|
3045
|
+
return ge(() => {
|
|
3046
|
+
function m(C) {
|
|
3047
|
+
(r ?? i.current)?.contains(C.target) === !1 && u(!1);
|
|
2360
3048
|
}
|
|
2361
|
-
function
|
|
2362
|
-
|
|
3049
|
+
function f() {
|
|
3050
|
+
u(!1);
|
|
2363
3051
|
}
|
|
2364
|
-
function
|
|
2365
|
-
(
|
|
3052
|
+
function y(C) {
|
|
3053
|
+
(r ?? i.current)?.contains(C.target) === !1 && u(!1);
|
|
2366
3054
|
}
|
|
2367
|
-
function
|
|
2368
|
-
|
|
3055
|
+
function k(C) {
|
|
3056
|
+
C.key === "Escape" && u(!1);
|
|
2369
3057
|
}
|
|
2370
|
-
const
|
|
2371
|
-
return
|
|
2372
|
-
|
|
3058
|
+
const x = new AbortController();
|
|
3059
|
+
return s && (window.addEventListener(l, m, x), n && window.addEventListener("keydown", k, x), t && window.addEventListener("resize", f, x), a && window.addEventListener("scroll", y, { signal: x.signal, capture: !0 })), () => {
|
|
3060
|
+
x.abort();
|
|
2373
3061
|
};
|
|
2374
|
-
}, [
|
|
3062
|
+
}, [r, s]), [s, u, i];
|
|
2375
3063
|
}
|
|
2376
3064
|
const Ee = {
|
|
2377
3065
|
selected: "aria-selected"
|
|
2378
3066
|
};
|
|
2379
|
-
var
|
|
2380
|
-
((e) => {
|
|
2381
|
-
function t(r, o, i) {
|
|
2382
|
-
r !== void 0 && r != null && (i[Ee[o] ?? o] = Array.isArray(r) ? r[0] : r);
|
|
2383
|
-
}
|
|
2384
|
-
e.assignBooleanProp = t;
|
|
2385
|
-
})(se || (se = {}));
|
|
2386
|
-
var Y;
|
|
3067
|
+
var ce;
|
|
2387
3068
|
((e) => {
|
|
2388
|
-
function
|
|
2389
|
-
|
|
2390
|
-
return (...u) => {
|
|
2391
|
-
if (i) {
|
|
2392
|
-
n = u;
|
|
2393
|
-
return;
|
|
2394
|
-
}
|
|
2395
|
-
r(...u), i = !0, setTimeout(() => {
|
|
2396
|
-
i = !1, n && r(...n);
|
|
2397
|
-
}, o);
|
|
2398
|
-
};
|
|
3069
|
+
function r(l, a, t) {
|
|
3070
|
+
l !== void 0 && l != null && (t[Ee[a] ?? a] = Array.isArray(l) ? l[0] : l);
|
|
2399
3071
|
}
|
|
2400
|
-
e.
|
|
2401
|
-
})(
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
let t;
|
|
3072
|
+
e.assignBooleanProp = r;
|
|
3073
|
+
})(ce || (ce = {}));
|
|
3074
|
+
function Me(e) {
|
|
3075
|
+
let r;
|
|
2405
3076
|
return Object.defineProperty({
|
|
2406
3077
|
clear() {
|
|
2407
|
-
|
|
3078
|
+
r = void 0;
|
|
2408
3079
|
}
|
|
2409
3080
|
}, "value", {
|
|
2410
|
-
get: () => (
|
|
3081
|
+
get: () => (r === void 0 && (r = e()), r)
|
|
2411
3082
|
});
|
|
2412
3083
|
}
|
|
3084
|
+
function Ie(e, r) {
|
|
3085
|
+
if (!e) return { score: 1, matches: [] };
|
|
3086
|
+
if (!r) return null;
|
|
3087
|
+
const l = e.toLowerCase(), a = r.toLowerCase();
|
|
3088
|
+
let t = 0, n = 0;
|
|
3089
|
+
const s = [];
|
|
3090
|
+
let u = -1, i = 0, m = 0;
|
|
3091
|
+
for (; t < l.length && n < a.length; )
|
|
3092
|
+
l[t] === a[n] ? (u === -1 && (u = n), t++, m++, i += m, (n === 0 || /\s|_|-/.test(r[n - 1])) && (i += 5), e[t - 1] === r[n] && (i += 1)) : (u !== -1 && (s.push([u, n]), u = -1), m = 0), n++;
|
|
3093
|
+
return u !== -1 && s.push([u, n]), t < l.length ? null : (i = i / r.length, { score: i, matches: s });
|
|
3094
|
+
}
|
|
3095
|
+
function Pe(e, r) {
|
|
3096
|
+
return Ie(e, r) !== null;
|
|
3097
|
+
}
|
|
3098
|
+
var re;
|
|
3099
|
+
((e) => {
|
|
3100
|
+
function r(l, a = 300) {
|
|
3101
|
+
let t = !1, n;
|
|
3102
|
+
return (...s) => {
|
|
3103
|
+
if (t) {
|
|
3104
|
+
n = s;
|
|
3105
|
+
return;
|
|
3106
|
+
}
|
|
3107
|
+
l(...s), t = !0, setTimeout(() => {
|
|
3108
|
+
t = !1, n && l(...n);
|
|
3109
|
+
}, a);
|
|
3110
|
+
};
|
|
3111
|
+
}
|
|
3112
|
+
e.throttle = r;
|
|
3113
|
+
})(re || (re = {}));
|
|
3114
|
+
const De = re;
|
|
2413
3115
|
function Ue(e) {
|
|
2414
|
-
return /* @__PURE__ */
|
|
3116
|
+
return /* @__PURE__ */ z(T, { viewBox: "4 2 16 18", width: "1rem", fill: "currentColor", ...e, children: /* @__PURE__ */ z(
|
|
2415
3117
|
"path",
|
|
2416
3118
|
{
|
|
2417
3119
|
fillRule: "evenodd",
|
|
@@ -2420,11 +3122,27 @@ function Ue(e) {
|
|
|
2420
3122
|
}
|
|
2421
3123
|
) });
|
|
2422
3124
|
}
|
|
2423
|
-
|
|
2424
|
-
|
|
3125
|
+
const _ = /* @__PURE__ */ new Map();
|
|
3126
|
+
function We() {
|
|
3127
|
+
const [e] = ze.useTheme(), r = le(() => {
|
|
3128
|
+
const l = "crono-box";
|
|
3129
|
+
let a = document.getElementById(l);
|
|
3130
|
+
return a || (a = document.createElement("div"), a.id = l, document.body.appendChild(a)), a;
|
|
3131
|
+
}, []);
|
|
3132
|
+
return ae(() => {
|
|
3133
|
+
if (!e) return;
|
|
3134
|
+
const l = _.get(e) ?? 0;
|
|
3135
|
+
return _.set(e, l + 1), l === 0 && r.classList.add(e), () => {
|
|
3136
|
+
const t = (_.get(e) ?? 1) - 1;
|
|
3137
|
+
t <= 0 ? (_.delete(e), r.classList.remove(e)) : _.set(e, t);
|
|
3138
|
+
};
|
|
3139
|
+
}, [r, e]), r;
|
|
3140
|
+
}
|
|
3141
|
+
function Ke(e) {
|
|
3142
|
+
return /* @__PURE__ */ z(T, { ...e, children: /* @__PURE__ */ z("path", { d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" }) });
|
|
2425
3143
|
}
|
|
2426
|
-
function
|
|
2427
|
-
return /* @__PURE__ */
|
|
3144
|
+
function qe(e) {
|
|
3145
|
+
return /* @__PURE__ */ z(T, { viewBox: "0 0 16 16", width: "18", ...e, children: /* @__PURE__ */ z(
|
|
2428
3146
|
"path",
|
|
2429
3147
|
{
|
|
2430
3148
|
strokeWidth: 4,
|
|
@@ -2432,97 +3150,85 @@ function Ge(e) {
|
|
|
2432
3150
|
}
|
|
2433
3151
|
) });
|
|
2434
3152
|
}
|
|
2435
|
-
function
|
|
2436
|
-
return /* @__PURE__ */
|
|
2437
|
-
/* @__PURE__ */ h("path", { d: "M151.549 145.274c0 23.39 9.145 50.385 24.462 72.214 17.389 24.78 39.376 38.427 61.911 38.427 22.534 0 44.521-13.647 61.91-38.428 15.317-21.828 24.462-48.824 24.462-72.213 0-47.626-38.746-86.372-86.372-86.372s-86.373 38.746-86.373 86.372zm86.373-71.372c39.354 0 71.372 32.018 71.372 71.372 0 20.118-8.33 44.487-21.74 63.598-14.29 20.364-32.38 32.043-49.632 32.043-17.252 0-35.342-11.679-49.632-32.043-13.41-19.11-21.741-43.479-21.741-63.598 0-39.355 32.018-71.372 71.373-71.372z" }),
|
|
2438
|
-
/* @__PURE__ */ h("path", { d: "M302.372 239.167a7.502 7.502 0 0 0-8.52 1.461c-16.775 16.728-36.117 25.569-55.935 25.569-19.821 0-39.158-8.841-55.923-25.567a7.5 7.5 0 0 0-8.521-1.463c-25.254 12.022-46.628 30.829-61.811 54.388-15.596 24.2-23.84 52.277-23.84 81.195v.121c0 2.116.894 4.134 2.461 5.556 40.492 36.722 92.922 56.945 147.633 56.945s107.141-20.224 147.632-56.945a7.499 7.499 0 0 0 2.462-5.556v-.121c0-28.918-8.242-56.995-23.834-81.194-15.179-23.561-36.551-42.368-61.804-54.389zm-64.454 183.205c-49.861 0-97.685-18.023-135.057-50.827.583-24.896 7.956-48.986 21.411-69.865 12.741-19.77 30.322-35.823 51.058-46.676 18.746 17.157 40.285 26.193 62.588 26.193 22.3 0 43.842-9.035 62.598-26.193 20.734 10.853 38.313 26.906 51.053 46.676 13.452 20.877 20.823 44.968 21.406 69.865-37.373 32.804-85.197 50.827-135.057 50.827z" }),
|
|
2439
|
-
/* @__PURE__ */ h("path", { d: "M455.077 243.89c-13.23-20.532-31.856-36.923-53.864-47.399a7.501 7.501 0 0 0-8.52 1.461c-14.312 14.271-30.79 21.815-47.654 21.815-9.142 0-18.184-2.205-26.873-6.553a7.5 7.5 0 0 0-6.712 13.414c10.793 5.401 22.093 8.139 33.586 8.139 19.335 0 38.004-7.737 54.288-22.437a116.088 116.088 0 0 1 43.141 39.685c11.445 17.763 17.756 38.243 18.338 59.416-18.524 16.158-40.553 28.449-63.91 35.634a7.5 7.5 0 0 0 4.41 14.338c26.509-8.154 51.435-22.362 72.082-41.088a7.499 7.499 0 0 0 2.462-5.556v-.105c-.001-25.204-7.185-49.674-20.774-70.764zM130.493 210.473c7.93 0 15.841-1.934 23.516-5.748a7.5 7.5 0 0 0-6.675-13.433c-5.582 2.774-11.248 4.18-16.841 4.18-14.541 0-29.836-9.914-41.964-27.2-11.449-16.318-18.562-37.112-18.562-54.266 0-33.375 27.152-60.527 60.526-60.527 15.752 0 30.67 6.022 42.006 16.958a7.499 7.499 0 0 0 10.604-.19 7.499 7.499 0 0 0-.19-10.604c-14.146-13.647-32.763-21.163-52.42-21.163-41.646 0-75.526 33.881-75.526 75.527 0 20.38 7.957 43.887 21.283 62.881 15.195 21.657 34.459 33.585 54.243 33.585z" }),
|
|
2440
|
-
/* @__PURE__ */ h("path", { d: "M61.034 340.143a175.333 175.333 0 0 1-45.989-29.004c.582-21.112 6.875-41.53 18.291-59.243a115.795 115.795 0 0 1 43.01-39.566c16.239 14.662 34.856 22.376 54.139 22.376 11.587 0 22.969-2.785 33.829-8.277a7.501 7.501 0 0 0-6.77-13.386c-8.742 4.421-17.846 6.663-27.059 6.663-16.811 0-33.238-7.522-47.504-21.754a7.501 7.501 0 0 0-8.521-1.462c-21.954 10.451-40.534 26.8-53.733 47.28C7.167 264.811 0 289.221 0 314.362v.103c0 2.116.894 4.134 2.461 5.556 15.629 14.174 33.338 25.579 52.634 33.897a7.481 7.481 0 0 0 2.966.615 7.503 7.503 0 0 0 2.973-14.39zM69.854 351.003c-2.671 6.443 4.532 12.832 10.617 9.387 3.238-1.834 4.683-5.937 3.227-9.385-2.407-6.145-11.378-5.952-13.844-.002z" }),
|
|
2441
|
-
/* @__PURE__ */ h("path", { d: "M83.698 351.005c.19.45-.18-.46 0 0zM303.345 70.438c11.336-10.936 26.254-16.958 42.006-16.958 33.374 0 60.526 27.152 60.526 60.527 0 17.154-7.112 37.947-18.563 54.266-12.128 17.286-27.424 27.2-41.964 27.2-5.593 0-11.259-1.406-16.841-4.18a7.5 7.5 0 0 0-6.676 13.433c7.675 3.814 15.587 5.748 23.517 5.748 19.783 0 39.048-11.927 54.243-33.585 13.327-18.994 21.283-42.501 21.283-62.881 0-41.646-33.881-75.527-75.526-75.527-19.657 0-38.273 7.516-52.42 21.163a7.5 7.5 0 0 0 10.415 10.794z" })
|
|
2442
|
-
] });
|
|
3153
|
+
function Xe(e) {
|
|
3154
|
+
return /* @__PURE__ */ z(T, { viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ z("path", { d: "M3 5h8v2H3V5zm0 6h8v2H3v-2zm0 6h8v2H3v-2zm12-12h6v6h-6V5zm1 1v4h4V6h-4zm-1 7h6v6h-6v-6zm1 1v4h4v-4h-4z" }) });
|
|
2443
3155
|
}
|
|
2444
|
-
function
|
|
2445
|
-
return /* @__PURE__ */
|
|
3156
|
+
function Ye(e) {
|
|
3157
|
+
return /* @__PURE__ */ z(T, { viewBox: "0 0 1024 1024", ...e, children: /* @__PURE__ */ z("path", { d: "M31.997 1023.957a31.699 31.699 0 0 1-22.611-9.386C3.328 1008.556 0 1000.493 0 991.96s3.328-16.596 9.386-22.611L328.25 650.484l-152.52-152.52a95.907 95.907 0 0 1-25.087-92.152 95.31 95.31 0 0 1 44.327-58.62l.896-.512a353.464 353.464 0 0 1 176.156-47.398c20.137 0 40.36 1.749 60.283 5.205L597.71 44.54A95.224 95.224 0 0 1 678.685.085c25.64 0 49.745 9.983 67.877 28.073l249.195 249.195a95.224 95.224 0 0 1 25.897 88.74 95.139 95.139 0 0 1-42.152 60.154L719.513 591.695a352.227 352.227 0 0 1-42.663 237.292A95.395 95.395 0 0 1 594 876.514a95.523 95.523 0 0 1-67.963-28.2L373.43 695.706 54.61 1014.614a31.912 31.912 0 0 1-22.612 9.343zm340.025-660.68c-50.64 0-100.685 13.566-144.798 39.207a31.57 31.57 0 0 0-14.676 19.497 31.699 31.699 0 0 0 8.362 30.675L571.344 803.09c6.059 6.059 14.122 9.386 22.697 9.386a31.699 31.699 0 0 0 27.56-15.785 287.421 287.421 0 0 0 31.06-212.676 31.997 31.997 0 0 1 13.907-34.471l278.59-177.266a31.57 31.57 0 0 0 14.037-20.051 31.699 31.699 0 0 0-8.618-29.566l-249.28-249.28a31.912 31.912 0 0 0-49.618 5.418l-177.308 278.59a31.827 31.827 0 0 1-34.472 13.908 293.778 293.778 0 0 0-67.877-8.02z" }) });
|
|
2446
3158
|
}
|
|
2447
|
-
var
|
|
3159
|
+
var te;
|
|
2448
3160
|
((e) => {
|
|
2449
|
-
function
|
|
2450
|
-
return
|
|
3161
|
+
function r(l) {
|
|
3162
|
+
return l.charAt(0).toUpperCase() + l.slice(1);
|
|
2451
3163
|
}
|
|
2452
|
-
e.capitalize =
|
|
2453
|
-
})(
|
|
2454
|
-
const
|
|
2455
|
-
function
|
|
2456
|
-
return
|
|
2457
|
-
const e = "crono-box";
|
|
2458
|
-
let t = document.getElementById(e);
|
|
2459
|
-
return t || (t = document.createElement("div"), t.id = e, document.body.appendChild(t)), t;
|
|
2460
|
-
}, []);
|
|
2461
|
-
}
|
|
2462
|
-
function Ze(e) {
|
|
2463
|
-
return /* @__PURE__ */ h(B, { viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ h("path", { d: "M4.238 2.988a1.25 1.25 0 0 0-.87 2.147L10.231 12l-6.87 6.87a1.251 1.251 0 1 0 1.769 1.769L12 13.768l6.865 6.865a1.25 1.25 0 1 0 1.768-1.768L13.768 12l6.857-6.857a1.25 1.25 0 1 0-1.768-1.768L12 10.232 5.135 3.367a1.25 1.25 0 0 0-.897-.379z" }) });
|
|
3164
|
+
e.capitalize = r;
|
|
3165
|
+
})(te || (te = {}));
|
|
3166
|
+
const Ze = te;
|
|
3167
|
+
function Je(e) {
|
|
3168
|
+
return /* @__PURE__ */ z(T, { viewBox: "0 0 488.4 488.4", ...e, children: /* @__PURE__ */ z("path", { d: "M0 203.25c0 112.1 91.2 203.2 203.2 203.2 51.6 0 98.8-19.4 134.7-51.2l129.5 129.5c2.4 2.4 5.5 3.6 8.7 3.6s6.3-1.2 8.7-3.6c4.8-4.8 4.8-12.5 0-17.3l-129.6-129.5c31.8-35.9 51.2-83 51.2-134.7C406.4 91.15 315.2.05 203.2.05S0 91.15 0 203.25zm381.9 0c0 98.5-80.2 178.7-178.7 178.7s-178.7-80.2-178.7-178.7 80.2-178.7 178.7-178.7 178.7 80.1 178.7 178.7z" }) });
|
|
2464
3169
|
}
|
|
2465
|
-
var
|
|
3170
|
+
var oe;
|
|
2466
3171
|
((e) => {
|
|
2467
|
-
function
|
|
2468
|
-
const
|
|
2469
|
-
(n,
|
|
2470
|
-
const
|
|
2471
|
-
return
|
|
3172
|
+
function r(a) {
|
|
3173
|
+
const t = Array.from(a.elements).reduce(
|
|
3174
|
+
(n, s) => {
|
|
3175
|
+
const u = s.name;
|
|
3176
|
+
return u && (n[u] || (n[u] = []), n[u].push(s)), n;
|
|
2472
3177
|
},
|
|
2473
3178
|
{}
|
|
2474
3179
|
);
|
|
2475
|
-
return Object.entries(
|
|
2476
|
-
if (
|
|
2477
|
-
const
|
|
2478
|
-
|
|
3180
|
+
return Object.entries(t).reduce((n, [s, u]) => {
|
|
3181
|
+
if (u.length === 1) {
|
|
3182
|
+
const i = u[0];
|
|
3183
|
+
l(n, s, i.type === "checkbox" || i.type === "radio" ? i.checked : i.value);
|
|
2479
3184
|
} else {
|
|
2480
|
-
const
|
|
2481
|
-
|
|
3185
|
+
const i = u.reduce((m, f) => (f.type === "checkbox" || f.type === "radio" ? f.checked && m.push(f.value) : m.push(f.value), m), []);
|
|
3186
|
+
l(n, s, i);
|
|
2482
3187
|
}
|
|
2483
3188
|
return n;
|
|
2484
3189
|
}, {});
|
|
2485
3190
|
}
|
|
2486
|
-
e.getFormEntries =
|
|
2487
|
-
function
|
|
2488
|
-
if (
|
|
2489
|
-
const
|
|
2490
|
-
let
|
|
2491
|
-
|
|
2492
|
-
if (
|
|
2493
|
-
const
|
|
2494
|
-
if (
|
|
2495
|
-
const [,
|
|
2496
|
-
|
|
3191
|
+
e.getFormEntries = r;
|
|
3192
|
+
function l(a, t, n) {
|
|
3193
|
+
if (t.includes(".")) {
|
|
3194
|
+
const s = t.split(".");
|
|
3195
|
+
let u = a;
|
|
3196
|
+
s.forEach((i, m) => {
|
|
3197
|
+
if (s.length > m + 1) {
|
|
3198
|
+
const f = i.match(/^(.+)\[(\d)\]$/);
|
|
3199
|
+
if (f) {
|
|
3200
|
+
const [, y, k] = f;
|
|
3201
|
+
u[y] = u[y] || [], u[y][k] = u[y][k] || {}, u = u[y][k];
|
|
2497
3202
|
} else
|
|
2498
|
-
|
|
3203
|
+
u[i] = u[i] || {}, u = u[i];
|
|
2499
3204
|
} else
|
|
2500
|
-
|
|
3205
|
+
u[i] = n;
|
|
2501
3206
|
});
|
|
2502
3207
|
} else
|
|
2503
|
-
|
|
3208
|
+
a[t] = n;
|
|
2504
3209
|
}
|
|
2505
|
-
})(
|
|
2506
|
-
const
|
|
3210
|
+
})(oe || (oe = {}));
|
|
3211
|
+
const Qe = oe;
|
|
2507
3212
|
export {
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
Ge as D,
|
|
3213
|
+
ce as B,
|
|
3214
|
+
qe as D,
|
|
2511
3215
|
Ue as E,
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
3216
|
+
De as F,
|
|
3217
|
+
Xe as G,
|
|
3218
|
+
S as O,
|
|
3219
|
+
Ye as P,
|
|
3220
|
+
Ke as S,
|
|
3221
|
+
ze as T,
|
|
3222
|
+
d as V,
|
|
3223
|
+
$e as a,
|
|
3224
|
+
Ge as b,
|
|
3225
|
+
fe as c,
|
|
3226
|
+
Je as d,
|
|
3227
|
+
Qe as e,
|
|
3228
|
+
Pe as f,
|
|
3229
|
+
Ze as g,
|
|
3230
|
+
We as h,
|
|
3231
|
+
ue as i,
|
|
3232
|
+
Me as m,
|
|
3233
|
+
He as u
|
|
2528
3234
|
};
|