react-big-screen 0.0.21 → 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.
Files changed (64) 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-E8oqU4q7.mjs → attributes-BPJdjr2i.mjs} +11 -9
  4. package/es/{attributes-C5pimFaJ.mjs → attributes-BcOvtwR5.mjs} +17 -15
  5. package/es/attributes-BfidbonK.mjs +43 -0
  6. package/es/{attributes-w4UsefFp.mjs → attributes-Btg07K2U.mjs} +32 -29
  7. package/es/attributes-BwADICpR.mjs +37 -0
  8. package/es/{attributes-C0SMjnHG.mjs → attributes-CLKihLxA.mjs} +10 -8
  9. package/es/{attributes-Dv8IMI4h.mjs → attributes-CbEkHFeA.mjs} +10 -8
  10. package/es/attributes-Cqd_mqWc.mjs +41 -0
  11. package/es/attributes-CuMNtV8M.mjs +34 -0
  12. package/es/attributes-D48dVLeW.mjs +27 -0
  13. package/es/{attributes-DdjjVR4N.mjs → attributes-DygyEbMZ.mjs} +10 -8
  14. package/es/attributes-T101y64V.mjs +49 -0
  15. package/es/{index-ryl5yfWq.mjs → index--DlyGwmX.mjs} +13 -11
  16. package/es/index-5xqLm0cU.mjs +47 -0
  17. package/es/index-8ZXIms1b.mjs +48 -0
  18. package/es/index-B7TrIL_C.mjs +19 -0
  19. package/es/{index-CyS-CdYv.mjs → index-B8oIQxa8.mjs} +13 -12
  20. package/es/{index-B4KSL-Bu.mjs → index-BHUjUILf.mjs} +11 -9
  21. package/es/{index-D--V8m-b.mjs → index-BHmzQnjb.mjs} +9 -9
  22. package/es/{index-B9Nb8R2I.mjs → index-BQ7mzQ9J.mjs} +17 -16
  23. package/es/{index-Bvab-NQ4.mjs → index-BtEza1iX.mjs} +24 -22
  24. package/es/{index-CRDggJyg.mjs → index-BuUTG4Rv.mjs} +61 -61
  25. package/es/index-BvW1_Hyv.mjs +51 -0
  26. package/es/index-C0Dt2jQ_.mjs +40 -0
  27. package/es/index-C6A7V93P.mjs +61 -0
  28. package/es/index-CHxtigvR.mjs +42 -0
  29. package/es/index-CW3G29nN.mjs +46 -0
  30. package/es/{index-CpYmNO_5.mjs → index-D-o2kNzn.mjs} +53 -53
  31. package/es/{index-guYPVm3G.mjs → index-D5seKG8I.mjs} +2 -2
  32. package/es/index-DTMGhBFA.mjs +43 -0
  33. package/es/index-DZRl1odp.mjs +37 -0
  34. package/es/{index-D_0vVSWq.mjs → index-DmMp7-l-.mjs} +11 -9
  35. package/es/{index-n9OtRMYa.mjs → index-Dv8VfJDC.mjs} +30 -29
  36. package/es/{index-C6HV7IaP.mjs → index-DxbswiWm.mjs} +30 -28
  37. package/es/{index-B8JqjjA1.mjs → index-Qxmobfyd.mjs} +4 -4
  38. package/es/{index-Ljz96Vra.mjs → index-X5o1pXL3.mjs} +16 -14
  39. package/es/{index-Dh00vKAk.mjs → index-Z8NfClWR.mjs} +15 -13
  40. package/es/{index-DyB0TE1y.mjs → index-mzSvAxqW.mjs} +27 -25
  41. package/es/index-onenk3XK.mjs +26 -0
  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-BTdc0EhU.mjs} +1 -1
  45. package/es/useCurrentPageId-DkPUSvWz.mjs +20 -0
  46. package/package.json +1 -1
  47. package/es/attributes-BWtBVgsg.mjs +0 -41
  48. package/es/attributes-BuMChZnt.mjs +0 -47
  49. package/es/attributes-COwKDUMI.mjs +0 -35
  50. package/es/attributes-C_fbpAUx.mjs +0 -25
  51. package/es/attributes-DztmBsKn.mjs +0 -32
  52. package/es/attributes-YL1J6lLR.mjs +0 -39
  53. package/es/index-BRgbtPVH.mjs +0 -45
  54. package/es/index-BUth1V1H.mjs +0 -41
  55. package/es/index-BYJ5e2rN.mjs +0 -38
  56. package/es/index-BYe40Zu2.mjs +0 -46
  57. package/es/index-BzpuXSbE.mjs +0 -49
  58. package/es/index-CBxj6uKJ.mjs +0 -35
  59. package/es/index-CUkul7R0.mjs +0 -44
  60. package/es/index-DQU0jlV0.mjs +0 -24
  61. package/es/index-KruFCy9N.mjs +0 -17
  62. package/es/index-hPKl41YD.mjs +0 -40
  63. package/es/index-qoPI1H9i.mjs +0 -59
  64. package/es/useCurrentPageId-DM05DNLI.mjs +0 -18
