bi-sdk-react 0.0.45 → 0.0.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bi-sdk-react",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/umd/js/bi-sdk.umd.min.js",
@@ -12,21 +12,8 @@ import {
12
12
  ZoomInOutlined,
13
13
  ZoomOutOutlined,
14
14
  } from "@ant-design/icons";
15
- import {
16
- Button,
17
- Divider,
18
- Drawer,
19
- Modal,
20
- Radio,
21
- Space,
22
- Tooltip
23
- } from "antd";
24
- import React, {
25
- useImperativeHandle,
26
- useMemo,
27
- useRef,
28
- useState
29
- } from "react";
15
+ import { Button, Divider, Drawer, Modal, Radio, Space, Tooltip } from "antd";
16
+ import React, { useImperativeHandle, useMemo, useRef, useState } from "react";
30
17
  import styled from "styled-components";
31
18
  import { IconFont } from "./icon/IconFont";
32
19
  import { PageCanvas } from "./layout/PageCanvas";
@@ -708,7 +695,10 @@ export const PageDesigner = React.forwardRef<any, PageDesignerProps>(
708
695
  }
709
696
  />
710
697
  <div
711
- className={["body beautified_scrollbar always", deviceType].join(" ")}
698
+ className={[
699
+ "body beautified_scrollbar always",
700
+ deviceType,
701
+ ].join(" ")}
712
702
  >
713
703
  <div
714
704
  style={{
@@ -716,10 +706,7 @@ export const PageDesigner = React.forwardRef<any, PageDesignerProps>(
716
706
  transformOrigin: "top center",
717
707
  }}
718
708
  >
719
- <PageCanvas
720
- ref={pageCanvasRef}
721
- device={deviceType}
722
- />
709
+ <PageCanvas ref={pageCanvasRef} device={deviceType} />
723
710
  </div>
724
711
  </div>
725
712
  </div>