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
@@ -1,14 +1,16 @@
1
- import { jsx as b } 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 b } from "react/jsx-runtime";
2
+ import { n as h } from "./index-C4z4Sjq2.mjs";
3
+ import "localforage";
4
4
  import { useState as f, useMemo as g } 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";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
10
11
  import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
11
- import { R as y } from "./index-D--V8m-b.mjs";
12
+ import "ahooks";
13
+ import { R as y } from "./index-CFTpYaN8.mjs";
12
14
  const n = [
13
15
  "rgb(28, 172, 255)",
14
16
  "rgb(69, 201, 235)",
@@ -17,8 +19,8 @@ const n = [
17
19
  "rgb(124, 219, 225)",
18
20
  "rgb(172,202,178)",
19
21
  "rgb(184, 140, 212)"
20
- ], w = ["私有化项目", "tjh项目", "xxx项目", "xyz项目", "zz项目", "演示项目", "培训项目"], o = [900, 100, 150, 250, 800, 1100, 200], C = h((l) => {
21
- const { width: c, height: m } = l, [a, p] = f(o), u = g(() => ({
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(() => ({
22
24
  tooltip: {
23
25
  trigger: "axis",
24
26
  axisPointer: {
@@ -95,8 +97,8 @@ const n = [
95
97
  return () => {
96
98
  i && clearTimeout(i), r && clearInterval(r);
97
99
  };
98
- }), /* @__PURE__ */ b(y, { style: { width: c, height: m }, options: u });
100
+ }), /* @__PURE__ */ b(y, { style: { width: m, height: c }, options: u });
99
101
  });
100
102
  export {
101
- C as default
103
+ O as default
102
104
  };
@@ -1,6 +1,6 @@
1
- import { jsx as s } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
1
+ import { jsx as s } from "react/jsx-runtime";
2
2
  import { Empty as i } from "antd";
3
- import m from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
3
+ import m from "classnames";
4
4
  function l(y, n) {
5
5
  return !// 左侧
6
6
  (y.x2 < n.x1 || // 右侧
package/es/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { q as m, R as e, p as E, s as f } from "./index-CRDggJyg.mjs";
3
- 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";
1
+ import "react/jsx-runtime";
2
+ import { q as m, R as e, p as E, s as f } from "./index-C4z4Sjq2.mjs";
3
+ import "react-dom/client";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  import "antd";
@@ -1,5 +1,5 @@
1
1
  import { useState as g, useEffect as r } from "react";
2
- import { u as i, R as a } from "./index-CRDggJyg.mjs";
2
+ import { u as i, R as a } from "./index-C4z4Sjq2.mjs";
3
3
  function f() {
4
4
  const [n, e] = g([]), { engine: t } = i();
5
5
  return r(() => {
@@ -0,0 +1,20 @@
1
+ import { b as i, D as m } from "./index-C4z4Sjq2.mjs";
2
+ import "localforage";
3
+ import "react";
4
+ import "react-dom";
5
+ import "react-dom/client";
6
+ import "antd";
7
+ import "driver.js";
8
+ import "driver.js/dist/driver.css";
9
+ import "lodash-es";
10
+ import "react/jsx-runtime";
11
+ import "ahooks";
12
+ function a() {
13
+ return i((r) => {
14
+ var o;
15
+ return ((o = r == null ? void 0 : r.config) == null ? void 0 : o.currentPageId) || m.id;
16
+ });
17
+ }
18
+ export {
19
+ a as u
20
+ };
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "tangjiahui-cn",
6
6
  "description": "一个前端大屏看板项目",
7
7
  "license": "ISC",
8
- "version": "0.0.21",
8
+ "version": "0.0.23",
9
9
  "module": "./es/index.mjs",
10
10
  "types": "./types/src/export/index.d.ts",
11
11
  "scripts": {
@@ -4,9 +4,9 @@ interface Props {
4
4
  json?: JsonType;
5
5
  engine: Engine;
6
6
  /** 页面底部 */
7
- pageFooter?: React.FC;
7
+ pageFooter?: React.FC | React.ReactNode;
8
8
  /** 页面logo */
9
- pageLogo?: React.FC;
9
+ pageLogo?: React.FC | React.ReactNode;
10
10
  onJSONLoad?: () => void;
11
11
  }
12
12
  export default function (props: Props): import("react/jsx-runtime").JSX.Element;
@@ -13,9 +13,9 @@ export interface RbsEngineOptions {
13
13
  /** 开始预览 hook */
14
14
  onStartPreview?: (engine: Engine) => void;
15
15
  /** 页面底部 */
16
- pageFooter?: React.FC;
16
+ pageFooter?: React.FC | React.ReactNode;
17
17
  /** 页面logo */
18
- pageLogo?: React.FC;
18
+ pageLogo?: React.FC | React.ReactNode;
19
19
  }
20
20
  export declare class RbsEngine {
21
21
  /** react createApp */
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  interface Props {
3
3
  /** 页面logo */
4
- pageLogo?: React.FC;
4
+ pageLogo?: React.FC | React.ReactNode;
5
5
  }
6
6
  export default function Header(props: Props): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,41 +0,0 @@
1
- import { o as t } from "./index-CRDggJyg.mjs";
2
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "react";
4
- import "react-dom";
5
- 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 "antd";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
10
- const e = {
11
- color: "#2EDCF7",
12
- value: "一段文字",
13
- fontSize: 20,
14
- lineHeight: 32
15
- }, b = t(
16
- [
17
- { key: "value", label: "内容", component: "textarea" },
18
- { key: "fontSize", label: "字号", component: "inputNumber", options: { min: 8 } },
19
- {
20
- key: "lineHeight",
21
- label: "行高",
22
- labelTip: "单位px",
23
- component: "inputNumber",
24
- options: { min: 8 }
25
- },
26
- { key: "fontWeight", label: "字重", component: "fontWeightSelect" },
27
- {
28
- key: "color",
29
- label: "颜色",
30
- component: "colorPicker",
31
- options: {
32
- reset: !0
33
- }
34
- }
35
- ],
36
- e
37
- );
38
- export {
39
- e as DEFAULT_OPTIONS,
40
- b as default
41
- };
@@ -1,47 +0,0 @@
1
- import { o as e } from "./index-CRDggJyg.mjs";
2
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "react";
4
- import "react-dom";
5
- 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 "antd";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
10
- const t = {
11
- color: "#F8E71C",
12
- fontSize: 20,
13
- lineHeight: 22
14
- }, b = e(
15
- [
16
- {
17
- key: "color",
18
- label: "字色",
19
- component: "colorPicker",
20
- options: {
21
- reset: !0,
22
- resetColor: t.color
23
- }
24
- },
25
- {
26
- key: "fontSize",
27
- label: "字号",
28
- component: "inputNumber"
29
- },
30
- {
31
- key: "lineHeight",
32
- label: "行高",
33
- labelTip: "单位:px",
34
- component: "inputNumber"
35
- },
36
- {
37
- key: "textAlign",
38
- label: "布局",
39
- component: "textAlignSelect"
40
- }
41
- ],
42
- t
43
- );
44
- export {
45
- t as DEFAULT_OPTIONS,
46
- b as default
47
- };
@@ -1,35 +0,0 @@
1
- import { o as t } from "./index-CRDggJyg.mjs";
2
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "react";
4
- import "react-dom";
5
- 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 "antd";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
10
- const o = {
11
- src: "https://ts3.cn.mm.bing.net/th?id=OIP-C.3r1vguZyWFUJ80A2Nf2k3AHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=2&pid=3.1&rm=2"
12
- }, b = t(
13
- [
14
- {
15
- key: "src",
16
- label: "地址",
17
- component: "textarea",
18
- options: {
19
- autoSize: {
20
- minRows: 5
21
- }
22
- }
23
- },
24
- {
25
- key: "enablePreview",
26
- label: "启用预览",
27
- component: "checkbox"
28
- }
29
- ],
30
- o
31
- );
32
- export {
33
- o as DEFAULT_OPTIONS,
34
- b as default
35
- };
@@ -1,25 +0,0 @@
1
- import { o } from "./index-CRDggJyg.mjs";
2
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "react";
4
- import "react-dom";
5
- 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 "antd";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
10
- const t = {
11
- background: "#223447"
12
- }, b = o(
13
- [
14
- {
15
- key: "background",
16
- label: "背景",
17
- component: "colorPicker"
18
- }
19
- ],
20
- t
21
- );
22
- export {
23
- t as DEFAULT_OPTIONS,
24
- b as default
25
- };
@@ -1,32 +0,0 @@
1
- import { jsx as o } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { o as t } 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";
4
- import "react";
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";
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
- const r = {
11
- autoScroll: !0,
12
- pxPerSecond: 12
13
- }, b = t(
14
- [
15
- /* @__PURE__ */ o("b", { children: "滚动配置" }, "data"),
16
- {
17
- key: "pxPerSecond",
18
- label: "每秒滚动像素",
19
- component: "inputNumber"
20
- },
21
- {
22
- key: "autoScroll",
23
- label: "自动滚动",
24
- component: "checkbox"
25
- }
26
- ],
27
- r
28
- );
29
- export {
30
- r as DEFAULT_OPTIONS,
31
- b as default
32
- };
@@ -1,39 +0,0 @@
1
- import { o as t } from "./index-CRDggJyg.mjs";
2
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "react";
4
- import "react-dom";
5
- 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 "antd";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
10
- const o = {
11
- titleColor: "#000",
12
- subtextColor: "#bababa"
13
- }, c = t(
14
- [
15
- {
16
- key: "titleColor",
17
- label: "标题颜色",
18
- component: "colorPicker",
19
- options: {
20
- reset: !0,
21
- presetColor: o == null ? void 0 : o.titleColor
22
- }
23
- },
24
- {
25
- key: "subtextColor",
26
- label: "副标题颜色",
27
- component: "colorPicker",
28
- options: {
29
- reset: !0,
30
- presetColor: o == null ? void 0 : o.subtextColor
31
- }
32
- }
33
- ],
34
- o
35
- );
36
- export {
37
- o as DEFAULT_OPTIONS,
38
- c as default
39
- };
@@ -1,45 +0,0 @@
1
- import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { R as a } from "./index-D--V8m-b.mjs";
3
- import { n as i } 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";
5
- import "react";
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";
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";
11
- const x = i((t) => {
12
- const { width: r, height: o } = t;
13
- return /* @__PURE__ */ e(
14
- a,
15
- {
16
- options: {
17
- tooltip: {
18
- formatter: "{a} <br/>{b} : {c}%"
19
- },
20
- series: [
21
- {
22
- name: "Pressure",
23
- type: "gauge",
24
- detail: {
25
- formatter: "{value}"
26
- },
27
- data: [
28
- {
29
- value: 50,
30
- name: "SCORE"
31
- }
32
- ]
33
- }
34
- ]
35
- },
36
- style: {
37
- width: r,
38
- height: o
39
- }
40
- }
41
- );
42
- });
43
- export {
44
- x as default
45
- };
@@ -1,41 +0,0 @@
1
- import { jsx as i } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { R as e } from "./index-D--V8m-b.mjs";
3
- import { n as a } 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";
5
- import "react";
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";
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";
11
- const l = a((t) => {
12
- const { width: o, height: r } = t;
13
- return /* @__PURE__ */ i(
14
- e,
15
- {
16
- options: {
17
- xAxis: {
18
- type: "category",
19
- data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
20
- },
21
- yAxis: {
22
- type: "value"
23
- },
24
- series: [
25
- {
26
- data: [120, 200, 150, 80, 70, 110, 130],
27
- type: "bar",
28
- barWidth: 12
29
- }
30
- ]
31
- },
32
- style: {
33
- width: o,
34
- height: r
35
- }
36
- }
37
- );
38
- });
39
- export {
40
- l as default
41
- };
@@ -1,38 +0,0 @@
1
- import { jsx as e, jsxs as l } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { n as c } 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";
4
- import "react";
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";
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 i } from "./attributes-C5pimFaJ.mjs";
11
- import { DoubleRightOutlined as s } 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
- const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", r = {
13
- specialCard: _,
14
- specialCard_head: t,
15
- specialCard_head_arrow: m,
16
- specialCard_head_title: o
17
- }, g = c((d) => {
18
- const { options: a } = d;
19
- return /* @__PURE__ */ e(
20
- "div",
21
- {
22
- className: r.specialCard,
23
- style: {
24
- color: a == null ? void 0 : a.color,
25
- borderRadius: a == null ? void 0 : a.borderRadius,
26
- background: a == null ? void 0 : a.background,
27
- border: a != null && a.bordered ? `${(a == null ? void 0 : a.borderWidth) || 1}px solid ${(a == null ? void 0 : a.borderColor) || "white"}` : void 0
28
- },
29
- children: /* @__PURE__ */ l("div", { className: r.specialCard_head, children: [
30
- /* @__PURE__ */ e(s, { className: r.specialCard_head_arrow }),
31
- /* @__PURE__ */ e("div", { className: r.specialCard_head_title, children: a == null ? void 0 : a.title })
32
- ] })
33
- }
34
- );
35
- }, i);
36
- export {
37
- g as default
38
- };
@@ -1,46 +0,0 @@
1
- import { jsxs as t, jsx as l } 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";
4
- import "react";
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";
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 { DoubleRightOutlined as r, DoubleLeftOutlined as s } 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";
11
- import { DEFAULT_OPTIONS as p } from "./attributes-BWtBVgsg.mjs";
12
- const T = "_specialTitle_7705n_59", m = "_specialTitle_line_left_7705n_64", o = "_specialTitle_inner_7705n_69", h = "_specialTitle_inner_icon_7705n_74", d = "_specialTitle_line_right_7705n_78", i = {
13
- specialTitle: T,
14
- specialTitle_line_left: m,
15
- specialTitle_inner: o,
16
- specialTitle_inner_icon: h,
17
- specialTitle_line_right: d
18
- }, D = a((n) => {
19
- const { width: _, height: c, options: e } = n;
20
- return /* @__PURE__ */ t("div", { style: { width: _, height: c }, className: i.specialTitle, children: [
21
- /* @__PURE__ */ l("div", { className: i.specialTitle_line_left }),
22
- /* @__PURE__ */ t("div", { className: i.specialTitle_inner, children: [
23
- /* @__PURE__ */ l(r, { className: i.specialTitle_inner_icon }),
24
- /* @__PURE__ */ l(
25
- "div",
26
- {
27
- style: {
28
- color: e == null ? void 0 : e.color,
29
- wordBreak: "break-all",
30
- fontWeight: e == null ? void 0 : e.fontWeight,
31
- fontSize: e == null ? void 0 : e.fontSize,
32
- lineHeight: e != null && e.lineHeight ? `${e == null ? void 0 : e.lineHeight}px` : void 0
33
- },
34
- dangerouslySetInnerHTML: {
35
- __html: (e == null ? void 0 : e.value) || ""
36
- }
37
- }
38
- ),
39
- /* @__PURE__ */ l(s, { className: i.specialTitle_inner_icon })
40
- ] }),
41
- /* @__PURE__ */ l("div", { className: i.specialTitle_line_right })
42
- ] });
43
- }, p);
44
- export {
45
- D as default
46
- };
@@ -1,49 +0,0 @@
1
- import { jsx as o } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { R as m } from "./index-D--V8m-b.mjs";
3
- import { n as r } 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";
5
- import "react";
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";
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";
11
- const f = r((t) => {
12
- const { width: a, height: e } = t;
13
- return /* @__PURE__ */ o(
14
- m,
15
- {
16
- options: {
17
- radar: {
18
- indicator: [
19
- { name: "Sales", max: 100 },
20
- { name: "Administration", max: 100 },
21
- { name: "Information Technology", max: 100 },
22
- { name: "Customer Support", max: 100 },
23
- { name: "Development", max: 100 },
24
- { name: "Marketing", max: 100 }
25
- ]
26
- },
27
- series: [
28
- {
29
- name: "Budget vs spending",
30
- type: "radar",
31
- data: [
32
- {
33
- value: [50, 50, 50, 50, 50, 50],
34
- name: "Allocated Budget"
35
- }
36
- ]
37
- }
38
- ]
39
- },
40
- style: {
41
- width: a,
42
- height: e
43
- }
44
- }
45
- );
46
- });
47
- export {
48
- f as default
49
- };
@@ -1,35 +0,0 @@
1
- import { jsx as s, 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 d } 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";
4
- import "react";
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";
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 p } from "./attributes-DztmBsKn.mjs";
11
- import { A as _ } from "./index-guYPVm3G.mjs";
12
- import { CalendarOutlined as f } 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";
13
- const L = "_scrollList_ni091_59", h = "_scrollList_line_ni091_62", o = {
14
- scrollList: L,
15
- scrollList_line: h
16
- }, P = d((t) => {
17
- const { width: c, height: n, options: r, dataSource: e } = t, i = e;
18
- return /* @__PURE__ */ s(
19
- _,
20
- {
21
- style: { width: c, height: n },
22
- className: o.scrollList,
23
- disabled: !(r != null && r.autoScroll),
24
- pxPerSecond: r == null ? void 0 : r.pxPerSecond,
25
- children: i.map((l) => /* @__PURE__ */ a("div", { className: o.scrollList_line, children: [
26
- /* @__PURE__ */ s(f, { style: { color: "#2EDCF7" } }),
27
- /* @__PURE__ */ s("span", { style: { flex: 1 }, children: l == null ? void 0 : l.title }),
28
- (l == null ? void 0 : l.status) === "1" ? /* @__PURE__ */ s("span", { style: { color: "#2EDCF7" }, children: "已签" }) : /* @__PURE__ */ s("span", { style: { color: "#dfdfdf" }, children: "未签" })
29
- ] }, l == null ? void 0 : l.key))
30
- }
31
- );
32
- }, p);
33
- export {
34
- P as default
35
- };