@@ -1,4 +1,4 @@
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";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import { Input as n, InputNumber as m } from "antd";
3
3
  function u(t) {
4
4
  const { onChange: e, ...r } = t;
@@ -1,8 +1,8 @@
1
- import { jsx as a, jsxs as _ } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
1
+ import { jsx as a, jsxs as _ } from "react/jsx-runtime";
2
2
  import b, { useState as S, createContext as g, useContext as k } from "react";
3
- import { SketchPicker as v } from "/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";
3
+ import { SketchPicker as v } from "react-color";
4
4
  import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "antd";
5
- import C from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
5
+ import C from "classnames";
6
6
  const I = "_IColorPicker_p2bys_59", $ = {
7
7
  IColorPicker: I
8
8
  }, P = "_customDropDown_t0e27_59", L = {
@@ -1,16 +1,18 @@
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 { 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";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { o as t } from "./index-BuUTG4Rv.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 { I as b } from "./index-B8JqjjA1.mjs";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
12
+ import { I as b } from "./index-Qxmobfyd.mjs";
11
13
  const g = {
12
14
  id: "clock.png"
13
- }, h = t(
15
+ }, d = t(
14
16
  [
15
17
  /* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
16
18
  {
@@ -54,5 +56,5 @@ const g = {
54
56
  );
55
57
  export {
56
58
  g as DEFAULT_OPTIONS,
57
- h as default
59
+ d as default
58
60
  };
@@ -1,26 +1,28 @@
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 { useMemo as n } from "react";
1
+ import { o as r } from "./index-BuUTG4Rv.mjs";
2
+ import "localforage";
3
+ import { useMemo as i } from "react";
4
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";
5
+ import "react-dom/client";
6
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 b = {
7
+ import "driver.js";
8
+ import "driver.js/dist/driver.css";
9
+ import "lodash-es";
10
+ import "ahooks";
11
+ import "react/jsx-runtime";
12
+ const n = {
11
13
  title: "标题",
12
14
  bordered: !0,
13
15
  borderWidth: 1,
14
16
  borderColor: "rgba(83, 141, 233, 0.54)",
15
17
  background: "rgba(22, 28, 48, 0.8)",
16
18
  color: "rgb(71, 216, 218)"
17
- }, k = e(
19
+ }, g = r(
18
20
  [
19
21
  { key: "title", label: "标题", component: "input" },
20
22
  { key: "bordered", label: "边框", component: "checkbox" },
21
- ({ useExtra: r }) => {
22
- const o = r(), t = n(
23
- () => e([
23
+ ({ useExtra: e }) => {
24
+ const o = e(), t = i(
25
+ () => r([
24
26
  { key: "borderWidth", label: "边框宽度", component: "inputNumber" },
25
27
  { key: "borderColor", label: "边框颜色", component: "colorPicker" }
26
28
  ]),
@@ -39,9 +41,9 @@ const b = {
39
41
  }
40
42
  }
41
43
  ],
42
- b
44
+ n
43
45
  );
44
46
  export {
45
- b as DEFAULT_OPTIONS,
46
- k as default
47
+ n as DEFAULT_OPTIONS,
48
+ g as default
47
49
  };
@@ -0,0 +1,43 @@
1
+ import { o as t } from "./index-BuUTG4Rv.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 "ahooks";
11
+ import "react/jsx-runtime";
12
+ const o = {
13
+ color: "#2EDCF7",
14
+ value: "一段文字",
15
+ fontSize: 20,
16
+ lineHeight: 32
17
+ }, u = t(
18
+ [
19
+ { key: "value", label: "内容", component: "textarea" },
20
+ { key: "fontSize", label: "字号", component: "inputNumber", options: { min: 8 } },
21
+ {
22
+ key: "lineHeight",
23
+ label: "行高",
24
+ labelTip: "单位px",
25
+ component: "inputNumber",
26
+ options: { min: 8 }
27
+ },
28
+ { key: "fontWeight", label: "字重", component: "fontWeightSelect" },
29
+ {
30
+ key: "color",
31
+ label: "颜色",
32
+ component: "colorPicker",
33
+ options: {
34
+ reset: !0
35
+ }
36
+ }
37
+ ],
38
+ o
39
+ );
40
+ export {
41
+ o as DEFAULT_OPTIONS,
42
+ u as default
43
+ };
@@ -1,19 +1,22 @@
1
- import { jsxs as y, jsx as d } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { i as k, c as I, o as L } 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 y, jsx as d } from "react/jsx-runtime";
2
+ import { i as k, c as I, o as L } from "./index-BuUTG4Rv.mjs";
3
+ import "localforage";
4
4
  import { useRef as S, useMemo as H } 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 { Space as N } from "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 g from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
11
- import { CloseOutlined as R, PlusOutlined as A } 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 { b as T, I as q } from "./index-D1ux0Voe.mjs";
13
- import { L as D, a as v, I as C, b as P } from "./Line-CLgwvraj.mjs";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
12
+ import g from "classnames";
13
+ import { CloseOutlined as R, PlusOutlined as A } from "@ant-design/icons";
14
+ import { b as T, I as q } from "./index-yEFPa0R2.mjs";
15
+ import { L as D, a as v, I as C, b as P } from "./Line-CgKiUu04.mjs";
16
+ import "react-i18next";
14
17
  const w = "_editSeriesList_c1zv3_59", O = {
15
18
  editSeriesList: w
16
- }, U = "_tabsHead_1q8na_59", j = "_tabsHead_add_1q8na_64", B = "_tabsHead_body_1q8na_72", E = "_tabsHead_body_inner_1q8na_85", F = "_tabsHead_item_1q8na_90", K = "_tabsHead_item_selected_1q8na_102", $ = "_tabsHead_item_delete_1q8na_107", h = {
19
+ }, U = "_tabsHead_1q8na_59", j = "_tabsHead_add_1q8na_64", B = "_tabsHead_body_1q8na_72", E = "_tabsHead_body_inner_1q8na_85", F = "_tabsHead_item_1q8na_90", K = "_tabsHead_item_selected_1q8na_102", $ = "_tabsHead_item_delete_1q8na_107", f = {
17
20
  tabsHead: U,
18
21
  tabsHead_add: j,
19
22
  tabsHead_body: B,
@@ -44,29 +47,29 @@ function z(e) {
44
47
  behavior: "smooth"
45
48
  });
46
49
  }
47
- return /* @__PURE__ */ y("div", { style: e == null ? void 0 : e.style, className: h.tabsHead, children: [
48
- /* @__PURE__ */ d("div", { className: h.tabsHead_body, ref: t, children: /* @__PURE__ */ d("div", { className: h.tabsHead_body_inner, children: (i = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map) == null ? void 0 : i.call(l, (n, m) => {
50
+ return /* @__PURE__ */ y("div", { style: e == null ? void 0 : e.style, className: f.tabsHead, children: [
51
+ /* @__PURE__ */ d("div", { className: f.tabsHead_body, ref: t, children: /* @__PURE__ */ d("div", { className: f.tabsHead_body_inner, children: (i = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map) == null ? void 0 : i.call(l, (n, m) => {
49
52
  const b = (n == null ? void 0 : n.value) === (e == null ? void 0 : e.value);
50
53
  return /* @__PURE__ */ y(
51
54
  "div",
52
55
  {
53
56
  className: g(
54
- h.tabsHead_item,
55
- b && h.tabsHead_item_selected
57
+ f.tabsHead_item,
58
+ b && f.tabsHead_item_selected
56
59
  ),
57
- onClick: (r) => {
60
+ onClick: (h) => {
58
61
  var a;
59
- b || (s(r.target), (a = e == null ? void 0 : e.onChange) == null || a.call(e, n == null ? void 0 : n.value));
62
+ b || (s(h.target), (a = e == null ? void 0 : e.onChange) == null || a.call(e, n == null ? void 0 : n.value));
60
63
  },
61
64
  children: [
62
65
  n == null ? void 0 : n.label,
63
66
  /* @__PURE__ */ d(
64
67
  R,
65
68
  {
66
- className: g(h.tabsHead_item_delete, "icon_clickable"),
67
- onClick: (r) => {
69
+ className: g(f.tabsHead_item_delete, "icon_clickable"),
70
+ onClick: (h) => {
68
71
  var a;
69
- r.stopPropagation(), (a = e == null ? void 0 : e.onDelete) == null || a.call(e, n.value);
72
+ h.stopPropagation(), (a = e == null ? void 0 : e.onDelete) == null || a.call(e, n.value);
70
73
  }
71
74
  }
72
75
  )
@@ -75,7 +78,7 @@ function z(e) {
75
78
  (n == null ? void 0 : n.value) || m
76
79
  );
77
80
  }) }) }),
78
- (e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: h.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(A, {}) })
81
+ (e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: f.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(A, {}) })
79
82
  ] });
80
83
  }
81
84
  function M(e) {
@@ -100,7 +103,7 @@ function V(e) {
100
103
  value: c.key || (c == null ? void 0 : c.value) || "",
101
104
  data: c
102
105
  }))) || [];
103
- return a.length && (a.some((f) => f.value === l.current) || s(a[0].value)), a;
106
+ return a.length && (a.some((r) => r.value === l.current) || s(a[0].value)), a;
104
107
  }, [e == null ? void 0 : e.value]), n = H(() => {
105
108
  var a, u;
106
109
  return (u = (a = i == null ? void 0 : i.find) == null ? void 0 : a.call(i, (o) => (o == null ? void 0 : o.value) === _)) == null ? void 0 : u.data;
@@ -119,14 +122,14 @@ function V(e) {
119
122
  }
120
123
  function b(a) {
121
124
  var o;
122
- const u = i == null ? void 0 : i.reduce((c, f) => (f.value !== a && c.push(f.data), c), []);
125
+ const u = i == null ? void 0 : i.reduce((c, r) => (r.value !== a && c.push(r.data), c), []);
123
126
  (o = e == null ? void 0 : e.onChange) == null || o.call(e, u);
124
127
  }
125
- function r(a) {
128
+ function h(a) {
126
129
  var u, o;
127
130
  (u = t == null ? void 0 : t.some) == null || u.call(t, (c) => {
128
- const f = c.key === a.key;
129
- return f && Object.assign(c, a), f;
131
+ const r = c.key === a.key;
132
+ return r && Object.assign(c, a), r;
130
133
  }), (o = e == null ? void 0 : e.onChange) == null || o.call(e, [...t]);
131
134
  }
132
135
  return /* @__PURE__ */ y("div", { className: O.editSeriesList, children: [
@@ -150,7 +153,7 @@ function V(e) {
150
153
  {
151
154
  value: n,
152
155
  onChange: (a) => {
153
- r(a);
156
+ h(a);
154
157
  }
155
158
  }
156
159
  )
@@ -162,7 +165,7 @@ const W = {
162
165
  { key: "2", name: "数据2", value: "value2", color: "#7ed321" },
163
166
  { key: "3", name: "数据3", value: "value3", color: "#1071e0" }
164
167
  ]
165
- }, le = L(
168
+ }, ue = L(
166
169
  [
167
170
  {
168
171
  key: "background",
@@ -183,5 +186,5 @@ const W = {
183
186
  );
184
187
  export {
185
188
  W as DEFAULT_OPTIONS,
186
- le as default
189
+ ue as default
187
190
  };
@@ -0,0 +1,37 @@
1
+ import { o as t } from "./index-BuUTG4Rv.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 "ahooks";
11
+ import "react/jsx-runtime";
12
+ const o = {
13
+ 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"
14
+ }, u = t(
15
+ [
16
+ {
17
+ key: "src",
18
+ label: "地址",
19
+ component: "textarea",
20
+ options: {
21
+ autoSize: {
22
+ minRows: 5
23
+ }
24
+ }
25
+ },
26
+ {
27
+ key: "enablePreview",
28
+ label: "启用预览",
29
+ component: "checkbox"
30
+ }
31
+ ],
32
+ o
33
+ );
34
+ export {
35
+ o as DEFAULT_OPTIONS,
36
+ u as default
37
+ };
@@ -1,12 +1,14 @@
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 r } 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 } from "react/jsx-runtime";
2
+ import { o as r } from "./index-BuUTG4Rv.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";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
10
12
  const e = {
11
13
  // mapHoverColor: "rgba(16,43,128,0.9)",
12
14
  // mapSelectedColor: "rgba(16,43,128,1)",
@@ -14,7 +16,7 @@ const e = {
14
16
  centerX: 0,
15
17
  centerY: 0,
16
18
  scale: 0
17
- }, b = r(
19
+ }, u = r(
18
20
  [
19
21
  /* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "基本配置" }, "data"),
20
22
  {
@@ -113,5 +115,5 @@ const e = {
113
115
  );
114
116
  export {
115
117
  e as DEFAULT_OPTIONS,
116
- b as default
118
+ u as default
117
119
  };
@@ -1,12 +1,14 @@
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 { o as r } 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 e } from "react/jsx-runtime";
2
+ import { o as r } from "./index-BuUTG4Rv.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";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
10
12
  const o = {
11
13
  // 基本配置
12
14
  progressColor: "#2949ca",
@@ -18,7 +20,7 @@ const o = {
18
20
  // 滚动配置
19
21
  autoScroll: !0,
20
22
  pxPerSecond: 12
21
- }, u = r(
23
+ }, C = r(
22
24
  [
23
25
  /* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
24
26
  {
@@ -93,5 +95,5 @@ const o = {
93
95
  );
94
96
  export {
95
97
  o as DEFAULT_OPTIONS,
96
- u as default
98
+ C as default
97
99
  };
@@ -0,0 +1,41 @@
1
+ import { o as t } from "./index-BuUTG4Rv.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 "ahooks";
11
+ import "react/jsx-runtime";
12
+ const o = {
13
+ titleColor: "#000",
14
+ subtextColor: "#bababa"
15
+ }, C = t(
16
+ [
17
+ {
18
+ key: "titleColor",
19
+ label: "标题颜色",
20
+ component: "colorPicker",
21
+ options: {
22
+ reset: !0,
23
+ presetColor: o == null ? void 0 : o.titleColor
24
+ }
25
+ },
26
+ {
27
+ key: "subtextColor",
28
+ label: "副标题颜色",
29
+ component: "colorPicker",
30
+ options: {
31
+ reset: !0,
32
+ presetColor: o == null ? void 0 : o.subtextColor
33
+ }
34
+ }
35
+ ],
36
+ o
37
+ );
38
+ export {
39
+ o as DEFAULT_OPTIONS,
40
+ C as default
41
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { o as t } 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
+ const r = {
13
+ autoScroll: !0,
14
+ pxPerSecond: 12
15
+ }, d = t(
16
+ [
17
+ /* @__PURE__ */ o("b", { children: "滚动配置" }, "data"),
18
+ {
19
+ key: "pxPerSecond",
20
+ label: "每秒滚动像素",
21
+ component: "inputNumber"
22
+ },
23
+ {
24
+ key: "autoScroll",
25
+ label: "自动滚动",
26
+ component: "checkbox"
27
+ }
28
+ ],
29
+ r
30
+ );
31
+ export {
32
+ r as DEFAULT_OPTIONS,
33
+ d as default
34
+ };
@@ -0,0 +1,27 @@
1
+ import { o } from "./index-BuUTG4Rv.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 "ahooks";
11
+ import "react/jsx-runtime";
12
+ const t = {
13
+ background: "#223447"
14
+ }, k = o(
15
+ [
16
+ {
17
+ key: "background",
18
+ label: "背景",
19
+ component: "colorPicker"
20
+ }
21
+ ],
22
+ t
23
+ );
24
+ export {
25
+ t as DEFAULT_OPTIONS,
26
+ k as default
27
+ };
@@ -1,12 +1,14 @@
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 n } 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 } from "react/jsx-runtime";
2
+ import { o as n } from "./index-BuUTG4Rv.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";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
10
12
  const l = {
11
13
  color_1: "black",
12
14
  value_1: "一段文字",
@@ -49,7 +51,7 @@ function t(e) {
49
51
  { key: "textAlign" + e, label: "水平对齐", component: "textAlignSelect" }
50
52
  ];
51
53
  }
52
- const y = n(
54
+ const u = n(
53
55
  [
54
56
  /* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "第一行配置" }, "line-1"),
55
57
  ...t("_1"),
@@ -60,5 +62,5 @@ const y = n(
60
62
  );
61
63
  export {
62
64
  l as DEFAULT_OPTIONS,
63
- y as default
65
+ u as default
64
66
  };
@@ -0,0 +1,49 @@
1
+ import { o } from "./index-BuUTG4Rv.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 "ahooks";
11
+ import "react/jsx-runtime";
12
+ const t = {
13
+ color: "#F8E71C",
14
+ fontSize: 20,
15
+ lineHeight: 22
16
+ }, u = o(
17
+ [
18
+ {
19
+ key: "color",
20
+ label: "字色",
21
+ component: "colorPicker",
22
+ options: {
23
+ reset: !0,
24
+ resetColor: t.color
25
+ }
26
+ },
27
+ {
28
+ key: "fontSize",
29
+ label: "字号",
30
+ component: "inputNumber"
31
+ },
32
+ {
33
+ key: "lineHeight",
34
+ label: "行高",
35
+ labelTip: "单位:px",
36
+ component: "inputNumber"
37
+ },
38
+ {
39
+ key: "textAlign",
40
+ label: "布局",
41
+ component: "textAlignSelect"
42
+ }
43
+ ],
44
+ t
45
+ );
46
+ export {
47
+ t as DEFAULT_OPTIONS,
48
+ u as default
49
+ };
@@ -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-BuUTG4Rv.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-BHmzQnjb.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
  };