@deepnoid/ui 0.1.181 → 0.1.182
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 +149 -149
- package/dist/{chunk-ROXKJQSJ.mjs → chunk-6NO7GQHG.mjs} +3 -3
- package/dist/{chunk-GWHUQUKA.mjs → chunk-6WD32ERF.mjs} +93 -79
- package/dist/{chunk-NPVMCUZ4.mjs → chunk-GPJVGQ5W.mjs} +2 -2
- package/dist/{chunk-GG7QANQF.mjs → chunk-KDBM7UVG.mjs} +1 -1
- package/dist/{chunk-Q2AFTLDT.mjs → chunk-M5ZLURXE.mjs} +2 -2
- package/dist/{chunk-2H5EBNCD.mjs → chunk-SX2FQY4L.mjs} +4 -4
- package/dist/{chunk-MU6QDNYC.mjs → chunk-W67QZ4OB.mjs} +1 -1
- package/dist/chunk-WKTRWHDA.mjs +264 -0
- package/dist/{chunk-7C7RHDHV.mjs → chunk-XZTVXEOD.mjs} +4 -4
- package/dist/{chunk-HOQAQVDA.mjs → chunk-YTW5HJJH.mjs} +5 -5
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +4 -4
- package/dist/components/breadcrumb/index.mjs +4 -4
- package/dist/components/button/button.mjs +1 -1
- package/dist/components/button/icon-button.mjs +1 -1
- package/dist/components/button/index.mjs +3 -3
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaChart.mjs +1 -1
- package/dist/components/charts/barChart.js +125 -111
- package/dist/components/charts/barChart.mjs +1 -1
- package/dist/components/charts/index.js +218 -190
- package/dist/components/charts/index.mjs +3 -3
- package/dist/components/charts/simpleBarChart.js +93 -79
- package/dist/components/charts/simpleBarChart.mjs +1 -1
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +1 -1
- package/dist/components/chip/index.mjs +1 -1
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.mjs +5 -5
- package/dist/components/picker/index.mjs +7 -7
- package/dist/components/picker/timePicker.mjs +4 -4
- 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 +3 -3
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/starRating/index.mjs +1 -1
- package/dist/components/starRating/starRating.mjs +1 -1
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.mjs +6 -6
- package/dist/components/table/table-head.mjs +6 -6
- package/dist/components/table/table.mjs +6 -6
- package/dist/components/textarea/index.mjs +2 -2
- package/dist/components/textarea/textarea.mjs +2 -2
- package/dist/components/timePicker/calendar.mjs +1 -1
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.js +218 -190
- package/dist/index.mjs +33 -33
- package/package.json +1 -1
- package/dist/chunk-JOK735WN.mjs +0 -250
- package/dist/{chunk-OEIEALIP.mjs → chunk-3DCUMRYP.mjs} +3 -3
- package/dist/{chunk-3CRSSRCH.mjs → chunk-3HXNAVAN.mjs} +3 -3
- package/dist/{chunk-IH3BJRTV.mjs → chunk-4X35QQTI.mjs} +3 -3
- package/dist/{chunk-RXDRG6MC.mjs → chunk-7H6U5XJA.mjs} +3 -3
- package/dist/{chunk-KH63CD55.mjs → chunk-ACZ3DQVT.mjs} +3 -3
- package/dist/{chunk-DS5CGU2X.mjs → chunk-BH3I4LIZ.mjs} +3 -3
- package/dist/{chunk-GS5X67UB.mjs → chunk-GVTYOGSV.mjs} +3 -3
- package/dist/{chunk-4EELFA6L.mjs → chunk-LE7PGMCV.mjs} +3 -3
- package/dist/{chunk-4LUASWAN.mjs → chunk-NDNIAALB.mjs} +3 -3
- package/dist/{chunk-MWUA62VL.mjs → chunk-NKF2TQMA.mjs} +3 -3
- package/dist/{chunk-A3WPBLOW.mjs → chunk-UINFH5AT.mjs} +3 -3
- package/dist/{chunk-PRNE3U26.mjs → chunk-XL6LZDT4.mjs} +3 -3
- package/dist/{chunk-45Y7ANPK.mjs → chunk-ZFC5O2V3.mjs} +3 -3
|
@@ -822,8 +822,8 @@ var BarChartComponent = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
822
822
|
const { payload, x, y } = e;
|
|
823
823
|
if (!payload || !payload[dataKey]) return;
|
|
824
824
|
setTooltipState({
|
|
825
|
-
x,
|
|
826
|
-
y,
|
|
825
|
+
barX: x,
|
|
826
|
+
barY: y - 10,
|
|
827
827
|
value: payload[dataKey],
|
|
828
828
|
dataKey,
|
|
829
829
|
label: payload.title
|
|
@@ -894,7 +894,7 @@ var BarChartComponent = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
894
894
|
const tooltipRect = tooltipRef.current.getBoundingClientRect();
|
|
895
895
|
const chartWidth = chartRect.width;
|
|
896
896
|
const tooltipWidth = tooltipRect.width;
|
|
897
|
-
let left = tooltipState.
|
|
897
|
+
let left = tooltipState.barX - tooltipWidth / 2;
|
|
898
898
|
const padding2 = 8;
|
|
899
899
|
if (left < padding2) {
|
|
900
900
|
left = padding2;
|
|
@@ -903,114 +903,128 @@ var BarChartComponent = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
903
903
|
}
|
|
904
904
|
setTooltipLeft(left);
|
|
905
905
|
}, [tooltipState]);
|
|
906
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
{
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
906
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
907
|
+
"div",
|
|
908
|
+
{
|
|
909
|
+
ref: chartRef,
|
|
910
|
+
className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
911
|
+
onMouseLeave: handleMouseLeave,
|
|
912
|
+
onMouseMove: (e) => {
|
|
913
|
+
const target = e.target;
|
|
914
|
+
if (!target.closest('[data-testid="recharts-bar-rectangle"]') && !target.closest(".recharts-bar-rectangle") && target.tagName !== "path") {
|
|
915
|
+
setTooltipState(null);
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
children: [
|
|
919
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
920
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_recharts3.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
921
|
+
import_recharts3.BarChart,
|
|
922
|
+
{
|
|
923
|
+
data,
|
|
924
|
+
margin: { left: -20 },
|
|
925
|
+
barSize: 20,
|
|
926
|
+
barGap,
|
|
927
|
+
className: "[&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
|
|
928
|
+
children: [
|
|
929
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("defs", { children: [
|
|
930
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("linearGradient", { id: "blueGradient", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
931
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "0%", stopColor: "#DEC1FA" }),
|
|
932
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "100%", stopColor: "#3F9CF2" })
|
|
933
|
+
] }),
|
|
934
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("linearGradient", { id: "greenGradient", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
935
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "0%", stopColor: "#C2E59C" }),
|
|
936
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "100%", stopColor: "#64B3F4" })
|
|
937
|
+
] }),
|
|
938
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("linearGradient", { id: "pinkGradient", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
939
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "0%", stopColor: "#DDD6F3" }),
|
|
940
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "100%", stopColor: "#FAACA8" })
|
|
941
|
+
] })
|
|
942
|
+
] }),
|
|
943
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
944
|
+
import_recharts3.CartesianGrid,
|
|
945
|
+
{
|
|
946
|
+
vertical: true,
|
|
947
|
+
horizontal: false,
|
|
948
|
+
strokeDasharray: "4 4",
|
|
949
|
+
className: "stroke-neutral-light",
|
|
950
|
+
verticalPoints: tickPositions
|
|
951
|
+
}
|
|
952
|
+
),
|
|
953
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
954
|
+
import_recharts3.XAxis,
|
|
955
|
+
{
|
|
956
|
+
dataKey: "title",
|
|
957
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
958
|
+
tickLine: false,
|
|
959
|
+
tick: CustomTick,
|
|
960
|
+
padding: { left: 0, right: 0 }
|
|
961
|
+
}
|
|
962
|
+
),
|
|
963
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
964
|
+
import_recharts3.YAxis,
|
|
965
|
+
{
|
|
966
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
967
|
+
tickLine: false,
|
|
968
|
+
tick: CustomYAxisTick,
|
|
969
|
+
ticks: yAxisTicks,
|
|
970
|
+
domain: yAxisDomain
|
|
971
|
+
}
|
|
972
|
+
),
|
|
973
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
974
|
+
import_recharts3.Bar,
|
|
975
|
+
{
|
|
976
|
+
dataKey: "blue",
|
|
977
|
+
fill: "url(#blueGradient)",
|
|
978
|
+
shape: CustomBarShape,
|
|
979
|
+
onMouseEnter: (e) => handleMouseEnter(e, "blue"),
|
|
980
|
+
onMouseLeave: handleMouseLeave
|
|
981
|
+
}
|
|
982
|
+
),
|
|
983
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
984
|
+
import_recharts3.Bar,
|
|
985
|
+
{
|
|
986
|
+
dataKey: "green",
|
|
987
|
+
fill: "url(#greenGradient)",
|
|
988
|
+
shape: CustomBarShape,
|
|
989
|
+
onMouseEnter: (e) => handleMouseEnter(e, "green"),
|
|
990
|
+
onMouseLeave: handleMouseLeave
|
|
991
|
+
}
|
|
992
|
+
),
|
|
993
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
994
|
+
import_recharts3.Bar,
|
|
995
|
+
{
|
|
996
|
+
dataKey: "pink",
|
|
997
|
+
fill: "url(#pinkGradient)",
|
|
998
|
+
shape: CustomBarShape,
|
|
999
|
+
onMouseEnter: (e) => handleMouseEnter(e, "pink"),
|
|
1000
|
+
onMouseLeave: handleMouseLeave
|
|
1001
|
+
}
|
|
1002
|
+
)
|
|
1003
|
+
]
|
|
1004
|
+
}
|
|
1005
|
+
) }),
|
|
1006
|
+
tooltipFormatter && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1007
|
+
"div",
|
|
1008
|
+
{
|
|
1009
|
+
ref: tooltipRef,
|
|
1010
|
+
style: {
|
|
1011
|
+
position: "absolute",
|
|
1012
|
+
left: tooltipLeft + 10,
|
|
1013
|
+
top: (tooltipState == null ? void 0 : tooltipState.barY) || 0,
|
|
1014
|
+
pointerEvents: "none",
|
|
1015
|
+
zIndex: 10,
|
|
1016
|
+
opacity: tooltipState ? 1 : 0,
|
|
1017
|
+
transition: "opacity 0.1s ease-out",
|
|
1018
|
+
visibility: tooltipState ? "visible" : "hidden",
|
|
1019
|
+
width: "fit-content",
|
|
1020
|
+
whiteSpace: "nowrap"
|
|
1021
|
+
},
|
|
1022
|
+
children: tooltipState && tooltipFormatter(tooltipState)
|
|
1023
|
+
}
|
|
1024
|
+
)
|
|
1025
|
+
]
|
|
1026
|
+
}
|
|
1027
|
+
);
|
|
1014
1028
|
});
|
|
1015
1029
|
BarChartComponent.displayName = "barChart";
|
|
1016
1030
|
var barChart_default = BarChartComponent;
|
|
@@ -1193,8 +1207,8 @@ var SimpleBarChartComponent = (0, import_react5.forwardRef)((originalProps, ref)
|
|
|
1193
1207
|
const { payload, x, y } = e;
|
|
1194
1208
|
if (!payload) return;
|
|
1195
1209
|
setTooltipState({
|
|
1196
|
-
x,
|
|
1197
|
-
y,
|
|
1210
|
+
barX: x,
|
|
1211
|
+
barY: y - 20,
|
|
1198
1212
|
value: payload.value,
|
|
1199
1213
|
label: payload.title
|
|
1200
1214
|
});
|
|
@@ -1237,7 +1251,7 @@ var SimpleBarChartComponent = (0, import_react5.forwardRef)((originalProps, ref)
|
|
|
1237
1251
|
const tooltipRect = tooltipRef.current.getBoundingClientRect();
|
|
1238
1252
|
const chartWidth = chartRect.width;
|
|
1239
1253
|
const tooltipWidth = tooltipRect.width;
|
|
1240
|
-
let left = tooltipState.
|
|
1254
|
+
let left = tooltipState.barX - tooltipWidth / 2;
|
|
1241
1255
|
const padding2 = 8;
|
|
1242
1256
|
if (left < padding2) {
|
|
1243
1257
|
left = padding2;
|
|
@@ -1246,82 +1260,96 @@ var SimpleBarChartComponent = (0, import_react5.forwardRef)((originalProps, ref)
|
|
|
1246
1260
|
}
|
|
1247
1261
|
setTooltipLeft(left);
|
|
1248
1262
|
}, [tooltipState]);
|
|
1249
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
{
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
1264
|
+
"div",
|
|
1265
|
+
{
|
|
1266
|
+
ref: chartRef,
|
|
1267
|
+
className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
1268
|
+
onMouseLeave: handleMouseLeave,
|
|
1269
|
+
onMouseMove: (e) => {
|
|
1270
|
+
const target = e.target;
|
|
1271
|
+
if (!target.closest('[data-testid="recharts-bar-rectangle"]') && !target.closest(".recharts-bar-rectangle") && target.tagName !== "path") {
|
|
1272
|
+
setTooltipState(null);
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
children: [
|
|
1276
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
1277
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_recharts5.ResponsiveContainer, { width: "100%", height: 140, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
1278
|
+
import_recharts5.BarChart,
|
|
1279
|
+
{
|
|
1280
|
+
data,
|
|
1281
|
+
margin: { left: 0, right: 0, top: 0, bottom: 0 },
|
|
1282
|
+
barSize: 10,
|
|
1283
|
+
barGap,
|
|
1284
|
+
className: "[&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
|
|
1285
|
+
children: [
|
|
1286
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1287
|
+
import_recharts5.CartesianGrid,
|
|
1288
|
+
{
|
|
1289
|
+
vertical: true,
|
|
1290
|
+
horizontal: false,
|
|
1291
|
+
strokeDasharray: "4 4",
|
|
1292
|
+
className: "stroke-neutral-light",
|
|
1293
|
+
verticalPoints: tickPositions
|
|
1294
|
+
}
|
|
1295
|
+
),
|
|
1296
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1297
|
+
import_recharts5.CartesianGrid,
|
|
1298
|
+
{
|
|
1299
|
+
vertical: true,
|
|
1300
|
+
horizontal: false,
|
|
1301
|
+
strokeDasharray: "0",
|
|
1302
|
+
strokeWidth: 2,
|
|
1303
|
+
className: "stroke-neutral-light",
|
|
1304
|
+
verticalPoints: [0]
|
|
1305
|
+
}
|
|
1306
|
+
),
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1308
|
+
import_recharts5.XAxis,
|
|
1309
|
+
{
|
|
1310
|
+
dataKey: "title",
|
|
1311
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
1312
|
+
tickLine: false,
|
|
1313
|
+
tick: CustomTick,
|
|
1314
|
+
padding: { left: 0, right: 0 }
|
|
1315
|
+
}
|
|
1316
|
+
),
|
|
1317
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_recharts5.YAxis, { hide: true, ticks: yAxisTicks, domain: yAxisDomain }),
|
|
1318
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1319
|
+
import_recharts5.Bar,
|
|
1320
|
+
{
|
|
1321
|
+
dataKey: "value",
|
|
1322
|
+
fill: "#C7E5FA",
|
|
1323
|
+
shape: CustomBarShape,
|
|
1324
|
+
onMouseEnter: handleMouseEnter,
|
|
1325
|
+
onMouseLeave: handleMouseLeave
|
|
1326
|
+
}
|
|
1327
|
+
)
|
|
1328
|
+
]
|
|
1329
|
+
}
|
|
1330
|
+
) }),
|
|
1331
|
+
tooltipFormatter && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1332
|
+
"div",
|
|
1333
|
+
{
|
|
1334
|
+
ref: tooltipRef,
|
|
1335
|
+
style: {
|
|
1336
|
+
position: "absolute",
|
|
1337
|
+
left: tooltipLeft + 5,
|
|
1338
|
+
top: (tooltipState == null ? void 0 : tooltipState.barY) || 0,
|
|
1339
|
+
pointerEvents: "none",
|
|
1340
|
+
zIndex: 10,
|
|
1341
|
+
opacity: tooltipState ? 1 : 0,
|
|
1342
|
+
transition: "opacity 0.1s ease-out",
|
|
1343
|
+
visibility: tooltipState ? "visible" : "hidden",
|
|
1344
|
+
width: "fit-content",
|
|
1345
|
+
whiteSpace: "nowrap"
|
|
1346
|
+
},
|
|
1347
|
+
children: tooltipState && tooltipFormatter(tooltipState)
|
|
1348
|
+
}
|
|
1349
|
+
)
|
|
1350
|
+
]
|
|
1351
|
+
}
|
|
1352
|
+
);
|
|
1325
1353
|
});
|
|
1326
1354
|
SimpleBarChartComponent.displayName = "simpleBarChart";
|
|
1327
1355
|
var simpleBarChart_default = SimpleBarChartComponent;
|
|
@@ -8,7 +8,7 @@ import "../../chunk-EWS3FESG.mjs";
|
|
|
8
8
|
import {
|
|
9
9
|
BarChartTooltip,
|
|
10
10
|
barChart_default
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-WKTRWHDA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
circularProgress_default
|
|
14
14
|
} from "../../chunk-WA7CSZQ3.mjs";
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
} from "../../chunk-U7SYKG2C.mjs";
|
|
18
18
|
import {
|
|
19
19
|
simpleBarChart_default
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-6WD32ERF.mjs";
|
|
21
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
21
22
|
import "../../chunk-E3G5QXSH.mjs";
|
|
22
23
|
import "../../chunk-U4DJHAM5.mjs";
|
|
23
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
24
24
|
import "../../chunk-AC6TWLRT.mjs";
|
|
25
25
|
export {
|
|
26
26
|
areaChart_default as AreaChart,
|