@deepnoid/ui 0.1.123 → 0.1.124
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 +180 -180
- package/dist/{chunk-5MINOKNM.mjs → chunk-2GFE25AI.mjs} +1 -1
- package/dist/{chunk-4DESGO3D.mjs → chunk-2TDHQLVV.mjs} +1 -1
- package/dist/{chunk-XOUAUSP4.mjs → chunk-3HY74IGR.mjs} +1 -1
- package/dist/{chunk-H6JGLPPF.mjs → chunk-3U5NJTRH.mjs} +1 -1
- package/dist/{chunk-27K5BTEL.mjs → chunk-3ZF7LQOM.mjs} +5 -5
- package/dist/{chunk-S7Y7XUBL.mjs → chunk-5XV45JBV.mjs} +1 -1
- package/dist/{chunk-VB5NKWJG.mjs → chunk-5XW5QDIW.mjs} +1 -1
- package/dist/{chunk-6JLHCQH7.mjs → chunk-6UKNZTOL.mjs} +1 -1
- package/dist/{chunk-CDXBML6O.mjs → chunk-76QIZILI.mjs} +6 -3
- package/dist/{chunk-NBJHZ4X2.mjs → chunk-BBRPAQON.mjs} +1 -1
- package/dist/{chunk-RVFSQFWS.mjs → chunk-C5IJSWWJ.mjs} +4 -4
- package/dist/{chunk-I3ADJOUT.mjs → chunk-CVXLLXLE.mjs} +1 -1
- package/dist/{chunk-LOYDOCOR.mjs → chunk-F4ORNNYB.mjs} +2 -2
- package/dist/{chunk-ITWKPTSD.mjs → chunk-GUTGDPXH.mjs} +1 -1
- package/dist/{chunk-3F6OF2QS.mjs → chunk-HKONMHXA.mjs} +1 -1
- package/dist/{chunk-ITDBI3X2.mjs → chunk-HO533YTO.mjs} +8 -8
- package/dist/chunk-IHLCZM5T.mjs +198 -0
- package/dist/{chunk-AF4I7ZQS.mjs → chunk-IW2MDZBW.mjs} +1 -1
- package/dist/{chunk-FF56E2UQ.mjs → chunk-J7IIHQNA.mjs} +1 -1
- package/dist/{chunk-DD6HAIW3.mjs → chunk-KJ7L6CO6.mjs} +1 -1
- package/dist/{chunk-HX64P3XQ.mjs → chunk-KRGI6HW7.mjs} +2 -2
- package/dist/{chunk-GZEAMYAO.mjs → chunk-LX7NPKFE.mjs} +1 -1
- package/dist/{chunk-2CLPU5LR.mjs → chunk-MCBAEW2Q.mjs} +1 -1
- package/dist/{chunk-JGQ5MLQ7.mjs → chunk-OEFILEL3.mjs} +1 -1
- package/dist/{chunk-VOKDAIUY.mjs → chunk-OL22LVBG.mjs} +1 -1
- package/dist/{chunk-3IILPVRA.mjs → chunk-P3PXIJTU.mjs} +1 -1
- package/dist/{chunk-E2LGBO2H.mjs → chunk-QXYGQPY3.mjs} +2 -2
- package/dist/{chunk-Q364C3FI.mjs → chunk-SDUDU3CU.mjs} +1 -1
- package/dist/{chunk-D6MHTE5L.mjs → chunk-SJNXRXV5.mjs} +1 -1
- package/dist/{chunk-DLNGJVFS.mjs → chunk-TSBG5FXL.mjs} +1 -1
- package/dist/{chunk-OGJONB7G.mjs → chunk-WNNOVISA.mjs} +1 -1
- package/dist/{chunk-AT6GNVOQ.mjs → chunk-WOGNHRNX.mjs} +1 -1
- package/dist/{chunk-2IOTRPCS.mjs → chunk-WUGITHV6.mjs} +4 -4
- package/dist/{chunk-EKLA6ZR4.mjs → chunk-XL3K55LE.mjs} +1 -1
- package/dist/{chunk-VEBJS4SC.mjs → chunk-Y3CGQN3I.mjs} +3 -3
- package/dist/{chunk-YBVJFHH6.mjs → chunk-YGOX6FBU.mjs} +1 -1
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
- package/dist/components/breadcrumb/index.mjs +6 -6
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.mjs +7 -7
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaChart.d.mts +5 -0
- package/dist/components/charts/areaChart.d.ts +5 -0
- package/dist/components/charts/areaChart.js +191 -73
- package/dist/components/charts/areaChart.mjs +5 -2
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +225 -105
- package/dist/components/charts/index.mjs +10 -7
- package/dist/components/charts/radarChart.mjs +2 -2
- 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/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +8 -8
- package/dist/components/fileUpload/index.mjs +8 -8
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +3 -3
- 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/picker/datePicker.mjs +8 -8
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.mjs +13 -13
- package/dist/components/picker/timePicker.mjs +3 -3
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.mjs +2 -2
- 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/definition-table.mjs +2 -2
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.mjs +8 -8
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.mjs +3 -3
- 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.js +112 -69
- package/dist/index.mjs +63 -63
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-QKRCC26D.mjs +0 -155
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ToastProvider,
|
|
4
4
|
useToast
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-KJ7L6CO6.mjs";
|
|
6
6
|
import "../../chunk-ZOTHPHXA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-TSBG5FXL.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-YZ57UYAS.mjs";
|
|
10
10
|
import "../../chunk-E3G5QXSH.mjs";
|
|
11
11
|
import "../../chunk-BG4DIGKH.mjs";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-76QIZILI.mjs";
|
|
13
13
|
import "../../chunk-27Y6K5NK.mjs";
|
|
14
14
|
import "../../chunk-AC6TWLRT.mjs";
|
|
15
15
|
export {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import "../../chunk-HIE2YRGA.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tooltip_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-YGOX6FBU.mjs";
|
|
6
6
|
import "../../chunk-ZMOAFSYE.mjs";
|
|
7
7
|
import "../../chunk-WSIADHVC.mjs";
|
|
8
8
|
import "../../chunk-E3G5QXSH.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-76QIZILI.mjs";
|
|
10
10
|
import "../../chunk-AC6TWLRT.mjs";
|
|
11
11
|
export {
|
|
12
12
|
tooltip_default as Tooltip
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tooltip_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-YGOX6FBU.mjs";
|
|
5
5
|
import "../../chunk-ZMOAFSYE.mjs";
|
|
6
6
|
import "../../chunk-WSIADHVC.mjs";
|
|
7
7
|
import "../../chunk-E3G5QXSH.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-76QIZILI.mjs";
|
|
9
9
|
import "../../chunk-AC6TWLRT.mjs";
|
|
10
10
|
export {
|
|
11
11
|
tooltip_default as default
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import "../../chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-2GFE25AI.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-YZ57UYAS.mjs";
|
|
8
8
|
import "../../chunk-BG4DIGKH.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-76QIZILI.mjs";
|
|
10
10
|
import "../../chunk-27Y6K5NK.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Tree,
|
|
4
4
|
tree_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-2GFE25AI.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-YZ57UYAS.mjs";
|
|
8
8
|
import "../../chunk-BG4DIGKH.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-76QIZILI.mjs";
|
|
10
10
|
import "../../chunk-27Y6K5NK.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
package/dist/index.js
CHANGED
|
@@ -548,7 +548,8 @@ var scrollbar = {
|
|
|
548
548
|
height: "6px"
|
|
549
549
|
},
|
|
550
550
|
"&::-webkit-scrollbar-thumb": {
|
|
551
|
-
backgroundColor: "
|
|
551
|
+
backgroundColor: "#3F9CF2",
|
|
552
|
+
// "rgba(0, 0, 0, 0.05)",
|
|
552
553
|
borderRadius: "100px"
|
|
553
554
|
},
|
|
554
555
|
"&::-webkit-scrollbar-track": {
|
|
@@ -561,7 +562,8 @@ var scrollbar = {
|
|
|
561
562
|
height: "8px"
|
|
562
563
|
},
|
|
563
564
|
"&::-webkit-scrollbar-thumb": {
|
|
564
|
-
backgroundColor: "
|
|
565
|
+
backgroundColor: "#3F9CF2",
|
|
566
|
+
// "rgba(0, 0, 0, 0.05)",
|
|
565
567
|
borderRadius: "100px"
|
|
566
568
|
},
|
|
567
569
|
"&::-webkit-scrollbar-track": {
|
|
@@ -574,7 +576,8 @@ var scrollbar = {
|
|
|
574
576
|
height: "10px"
|
|
575
577
|
},
|
|
576
578
|
"&::-webkit-scrollbar-thumb": {
|
|
577
|
-
backgroundColor: "
|
|
579
|
+
backgroundColor: "#3F9CF2",
|
|
580
|
+
// "rgba(0, 0, 0, 0.05)",
|
|
578
581
|
borderRadius: "100px"
|
|
579
582
|
},
|
|
580
583
|
"&::-webkit-scrollbar-track": {
|
|
@@ -12212,24 +12215,48 @@ var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
|
12212
12215
|
var AreaChartComponent = (0, import_react39.forwardRef)((originalProps, ref) => {
|
|
12213
12216
|
const uniqueId = (0, import_react39.useId)();
|
|
12214
12217
|
const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
|
|
12215
|
-
const {
|
|
12218
|
+
const {
|
|
12219
|
+
data,
|
|
12220
|
+
label,
|
|
12221
|
+
headerContent,
|
|
12222
|
+
color = "primary",
|
|
12223
|
+
startFromZero = false,
|
|
12224
|
+
itemWidth,
|
|
12225
|
+
chartHeight = 240,
|
|
12226
|
+
classNames
|
|
12227
|
+
} = { ...props, ...variantProps };
|
|
12216
12228
|
const slots = (0, import_react39.useMemo)(() => areaChartStyle({ ...variantProps }), [variantProps]);
|
|
12217
12229
|
const COLOR_MAP = {
|
|
12218
12230
|
primary: "#3F9CF2",
|
|
12219
12231
|
danger: "#FF4684"
|
|
12220
12232
|
};
|
|
12221
12233
|
const colorHex = (0, import_react39.useMemo)(() => COLOR_MAP[color], [color]);
|
|
12234
|
+
const totalChartWidth = (0, import_react39.useMemo)(() => {
|
|
12235
|
+
if (!data || !itemWidth) return void 0;
|
|
12236
|
+
const dataLength = startFromZero ? data.length + 1 : data.length;
|
|
12237
|
+
return dataLength * itemWidth;
|
|
12238
|
+
}, [data, itemWidth, startFromZero]);
|
|
12239
|
+
const needsScroll = (0, import_react39.useMemo)(() => {
|
|
12240
|
+
return totalChartWidth;
|
|
12241
|
+
}, [totalChartWidth]);
|
|
12242
|
+
const processedData = (0, import_react39.useMemo)(() => {
|
|
12243
|
+
if (!data) return [];
|
|
12244
|
+
return data;
|
|
12245
|
+
}, [data, startFromZero]);
|
|
12222
12246
|
const [tickPositions, setTickPositions] = (0, import_react39.useState)([]);
|
|
12223
12247
|
const tickRef = (0, import_react39.useRef)([]);
|
|
12224
12248
|
const CustomTick = ({ x, y, payload }) => {
|
|
12225
12249
|
if (x !== void 0) {
|
|
12226
12250
|
tickRef.current.push(x);
|
|
12227
12251
|
}
|
|
12252
|
+
if (startFromZero && payload.value === "") {
|
|
12253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("g", {});
|
|
12254
|
+
}
|
|
12228
12255
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12229
12256
|
"text",
|
|
12230
12257
|
{
|
|
12231
12258
|
x,
|
|
12232
|
-
y: y +
|
|
12259
|
+
y: y + 11,
|
|
12233
12260
|
textAnchor: "middle",
|
|
12234
12261
|
fontSize: 12,
|
|
12235
12262
|
fontWeight: 700,
|
|
@@ -12250,79 +12277,95 @@ var AreaChartComponent = (0, import_react39.forwardRef)((originalProps, ref) =>
|
|
|
12250
12277
|
tickRef.current = [];
|
|
12251
12278
|
});
|
|
12252
12279
|
return () => cancelAnimationFrame(raf);
|
|
12253
|
-
}, [
|
|
12280
|
+
}, [processedData]);
|
|
12254
12281
|
const CustomDotWithShadow = (props2) => {
|
|
12255
|
-
const { cx, cy, fill, stroke } = props2;
|
|
12282
|
+
const { cx, cy, fill, stroke, payload } = props2;
|
|
12256
12283
|
if (cx === void 0 || cy === void 0) return null;
|
|
12284
|
+
if (startFromZero && (payload == null ? void 0 : payload.name) === "") {
|
|
12285
|
+
return null;
|
|
12286
|
+
}
|
|
12257
12287
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
12258
12288
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("circle", { cx, cy, r: 8, fill, opacity: 0.2 }),
|
|
12259
12289
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
|
|
12260
12290
|
] });
|
|
12261
12291
|
};
|
|
12292
|
+
const chartContent = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12293
|
+
"div",
|
|
12294
|
+
{
|
|
12295
|
+
style: {
|
|
12296
|
+
width: totalChartWidth || "100%",
|
|
12297
|
+
minWidth: totalChartWidth || "100%"
|
|
12298
|
+
},
|
|
12299
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
12300
|
+
import_recharts2.AreaChart,
|
|
12301
|
+
{
|
|
12302
|
+
width: totalChartWidth || 400,
|
|
12303
|
+
height: chartHeight + 30,
|
|
12304
|
+
data: processedData,
|
|
12305
|
+
margin: { left: -30 },
|
|
12306
|
+
className: "bg-body-background [&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
|
|
12307
|
+
children: [
|
|
12308
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("linearGradient", { id: `colorGradient-${uniqueId}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
12309
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
|
|
12310
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0 })
|
|
12311
|
+
] }) }),
|
|
12312
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12313
|
+
import_recharts2.CartesianGrid,
|
|
12314
|
+
{
|
|
12315
|
+
vertical: true,
|
|
12316
|
+
horizontal: false,
|
|
12317
|
+
strokeDasharray: "3 3",
|
|
12318
|
+
className: "stroke-neutral-light",
|
|
12319
|
+
verticalPoints: tickPositions
|
|
12320
|
+
}
|
|
12321
|
+
),
|
|
12322
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12323
|
+
import_recharts2.XAxis,
|
|
12324
|
+
{
|
|
12325
|
+
dataKey: "name",
|
|
12326
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
12327
|
+
tickLine: false,
|
|
12328
|
+
tick: CustomTick,
|
|
12329
|
+
padding: { left: 35.5, right: 35.5 }
|
|
12330
|
+
}
|
|
12331
|
+
),
|
|
12332
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12333
|
+
import_recharts2.YAxis,
|
|
12334
|
+
{
|
|
12335
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
12336
|
+
tickLine: false,
|
|
12337
|
+
tick: {
|
|
12338
|
+
fontSize: 12,
|
|
12339
|
+
fontWeight: 700,
|
|
12340
|
+
fill: "text-body-foreground",
|
|
12341
|
+
textAnchor: "middle",
|
|
12342
|
+
dx: -10
|
|
12343
|
+
},
|
|
12344
|
+
ticks: [0, 20, 40, 60, 80, 100],
|
|
12345
|
+
domain: [-6, 110]
|
|
12346
|
+
}
|
|
12347
|
+
),
|
|
12348
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12349
|
+
import_recharts2.Area,
|
|
12350
|
+
{
|
|
12351
|
+
type: "monotone",
|
|
12352
|
+
dataKey: "value",
|
|
12353
|
+
stroke: colorHex,
|
|
12354
|
+
strokeWidth: 2,
|
|
12355
|
+
fill: `url(#colorGradient-${uniqueId})`,
|
|
12356
|
+
dot: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
|
|
12357
|
+
activeDot: false
|
|
12358
|
+
}
|
|
12359
|
+
)
|
|
12360
|
+
]
|
|
12361
|
+
}
|
|
12362
|
+
)
|
|
12363
|
+
}
|
|
12364
|
+
);
|
|
12262
12365
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
12263
12366
|
label && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
12264
|
-
|
|
12265
|
-
|
|
12266
|
-
{
|
|
12267
|
-
data,
|
|
12268
|
-
margin: { left: -30 },
|
|
12269
|
-
className: "[&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
|
|
12270
|
-
children: [
|
|
12271
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("linearGradient", { id: `colorGradient-${uniqueId}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
12272
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
|
|
12273
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0 })
|
|
12274
|
-
] }) }),
|
|
12275
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12276
|
-
import_recharts2.CartesianGrid,
|
|
12277
|
-
{
|
|
12278
|
-
vertical: true,
|
|
12279
|
-
horizontal: false,
|
|
12280
|
-
strokeDasharray: "3 3",
|
|
12281
|
-
className: "stroke-neutral-light",
|
|
12282
|
-
verticalPoints: tickPositions
|
|
12283
|
-
}
|
|
12284
|
-
),
|
|
12285
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12286
|
-
import_recharts2.XAxis,
|
|
12287
|
-
{
|
|
12288
|
-
dataKey: "name",
|
|
12289
|
-
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
12290
|
-
tickLine: false,
|
|
12291
|
-
tick: CustomTick,
|
|
12292
|
-
padding: { left: 35.5, right: 35.5 }
|
|
12293
|
-
}
|
|
12294
|
-
),
|
|
12295
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12296
|
-
import_recharts2.YAxis,
|
|
12297
|
-
{
|
|
12298
|
-
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
12299
|
-
tickLine: false,
|
|
12300
|
-
tick: {
|
|
12301
|
-
fontSize: 12,
|
|
12302
|
-
fontWeight: 700,
|
|
12303
|
-
fill: "text-body-foreground",
|
|
12304
|
-
textAnchor: "middle",
|
|
12305
|
-
dx: -10
|
|
12306
|
-
},
|
|
12307
|
-
ticks: [0, 20, 40, 60, 80, 100],
|
|
12308
|
-
domain: [-6, 110]
|
|
12309
|
-
}
|
|
12310
|
-
),
|
|
12311
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
12312
|
-
import_recharts2.Area,
|
|
12313
|
-
{
|
|
12314
|
-
type: "monotone",
|
|
12315
|
-
dataKey: "value",
|
|
12316
|
-
stroke: colorHex,
|
|
12317
|
-
strokeWidth: 2,
|
|
12318
|
-
fill: `url(#colorGradient-${uniqueId})`,
|
|
12319
|
-
dot: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
|
|
12320
|
-
activeDot: { r: 7, fill: colorHex }
|
|
12321
|
-
}
|
|
12322
|
-
)
|
|
12323
|
-
]
|
|
12324
|
-
}
|
|
12325
|
-
) })
|
|
12367
|
+
headerContent,
|
|
12368
|
+
needsScroll ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(scrollArea_default, { direction: "x", size: "sm", children: chartContent }) : chartContent
|
|
12326
12369
|
] });
|
|
12327
12370
|
});
|
|
12328
12371
|
AreaChartComponent.displayName = "AreaChart";
|
package/dist/index.mjs
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
import "./chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2GFE25AI.mjs";
|
|
6
6
|
import "./chunk-LUWGOKLG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ToastProvider,
|
|
9
9
|
useToast
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KJ7L6CO6.mjs";
|
|
11
11
|
import "./chunk-ZOTHPHXA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
toast_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TSBG5FXL.mjs";
|
|
15
15
|
import "./chunk-HIE2YRGA.mjs";
|
|
16
16
|
import {
|
|
17
17
|
tooltip_default
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YGOX6FBU.mjs";
|
|
19
19
|
import "./chunk-ZMOAFSYE.mjs";
|
|
20
20
|
import "./chunk-WSIADHVC.mjs";
|
|
21
21
|
import "./chunk-DX3KXNP6.mjs";
|
|
22
22
|
import {
|
|
23
23
|
definition_table_default
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SJNXRXV5.mjs";
|
|
25
25
|
import {
|
|
26
26
|
table_default
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3ZF7LQOM.mjs";
|
|
28
28
|
import "./chunk-RRAZM5D3.mjs";
|
|
29
29
|
import {
|
|
30
30
|
textarea_default
|
|
@@ -40,104 +40,84 @@ import {
|
|
|
40
40
|
import "./chunk-3MY6LO7N.mjs";
|
|
41
41
|
import {
|
|
42
42
|
tabs_default
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import {
|
|
46
|
-
radio_default
|
|
47
|
-
} from "./chunk-FF56E2UQ.mjs";
|
|
48
|
-
import "./chunk-DQRAFUDA.mjs";
|
|
43
|
+
} from "./chunk-BBRPAQON.mjs";
|
|
44
|
+
import "./chunk-4VWG4726.mjs";
|
|
49
45
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
46
|
+
datePicker_default
|
|
47
|
+
} from "./chunk-HO533YTO.mjs";
|
|
48
|
+
import "./chunk-FWFEKWWD.mjs";
|
|
53
49
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-F3HENRVM.mjs";
|
|
57
|
-
import "./chunk-4VWG4726.mjs";
|
|
50
|
+
day_default
|
|
51
|
+
} from "./chunk-2TDHQLVV.mjs";
|
|
58
52
|
import {
|
|
59
53
|
timePicker_default
|
|
60
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-QXYGQPY3.mjs";
|
|
61
55
|
import "./chunk-QCEKPS7U.mjs";
|
|
62
56
|
import {
|
|
63
57
|
select_default
|
|
64
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-LX7NPKFE.mjs";
|
|
59
|
+
import "./chunk-7B7LRG5J.mjs";
|
|
65
60
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
61
|
+
pagination_default
|
|
62
|
+
} from "./chunk-KRGI6HW7.mjs";
|
|
63
|
+
import "./chunk-F3HENRVM.mjs";
|
|
64
|
+
import "./chunk-TPFN22HR.mjs";
|
|
69
65
|
import {
|
|
70
|
-
|
|
71
|
-
} from "./chunk-
|
|
66
|
+
radio_default
|
|
67
|
+
} from "./chunk-J7IIHQNA.mjs";
|
|
72
68
|
import "./chunk-7MVEAQ7Z.mjs";
|
|
73
69
|
import {
|
|
74
70
|
list_default
|
|
75
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-P3PXIJTU.mjs";
|
|
76
72
|
import {
|
|
77
73
|
listItem_default
|
|
78
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-F4ORNNYB.mjs";
|
|
79
75
|
import "./chunk-DJOG6Z35.mjs";
|
|
80
76
|
import {
|
|
81
77
|
modal_default
|
|
82
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Y3CGQN3I.mjs";
|
|
83
79
|
import "./chunk-MGEWSREV.mjs";
|
|
84
80
|
import {
|
|
85
81
|
chip_default
|
|
86
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-WOGNHRNX.mjs";
|
|
83
|
+
import "./chunk-32GA3YW4.mjs";
|
|
84
|
+
import {
|
|
85
|
+
drawer_default
|
|
86
|
+
} from "./chunk-5XV45JBV.mjs";
|
|
87
87
|
import "./chunk-RLXOHILK.mjs";
|
|
88
88
|
import {
|
|
89
89
|
fileUpload_default
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-C5IJSWWJ.mjs";
|
|
91
91
|
import "./chunk-7VOQKIIK.mjs";
|
|
92
92
|
import {
|
|
93
93
|
progress_default
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-MCBAEW2Q.mjs";
|
|
95
95
|
import "./chunk-2GCSFWHD.mjs";
|
|
96
96
|
import {
|
|
97
97
|
input_default
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-32GA3YW4.mjs";
|
|
100
|
-
import {
|
|
101
|
-
drawer_default
|
|
102
|
-
} from "./chunk-S7Y7XUBL.mjs";
|
|
103
|
-
import "./chunk-VYNBJBXD.mjs";
|
|
104
|
-
import {
|
|
105
|
-
areaChart_default
|
|
106
|
-
} from "./chunk-QKRCC26D.mjs";
|
|
107
|
-
import {
|
|
108
|
-
barChart_default
|
|
109
|
-
} from "./chunk-OGJONB7G.mjs";
|
|
110
|
-
import {
|
|
111
|
-
circularProgress_default
|
|
112
|
-
} from "./chunk-VB5NKWJG.mjs";
|
|
113
|
-
import {
|
|
114
|
-
radarChart_default
|
|
115
|
-
} from "./chunk-JGQ5MLQ7.mjs";
|
|
98
|
+
} from "./chunk-HKONMHXA.mjs";
|
|
116
99
|
import "./chunk-QZ3LVYJW.mjs";
|
|
117
100
|
import {
|
|
118
101
|
checkbox_default
|
|
119
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-3U5NJTRH.mjs";
|
|
120
103
|
import "./chunk-SE5TU755.mjs";
|
|
121
104
|
import {
|
|
122
105
|
backdrop_default
|
|
123
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-IW2MDZBW.mjs";
|
|
124
107
|
import "./chunk-KYIODWXL.mjs";
|
|
125
108
|
import {
|
|
126
109
|
breadcrumb_default
|
|
127
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-WUGITHV6.mjs";
|
|
128
111
|
import "./chunk-MY5U63QO.mjs";
|
|
129
|
-
import {
|
|
130
|
-
text_button_default
|
|
131
|
-
} from "./chunk-Q364C3FI.mjs";
|
|
132
112
|
import {
|
|
133
113
|
button_group_default
|
|
134
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-GUTGDPXH.mjs";
|
|
135
115
|
import {
|
|
136
116
|
button_default
|
|
137
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-3HY74IGR.mjs";
|
|
138
118
|
import {
|
|
139
119
|
icon_button_default
|
|
140
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-6UKNZTOL.mjs";
|
|
141
121
|
import "./chunk-6WSACUIB.mjs";
|
|
142
122
|
import "./chunk-LXHUO6VM.mjs";
|
|
143
123
|
import "./chunk-SZL743JC.mjs";
|
|
@@ -146,23 +126,43 @@ import {
|
|
|
146
126
|
Icon_default,
|
|
147
127
|
iconTemplate
|
|
148
128
|
} from "./chunk-YZ57UYAS.mjs";
|
|
129
|
+
import {
|
|
130
|
+
text_button_default
|
|
131
|
+
} from "./chunk-SDUDU3CU.mjs";
|
|
132
|
+
import "./chunk-VYNBJBXD.mjs";
|
|
133
|
+
import {
|
|
134
|
+
radarChart_default
|
|
135
|
+
} from "./chunk-OEFILEL3.mjs";
|
|
136
|
+
import {
|
|
137
|
+
areaChart_default
|
|
138
|
+
} from "./chunk-IHLCZM5T.mjs";
|
|
139
|
+
import "./chunk-DQRAFUDA.mjs";
|
|
140
|
+
import {
|
|
141
|
+
scrollArea_default
|
|
142
|
+
} from "./chunk-M37VBNB3.mjs";
|
|
143
|
+
import {
|
|
144
|
+
barChart_default
|
|
145
|
+
} from "./chunk-WNNOVISA.mjs";
|
|
146
|
+
import {
|
|
147
|
+
circularProgress_default
|
|
148
|
+
} from "./chunk-5XW5QDIW.mjs";
|
|
149
149
|
import "./chunk-NMSDSEBD.mjs";
|
|
150
150
|
import {
|
|
151
151
|
accordion_default
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-XL3K55LE.mjs";
|
|
153
153
|
import {
|
|
154
154
|
accordionItem_default
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-CVXLLXLE.mjs";
|
|
156
156
|
import "./chunk-E3G5QXSH.mjs";
|
|
157
157
|
import "./chunk-7DLOYKVC.mjs";
|
|
158
158
|
import {
|
|
159
159
|
avatar_default
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-OL22LVBG.mjs";
|
|
161
161
|
import "./chunk-BG4DIGKH.mjs";
|
|
162
162
|
import {
|
|
163
163
|
deepnoidUi,
|
|
164
164
|
tv
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-76QIZILI.mjs";
|
|
166
166
|
import "./chunk-3V4HT2K5.mjs";
|
|
167
167
|
import "./chunk-27Y6K5NK.mjs";
|
|
168
168
|
import "./chunk-AC6TWLRT.mjs";
|