@lingxiteam/lcdp-ueditor-react 1.0.3-alpha.15 → 1.0.3-alpha.16

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.
@@ -62,6 +62,12 @@ declare class LcdpUeditor extends React.Component<ILcdpUeditorProps, {}> {
62
62
  componentWillUnmount(): void;
63
63
  private onContentChange;
64
64
  private getExtString;
65
+ getStatusBarItem: (params: {
66
+ icon: React.ReactNode;
67
+ content: React.ReactNode;
68
+ onClick?: () => void;
69
+ extraNode?: React.ReactNode;
70
+ }) => JSX.Element;
65
71
  private initConfig;
66
72
  /**
67
73
  * 文件选择
@@ -81,12 +87,6 @@ declare class LcdpUeditor extends React.Component<ILcdpUeditorProps, {}> {
81
87
  * 初始化编辑器实例
82
88
  */
83
89
  initUeditor(): Promise<void>;
84
- getStatusBarItem: (params: {
85
- icon: React.ReactNode;
86
- content: React.ReactNode;
87
- onClick?: () => void;
88
- extraNode?: React.ReactNode;
89
- }) => JSX.Element;
90
90
  /**
91
91
  * 渲染状态栏
92
92
  */
package/es/LcdpUeditor.js CHANGED
@@ -405,14 +405,14 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
405
405
  return _initUeditor.apply(this, arguments);
406
406
  }
407
407
  return initUeditor;
408
- }())
409
- }, {
410
- key: "renderStatusBar",
411
- value:
408
+ }()
412
409
  /**
413
410
  * 渲染状态栏
414
411
  */
415
- function renderStatusBar() {
412
+ )
413
+ }, {
414
+ key: "renderStatusBar",
415
+ value: function renderStatusBar() {
416
416
  var _this$containerRef$cu, _this$props$bottomTyp;
417
417
  var bottomBarContainer = (_this$containerRef$cu = this.containerRef.current) === null || _this$containerRef$cu === void 0 ? void 0 : _this$containerRef$cu.querySelector('#edui1_bottombar');
418
418
  var comp = /*#__PURE__*/React.createElement(ToolBottomBar, {
@@ -62,6 +62,12 @@ declare class LcdpUeditor extends React.Component<ILcdpUeditorProps, {}> {
62
62
  componentWillUnmount(): void;
63
63
  private onContentChange;
64
64
  private getExtString;
65
+ getStatusBarItem: (params: {
66
+ icon: React.ReactNode;
67
+ content: React.ReactNode;
68
+ onClick?: () => void;
69
+ extraNode?: React.ReactNode;
70
+ }) => JSX.Element;
65
71
  private initConfig;
66
72
  /**
67
73
  * 文件选择
@@ -81,12 +87,6 @@ declare class LcdpUeditor extends React.Component<ILcdpUeditorProps, {}> {
81
87
  * 初始化编辑器实例
82
88
  */
83
89
  initUeditor(): Promise<void>;
84
- getStatusBarItem: (params: {
85
- icon: React.ReactNode;
86
- content: React.ReactNode;
87
- onClick?: () => void;
88
- extraNode?: React.ReactNode;
89
- }) => JSX.Element;
90
90
  /**
91
91
  * 渲染状态栏
92
92
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/lcdp-ueditor-react",
3
- "version": "1.0.3-alpha.15",
3
+ "version": "1.0.3-alpha.16",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -19,23 +19,19 @@
19
19
  "devDependencies": {
20
20
  "@types/lodash": "^4.14.180",
21
21
  "father": "^4.1.9",
22
- "@types/file-saver": "^2.0.5",
23
- "antd": "4.24.13",
24
- "jspdf": "^2.5.1",
25
- "file-saver": "^2.0.5",
26
- "html2canvas": "^1.4.1"
22
+ "@types/file-saver": "^2.0.5"
27
23
  },
28
24
  "peerDependencies": {
29
25
  "react": "^16.12.0 || ^17.0.0",
30
- "lodash": "^4.0.0",
31
- "antd": "4.24.13",
26
+ "lodash": "^4.0.0"
27
+ },
28
+ "dependencies": {
29
+ "@babel/runtime": "7.23.2",
32
30
  "jspdf": "^2.5.1",
33
31
  "file-saver": "^2.0.5",
32
+ "antd": "4.24.13",
34
33
  "html2canvas": "^1.4.1"
35
34
  },
36
- "dependencies": {
37
- "@babel/runtime": "7.23.2"
38
- },
39
35
  "publishConfig": {
40
36
  "access": "public",
41
37
  "registry": "https://registry.npmjs.org/"