react-big-screen 0.0.21 → 0.0.23

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.
Files changed (67) hide show
  1. package/es/{IInputNumber-PnHJNf9H.mjs → IInputNumber-CEotcbKL.mjs} +1 -1
  2. package/es/{Line-CLgwvraj.mjs → Line-CgKiUu04.mjs} +3 -3
  3. package/es/{attributes-w4UsefFp.mjs → attributes-9sJ7OCyP.mjs} +32 -29
  4. package/es/{attributes-C0SMjnHG.mjs → attributes-B23RrL8i.mjs} +10 -8
  5. package/es/attributes-BL0o0sPi.mjs +34 -0
  6. package/es/{attributes-C5pimFaJ.mjs → attributes-Bfbf60g8.mjs} +17 -15
  7. package/es/attributes-C5CnEOVO.mjs +27 -0
  8. package/es/attributes-C64FfSI6.mjs +49 -0
  9. package/es/attributes-COqeO1sM.mjs +43 -0
  10. package/es/attributes-Di0JYz_d.mjs +41 -0
  11. package/es/attributes-Dp2yHpTx.mjs +37 -0
  12. package/es/{attributes-DdjjVR4N.mjs → attributes-DrbTSAq7.mjs} +10 -8
  13. package/es/{attributes-Dv8IMI4h.mjs → attributes-woY1Zfl3.mjs} +10 -8
  14. package/es/{attributes-E8oqU4q7.mjs → attributes-xzP7st08.mjs} +11 -9
  15. package/es/index-B1V_yDHb.mjs +47 -0
  16. package/es/{index-C6HV7IaP.mjs → index-B8GWWFIH.mjs} +30 -28
  17. package/es/{index-CpYmNO_5.mjs → index-B9wcrwqH.mjs} +55 -55
  18. package/es/{index-n9OtRMYa.mjs → index-BEdp0lB5.mjs} +30 -29
  19. package/es/index-BhEDT1MV.mjs +51 -0
  20. package/es/{index-DyB0TE1y.mjs → index-BkI6wVdV.mjs} +27 -25
  21. package/es/index-C3rjkbw6.mjs +46 -0
  22. package/es/{index-CRDggJyg.mjs → index-C4z4Sjq2.mjs} +61 -61
  23. package/es/{index-D--V8m-b.mjs → index-CFTpYaN8.mjs} +9 -9
  24. package/es/index-CG3CqHvP.mjs +43 -0
  25. package/es/{index-D_0vVSWq.mjs → index-CRraYtwg.mjs} +11 -9
  26. package/es/index-CTuwto2f.mjs +37 -0
  27. package/es/{index-B4KSL-Bu.mjs → index-CXzm2s6x.mjs} +11 -9
  28. package/es/index-Cg9iT8Uy.mjs +40 -0
  29. package/es/index-D2B6_fCJ.mjs +19 -0
  30. package/es/{index-guYPVm3G.mjs → index-D5seKG8I.mjs} +2 -2
  31. package/es/index-D8pMW8U5.mjs +61 -0
  32. package/es/{index-B8JqjjA1.mjs → index-D9o0U9Ub.mjs} +4 -4
  33. package/es/{index-Ljz96Vra.mjs → index-DG3JLNqh.mjs} +16 -14
  34. package/es/{index-Bvab-NQ4.mjs → index-D_XJCVB-.mjs} +24 -22
  35. package/es/index-Di6zy82j.mjs +48 -0
  36. package/es/index-Dqe0ts3H.mjs +26 -0
  37. package/es/index-DvVQnQMe.mjs +42 -0
  38. package/es/{index-B9Nb8R2I.mjs → index-DzOSmpKj.mjs} +17 -16
  39. package/es/{index-CyS-CdYv.mjs → index-XNZ9XEE4.mjs} +13 -12
  40. package/es/{index-Dh00vKAk.mjs → index-vk4BFyhF.mjs} +15 -13
  41. package/es/{index-ryl5yfWq.mjs → index-w5Djwuhu.mjs} +13 -11
  42. package/es/{index-D1ux0Voe.mjs → index-yEFPa0R2.mjs} +2 -2
  43. package/es/index.mjs +3 -3
  44. package/es/{selectPage-D267xnl4.mjs → selectPage-B19KQBZQ.mjs} +1 -1
  45. package/es/useCurrentPageId-BzI1Jj2f.mjs +20 -0
  46. package/package.json +1 -1
  47. package/types/src/export/components/RenderEditor/index.d.ts +2 -2
  48. package/types/src/export/index.d.ts +2 -2
  49. package/types/src/pages/components/Header/index.d.ts +1 -1
  50. package/es/attributes-BWtBVgsg.mjs +0 -41
  51. package/es/attributes-BuMChZnt.mjs +0 -47
  52. package/es/attributes-COwKDUMI.mjs +0 -35
  53. package/es/attributes-C_fbpAUx.mjs +0 -25
  54. package/es/attributes-DztmBsKn.mjs +0 -32
  55. package/es/attributes-YL1J6lLR.mjs +0 -39
  56. package/es/index-BRgbtPVH.mjs +0 -45
  57. package/es/index-BUth1V1H.mjs +0 -41
  58. package/es/index-BYJ5e2rN.mjs +0 -38
  59. package/es/index-BYe40Zu2.mjs +0 -46
  60. package/es/index-BzpuXSbE.mjs +0 -49
  61. package/es/index-CBxj6uKJ.mjs +0 -35
  62. package/es/index-CUkul7R0.mjs +0 -44
  63. package/es/index-DQU0jlV0.mjs +0 -24
  64. package/es/index-KruFCy9N.mjs +0 -17
  65. package/es/index-hPKl41YD.mjs +0 -40
  66. package/es/index-qoPI1H9i.mjs +0 -59
  67. package/es/useCurrentPageId-DM05DNLI.mjs +0 -18
