react-big-screen 0.0.20 → 0.0.22
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/es/{IInputNumber-Vk6zq2bP.mjs → IInputNumber-CEotcbKL.mjs} +2 -2
- package/es/{Line-nA3VtARp.mjs → Line-CgKiUu04.mjs} +4 -4
- package/es/{attributes-BZxcK9tt.mjs → attributes-BPJdjr2i.mjs} +12 -9
- package/es/{attributes-CbI6ZNLl.mjs → attributes-BcOvtwR5.mjs} +18 -15
- package/es/attributes-BfidbonK.mjs +43 -0
- package/es/{attributes-BWjMqQ_s.mjs → attributes-Btg07K2U.mjs} +37 -34
- package/es/attributes-BwADICpR.mjs +37 -0
- package/es/{attributes-C7YISj8O.mjs → attributes-CLKihLxA.mjs} +17 -14
- package/es/{attributes-jJg_yENs.mjs → attributes-CbEkHFeA.mjs} +11 -8
- package/es/attributes-Cqd_mqWc.mjs +41 -0
- package/es/attributes-CuMNtV8M.mjs +34 -0
- package/es/attributes-D48dVLeW.mjs +27 -0
- package/es/{attributes-OZgEPZfV.mjs → attributes-DygyEbMZ.mjs} +11 -8
- package/es/attributes-T101y64V.mjs +49 -0
- package/es/{index-BnaaZaeo.mjs → index--DlyGwmX.mjs} +14 -11
- package/es/index-5xqLm0cU.mjs +47 -0
- package/es/index-8ZXIms1b.mjs +48 -0
- package/es/index-B7TrIL_C.mjs +19 -0
- package/es/{index-CKqOSJ9y.mjs → index-B8oIQxa8.mjs} +14 -13
- package/es/{index-C8d60TqQ.mjs → index-BHUjUILf.mjs} +12 -9
- package/es/{index-CLnTLLjS.mjs → index-BHmzQnjb.mjs} +9 -9
- package/es/{index-CrN898XP.mjs → index-BQ7mzQ9J.mjs} +21 -20
- package/es/{index-7n0O_7or.mjs → index-BtEza1iX.mjs} +29 -26
- package/es/{index-Bwm3aMXZ.mjs → index-BuUTG4Rv.mjs} +63 -63
- package/es/index-BvW1_Hyv.mjs +51 -0
- package/es/index-C0Dt2jQ_.mjs +40 -0
- package/es/index-C6A7V93P.mjs +61 -0
- package/es/index-CHxtigvR.mjs +42 -0
- package/es/index-CW3G29nN.mjs +46 -0
- package/es/{index-BUic5qZC.mjs → index-D-o2kNzn.mjs} +54 -54
- package/es/{index-guYPVm3G.mjs → index-D5seKG8I.mjs} +2 -2
- package/es/index-DTMGhBFA.mjs +43 -0
- package/es/index-DZRl1odp.mjs +37 -0
- package/es/{index-B1ohG9Hu.mjs → index-DmMp7-l-.mjs} +12 -9
- package/es/{index-B75SSKFG.mjs → index-Dv8VfJDC.mjs} +32 -30
- package/es/{index-CaUBqf8D.mjs → index-DxbswiWm.mjs} +34 -32
- package/es/{index-DuXGzYdH.mjs → index-Qxmobfyd.mjs} +5 -5
- package/es/{index-BF07nOIu.mjs → index-X5o1pXL3.mjs} +17 -14
- package/es/{index-TjFlu-86.mjs → index-Z8NfClWR.mjs} +18 -15
- package/es/index-mzSvAxqW.mjs +142 -0
- package/es/index-onenk3XK.mjs +26 -0
- package/es/{index-Cq0uVP0H.mjs → index-yEFPa0R2.mjs} +3 -3
- package/es/index.mjs +7 -6
- package/es/{selectPage-BfNytQ95.mjs → selectPage-BTdc0EhU.mjs} +1 -1
- package/es/useCurrentPageId-DkPUSvWz.mjs +20 -0
- package/package.json +1 -1
- package/es/attributes-BDcSpbcs.mjs +0 -40
- package/es/attributes-Cg2w2wqR.mjs +0 -34
- package/es/attributes-Ck-M5Rw3.mjs +0 -46
- package/es/attributes-Dk4Khv-P.mjs +0 -38
- package/es/attributes-DuAsVU2g.mjs +0 -31
- package/es/attributes-Nwf_EnEX.mjs +0 -24
- package/es/index-B8Ei_KZZ.mjs +0 -16
- package/es/index-BemZB0VC.mjs +0 -48
- package/es/index-C7UdPRSB.mjs +0 -44
- package/es/index-CBBKPguI.mjs +0 -139
- package/es/index-COVC4gVe.mjs +0 -40
- package/es/index-CR3gnAfy.mjs +0 -58
- package/es/index-CXKN_KjL.mjs +0 -37
- package/es/index-Ce7eAD1W.mjs +0 -24
- package/es/index-DB3YcEiT.mjs +0 -39
- package/es/index-DcyXbsRZ.mjs +0 -43
- package/es/index-hRI5WRPs.mjs +0 -45
- package/es/index-nTep9Ubc.mjs +0 -34
- package/es/useCurrentPageId-C1KnE1O3.mjs +0 -17
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { jsx as b } from "
|
|
2
|
-
import { n as h } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { n as h } from "./index-BuUTG4Rv.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import { useState as f, useMemo as g } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
|
+
import "antd";
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
9
11
|
import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
10
|
-
import
|
|
12
|
+
import "ahooks";
|
|
13
|
+
import { R as y } from "./index-BHmzQnjb.mjs";
|
|
11
14
|
const n = [
|
|
12
15
|
"rgb(28, 172, 255)",
|
|
13
16
|
"rgb(69, 201, 235)",
|
|
@@ -16,8 +19,8 @@ const n = [
|
|
|
16
19
|
"rgb(124, 219, 225)",
|
|
17
20
|
"rgb(172,202,178)",
|
|
18
21
|
"rgb(184, 140, 212)"
|
|
19
|
-
], w = ["私有化项目", "tjh项目", "xxx项目", "xyz项目", "zz项目", "演示项目", "培训项目"], o = [900, 100, 150, 250, 800, 1100, 200],
|
|
20
|
-
const { width:
|
|
22
|
+
], w = ["私有化项目", "tjh项目", "xxx项目", "xyz项目", "zz项目", "演示项目", "培训项目"], o = [900, 100, 150, 250, 800, 1100, 200], O = h((l) => {
|
|
23
|
+
const { width: m, height: c } = l, [a, p] = f(o), u = g(() => ({
|
|
21
24
|
tooltip: {
|
|
22
25
|
trigger: "axis",
|
|
23
26
|
axisPointer: {
|
|
@@ -94,8 +97,8 @@ const n = [
|
|
|
94
97
|
return () => {
|
|
95
98
|
i && clearTimeout(i), r && clearInterval(r);
|
|
96
99
|
};
|
|
97
|
-
}), /* @__PURE__ */ b(y, { style: { width:
|
|
100
|
+
}), /* @__PURE__ */ b(y, { style: { width: m, height: c }, options: u });
|
|
98
101
|
});
|
|
99
102
|
export {
|
|
100
|
-
|
|
103
|
+
O as default
|
|
101
104
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { R as i } from "./index-BHmzQnjb.mjs";
|
|
3
|
+
import { n as a } from "./index-BuUTG4Rv.mjs";
|
|
4
|
+
import "localforage";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "react-dom/client";
|
|
8
|
+
import "antd";
|
|
9
|
+
import "driver.js";
|
|
10
|
+
import "driver.js/dist/driver.css";
|
|
11
|
+
import "lodash-es";
|
|
12
|
+
import "ahooks";
|
|
13
|
+
const O = a((t) => {
|
|
14
|
+
const { width: r, height: o } = t;
|
|
15
|
+
return /* @__PURE__ */ e(
|
|
16
|
+
i,
|
|
17
|
+
{
|
|
18
|
+
options: {
|
|
19
|
+
tooltip: {
|
|
20
|
+
formatter: "{a} <br/>{b} : {c}%"
|
|
21
|
+
},
|
|
22
|
+
series: [
|
|
23
|
+
{
|
|
24
|
+
name: "Pressure",
|
|
25
|
+
type: "gauge",
|
|
26
|
+
detail: {
|
|
27
|
+
formatter: "{value}"
|
|
28
|
+
},
|
|
29
|
+
data: [
|
|
30
|
+
{
|
|
31
|
+
value: 50,
|
|
32
|
+
name: "SCORE"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
style: {
|
|
39
|
+
width: r,
|
|
40
|
+
height: o
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
O as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { n as r } from "./index-BuUTG4Rv.mjs";
|
|
3
|
+
import "localforage";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "react-dom/client";
|
|
7
|
+
import "antd";
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
12
|
+
import { DoubleRightOutlined as a, DoubleLeftOutlined as s } from "@ant-design/icons";
|
|
13
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-BfidbonK.mjs";
|
|
14
|
+
const m = "_specialTitle_7705n_59", o = "_specialTitle_line_left_7705n_64", T = "_specialTitle_inner_7705n_69", h = "_specialTitle_inner_icon_7705n_74", d = "_specialTitle_line_right_7705n_78", i = {
|
|
15
|
+
specialTitle: m,
|
|
16
|
+
specialTitle_line_left: o,
|
|
17
|
+
specialTitle_inner: T,
|
|
18
|
+
specialTitle_inner_icon: h,
|
|
19
|
+
specialTitle_line_right: d
|
|
20
|
+
}, j = r((n) => {
|
|
21
|
+
const { width: _, height: c, options: e } = n;
|
|
22
|
+
return /* @__PURE__ */ t("div", { style: { width: _, height: c }, className: i.specialTitle, children: [
|
|
23
|
+
/* @__PURE__ */ l("div", { className: i.specialTitle_line_left }),
|
|
24
|
+
/* @__PURE__ */ t("div", { className: i.specialTitle_inner, children: [
|
|
25
|
+
/* @__PURE__ */ l(a, { className: i.specialTitle_inner_icon }),
|
|
26
|
+
/* @__PURE__ */ l(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
style: {
|
|
30
|
+
color: e == null ? void 0 : e.color,
|
|
31
|
+
wordBreak: "break-all",
|
|
32
|
+
fontWeight: e == null ? void 0 : e.fontWeight,
|
|
33
|
+
fontSize: e == null ? void 0 : e.fontSize,
|
|
34
|
+
lineHeight: e != null && e.lineHeight ? `${e == null ? void 0 : e.lineHeight}px` : void 0
|
|
35
|
+
},
|
|
36
|
+
dangerouslySetInnerHTML: {
|
|
37
|
+
__html: (e == null ? void 0 : e.value) || ""
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ l(s, { className: i.specialTitle_inner_icon })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ l("div", { className: i.specialTitle_line_right })
|
|
44
|
+
] });
|
|
45
|
+
}, p);
|
|
46
|
+
export {
|
|
47
|
+
j as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { n as p } from "./index-BuUTG4Rv.mjs";
|
|
3
|
+
import "localforage";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "react-dom/client";
|
|
7
|
+
import "antd";
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
12
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-D48dVLeW.mjs";
|
|
13
|
+
const l = p((o) => {
|
|
14
|
+
const { options: t, width: r, height: i } = o;
|
|
15
|
+
return /* @__PURE__ */ m("div", { style: { width: r, height: i, background: t.background } });
|
|
16
|
+
}, n);
|
|
17
|
+
export {
|
|
18
|
+
l as default
|
|
19
|
+
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { jsx as o, jsxs as a } from "
|
|
2
|
-
import { n as h } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { n as h } from "./index-BuUTG4Rv.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import { useState as p, useMemo as L, useEffect as x } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
7
|
-
import { Progress as S } from "
|
|
6
|
+
import "react-dom/client";
|
|
7
|
+
import { Progress as S } from "antd";
|
|
8
8
|
import { r as y, g as C } from "./random-DD0zMfMm.mjs";
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import { cloneDeep as v } from "
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
9
|
+
import "driver.js";
|
|
10
|
+
import "driver.js/dist/driver.css";
|
|
11
|
+
import { cloneDeep as v } from "lodash-es";
|
|
12
|
+
import "ahooks";
|
|
13
|
+
import { DEFAULT_OPTIONS as I } from "./attributes-CbEkHFeA.mjs";
|
|
14
|
+
import { A as M } from "./index-D5seKG8I.mjs";
|
|
15
|
+
import { DoubleRightOutlined as z } from "@ant-design/icons";
|
|
15
16
|
const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_progressList_line_header_xy0sd_69", c = {
|
|
16
17
|
progressList: N,
|
|
17
18
|
progressList_line: P,
|
|
18
19
|
progressList_line_header: A
|
|
19
|
-
},
|
|
20
|
+
}, J = h((u) => {
|
|
20
21
|
const { width: g, height: _, options: r, dataSource: s } = u, [n, d] = p(s), i = L(() => m(), [s, r == null ? void 0 : r.max]);
|
|
21
22
|
function m() {
|
|
22
23
|
const e = Math.max(...n.map((t) => t.count));
|
|
@@ -87,5 +88,5 @@ const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_pro
|
|
|
87
88
|
);
|
|
88
89
|
}, I);
|
|
89
90
|
export {
|
|
90
|
-
|
|
91
|
+
J as default
|
|
91
92
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { jsx as c } from "
|
|
2
|
-
import { n as b } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { n as b } from "./index-BuUTG4Rv.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import { useState as u, useMemo as x } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
|
+
import "antd";
|
|
7
8
|
import { r as f, g as y } from "./random-DD0zMfMm.mjs";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
9
|
+
import "driver.js";
|
|
10
|
+
import "driver.js/dist/driver.css";
|
|
11
|
+
import "lodash-es";
|
|
10
12
|
import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
+
import "ahooks";
|
|
14
|
+
import { R as h } from "./index-BHmzQnjb.mjs";
|
|
15
|
+
const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 250, a = [210, 200, 195, 200, 202, 195, 180], O = b((i) => {
|
|
13
16
|
const { width: n, height: s } = i, [e, l] = u(a), m = x(() => {
|
|
14
17
|
const o = e.map((t) => t * 100 / r);
|
|
15
18
|
return {
|
|
@@ -147,5 +150,5 @@ const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 2
|
|
|
147
150
|
}), /* @__PURE__ */ c(h, { options: m, style: { width: n, height: s } });
|
|
148
151
|
});
|
|
149
152
|
export {
|
|
150
|
-
|
|
153
|
+
O as default
|
|
151
154
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as R } from "
|
|
1
|
+
import { jsx as R } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m, useCallback as T, useEffect as E, useMemo as y } from "react";
|
|
3
|
-
import * as f from "
|
|
4
|
-
import { PieChart as L, BarChart as b, LineChart as k, LinesChart as v, RadarChart as g, GaugeChart as x, MapChart as G, EffectScatterChart as M } from "
|
|
5
|
-
import { TitleComponent as O, TooltipComponent as j, ToolboxComponent as w, VisualMapComponent as z, GridComponent as D, DatasetComponent as N, TransformComponent as U, LegendComponent as B } from "
|
|
6
|
-
import { LabelLayout as F, UniversalTransition as P } from "
|
|
7
|
-
import { CanvasRenderer as S } from "
|
|
8
|
-
import { useUpdateEffect as V } from "
|
|
9
|
-
import "./index-
|
|
10
|
-
import "
|
|
3
|
+
import * as f from "echarts/core";
|
|
4
|
+
import { PieChart as L, BarChart as b, LineChart as k, LinesChart as v, RadarChart as g, GaugeChart as x, MapChart as G, EffectScatterChart as M } from "echarts/charts";
|
|
5
|
+
import { TitleComponent as O, TooltipComponent as j, ToolboxComponent as w, VisualMapComponent as z, GridComponent as D, DatasetComponent as N, TransformComponent as U, LegendComponent as B } from "echarts/components";
|
|
6
|
+
import { LabelLayout as F, UniversalTransition as P } from "echarts/features";
|
|
7
|
+
import { CanvasRenderer as S } from "echarts/renderers";
|
|
8
|
+
import { useUpdateEffect as V } from "ahooks";
|
|
9
|
+
import "./index-BuUTG4Rv.mjs";
|
|
10
|
+
import "react-dom/client";
|
|
11
11
|
import { u as q } from "./useResizeDom-B6mM4jrh.mjs";
|
|
12
12
|
f.use([
|
|
13
13
|
// 图表
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { jsx as n, jsxs as g } from "
|
|
2
|
-
import { C as l } from "./index-
|
|
3
|
-
import { I as u } from "./index-
|
|
1
|
+
import { jsx as n, jsxs as g } from "react/jsx-runtime";
|
|
2
|
+
import { C as l } from "./index-BuUTG4Rv.mjs";
|
|
3
|
+
import { I as u } from "./index-Qxmobfyd.mjs";
|
|
4
4
|
import "react";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import
|
|
8
|
-
import "
|
|
9
|
-
import { I as f,
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
5
|
+
import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
|
|
6
|
+
import "ahooks";
|
|
7
|
+
import "react-dom/client";
|
|
8
|
+
import "react-color";
|
|
9
|
+
import { I as f, b as m } from "./Line-CgKiUu04.mjs";
|
|
10
|
+
import { ReloadOutlined as o } from "@ant-design/icons";
|
|
11
|
+
import { useTranslation as b } from "react-i18next";
|
|
12
|
+
import "classnames";
|
|
13
|
+
import { I as r, a as x } from "./IInputNumber-CEotcbKL.mjs";
|
|
13
14
|
const y = () => {
|
|
14
15
|
l.register("select", (e) => /* @__PURE__ */ n(
|
|
15
16
|
u,
|
|
@@ -51,14 +52,14 @@ function I(e) {
|
|
|
51
52
|
);
|
|
52
53
|
}
|
|
53
54
|
function d(e) {
|
|
54
|
-
const [t] =
|
|
55
|
-
return /* @__PURE__ */ n(
|
|
55
|
+
const [t] = b();
|
|
56
|
+
return /* @__PURE__ */ n(v, { title: t("reset"), children: /* @__PURE__ */ n(o, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
|
|
56
57
|
}
|
|
57
58
|
const S = () => {
|
|
58
|
-
l.register("input", (e) => /* @__PURE__ */ n(
|
|
59
|
+
l.register("input", (e) => /* @__PURE__ */ n(f, { ...e == null ? void 0 : e.options, value: e.value, onChange: e.onChange }));
|
|
59
60
|
}, w = () => {
|
|
60
61
|
l.register("inputNumber", (e) => /* @__PURE__ */ n(
|
|
61
|
-
|
|
62
|
+
r,
|
|
62
63
|
{
|
|
63
64
|
style: { width: "100%" },
|
|
64
65
|
...e == null ? void 0 : e.options,
|
|
@@ -68,7 +69,7 @@ const S = () => {
|
|
|
68
69
|
));
|
|
69
70
|
}, T = () => {
|
|
70
71
|
l.register("textarea", (e) => /* @__PURE__ */ n(
|
|
71
|
-
|
|
72
|
+
x,
|
|
72
73
|
{
|
|
73
74
|
...e == null ? void 0 : e.options,
|
|
74
75
|
value: e.value,
|
|
@@ -95,7 +96,7 @@ const S = () => {
|
|
|
95
96
|
resetColor: c
|
|
96
97
|
// 重置颜色
|
|
97
98
|
} = (e == null ? void 0 : e.options) || {}, i = /* @__PURE__ */ n(
|
|
98
|
-
|
|
99
|
+
m,
|
|
99
100
|
{
|
|
100
101
|
style: { width: "100%" },
|
|
101
102
|
...e == null ? void 0 : e.options,
|
|
@@ -186,7 +187,7 @@ const S = () => {
|
|
|
186
187
|
},
|
|
187
188
|
children: [
|
|
188
189
|
/* @__PURE__ */ n(
|
|
189
|
-
|
|
190
|
+
C,
|
|
190
191
|
{
|
|
191
192
|
style: { flex: 1, margin: "4px 8px" },
|
|
192
193
|
min: 0,
|
|
@@ -209,9 +210,9 @@ const S = () => {
|
|
|
209
210
|
);
|
|
210
211
|
});
|
|
211
212
|
};
|
|
212
|
-
function
|
|
213
|
+
function K() {
|
|
213
214
|
y(), S(), w(), T(), N(), P(), A(), B(), F(), R(), W();
|
|
214
215
|
}
|
|
215
216
|
export {
|
|
216
|
-
|
|
217
|
+
K as default
|
|
217
218
|
};
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { R as h } from "./index-
|
|
3
|
-
import { n as x } from "./index-
|
|
4
|
-
import "
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { R as h } from "./index-BHmzQnjb.mjs";
|
|
3
|
+
import { n as x } from "./index-BuUTG4Rv.mjs";
|
|
4
|
+
import "localforage";
|
|
5
5
|
import { useRef as g, useMemo as I } from "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
7
|
+
import "react-dom/client";
|
|
8
|
+
import "antd";
|
|
9
|
+
import "driver.js";
|
|
10
|
+
import "driver.js/dist/driver.css";
|
|
11
|
+
import "lodash-es";
|
|
10
12
|
import { u as y } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
import "ahooks";
|
|
14
|
+
import { DEFAULT_OPTIONS as b } from "./attributes-Cqd_mqWc.mjs";
|
|
15
|
+
const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz项目"], i = [1048, 735, 580, 484, 300], F = x((m) => {
|
|
16
|
+
const { width: u, height: p, options: t } = m, n = g(), d = I(() => {
|
|
17
|
+
const e = S.map((r, o) => ({
|
|
15
18
|
name: r,
|
|
16
|
-
value: i[
|
|
19
|
+
value: i[o]
|
|
17
20
|
}));
|
|
18
21
|
return {
|
|
19
22
|
title: {
|
|
20
|
-
text: i.reduce((r,
|
|
23
|
+
text: i.reduce((r, o) => r + o, 0),
|
|
21
24
|
left: "center",
|
|
22
25
|
top: "37%",
|
|
23
26
|
textStyle: {
|
|
@@ -66,36 +69,36 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
66
69
|
};
|
|
67
70
|
}, [t == null ? void 0 : t.titleColor, t == null ? void 0 : t.subtextColor]);
|
|
68
71
|
return y(() => {
|
|
69
|
-
let e = null,
|
|
72
|
+
let e = null, l = 0;
|
|
70
73
|
function r() {
|
|
71
|
-
var s,
|
|
72
|
-
e !== null && ((s =
|
|
74
|
+
var s, a, c;
|
|
75
|
+
e !== null && ((s = n.current) == null || s.dispatchAction({
|
|
73
76
|
type: "downplay",
|
|
74
77
|
seriesIndex: 0,
|
|
75
78
|
dataIndex: e
|
|
76
|
-
})), (c = (
|
|
79
|
+
})), (c = (a = n.current) == null ? void 0 : a.dispatchAction) == null || c.call(a, {
|
|
77
80
|
type: "highlight",
|
|
78
81
|
seriesIndex: 0,
|
|
79
|
-
dataIndex: e =
|
|
80
|
-
}),
|
|
82
|
+
dataIndex: e = l
|
|
83
|
+
}), l = ++l >= i.length ? 0 : l;
|
|
81
84
|
}
|
|
82
85
|
r();
|
|
83
|
-
let
|
|
86
|
+
let o = setInterval(r, 2e3);
|
|
84
87
|
return () => {
|
|
85
|
-
|
|
88
|
+
o && clearInterval(o);
|
|
86
89
|
};
|
|
87
|
-
}), /* @__PURE__ */
|
|
90
|
+
}), /* @__PURE__ */ f(
|
|
88
91
|
h,
|
|
89
92
|
{
|
|
90
|
-
onGetInstance: (e) =>
|
|
91
|
-
options:
|
|
93
|
+
onGetInstance: (e) => n.current = e,
|
|
94
|
+
options: d,
|
|
92
95
|
style: {
|
|
93
96
|
width: u,
|
|
94
|
-
height:
|
|
97
|
+
height: p
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
);
|
|
98
101
|
}, b);
|
|
99
102
|
export {
|
|
100
|
-
|
|
103
|
+
F as default
|
|
101
104
|
};
|