react-big-screen 0.0.24 → 0.0.25
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-DRRt0HtT.mjs → attributes-B-HnT330.mjs} +1 -1
- package/es/{attributes-BNGJPVyh.mjs → attributes-BU4RteR4.mjs} +1 -1
- package/es/{attributes-DEejGpyc.mjs → attributes-BVf57pkp.mjs} +1 -1
- package/es/{attributes-CH9MBgiG.mjs → attributes-BbimeCWH.mjs} +1 -1
- package/es/{attributes-CUgbOLAh.mjs → attributes-BpbbmYhM.mjs} +1 -1
- package/es/{attributes-CJsbMpOn.mjs → attributes-CMthjycV.mjs} +1 -1
- package/es/{attributes-CfPeTY5D.mjs → attributes-CRXnxBzA.mjs} +2 -2
- package/es/{attributes-RjWkk9Ep.mjs → attributes-CT0FOCY5.mjs} +1 -1
- package/es/{attributes-DRoIzLZg.mjs → attributes-CtQvGbYt.mjs} +1 -1
- package/es/{attributes-2p9Zk1-n.mjs → attributes-DsE3dkzP.mjs} +1 -1
- package/es/{attributes-8wJNGwLE.mjs → attributes-Dz98d9lm.mjs} +1 -1
- package/es/{attributes-CdSoE5xJ.mjs → attributes-aebdh3-2.mjs} +1 -1
- package/es/{index-BaLteAvQ.mjs → index-BJWDg_cD.mjs} +2 -2
- package/es/{index-Df0DLqCw.mjs → index-BTio6V_c.mjs} +2 -2
- package/es/{index-B0NWyl8u.mjs → index-BlOuO44L.mjs} +2 -2
- package/es/{index-BeTrQloT.mjs → index-BoLXnAtC.mjs} +3 -3
- package/es/{index-CV1vqX8-.mjs → index-BuyncOQP.mjs} +2 -2
- package/es/{index-CQp7fz9I.mjs → index-By-60WbF.mjs} +2 -2
- package/es/{index-BjMdtwev.mjs → index-ByNVYAww.mjs} +2 -2
- package/es/{index-Dbkk-b9S.mjs → index-BydqrGsF.mjs} +92 -89
- package/es/{index-Bn3nDy5T.mjs → index-C1IN4HrE.mjs} +2 -2
- package/es/{index-Bh0co1x-.mjs → index-CCU-VzDv.mjs} +1 -1
- package/es/{index-ByVgagvo.mjs → index-CFg0WKFQ.mjs} +715 -704
- package/es/{index-DHZzVkTM.mjs → index-CIspZGHv.mjs} +2 -2
- package/es/{index-C9Wc2Kzs.mjs → index-COVxsHS9.mjs} +3 -3
- package/es/{index-DGJ8dCRu.mjs → index-CVCPzSmu.mjs} +2 -2
- package/es/{index-DHoxa3x_.mjs → index-CW1RuHQK.mjs} +3 -3
- package/es/{index-BOqgdslU.mjs → index-ChS976cJ.mjs} +2 -2
- package/es/{index-D9YQ4kEQ.mjs → index-D7TCGxYg.mjs} +2 -2
- package/es/{index-CnzZjrjU.mjs → index-D8iQUy0r.mjs} +2 -2
- package/es/{index-DiAdz_6L.mjs → index-DC_DhKaS.mjs} +3 -3
- package/es/{index-CR_TAWUR.mjs → index-DW5eZVLq.mjs} +2 -2
- package/es/{index-D66jJN7b.mjs → index-GzFjRCz_.mjs} +1 -1
- package/es/{index-4S2OXFT4.mjs → index-V6j7Zu7r.mjs} +2 -2
- package/es/{index-DUvmwvc8.mjs → index-gBfOXBIy.mjs} +2 -2
- package/es/{index-Bely-J50.mjs → index-oK1Pyk5T.mjs} +2 -2
- package/es/{index-COuWSAwb.mjs → index-qyKdx0SV.mjs} +2 -2
- package/es/{index-CS4fwJHw.mjs → index-sSfWkA8B.mjs} +2 -2
- package/es/index.mjs +1 -1
- package/es/{selectPage-BQ7Fdnqf.mjs → selectPage-BdrK7e7G.mjs} +1 -1
- package/es/{useCurrentPageId-6JCOgaZV.mjs → useCurrentPageId-CPdhqp51.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 c } from "react/jsx-runtime";
|
|
2
|
-
import { n as b } from "./index-
|
|
2
|
+
import { n as b } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useState as u, useMemo as x } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -11,7 +11,7 @@ import "driver.js/dist/driver.css";
|
|
|
11
11
|
import "lodash-es";
|
|
12
12
|
import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
13
13
|
import "ahooks";
|
|
14
|
-
import { R as h } from "./index-
|
|
14
|
+
import { R as h } from "./index-GzFjRCz_.mjs";
|
|
15
15
|
const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 250, a = [210, 200, 195, 200, 202, 195, 180], O = b((i) => {
|
|
16
16
|
const { width: n, height: s } = i, [e, l] = u(a), m = x(() => {
|
|
17
17
|
const o = e.map((t) => t * 100 / r);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { R as p } from "./index-
|
|
3
|
-
import { n as u } from "./index-
|
|
2
|
+
import { R as p } from "./index-GzFjRCz_.mjs";
|
|
3
|
+
import { n as u } from "./index-BydqrGsF.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import { useMemo as f } from "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js";
|
|
|
10
10
|
import "driver.js/dist/driver.css";
|
|
11
11
|
import "lodash-es";
|
|
12
12
|
import "ahooks";
|
|
13
|
-
import { DEFAULT_OPTIONS as g } from "./attributes-
|
|
13
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-DsE3dkzP.mjs";
|
|
14
14
|
function l(m = "name", o, n) {
|
|
15
15
|
return !(o != null && o.length) || !(n != null && n.length) ? {
|
|
16
16
|
source: []
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { n as i } from "./index-
|
|
2
|
+
import { n as i } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "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-B-HnT330.mjs";
|
|
13
13
|
import { DoubleRightOutlined as s } from "@ant-design/icons";
|
|
14
14
|
const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", a = {
|
|
15
15
|
specialCard: _,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { n as C } from "./index-
|
|
2
|
+
import { n as C } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,8 +9,8 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import { useRequest as v } from "ahooks";
|
|
12
|
-
import { R as S } from "./index-
|
|
13
|
-
import { DEFAULT_OPTIONS as g } from "./attributes-
|
|
12
|
+
import { R as S } from "./index-GzFjRCz_.mjs";
|
|
13
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-Dz98d9lm.mjs";
|
|
14
14
|
const n = "chinaOutline";
|
|
15
15
|
async function p() {
|
|
16
16
|
var t, o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { n as p } from "./index-
|
|
2
|
+
import { n as p } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "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 n } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-BbimeCWH.mjs";
|
|
13
13
|
const l = p((o) => {
|
|
14
14
|
const { options: t, width: r, height: i } = o;
|
|
15
15
|
return /* @__PURE__ */ m("div", { style: { width: r, height: i, background: t.background } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { R as e } from "./index-
|
|
3
|
-
import { n as r } from "./index-
|
|
2
|
+
import { R as e } from "./index-GzFjRCz_.mjs";
|
|
3
|
+
import { n as r } from "./index-BydqrGsF.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var R = Object.defineProperty;
|
|
2
2
|
var T = (e, n, t) => n in e ? R(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var b = (e, n, t) => T(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { b as O, u as k, I as x, R as F } from "./index-
|
|
4
|
+
import { b as O, u as k, I as x, R as F } from "./index-BydqrGsF.mjs";
|
|
5
5
|
import "localforage";
|
|
6
6
|
import N, { useEffect as y, useMemo as M, useRef as w, useState as _, useCallback as z } from "react";
|
|
7
7
|
import "react-dom";
|
|
@@ -15,7 +15,7 @@ import "ahooks";
|
|
|
15
15
|
import Z from "umi-request";
|
|
16
16
|
import { u as j } from "./useListenRef-B01dENv0.mjs";
|
|
17
17
|
import { u as Q } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
18
|
-
import { u as V } from "./useCurrentPageId-
|
|
18
|
+
import { u as V } from "./useCurrentPageId-CPdhqp51.mjs";
|
|
19
19
|
import I from "hotkeys-js";
|
|
20
20
|
import "dayjs";
|
|
21
21
|
function X(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as h, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import { n as u } from "./index-
|
|
2
|
+
import { n as u } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useMemo as v } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,8 +9,8 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { u as f, s as I } from "./selectPage-
|
|
13
|
-
import { u as L } from "./useCurrentPageId-
|
|
12
|
+
import { u as f, s as I } from "./selectPage-BdrK7e7G.mjs";
|
|
13
|
+
import { u as L } from "./useCurrentPageId-CPdhqp51.mjs";
|
|
14
14
|
import S from "classnames";
|
|
15
15
|
import "hotkeys-js";
|
|
16
16
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { n as d } from "./index-
|
|
2
|
+
import { n as d } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "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 p } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-BU4RteR4.mjs";
|
|
13
13
|
import { A as _ } from "./index-D5seKG8I.mjs";
|
|
14
14
|
import { CalendarOutlined as f } from "@ant-design/icons";
|
|
15
15
|
const m = "_scrollList_ni091_59", L = "_scrollList_line_ni091_62", s = {
|
|
@@ -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-BydqrGsF.mjs";
|
|
10
10
|
import "react-dom/client";
|
|
11
11
|
import { u as q } from "./useResizeDom-B6mM4jrh.mjs";
|
|
12
12
|
f.use([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { R as r } from "./index-
|
|
3
|
-
import { n as a } from "./index-
|
|
2
|
+
import { R as r } from "./index-GzFjRCz_.mjs";
|
|
3
|
+
import { n as a } from "./index-BydqrGsF.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import g, { useState as w, useMemo as m, useEffect as y, useRef as l, Suspense as C } from "react";
|
|
3
|
-
import { u as R } from "./index-
|
|
3
|
+
import { u as R } from "./index-BydqrGsF.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "react-dom/client";
|
|
@@ -8,7 +8,7 @@ import "antd";
|
|
|
8
8
|
import "driver.js";
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
|
-
import { d as S, e as v, f as x, h as N, u as H, l as q, c as B, b as P, P as _ } from "./index-
|
|
11
|
+
import { d as S, e as v, f as x, h as N, u as H, l as q, c as B, b as P, P as _ } from "./index-D8iQUy0r.mjs";
|
|
12
12
|
import "ahooks";
|
|
13
13
|
import $ from "classnames";
|
|
14
14
|
import { u as b } from "./useResizeDom-B6mM4jrh.mjs";
|
|
@@ -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-GzFjRCz_.mjs";
|
|
3
|
+
import { n as e } from "./index-BydqrGsF.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { n as l } from "./index-
|
|
2
|
+
import { n as l } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useRef as c, useEffect as a } 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 p } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-CMthjycV.mjs";
|
|
13
13
|
import u from "dayjs";
|
|
14
14
|
const T = l((m) => {
|
|
15
15
|
const { width: i, height: o, options: r } = m, t = c(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { n as h } from "./index-
|
|
2
|
+
import { n as h } from "./index-BydqrGsF.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useState as p, useMemo as L, useEffect as x } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js";
|
|
|
10
10
|
import "driver.js/dist/driver.css";
|
|
11
11
|
import { cloneDeep as v } from "lodash-es";
|
|
12
12
|
import "ahooks";
|
|
13
|
-
import { DEFAULT_OPTIONS as I } from "./attributes-
|
|
13
|
+
import { DEFAULT_OPTIONS as I } from "./attributes-CT0FOCY5.mjs";
|
|
14
14
|
import { A as M } from "./index-D5seKG8I.mjs";
|
|
15
15
|
import { DoubleRightOutlined as z } from "@ant-design/icons";
|
|
16
16
|
const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_progressList_line_header_xy0sd_69", c = {
|
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;
|