@@ -0,0 +1,37 @@
1
+ import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
+ import { n as d } from "./index-C4z4Sjq2.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 p } from "./attributes-BL0o0sPi.mjs";
13
+ import { A as _ } from "./index-D5seKG8I.mjs";
14
+ import { CalendarOutlined as f } from "@ant-design/icons";
15
+ const m = "_scrollList_ni091_59", L = "_scrollList_line_ni091_62", s = {
16
+ scrollList: m,
17
+ scrollList_line: L
18
+ }, T = d((t) => {
19
+ const { width: c, height: n, options: r, dataSource: i } = t, e = i;
20
+ return /* @__PURE__ */ o(
21
+ _,
22
+ {
23
+ style: { width: c, height: n },
24
+ className: s.scrollList,
25
+ disabled: !(r != null && r.autoScroll),
26
+ pxPerSecond: r == null ? void 0 : r.pxPerSecond,
27
+ children: e.map((l) => /* @__PURE__ */ a("div", { className: s.scrollList_line, children: [
28
+ /* @__PURE__ */ o(f, { style: { color: "#2EDCF7" } }),
29
+ /* @__PURE__ */ o("span", { style: { flex: 1 }, children: l == null ? void 0 : l.title }),
30
+ (l == null ? void 0 : l.status) === "1" ? /* @__PURE__ */ o("span", { style: { color: "#2EDCF7" }, children: "已签" }) : /* @__PURE__ */ o("span", { style: { color: "#dfdfdf" }, children: "未签" })
31
+ ] }, l == null ? void 0 : l.key))
32
+ }
33
+ );
34
+ }, p);
35
+ export {
36
+ T as default
37
+ };
@@ -1,16 +1,18 @@
1
- import { jsx as c } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { n as b } from "./index-CRDggJyg.mjs";
3
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { n as b } from "./index-C4z4Sjq2.mjs";
3
+ import "localforage";
4
4
  import { useState as u, useMemo as x } from "react";
5
5
  import "react-dom";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
+ import "react-dom/client";
7
7
  import "antd";
8
8
  import { r as f, g as y } from "./random-DD0zMfMm.mjs";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
10
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
+ import "driver.js";
10
+ import "driver.js/dist/driver.css";
11
+ import "lodash-es";
11
12
  import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
