react-big-screen 0.0.24 → 0.0.26
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/{attributes-DRoIzLZg.mjs → attributes-BEr36PPS.mjs} +1 -1
- package/es/{attributes-CH9MBgiG.mjs → attributes-BorgmEuq.mjs} +1 -1
- package/es/{attributes-CfPeTY5D.mjs → attributes-BqpzJUpw.mjs} +2 -2
- package/es/{attributes-RjWkk9Ep.mjs → attributes-C1A9908m.mjs} +1 -1
- package/es/{attributes-2p9Zk1-n.mjs → attributes-CF-lP4Tl.mjs} +1 -1
- package/es/{attributes-DEejGpyc.mjs → attributes-CLFZcWAB.mjs} +1 -1
- package/es/{attributes-CdSoE5xJ.mjs → attributes-DUaK076s.mjs} +1 -1
- package/es/{attributes-8wJNGwLE.mjs → attributes-DZOgwszX.mjs} +1 -1
- package/es/{attributes-BNGJPVyh.mjs → attributes-Dfr3b13g.mjs} +1 -1
- package/es/{attributes-CUgbOLAh.mjs → attributes-SrukxCct.mjs} +1 -1
- package/es/{attributes-CJsbMpOn.mjs → attributes-pYXM3BGl.mjs} +1 -1
- package/es/{attributes-DRRt0HtT.mjs → attributes-zB7QAb6A.mjs} +1 -1
- package/es/{index-D9YQ4kEQ.mjs → index-B6qPIrOx.mjs} +2 -2
- package/es/{index-CR_TAWUR.mjs → index-BKv9EAtX.mjs} +2 -2
- package/es/{index-DGJ8dCRu.mjs → index-BTEqUeDS.mjs} +2 -2
- package/es/{index-C9Wc2Kzs.mjs → index-BmzrDQHQ.mjs} +3 -3
- package/es/{index-CS4fwJHw.mjs → index-BocA4dcF.mjs} +2 -2
- package/es/{index-BOqgdslU.mjs → index-Bs2yu7J6.mjs} +2 -2
- package/es/{index-Bh0co1x-.mjs → index-BvJ4xx2h.mjs} +1 -1
- package/es/{index-4S2OXFT4.mjs → index-C2aQoFOi.mjs} +2 -2
- package/es/{index-BeTrQloT.mjs → index-CIs39Kyq.mjs} +3 -3
- package/es/{index-DUvmwvc8.mjs → index-CX8Y7AOe.mjs} +2 -2
- package/es/{index-Dbkk-b9S.mjs → index-Cr2RXjtr.mjs} +92 -89
- package/es/{index-COuWSAwb.mjs → index-CraAaVS_.mjs} +2 -2
- package/es/{index-DiAdz_6L.mjs → index-CtKpbpyM.mjs} +3 -3
- package/es/{index-Df0DLqCw.mjs → index-D8v1cc5M.mjs} +2 -2
- package/es/{index-BjMdtwev.mjs → index-DHdde3-c.mjs} +2 -2
- package/es/{index-CnzZjrjU.mjs → index-DM0HOT8p.mjs} +2 -2
- package/es/{index-CQp7fz9I.mjs → index-DeSSSWVT.mjs} +2 -2
- package/es/{index-DHZzVkTM.mjs → index-Dk3V3zbH.mjs} +2 -2
- package/es/{index-DHoxa3x_.mjs → index-DmEGqsGs.mjs} +3 -3
- package/es/{index-CV1vqX8-.mjs → index-Dp3cAb00.mjs} +2 -2
- package/es/{index-Bn3nDy5T.mjs → index-Qui7yLq3.mjs} +2 -2
- package/es/{index-ByVgagvo.mjs → index-YvM6Nke0.mjs} +1185 -1174
- package/es/{index-BaLteAvQ.mjs → index-_zn5qv_O.mjs} +2 -2
- package/es/{index-Bely-J50.mjs → index-hkMT846_.mjs} +2 -2
- package/es/{index-D66jJN7b.mjs → index-ycFZ60KR.mjs} +1 -1
- package/es/{index-B0NWyl8u.mjs → index-zozSTDVn.mjs} +2 -2
- package/es/index.mjs +1 -1
- package/es/{selectPage-BQ7Fdnqf.mjs → selectPage-1ojYk6EF.mjs} +1 -1
- package/es/{useCurrentPageId-6JCOgaZV.mjs → useCurrentPageId-DG0SfHzH.mjs} +1 -1
- package/package.json +1 -1
- package/types/src/export/index.d.ts +2 -2
- package/types/src/pages/components/Header/index.d.ts +9 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, Fragment as a } from "react/jsx-runtime";
|
|
2
|
-
import { n } from "./index-
|
|
2
|
+
import { n } from "./index-Cr2RXjtr.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import m from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as c } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as c } from "./attributes-BqpzJUpw.mjs";
|
|
13
13
|
const b = /* @__PURE__ */ Object.assign({ "./assets/base-1.png": () => import("./base-1-Bxyjxg2p.mjs"), "./assets/base-2.png": () => import("./base-2-DwwJwZna.mjs"), "./assets/base-3.png": () => import("./base-3-Cgpni-Ls.mjs"), "./assets/base-4.png": () => import("./base-4-B347HMAK.mjs"), "./assets/bg-theme-1.jpeg": () => import("./bg-theme-1-C6_IGFfb.mjs"), "./assets/bg-theme-2.jpg": () => import("./bg-theme-2-CUzHZf9k.mjs"), "./assets/bg-theme-3.jpg": () => import("./bg-theme-3-D8JmxCmu.mjs"), "./assets/bg-theme-4.jpg": () => import("./bg-theme-4-DSDHPL-t.mjs"), "./assets/bg-theme-5.jpg": () => import("./bg-theme-5-CSy6VFVO.mjs"), "./assets/bg-theme-6.jpg": () => import("./bg-theme-6-rNDMxpbu.mjs"), "./assets/bg-theme-7.jpg": () => import("./bg-theme-7-X9aTr92s.mjs"), "./assets/clock.png": () => import("./clock-DnKpmpR_.mjs"), "./assets/com-bg-1.png": () => import("./com-bg-1-CziqISRC.mjs"), "./assets/com-bg-2.png": () => import("./com-bg-2-CJpBMT0l.mjs"), "./assets/com-bg-3.png": () => import("./com-bg-3--MVO0Zy-.mjs"), "./assets/com-bg-4.png": () => import("./com-bg-4-CtztvOjH.mjs"), "./assets/com-bg-5.png": () => import("./com-bg-5-Dn0jCJgl.mjs"), "./assets/com-bg-6.png": () => import("./com-bg-6-DerMFR5l.mjs"), "./assets/title-1.png": () => import("./title-1-d6ywbVeM.mjs"), "./assets/title-2.png": () => import("./title-2-D71Ygwgt.mjs"), "./assets/title-3.png": () => import("./title-3-X8ry0PXo.mjs"), "./assets/title-4.png": () => import("./title-4-HL43GPvP.mjs") });
|
|
14
14
|
async function h(e) {
|
|
15
15
|
if (e)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { R as p } from "./index-
|
|
3
|
-
import { n as e } from "./index-
|
|
2
|
+
import { R as p } from "./index-ycFZ60KR.mjs";
|
|
3
|
+
import { n as e } from "./index-Cr2RXjtr.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -6,7 +6,7 @@ import { TitleComponent as O, TooltipComponent as j, ToolboxComponent as w, Visu
|
|
|
6
6
|
import { LabelLayout as F, UniversalTransition as P } from "echarts/features";
|
|
7
7
|
import { CanvasRenderer as S } from "echarts/renderers";
|
|
8
8
|
import { useUpdateEffect as V } from "ahooks";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-Cr2RXjtr.mjs";
|
|
10
10
|
import "react-dom/client";
|
|
11
11
|
import { u as q } from "./useResizeDom-B6mM4jrh.mjs";
|
|
12
12
|
f.use([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { n as h } from "./index-
|
|
2
|
+
import { n as h } from "./index-Cr2RXjtr.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useState as f, useMemo as g } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js/dist/driver.css";
|
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
12
12
|
import "ahooks";
|
|
13
|
-
import { R as y } from "./index-
|
|
13
|
+
import { R as y } from "./index-ycFZ60KR.mjs";
|
|
14
14
|
const n = [
|
|
15
15
|
"rgb(28, 172, 255)",
|
|
16
16
|
"rgb(69, 201, 235)",
|
package/es/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -5,14 +5,14 @@ export type * from '../engine/types';
|
|
|
5
5
|
export * from './resources';
|
|
6
6
|
export { startDriver } from '../utils';
|
|
7
7
|
export { defaultPackage } from '../engine';
|
|
8
|
-
export
|
|
8
|
+
export type RbsEngineOptions = Pick<RbsEditorProps, "pageLogo" | "pageToolBar" | "pageFooter" | "toolBarOptions"> & {
|
|
9
9
|
/** 挂载 dom */
|
|
10
10
|
dom?: HTMLElement;
|
|
11
11
|
/** 激活全局(但实例请确保为true,此选项为多实例优化时使用) */
|
|
12
12
|
activeGlobal?: boolean;
|
|
13
13
|
/** 开始预览 hook */
|
|
14
14
|
onStartPreview?: (engine: Engine) => void;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
export declare class RbsEngine {
|
|
17
17
|
/** react createApp */
|
|
18
18
|
private app;
|
|
@@ -9,5 +9,14 @@ export interface RbsEditorHeaderProps {
|
|
|
9
9
|
/** "开始预览" 按钮的 id(用于步骤引导) */
|
|
10
10
|
previewDriverId: string;
|
|
11
11
|
}> | React.ReactNode;
|
|
12
|
+
/** toolbar配置 */
|
|
13
|
+
toolBarOptions?: {
|
|
14
|
+
/** 显示语言按钮 */
|
|
15
|
+
showLanguage?: boolean;
|
|
16
|
+
/** 显示保存按钮 */
|
|
17
|
+
showSave?: boolean;
|
|
18
|
+
/** 显示预览按钮 */
|
|
19
|
+
showPreview?: boolean;
|
|
20
|
+
};
|
|
12
21
|
}
|
|
13
22
|
export default function Header(props: RbsEditorHeaderProps): import("react/jsx-runtime").JSX.Element;
|