@acronis-platform/ui-react 5.4.1 → 5.4.2
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/dist/components/ui/area-chart/area-chart.js +107 -105
- package/dist/components/ui/area-chart/area-chart.js.map +1 -1
- package/dist/components/ui/bar-chart/bar-chart.js +135 -132
- package/dist/components/ui/bar-chart/bar-chart.js.map +1 -1
- package/dist/components/ui/chart/chart-format.js +36 -31
- package/dist/components/ui/chart/chart-format.js.map +1 -1
- package/dist/components/ui/chart/chart.js +9 -7
- package/dist/components/ui/chart/chart.js.map +1 -1
- package/dist/components/ui/chart/use-x-axis-layout.js +71 -0
- package/dist/components/ui/chart/use-x-axis-layout.js.map +1 -0
- package/dist/components/ui/composed-chart/composed-chart.js +141 -139
- package/dist/components/ui/composed-chart/composed-chart.js.map +1 -1
- package/dist/components/ui/confidence-cone/confidence-cone.js +70 -67
- package/dist/components/ui/confidence-cone/confidence-cone.js.map +1 -1
- package/dist/components/ui/histogram/histogram.js +54 -51
- package/dist/components/ui/histogram/histogram.js.map +1 -1
- package/dist/components/ui/line-chart/line-chart.js +119 -117
- package/dist/components/ui/line-chart/line-chart.js.map +1 -1
- package/dist/components/ui/scatter-chart/scatter-chart.js +53 -51
- package/dist/components/ui/scatter-chart/scatter-chart.js.map +1 -1
- package/dist/llms/area-chart.md +10 -1
- package/dist/llms/bar-chart.md +10 -1
- package/dist/llms/composed-chart.md +10 -1
- package/dist/llms/confidence-cone.md +10 -1
- package/dist/llms/histogram.md +10 -1
- package/dist/llms/line-chart.md +10 -1
- package/dist/llms/scatter-chart.md +10 -1
- package/dist/llms.txt +1 -1
- package/dist/src/components/ui/chart/chart-format.d.ts +10 -4
- package/dist/src/components/ui/chart/chart.d.ts +1 -1
- package/dist/src/components/ui/chart/use-x-axis-layout.d.ts +28 -0
- package/dist/ui-react.css +1 -1
- package/package.json +2 -2
|
@@ -2,157 +2,158 @@
|
|
|
2
2
|
import { cn as e } from "../../../lib/utils.js";
|
|
3
3
|
import { cva as t } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
4
4
|
import { ChartContainer as n, ChartLegend as r, ChartLegendContent as i, ChartTooltip as a, ChartTooltipContent as o, toCssKey as s } from "../chart/chart.js";
|
|
5
|
-
import { CHART_LABEL_MARGIN as c, resolveAnimation as l, resolveAxisDomain as u, resolveBrushProps as d, resolveCartesianLabelPosition as ee, resolveCategoryRange as f, resolveChartReferenceValue as p, resolveLabelFillClass as te, resolveReferenceLineProps as ne, resolveRotatedTickAnchor as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
5
|
+
import { CHART_LABEL_MARGIN as c, resolveAnimation as l, resolveAxisDomain as u, resolveBrushProps as d, resolveCartesianLabelPosition as ee, resolveCategoryRange as f, resolveChartReferenceValue as p, resolveLabelFillClass as te, resolveReferenceLineProps as ne, resolveRotatedTickAnchor as re, resolveXAxisTickLabels as ie, resolveXAxisTitle as m, resolveYAxisTitle as h, toLabelFormatter as ae } from "../chart/chart-format.js";
|
|
6
|
+
import { mergeXAxisLayoutMargin as oe, useXAxisLayout as se } from "../chart/use-x-axis-layout.js";
|
|
7
|
+
import * as g from "react";
|
|
8
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
9
|
+
import { Area as ce, Bar as le, Brush as ue, CartesianGrid as de, ComposedChart as fe, LabelList as pe, Line as me, ReferenceArea as he, ReferenceLine as ge, XAxis as b, YAxis as x } from "recharts";
|
|
9
10
|
//#region src/components/ui/composed-chart/composed-chart.tsx
|
|
10
|
-
var
|
|
11
|
+
var _e = t("", {
|
|
11
12
|
variants: { orientation: {
|
|
12
13
|
vertical: "",
|
|
13
14
|
horizontal: ""
|
|
14
15
|
} },
|
|
15
16
|
defaultVariants: { orientation: "vertical" }
|
|
16
|
-
}),
|
|
17
|
+
}), ve = 100, ye = 50, S = "secondary", be = {
|
|
17
18
|
top: 5,
|
|
18
19
|
right: 5,
|
|
19
20
|
bottom: 5,
|
|
20
21
|
left: 5
|
|
21
|
-
},
|
|
22
|
-
let
|
|
23
|
-
animate:
|
|
24
|
-
animationDuration:
|
|
25
|
-
animationBegin:
|
|
26
|
-
animationEasing:
|
|
27
|
-
}),
|
|
22
|
+
}, xe = .85, Se = { top: 16 }, C = g.forwardRef(({ className: t, config: C, palette: Ce, data: w, series: T, xKey: E, referenceLine: D, referenceArea: O, orientation: k = "vertical", xAxisLabel: A, yAxisLabel: j, xUnit: we, yUnit: Te, curve: M = "monotone", barRadius: Ee = 4, barSize: De, barGap: Oe, barCategoryGap: ke, showBackground: Ae = !1, backgroundFill: je = "var(--ui-background-surface-secondary)", showActiveBar: Me = !1, fillOpacity: Ne = .3, strokeWidth: N, showDots: Pe = !1, showActiveDots: Fe, connectNulls: Ie = !1, margin: P, showGrid: Le = !0, showTooltip: Re = !0, tooltipCursor: ze = !0, showLegend: Be = !0, legendPosition: F = "bottom", showXAxis: I = !0, showYAxis: L = !0, xTickFormatter: R, yTickFormatter: z, xAxisAngle: B, xAxisInterval: V, yAxisTickCount: H, yAxisDomain: Ve, yAxisOrientation: U, showSecondaryYAxis: W = !0, secondaryYAxisLabel: G, secondaryYUnit: He, secondaryYTickFormatter: Ue, secondaryYAxisTickCount: We, secondaryYAxisDomain: Ge, gridDashed: Ke, gridHorizontal: qe, gridVertical: Je, tooltipContent: Ye, animate: Xe, animationDuration: Ze, animationBegin: Qe, animationEasing: $e, showLabels: et = !1, labelPosition: tt, labelFormatter: nt, showBrush: rt = !1, brushHeight: it, brushAriaLabel: at, ...ot }, st) => {
|
|
23
|
+
let K = l({
|
|
24
|
+
animate: Xe,
|
|
25
|
+
animationDuration: Ze,
|
|
26
|
+
animationBegin: Qe,
|
|
27
|
+
animationEasing: $e
|
|
28
|
+
}), q = k === "horizontal", ct = m(A), J = T.some((e) => e.yAxis === "secondary"), lt = T.some((e) => e.yAxis !== "secondary"), Y = J && !lt, ut = U ?? "left", dt = ut === "left" ? "right" : "left", ft = h(j, q ? "left" : ut), pt = h(G, dt), mt = m(G, "insideTop"), ht = u(Ve), gt = u(Ge), X = (e) => {
|
|
28
29
|
let t = e === "secondary" ? S : void 0;
|
|
29
|
-
return
|
|
30
|
-
},
|
|
30
|
+
return q ? { xAxisId: t } : { yAxisId: t };
|
|
31
|
+
}, _t = Y ? X("secondary") : {}, vt = ie(q ? [] : w.map((e) => e[E]), R), yt = g.useRef(null), Z = se(yt, B, A, vt.join("\0")), bt = D ? Array.isArray(D) ? D : [D] : [], xt = (O ? Array.isArray(O) ? O : [O] : []).map((e) => ({
|
|
31
32
|
area: e,
|
|
32
33
|
range: f(e, w, E)
|
|
33
|
-
})).filter((e) => e.range !== void 0),
|
|
34
|
+
})).filter((e) => e.range !== void 0), St = Y ? "secondary" : "primary", Ct = (e) => e.yAxis ?? "primary", wt = new Map(T.map((e) => [e.key, Ct(e)])), Tt = (e) => T.filter((t) => Ct(t) === e).map((e) => e.key), Et = new Set(T.filter((e) => e.legendType === "none").map((e) => e.key)), Q = (e) => w[e]?.[E] ?? void 0, Dt = bt.map((e) => {
|
|
34
35
|
let t = e.category === void 0 ? void 0 : f({
|
|
35
36
|
from: e.category,
|
|
36
37
|
to: e.category
|
|
37
|
-
}, w, E), n = e.yAxis ?? (typeof e.average == "string" ?
|
|
38
|
+
}, w, E), n = e.yAxis ?? (typeof e.average == "string" ? wt.get(e.average) ?? St : St), r = p(e, w, Tt(n)), i = t ? Q(t[0]) : void 0;
|
|
38
39
|
return {
|
|
39
40
|
line: e,
|
|
40
41
|
lineAxis: n,
|
|
41
|
-
position: r === void 0 ? i === void 0 ? void 0 :
|
|
42
|
-
isVerticalRule: r !== void 0 ===
|
|
42
|
+
position: r === void 0 ? i === void 0 ? void 0 : q ? { y: i } : { x: i } : q ? { x: r } : { y: r },
|
|
43
|
+
isVerticalRule: r !== void 0 === q
|
|
43
44
|
};
|
|
44
|
-
}).filter((e) => e.position !== void 0),
|
|
45
|
-
...
|
|
46
|
-
...
|
|
47
|
-
...
|
|
48
|
-
...
|
|
49
|
-
} : void 0, $ = /* @__PURE__ */ new Map();
|
|
45
|
+
}).filter((e) => e.position !== void 0), Ot = et ? c : void 0, kt = Dt.some((e) => e.line.label && e.isVerticalRule) ? Se : void 0, At = P || Ot || kt ? {
|
|
46
|
+
...P ? be : {},
|
|
47
|
+
...kt,
|
|
48
|
+
...Ot,
|
|
49
|
+
...P
|
|
50
|
+
} : void 0, jt = oe(At, Z.margin), $ = /* @__PURE__ */ new Map();
|
|
50
51
|
T.forEach((e, t) => {
|
|
51
52
|
e.stackId && e.type !== "line" && $.set(`${e.type}-${e.stackId}`, t);
|
|
52
53
|
});
|
|
53
|
-
let
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
let Mt = () => /* @__PURE__ */ y(_, { children: [
|
|
55
|
+
/* @__PURE__ */ v(b, {
|
|
55
56
|
type: "number",
|
|
56
|
-
hide: !
|
|
57
|
+
hide: !I || Y,
|
|
57
58
|
tickLine: !1,
|
|
58
59
|
axisLine: !1,
|
|
59
|
-
unit:
|
|
60
|
-
tickFormatter:
|
|
61
|
-
angle:
|
|
62
|
-
interval:
|
|
63
|
-
textAnchor:
|
|
64
|
-
tickCount:
|
|
65
|
-
domain:
|
|
66
|
-
height:
|
|
67
|
-
label:
|
|
60
|
+
unit: we,
|
|
61
|
+
tickFormatter: R,
|
|
62
|
+
angle: B,
|
|
63
|
+
interval: V,
|
|
64
|
+
textAnchor: re(B),
|
|
65
|
+
tickCount: H,
|
|
66
|
+
domain: ht,
|
|
67
|
+
height: Z.height,
|
|
68
|
+
label: ct
|
|
68
69
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ v(x, {
|
|
70
71
|
dataKey: E,
|
|
71
72
|
type: "category",
|
|
72
|
-
hide: !
|
|
73
|
+
hide: !L,
|
|
73
74
|
tickLine: !1,
|
|
74
75
|
axisLine: !1,
|
|
75
|
-
tickFormatter:
|
|
76
|
-
width:
|
|
77
|
-
label:
|
|
76
|
+
tickFormatter: z,
|
|
77
|
+
width: j ? 96 : 80,
|
|
78
|
+
label: ft
|
|
78
79
|
}),
|
|
79
|
-
|
|
80
|
+
J && /* @__PURE__ */ v(b, {
|
|
80
81
|
xAxisId: S,
|
|
81
82
|
type: "number",
|
|
82
|
-
hide: !
|
|
83
|
+
hide: !W,
|
|
83
84
|
orientation: "top",
|
|
84
85
|
tickLine: !1,
|
|
85
86
|
axisLine: !1,
|
|
86
|
-
unit:
|
|
87
|
-
tickFormatter:
|
|
88
|
-
tickCount:
|
|
89
|
-
domain:
|
|
90
|
-
label:
|
|
87
|
+
unit: He,
|
|
88
|
+
tickFormatter: Ue,
|
|
89
|
+
tickCount: We,
|
|
90
|
+
domain: gt,
|
|
91
|
+
label: mt
|
|
91
92
|
})
|
|
92
|
-
] }),
|
|
93
|
-
/* @__PURE__ */
|
|
93
|
+
] }), Nt = () => /* @__PURE__ */ y(_, { children: [
|
|
94
|
+
/* @__PURE__ */ v(b, {
|
|
94
95
|
dataKey: E,
|
|
95
96
|
type: "category",
|
|
96
|
-
hide: !
|
|
97
|
+
hide: !I,
|
|
97
98
|
tickLine: !1,
|
|
98
99
|
axisLine: !1,
|
|
99
100
|
tickMargin: 8,
|
|
100
|
-
tickFormatter:
|
|
101
|
-
angle:
|
|
102
|
-
interval:
|
|
103
|
-
textAnchor:
|
|
104
|
-
height:
|
|
105
|
-
label:
|
|
101
|
+
tickFormatter: R,
|
|
102
|
+
angle: B,
|
|
103
|
+
interval: V,
|
|
104
|
+
textAnchor: re(B),
|
|
105
|
+
height: Z.height,
|
|
106
|
+
label: ct
|
|
106
107
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ v(x, {
|
|
108
109
|
type: "number",
|
|
109
|
-
hide: !
|
|
110
|
-
...
|
|
110
|
+
hide: !L || Y,
|
|
111
|
+
...U ? { orientation: U } : {},
|
|
111
112
|
tickLine: !1,
|
|
112
113
|
axisLine: !1,
|
|
113
|
-
unit:
|
|
114
|
-
tickFormatter:
|
|
115
|
-
tickCount:
|
|
116
|
-
domain:
|
|
117
|
-
width:
|
|
118
|
-
label:
|
|
114
|
+
unit: Te,
|
|
115
|
+
tickFormatter: z,
|
|
116
|
+
tickCount: H,
|
|
117
|
+
domain: ht,
|
|
118
|
+
width: j ? 72 : void 0,
|
|
119
|
+
label: ft
|
|
119
120
|
}),
|
|
120
|
-
|
|
121
|
+
J && /* @__PURE__ */ v(x, {
|
|
121
122
|
yAxisId: S,
|
|
122
123
|
type: "number",
|
|
123
|
-
hide: !
|
|
124
|
-
orientation:
|
|
124
|
+
hide: !W,
|
|
125
|
+
orientation: dt,
|
|
125
126
|
tickLine: !1,
|
|
126
127
|
axisLine: !1,
|
|
127
|
-
unit:
|
|
128
|
-
tickFormatter:
|
|
129
|
-
tickCount:
|
|
130
|
-
domain:
|
|
131
|
-
width:
|
|
132
|
-
label:
|
|
128
|
+
unit: He,
|
|
129
|
+
tickFormatter: Ue,
|
|
130
|
+
tickCount: We,
|
|
131
|
+
domain: gt,
|
|
132
|
+
width: G ? 72 : void 0,
|
|
133
|
+
label: pt
|
|
133
134
|
})
|
|
134
|
-
] }),
|
|
135
|
-
verticalAlign:
|
|
136
|
-
payload: e.payload?.filter((e) => !
|
|
137
|
-
}) : /* @__PURE__ */
|
|
138
|
-
let n = e.color ?? `var(--color-${s(e.key)})`, r =
|
|
139
|
-
labelPosition:
|
|
135
|
+
] }), Pt = Et.size > 0 ? (e) => /* @__PURE__ */ v(i, {
|
|
136
|
+
verticalAlign: F,
|
|
137
|
+
payload: e.payload?.filter((e) => !Et.has(String(e.dataKey)))
|
|
138
|
+
}) : /* @__PURE__ */ v(i, { verticalAlign: F }), Ft = (e, t) => {
|
|
139
|
+
let n = e.color ?? `var(--color-${s(e.key)})`, r = ve + t, i = X(e.yAxis), a = e.stackId && e.type !== "line" ? `${e.type}-${e.stackId}` : void 0, o = e.fillOpacity ?? Ne, c = e.connectNulls ?? Ie, l = e.showDots ?? Pe, u = e.showActiveDots ?? Fe, d = e.legendType ? { legendType: e.legendType } : {}, f = ee({
|
|
140
|
+
labelPosition: tt,
|
|
140
141
|
isStacked: a !== void 0,
|
|
141
|
-
growingEnd:
|
|
142
|
-
}), p =
|
|
142
|
+
growingEnd: q ? "right" : "top"
|
|
143
|
+
}), p = et ? /* @__PURE__ */ v(pe, {
|
|
143
144
|
dataKey: e.key,
|
|
144
145
|
position: f,
|
|
145
|
-
formatter:
|
|
146
|
+
formatter: ae(nt),
|
|
146
147
|
className: te(f, { translucentSeries: e.type === "area" }),
|
|
147
148
|
fontSize: 12
|
|
148
149
|
}) : null;
|
|
149
150
|
if (e.type === "bar") {
|
|
150
|
-
let o = e.barRadius ??
|
|
151
|
-
return /* @__PURE__ */
|
|
151
|
+
let o = e.barRadius ?? Ee, s = a === void 0 || $.get(a) === t, c = e.showBackground ?? Ae, l = e.showActiveBar ?? Me;
|
|
152
|
+
return /* @__PURE__ */ v(le, {
|
|
152
153
|
dataKey: e.key,
|
|
153
154
|
...i,
|
|
154
155
|
fill: n,
|
|
155
|
-
radius: o > 0 && s ?
|
|
156
|
+
radius: o > 0 && s ? q ? [
|
|
156
157
|
0,
|
|
157
158
|
o,
|
|
158
159
|
o,
|
|
@@ -172,17 +173,17 @@ var x = t("", {
|
|
|
172
173
|
strokeDasharray: e.strokeDasharray,
|
|
173
174
|
...e.strokeWidth === void 0 ? {} : { strokeWidth: e.strokeWidth }
|
|
174
175
|
},
|
|
175
|
-
...c ? { background: { fill:
|
|
176
|
-
...l ? { activeBar: { fillOpacity:
|
|
176
|
+
...c ? { background: { fill: je } } : {},
|
|
177
|
+
...l ? { activeBar: { fillOpacity: xe } } : {},
|
|
177
178
|
...d,
|
|
178
|
-
...
|
|
179
|
+
...K,
|
|
179
180
|
children: p
|
|
180
181
|
}, e.key);
|
|
181
182
|
}
|
|
182
183
|
if (e.type === "area") {
|
|
183
|
-
let t = e.strokeWidth ??
|
|
184
|
-
return /* @__PURE__ */
|
|
185
|
-
type: e.curve ??
|
|
184
|
+
let t = e.strokeWidth ?? N, s = t === void 0 ? {} : { strokeWidth: t };
|
|
185
|
+
return /* @__PURE__ */ v(ce, {
|
|
186
|
+
type: e.curve ?? M,
|
|
186
187
|
dataKey: e.key,
|
|
187
188
|
...i,
|
|
188
189
|
stroke: n,
|
|
@@ -196,30 +197,30 @@ var x = t("", {
|
|
|
196
197
|
...u === void 0 ? {} : { activeDot: u ? { r: 5 } : !1 },
|
|
197
198
|
connectNulls: c,
|
|
198
199
|
...d,
|
|
199
|
-
...
|
|
200
|
+
...K,
|
|
200
201
|
children: p
|
|
201
202
|
}, e.key);
|
|
202
203
|
}
|
|
203
|
-
return /* @__PURE__ */
|
|
204
|
-
type: e.curve ??
|
|
204
|
+
return /* @__PURE__ */ v(me, {
|
|
205
|
+
type: e.curve ?? M,
|
|
205
206
|
dataKey: e.key,
|
|
206
207
|
...i,
|
|
207
208
|
stroke: n,
|
|
208
|
-
strokeWidth: e.strokeWidth ??
|
|
209
|
+
strokeWidth: e.strokeWidth ?? N ?? 2,
|
|
209
210
|
dot: l ? { r: 3 } : !1,
|
|
210
211
|
zIndex: r,
|
|
211
212
|
...e.strokeDasharray === void 0 ? {} : { strokeDasharray: e.strokeDasharray },
|
|
212
213
|
...u === void 0 ? {} : { activeDot: u ? { r: 5 } : !1 },
|
|
213
214
|
connectNulls: c,
|
|
214
215
|
...d,
|
|
215
|
-
...
|
|
216
|
+
...K,
|
|
216
217
|
children: p
|
|
217
218
|
}, e.key);
|
|
218
|
-
},
|
|
219
|
+
}, It = ({ area: e, range: t }, n) => {
|
|
219
220
|
let [r, i] = t;
|
|
220
|
-
return /* @__PURE__ */
|
|
221
|
-
...
|
|
222
|
-
...
|
|
221
|
+
return /* @__PURE__ */ v(he, {
|
|
222
|
+
..._t,
|
|
223
|
+
...q ? {
|
|
223
224
|
y1: Q(r),
|
|
224
225
|
y2: Q(i)
|
|
225
226
|
} : {
|
|
@@ -228,7 +229,7 @@ var x = t("", {
|
|
|
228
229
|
},
|
|
229
230
|
fill: "var(--ui-background-surface-secondary)",
|
|
230
231
|
fillOpacity: .6,
|
|
231
|
-
zIndex:
|
|
232
|
+
zIndex: ye,
|
|
232
233
|
ifOverflow: "extendDomain",
|
|
233
234
|
label: e.label ? {
|
|
234
235
|
value: e.label,
|
|
@@ -237,52 +238,53 @@ var x = t("", {
|
|
|
237
238
|
fontSize: 12
|
|
238
239
|
} : void 0
|
|
239
240
|
}, `${e.label ?? "area"}-${n}`);
|
|
240
|
-
},
|
|
241
|
-
...t === "secondary" &&
|
|
241
|
+
}, Lt = ({ line: e, lineAxis: t, position: n, isVerticalRule: r }, i) => /* @__PURE__ */ v(ge, {
|
|
242
|
+
...t === "secondary" && J ? X("secondary") : {},
|
|
242
243
|
...n,
|
|
243
244
|
...ne(e.label, e.labelPosition ?? (r ? "top" : "insideTopRight"))
|
|
244
245
|
}, `${e.label ?? "ref"}-${i}`);
|
|
245
|
-
return /* @__PURE__ */
|
|
246
|
-
ref:
|
|
246
|
+
return /* @__PURE__ */ v("div", {
|
|
247
|
+
ref: st,
|
|
247
248
|
"data-orientation": k,
|
|
248
|
-
className: e(
|
|
249
|
-
...
|
|
250
|
-
children: /* @__PURE__ */
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
className: e(_e({ orientation: k }), t),
|
|
250
|
+
...ot,
|
|
251
|
+
children: /* @__PURE__ */ v(n, {
|
|
252
|
+
ref: yt,
|
|
253
|
+
config: C,
|
|
254
|
+
palette: Ce,
|
|
253
255
|
className: "size-full [&_.recharts-label]:fill-foreground",
|
|
254
|
-
children: /* @__PURE__ */
|
|
256
|
+
children: /* @__PURE__ */ y(fe, {
|
|
255
257
|
data: w,
|
|
256
|
-
layout:
|
|
257
|
-
barSize:
|
|
258
|
-
barGap:
|
|
259
|
-
barCategoryGap:
|
|
260
|
-
margin:
|
|
258
|
+
layout: q ? "vertical" : "horizontal",
|
|
259
|
+
barSize: De,
|
|
260
|
+
barGap: Oe,
|
|
261
|
+
barCategoryGap: ke,
|
|
262
|
+
margin: jt,
|
|
261
263
|
children: [
|
|
262
|
-
|
|
263
|
-
...
|
|
264
|
-
horizontal:
|
|
265
|
-
vertical:
|
|
266
|
-
strokeDasharray:
|
|
264
|
+
Le && /* @__PURE__ */ v(de, {
|
|
265
|
+
..._t,
|
|
266
|
+
horizontal: qe ?? !q,
|
|
267
|
+
vertical: Je ?? q,
|
|
268
|
+
strokeDasharray: Ke ? "3 3" : void 0
|
|
267
269
|
}),
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
...
|
|
271
|
-
content:
|
|
270
|
+
q ? Mt() : Nt(),
|
|
271
|
+
Re && /* @__PURE__ */ v(a, {
|
|
272
|
+
...ze ? {} : { cursor: !1 },
|
|
273
|
+
content: Ye ?? /* @__PURE__ */ v(o, {})
|
|
272
274
|
}),
|
|
273
|
-
|
|
274
|
-
verticalAlign:
|
|
275
|
-
content:
|
|
275
|
+
Be && /* @__PURE__ */ v(r, {
|
|
276
|
+
verticalAlign: F,
|
|
277
|
+
content: Pt
|
|
276
278
|
}),
|
|
277
|
-
T.map(
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
T.map(Ft),
|
|
280
|
+
xt.map(It),
|
|
281
|
+
Dt.map(Lt),
|
|
282
|
+
rt && /* @__PURE__ */ v(ue, {
|
|
281
283
|
dataKey: E,
|
|
282
|
-
tickFormatter:
|
|
284
|
+
tickFormatter: q ? z : R,
|
|
283
285
|
...d({
|
|
284
|
-
brushHeight:
|
|
285
|
-
brushAriaLabel:
|
|
286
|
+
brushHeight: it,
|
|
287
|
+
brushAriaLabel: at
|
|
286
288
|
})
|
|
287
289
|
})
|
|
288
290
|
]
|
|
@@ -292,6 +294,6 @@ var x = t("", {
|
|
|
292
294
|
});
|
|
293
295
|
C.displayName = "ComposedChart";
|
|
294
296
|
//#endregion
|
|
295
|
-
export { C as ComposedChart,
|
|
297
|
+
export { C as ComposedChart, _e as composedChartVariants };
|
|
296
298
|
|
|
297
299
|
//# sourceMappingURL=composed-chart.js.map
|