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.
Files changed (65) hide show
  1. package/es/{IInputNumber-Vk6zq2bP.mjs → IInputNumber-CEotcbKL.mjs} +2 -2
  2. package/es/{Line-nA3VtARp.mjs → Line-CgKiUu04.mjs} +4 -4
  3. package/es/{attributes-BZxcK9tt.mjs → attributes-BPJdjr2i.mjs} +12 -9
  4. package/es/{attributes-CbI6ZNLl.mjs → attributes-BcOvtwR5.mjs} +18 -15
  5. package/es/attributes-BfidbonK.mjs +43 -0
  6. package/es/{attributes-BWjMqQ_s.mjs → attributes-Btg07K2U.mjs} +37 -34
  7. package/es/attributes-BwADICpR.mjs +37 -0
  8. package/es/{attributes-C7YISj8O.mjs → attributes-CLKihLxA.mjs} +17 -14
  9. package/es/{attributes-jJg_yENs.mjs → attributes-CbEkHFeA.mjs} +11 -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-OZgEPZfV.mjs → attributes-DygyEbMZ.mjs} +11 -8
  14. package/es/attributes-T101y64V.mjs +49 -0
  15. package/es/{index-BnaaZaeo.mjs → index--DlyGwmX.mjs} +14 -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-CKqOSJ9y.mjs → index-B8oIQxa8.mjs} +14 -13
  20. package/es/{index-C8d60TqQ.mjs → index-BHUjUILf.mjs} +12 -9
  21. package/es/{index-CLnTLLjS.mjs → index-BHmzQnjb.mjs} +9 -9
  22. package/es/{index-CrN898XP.mjs → index-BQ7mzQ9J.mjs} +21 -20
  23. package/es/{index-7n0O_7or.mjs → index-BtEza1iX.mjs} +29 -26
  24. package/es/{index-Bwm3aMXZ.mjs → index-BuUTG4Rv.mjs} +63 -63
  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-BUic5qZC.mjs → index-D-o2kNzn.mjs} +54 -54
  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-B1ohG9Hu.mjs → index-DmMp7-l-.mjs} +12 -9
  35. package/es/{index-B75SSKFG.mjs → index-Dv8VfJDC.mjs} +32 -30
  36. package/es/{index-CaUBqf8D.mjs → index-DxbswiWm.mjs} +34 -32
  37. package/es/{index-DuXGzYdH.mjs → index-Qxmobfyd.mjs} +5 -5
  38. package/es/{index-BF07nOIu.mjs → index-X5o1pXL3.mjs} +17 -14
  39. package/es/{index-TjFlu-86.mjs → index-Z8NfClWR.mjs} +18 -15
  40. package/es/index-mzSvAxqW.mjs +142 -0
  41. package/es/index-onenk3XK.mjs +26 -0
  42. package/es/{index-Cq0uVP0H.mjs → index-yEFPa0R2.mjs} +3 -3
  43. package/es/index.mjs +7 -6
  44. package/es/{selectPage-BfNytQ95.mjs → selectPage-BTdc0EhU.mjs} +1 -1
  45. package/es/useCurrentPageId-DkPUSvWz.mjs +20 -0
  46. package/package.json +1 -1
  47. package/es/attributes-BDcSpbcs.mjs +0 -40
  48. package/es/attributes-Cg2w2wqR.mjs +0 -34
  49. package/es/attributes-Ck-M5Rw3.mjs +0 -46
  50. package/es/attributes-Dk4Khv-P.mjs +0 -38
  51. package/es/attributes-DuAsVU2g.mjs +0 -31
  52. package/es/attributes-Nwf_EnEX.mjs +0 -24
  53. package/es/index-B8Ei_KZZ.mjs +0 -16
  54. package/es/index-BemZB0VC.mjs +0 -48
  55. package/es/index-C7UdPRSB.mjs +0 -44
  56. package/es/index-CBBKPguI.mjs +0 -139
  57. package/es/index-COVC4gVe.mjs +0 -40
  58. package/es/index-CR3gnAfy.mjs +0 -58
  59. package/es/index-CXKN_KjL.mjs +0 -37
  60. package/es/index-Ce7eAD1W.mjs +0 -24
  61. package/es/index-DB3YcEiT.mjs +0 -39
  62. package/es/index-DcyXbsRZ.mjs +0 -43
  63. package/es/index-hRI5WRPs.mjs +0 -45
  64. package/es/index-nTep9Ubc.mjs +0 -34
  65. package/es/useCurrentPageId-C1KnE1O3.mjs +0 -17
