@object-ui/plugin-charts 3.3.2 → 4.0.1
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/CHANGELOG.md +34 -0
- package/dist/{AdvancedChartImpl-DxaZtNlE.js → AdvancedChartImpl-BLyJ4LaI.js} +16 -16
- package/dist/{BarChart-BQS4sYHd.js → BarChart-C9W1kOQ6.js} +3755 -3841
- package/dist/{ChartImpl-BaXisyXJ.js → ChartImpl-AHzX3Kht.js} +2 -2
- package/dist/index.js +399 -98
- package/dist/index.umd.cjs +1 -1
- package/dist/packages/plugin-charts/src/ChartRenderer.d.ts +1 -0
- package/dist/packages/plugin-charts/src/ObjectChart.d.ts +1 -1
- package/dist/{jsx-runtime-Caia9pQX.js → shim-oa8knWTF.js} +87 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @object-ui/plugin-charts
|
|
2
2
|
|
|
3
|
+
## 4.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @object-ui/types@4.0.1
|
|
8
|
+
- @object-ui/core@4.0.1
|
|
9
|
+
- @object-ui/i18n@4.0.1
|
|
10
|
+
- @object-ui/react@4.0.1
|
|
11
|
+
- @object-ui/components@4.0.1
|
|
12
|
+
|
|
13
|
+
## 4.0.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @object-ui/types@4.0.0
|
|
19
|
+
- @object-ui/components@4.0.0
|
|
20
|
+
- @object-ui/core@4.0.0
|
|
21
|
+
- @object-ui/react@4.0.0
|
|
22
|
+
- @object-ui/i18n@4.0.0
|
|
23
|
+
|
|
24
|
+
## 3.4.0
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [a2d7023]
|
|
29
|
+
- Updated dependencies [f1ca238]
|
|
30
|
+
- Updated dependencies [de881ef]
|
|
31
|
+
- @object-ui/components@3.4.0
|
|
32
|
+
- @object-ui/types@3.4.0
|
|
33
|
+
- @object-ui/core@3.4.0
|
|
34
|
+
- @object-ui/react@3.4.0
|
|
35
|
+
- @object-ui/i18n@3.4.0
|
|
36
|
+
|
|
3
37
|
## 3.3.2
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as r, $t as i, A as a, An as o, At as s, B as c, Bn as l, Bt as u, C as d, Cn as f, Ct as p, D as m, Dn as h, Dt as g, E as _, En as v, Et as y, F as b, Fn as x, Ft as S, G as C, Gn as w, Gt as T, H as E, Hn as D, Ht as O, I as ee, In as k, It as te, J as ne, Jt as re, K as ie, Kn as A, Kt as ae, L as oe, Ln as se, Lt as ce, M as le, Mn as ue, Mt as de, N as fe, Nn as j, Nt as pe, O as me, On as he, Ot as ge, P as _e, Pn as ve, Pt as ye, Q as be, Qt as xe, R as Se, Rn as Ce, Rt as we, S as Te, Sn as M, St as Ee, T as De, Tn as Oe, Tt as ke, U as Ae, Un as je, Ut as Me, V as Ne, Vn as N, Vt as Pe, W as Fe, Wn as P, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Z as F, Zt as I, _ as Ve, _n as L, _t as He, a as Ue, an as We, at as Ge, b as Ke, bn as R, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, et as tt, f as nt, fn as rt, ft as it, g as at, gn as z, gt as ot, h as st, hn as ct, ht as lt, i as ut, in as dt, it as ft, j as pt, jn as mt, jt as ht, k as gt, kn as _t, kt as vt, l as yt, ln as bt, lt as xt, m as St, mn as Ct, mt as wt, n as Tt, nn as Et, nt as Dt, o as Ot, on as kt, ot as At, p as jt, pn as Mt, pt as Nt, q as Pt, qt as Ft, r as It, rn as B, rt as Lt, s as Rt, sn as zt, st as Bt, t as Vt, tn as Ht, tt as Ut, u as Wt, un as Gt, ut as Kt, v as qt, vn as Jt, vt as Yt, w as Xt, wn as Zt, wt as Qt, x as $t, xn as en, xt as tn, y as nn, yn as rn, yt as an, z as on, zn as sn, zt as cn } from "./BarChart-
|
|
1
|
+
import { n as e, o as t, r as n } from "./shim-oa8knWTF.js";
|
|
2
|
+
import { $ as r, $t as i, A as a, An as o, At as s, B as c, Bn as l, Bt as u, C as d, Cn as f, Ct as p, D as m, Dn as h, Dt as g, E as _, En as v, Et as y, F as b, Fn as x, Ft as S, G as C, Gn as w, Gt as T, H as E, Hn as D, Ht as O, I as ee, In as k, It as te, J as ne, Jt as re, K as ie, Kn as A, Kt as ae, L as oe, Ln as se, Lt as ce, M as le, Mn as ue, Mt as de, N as fe, Nn as j, Nt as pe, O as me, On as he, Ot as ge, P as _e, Pn as ve, Pt as ye, Q as be, Qt as xe, R as Se, Rn as Ce, Rt as we, S as Te, Sn as M, St as Ee, T as De, Tn as Oe, Tt as ke, U as Ae, Un as je, Ut as Me, V as Ne, Vn as N, Vt as Pe, W as Fe, Wn as P, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Z as F, Zt as I, _ as Ve, _n as L, _t as He, a as Ue, an as We, at as Ge, b as Ke, bn as R, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, et as tt, f as nt, fn as rt, ft as it, g as at, gn as z, gt as ot, h as st, hn as ct, ht as lt, i as ut, in as dt, it as ft, j as pt, jn as mt, jt as ht, k as gt, kn as _t, kt as vt, l as yt, ln as bt, lt as xt, m as St, mn as Ct, mt as wt, n as Tt, nn as Et, nt as Dt, o as Ot, on as kt, ot as At, p as jt, pn as Mt, pt as Nt, q as Pt, qt as Ft, r as It, rn as B, rt as Lt, s as Rt, sn as zt, st as Bt, t as Vt, tn as Ht, tt as Ut, u as Wt, un as Gt, ut as Kt, v as qt, vn as Jt, vt as Yt, w as Xt, wn as Zt, wt as Qt, x as $t, xn as en, xt as tn, y as nn, yn as rn, yt as an, z as on, zn as sn, zt as cn } from "./BarChart-C9W1kOQ6.js";
|
|
3
3
|
import * as V from "react";
|
|
4
4
|
import { Component as ln, PureComponent as un, cloneElement as dn, forwardRef as fn, isValidElement as pn, useCallback as H, useEffect as mn, useLayoutEffect as hn, useMemo as U, useRef as W, useState as gn } from "react";
|
|
5
5
|
//#region ../../node_modules/.pnpm/recharts@3.8.1_@types+react@19.2.14_react-dom@19.2.5_react@19.2.5__react-is@18.3.1_react@19.2.5_redux@5.0.1/node_modules/recharts/es6/shape/Polygon.js
|
|
@@ -385,7 +385,7 @@ var er = (e, t, n, r) => {
|
|
|
385
385
|
or.displayName = "PolarGrid";
|
|
386
386
|
//#endregion
|
|
387
387
|
//#region ../../node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/array/maxBy.js
|
|
388
|
-
var sr = /* @__PURE__ */
|
|
388
|
+
var sr = /* @__PURE__ */ n(((e) => {
|
|
389
389
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
390
390
|
function t(e, t) {
|
|
391
391
|
if (e.length === 0) return;
|
|
@@ -397,16 +397,16 @@ var sr = /* @__PURE__ */ t(((e) => {
|
|
|
397
397
|
return n;
|
|
398
398
|
}
|
|
399
399
|
e.maxBy = t;
|
|
400
|
-
})), cr = /* @__PURE__ */
|
|
400
|
+
})), cr = /* @__PURE__ */ n(((e) => {
|
|
401
401
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
402
402
|
var t = sr(), n = Oe(), r = f();
|
|
403
403
|
function i(e, i) {
|
|
404
404
|
if (e != null) return t.maxBy(Array.from(e), r.iteratee(i ?? n.identity));
|
|
405
405
|
}
|
|
406
406
|
e.maxBy = i;
|
|
407
|
-
})), lr = /* @__PURE__ */
|
|
407
|
+
})), lr = /* @__PURE__ */ n(((e, t) => {
|
|
408
408
|
t.exports = cr().maxBy;
|
|
409
|
-
})), ur = /* @__PURE__ */
|
|
409
|
+
})), ur = /* @__PURE__ */ n(((e) => {
|
|
410
410
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
411
411
|
function t(e, t) {
|
|
412
412
|
if (e.length === 0) return;
|
|
@@ -418,16 +418,16 @@ var sr = /* @__PURE__ */ t(((e) => {
|
|
|
418
418
|
return n;
|
|
419
419
|
}
|
|
420
420
|
e.minBy = t;
|
|
421
|
-
})), dr = /* @__PURE__ */
|
|
421
|
+
})), dr = /* @__PURE__ */ n(((e) => {
|
|
422
422
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
423
423
|
var t = ur(), n = Oe(), r = f();
|
|
424
424
|
function i(e, i) {
|
|
425
425
|
if (e != null) return t.minBy(Array.from(e), r.iteratee(i ?? n.identity));
|
|
426
426
|
}
|
|
427
427
|
e.minBy = i;
|
|
428
|
-
})), fr = /* @__PURE__ */
|
|
428
|
+
})), fr = /* @__PURE__ */ n(((e, t) => {
|
|
429
429
|
t.exports = dr().minBy;
|
|
430
|
-
})), pr = /* @__PURE__ */
|
|
430
|
+
})), pr = /* @__PURE__ */ t(lr()), mr = /* @__PURE__ */ t(fr()), hr = ["type"], gr = [
|
|
431
431
|
"cx",
|
|
432
432
|
"cy",
|
|
433
433
|
"angle",
|
|
@@ -843,7 +843,7 @@ var si = R([An, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find((
|
|
|
843
843
|
displayedData: e,
|
|
844
844
|
cells: n
|
|
845
845
|
});
|
|
846
|
-
}), pi = /* @__PURE__ */
|
|
846
|
+
}), pi = /* @__PURE__ */ t(l()), mi = ["key"], hi = [
|
|
847
847
|
"onMouseEnter",
|
|
848
848
|
"onClick",
|
|
849
849
|
"onMouseLeave"
|
|
@@ -1236,26 +1236,26 @@ var Ui = Hi;
|
|
|
1236
1236
|
Ui.displayName = "Pie";
|
|
1237
1237
|
//#endregion
|
|
1238
1238
|
//#region ../../node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/array/last.js
|
|
1239
|
-
var Wi = /* @__PURE__ */
|
|
1239
|
+
var Wi = /* @__PURE__ */ n(((e) => {
|
|
1240
1240
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
1241
1241
|
function t(e) {
|
|
1242
1242
|
return e[e.length - 1];
|
|
1243
1243
|
}
|
|
1244
1244
|
e.last = t;
|
|
1245
|
-
})), Gi = /* @__PURE__ */
|
|
1245
|
+
})), Gi = /* @__PURE__ */ n(((e) => {
|
|
1246
1246
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
1247
1247
|
function t(e) {
|
|
1248
1248
|
return Array.isArray(e) ? e : Array.from(e);
|
|
1249
1249
|
}
|
|
1250
1250
|
e.toArray = t;
|
|
1251
|
-
})), Ki = /* @__PURE__ */
|
|
1251
|
+
})), Ki = /* @__PURE__ */ n(((e) => {
|
|
1252
1252
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
1253
1253
|
var t = Wi(), n = Gi(), r = Zt();
|
|
1254
1254
|
function i(e) {
|
|
1255
1255
|
if (r.isArrayLike(e)) return t.last(n.toArray(e));
|
|
1256
1256
|
}
|
|
1257
1257
|
e.last = i;
|
|
1258
|
-
})), qi = /* @__PURE__ */
|
|
1258
|
+
})), qi = /* @__PURE__ */ n(((e, t) => {
|
|
1259
1259
|
t.exports = Ki().last;
|
|
1260
1260
|
})), Ji = ["points"];
|
|
1261
1261
|
function Yi(e, t) {
|
|
@@ -1524,7 +1524,7 @@ var va = (e, t) => Bn(e, "radiusAxis", t), ya = R([va], (e) => {
|
|
|
1524
1524
|
dataKey: r,
|
|
1525
1525
|
bandSize: i
|
|
1526
1526
|
});
|
|
1527
|
-
}), Aa = /* @__PURE__ */
|
|
1527
|
+
}), Aa = /* @__PURE__ */ t(qi()), ja = ["id"];
|
|
1528
1528
|
function Ma() {
|
|
1529
1529
|
return Ma = Object.assign ? Object.assign.bind() : function(e) {
|
|
1530
1530
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -3571,7 +3571,7 @@ var Tc = ["axis"], Ec = xc(xc({}, uc), {}, {
|
|
|
3571
3571
|
tooltipPayloadSearcher: Le,
|
|
3572
3572
|
categoricalChartProps: e,
|
|
3573
3573
|
ref: t
|
|
3574
|
-
})), Q =
|
|
3574
|
+
})), Q = e(), $ = (...e) => e.filter(Boolean).join(" "), Mc = {
|
|
3575
3575
|
light: "",
|
|
3576
3576
|
dark: ".dark"
|
|
3577
3577
|
}, Nc = V.createContext(null);
|