@deepnoid/ui 0.1.48 → 0.1.49
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/.turbo/turbo-build.log +193 -188
- package/dist/chunk-4F6RULPS.mjs +147 -0
- package/dist/chunk-A7GHXG3K.mjs +129 -0
- package/dist/{chunk-KJMJIFPS.mjs → chunk-BPEMHZH3.mjs} +1 -1
- package/dist/{chunk-L2VA3ACH.mjs → chunk-G67WUZO3.mjs} +3 -3
- package/dist/{chunk-RTJZEFLZ.mjs → chunk-IBI3OVQI.mjs} +3 -3
- package/dist/{chunk-LR3SWRB4.mjs → chunk-IC25OKBJ.mjs} +5 -5
- package/dist/{chunk-QK2OK7WS.mjs → chunk-KYJTZPXY.mjs} +2 -2
- package/dist/{chunk-ZSG4NGLK.mjs → chunk-MCNCHQ33.mjs} +4 -4
- package/dist/{chunk-SBL6IHEW.mjs → chunk-P7YYNA6L.mjs} +1 -1
- package/dist/{chunk-JLRQLPXR.mjs → chunk-RIW4TT6V.mjs} +6 -6
- package/dist/{chunk-O6YBE7V3.mjs → chunk-TRR232FS.mjs} +5 -5
- package/dist/{chunk-FEAPUDMZ.mjs → chunk-U2NPH2O3.mjs} +7 -7
- package/dist/{chunk-RJ5AGYX2.mjs → chunk-WOEZHDJR.mjs} +8 -8
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.mjs +8 -8
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/{areaCharts.d.mts → areaChart.d.mts} +8 -4
- package/dist/components/charts/{areaCharts.d.ts → areaChart.d.ts} +8 -4
- package/dist/components/charts/{areaCharts.js → areaChart.js} +70 -66
- package/dist/components/charts/{areaCharts.mjs → areaChart.mjs} +4 -4
- package/dist/components/charts/barChart.d.mts +33 -0
- package/dist/components/charts/barChart.d.ts +33 -0
- package/dist/components/charts/barChart.js +464 -0
- package/dist/components/charts/barChart.mjs +10 -0
- package/dist/components/charts/circularProgress.d.mts +4 -4
- package/dist/components/charts/circularProgress.d.ts +4 -4
- package/dist/components/charts/circularProgress.js +4 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.d.mts +2 -1
- package/dist/components/charts/index.d.ts +2 -1
- package/dist/components/charts/index.js +189 -65
- package/dist/components/charts/index.mjs +10 -6
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
- package/dist/components/dateTimePicker/index.mjs +7 -7
- package/dist/components/dateTimePicker/timePicker.mjs +4 -4
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +7 -7
- package/dist/components/modal/modal.mjs +7 -7
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/table/index.mjs +11 -11
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.mjs +9 -9
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +189 -65
- package/dist/index.mjs +68 -64
- package/package.json +1 -1
- package/dist/chunk-VYLYF6G5.mjs +0 -143
- package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
- package/dist/{chunk-6K3E5BVO.mjs → chunk-7TAGGLNY.mjs} +3 -3
- package/dist/{chunk-X6D7C7QZ.mjs → chunk-A7RU3FU5.mjs} +3 -3
- package/dist/{chunk-YLRYHUTW.mjs → chunk-D6QI3DJG.mjs} +3 -3
- package/dist/{chunk-R62HK726.mjs → chunk-GH6CPGFN.mjs} +3 -3
- package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
- package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
- package/dist/{chunk-7W2ZI2DD.mjs → chunk-MEY4IL7D.mjs} +3 -3
- package/dist/{chunk-WPIFIRCJ.mjs → chunk-NFQMXW4Z.mjs} +3 -3
- package/dist/{chunk-33LANVZV.mjs → chunk-QIRL6HY6.mjs} +3 -3
- package/dist/{chunk-W45H2ZMW.mjs → chunk-RT3S3VVJ.mjs} +3 -3
- package/dist/{chunk-7J3KVOTS.mjs → chunk-UB4YBFOT.mjs} +3 -3
- package/dist/{chunk-2PKM7SLZ.mjs → chunk-WFMFC7R6.mjs} +3 -3
- package/dist/{chunk-Y6XQTWB5.mjs → chunk-WLNLVX7Q.mjs} +3 -3
- package/dist/{chunk-3YMMVZDL.mjs → chunk-XOH6GWRD.mjs} +0 -0
- package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
- package/dist/{chunk-XWBAGKP6.mjs → chunk-ZYWQWFVT.mjs} +3 -3
|
@@ -102,7 +102,8 @@ var require_plugin = __commonJS({
|
|
|
102
102
|
// src/components/charts/index.ts
|
|
103
103
|
var charts_exports = {};
|
|
104
104
|
__export(charts_exports, {
|
|
105
|
-
AreaChart: () =>
|
|
105
|
+
AreaChart: () => areaChart_default,
|
|
106
|
+
BarChart: () => barChart_default,
|
|
106
107
|
CircularProgress: () => circularProgress_default
|
|
107
108
|
});
|
|
108
109
|
module.exports = __toCommonJS(charts_exports);
|
|
@@ -352,11 +353,11 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
352
353
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
353
354
|
var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
354
355
|
const [props, variantProps] = mapPropsVariants(originalProps, circularProgressStyle.variantKeys);
|
|
355
|
-
const {
|
|
356
|
+
const { label, size = 150, percentage, unit, classNames } = { ...props, ...variantProps };
|
|
356
357
|
const slots = (0, import_react.useMemo)(() => circularProgressStyle({ ...variantProps }), [variantProps]);
|
|
357
358
|
const data = [
|
|
358
359
|
{
|
|
359
|
-
name:
|
|
360
|
+
name: label,
|
|
360
361
|
value: percentage
|
|
361
362
|
}
|
|
362
363
|
];
|
|
@@ -405,7 +406,7 @@ var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
405
406
|
unit
|
|
406
407
|
] }) })
|
|
407
408
|
] }),
|
|
408
|
-
|
|
409
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label })
|
|
409
410
|
] });
|
|
410
411
|
});
|
|
411
412
|
CircularProgress.displayName = "CircularProgress";
|
|
@@ -416,7 +417,7 @@ var circularProgressStyle = tv({
|
|
|
416
417
|
background: [],
|
|
417
418
|
progress: ["transition-all", "duration-1000 ease-out"],
|
|
418
419
|
text: ["text-xl", "font-bold"],
|
|
419
|
-
|
|
420
|
+
label: ["text-md", "font-bold", "text-left", "text-body-foreground"]
|
|
420
421
|
},
|
|
421
422
|
variants: {
|
|
422
423
|
color: {
|
|
@@ -442,14 +443,14 @@ var circularProgressStyle = tv({
|
|
|
442
443
|
}
|
|
443
444
|
});
|
|
444
445
|
|
|
445
|
-
// src/components/charts/
|
|
446
|
+
// src/components/charts/areaChart.tsx
|
|
446
447
|
var import_react2 = require("react");
|
|
447
448
|
var import_recharts2 = require("recharts");
|
|
448
449
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
449
450
|
var AreaChartComponent = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
450
451
|
const uniqueId = (0, import_react2.useId)();
|
|
451
452
|
const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
|
|
452
|
-
const {
|
|
453
|
+
const { data, label, color = "primary", classNames } = { ...props, ...variantProps };
|
|
453
454
|
const slots = (0, import_react2.useMemo)(() => areaChartStyle({ ...variantProps }), [variantProps]);
|
|
454
455
|
const COLOR_MAP = {
|
|
455
456
|
primary: "#3F9CF2",
|
|
@@ -487,7 +488,7 @@ var AreaChartComponent = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
487
488
|
tickRef.current = [];
|
|
488
489
|
});
|
|
489
490
|
return () => cancelAnimationFrame(raf);
|
|
490
|
-
}, [
|
|
491
|
+
}, [data]);
|
|
491
492
|
const CustomDotWithShadow = (props2) => {
|
|
492
493
|
const { cx, cy, fill, stroke } = props2;
|
|
493
494
|
if (cx === void 0 || cy === void 0) return null;
|
|
@@ -496,68 +497,72 @@ var AreaChartComponent = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
496
497
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
|
|
497
498
|
] });
|
|
498
499
|
};
|
|
499
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.
|
|
500
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("
|
|
501
|
-
|
|
502
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
501
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
502
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_recharts2.AreaChart, { data, margin: { left: -30 }, children: [
|
|
503
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("linearGradient", { id: `colorGradient-${uniqueId}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
504
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
|
|
505
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0.05 })
|
|
506
|
+
] }) }),
|
|
507
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
508
|
+
import_recharts2.CartesianGrid,
|
|
509
|
+
{
|
|
510
|
+
vertical: true,
|
|
511
|
+
horizontal: false,
|
|
512
|
+
strokeDasharray: "3 3",
|
|
513
|
+
className: "stroke-neutral-light",
|
|
514
|
+
verticalPoints: tickPositions
|
|
515
|
+
}
|
|
516
|
+
),
|
|
517
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
518
|
+
import_recharts2.XAxis,
|
|
519
|
+
{
|
|
520
|
+
dataKey: "name",
|
|
521
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
522
|
+
tickLine: false,
|
|
523
|
+
tick: CustomTick,
|
|
524
|
+
padding: { left: 35.5, right: 35.5 }
|
|
525
|
+
}
|
|
526
|
+
),
|
|
527
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
528
|
+
import_recharts2.YAxis,
|
|
529
|
+
{
|
|
530
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
531
|
+
tickLine: false,
|
|
532
|
+
tick: {
|
|
533
|
+
fontSize: 12,
|
|
534
|
+
fontWeight: 700,
|
|
535
|
+
fill: "text-body-foreground",
|
|
536
|
+
textAnchor: "middle",
|
|
537
|
+
dx: -10
|
|
538
|
+
},
|
|
539
|
+
ticks: [0, 20, 40, 60, 80, 100],
|
|
540
|
+
domain: [-6, 110]
|
|
541
|
+
}
|
|
542
|
+
),
|
|
543
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
544
|
+
import_recharts2.Area,
|
|
545
|
+
{
|
|
546
|
+
type: "monotone",
|
|
547
|
+
dataKey: "value",
|
|
548
|
+
stroke: colorHex,
|
|
549
|
+
strokeWidth: 2,
|
|
550
|
+
fill: `url(#colorGradient-${uniqueId})`,
|
|
551
|
+
dot: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
|
|
552
|
+
activeDot: { r: 7, fill: colorHex }
|
|
553
|
+
}
|
|
554
|
+
)
|
|
555
|
+
] }) })
|
|
556
|
+
] });
|
|
553
557
|
});
|
|
554
558
|
AreaChartComponent.displayName = "AreaChart";
|
|
555
|
-
var
|
|
559
|
+
var areaChart_default = AreaChartComponent;
|
|
556
560
|
var areaChartStyle = tv({
|
|
557
561
|
slots: {
|
|
558
|
-
base: [],
|
|
562
|
+
base: ["flex", "flex-col", "gap-[10px]"],
|
|
559
563
|
color: [],
|
|
560
|
-
axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"]
|
|
564
|
+
axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"],
|
|
565
|
+
label: ["text-md", "font-bold", "text-body-foreground"]
|
|
561
566
|
},
|
|
562
567
|
variants: {
|
|
563
568
|
color: {
|
|
@@ -573,8 +578,127 @@ var areaChartStyle = tv({
|
|
|
573
578
|
color: "primary"
|
|
574
579
|
}
|
|
575
580
|
});
|
|
581
|
+
|
|
582
|
+
// src/components/charts/barChart.tsx
|
|
583
|
+
var import_react3 = require("react");
|
|
584
|
+
var import_recharts3 = require("recharts");
|
|
585
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
586
|
+
var BarChartComponent = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
587
|
+
const [props, variantProps] = mapPropsVariants(originalProps, barChartStyle.variantKeys);
|
|
588
|
+
const { data, label, classNames } = { ...props, ...variantProps };
|
|
589
|
+
const slots = (0, import_react3.useMemo)(() => barChartStyle({ ...variantProps }), [variantProps]);
|
|
590
|
+
const COLOR_MAP = {
|
|
591
|
+
primary: "#C7E5FA",
|
|
592
|
+
secondary: "#DEC1FA",
|
|
593
|
+
warning: "#F9C967"
|
|
594
|
+
};
|
|
595
|
+
const [tickPositions, setTickPositions] = (0, import_react3.useState)([]);
|
|
596
|
+
const tickRef = (0, import_react3.useRef)([]);
|
|
597
|
+
const CustomBarShape = (barProps) => {
|
|
598
|
+
const { x, y, width, height, fill } = barProps;
|
|
599
|
+
const radius = 5;
|
|
600
|
+
const extraHeight = 12;
|
|
601
|
+
const adjustedHeight = height + extraHeight;
|
|
602
|
+
const adjustedY = y;
|
|
603
|
+
const bottomY = adjustedY + adjustedHeight;
|
|
604
|
+
return height ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
605
|
+
"path",
|
|
606
|
+
{
|
|
607
|
+
d: `M${x},${bottomY} L${x},${adjustedY + radius} Q${x},${adjustedY} ${x + radius},${adjustedY} L${x + width - radius},${adjustedY} Q${x + width},${adjustedY} ${x + width},${adjustedY + radius} L${x + width},${bottomY} Z`,
|
|
608
|
+
fill
|
|
609
|
+
}
|
|
610
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x, y, width, height: 0, fill });
|
|
611
|
+
};
|
|
612
|
+
const CustomTick = ({ x, y, payload }) => {
|
|
613
|
+
if (x !== void 0) {
|
|
614
|
+
tickRef.current.push(x);
|
|
615
|
+
}
|
|
616
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
617
|
+
"text",
|
|
618
|
+
{
|
|
619
|
+
x,
|
|
620
|
+
y: y + 14,
|
|
621
|
+
textAnchor: "middle",
|
|
622
|
+
fontSize: 12,
|
|
623
|
+
fontWeight: 700,
|
|
624
|
+
fill: "currentColor",
|
|
625
|
+
className: "text-body-foreground",
|
|
626
|
+
children: payload.value
|
|
627
|
+
}
|
|
628
|
+
);
|
|
629
|
+
};
|
|
630
|
+
(0, import_react3.useEffect)(() => {
|
|
631
|
+
const raf = requestAnimationFrame(() => {
|
|
632
|
+
const unique = [...new Set(tickRef.current)].sort((a, b) => a - b);
|
|
633
|
+
const mids = [];
|
|
634
|
+
for (let i = 0; i < unique.length - 1; i++) {
|
|
635
|
+
mids.push((unique[i] + unique[i + 1]) / 2);
|
|
636
|
+
}
|
|
637
|
+
setTickPositions(mids);
|
|
638
|
+
tickRef.current = [];
|
|
639
|
+
});
|
|
640
|
+
return () => cancelAnimationFrame(raf);
|
|
641
|
+
}, [data]);
|
|
642
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
643
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
644
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_recharts3.BarChart, { data, margin: { left: -30 }, barSize: 20, barGap: 10, children: [
|
|
645
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
646
|
+
import_recharts3.CartesianGrid,
|
|
647
|
+
{
|
|
648
|
+
vertical: true,
|
|
649
|
+
horizontal: false,
|
|
650
|
+
strokeDasharray: "3 3",
|
|
651
|
+
className: "stroke-neutral-light",
|
|
652
|
+
verticalPoints: tickPositions
|
|
653
|
+
}
|
|
654
|
+
),
|
|
655
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
656
|
+
import_recharts3.XAxis,
|
|
657
|
+
{
|
|
658
|
+
dataKey: "name",
|
|
659
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
660
|
+
tickLine: false,
|
|
661
|
+
tick: CustomTick,
|
|
662
|
+
padding: { left: 32, right: 32 }
|
|
663
|
+
}
|
|
664
|
+
),
|
|
665
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
666
|
+
import_recharts3.YAxis,
|
|
667
|
+
{
|
|
668
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
669
|
+
tickLine: false,
|
|
670
|
+
tick: {
|
|
671
|
+
fontSize: 12,
|
|
672
|
+
fontWeight: 700,
|
|
673
|
+
fill: "text-body-foreground",
|
|
674
|
+
textAnchor: "middle",
|
|
675
|
+
dx: -10
|
|
676
|
+
},
|
|
677
|
+
ticks: [0, 20, 40, 60, 80, 100],
|
|
678
|
+
domain: [-6, 110]
|
|
679
|
+
}
|
|
680
|
+
),
|
|
681
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "avg", fill: COLOR_MAP.primary, width: 20, shape: CustomBarShape }),
|
|
682
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "high", fill: COLOR_MAP.secondary, width: 20, shape: CustomBarShape }),
|
|
683
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "low", fill: COLOR_MAP.warning, width: 20, shape: CustomBarShape })
|
|
684
|
+
] }) })
|
|
685
|
+
] });
|
|
686
|
+
});
|
|
687
|
+
BarChartComponent.displayName = "barChart";
|
|
688
|
+
var barChart_default = BarChartComponent;
|
|
689
|
+
var barChartStyle = tv({
|
|
690
|
+
slots: {
|
|
691
|
+
base: ["flex", "flex-col", "gap-[10px]"],
|
|
692
|
+
label: ["text-md", "font-bold", "text-body-foreground"]
|
|
693
|
+
},
|
|
694
|
+
variants: {},
|
|
695
|
+
defaultVariants: {
|
|
696
|
+
color: "primary"
|
|
697
|
+
}
|
|
698
|
+
});
|
|
576
699
|
// Annotate the CommonJS export names for ESM import in node:
|
|
577
700
|
0 && (module.exports = {
|
|
578
701
|
AreaChart,
|
|
702
|
+
BarChart,
|
|
579
703
|
CircularProgress
|
|
580
704
|
});
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "../../chunk-
|
|
2
|
+
import "../../chunk-XOH6GWRD.mjs";
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
} from "../../chunk-
|
|
4
|
+
areaChart_default
|
|
5
|
+
} from "../../chunk-4F6RULPS.mjs";
|
|
6
|
+
import {
|
|
7
|
+
barChart_default
|
|
8
|
+
} from "../../chunk-A7GHXG3K.mjs";
|
|
6
9
|
import {
|
|
7
10
|
circularProgress_default
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
11
|
+
} from "../../chunk-U2NPH2O3.mjs";
|
|
10
12
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
13
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
11
14
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
15
|
export {
|
|
13
|
-
|
|
16
|
+
areaChart_default as AreaChart,
|
|
17
|
+
barChart_default as BarChart,
|
|
14
18
|
circularProgress_default as CircularProgress
|
|
15
19
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
checkbox_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-D6QI3DJG.mjs";
|
|
5
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
5
6
|
import "../../chunk-27Y6K5NK.mjs";
|
|
6
7
|
import "../../chunk-E3G5QXSH.mjs";
|
|
7
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
10
10
|
checkbox_default as default
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
3
3
|
import {
|
|
4
4
|
checkbox_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-D6QI3DJG.mjs";
|
|
6
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
6
7
|
import "../../chunk-27Y6K5NK.mjs";
|
|
7
8
|
import "../../chunk-E3G5QXSH.mjs";
|
|
8
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
9
9
|
import "../../chunk-AC6TWLRT.mjs";
|
|
10
10
|
export {
|
|
11
11
|
checkbox_default as CheckBox
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
chip_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-WLNLVX7Q.mjs";
|
|
5
5
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
6
6
|
import "../../chunk-2TKEWFGH.mjs";
|
|
7
7
|
import "../../chunk-2SDYFOZL.mjs";
|
|
8
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
9
8
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
9
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
10
10
|
import "../../chunk-AC6TWLRT.mjs";
|
|
11
11
|
export {
|
|
12
12
|
chip_default as default
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import "../../chunk-MGEWSREV.mjs";
|
|
3
3
|
import {
|
|
4
4
|
chip_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-WLNLVX7Q.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-2TKEWFGH.mjs";
|
|
8
8
|
import "../../chunk-2SDYFOZL.mjs";
|
|
9
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
10
9
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
10
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
|
13
13
|
chip_default as Chip
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
calendarStyle,
|
|
4
4
|
calendar_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-A7RU3FU5.mjs";
|
|
6
6
|
import "../../chunk-P732YGHO.mjs";
|
|
7
7
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
8
8
|
import "../../chunk-2TKEWFGH.mjs";
|
|
9
9
|
import "../../chunk-2SDYFOZL.mjs";
|
|
10
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
11
10
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
11
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
12
12
|
import "../../chunk-AC6TWLRT.mjs";
|
|
13
13
|
export {
|
|
14
14
|
calendarStyle,
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
dateTimePickerStyle,
|
|
4
4
|
dateTimePicker_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-WOEZHDJR.mjs";
|
|
6
|
+
import "../../chunk-A7RU3FU5.mjs";
|
|
7
|
+
import "../../chunk-KYJTZPXY.mjs";
|
|
8
|
+
import "../../chunk-7MVEAQ7Z.mjs";
|
|
9
|
+
import "../../chunk-HIVPDIEP.mjs";
|
|
10
|
+
import "../../chunk-RT3S3VVJ.mjs";
|
|
6
11
|
import "../../chunk-FWJ2ZKH6.mjs";
|
|
7
|
-
import "../../chunk-X6D7C7QZ.mjs";
|
|
8
12
|
import "../../chunk-P732YGHO.mjs";
|
|
9
|
-
import "../../chunk-QK2OK7WS.mjs";
|
|
10
|
-
import "../../chunk-7MVEAQ7Z.mjs";
|
|
11
|
-
import "../../chunk-UFVQPPPW.mjs";
|
|
12
|
-
import "../../chunk-W45H2ZMW.mjs";
|
|
13
13
|
import "../../chunk-SP3JVQY3.mjs";
|
|
14
14
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
15
|
import "../../chunk-2TKEWFGH.mjs";
|
|
16
16
|
import "../../chunk-2SDYFOZL.mjs";
|
|
17
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
18
17
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
18
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
19
19
|
import "../../chunk-AC6TWLRT.mjs";
|
|
20
20
|
export {
|
|
21
21
|
dateTimePickerStyle,
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import "../../chunk-75HLCORR.mjs";
|
|
3
3
|
import {
|
|
4
4
|
dateTimePicker_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-WOEZHDJR.mjs";
|
|
6
|
+
import "../../chunk-A7RU3FU5.mjs";
|
|
7
|
+
import "../../chunk-KYJTZPXY.mjs";
|
|
8
|
+
import "../../chunk-7MVEAQ7Z.mjs";
|
|
9
|
+
import "../../chunk-HIVPDIEP.mjs";
|
|
10
|
+
import "../../chunk-RT3S3VVJ.mjs";
|
|
6
11
|
import "../../chunk-FWJ2ZKH6.mjs";
|
|
7
|
-
import "../../chunk-X6D7C7QZ.mjs";
|
|
8
12
|
import "../../chunk-P732YGHO.mjs";
|
|
9
|
-
import "../../chunk-QK2OK7WS.mjs";
|
|
10
|
-
import "../../chunk-7MVEAQ7Z.mjs";
|
|
11
|
-
import "../../chunk-UFVQPPPW.mjs";
|
|
12
|
-
import "../../chunk-W45H2ZMW.mjs";
|
|
13
13
|
import "../../chunk-SP3JVQY3.mjs";
|
|
14
14
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
15
|
import "../../chunk-2TKEWFGH.mjs";
|
|
16
16
|
import "../../chunk-2SDYFOZL.mjs";
|
|
17
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
18
17
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
18
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
19
19
|
import "../../chunk-AC6TWLRT.mjs";
|
|
20
20
|
export {
|
|
21
21
|
dateTimePicker_default as DateTimePicker
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
timePicker_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-KYJTZPXY.mjs";
|
|
5
5
|
import "../../chunk-7MVEAQ7Z.mjs";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-HIVPDIEP.mjs";
|
|
7
|
+
import "../../chunk-RT3S3VVJ.mjs";
|
|
8
8
|
import "../../chunk-SP3JVQY3.mjs";
|
|
9
9
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
10
10
|
import "../../chunk-2TKEWFGH.mjs";
|
|
11
11
|
import "../../chunk-2SDYFOZL.mjs";
|
|
12
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
13
12
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
13
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
14
14
|
import "../../chunk-AC6TWLRT.mjs";
|
|
15
15
|
export {
|
|
16
16
|
timePicker_default as default
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
FileUpload,
|
|
4
4
|
fileUploadStyle,
|
|
5
5
|
fileUpload_default
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-TRR232FS.mjs";
|
|
7
7
|
import "../../chunk-2GCSFWHD.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-GH6CPGFN.mjs";
|
|
9
9
|
import "../../chunk-MY5U63QO.mjs";
|
|
10
|
+
import "../../chunk-7TAGGLNY.mjs";
|
|
11
|
+
import "../../chunk-WFMFC7R6.mjs";
|
|
10
12
|
import "../../chunk-LPZOH3RP.mjs";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-6K3E5BVO.mjs";
|
|
13
|
+
import "../../chunk-UB4YBFOT.mjs";
|
|
13
14
|
import "../../chunk-6WSACUIB.mjs";
|
|
14
15
|
import "../../chunk-LXHUO6VM.mjs";
|
|
15
16
|
import "../../chunk-6PNKRBUT.mjs";
|
|
16
17
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
17
18
|
import "../../chunk-2TKEWFGH.mjs";
|
|
18
|
-
import "../../chunk-2PKM7SLZ.mjs";
|
|
19
19
|
import "../../chunk-2SDYFOZL.mjs";
|
|
20
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
20
21
|
import "../../chunk-27Y6K5NK.mjs";
|
|
21
22
|
import "../../chunk-E3G5QXSH.mjs";
|
|
22
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
23
23
|
import "../../chunk-AC6TWLRT.mjs";
|
|
24
24
|
export {
|
|
25
25
|
FileUpload,
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import "../../chunk-RLXOHILK.mjs";
|
|
3
3
|
import {
|
|
4
4
|
fileUpload_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-TRR232FS.mjs";
|
|
6
6
|
import "../../chunk-2GCSFWHD.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-GH6CPGFN.mjs";
|
|
8
8
|
import "../../chunk-MY5U63QO.mjs";
|
|
9
|
+
import "../../chunk-7TAGGLNY.mjs";
|
|
10
|
+
import "../../chunk-WFMFC7R6.mjs";
|
|
9
11
|
import "../../chunk-LPZOH3RP.mjs";
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-6K3E5BVO.mjs";
|
|
12
|
+
import "../../chunk-UB4YBFOT.mjs";
|
|
12
13
|
import "../../chunk-6WSACUIB.mjs";
|
|
13
14
|
import "../../chunk-LXHUO6VM.mjs";
|
|
14
15
|
import "../../chunk-6PNKRBUT.mjs";
|
|
15
16
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
16
17
|
import "../../chunk-2TKEWFGH.mjs";
|
|
17
|
-
import "../../chunk-2PKM7SLZ.mjs";
|
|
18
18
|
import "../../chunk-2SDYFOZL.mjs";
|
|
19
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
19
20
|
import "../../chunk-27Y6K5NK.mjs";
|
|
20
21
|
import "../../chunk-E3G5QXSH.mjs";
|
|
21
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
22
22
|
import "../../chunk-AC6TWLRT.mjs";
|
|
23
23
|
export {
|
|
24
24
|
fileUpload_default as FileUpload
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import "../../chunk-2GCSFWHD.mjs";
|
|
3
3
|
import {
|
|
4
4
|
input_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-GH6CPGFN.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-2TKEWFGH.mjs";
|
|
8
8
|
import "../../chunk-2SDYFOZL.mjs";
|
|
9
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
9
10
|
import "../../chunk-27Y6K5NK.mjs";
|
|
10
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
11
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
12
12
|
import "../../chunk-AC6TWLRT.mjs";
|
|
13
13
|
export {
|
|
14
14
|
input_default as Input
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
inputStyle,
|
|
4
4
|
input_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-GH6CPGFN.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-2TKEWFGH.mjs";
|
|
8
8
|
import "../../chunk-2SDYFOZL.mjs";
|
|
9
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
9
10
|
import "../../chunk-27Y6K5NK.mjs";
|
|
10
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
11
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
12
12
|
import "../../chunk-AC6TWLRT.mjs";
|
|
13
13
|
export {
|
|
14
14
|
input_default as default,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import "../../chunk-7MVEAQ7Z.mjs";
|
|
3
3
|
import {
|
|
4
4
|
list_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-HIVPDIEP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
listItem_default
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-RT3S3VVJ.mjs";
|
|
9
9
|
import "../../chunk-SP3JVQY3.mjs";
|
|
10
10
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
11
11
|
import "../../chunk-2TKEWFGH.mjs";
|
|
12
12
|
import "../../chunk-2SDYFOZL.mjs";
|
|
13
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
14
13
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
14
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
15
15
|
import "../../chunk-AC6TWLRT.mjs";
|
|
16
16
|
export {
|
|
17
17
|
list_default as List,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
list_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
4
|
+
} from "../../chunk-HIVPDIEP.mjs";
|
|
6
5
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
6
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
7
7
|
import "../../chunk-AC6TWLRT.mjs";
|
|
8
8
|
export {
|
|
9
9
|
list_default as default
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
listItem_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-RT3S3VVJ.mjs";
|
|
5
5
|
import "../../chunk-SP3JVQY3.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-2TKEWFGH.mjs";
|
|
8
8
|
import "../../chunk-2SDYFOZL.mjs";
|
|
9
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
10
9
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
10
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
|
13
13
|
listItem_default as default
|