@@ -1,5 +1,5 @@
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 { Input as n, InputNumber as m } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Input as n, InputNumber as m } from "antd";
3
3
  function u(t) {
4
4
  const { onChange: e, ...r } = t;
5
5
  return /* @__PURE__ */ o(
@@ -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";
4
- import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
5
- import C from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { SketchPicker as v } from "react-color";
4
+ import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "antd";
5
+ import C from "classnames";
6
6
  const I = "_IColorPicker_p2bys_59", $ = {
7
7
  IColorPicker: I
8
8
  }, P = "_customDropDown_t0e27_59", L = {
@@ -1,15 +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-Bwm3aMXZ.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";
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 { I as b } from "./index-DuXGzYdH.mjs";
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 { I as b } from "./index-Qxmobfyd.mjs";
10
13
  const g = {
11
14
  id: "clock.png"
12
- }, s = t(
15
+ }, d = t(
13
16
  [
14
17
  /* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
15
18
  {
@@ -53,5 +56,5 @@ const g = {
53
56
  );
54
57
  export {
55
58
  g as DEFAULT_OPTIONS,
56
- s as default
59
+ d as default
57
60
  };
@@ -1,25 +1,28 @@
1
- import { o as e } from "./index-Bwm3aMXZ.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";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
- const b = {
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 n = {
10
13
  title: "标题",
11
14
  bordered: !0,
12
15
  borderWidth: 1,
13
16
  borderColor: "rgba(83, 141, 233, 0.54)",
14
17
  background: "rgba(22, 28, 48, 0.8)",
15
18
  color: "rgb(71, 216, 218)"
16
- }, s = e(
19
+ }, g = r(
17
20
  [
18
21
  { key: "title", label: "标题", component: "input" },
19
22
  { key: "bordered", label: "边框", component: "checkbox" },
20
- ({ useExtra: r }) => {
21
- const o = r(), t = n(
22
- () => e([
23
+ ({ useExtra: e }) => {
24
+ const o = e(), t = i(
25
+ () => r([
23
26
  { key: "borderWidth", label: "边框宽度", component: "inputNumber" },
24
27
  { key: "borderColor", label: "边框颜色", component: "colorPicker" }
25
28
  ]),
@@ -38,9 +41,9 @@ const b = {
38
41
  }
39
42
  }
40
43
  ],
41
- b
44
+ n
42
45
  );
43
46
  export {
44
- b as DEFAULT_OPTIONS,
45
- s as default
47
+ n as DEFAULT_OPTIONS,
48
+ g as default
46
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-Bwm3aMXZ.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";
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 g from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
10
- import { CloseOutlined as N, PlusOutlined as R } 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 { b as A, I as T } from "./index-Cq0uVP0H.mjs";
12
- import { Space as q } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
13
- import { L as D, a as v, I as C, b as P } from "./Line-nA3VtARp.mjs";
6
+ import "react-dom/client";
7
+ import { Space as N } from "antd";
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,
@@ -27,7 +30,7 @@ function z(e) {
27
30
  const t = S(null);
28
31
  function _(n) {
29
32
  const m = n.getBoundingClientRect(), b = t.current.getBoundingClientRect();
30
- return A(
33
+ return T(
31
34
  { x1: m.x, y1: m.y, x2: m.right, y2: m.bottom },
32
35
  {
33
36
  x1: b.x,
@@ -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
- N,
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(R, {}) })
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) {
@@ -86,7 +89,7 @@ function M(e) {
86
89
  ...l
87
90
  });
88
91
  }
89
- return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ y(q, { direction: "vertical", style: { width: "100%", padding: 12 }, children: [
92
+ return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ y(N, { direction: "vertical", style: { width: "100%", padding: 12 }, children: [
90
93
  /* @__PURE__ */ d(v, { label: "名称", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.name, onChange: (l) => s({ name: l }) }) }),
91
94
  /* @__PURE__ */ d(v, { label: "字段", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.value, onChange: (l) => s({ value: l }) }) }),
92
95
  /* @__PURE__ */ d(v, { label: "颜色", children: /* @__PURE__ */ d(P, { value: t == null ? void 0 : t.color, onChange: (l) => s({ color: l }) }) })
@@ -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: [
@@ -144,13 +147,13 @@ function V(e) {
144
147
  }
145
148
  }
146
149
  ),