12
- import { R as h } from "./index-D--V8m-b.mjs";
13
- 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], C = b((i) => {
13
+ import "ahooks";
14
+ import { R as h } from "./index-CFTpYaN8.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) => {
14
16
  const { width: n, height: s } = i, [e, l] = u(a), m = x(() => {
15
17
  const o = e.map((t) => t * 100 / r);
16
18
  return {
@@ -148,5 +150,5 @@ const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 2
148
150
  }), /* @__PURE__ */ c(h, { options: m, style: { width: n, height: s } });
149
151
  });
150
152
  export {
151
- C as default
153
+ O as default
152
154
  };
@@ -0,0 +1,40 @@
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { n as i } from "./index-C4z4Sjq2.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 c } from "./attributes-Bfbf60g8.mjs";
13
+ import { DoubleRightOutlined as s } from "@ant-design/icons";
14
+ const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", a = {
15
+ specialCard: _,
16
+ specialCard_head: t,
17
+ specialCard_head_arrow: m,
18
+ specialCard_head_title: o
19
+ }, R = i((d) => {
20
+ const { options: r } = d;
21
+ return /* @__PURE__ */ e(
22
+ "div",
23
+ {
24
+ className: a.specialCard,
25
+ style: {
26
+ color: r == null ? void 0 : r.color,
27
+ borderRadius: r == null ? void 0 : r.borderRadius,
28
+ background: r == null ? void 0 : r.background,
29
+ border: r != null && r.bordered ? `${(r == null ? void 0 : r.borderWidth) || 1}px solid ${(r == null ? void 0 : r.borderColor) || "white"}` : void 0
30
+ },
31
+ children: /* @__PURE__ */ l("div", { className: a.specialCard_head, children: [
32
+ /* @__PURE__ */ e(s, { className: a.specialCard_head_arrow }),
33
+ /* @__PURE__ */ e("div", { className: a.specialCard_head_title, children: r == null ? void 0 : r.title })
34
+ ] })
35
+ }
36
+ );
37
+ }, c);
38
+ export {
39
+ R as default
40
+ };
@@ -0,0 +1,19 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { n as p } from "./index-C4z4Sjq2.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-C5CnEOVO.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,6 +1,6 @@
1
- import { jsx as l, jsxs as x } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
1
+ import { jsx as l, jsxs as x } from "react/jsx-runtime";
2
2
  import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "react";
