@cronocode/react-box 3.1.2 → 3.1.6
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/components/dataGrid/components/dataGridCell.d.ts +1 -1
- package/components/dataGrid/components/dataGridColumnFilter.d.ts +11 -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 +57 -0
- package/components/dataGrid/models/columnModel.d.ts +1 -0
- package/components/dataGrid/models/gridModel.d.ts +53 -1
- package/components/dataGrid/models/groupRowModel.d.ts +2 -0
- package/components/dataGrid.cjs +1 -1
- package/components/dataGrid.mjs +694 -284
- package/components/dropdown.cjs +1 -1
- package/components/dropdown.d.ts +4 -1
- package/components/dropdown.mjs +158 -149
- 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 +66 -31
- package/core/extends/boxComponents.d.ts +812 -153
- package/core/variables.d.ts +25 -1
- package/core.cjs +3 -7
- package/core.mjs +1542 -681
- package/hooks/useVirtualization.d.ts +43 -0
- package/package.json +7 -5
- package/ssg.cjs +1 -1
- package/ssg.mjs +28 -20
- package/types.d.ts +6 -5
- package/utils/string/fuzzySearch.d.ts +27 -0
package/core.mjs
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
function
|
|
6
|
-
return e.reduce((
|
|
7
|
-
|
|
8
|
-
}),
|
|
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";
|
|
4
|
+
import Ne from "./box.mjs";
|
|
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, o]) => {
|
|
7
|
+
o && r.push(a);
|
|
8
|
+
}), r) : r, []);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
11
|
-
var
|
|
10
|
+
const Y = 4;
|
|
11
|
+
var t;
|
|
12
12
|
((e) => {
|
|
13
|
-
((
|
|
14
|
-
function
|
|
15
|
-
return `${
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
function o
|
|
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(o, n) {
|
|
15
|
+
return `${o}${n.replace("/", "-")}`;
|
|
16
|
+
}
|
|
17
|
+
r.fraction = l;
|
|
18
|
+
function a(o) {
|
|
19
|
+
return [`${o} path`, `${o} circle`, `${o} rect`, `${o} line`];
|
|
20
|
+
}
|
|
21
|
+
r.svg = a;
|
|
22
|
+
})(e.ClassName || (e.ClassName = {})), ((r) => {
|
|
23
|
+
function l(x, C, R = Y) {
|
|
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 o(x) {
|
|
32
|
+
const [C, R] = x.split("/");
|
|
33
|
+
return `${+C / +R * 100}%`;
|
|
34
|
+
}
|
|
35
|
+
r.fraction = o;
|
|
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
|
+
})(t || (t = {}));
|
|
77
|
+
var X;
|
|
78
78
|
((e) => {
|
|
79
79
|
e.colors = {
|
|
80
80
|
currentColor: "currentColor",
|
|
@@ -328,7 +328,21 @@ var G;
|
|
|
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 G;
|
|
|
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
|
-
|
|
371
|
-
|
|
403
|
+
none: "none"
|
|
404
|
+
}, ...e.colors, ...e.bgImages, ...e.shadows }, a = {}, o = {};
|
|
405
|
+
let n = {};
|
|
406
|
+
function s(y) {
|
|
407
|
+
return y in a || (y in n ? (o[y] = n[y], a[y] = n[y]) : y in l ? (o[y] = l[y], a[y] = l[y]) : (o[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("");
|
|
412
|
+
}
|
|
413
|
+
e.generateVariables = u;
|
|
414
|
+
function i() {
|
|
415
|
+
const y = { ...o };
|
|
416
|
+
return Object.keys(o).forEach((k) => delete o[k]), y;
|
|
372
417
|
}
|
|
373
|
-
e.
|
|
374
|
-
function
|
|
375
|
-
return Object.
|
|
418
|
+
e.getPendingVariables = i;
|
|
419
|
+
function m() {
|
|
420
|
+
return Object.keys(o).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
|
+
})(X || (X = {}));
|
|
428
|
+
const d = X, 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 = G, S = {
|
|
|
392
437
|
{
|
|
393
438
|
values: 0,
|
|
394
439
|
styleName: "border-width",
|
|
395
|
-
valueFormat:
|
|
440
|
+
valueFormat: t.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 = G, S = {
|
|
|
400
445
|
{
|
|
401
446
|
values: 0,
|
|
402
447
|
styleName: "border-inline-width",
|
|
403
|
-
valueFormat:
|
|
448
|
+
valueFormat: t.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 = G, S = {
|
|
|
408
453
|
{
|
|
409
454
|
values: 0,
|
|
410
455
|
styleName: "border-block-width",
|
|
411
|
-
valueFormat:
|
|
456
|
+
valueFormat: t.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 = G, S = {
|
|
|
416
461
|
{
|
|
417
462
|
values: 0,
|
|
418
463
|
styleName: "border-top-width",
|
|
419
|
-
valueFormat:
|
|
464
|
+
valueFormat: t.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 = G, S = {
|
|
|
424
469
|
{
|
|
425
470
|
values: 0,
|
|
426
471
|
styleName: "border-right-width",
|
|
427
|
-
valueFormat:
|
|
472
|
+
valueFormat: t.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 = G, S = {
|
|
|
432
477
|
{
|
|
433
478
|
values: 0,
|
|
434
479
|
styleName: "border-bottom-width",
|
|
435
|
-
valueFormat:
|
|
480
|
+
valueFormat: t.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 = G, S = {
|
|
|
440
485
|
{
|
|
441
486
|
values: 0,
|
|
442
487
|
styleName: "border-left-width",
|
|
443
|
-
valueFormat:
|
|
488
|
+
valueFormat: t.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 = G, S = {
|
|
|
455
500
|
{
|
|
456
501
|
styleName: "border-radius",
|
|
457
502
|
values: 0,
|
|
458
|
-
valueFormat:
|
|
503
|
+
valueFormat: t.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 = G, S = {
|
|
|
463
508
|
{
|
|
464
509
|
values: 0,
|
|
465
510
|
styleName: ["border-top-left-radius", "border-top-right-radius"],
|
|
466
|
-
valueFormat:
|
|
511
|
+
valueFormat: t.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 = G, S = {
|
|
|
471
516
|
{
|
|
472
517
|
values: 0,
|
|
473
518
|
styleName: ["border-top-right-radius", "border-bottom-right-radius"],
|
|
474
|
-
valueFormat:
|
|
519
|
+
valueFormat: t.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 = G, S = {
|
|
|
479
524
|
{
|
|
480
525
|
values: 0,
|
|
481
526
|
styleName: ["border-bottom-left-radius", "border-bottom-right-radius"],
|
|
482
|
-
valueFormat:
|
|
527
|
+
valueFormat: t.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 = G, S = {
|
|
|
487
532
|
{
|
|
488
533
|
values: 0,
|
|
489
534
|
styleName: ["border-top-left-radius", "border-bottom-left-radius"],
|
|
490
|
-
valueFormat:
|
|
535
|
+
valueFormat: t.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 = G, S = {
|
|
|
495
540
|
{
|
|
496
541
|
values: 0,
|
|
497
542
|
styleName: "border-top-left-radius",
|
|
498
|
-
valueFormat:
|
|
543
|
+
valueFormat: t.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 = G, S = {
|
|
|
503
548
|
{
|
|
504
549
|
values: 0,
|
|
505
550
|
styleName: "border-top-right-radius",
|
|
506
|
-
valueFormat:
|
|
551
|
+
valueFormat: t.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 = G, S = {
|
|
|
511
556
|
{
|
|
512
557
|
values: 0,
|
|
513
558
|
styleName: "border-bottom-right-radius",
|
|
514
|
-
valueFormat:
|
|
559
|
+
valueFormat: t.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 = G, S = {
|
|
|
519
564
|
{
|
|
520
565
|
values: 0,
|
|
521
566
|
styleName: "border-bottom-left-radius",
|
|
522
|
-
valueFormat:
|
|
567
|
+
valueFormat: t.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 = G, S = {
|
|
|
532
577
|
top: [
|
|
533
578
|
{
|
|
534
579
|
values: 0,
|
|
535
|
-
valueFormat:
|
|
580
|
+
valueFormat: t.Value.rem
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
values: d.percentages,
|
|
584
|
+
valueFormat: t.Value.fraction
|
|
536
585
|
},
|
|
537
586
|
{
|
|
538
|
-
values:
|
|
539
|
-
valueFormat:
|
|
587
|
+
values: d.negativePercentages,
|
|
588
|
+
valueFormat: t.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: t.Value.rem
|
|
547
596
|
},
|
|
548
597
|
{
|
|
549
|
-
values:
|
|
550
|
-
valueFormat:
|
|
598
|
+
values: d.percentages,
|
|
599
|
+
valueFormat: t.Value.fraction
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
values: d.negativePercentages,
|
|
603
|
+
valueFormat: t.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: t.Value.rem
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
values: d.percentages,
|
|
614
|
+
valueFormat: t.Value.fraction
|
|
558
615
|
},
|
|
559
616
|
{
|
|
560
|
-
values:
|
|
561
|
-
valueFormat:
|
|
617
|
+
values: d.negativePercentages,
|
|
618
|
+
valueFormat: t.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: t.Value.rem
|
|
569
626
|
},
|
|
570
627
|
{
|
|
571
|
-
values:
|
|
572
|
-
valueFormat:
|
|
628
|
+
values: d.percentages,
|
|
629
|
+
valueFormat: t.Value.fraction
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
values: d.negativePercentages,
|
|
633
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
755
816
|
{
|
|
756
817
|
styleName: "font-size",
|
|
757
818
|
values: 0,
|
|
758
|
-
valueFormat: (e) =>
|
|
819
|
+
valueFormat: (e) => t.Value.rem(e, void 0, 16)
|
|
759
820
|
},
|
|
760
821
|
{
|
|
761
822
|
styleName: "font-size",
|
|
@@ -780,7 +841,7 @@ const y = G, S = {
|
|
|
780
841
|
gap: [
|
|
781
842
|
{
|
|
782
843
|
values: 0,
|
|
783
|
-
valueFormat:
|
|
844
|
+
valueFormat: t.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 = G, S = {
|
|
|
788
849
|
{
|
|
789
850
|
styleName: "row-gap",
|
|
790
851
|
values: 0,
|
|
791
|
-
valueFormat:
|
|
852
|
+
valueFormat: t.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 = G, S = {
|
|
|
796
857
|
{
|
|
797
858
|
styleName: "column-gap",
|
|
798
859
|
values: 0,
|
|
799
|
-
valueFormat:
|
|
860
|
+
valueFormat: t.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 = G, S = {
|
|
|
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: t.Value.rem },
|
|
812
873
|
{
|
|
813
874
|
values: ["fit"],
|
|
814
875
|
valueFormat: () => "100%"
|
|
@@ -818,8 +879,8 @@ const y = G, S = {
|
|
|
818
879
|
valueFormat: () => "100vh"
|
|
819
880
|
},
|
|
820
881
|
{
|
|
821
|
-
values:
|
|
822
|
-
valueFormat:
|
|
882
|
+
values: d.percentages,
|
|
883
|
+
valueFormat: t.Value.fraction
|
|
823
884
|
},
|
|
824
885
|
{
|
|
825
886
|
values: ["auto", "fit-content", "max-content", "min-content"]
|
|
@@ -827,7 +888,7 @@ const y = G, S = {
|
|
|
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: t.Value.rem },
|
|
831
892
|
{
|
|
832
893
|
styleName: "min-height",
|
|
833
894
|
values: ["fit"],
|
|
@@ -840,8 +901,8 @@ const y = G, S = {
|
|
|
840
901
|
},
|
|
841
902
|
{
|
|
842
903
|
styleName: "min-height",
|
|
843
|
-
values:
|
|
844
|
-
valueFormat:
|
|
904
|
+
values: d.percentages,
|
|
905
|
+
valueFormat: t.Value.fraction
|
|
845
906
|
},
|
|
846
907
|
{
|
|
847
908
|
styleName: "min-height",
|
|
@@ -850,7 +911,7 @@ const y = G, S = {
|
|
|
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: t.Value.rem },
|
|
854
915
|
{
|
|
855
916
|
styleName: "max-height",
|
|
856
917
|
values: ["fit"],
|
|
@@ -863,8 +924,8 @@ const y = G, S = {
|
|
|
863
924
|
},
|
|
864
925
|
{
|
|
865
926
|
styleName: "max-height",
|
|
866
|
-
values:
|
|
867
|
-
valueFormat:
|
|
927
|
+
values: d.percentages,
|
|
928
|
+
valueFormat: t.Value.fraction
|
|
868
929
|
},
|
|
869
930
|
{
|
|
870
931
|
styleName: "max-height",
|
|
@@ -873,7 +934,7 @@ const y = G, S = {
|
|
|
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: t.Value.rem },
|
|
877
938
|
{
|
|
878
939
|
values: ["fit"],
|
|
879
940
|
valueFormat: () => "100%"
|
|
@@ -883,8 +944,8 @@ const y = G, S = {
|
|
|
883
944
|
valueFormat: () => "100vw"
|
|
884
945
|
},
|
|
885
946
|
{
|
|
886
|
-
values:
|
|
887
|
-
valueFormat:
|
|
947
|
+
values: d.percentages,
|
|
948
|
+
valueFormat: t.Value.fraction
|
|
888
949
|
},
|
|
889
950
|
{
|
|
890
951
|
values: ["auto", "fit-content", "max-content", "min-content"]
|
|
@@ -892,7 +953,7 @@ const y = G, S = {
|
|
|
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: t.Value.rem },
|
|
896
957
|
{
|
|
897
958
|
styleName: "min-width",
|
|
898
959
|
values: ["fit"],
|
|
@@ -905,8 +966,8 @@ const y = G, S = {
|
|
|
905
966
|
},
|
|
906
967
|
{
|
|
907
968
|
styleName: "min-width",
|
|
908
|
-
values:
|
|
909
|
-
valueFormat:
|
|
969
|
+
values: d.percentages,
|
|
970
|
+
valueFormat: t.Value.fraction
|
|
910
971
|
},
|
|
911
972
|
{
|
|
912
973
|
styleName: "min-width",
|
|
@@ -915,7 +976,7 @@ const y = G, S = {
|
|
|
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: t.Value.rem },
|
|
919
980
|
{
|
|
920
981
|
styleName: "max-width",
|
|
921
982
|
values: ["fit"],
|
|
@@ -928,8 +989,8 @@ const y = G, S = {
|
|
|
928
989
|
},
|
|
929
990
|
{
|
|
930
991
|
styleName: "max-width",
|
|
931
|
-
values:
|
|
932
|
-
valueFormat:
|
|
992
|
+
values: d.percentages,
|
|
993
|
+
valueFormat: t.Value.fraction
|
|
933
994
|
},
|
|
934
995
|
{
|
|
935
996
|
styleName: "max-width",
|
|
@@ -941,7 +1002,7 @@ const y = G, S = {
|
|
|
941
1002
|
{
|
|
942
1003
|
styleName: "letter-spacing",
|
|
943
1004
|
values: 0,
|
|
944
|
-
valueFormat:
|
|
1005
|
+
valueFormat: t.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 = G, S = {
|
|
|
949
1010
|
{
|
|
950
1011
|
styleName: "line-height",
|
|
951
1012
|
values: 0,
|
|
952
|
-
valueFormat:
|
|
1013
|
+
valueFormat: t.Value.px
|
|
953
1014
|
},
|
|
954
1015
|
{
|
|
955
1016
|
styleName: "line-height",
|
|
@@ -969,15 +1030,15 @@ const y = G, S = {
|
|
|
969
1030
|
{
|
|
970
1031
|
values: 0,
|
|
971
1032
|
styleName: "margin",
|
|
972
|
-
valueFormat:
|
|
1033
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
985
1046
|
{
|
|
986
1047
|
values: 0,
|
|
987
1048
|
styleName: "margin-inline",
|
|
988
|
-
valueFormat:
|
|
1049
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
1001
1062
|
{
|
|
1002
1063
|
values: 0,
|
|
1003
1064
|
styleName: "margin-block",
|
|
1004
|
-
valueFormat:
|
|
1065
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
1017
1078
|
{
|
|
1018
1079
|
values: 0,
|
|
1019
1080
|
styleName: "margin-top",
|
|
1020
|
-
valueFormat:
|
|
1081
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
1033
1094
|
{
|
|
1034
1095
|
values: 0,
|
|
1035
1096
|
styleName: "margin-right",
|
|
1036
|
-
valueFormat:
|
|
1097
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
1049
1110
|
{
|
|
1050
1111
|
values: 0,
|
|
1051
1112
|
styleName: "margin-bottom",
|
|
1052
|
-
valueFormat:
|
|
1113
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
1065
1126
|
{
|
|
1066
1127
|
values: 0,
|
|
1067
1128
|
styleName: "margin-left",
|
|
1068
|
-
valueFormat:
|
|
1129
|
+
valueFormat: t.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: t.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 = G, S = {
|
|
|
1081
1142
|
{
|
|
1082
1143
|
values: 0,
|
|
1083
1144
|
styleName: "padding",
|
|
1084
|
-
valueFormat:
|
|
1145
|
+
valueFormat: t.Value.rem
|
|
1085
1146
|
},
|
|
1086
1147
|
{
|
|
1087
|
-
values:
|
|
1088
|
-
valueFormat:
|
|
1148
|
+
values: d.percentages,
|
|
1149
|
+
valueFormat: t.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 = G, S = {
|
|
|
1093
1154
|
{
|
|
1094
1155
|
values: 0,
|
|
1095
1156
|
styleName: "padding-inline",
|
|
1096
|
-
valueFormat:
|
|
1157
|
+
valueFormat: t.Value.rem
|
|
1097
1158
|
},
|
|
1098
1159
|
{
|
|
1099
|
-
values:
|
|
1100
|
-
valueFormat:
|
|
1160
|
+
values: d.percentages,
|
|
1161
|
+
valueFormat: t.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 = G, S = {
|
|
|
1105
1166
|
{
|
|
1106
1167
|
values: 0,
|
|
1107
1168
|
styleName: "padding-block",
|
|
1108
|
-
valueFormat:
|
|
1169
|
+
valueFormat: t.Value.rem
|
|
1109
1170
|
},
|
|
1110
1171
|
{
|
|
1111
|
-
values:
|
|
1112
|
-
valueFormat:
|
|
1172
|
+
values: d.percentages,
|
|
1173
|
+
valueFormat: t.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 = G, S = {
|
|
|
1117
1178
|
{
|
|
1118
1179
|
values: 0,
|
|
1119
1180
|
styleName: "padding-top",
|
|
1120
|
-
valueFormat:
|
|
1181
|
+
valueFormat: t.Value.rem
|
|
1121
1182
|
},
|
|
1122
1183
|
{
|
|
1123
|
-
values:
|
|
1124
|
-
valueFormat:
|
|
1184
|
+
values: d.percentages,
|
|
1185
|
+
valueFormat: t.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 = G, S = {
|
|
|
1129
1190
|
{
|
|
1130
1191
|
values: 0,
|
|
1131
1192
|
styleName: "padding-right",
|
|
1132
|
-
valueFormat:
|
|
1193
|
+
valueFormat: t.Value.rem
|
|
1133
1194
|
},
|
|
1134
1195
|
{
|
|
1135
|
-
values:
|
|
1136
|
-
valueFormat:
|
|
1196
|
+
values: d.percentages,
|
|
1197
|
+
valueFormat: t.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 = G, S = {
|
|
|
1141
1202
|
{
|
|
1142
1203
|
values: 0,
|
|
1143
1204
|
styleName: "padding-bottom",
|
|
1144
|
-
valueFormat:
|
|
1205
|
+
valueFormat: t.Value.rem
|
|
1145
1206
|
},
|
|
1146
1207
|
{
|
|
1147
|
-
values:
|
|
1148
|
-
valueFormat:
|
|
1208
|
+
values: d.percentages,
|
|
1209
|
+
valueFormat: t.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 = G, S = {
|
|
|
1153
1214
|
{
|
|
1154
1215
|
values: 0,
|
|
1155
1216
|
styleName: "padding-left",
|
|
1156
|
-
valueFormat:
|
|
1217
|
+
valueFormat: t.Value.rem
|
|
1157
1218
|
},
|
|
1158
1219
|
{
|
|
1159
|
-
values:
|
|
1160
|
-
valueFormat:
|
|
1220
|
+
values: d.percentages,
|
|
1221
|
+
valueFormat: t.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 = G, S = {
|
|
|
1178
1239
|
{
|
|
1179
1240
|
styleName: "outline-width",
|
|
1180
1241
|
values: 0,
|
|
1181
|
-
valueFormat:
|
|
1242
|
+
valueFormat: t.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 = G, S = {
|
|
|
1193
1254
|
{
|
|
1194
1255
|
styleName: "outline-offset",
|
|
1195
1256
|
values: 0,
|
|
1196
|
-
valueFormat:
|
|
1257
|
+
valueFormat: t.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 = G, S = {
|
|
|
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 / Y}rem)`,
|
|
1536
|
+
styleName: "transform"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
values: d.percentages,
|
|
1540
|
+
valueFormat: (e) => `translateX(${t.Value.fraction(e)})`,
|
|
1541
|
+
styleName: "transform"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
values: d.negativePercentages,
|
|
1545
|
+
valueFormat: (e) => `translateX(${t.Value.fraction(e)})`,
|
|
1475
1546
|
styleName: "transform"
|
|
1476
1547
|
}
|
|
1477
1548
|
],
|
|
@@ -1479,7 +1550,17 @@ const y = G, S = {
|
|
|
1479
1550
|
translateY: [
|
|
1480
1551
|
{
|
|
1481
1552
|
values: 0,
|
|
1482
|
-
valueFormat: (e) => `translateY(${e /
|
|
1553
|
+
valueFormat: (e) => `translateY(${e / Y}rem)`,
|
|
1554
|
+
styleName: "transform"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
values: d.percentages,
|
|
1558
|
+
valueFormat: (e) => `translateY(${t.Value.fraction(e)})`,
|
|
1559
|
+
styleName: "transform"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
values: d.negativePercentages,
|
|
1563
|
+
valueFormat: (e) => `translateY(${t.Value.fraction(e)})`,
|
|
1483
1564
|
styleName: "transform"
|
|
1484
1565
|
}
|
|
1485
1566
|
],
|
|
@@ -1489,8 +1570,14 @@ const y = G, S = {
|
|
|
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,32 +1592,34 @@ const y = G, S = {
|
|
|
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, o]) => {
|
|
1610
|
+
e[+a + l] = [...o, 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",
|
|
1619
|
+
selectedGroup: "selected"
|
|
1620
|
+
}, ie = {
|
|
1532
1621
|
theme: "theme"
|
|
1533
|
-
},
|
|
1622
|
+
}, D = {
|
|
1534
1623
|
/** Styles applied for small screens and larger. >= 640 */
|
|
1535
1624
|
sm: 640,
|
|
1536
1625
|
/** Styles applied for medium screens and larger. >= 768 */
|
|
@@ -1542,34 +1631,34 @@ const y = G, S = {
|
|
|
1542
1631
|
/** Styles applied for 2x extra-large screens and larger. >= 1536 */
|
|
1543
1632
|
xxl: 1536
|
|
1544
1633
|
};
|
|
1545
|
-
var
|
|
1634
|
+
var Z;
|
|
1546
1635
|
((e) => {
|
|
1547
|
-
function
|
|
1548
|
-
const
|
|
1549
|
-
return
|
|
1550
|
-
|
|
1551
|
-
}),
|
|
1552
|
-
|
|
1553
|
-
}),
|
|
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;
|
|
1554
1643
|
}
|
|
1555
|
-
e.buildProps =
|
|
1556
|
-
function
|
|
1644
|
+
e.buildProps = r;
|
|
1645
|
+
function l(n) {
|
|
1557
1646
|
return !!n && typeof n == "object";
|
|
1558
1647
|
}
|
|
1559
|
-
e.isObject =
|
|
1560
|
-
function
|
|
1561
|
-
return n.reduce((
|
|
1562
|
-
const
|
|
1563
|
-
|
|
1564
|
-
}),
|
|
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), {});
|
|
1565
1654
|
}
|
|
1566
|
-
e.mergeDeep =
|
|
1567
|
-
function
|
|
1568
|
-
return n in
|
|
1655
|
+
e.mergeDeep = a;
|
|
1656
|
+
function o(n, s) {
|
|
1657
|
+
return n in s;
|
|
1569
1658
|
}
|
|
1570
|
-
e.isKeyOf =
|
|
1571
|
-
})(
|
|
1572
|
-
const
|
|
1659
|
+
e.isKeyOf = o;
|
|
1660
|
+
})(Z || (Z = {}));
|
|
1661
|
+
const S = Z, se = {
|
|
1573
1662
|
h1: {
|
|
1574
1663
|
styles: { fontSize: 14 * 2.5 }
|
|
1575
1664
|
},
|
|
@@ -1594,42 +1683,131 @@ const C = W, ae = {
|
|
|
1594
1683
|
button: {
|
|
1595
1684
|
styles: {
|
|
1596
1685
|
display: "inline-flex",
|
|
1686
|
+
ai: "center",
|
|
1687
|
+
jc: "center",
|
|
1688
|
+
gap: 2,
|
|
1689
|
+
bgColor: "indigo-600",
|
|
1597
1690
|
color: "white",
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1691
|
+
fontWeight: 500,
|
|
1692
|
+
py: 2.5,
|
|
1693
|
+
px: 5,
|
|
1694
|
+
borderRadius: 2,
|
|
1695
|
+
b: 0,
|
|
1601
1696
|
cursor: "pointer",
|
|
1602
|
-
b: 1,
|
|
1603
|
-
borderRadius: 1,
|
|
1604
|
-
userSelect: "none",
|
|
1605
|
-
lineHeight: 20,
|
|
1606
1697
|
hover: {
|
|
1607
|
-
bgColor: "
|
|
1608
|
-
|
|
1698
|
+
bgColor: "indigo-700"
|
|
1699
|
+
},
|
|
1700
|
+
active: {
|
|
1701
|
+
bgColor: "indigo-800"
|
|
1702
|
+
},
|
|
1703
|
+
focus: {
|
|
1704
|
+
outline: 2,
|
|
1705
|
+
outlineOffset: 2,
|
|
1706
|
+
outlineColor: "indigo-200"
|
|
1609
1707
|
},
|
|
1610
1708
|
disabled: {
|
|
1611
|
-
|
|
1612
|
-
bgColor: "violet-50",
|
|
1709
|
+
bgColor: "gray-200",
|
|
1613
1710
|
color: "gray-400",
|
|
1614
|
-
|
|
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
|
+
}
|
|
1615
1736
|
}
|
|
1616
1737
|
},
|
|
1617
1738
|
variants: {
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
b:
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
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"
|
|
1631
1790
|
},
|
|
1632
|
-
|
|
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
|
+
}
|
|
1633
1811
|
}
|
|
1634
1812
|
}
|
|
1635
1813
|
},
|
|
@@ -1637,26 +1815,53 @@ const C = W, ae = {
|
|
|
1637
1815
|
styles: {
|
|
1638
1816
|
display: "inline-block",
|
|
1639
1817
|
b: 1,
|
|
1640
|
-
borderColor: "
|
|
1641
|
-
bgColor: "
|
|
1642
|
-
color: "
|
|
1643
|
-
borderRadius:
|
|
1818
|
+
borderColor: "gray-300",
|
|
1819
|
+
bgColor: "white",
|
|
1820
|
+
color: "gray-900",
|
|
1821
|
+
borderRadius: 2,
|
|
1644
1822
|
p: 3,
|
|
1645
|
-
|
|
1823
|
+
px: 4,
|
|
1646
1824
|
lineHeight: 20,
|
|
1647
1825
|
hover: {
|
|
1648
|
-
borderColor: "
|
|
1826
|
+
borderColor: "gray-400"
|
|
1649
1827
|
},
|
|
1650
1828
|
focus: {
|
|
1651
|
-
outline:
|
|
1652
|
-
|
|
1653
|
-
|
|
1829
|
+
outline: 2,
|
|
1830
|
+
outlineOffset: 0,
|
|
1831
|
+
borderColor: "indigo-500",
|
|
1832
|
+
outlineColor: "indigo-200"
|
|
1654
1833
|
},
|
|
1655
1834
|
disabled: {
|
|
1656
1835
|
cursor: "not-allowed",
|
|
1657
|
-
bgColor: "
|
|
1836
|
+
bgColor: "gray-100",
|
|
1658
1837
|
color: "gray-400",
|
|
1659
|
-
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
|
|
1660
1865
|
}
|
|
1661
1866
|
}
|
|
1662
1867
|
},
|
|
@@ -1664,26 +1869,46 @@ const C = W, ae = {
|
|
|
1664
1869
|
styles: {
|
|
1665
1870
|
display: "inline-block",
|
|
1666
1871
|
b: 1,
|
|
1667
|
-
borderColor: "
|
|
1668
|
-
bgColor: "
|
|
1669
|
-
color: "
|
|
1670
|
-
borderRadius:
|
|
1872
|
+
borderColor: "gray-300",
|
|
1873
|
+
bgColor: "white",
|
|
1874
|
+
color: "gray-900",
|
|
1875
|
+
borderRadius: 2,
|
|
1671
1876
|
p: 3,
|
|
1672
|
-
|
|
1877
|
+
px: 4,
|
|
1673
1878
|
hover: {
|
|
1674
|
-
borderColor: "
|
|
1879
|
+
borderColor: "gray-400"
|
|
1675
1880
|
},
|
|
1676
1881
|
focus: {
|
|
1677
|
-
outline:
|
|
1678
|
-
|
|
1679
|
-
|
|
1882
|
+
outline: 2,
|
|
1883
|
+
outlineOffset: 0,
|
|
1884
|
+
borderColor: "indigo-500",
|
|
1885
|
+
outlineColor: "indigo-200"
|
|
1680
1886
|
},
|
|
1681
1887
|
disabled: {
|
|
1682
1888
|
cursor: "not-allowed",
|
|
1683
|
-
bgColor: "
|
|
1889
|
+
bgColor: "gray-100",
|
|
1684
1890
|
color: "gray-400",
|
|
1685
|
-
borderColor: "gray-
|
|
1891
|
+
borderColor: "gray-200",
|
|
1686
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
|
+
}
|
|
1687
1912
|
}
|
|
1688
1913
|
}
|
|
1689
1914
|
},
|
|
@@ -1691,34 +1916,64 @@ const C = W, ae = {
|
|
|
1691
1916
|
styles: {
|
|
1692
1917
|
display: "inline-block",
|
|
1693
1918
|
appearance: "none",
|
|
1694
|
-
b:
|
|
1695
|
-
borderColor: "
|
|
1919
|
+
b: 2,
|
|
1920
|
+
borderColor: "gray-300",
|
|
1696
1921
|
borderRadius: 1,
|
|
1697
1922
|
p: 2,
|
|
1698
1923
|
cursor: "pointer",
|
|
1699
|
-
transition: "none",
|
|
1700
1924
|
hover: {
|
|
1701
|
-
borderColor: "
|
|
1925
|
+
borderColor: "indigo-400"
|
|
1702
1926
|
},
|
|
1703
1927
|
focus: {
|
|
1704
1928
|
outline: 2,
|
|
1705
1929
|
outlineOffset: 2,
|
|
1706
|
-
outlineColor: "
|
|
1930
|
+
outlineColor: "indigo-200"
|
|
1707
1931
|
},
|
|
1708
1932
|
checked: {
|
|
1709
|
-
bgColor: "
|
|
1710
|
-
borderColor: "
|
|
1933
|
+
bgColor: "indigo-500",
|
|
1934
|
+
borderColor: "indigo-500",
|
|
1711
1935
|
bgImage: "bg-img-checked"
|
|
1712
1936
|
},
|
|
1713
1937
|
indeterminate: {
|
|
1714
|
-
|
|
1938
|
+
borderColor: "indigo-500",
|
|
1715
1939
|
bgImage: "bg-img-indeterminate"
|
|
1716
1940
|
},
|
|
1717
1941
|
disabled: {
|
|
1718
1942
|
cursor: "not-allowed",
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
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
|
+
}
|
|
1722
1977
|
}
|
|
1723
1978
|
},
|
|
1724
1979
|
variants: {
|
|
@@ -1729,72 +1984,122 @@ const C = W, ae = {
|
|
|
1729
1984
|
styles: {
|
|
1730
1985
|
appearance: "none",
|
|
1731
1986
|
b: 1,
|
|
1732
|
-
borderColor: "
|
|
1987
|
+
borderColor: "gray-300",
|
|
1733
1988
|
borderRadius: 3,
|
|
1734
1989
|
p: 2,
|
|
1735
1990
|
cursor: "pointer",
|
|
1736
|
-
transition: "none",
|
|
1737
1991
|
hover: {
|
|
1738
|
-
borderColor: "
|
|
1992
|
+
borderColor: "indigo-400"
|
|
1739
1993
|
},
|
|
1740
1994
|
focus: {
|
|
1741
1995
|
outline: 2,
|
|
1742
1996
|
outlineOffset: 2,
|
|
1743
|
-
outlineColor: "
|
|
1997
|
+
outlineColor: "indigo-200"
|
|
1744
1998
|
},
|
|
1745
1999
|
checked: {
|
|
1746
|
-
bgColor: "
|
|
1747
|
-
borderColor: "
|
|
2000
|
+
bgColor: "indigo-500",
|
|
2001
|
+
borderColor: "indigo-500",
|
|
1748
2002
|
bgImage: "bg-img-radio"
|
|
1749
2003
|
},
|
|
1750
2004
|
disabled: {
|
|
2005
|
+
checked: {
|
|
2006
|
+
bgColor: "gray-300",
|
|
2007
|
+
borderColor: "gray-200"
|
|
2008
|
+
},
|
|
1751
2009
|
cursor: "not-allowed",
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
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
|
+
}
|
|
1755
2038
|
}
|
|
1756
2039
|
}
|
|
1757
2040
|
},
|
|
1758
2041
|
dropdown: {
|
|
1759
2042
|
styles: {
|
|
1760
|
-
display: "inline-
|
|
1761
|
-
|
|
2043
|
+
display: "inline-block",
|
|
2044
|
+
overflow: "hidden",
|
|
2045
|
+
whiteSpace: "nowrap",
|
|
2046
|
+
textOverflow: "ellipsis",
|
|
2047
|
+
textAlign: "left",
|
|
1762
2048
|
gap: 2,
|
|
1763
|
-
jc: "space-between",
|
|
1764
2049
|
p: 3,
|
|
1765
2050
|
cursor: "pointer",
|
|
1766
|
-
bgColor: "
|
|
1767
|
-
color: "
|
|
2051
|
+
bgColor: "white",
|
|
2052
|
+
color: "gray-900",
|
|
1768
2053
|
b: 1,
|
|
1769
|
-
borderColor: "
|
|
1770
|
-
borderRadius:
|
|
2054
|
+
borderColor: "gray-300",
|
|
2055
|
+
borderRadius: 2,
|
|
1771
2056
|
userSelect: "none",
|
|
1772
2057
|
lineHeight: 20,
|
|
1773
2058
|
minWidth: 40,
|
|
1774
2059
|
transition: "none",
|
|
1775
2060
|
hover: {
|
|
1776
|
-
borderColor: "
|
|
2061
|
+
borderColor: "gray-400"
|
|
1777
2062
|
},
|
|
1778
2063
|
focus: {
|
|
1779
|
-
outline:
|
|
1780
|
-
|
|
1781
|
-
|
|
2064
|
+
outline: 2,
|
|
2065
|
+
outlineOffset: 0,
|
|
2066
|
+
borderColor: "indigo-500",
|
|
2067
|
+
outlineColor: "indigo-200"
|
|
1782
2068
|
},
|
|
1783
2069
|
disabled: {
|
|
1784
2070
|
cursor: "not-allowed",
|
|
1785
|
-
bgColor: "
|
|
2071
|
+
bgColor: "gray-100",
|
|
1786
2072
|
color: "gray-400",
|
|
1787
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
|
|
1788
2100
|
}
|
|
1789
2101
|
},
|
|
1790
2102
|
children: {
|
|
1791
|
-
display: {
|
|
1792
|
-
styles: {
|
|
1793
|
-
whiteSpace: "nowrap",
|
|
1794
|
-
textOverflow: "ellipsis",
|
|
1795
|
-
overflow: "hidden"
|
|
1796
|
-
}
|
|
1797
|
-
},
|
|
1798
2103
|
items: {
|
|
1799
2104
|
styles: {
|
|
1800
2105
|
display: "flex",
|
|
@@ -1802,15 +2107,21 @@ const C = W, ae = {
|
|
|
1802
2107
|
gap: 1,
|
|
1803
2108
|
p: 1,
|
|
1804
2109
|
b: 1,
|
|
1805
|
-
borderRadius:
|
|
2110
|
+
borderRadius: 2,
|
|
1806
2111
|
position: "relative",
|
|
1807
|
-
top: 1,
|
|
1808
2112
|
bgColor: "white",
|
|
1809
2113
|
overflow: "auto",
|
|
1810
2114
|
maxHeight: 62,
|
|
1811
|
-
borderColor: "
|
|
1812
|
-
color: "
|
|
1813
|
-
shadow: "medium"
|
|
2115
|
+
borderColor: "gray-300",
|
|
2116
|
+
color: "gray-900",
|
|
2117
|
+
shadow: "medium",
|
|
2118
|
+
theme: {
|
|
2119
|
+
dark: {
|
|
2120
|
+
bgColor: "gray-800",
|
|
2121
|
+
borderColor: "gray-700",
|
|
2122
|
+
color: "gray-100"
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
1814
2125
|
}
|
|
1815
2126
|
},
|
|
1816
2127
|
item: {
|
|
@@ -1820,21 +2131,42 @@ const C = W, ae = {
|
|
|
1820
2131
|
p: 3,
|
|
1821
2132
|
cursor: "pointer",
|
|
1822
2133
|
borderRadius: 1,
|
|
2134
|
+
lineHeight: 20,
|
|
1823
2135
|
hover: {
|
|
1824
2136
|
bgColor: "gray-100"
|
|
1825
2137
|
},
|
|
1826
2138
|
focus: {
|
|
1827
|
-
bgColor: "
|
|
2139
|
+
bgColor: "indigo-50"
|
|
1828
2140
|
},
|
|
1829
2141
|
selected: {
|
|
1830
|
-
bgColor: "
|
|
2142
|
+
bgColor: "indigo-50",
|
|
1831
2143
|
cursor: "default",
|
|
1832
2144
|
hover: {
|
|
1833
|
-
bgColor: "
|
|
2145
|
+
bgColor: "indigo-100"
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
theme: {
|
|
2149
|
+
dark: {
|
|
2150
|
+
hover: {
|
|
2151
|
+
bgColor: "gray-700"
|
|
2152
|
+
},
|
|
2153
|
+
focus: {
|
|
2154
|
+
bgColor: "gray-700"
|
|
2155
|
+
},
|
|
2156
|
+
selected: {
|
|
2157
|
+
bgColor: "indigo-900",
|
|
2158
|
+
hover: {
|
|
2159
|
+
bgColor: "indigo-800"
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
1834
2162
|
}
|
|
1835
2163
|
}
|
|
1836
2164
|
},
|
|
1837
2165
|
variants: {
|
|
2166
|
+
compact: {
|
|
2167
|
+
px: 2,
|
|
2168
|
+
py: 1
|
|
2169
|
+
},
|
|
1838
2170
|
multiple: {
|
|
1839
2171
|
selected: {
|
|
1840
2172
|
cursor: "pointer"
|
|
@@ -1850,16 +2182,36 @@ const C = W, ae = {
|
|
|
1850
2182
|
cursor: "pointer",
|
|
1851
2183
|
lineHeight: 20,
|
|
1852
2184
|
borderRadius: 1,
|
|
1853
|
-
color: "
|
|
2185
|
+
color: "gray-500",
|
|
1854
2186
|
hover: {
|
|
1855
|
-
bgColor: "
|
|
2187
|
+
bgColor: "gray-100"
|
|
1856
2188
|
},
|
|
1857
2189
|
focus: {
|
|
1858
|
-
bgColor: "
|
|
2190
|
+
bgColor: "gray-100"
|
|
1859
2191
|
},
|
|
1860
2192
|
selected: {
|
|
1861
|
-
bgColor: "
|
|
2193
|
+
bgColor: "gray-100",
|
|
1862
2194
|
cursor: "default"
|
|
2195
|
+
},
|
|
2196
|
+
theme: {
|
|
2197
|
+
dark: {
|
|
2198
|
+
color: "gray-400",
|
|
2199
|
+
hover: {
|
|
2200
|
+
bgColor: "gray-700"
|
|
2201
|
+
},
|
|
2202
|
+
focus: {
|
|
2203
|
+
bgColor: "gray-700"
|
|
2204
|
+
},
|
|
2205
|
+
selected: {
|
|
2206
|
+
bgColor: "gray-700"
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
variants: {
|
|
2212
|
+
compact: {
|
|
2213
|
+
px: 2,
|
|
2214
|
+
py: 1
|
|
1863
2215
|
}
|
|
1864
2216
|
}
|
|
1865
2217
|
},
|
|
@@ -1871,16 +2223,36 @@ const C = W, ae = {
|
|
|
1871
2223
|
cursor: "pointer",
|
|
1872
2224
|
lineHeight: 20,
|
|
1873
2225
|
borderRadius: 1,
|
|
1874
|
-
color: "
|
|
2226
|
+
color: "gray-500",
|
|
1875
2227
|
hover: {
|
|
1876
|
-
bgColor: "
|
|
2228
|
+
bgColor: "gray-100"
|
|
1877
2229
|
},
|
|
1878
2230
|
focus: {
|
|
1879
|
-
bgColor: "
|
|
2231
|
+
bgColor: "gray-100"
|
|
1880
2232
|
},
|
|
1881
2233
|
selected: {
|
|
1882
|
-
bgColor: "
|
|
2234
|
+
bgColor: "gray-100",
|
|
1883
2235
|
cursor: "default"
|
|
2236
|
+
},
|
|
2237
|
+
theme: {
|
|
2238
|
+
dark: {
|
|
2239
|
+
color: "gray-400",
|
|
2240
|
+
hover: {
|
|
2241
|
+
bgColor: "gray-700"
|
|
2242
|
+
},
|
|
2243
|
+
focus: {
|
|
2244
|
+
bgColor: "gray-700"
|
|
2245
|
+
},
|
|
2246
|
+
selected: {
|
|
2247
|
+
bgColor: "gray-700"
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
variants: {
|
|
2253
|
+
compact: {
|
|
2254
|
+
px: 2,
|
|
2255
|
+
py: 1
|
|
1884
2256
|
}
|
|
1885
2257
|
}
|
|
1886
2258
|
},
|
|
@@ -1892,7 +2264,27 @@ const C = W, ae = {
|
|
|
1892
2264
|
cursor: "default",
|
|
1893
2265
|
lineHeight: 20,
|
|
1894
2266
|
borderRadius: 1,
|
|
1895
|
-
color: "
|
|
2267
|
+
color: "gray-400",
|
|
2268
|
+
theme: {
|
|
2269
|
+
dark: {
|
|
2270
|
+
color: "gray-500"
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
variants: {
|
|
2275
|
+
compact: {
|
|
2276
|
+
px: 2,
|
|
2277
|
+
py: 1
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
},
|
|
2281
|
+
icon: {
|
|
2282
|
+
styles: {
|
|
2283
|
+
position: "absolute",
|
|
2284
|
+
top: 0,
|
|
2285
|
+
right: 0,
|
|
2286
|
+
height: "fit",
|
|
2287
|
+
px: 1.5
|
|
1896
2288
|
}
|
|
1897
2289
|
}
|
|
1898
2290
|
}
|
|
@@ -1902,44 +2294,177 @@ const C = W, ae = {
|
|
|
1902
2294
|
styles: {
|
|
1903
2295
|
b: 1,
|
|
1904
2296
|
bgColor: "white",
|
|
1905
|
-
borderColor: "gray-
|
|
2297
|
+
borderColor: "gray-200",
|
|
1906
2298
|
overflow: "hidden",
|
|
1907
|
-
borderRadius:
|
|
2299
|
+
borderRadius: 3,
|
|
2300
|
+
shadow: "large",
|
|
2301
|
+
theme: {
|
|
2302
|
+
dark: {
|
|
2303
|
+
bgColor: "gray-900",
|
|
2304
|
+
borderColor: "gray-800"
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
1908
2307
|
},
|
|
1909
2308
|
children: {
|
|
1910
2309
|
topBar: {
|
|
1911
2310
|
styles: {
|
|
1912
|
-
|
|
2311
|
+
py: 3,
|
|
2312
|
+
px: 4,
|
|
1913
2313
|
bb: 1,
|
|
1914
|
-
borderColor: "gray-
|
|
1915
|
-
color: "gray-
|
|
1916
|
-
gap:
|
|
1917
|
-
ai: "center"
|
|
2314
|
+
borderColor: "gray-200",
|
|
2315
|
+
color: "gray-800",
|
|
2316
|
+
gap: 3,
|
|
2317
|
+
ai: "center",
|
|
2318
|
+
bgColor: "gray-50",
|
|
2319
|
+
theme: {
|
|
2320
|
+
dark: {
|
|
2321
|
+
bgColor: "gray-800",
|
|
2322
|
+
borderColor: "gray-700",
|
|
2323
|
+
color: "gray-200"
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
1918
2326
|
},
|
|
1919
2327
|
children: {
|
|
2328
|
+
globalFilter: {
|
|
2329
|
+
styles: {
|
|
2330
|
+
display: "flex",
|
|
2331
|
+
ai: "center",
|
|
2332
|
+
gap: 2
|
|
2333
|
+
},
|
|
2334
|
+
children: {
|
|
2335
|
+
stats: {
|
|
2336
|
+
styles: {
|
|
2337
|
+
fontSize: 13,
|
|
2338
|
+
color: "gray-500",
|
|
2339
|
+
textWrap: "nowrap",
|
|
2340
|
+
theme: {
|
|
2341
|
+
dark: {
|
|
2342
|
+
color: "gray-400"
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
},
|
|
2347
|
+
inputWrapper: {
|
|
2348
|
+
styles: {
|
|
2349
|
+
display: "flex",
|
|
2350
|
+
position: "relative"
|
|
2351
|
+
},
|
|
2352
|
+
children: {
|
|
2353
|
+
icon: {
|
|
2354
|
+
styles: {
|
|
2355
|
+
display: "flex",
|
|
2356
|
+
position: "absolute",
|
|
2357
|
+
left: 2,
|
|
2358
|
+
top: "1/2",
|
|
2359
|
+
translateY: "-1/2",
|
|
2360
|
+
pointerEvents: "none",
|
|
2361
|
+
color: "gray-500",
|
|
2362
|
+
theme: {
|
|
2363
|
+
dark: {
|
|
2364
|
+
color: "gray-400"
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
input: {
|
|
2370
|
+
styles: {
|
|
2371
|
+
display: "inline-block",
|
|
2372
|
+
b: 1,
|
|
2373
|
+
borderColor: "gray-300",
|
|
2374
|
+
bgColor: "white",
|
|
2375
|
+
color: "gray-900",
|
|
2376
|
+
borderRadius: 2,
|
|
2377
|
+
py: 2,
|
|
2378
|
+
fontSize: 13,
|
|
2379
|
+
focus: {
|
|
2380
|
+
outline: 2,
|
|
2381
|
+
outlineOffset: 0,
|
|
2382
|
+
borderColor: "violet-500",
|
|
2383
|
+
outlineColor: "violet-100"
|
|
2384
|
+
},
|
|
2385
|
+
theme: {
|
|
2386
|
+
dark: {
|
|
2387
|
+
bgColor: "gray-800",
|
|
2388
|
+
borderColor: "gray-700",
|
|
2389
|
+
color: "gray-100",
|
|
2390
|
+
focus: {
|
|
2391
|
+
borderColor: "violet-500",
|
|
2392
|
+
outlineColor: "violet-950"
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
clear: {
|
|
2399
|
+
styles: {
|
|
2400
|
+
display: "flex",
|
|
2401
|
+
position: "absolute",
|
|
2402
|
+
right: 2,
|
|
2403
|
+
top: "1/2",
|
|
2404
|
+
translateY: "-1/2",
|
|
2405
|
+
cursor: "pointer",
|
|
2406
|
+
fontSize: 13,
|
|
2407
|
+
color: "gray-500",
|
|
2408
|
+
hover: {
|
|
2409
|
+
color: "gray-700"
|
|
2410
|
+
},
|
|
2411
|
+
theme: {
|
|
2412
|
+
dark: {
|
|
2413
|
+
color: "gray-400",
|
|
2414
|
+
hover: {
|
|
2415
|
+
color: "gray-200"
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
1920
2425
|
contextMenu: {
|
|
1921
2426
|
clean: !0,
|
|
1922
2427
|
styles: {
|
|
1923
2428
|
cursor: "pointer",
|
|
1924
|
-
p:
|
|
1925
|
-
|
|
2429
|
+
p: 2,
|
|
2430
|
+
borderRadius: 2,
|
|
2431
|
+
color: "gray-700",
|
|
2432
|
+
hover: {
|
|
2433
|
+
bgColor: "gray-100"
|
|
2434
|
+
},
|
|
2435
|
+
theme: {
|
|
2436
|
+
dark: {
|
|
2437
|
+
color: "gray-300",
|
|
2438
|
+
hover: {
|
|
2439
|
+
bgColor: "gray-800"
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
1926
2443
|
},
|
|
1927
2444
|
children: {
|
|
1928
2445
|
tooltip: {
|
|
1929
2446
|
styles: {
|
|
1930
2447
|
bgColor: "white",
|
|
2448
|
+
color: "gray-900",
|
|
1931
2449
|
width: 56,
|
|
1932
2450
|
b: 1,
|
|
1933
2451
|
borderColor: "gray-300",
|
|
1934
|
-
borderRadius:
|
|
2452
|
+
borderRadius: 3,
|
|
1935
2453
|
display: "flex",
|
|
1936
2454
|
d: "column",
|
|
1937
|
-
mt:
|
|
2455
|
+
mt: 2,
|
|
1938
2456
|
py: 2,
|
|
1939
2457
|
translateX: -1,
|
|
1940
|
-
shadow: "
|
|
2458
|
+
shadow: "large",
|
|
1941
2459
|
overflow: "auto",
|
|
1942
|
-
maxHeight: 100
|
|
2460
|
+
maxHeight: 100,
|
|
2461
|
+
theme: {
|
|
2462
|
+
dark: {
|
|
2463
|
+
bgColor: "gray-800",
|
|
2464
|
+
borderColor: "gray-700",
|
|
2465
|
+
color: "gray-100"
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
1943
2468
|
},
|
|
1944
2469
|
children: {
|
|
1945
2470
|
item: {
|
|
@@ -1949,7 +2474,31 @@ const C = W, ae = {
|
|
|
1949
2474
|
gap: 2,
|
|
1950
2475
|
p: 3,
|
|
1951
2476
|
cursor: "pointer",
|
|
1952
|
-
|
|
2477
|
+
color: "gray-900",
|
|
2478
|
+
hover: {
|
|
2479
|
+
bgColor: "violet-50"
|
|
2480
|
+
},
|
|
2481
|
+
theme: {
|
|
2482
|
+
dark: {
|
|
2483
|
+
color: "gray-100",
|
|
2484
|
+
hover: {
|
|
2485
|
+
bgColor: "gray-700"
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
},
|
|
2490
|
+
children: {
|
|
2491
|
+
icon: {
|
|
2492
|
+
styles: {
|
|
2493
|
+
width: 4,
|
|
2494
|
+
color: "violet-950",
|
|
2495
|
+
theme: {
|
|
2496
|
+
dark: {
|
|
2497
|
+
color: "violet-300"
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
1953
2502
|
}
|
|
1954
2503
|
}
|
|
1955
2504
|
}
|
|
@@ -1964,8 +2513,13 @@ const C = W, ae = {
|
|
|
1964
2513
|
children: {
|
|
1965
2514
|
icon: {
|
|
1966
2515
|
styles: {
|
|
1967
|
-
color: "
|
|
1968
|
-
width: 4
|
|
2516
|
+
color: "gray-700",
|
|
2517
|
+
width: 4,
|
|
2518
|
+
theme: {
|
|
2519
|
+
dark: {
|
|
2520
|
+
color: "gray-300"
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
1969
2523
|
}
|
|
1970
2524
|
},
|
|
1971
2525
|
separator: {
|
|
@@ -1976,20 +2530,41 @@ const C = W, ae = {
|
|
|
1976
2530
|
gap: 2,
|
|
1977
2531
|
ai: "center",
|
|
1978
2532
|
b: 1,
|
|
1979
|
-
borderColor: "gray-
|
|
1980
|
-
bgColor: "
|
|
1981
|
-
borderRadius:
|
|
1982
|
-
py:
|
|
1983
|
-
pl:
|
|
1984
|
-
pr:
|
|
1985
|
-
color: "
|
|
2533
|
+
borderColor: "gray-300",
|
|
2534
|
+
bgColor: "white",
|
|
2535
|
+
borderRadius: 2,
|
|
2536
|
+
py: 2,
|
|
2537
|
+
pl: 3,
|
|
2538
|
+
pr: 2,
|
|
2539
|
+
color: "gray-800",
|
|
2540
|
+
fontSize: 14,
|
|
2541
|
+
fontWeight: 500,
|
|
2542
|
+
shadow: "small",
|
|
2543
|
+
theme: {
|
|
2544
|
+
dark: {
|
|
2545
|
+
bgColor: "gray-800",
|
|
2546
|
+
borderColor: "gray-700",
|
|
2547
|
+
color: "gray-200"
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
1986
2550
|
},
|
|
1987
2551
|
children: {
|
|
1988
2552
|
icon: {
|
|
1989
2553
|
styles: {
|
|
1990
2554
|
width: 3,
|
|
1991
|
-
color: "gray-
|
|
1992
|
-
cursor: "pointer"
|
|
2555
|
+
color: "gray-500",
|
|
2556
|
+
cursor: "pointer",
|
|
2557
|
+
hover: {
|
|
2558
|
+
color: "gray-700"
|
|
2559
|
+
},
|
|
2560
|
+
theme: {
|
|
2561
|
+
dark: {
|
|
2562
|
+
color: "gray-400",
|
|
2563
|
+
hover: {
|
|
2564
|
+
color: "gray-200"
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
1993
2568
|
}
|
|
1994
2569
|
}
|
|
1995
2570
|
}
|
|
@@ -1998,6 +2573,64 @@ const C = W, ae = {
|
|
|
1998
2573
|
}
|
|
1999
2574
|
}
|
|
2000
2575
|
},
|
|
2576
|
+
filter: {
|
|
2577
|
+
styles: {},
|
|
2578
|
+
children: {
|
|
2579
|
+
row: {
|
|
2580
|
+
styles: {
|
|
2581
|
+
bgColor: "gray-50",
|
|
2582
|
+
bb: 1,
|
|
2583
|
+
borderColor: "gray-200",
|
|
2584
|
+
theme: {
|
|
2585
|
+
dark: {
|
|
2586
|
+
bgColor: "gray-800",
|
|
2587
|
+
borderColor: "gray-700"
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
cell: {
|
|
2593
|
+
styles: {
|
|
2594
|
+
display: "flex",
|
|
2595
|
+
ai: "center",
|
|
2596
|
+
p: 2,
|
|
2597
|
+
transition: "none"
|
|
2598
|
+
},
|
|
2599
|
+
variants: {
|
|
2600
|
+
isPinned: {
|
|
2601
|
+
position: "sticky",
|
|
2602
|
+
bgColor: "gray-50",
|
|
2603
|
+
zIndex: 2,
|
|
2604
|
+
theme: {
|
|
2605
|
+
dark: {
|
|
2606
|
+
bgColor: "gray-800"
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
isFirstLeftPinned: {},
|
|
2611
|
+
isLastLeftPinned: {
|
|
2612
|
+
br: 1,
|
|
2613
|
+
borderColor: "gray-200",
|
|
2614
|
+
theme: {
|
|
2615
|
+
dark: {
|
|
2616
|
+
borderColor: "gray-700"
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
isFirstRightPinned: {
|
|
2621
|
+
bl: 1,
|
|
2622
|
+
borderColor: "gray-200",
|
|
2623
|
+
theme: {
|
|
2624
|
+
dark: {
|
|
2625
|
+
borderColor: "gray-700"
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2629
|
+
isLastRightPinned: {}
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2001
2634
|
header: {
|
|
2002
2635
|
styles: {
|
|
2003
2636
|
position: "sticky",
|
|
@@ -2005,7 +2638,12 @@ const C = W, ae = {
|
|
|
2005
2638
|
width: "max-content",
|
|
2006
2639
|
minWidth: "fit",
|
|
2007
2640
|
zIndex: 1,
|
|
2008
|
-
bgColor: "gray-
|
|
2641
|
+
bgColor: "gray-50",
|
|
2642
|
+
theme: {
|
|
2643
|
+
dark: {
|
|
2644
|
+
bgColor: "gray-800"
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2009
2647
|
},
|
|
2010
2648
|
variants: {
|
|
2011
2649
|
isResizeMode: { userSelect: "none" }
|
|
@@ -2013,21 +2651,69 @@ const C = W, ae = {
|
|
|
2013
2651
|
children: {
|
|
2014
2652
|
cell: {
|
|
2015
2653
|
styles: {
|
|
2016
|
-
borderColor: "gray-
|
|
2654
|
+
borderColor: "gray-200",
|
|
2017
2655
|
bb: 1,
|
|
2018
2656
|
minHeight: 12,
|
|
2019
2657
|
position: "relative",
|
|
2020
|
-
transition: "none"
|
|
2658
|
+
transition: "none",
|
|
2659
|
+
fontSize: 13,
|
|
2660
|
+
fontWeight: 600,
|
|
2661
|
+
color: "gray-800",
|
|
2662
|
+
py: 3.5,
|
|
2663
|
+
theme: {
|
|
2664
|
+
dark: {
|
|
2665
|
+
borderColor: "gray-700",
|
|
2666
|
+
color: "gray-200"
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2021
2669
|
},
|
|
2022
2670
|
variants: {
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2671
|
+
isPinned: {
|
|
2672
|
+
position: "sticky",
|
|
2673
|
+
zIndex: 2,
|
|
2674
|
+
bgColor: "gray-50",
|
|
2675
|
+
theme: {
|
|
2676
|
+
dark: {
|
|
2677
|
+
bgColor: "gray-800"
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2026
2681
|
isFirstLeftPinned: {},
|
|
2027
|
-
isLastLeftPinned: {
|
|
2028
|
-
|
|
2682
|
+
isLastLeftPinned: {
|
|
2683
|
+
br: 1,
|
|
2684
|
+
borderColor: "gray-200",
|
|
2685
|
+
theme: {
|
|
2686
|
+
dark: {
|
|
2687
|
+
borderColor: "gray-700"
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
},
|
|
2691
|
+
isFirstRightPinned: {
|
|
2692
|
+
bl: 1,
|
|
2693
|
+
borderColor: "gray-200",
|
|
2694
|
+
theme: {
|
|
2695
|
+
dark: {
|
|
2696
|
+
borderColor: "gray-700"
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2029
2700
|
isLastRightPinned: {},
|
|
2030
|
-
isSortable: {
|
|
2701
|
+
isSortable: {
|
|
2702
|
+
cursor: "pointer",
|
|
2703
|
+
hover: {
|
|
2704
|
+
bgColor: "gray-100"
|
|
2705
|
+
},
|
|
2706
|
+
theme: {
|
|
2707
|
+
dark: {
|
|
2708
|
+
hover: {
|
|
2709
|
+
bgColor: "gray-800"
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
isRowSelected: {},
|
|
2715
|
+
isRowSelection: {},
|
|
2716
|
+
isRowNumber: { jc: "center" }
|
|
2031
2717
|
},
|
|
2032
2718
|
children: {
|
|
2033
2719
|
contextMenu: {
|
|
@@ -2043,8 +2729,14 @@ const C = W, ae = {
|
|
|
2043
2729
|
jc: "center",
|
|
2044
2730
|
ai: "center",
|
|
2045
2731
|
transition: "none",
|
|
2046
|
-
|
|
2047
|
-
hover: { bgColor: "gray-300" }
|
|
2732
|
+
color: "gray-600",
|
|
2733
|
+
hover: { bgColor: "gray-300" },
|
|
2734
|
+
theme: {
|
|
2735
|
+
dark: {
|
|
2736
|
+
color: "gray-400",
|
|
2737
|
+
hover: { bgColor: "gray-700" }
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2048
2740
|
},
|
|
2049
2741
|
children: {
|
|
2050
2742
|
icon: {
|
|
@@ -2053,20 +2745,23 @@ const C = W, ae = {
|
|
|
2053
2745
|
tooltip: {
|
|
2054
2746
|
styles: {
|
|
2055
2747
|
bgColor: "white",
|
|
2748
|
+
color: "gray-900",
|
|
2056
2749
|
width: 56,
|
|
2057
2750
|
b: 1,
|
|
2058
2751
|
borderColor: "gray-300",
|
|
2059
|
-
borderRadius:
|
|
2752
|
+
borderRadius: 3,
|
|
2060
2753
|
display: "flex",
|
|
2061
2754
|
d: "column",
|
|
2062
|
-
mt: 4,
|
|
2063
2755
|
py: 2,
|
|
2064
2756
|
overflow: "hidden",
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2757
|
+
shadow: "medium",
|
|
2758
|
+
theme: {
|
|
2759
|
+
dark: {
|
|
2760
|
+
bgColor: "gray-800",
|
|
2761
|
+
borderColor: "gray-700",
|
|
2762
|
+
color: "gray-100"
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2070
2765
|
},
|
|
2071
2766
|
children: {
|
|
2072
2767
|
item: {
|
|
@@ -2076,13 +2771,37 @@ const C = W, ae = {
|
|
|
2076
2771
|
gap: 2,
|
|
2077
2772
|
p: 3,
|
|
2078
2773
|
cursor: "pointer",
|
|
2079
|
-
|
|
2774
|
+
color: "gray-900",
|
|
2775
|
+
hover: { bgColor: "violet-50" },
|
|
2776
|
+
theme: {
|
|
2777
|
+
dark: {
|
|
2778
|
+
color: "gray-100",
|
|
2779
|
+
hover: { bgColor: "gray-700" }
|
|
2780
|
+
}
|
|
2781
|
+
}
|
|
2080
2782
|
},
|
|
2081
2783
|
children: {
|
|
2082
2784
|
icon: {
|
|
2083
2785
|
styles: {
|
|
2084
2786
|
width: 4,
|
|
2085
|
-
color: "violet-950"
|
|
2787
|
+
color: "violet-950",
|
|
2788
|
+
theme: {
|
|
2789
|
+
dark: {
|
|
2790
|
+
color: "violet-300"
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
separator: {
|
|
2796
|
+
styles: {
|
|
2797
|
+
bb: 1,
|
|
2798
|
+
my: 2,
|
|
2799
|
+
borderColor: "gray-300",
|
|
2800
|
+
theme: {
|
|
2801
|
+
dark: {
|
|
2802
|
+
borderColor: "gray-700"
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2086
2805
|
}
|
|
2087
2806
|
}
|
|
2088
2807
|
}
|
|
@@ -2103,308 +2822,446 @@ const C = W, ae = {
|
|
|
2103
2822
|
}
|
|
2104
2823
|
}
|
|
2105
2824
|
},
|
|
2106
|
-
|
|
2107
|
-
styles: {
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2825
|
+
body: {
|
|
2826
|
+
styles: {},
|
|
2827
|
+
children: {
|
|
2828
|
+
cell: {
|
|
2829
|
+
styles: {
|
|
2830
|
+
bb: 1,
|
|
2831
|
+
borderColor: "gray-200",
|
|
2832
|
+
transition: "none",
|
|
2833
|
+
ai: "center",
|
|
2834
|
+
hoverGroup: {
|
|
2835
|
+
"grid-row": {
|
|
2836
|
+
bgColor: "gray-100"
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
theme: {
|
|
2840
|
+
dark: {
|
|
2841
|
+
borderColor: "gray-800",
|
|
2842
|
+
hoverGroup: {
|
|
2843
|
+
"grid-row": {
|
|
2844
|
+
bgColor: "gray-700"
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
},
|
|
2850
|
+
variants: {
|
|
2851
|
+
isPinned: {
|
|
2852
|
+
position: "sticky",
|
|
2853
|
+
bgColor: "white",
|
|
2854
|
+
zIndex: 1,
|
|
2855
|
+
theme: {
|
|
2856
|
+
dark: {
|
|
2857
|
+
bgColor: "gray-900"
|
|
2858
|
+
}
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
isFirstLeftPinned: {},
|
|
2862
|
+
isLastLeftPinned: {
|
|
2863
|
+
br: 1,
|
|
2864
|
+
borderColor: "gray-200",
|
|
2865
|
+
theme: {
|
|
2866
|
+
dark: {
|
|
2867
|
+
borderColor: "gray-800"
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
},
|
|
2871
|
+
isFirstRightPinned: {
|
|
2872
|
+
bl: 1,
|
|
2873
|
+
borderColor: "gray-200",
|
|
2874
|
+
theme: {
|
|
2875
|
+
dark: {
|
|
2876
|
+
borderColor: "gray-800"
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
isLastRightPinned: {},
|
|
2881
|
+
isRowNumber: { jc: "right" },
|
|
2882
|
+
isRowSelection: {},
|
|
2883
|
+
isRowSelected: {}
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2122
2886
|
}
|
|
2123
2887
|
},
|
|
2124
2888
|
bottomBar: {
|
|
2125
2889
|
styles: {
|
|
2126
|
-
|
|
2127
|
-
|
|
2890
|
+
py: 3,
|
|
2891
|
+
px: 4,
|
|
2892
|
+
lineHeight: 36,
|
|
2893
|
+
bgColor: "gray-50",
|
|
2128
2894
|
bt: 1,
|
|
2129
|
-
borderColor: "gray-
|
|
2130
|
-
gap: 4
|
|
2895
|
+
borderColor: "gray-200",
|
|
2896
|
+
gap: 4,
|
|
2897
|
+
ai: "center",
|
|
2898
|
+
fontSize: 14,
|
|
2899
|
+
color: "gray-800",
|
|
2900
|
+
theme: {
|
|
2901
|
+
dark: {
|
|
2902
|
+
bgColor: "gray-800",
|
|
2903
|
+
borderColor: "gray-700",
|
|
2904
|
+
color: "gray-200"
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2131
2907
|
}
|
|
2132
2908
|
}
|
|
2133
2909
|
}
|
|
2134
2910
|
}
|
|
2135
2911
|
};
|
|
2136
|
-
var
|
|
2912
|
+
var J;
|
|
2137
2913
|
((e) => {
|
|
2138
|
-
function
|
|
2139
|
-
return
|
|
2140
|
-
|
|
2141
|
-
}), Object.entries(n).forEach(([
|
|
2142
|
-
const
|
|
2143
|
-
|
|
2144
|
-
}), { extendedProps:
|
|
2914
|
+
function r(a, o, n) {
|
|
2915
|
+
return d.setUserVariables(a), Object.entries(o).forEach(([s, u]) => {
|
|
2916
|
+
L[s] = u;
|
|
2917
|
+
}), Object.entries(n).forEach(([s, u]) => {
|
|
2918
|
+
const i = L[s];
|
|
2919
|
+
L[s] = i ? [...u, ...i] : u;
|
|
2920
|
+
}), { extendedProps: o, extendedPropTypes: n };
|
|
2145
2921
|
}
|
|
2146
|
-
e.extend =
|
|
2147
|
-
function
|
|
2148
|
-
return e.componentsStyles =
|
|
2922
|
+
e.extend = r, e.componentsStyles = se;
|
|
2923
|
+
function l(a) {
|
|
2924
|
+
return e.componentsStyles = S.mergeDeep(se, a), a;
|
|
2149
2925
|
}
|
|
2150
|
-
e.components =
|
|
2151
|
-
})(
|
|
2152
|
-
const
|
|
2926
|
+
e.components = l;
|
|
2927
|
+
})(J || (J = {}));
|
|
2928
|
+
const $e = J, Q = we.createContext({ theme: "", setTheme: () => {
|
|
2153
2929
|
} });
|
|
2154
|
-
function
|
|
2155
|
-
const { children:
|
|
2156
|
-
return
|
|
2157
|
-
if (
|
|
2158
|
-
const
|
|
2159
|
-
return
|
|
2160
|
-
|
|
2930
|
+
function ee(e) {
|
|
2931
|
+
const { children: r, theme: l, use: a = "local" } = e, [o, n] = de(l);
|
|
2932
|
+
return ae(() => {
|
|
2933
|
+
if (a === "local") return;
|
|
2934
|
+
const s = document.documentElement;
|
|
2935
|
+
return s.classList.add(o), () => {
|
|
2936
|
+
s.classList.remove(o);
|
|
2161
2937
|
};
|
|
2162
|
-
}, [
|
|
2938
|
+
}, [o, a]), a === "local" ? /* @__PURE__ */ z(Q.Provider, { value: { theme: o, setTheme: n }, children: /* @__PURE__ */ z(Ne, { className: o, children: r }) }) : /* @__PURE__ */ z(Q.Provider, { value: { theme: o, setTheme: n }, children: r });
|
|
2163
2939
|
}
|
|
2164
2940
|
((e) => {
|
|
2165
|
-
function
|
|
2166
|
-
const { theme:
|
|
2167
|
-
return [
|
|
2941
|
+
function r() {
|
|
2942
|
+
const { theme: l, setTheme: a } = xe(Q);
|
|
2943
|
+
return [l, a];
|
|
2168
2944
|
}
|
|
2169
|
-
e.useTheme =
|
|
2170
|
-
})(
|
|
2171
|
-
const
|
|
2172
|
-
class
|
|
2945
|
+
e.useTheme = r;
|
|
2946
|
+
})(ee || (ee = {}));
|
|
2947
|
+
const ze = ee;
|
|
2948
|
+
class ke {
|
|
2173
2949
|
constructor() {
|
|
2174
2950
|
this._index = 0, this._cache = {};
|
|
2175
2951
|
}
|
|
2176
|
-
getIdentity(
|
|
2177
|
-
return this._cache[
|
|
2952
|
+
getIdentity(r) {
|
|
2953
|
+
return this._cache[r] || (this._cache[r] = this.getByIndex(this._index++)), this._cache[r];
|
|
2178
2954
|
}
|
|
2179
|
-
getByIndex(
|
|
2180
|
-
const { first:
|
|
2181
|
-
if (
|
|
2182
|
-
return r
|
|
2183
|
-
const n = Math.floor(
|
|
2184
|
-
return this.getByIndex(n) +
|
|
2955
|
+
getByIndex(r) {
|
|
2956
|
+
const { first: l, next: a } = Re, o = r - l.length;
|
|
2957
|
+
if (o < 0)
|
|
2958
|
+
return l[r];
|
|
2959
|
+
const n = Math.floor(o / a.length), s = o - n * a.length;
|
|
2960
|
+
return this.getByIndex(n) + a[s];
|
|
2185
2961
|
}
|
|
2186
2962
|
}
|
|
2187
|
-
const
|
|
2963
|
+
const Re = {
|
|
2188
2964
|
first: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
|
2189
2965
|
next: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
|
2190
2966
|
};
|
|
2191
|
-
function
|
|
2192
|
-
const { clean:
|
|
2193
|
-
return
|
|
2194
|
-
if (
|
|
2195
|
-
const
|
|
2196
|
-
if (!
|
|
2197
|
-
const n =
|
|
2967
|
+
function Se(e) {
|
|
2968
|
+
const { clean: r, component: l, variant: a } = e;
|
|
2969
|
+
return le(() => {
|
|
2970
|
+
if (r) return;
|
|
2971
|
+
const o = l?.split(".");
|
|
2972
|
+
if (!o) return;
|
|
2973
|
+
const n = o.reduce((i, m, f) => f === 0 ? $e.componentsStyles[m] : i?.children?.[m], void 0);
|
|
2198
2974
|
if (!n) return;
|
|
2199
|
-
if (!
|
|
2200
|
-
const
|
|
2201
|
-
if (
|
|
2202
|
-
const
|
|
2203
|
-
return n.styles ?
|
|
2204
|
-
}, [
|
|
2975
|
+
if (!a) return n.styles;
|
|
2976
|
+
const s = fe(a);
|
|
2977
|
+
if (s.length === 0) return n.styles;
|
|
2978
|
+
const u = S.mergeDeep(...s.map((i) => n.variants?.[i]));
|
|
2979
|
+
return n.styles ? S.mergeDeep(n.styles, u) : u;
|
|
2980
|
+
}, [r, l, a]);
|
|
2205
2981
|
}
|
|
2206
|
-
const Ae = new
|
|
2207
|
-
function
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
return j.addClassNames(i, o, []), o;
|
|
2213
|
-
}, [e, t, r]);
|
|
2982
|
+
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", E = "_s";
|
|
2983
|
+
function He(e, r) {
|
|
2984
|
+
const l = Se(e), a = le(() => l ? S.mergeDeep(l, e) : e, [e, l]), o = [r ? E : be];
|
|
2985
|
+
return B.addClassNames(a, o, []), je(() => {
|
|
2986
|
+
B.flush();
|
|
2987
|
+
}, [a]), o;
|
|
2214
2988
|
}
|
|
2215
|
-
var
|
|
2989
|
+
var B;
|
|
2216
2990
|
((e) => {
|
|
2217
|
-
let
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2991
|
+
let r = !0, l = !1;
|
|
2992
|
+
const a = /* @__PURE__ */ new Set(), o = [], n = [];
|
|
2993
|
+
let s = 0;
|
|
2994
|
+
const u = Object.keys(L).reduce((b, h, w) => (b[h] = w, b), {});
|
|
2995
|
+
let i = {};
|
|
2996
|
+
function m(b, h, w, p, g) {
|
|
2997
|
+
Object.entries(b).forEach(([v, c]) => {
|
|
2998
|
+
if (S.isKeyOf(v, L))
|
|
2999
|
+
x(v, c, h, w, p, g);
|
|
3000
|
+
else if (S.isKeyOf(v, me))
|
|
3001
|
+
m(c, h, [...w, v], p, g);
|
|
3002
|
+
else if (S.isKeyOf(v, U)) {
|
|
3003
|
+
if (Array.isArray(c)) {
|
|
3004
|
+
const [F, N] = c;
|
|
3005
|
+
m(N, h, [...w, v], p, g);
|
|
2228
3006
|
}
|
|
2229
|
-
|
|
2230
|
-
} else
|
|
2231
|
-
|
|
3007
|
+
S.isObject(c) && m(c, h, [...w, v], p, g);
|
|
3008
|
+
} else S.isKeyOf(v, D) ? m(c, h, w, v, g) : S.isKeyOf(v, P) ? Object.entries(c).forEach(([F, N]) => {
|
|
3009
|
+
m(N, h, [...w, P[v]], p, F);
|
|
3010
|
+
}) : S.isKeyOf(v, ie) && Object.entries(c).forEach(([F, N]) => {
|
|
3011
|
+
const $ = [...w, ie[v]];
|
|
3012
|
+
Object.entries(N).forEach(([V, O]) => {
|
|
3013
|
+
S.isKeyOf(V, P) ? Object.entries(O).forEach(([M, j]) => {
|
|
3014
|
+
m(
|
|
3015
|
+
j,
|
|
3016
|
+
h,
|
|
3017
|
+
[...$, P[V]],
|
|
3018
|
+
p,
|
|
3019
|
+
// Use | as separator to distinguish theme from group name
|
|
3020
|
+
`${F}|${M}`
|
|
3021
|
+
);
|
|
3022
|
+
}) : m({ [V]: O }, h, $, p, F);
|
|
3023
|
+
});
|
|
2232
3024
|
});
|
|
2233
3025
|
});
|
|
2234
3026
|
}
|
|
2235
|
-
e.addClassNames =
|
|
2236
|
-
function
|
|
2237
|
-
|
|
3027
|
+
e.addClassNames = m;
|
|
3028
|
+
function f() {
|
|
3029
|
+
const b = d.hasPendingVariables();
|
|
3030
|
+
if (!r && !b) return;
|
|
2238
3031
|
console.debug("\x1B[36m%s\x1B[0m", "[react-box]: flush");
|
|
2239
|
-
const
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
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
|
-
|
|
3032
|
+
const h = K(), w = h.sheet;
|
|
3033
|
+
if (l) {
|
|
3034
|
+
if (d.hasPendingVariables()) {
|
|
3035
|
+
const p = d.getPendingVariables(), g = `:root{${Object.entries(p).map(([v, c]) => `--${v}: ${c};`).join("")}}`;
|
|
3036
|
+
if (w && !H)
|
|
3037
|
+
try {
|
|
3038
|
+
w.insertRule(g, 0), s++;
|
|
3039
|
+
} catch {
|
|
3040
|
+
}
|
|
3041
|
+
else
|
|
3042
|
+
h.textContent = g + `
|
|
3043
|
+
` + h.textContent;
|
|
3044
|
+
}
|
|
3045
|
+
} else {
|
|
3046
|
+
const p = [
|
|
3047
|
+
`:root{${d.generateVariables()}}`,
|
|
3048
|
+
":root{--borderColor: black;--outlineColor: black;--lineHeight: 1.2;--fontSize: 14px;--transitionTime: 0.25s;--svgTransitionTime: 0.3s;}",
|
|
3049
|
+
"#crono-box {position: absolute;top: 0;left: 0;height: 0;z-index:99999;}",
|
|
3050
|
+
"html{font-size: 16px;font-family: Arial, sans-serif;}",
|
|
3051
|
+
"body{margin: 0;line-height: var(--lineHeight);font-size: var(--fontSize);}",
|
|
3052
|
+
"a,ul{all: unset;}",
|
|
3053
|
+
"button{color: inherit;}",
|
|
3054
|
+
'input[type="number"]{-moz-appearance: textfield;}',
|
|
3055
|
+
'input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{-webkit-appearance: none;margin: 0;}',
|
|
3056
|
+
`.${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;}`,
|
|
3057
|
+
`.${E}{display: block;border: 0 solid var(--borderColor);outline: 0px solid var(--outlineColor);margin: 0;padding: 0;transition: all var(--svgTransitionTime);}`,
|
|
3058
|
+
`.${E} path,.${E} circle,.${E} rect,.${E} line {transition: all var(--svgTransitionTime);}`
|
|
3059
|
+
];
|
|
3060
|
+
if (w && !H)
|
|
3061
|
+
for (const g of p)
|
|
3062
|
+
try {
|
|
3063
|
+
w.insertRule(g, s), s++;
|
|
3064
|
+
} catch {
|
|
3065
|
+
}
|
|
3066
|
+
else
|
|
3067
|
+
h.textContent = p.join(`
|
|
3068
|
+
`);
|
|
3069
|
+
l = !0;
|
|
3070
|
+
}
|
|
3071
|
+
if (o.length > 0) {
|
|
3072
|
+
if (o.sort((p, g) => p[1] - g[1] || p[0] - g[0]), w && !H)
|
|
3073
|
+
for (const [p, g, v] of o) {
|
|
3074
|
+
const c = g * 1e5 + p;
|
|
3075
|
+
let F = n.length;
|
|
3076
|
+
for (let N = 0; N < n.length; N++)
|
|
3077
|
+
if (c < n[N]) {
|
|
3078
|
+
F = N;
|
|
3079
|
+
break;
|
|
3080
|
+
}
|
|
3081
|
+
try {
|
|
3082
|
+
w.insertRule(v, s + F), n.splice(F, 0, c);
|
|
3083
|
+
} catch {
|
|
3084
|
+
w.insertRule(v, w.cssRules.length), n.push(c);
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
else
|
|
3088
|
+
h.textContent += o.map((p) => p[2]).join("");
|
|
3089
|
+
o.length = 0;
|
|
3090
|
+
}
|
|
3091
|
+
r = !1;
|
|
3092
|
+
}
|
|
3093
|
+
e.flush = f;
|
|
3094
|
+
function y(b, h, w, p, g) {
|
|
3095
|
+
const c = L[b].find((V) => Array.isArray(V.values) ? V.values.includes(h) : typeof h == typeof V.values);
|
|
3096
|
+
if (!c) return null;
|
|
3097
|
+
const F = u[b] ?? 0, N = D[p] ?? 0, $ = C(
|
|
3098
|
+
b,
|
|
3099
|
+
h,
|
|
3100
|
+
w,
|
|
3101
|
+
p,
|
|
3102
|
+
g
|
|
2272
3103
|
);
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
3104
|
+
if (g) {
|
|
3105
|
+
const V = q[w], O = V.includes("theme"), j = (O ? V.filter((I) => I !== "theme") : V).map((I) => W[I]).join(""), G = g.includes("|");
|
|
3106
|
+
let A;
|
|
3107
|
+
if (G) {
|
|
3108
|
+
const [I, Ce] = g.split("|");
|
|
3109
|
+
A = `.${I} .${Ce}${j} .${$}`;
|
|
3110
|
+
} else O ? A = `.${g} .${$}${j}` : A = `.${g}${j} .${$}`;
|
|
3111
|
+
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((I) => `${I}:${pe}`).join(";")}}`;
|
|
3112
|
+
return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${ne}}`, sortIndex: F, breakpointOrder: N } : { rule: ne, sortIndex: F, breakpointOrder: N };
|
|
3113
|
+
} else {
|
|
3114
|
+
const V = q[w].map((A) => W[A]).join(""), O = c.selector?.(`.${$}`, V) ?? `.${$}${V}`, M = Array.isArray(c.styleName) ? c.styleName : [c.styleName ?? b], j = c.valueFormat?.(h, d.getVariableValue) ?? h, G = `${O}{${M.map((A) => `${A}:${j}`).join(";")}}`;
|
|
3115
|
+
return p !== "normal" ? { rule: `@media(min-width: ${D[p]}px){${G}}`, sortIndex: F, breakpointOrder: N } : { rule: G, sortIndex: F, breakpointOrder: N };
|
|
3116
|
+
}
|
|
2276
3117
|
}
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
r = {};
|
|
3118
|
+
function k() {
|
|
3119
|
+
i = {}, a.clear(), o.length = 0, n.length = 0, s = 0, l = !1;
|
|
2280
3120
|
}
|
|
2281
|
-
e.clear =
|
|
2282
|
-
function
|
|
2283
|
-
if (
|
|
2284
|
-
const
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
3121
|
+
e.clear = k;
|
|
3122
|
+
function x(b, h, w, p, g = "normal", v) {
|
|
3123
|
+
if (h == null) return;
|
|
3124
|
+
const c = p.reduce(($, V) => $ + ye[V], 0), F = C(b, h, c, g, v), N = `${g}-${c}-${b}-${h}-${v ?? ""}`;
|
|
3125
|
+
if (!a.has(N)) {
|
|
3126
|
+
a.add(N);
|
|
3127
|
+
const $ = y(b, h, c, g, v);
|
|
3128
|
+
$ && (o.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);
|
|
3129
|
+
}
|
|
3130
|
+
w.push(F);
|
|
2288
3131
|
}
|
|
2289
|
-
function
|
|
2290
|
-
const
|
|
2291
|
-
return
|
|
3132
|
+
function C(b, h, w, p, g) {
|
|
3133
|
+
const v = q[w], c = `${p === "normal" ? "" : `${p}-`}${v.map((F) => `${F}-`).join("")}${g ? `${g}-` : ""}${b}-${h}`;
|
|
3134
|
+
return H ? c : Ae.getIdentity(c);
|
|
2292
3135
|
}
|
|
2293
|
-
const
|
|
2294
|
-
function
|
|
2295
|
-
let
|
|
2296
|
-
return
|
|
3136
|
+
const R = "crono-styles";
|
|
3137
|
+
function K() {
|
|
3138
|
+
let b = document.getElementById(R);
|
|
3139
|
+
return b || (b = document.createElement("style"), b.setAttribute("id", R), b.setAttribute("type", "text/css"), document.head.insertBefore(b, document.head.firstChild)), b;
|
|
2297
3140
|
}
|
|
2298
|
-
})(
|
|
2299
|
-
var
|
|
3141
|
+
})(B || (B = {}));
|
|
3142
|
+
var ue;
|
|
2300
3143
|
((e) => {
|
|
2301
|
-
e.flush =
|
|
2302
|
-
})(
|
|
3144
|
+
e.flush = B.flush, e.clear = B.clear;
|
|
3145
|
+
})(ue || (ue = {}));
|
|
2303
3146
|
Array.prototype.removeBy || (Array.prototype.removeBy = function(e) {
|
|
2304
|
-
return this.filter((
|
|
3147
|
+
return this.filter((r) => !e(r));
|
|
2305
3148
|
});
|
|
2306
|
-
Array.prototype.take || (Array.prototype.take = function(e,
|
|
2307
|
-
return this.slice(
|
|
3149
|
+
Array.prototype.take || (Array.prototype.take = function(e, r = 0) {
|
|
3150
|
+
return this.slice(r, r + e);
|
|
2308
3151
|
});
|
|
2309
3152
|
Array.prototype.add || (Array.prototype.add = function(...e) {
|
|
2310
|
-
const
|
|
2311
|
-
return
|
|
3153
|
+
const r = [...this];
|
|
3154
|
+
return r.push(...e), r;
|
|
2312
3155
|
});
|
|
2313
|
-
Array.prototype.sumBy || (Array.prototype.sumBy = function(e,
|
|
2314
|
-
return this.reduce((
|
|
3156
|
+
Array.prototype.sumBy || (Array.prototype.sumBy = function(e, r = 0) {
|
|
3157
|
+
return this.reduce((l, a, o) => l + e(a, o), r);
|
|
2315
3158
|
});
|
|
2316
|
-
Array.prototype.sortBy || (Array.prototype.sortBy = function(e,
|
|
2317
|
-
return [...this].sort((
|
|
2318
|
-
const n = e(
|
|
2319
|
-
return n <
|
|
3159
|
+
Array.prototype.sortBy || (Array.prototype.sortBy = function(e, r) {
|
|
3160
|
+
return [...this].sort((a, o) => {
|
|
3161
|
+
const n = e(a), s = e(o);
|
|
3162
|
+
return n < s ? r === "DESC" ? 1 : -1 : n > s ? r === "DESC" ? -1 : 1 : 0;
|
|
2320
3163
|
});
|
|
2321
3164
|
});
|
|
2322
3165
|
Array.prototype.maxBy || (Array.prototype.maxBy = function(e) {
|
|
2323
3166
|
return Math.max(...this.map(e));
|
|
2324
3167
|
});
|
|
2325
3168
|
Array.prototype.findOrThrow || (Array.prototype.findOrThrow = function(e) {
|
|
2326
|
-
const
|
|
2327
|
-
if (typeof
|
|
2328
|
-
return
|
|
3169
|
+
const r = this.find(e);
|
|
3170
|
+
if (typeof r > "u") throw new Error("No items satisfy the provided condition.");
|
|
3171
|
+
return r;
|
|
2329
3172
|
});
|
|
2330
3173
|
Array.prototype.toRecord || (Array.prototype.toRecord = function(e) {
|
|
2331
3174
|
return this.reduce(
|
|
2332
|
-
(
|
|
2333
|
-
const
|
|
2334
|
-
if (!
|
|
2335
|
-
const [
|
|
2336
|
-
return
|
|
3175
|
+
(r, l) => {
|
|
3176
|
+
const a = e(l);
|
|
3177
|
+
if (!a) return r;
|
|
3178
|
+
const [o, n] = a;
|
|
3179
|
+
return r[o] = n, r;
|
|
2337
3180
|
},
|
|
2338
3181
|
{}
|
|
2339
3182
|
);
|
|
2340
3183
|
});
|
|
2341
|
-
Array.prototype.groupBy || (Array.prototype.groupBy = function(e,
|
|
2342
|
-
const
|
|
2343
|
-
const
|
|
2344
|
-
return
|
|
3184
|
+
Array.prototype.groupBy || (Array.prototype.groupBy = function(e, r = !1) {
|
|
3185
|
+
const l = this.reduce((a, o, n) => {
|
|
3186
|
+
const s = e(o, n);
|
|
3187
|
+
return r && typeof s != "number" && !s || (a.has(s) === !1 && a.set(s, []), a.get(s)?.push(o)), a;
|
|
2345
3188
|
}, /* @__PURE__ */ new Map());
|
|
2346
|
-
return Array.from(
|
|
3189
|
+
return Array.from(l, ([a, o]) => ({ key: a, values: o }));
|
|
2347
3190
|
});
|
|
2348
|
-
function
|
|
2349
|
-
const { node:
|
|
2350
|
-
return
|
|
2351
|
-
function
|
|
2352
|
-
(
|
|
3191
|
+
function Me(e) {
|
|
3192
|
+
const { node: r = null, event: l = "click", hideOnScroll: a = !1, hideOnResize: o = !1, hideOnEscape: n = !0 } = e ?? {}, [s, u] = de(!1), i = Fe(null);
|
|
3193
|
+
return ge(() => {
|
|
3194
|
+
function m(C) {
|
|
3195
|
+
(r ?? i.current)?.contains(C.target) === !1 && u(!1);
|
|
2353
3196
|
}
|
|
2354
|
-
function
|
|
2355
|
-
|
|
3197
|
+
function f() {
|
|
3198
|
+
u(!1);
|
|
2356
3199
|
}
|
|
2357
|
-
function
|
|
2358
|
-
(
|
|
3200
|
+
function y(C) {
|
|
3201
|
+
(r ?? i.current)?.contains(C.target) === !1 && u(!1);
|
|
2359
3202
|
}
|
|
2360
|
-
function
|
|
2361
|
-
|
|
3203
|
+
function k(C) {
|
|
3204
|
+
C.key === "Escape" && u(!1);
|
|
2362
3205
|
}
|
|
2363
|
-
const
|
|
2364
|
-
return
|
|
2365
|
-
|
|
3206
|
+
const x = new AbortController();
|
|
3207
|
+
return s && (window.addEventListener(l, m, x), n && window.addEventListener("keydown", k, x), o && window.addEventListener("resize", f, x), a && window.addEventListener("scroll", y, { signal: x.signal, capture: !0 })), () => {
|
|
3208
|
+
x.abort();
|
|
2366
3209
|
};
|
|
2367
|
-
}, [
|
|
3210
|
+
}, [r, s]), [s, u, i];
|
|
2368
3211
|
}
|
|
2369
|
-
const
|
|
3212
|
+
const Ie = {
|
|
2370
3213
|
selected: "aria-selected"
|
|
2371
3214
|
};
|
|
2372
|
-
var
|
|
3215
|
+
var ce;
|
|
2373
3216
|
((e) => {
|
|
2374
|
-
function
|
|
2375
|
-
|
|
3217
|
+
function r(l, a, o) {
|
|
3218
|
+
l !== void 0 && l != null && (o[Ie[a] ?? a] = Array.isArray(l) ? l[0] : l);
|
|
2376
3219
|
}
|
|
2377
|
-
e.assignBooleanProp =
|
|
2378
|
-
})(
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
function t(r, o = 300) {
|
|
2382
|
-
let i = !1, n;
|
|
2383
|
-
return (...u) => {
|
|
2384
|
-
if (i) {
|
|
2385
|
-
n = u;
|
|
2386
|
-
return;
|
|
2387
|
-
}
|
|
2388
|
-
r(...u), i = !0, setTimeout(() => {
|
|
2389
|
-
i = !1, n && r(...n);
|
|
2390
|
-
}, o);
|
|
2391
|
-
};
|
|
2392
|
-
}
|
|
2393
|
-
e.throttle = t;
|
|
2394
|
-
})(Z || (Z = {}));
|
|
2395
|
-
const ke = Z;
|
|
2396
|
-
function Me(e) {
|
|
2397
|
-
let t;
|
|
3220
|
+
e.assignBooleanProp = r;
|
|
3221
|
+
})(ce || (ce = {}));
|
|
3222
|
+
function Ge(e) {
|
|
3223
|
+
let r;
|
|
2398
3224
|
return Object.defineProperty({
|
|
2399
3225
|
clear() {
|
|
2400
|
-
|
|
3226
|
+
r = void 0;
|
|
2401
3227
|
}
|
|
2402
3228
|
}, "value", {
|
|
2403
|
-
get: () => (
|
|
3229
|
+
get: () => (r === void 0 && (r = e()), r)
|
|
2404
3230
|
});
|
|
2405
3231
|
}
|
|
2406
|
-
function
|
|
2407
|
-
|
|
3232
|
+
function Ee(e, r) {
|
|
3233
|
+
if (!e) return { score: 1, matches: [] };
|
|
3234
|
+
if (!r) return null;
|
|
3235
|
+
const l = e.toLowerCase(), a = r.toLowerCase();
|
|
3236
|
+
let o = 0, n = 0;
|
|
3237
|
+
const s = [];
|
|
3238
|
+
let u = -1, i = 0, m = 0;
|
|
3239
|
+
for (; o < l.length && n < a.length; )
|
|
3240
|
+
l[o] === a[n] ? (u === -1 && (u = n), o++, m++, i += m, (n === 0 || /\s|_|-/.test(r[n - 1])) && (i += 5), e[o - 1] === r[n] && (i += 1)) : (u !== -1 && (s.push([u, n]), u = -1), m = 0), n++;
|
|
3241
|
+
return u !== -1 && s.push([u, n]), o < l.length ? null : (i = i / r.length, { score: i, matches: s });
|
|
3242
|
+
}
|
|
3243
|
+
function Pe(e, r) {
|
|
3244
|
+
return Ee(e, r) !== null;
|
|
3245
|
+
}
|
|
3246
|
+
var re;
|
|
3247
|
+
((e) => {
|
|
3248
|
+
function r(l, a = 300) {
|
|
3249
|
+
let o = !1, n;
|
|
3250
|
+
return (...s) => {
|
|
3251
|
+
if (o) {
|
|
3252
|
+
n = s;
|
|
3253
|
+
return;
|
|
3254
|
+
}
|
|
3255
|
+
l(...s), o = !0, setTimeout(() => {
|
|
3256
|
+
o = !1, n && l(...n);
|
|
3257
|
+
}, a);
|
|
3258
|
+
};
|
|
3259
|
+
}
|
|
3260
|
+
e.throttle = r;
|
|
3261
|
+
})(re || (re = {}));
|
|
3262
|
+
const De = re;
|
|
3263
|
+
function Ue(e) {
|
|
3264
|
+
return /* @__PURE__ */ z(T, { viewBox: "4 2 16 18", width: "1rem", fill: "currentColor", ...e, children: /* @__PURE__ */ z(
|
|
2408
3265
|
"path",
|
|
2409
3266
|
{
|
|
2410
3267
|
fillRule: "evenodd",
|
|
@@ -2413,11 +3270,27 @@ function He(e) {
|
|
|
2413
3270
|
}
|
|
2414
3271
|
) });
|
|
2415
3272
|
}
|
|
2416
|
-
|
|
2417
|
-
|
|
3273
|
+
const _ = /* @__PURE__ */ new Map();
|
|
3274
|
+
function We() {
|
|
3275
|
+
const [e] = ze.useTheme(), r = le(() => {
|
|
3276
|
+
const l = "crono-box";
|
|
3277
|
+
let a = document.getElementById(l);
|
|
3278
|
+
return a || (a = document.createElement("div"), a.id = l, document.body.appendChild(a)), a;
|
|
3279
|
+
}, []);
|
|
3280
|
+
return ae(() => {
|
|
3281
|
+
if (!e) return;
|
|
3282
|
+
const l = _.get(e) ?? 0;
|
|
3283
|
+
return _.set(e, l + 1), l === 0 && r.classList.add(e), () => {
|
|
3284
|
+
const o = (_.get(e) ?? 1) - 1;
|
|
3285
|
+
o <= 0 ? (_.delete(e), r.classList.remove(e)) : _.set(e, o);
|
|
3286
|
+
};
|
|
3287
|
+
}, [r, e]), r;
|
|
2418
3288
|
}
|
|
2419
|
-
function
|
|
2420
|
-
return /* @__PURE__ */
|
|
3289
|
+
function Ke(e) {
|
|
3290
|
+
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" }) });
|
|
3291
|
+
}
|
|
3292
|
+
function qe(e) {
|
|
3293
|
+
return /* @__PURE__ */ z(T, { viewBox: "0 0 16 16", width: "18", ...e, children: /* @__PURE__ */ z(
|
|
2421
3294
|
"path",
|
|
2422
3295
|
{
|
|
2423
3296
|
strokeWidth: 4,
|
|
@@ -2425,97 +3298,85 @@ function Ue(e) {
|
|
|
2425
3298
|
}
|
|
2426
3299
|
) });
|
|
2427
3300
|
}
|
|
2428
|
-
function
|
|
2429
|
-
return /* @__PURE__ */
|
|
2430
|
-
/* @__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" }),
|
|
2431
|
-
/* @__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" }),
|
|
2432
|
-
/* @__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" }),
|
|
2433
|
-
/* @__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" }),
|
|
2434
|
-
/* @__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" })
|
|
2435
|
-
] });
|
|
3301
|
+
function Ye(e) {
|
|
3302
|
+
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" }) });
|
|
2436
3303
|
}
|
|
2437
|
-
function
|
|
2438
|
-
return /* @__PURE__ */
|
|
3304
|
+
function Xe(e) {
|
|
3305
|
+
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" }) });
|
|
2439
3306
|
}
|
|
2440
|
-
var
|
|
3307
|
+
var oe;
|
|
2441
3308
|
((e) => {
|
|
2442
|
-
function
|
|
2443
|
-
return
|
|
3309
|
+
function r(l) {
|
|
3310
|
+
return l.charAt(0).toUpperCase() + l.slice(1);
|
|
2444
3311
|
}
|
|
2445
|
-
e.capitalize =
|
|
2446
|
-
})(
|
|
2447
|
-
const
|
|
2448
|
-
function
|
|
2449
|
-
return
|
|
2450
|
-
const e = "crono-box";
|
|
2451
|
-
let t = document.getElementById(e);
|
|
2452
|
-
return t || (t = document.createElement("div"), t.id = e, document.body.appendChild(t)), t;
|
|
2453
|
-
}, []);
|
|
2454
|
-
}
|
|
2455
|
-
function Xe(e) {
|
|
2456
|
-
return /* @__PURE__ */ h(O, { 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" }) });
|
|
3312
|
+
e.capitalize = r;
|
|
3313
|
+
})(oe || (oe = {}));
|
|
3314
|
+
const Ze = oe;
|
|
3315
|
+
function Je(e) {
|
|
3316
|
+
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" }) });
|
|
2457
3317
|
}
|
|
2458
|
-
var
|
|
3318
|
+
var te;
|
|
2459
3319
|
((e) => {
|
|
2460
|
-
function
|
|
2461
|
-
const
|
|
2462
|
-
(n,
|
|
2463
|
-
const
|
|
2464
|
-
return
|
|
3320
|
+
function r(a) {
|
|
3321
|
+
const o = Array.from(a.elements).reduce(
|
|
3322
|
+
(n, s) => {
|
|
3323
|
+
const u = s.name;
|
|
3324
|
+
return u && (n[u] || (n[u] = []), n[u].push(s)), n;
|
|
2465
3325
|
},
|
|
2466
3326
|
{}
|
|
2467
3327
|
);
|
|
2468
|
-
return Object.entries(
|
|
2469
|
-
if (
|
|
2470
|
-
const
|
|
2471
|
-
|
|
3328
|
+
return Object.entries(o).reduce((n, [s, u]) => {
|
|
3329
|
+
if (u.length === 1) {
|
|
3330
|
+
const i = u[0];
|
|
3331
|
+
l(n, s, i.type === "checkbox" || i.type === "radio" ? i.checked : i.value);
|
|
2472
3332
|
} else {
|
|
2473
|
-
const
|
|
2474
|
-
|
|
3333
|
+
const i = u.reduce((m, f) => (f.type === "checkbox" || f.type === "radio" ? f.checked && m.push(f.value) : m.push(f.value), m), []);
|
|
3334
|
+
l(n, s, i);
|
|
2475
3335
|
}
|
|
2476
3336
|
return n;
|
|
2477
3337
|
}, {});
|
|
2478
3338
|
}
|
|
2479
|
-
e.getFormEntries =
|
|
2480
|
-
function
|
|
2481
|
-
if (
|
|
2482
|
-
const
|
|
2483
|
-
let
|
|
2484
|
-
|
|
2485
|
-
if (
|
|
2486
|
-
const
|
|
2487
|
-
if (
|
|
2488
|
-
const [,
|
|
2489
|
-
|
|
3339
|
+
e.getFormEntries = r;
|
|
3340
|
+
function l(a, o, n) {
|
|
3341
|
+
if (o.includes(".")) {
|
|
3342
|
+
const s = o.split(".");
|
|
3343
|
+
let u = a;
|
|
3344
|
+
s.forEach((i, m) => {
|
|
3345
|
+
if (s.length > m + 1) {
|
|
3346
|
+
const f = i.match(/^(.+)\[(\d)\]$/);
|
|
3347
|
+
if (f) {
|
|
3348
|
+
const [, y, k] = f;
|
|
3349
|
+
u[y] = u[y] || [], u[y][k] = u[y][k] || {}, u = u[y][k];
|
|
2490
3350
|
} else
|
|
2491
|
-
|
|
3351
|
+
u[i] = u[i] || {}, u = u[i];
|
|
2492
3352
|
} else
|
|
2493
|
-
|
|
3353
|
+
u[i] = n;
|
|
2494
3354
|
});
|
|
2495
3355
|
} else
|
|
2496
|
-
o
|
|
3356
|
+
a[o] = n;
|
|
2497
3357
|
}
|
|
2498
|
-
})(
|
|
2499
|
-
const
|
|
3358
|
+
})(te || (te = {}));
|
|
3359
|
+
const Qe = te;
|
|
2500
3360
|
export {
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
Ue as
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
3361
|
+
ce as B,
|
|
3362
|
+
qe as D,
|
|
3363
|
+
Ue as E,
|
|
3364
|
+
De as F,
|
|
3365
|
+
Ye as G,
|
|
3366
|
+
S as O,
|
|
3367
|
+
Xe as P,
|
|
3368
|
+
Ke as S,
|
|
3369
|
+
ze as T,
|
|
3370
|
+
d as V,
|
|
3371
|
+
$e as a,
|
|
3372
|
+
Me as b,
|
|
3373
|
+
fe as c,
|
|
3374
|
+
Je as d,
|
|
3375
|
+
Qe as e,
|
|
3376
|
+
Pe as f,
|
|
3377
|
+
Ze as g,
|
|
3378
|
+
We as h,
|
|
3379
|
+
ue as i,
|
|
3380
|
+
Ge as m,
|
|
3381
|
+
He as u
|
|
2521
3382
|
};
|