147
- !n && /* @__PURE__ */ d(T, {}),
150
+ !n && /* @__PURE__ */ d(q, {}),
148
151
  n && /* @__PURE__ */ d(
149
152
  M,
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,21 +1,24 @@
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-Bwm3aMXZ.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";
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
- const o = {
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 e = {
10
13
  // mapHoverColor: "rgba(16,43,128,0.9)",
11
14
  // mapSelectedColor: "rgba(16,43,128,1)",
12
15
  areaColor: "#183558",
13
16
  centerX: 0,
14
17
  centerY: 0,
15
18
  scale: 0
16
- }, m = r(
19
+ }, u = r(
17
20
  [
18
- /* @__PURE__ */ e("b", { style: { marginTop: 12 }, children: "基本配置" }, "data"),
21
+ /* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "基本配置" }, "data"),
19
22
  {
20
23
  key: "showLabel",
21
24
  label: "显示标签",
@@ -36,7 +39,7 @@ const o = {
36
39
  component: "colorPicker",
37
40
  options: {
38
41
  reset: !0,
39
- resetColor: o.areaColor
42
+ resetColor: e.areaColor
40
43
  }
41
44
  },
42
45
  {
@@ -79,7 +82,7 @@ const o = {
79
82
  reset: !0
80
83
  }
81
84
  },
82
- /* @__PURE__ */ e("b", { style: { marginTop: 12 }, children: "位移配置" }, "data"),
85
+ /* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "位移配置" }, "data"),
83
86
  {
84
87
  key: "centerX",
85
88
  label: "中心坐标 x",
@@ -108,9 +111,9 @@ const o = {
108
111
  }
109
112
  }
110
113
  ],
111
- o
114
+ e
112
115
  );
113
116
  export {
114
- o as DEFAULT_OPTIONS,
115
- m as default
117
+ e as DEFAULT_OPTIONS,
118
+ u as default
116
119
  };
@@ -1,11 +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-Bwm3aMXZ.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";
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";
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";
9
12
  const o = {
10
13
  // 基本配置
11
14
  progressColor: "#2949ca",
@@ -17,7 +20,7 @@ const o = {
17
20
  // 滚动配置
18
21
  autoScroll: !0,
19
22
  pxPerSecond: 12
20
- }, a = r(
23
+ }, C = r(
21
24
  [
22
25
  /* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
23
26
  {
@@ -92,5 +95,5 @@ const o = {
92
95
  );
93
96
  export {
94
97
  o as DEFAULT_OPTIONS,
95
- a as default
98
+ C as default
96
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,11 +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-Bwm3aMXZ.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";
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";
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";
9
12
  const l = {
10
13
  color_1: "black",
11
14
  value_1: "一段文字",
@@ -48,7 +51,7 @@ function t(e) {
48
51
  { key: "textAlign" + e, label: "水平对齐", component: "textAlignSelect" }
49
52
  ];
50
53
  }
51
- const g = n(
54
+ const u = n(
52
55
  [
53
56
  /* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "第一行配置" }, "line-1"),
54
57
  ...t("_1"),
@@ -59,5 +62,5 @@ const g = n(
59
62
  );
60
63
  export {
61
64
  l as DEFAULT_OPTIONS,
62
- g as default
65
+ u as default
63
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
+ };