react-big-screen 0.0.14 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{IInputNumber-Vk6zq2bP.mjs → IInputNumber-PnHJNf9H.mjs} +1 -1
- package/es/{Line-DVDoMjnT.mjs → Line-CLgwvraj.mjs} +2 -2
- package/es/{attributes-C9O8_sg4.mjs → attributes-B2zdUkEM.mjs} +6 -5
- package/es/{attributes-CWY2_iW1.mjs → attributes-BoihG0Pf.mjs} +13 -12
- package/es/{attributes-C3fvsuzJ.mjs → attributes-CCphg5Uz.mjs} +6 -5
- package/es/{attributes-D6BpnolK.mjs → attributes-CGZYjvqh.mjs} +12 -12
- package/es/{attributes-CW_9BAq2.mjs → attributes-CReX9tBs.mjs} +7 -6
- package/es/{attributes-DUZPLASc.mjs → attributes-Cp6DmzH2.mjs} +6 -5
- package/es/{attributes-Dhnyf9QU.mjs → attributes-D0U-wvwb.mjs} +9 -8
- package/es/{attributes-BmekoT3X.mjs → attributes-DDwE7z2U.mjs} +6 -5
- package/es/{attributes-BPU7D3rB.mjs → attributes-DFoyvXIt.mjs} +6 -5
- package/es/{attributes-Btb0WFLF.mjs → attributes-DiQPq5cp.mjs} +6 -5
- package/es/{attributes-D4wypprY.mjs → attributes-GO1j5FqP.mjs} +6 -5
- package/es/{attributes-BQYKMvcj.mjs → attributes-IldrBXRw.mjs} +6 -5
- package/es/{index-Bi3qRAX3.mjs → index-3f6NpN6Q.mjs} +7 -6
- package/es/{index-0kmSz75m.mjs → index-3yjjqo9a.mjs} +14 -13
- package/es/{index-DYMjU1YC.mjs → index-7SrSU63A.mjs} +23 -22
- package/es/{index-D-3DbMMl.mjs → index-94huGSfW.mjs} +8 -7
- package/es/{index-CK1f83Ne.mjs → index-BCzhbh3u.mjs} +28 -27
- package/es/{index-pjNmKgyo.mjs → index-BOLcaCeQ.mjs} +5 -5
- package/es/{index-DWpwc6bV.mjs → index-BaY0buPw.mjs} +8 -7
- package/es/{index-Cj_g4N5m.mjs → index-BfVztt-6.mjs} +7 -6
- package/es/{index-BZYcTX5j.mjs → index-BqPf_Hxm.mjs} +38 -38
- package/es/{index-CwijThLu.mjs → index-C2gXj9yh.mjs} +3 -3
- package/es/{index-Cslh09K5.mjs → index-CEejLCq7.mjs} +7 -6
- package/es/{index-CwGNi732.mjs → index-CNgtHfNT.mjs} +12 -11
- package/es/{index-LSiyLbzB.mjs → index-COdMO6-N.mjs} +8 -7
- package/es/{index-s23NvDdl.mjs → index-CSzeRH1c.mjs} +4 -4
- package/es/{index-Dx-GVWd-.mjs → index-D1jy9Oi_.mjs} +6 -6
- package/es/{index-Cq0uVP0H.mjs → index-D1ux0Voe.mjs} +1 -1
- package/es/{index-DThqOiX3.mjs → index-D3O-30zC.mjs} +7 -6
- package/es/{index-yEom7dpa.mjs → index-D44zLboN.mjs} +7 -6
- package/es/{index-LjyKMBIL.mjs → index-DJy3VCmO.mjs} +8 -7
- package/es/{index-B2DgN7Ho.mjs → index-DbwrHA2p.mjs} +12 -11
- package/es/{index-efgz51Ht.mjs → index-DcqPY0qy.mjs} +12 -12
- package/es/{index-CTx-cvWk.mjs → index-DdNS18i9.mjs} +12 -12
- package/es/{index-DpRRQVh-.mjs → index-I1LC9rW6.mjs} +120 -120
- package/es/{index-BlACjoGr.mjs → index-Id1jg1qj.mjs} +7 -6
- package/es/{index-DSz8a2B7.mjs → index-VRwDBwp0.mjs} +10 -9
- package/es/{index-C6Xzniz1.mjs → index-X3IxUabI.mjs} +7 -6
- package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
- package/es/{index-Cz49jHht.mjs → index-jD_EEzQJ.mjs} +17 -16
- package/es/index.mjs +7 -6
- package/es/{selectPage-bS9p5soG.mjs → selectPage-DGZoj14b.mjs} +2 -2
- package/es/{useCurrentPageId-Cc4bRYxO.mjs → useCurrentPageId-CuYS8NBR.mjs} +6 -5
- package/es/useEffectOnce-l5sUTCBG.mjs +7 -0
- package/es/useListenRef-B01dENv0.mjs +8 -0
- package/es/{useResizeDom-BUgMcz6M.mjs → useResizeDom-B6mM4jrh.mjs} +2 -2
- package/package.json +1 -1
- package/types/src/export/components/RenderEditor/index.d.ts +2 -2
- package/types/src/export/index.d.ts +2 -2
- package/types/src/pages/components/Header/index.d.ts +1 -1
- package/es/useEffectOnce-Ct0JMBZd.mjs +0 -7
- package/es/useListenRef-Dqm6KZRj.mjs +0 -8
|
@@ -1,13 +1,14 @@
|
|
|
1
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-
|
|
3
|
-
import { n as r } from "./index-
|
|
2
|
+
import { R as m } from "./index-C2gXj9yh.mjs";
|
|
3
|
+
import { n as r } from "./index-BqPf_Hxm.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
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";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
const
|
|
11
|
+
const f = r((t) => {
|
|
11
12
|
const { width: a, height: e } = t;
|
|
12
13
|
return /* @__PURE__ */ o(
|
|
13
14
|
m,
|
|
@@ -44,5 +45,5 @@ const g = r((t) => {
|
|
|
44
45
|
);
|
|
45
46
|
});
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
f as default
|
|
48
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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";
|
|
2
|
-
import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "
|
|
2
|
+
import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "react";
|
|
3
3
|
import y from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
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,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
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-
|
|
3
|
-
import { n as x } from "./index-
|
|
2
|
+
import { R as h } from "./index-C2gXj9yh.mjs";
|
|
3
|
+
import { n as x } from "./index-BqPf_Hxm.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
|
-
import { useRef as g, useMemo as I } from "
|
|
6
|
-
import "
|
|
5
|
+
import { useRef as g, useMemo as I } from "react";
|
|
6
|
+
import "react-dom";
|
|
7
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";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
10
|
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 y } from "./useEffectOnce-
|
|
11
|
-
import { DEFAULT_OPTIONS as b } from "./attributes-
|
|
12
|
-
const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz项目"], i = [1048, 735, 580, 484, 300],
|
|
13
|
-
const { width: u, height: d, options: t } = m,
|
|
11
|
+
import { u as y } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
12
|
+
import { DEFAULT_OPTIONS as b } from "./attributes-IldrBXRw.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(() => {
|
|
14
15
|
const e = S.map((r, l) => ({
|
|
15
16
|
name: r,
|
|
16
17
|
value: i[l]
|
|
@@ -66,18 +67,18 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
66
67
|
};
|
|
67
68
|
}, [t == null ? void 0 : t.titleColor, t == null ? void 0 : t.subtextColor]);
|
|
68
69
|
return y(() => {
|
|
69
|
-
let e = null,
|
|
70
|
+
let e = null, o = 0;
|
|
70
71
|
function r() {
|
|
71
|
-
var s,
|
|
72
|
-
e !== null && ((s =
|
|
72
|
+
var s, a, c;
|
|
73
|
+
e !== null && ((s = n.current) == null || s.dispatchAction({
|
|
73
74
|
type: "downplay",
|
|
74
75
|
seriesIndex: 0,
|
|
75
76
|
dataIndex: e
|
|
76
|
-
})), (c = (
|
|
77
|
+
})), (c = (a = n.current) == null ? void 0 : a.dispatchAction) == null || c.call(a, {
|
|
77
78
|
type: "highlight",
|
|
78
79
|
seriesIndex: 0,
|
|
79
|
-
dataIndex: e =
|
|
80
|
-
}),
|
|
80
|
+
dataIndex: e = o
|
|
81
|
+
}), o = ++o >= i.length ? 0 : o;
|
|
81
82
|
}
|
|
82
83
|
r();
|
|
83
84
|
let l = setInterval(r, 2e3);
|
|
@@ -87,7 +88,7 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
87
88
|
}), /* @__PURE__ */ p(
|
|
88
89
|
h,
|
|
89
90
|
{
|
|
90
|
-
onGetInstance: (e) =>
|
|
91
|
+
onGetInstance: (e) => n.current = e,
|
|
91
92
|
options: f,
|
|
92
93
|
style: {
|
|
93
94
|
width: u,
|
|
@@ -97,5 +98,5 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
97
98
|
);
|
|
98
99
|
}, b);
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
W as default
|
|
101
102
|
};
|
package/es/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
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
|
|
2
|
+
import { q as m, R as e, p as E, s as f } from "./index-BqPf_Hxm.mjs";
|
|
3
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";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "antd";
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
m as EXAMPLE,
|
|
8
9
|
e as RbsEngine,
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
E as defaultPackage,
|
|
11
|
+
f as startDriver
|
|
11
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useState as g, useEffect as r } from "
|
|
2
|
-
import { u as i, R as a } from "./index-
|
|
1
|
+
import { useState as g, useEffect as r } from "react";
|
|
2
|
+
import { u as i, R as a } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
function f() {
|
|
4
4
|
const [n, e] = g([]), { engine: t } = i();
|
|
5
5
|
return r(() => {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { b as i, D as m } from "./index-
|
|
1
|
+
import { b as i, D as m } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
-
function
|
|
10
|
+
function l() {
|
|
10
11
|
return i((r) => {
|
|
11
12
|
var o;
|
|
12
13
|
return ((o = r == null ? void 0 : r.config) == null ? void 0 : o.currentPageId) || m.id;
|
|
13
14
|
});
|
|
14
15
|
}
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
l as u
|
|
17
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useEffect as i } from "
|
|
2
|
-
import { u as m } from "./useListenRef-
|
|
1
|
+
import { useEffect as i } from "react";
|
|
2
|
+
import { u as m } from "./useListenRef-B01dENv0.mjs";
|
|
3
3
|
function p(r, n) {
|
|
4
4
|
const e = m(n);
|
|
5
5
|
i(() => {
|
package/package.json
CHANGED
|
@@ -4,9 +4,9 @@ interface Props {
|
|
|
4
4
|
json?: JsonType;
|
|
5
5
|
engine: Engine;
|
|
6
6
|
/** 页面底部 */
|
|
7
|
-
pageFooter?: React.
|
|
7
|
+
pageFooter?: React.FC;
|
|
8
8
|
/** 页面logo */
|
|
9
|
-
pageLogo?: React.
|
|
9
|
+
pageLogo?: React.FC;
|
|
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.
|
|
16
|
+
pageFooter?: React.FC;
|
|
17
17
|
/** 页面logo */
|
|
18
|
-
pageLogo?: React.
|
|
18
|
+
pageLogo?: React.FC;
|
|
19
19
|
}
|
|
20
20
|
export declare class RbsEngine {
|
|
21
21
|
/** react createApp */
|