3
- import y from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
3
+ import y from "classnames";
4
4
  const A = "_autoScroll_h2edl_59", D = "_autoScroll_inner_h2edl_65", H = "_scroll_h2edl_112", P = "_scroll_paused_h2edl_115", n = {
5
5
  autoScroll: A,
6
6
  autoScroll_inner: D,
@@ -0,0 +1,61 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { R as p } from "./index-CFTpYaN8.mjs";
3
+ import { n as u } from "./index-C4z4Sjq2.mjs";
4
+ import "localforage";
5
+ import { useMemo as f } from "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
+ import { DEFAULT_OPTIONS as g } from "./attributes-9sJ7OCyP.mjs";
14
+ function l(m = "name", o, n) {
15
+ return !(o != null && o.length) || !(n != null && n.length) ? {
16
+ source: []
17
+ } : {
18
+ dimensions: [m, ...o.map((r) => r.name)],
19
+ source: n.map((r) => {
20
+ const t = { [m]: `${r[m] ?? ""}` };
21
+ return o.forEach((a) => {
22
+ t[a.name] = r[a.value] || 0;
23
+ }), t;
24
+ })
25
+ };
26
+ }
27
+ function h(m) {
28
+ var o;
29
+ return ((o = m == null ? void 0 : m.map) == null ? void 0 : o.call(m, (n) => ({
30
+ id: n == null ? void 0 : n.key,
31
+ type: "line",
32
+ color: n == null ? void 0 : n.color
33
+ }))) || [];
34
+ }
35
+ const j = u((m) => {
36
+ const { width: o, height: n, options: r, dataSource: t } = m, a = f(() => ({
37
+ tooltip: { trigger: "item" },
38
+ dataset: l(
39
+ r == null ? void 0 : r.nameCode,
40
+ r == null ? void 0 : r.seriesList,
41
+ Array.isArray(t) ? t : []
42
+ ),
43
+ xAxis: [{ type: "category" }],
44
+ yAxis: [{}],
45
+ series: h(r == null ? void 0 : r.seriesList)
46
+ }), [t, r == null ? void 0 : r.seriesList, r == null ? void 0 : r.nameCode]);
47
+ return /* @__PURE__ */ c(
48
+ p,
49
+ {
50
+ options: a,
51
+ style: {
52
+ width: o,
53
+ height: n,
54
+ background: r == null ? void 0 : r.background
55
+ }
56
+ }
57
+ );
58
+ }, g);
59
+ export {
60
+ j as default
61
+ };
@@ -1,10 +1,10 @@
1
- import { jsxs as Q, jsx as b } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
1
+ import { jsxs as Q, jsx as b } from "react/jsx-runtime";
2
2
  import { useState as S } from "react";
3
3
  import { Select as M } from "antd";
4
- import { useDebounceEffect as X, useUpdateEffect as V } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/ahooks@3.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/ahooks/es/index.js";
4
+ import { useDebounceEffect as X, useUpdateEffect as V } from "ahooks";
5
5
  import { u as Y } from "./useEffectOnce-l5sUTCBG.mjs";
6
- import { i as Z } from "./index-CRDggJyg.mjs";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
+ import { i as Z } from "./index-C4z4Sjq2.mjs";
7
+ import "react-dom/client";
8
8
  const q = (e, l) => {
9
9
  var r, f, d;
10
10
  return (d = (r = (l == null ? void 0 : l.children) || "") == null ? void 0 : r.toLowerCase) == null ? void 0 : d.call(r).includes((f = e == null ? void 0 : e.toLowerCase) == null ? void 0 : f.call(e));
@@ -1,17 +1,19 @@
1
- import { jsx as d, jsxs as h, Fragment as u } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { n as m } from "./index-CRDggJyg.mjs";
3
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
1
+ import { jsx as d, jsxs as h, Fragment as m } from "react/jsx-runtime";
2
+ import { n as u } from "./index-C4z4Sjq2.mjs";
3
+ import "localforage";
4
4
  import { useMemo as v } from "react";
5
5
  import "react-dom";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
+ import "react-dom/client";
7
7
  import "antd";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- import { u as f, s as I } from "./selectPage-D267xnl4.mjs";
11
- import { u as L } from "./useCurrentPageId-DM05DNLI.mjs";
12
- import S from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
13
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
14
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
12
+ import { u as f, s as I } from "./selectPage-B19KQBZQ.mjs";
13
+ import { u as L } from "./useCurrentPageId-BzI1Jj2f.mjs";
14
+ import S from "classnames";
15
+ import "hotkeys-js";
16
+ import "dayjs";
15
17
  const z = "_navLine_mnnlz_59", C = "_navLine_inner_mnnlz_64", b = "_navItem_mnnlz_68", x = "_navItem_selected_mnnlz_89", K = "_navItem_last_mnnlz_92", o = {
16
18
  navLine: z,
17
19
  navLine_inner: C,
@@ -41,7 +43,7 @@ function _(t) {
41
43
  l == null ? void 0 : l.value
42
44
  );
43
45
  }) });
44
- return /* @__PURE__ */ h(u, { children: [
46
+ return /* @__PURE__ */ h(m, { children: [
45
47
  /* @__PURE__ */ d("div", { className: o.navLine, children: a }),
46
48
  !!(e != null && e.length) && /* @__PURE__ */ d(_, { list: e, selectedKeys: c.slice(1), onSelect: t == null ? void 0 : t.onSelect })
47
49
  ] });
@@ -75,7 +77,7 @@ function w(t, s = {}) {
75
77
  c.push(a);
76
78
  }), { tree: c, treeMap: s };
77
79
  }
78
- const Q = m((t) => {
80
+ const U = u((t) => {
79
81
  const s = f(), c = L(), { tree: n, treeMap: e } = v(() => w(s), [s]), a = v(
80
82
  () => P(c, e),
81
83
  [c, e]
@@ -92,5 +94,5 @@ const Q = m((t) => {
92
94
  return /* @__PURE__ */ d("div", { style: { width: t == null ? void 0 : t.width, height: t == null ? void 0 : t.height }, children: l });
93
95
  });
94
96
  export {
95
- Q as default
97
+ U as default
96
98
  };
@@ -1,24 +1,26 @@
1
- import { jsx as p } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { R as h } from "./index-D--V8m-b.mjs";
3
- import { n as x } from "./index-CRDggJyg.mjs";
4
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import { R as h } from "./index-CFTpYaN8.mjs";
3
+ import { n as x } from "./index-C4z4Sjq2.mjs";
4
+ import "localforage";
5
5
  import { useRef as g, useMemo as I } from "react";
6
6
  import "react-dom";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
7
+ import "react-dom/client";
8
8
  import "antd";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
10
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
+ import "driver.js";
10
+ import "driver.js/dist/driver.css";
11
+ import "lodash-es";
11
12
  import { u as y } from "./useEffectOnce-l5sUTCBG.mjs";
12
- import { DEFAULT_OPTIONS as b } from "./attributes-YL1J6lLR.mjs";
13
- const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz项目"], i = [1048, 735, 580, 484, 300], W = x((m) => {
14
- const { width: u, height: d, options: t } = m, n = g(), f = I(() => {
15
- const e = S.map((r, l) => ({
13
+ import "ahooks";
14
+ import { DEFAULT_OPTIONS as b } from "./attributes-Di0JYz_d.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) => ({
16
18
  name: r,
17
- value: i[l]
19
+ value: i[o]
18
20
  }));
19
21
  return {
20
22
  title: {
21
- text: i.reduce((r, l) => r + l, 0),
23
+ text: i.reduce((r, o) => r + o, 0),
22
24
  left: "center",
23
25
  top: "37%",
24
26
  textStyle: {
@@ -67,7 +69,7 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
67
69
  };
68
70
  }, [t == null ? void 0 : t.titleColor, t == null ? void 0 : t.subtextColor]);
69
71
  return y(() => {
70
- let e = null, o = 0;
72
+ let e = null, l = 0;
71
73
  function r() {
72
74
  var s, a, c;
73
75
  e !== null && ((s = n.current) == null || s.dispatchAction({
@@ -77,26 +79,26 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
77
79
  })), (c = (a = n.current) == null ? void 0 : a.dispatchAction) == null || c.call(a, {
78
80
  type: "highlight",
79
81
  seriesIndex: 0,
80
- dataIndex: e = o
81
- }), o = ++o >= i.length ? 0 : o;
82
+ dataIndex: e = l
83
+ }), l = ++l >= i.length ? 0 : l;
82
84
  }
83
85
  r();
84
- let l = setInterval(r, 2e3);
86
+ let o = setInterval(r, 2e3);
85
87
  return () => {
86
- l && clearInterval(l);
88
+ o && clearInterval(o);
87
89
  };
88
- }), /* @__PURE__ */ p(
90
+ }), /* @__PURE__ */ f(
89
91
  h,
90
92
  {
91
93
  onGetInstance: (e) => n.current = e,
92
- options: f,
94
+ options: d,
93
95
  style: {
94
96
  width: u,
95
- height: d
97
+ height: p
96
98
  }
97
99
  }
98
100
  );
99
101
  }, b);
100
102
  export {
101
- W as default
103
+ F as default
102
104
  };
@@ -0,0 +1,48 @@
1
+ import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
+ import { n as r } from "./index-C4z4Sjq2.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-COqeO1sM.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,26 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Image as i } from "antd";
3
+ import { n as p } from "./index-C4z4Sjq2.mjs";
4
+ import "localforage";
5
+ import "react";
6
+ import "react-dom";
7
+ import "react-dom/client";
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-Dp2yHpTx.mjs";
13
+ const E = p((t) => {
14
+ const { options: r, width: e, height: m } = t;
15
+ return /* @__PURE__ */ o(
16
+ i,
17
+ {
18
+ src: r == null ? void 0 : r.src,
19
+ style: { width: e, height: m, pointerEvents: "none" },
20
+ preview: !!(r != null && r.enablePreview)
21
+ }
22
+ );
23
+ }, n);
24
+ export {
25
+ E as default
26
+ };
@@ -0,0 +1,42 @@
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import { n as l } from "./index-C4z4Sjq2.mjs";
3
+ import "localforage";
4
+ import { useRef as c, useEffect as a } from "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 p } from "./attributes-C64FfSI6.mjs";
13
+ import u from "dayjs";
14
+ const T = l((m) => {
15
+ const { width: i, height: o, options: r } = m, t = c(null);
16
+ return a(() => {
17
+ function e() {
18
+ t.current.innerHTML = u().format("YYYY-MM-DD HH:mm:ss");
19
+ }
20
+ let n = setInterval(e, 1e3);
21
+ return e(), () => {
22
+ clearInterval(n);
23
+ };
24
+ }, []), /* @__PURE__ */ f(
25
+ "div",
26
+ {
27
+ style: {
28
+ width: i,
29
+ height: o,
30
+ color: r == null ? void 0 : r.color,
31
+ fontSize: r == null ? void 0 : r.fontSize,
32
+ textAlign: r == null ? void 0 : r.textAlign,
33
+ lineHeight: `${r == null ? void 0 : r.lineHeight}px`
34
+ },
35
+ ref: t,
36
+ children: 11
37
+ }
38
+ );
39
+ }, p);
40
+ export {
41
+ T as default
42
+ };
@@ -1,15 +1,16 @@
1
- import { jsx as n, jsxs as g } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { C as l } from "./index-CRDggJyg.mjs";
3
- import { I as u } from "./index-B8JqjjA1.mjs";
1
+ import { jsx as n, jsxs as g } from "react/jsx-runtime";
2
+ import { C as l } from "./index-C4z4Sjq2.mjs";
3
+ import { I as u } from "./index-D9o0U9Ub.mjs";
4
4
  import "react";
5
5
  import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-color@2.19.3_react@18.3.1/node_modules/react-color/es/index.js";
8
- import { I as f, b as m } from "./Line-CLgwvraj.mjs";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
10
- import { I as o, a as b } from "./IInputNumber-PnHJNf9H.mjs";
11
- import { ReloadOutlined as x } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
12
- import { useTranslation as r } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-i18next@15.7.4_i18next@24.2.3_typescript@5.9.3__react-dom@18.3.1_react@18.3.1__react@18.3.1_typescript@5.9.3/node_modules/react-i18next/dist/es/index.js";
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] = r();
55
- return /* @__PURE__ */ n(v, { title: t("reset"), children: /* @__PURE__ */ n(x, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
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
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
- o,
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
- b,
72
+ x,
72
73
  {
73
74
  ...e == null ? void 0 : e.options,
74
75
  value: e.value,
@@ -209,9 +210,9 @@ const S = () => {
209
210
  );
210
211
  });
211
212
  };
212
- function J() {
213
+ function K() {
213
214
  y(), S(), w(), T(), N(), P(), A(), B(), F(), R(), W();
214
215
  }
215
216
  export {
216
- J as default
217
+ K as default
217
218
  };
@@ -1,22 +1,23 @@
1
- import { jsx as o, jsxs as a } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { n as h } from "./index-CRDggJyg.mjs";
3
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
1
+ import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
+ import { n as h } from "./index-C4z4Sjq2.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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
+ import "react-dom/client";
7
7
  import { Progress as S } from "antd";
8
8
  import { r as y, g as C } from "./random-DD0zMfMm.mjs";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
10
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
11
- import { cloneDeep as v } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
12
- import { DEFAULT_OPTIONS as I } from "./attributes-Dv8IMI4h.mjs";
13
- import { A as M } from "./index-guYPVm3G.mjs";
14
- import { DoubleRightOutlined as z } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
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-woY1Zfl3.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
- }, H = h((u) => {
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
- H as default
91
+ J as default
91
92
  };
@@ -1,21 +1,23 @@
1
- import { jsxs as t, jsx as r } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { n as a } from "./index-CRDggJyg.mjs";
3
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
1
+ import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
+ import { n as a } from "./index-C4z4Sjq2.mjs";
3
+ import "localforage";
4
4
  import "react";
5
5
  import "react-dom";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
+ import "react-dom/client";
7
7
  import "antd";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- import { DEFAULT_OPTIONS as d } from "./attributes-DdjjVR4N.mjs";
11
- const H = a((l) => {
12
- const { options: e, width: _, height: g } = l;
13
- return /* @__PURE__ */ t(
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
12
+ import { DEFAULT_OPTIONS as m } from "./attributes-DrbTSAq7.mjs";
13
+ const i = a((l) => {
14
+ const { options: e, width: _, height: t } = l;
15
+ return /* @__PURE__ */ g(
14
16
  "div",
15
17
  {
16
18
  style: {
17
19
  width: _,
18
- height: g
20
+ height: t
19
21
  },
20
22
  children: [
21
23
  (e == null ? void 0 : e.value_1) && /* @__PURE__ */ r(
@@ -57,7 +59,7 @@ const H = a((l) => {
57
59
  ]
58
60
  }
59
61
  );
60
- }, d);
62
+ }, m);
61
63
  export {
62
- H as default
64
+ i as default
63
65
  };