@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.7 → 1.0.0-alpha.9

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.
@@ -37,6 +37,10 @@ declare class LcdpUeditor extends React.Component<ILcdpUeditorProps, {}> {
37
37
  * 上传文件函数
38
38
  */
39
39
  private uploadFunction;
40
+ /**
41
+ * 是否加载完成
42
+ */
43
+ private isReady;
40
44
  /**
41
45
  * 初始加载失败
42
46
  */
package/es/LcdpUeditor.js CHANGED
@@ -65,6 +65,10 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
65
65
  * 上传文件函数
66
66
  */
67
67
  _defineProperty(_assertThisInitialized(_this), "uploadFunction", void 0);
68
+ /**
69
+ * 是否加载完成
70
+ */
71
+ _defineProperty(_assertThisInitialized(_this), "isReady", false);
68
72
  /**
69
73
  * 初始加载失败
70
74
  */
@@ -111,7 +115,7 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
111
115
  _this.fileSelect(cb, type);
112
116
  },
113
117
  uploadFunction: _this.uploadFunction,
114
- initialContent: _this.props.value
118
+ initialContent: _this.props.value || ''
115
119
  });
116
120
  _this.debounceContentChange = debounce(_this.onContentChange.bind(_assertThisInitialized(_this)), 300);
117
121
  return _this;
@@ -124,18 +128,18 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
124
128
  }, {
125
129
  key: "componentWillReceiveProps",
126
130
  value: function componentWillReceiveProps(nextProps) {
127
- if ('value' in nextProps && this.currentContent !== nextProps.value) {
128
- this.isReportFlag = false;
129
- if (this.ueditorInst) {
131
+ if (this.isReady) {
132
+ if ('value' in nextProps && this.currentContent !== nextProps.value) {
133
+ this.isReportFlag = false;
130
134
  this.ueditorInst.setContent(nextProps.value);
131
135
  }
132
- }
133
- // 禁用操作需要调用指定的api进行操作
134
- if (nextProps.disabled !== this.props.disabled && this.ueditorInst) {
135
- if (nextProps.disabled) {
136
- this.ueditorInst.setDisabled();
137
- } else {
138
- this.ueditorInst.setEnabled();
136
+ // 禁用操作需要调用指定的api进行操作
137
+ if (nextProps.disabled !== this.props.disabled) {
138
+ if (nextProps.disabled) {
139
+ this.ueditorInst.setDisabled();
140
+ } else {
141
+ this.ueditorInst.setEnabled();
142
+ }
139
143
  }
140
144
  }
141
145
  }
@@ -295,6 +299,13 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
295
299
  UeditorResourceLoader.onReady(function () {
296
300
  _this3.ueditorInst = window.UE.getEditor(_this3.containerId, _this3.editorConfig);
297
301
  _this3.ueditorInst.ready(function () {
302
+ _this3.isReady = true;
303
+ // 禁用状态设置
304
+ if (_this3.props.disabled) {
305
+ _this3.ueditorInst.setDisabled();
306
+ } else {
307
+ _this3.ueditorInst.setEnabled();
308
+ }
298
309
  _this3.ueditorInst.addListener('contentChange', function () {
299
310
  _this3.debounceContentChange();
300
311
  });
@@ -37,6 +37,10 @@ declare class LcdpUeditor extends React.Component<ILcdpUeditorProps, {}> {
37
37
  * 上传文件函数
38
38
  */
39
39
  private uploadFunction;
40
+ /**
41
+ * 是否加载完成
42
+ */
43
+ private isReady;
40
44
  /**
41
45
  * 初始加载失败
42
46
  */
@@ -64,6 +64,10 @@ var LcdpUeditor = class extends import_react.default.Component {
64
64
  * 当前值
65
65
  */
66
66
  this.currentContent = "";
67
+ /**
68
+ * 是否加载完成
69
+ */
70
+ this.isReady = false;
67
71
  /**
68
72
  * 初始加载失败
69
73
  */
@@ -107,7 +111,7 @@ var LcdpUeditor = class extends import_react.default.Component {
107
111
  this.fileSelect(cb, type);
108
112
  },
109
113
  uploadFunction: this.uploadFunction,
110
- initialContent: this.props.value
114
+ initialContent: this.props.value || ""
111
115
  };
112
116
  this.debounceContentChange = (0, import_lodash.debounce)(this.onContentChange.bind(this), 300);
113
117
  }
@@ -115,17 +119,17 @@ var LcdpUeditor = class extends import_react.default.Component {
115
119
  this.initUeditor();
116
120
  }
117
121
  componentWillReceiveProps(nextProps) {
118
- if ("value" in nextProps && this.currentContent !== nextProps.value) {
119
- this.isReportFlag = false;
120
- if (this.ueditorInst) {
122
+ if (this.isReady) {
123
+ if ("value" in nextProps && this.currentContent !== nextProps.value) {
124
+ this.isReportFlag = false;
121
125
  this.ueditorInst.setContent(nextProps.value);
122
126
  }
123
- }
124
- if (nextProps.disabled !== this.props.disabled && this.ueditorInst) {
125
- if (nextProps.disabled) {
126
- this.ueditorInst.setDisabled();
127
- } else {
128
- this.ueditorInst.setEnabled();
127
+ if (nextProps.disabled !== this.props.disabled) {
128
+ if (nextProps.disabled) {
129
+ this.ueditorInst.setDisabled();
130
+ } else {
131
+ this.ueditorInst.setEnabled();
132
+ }
129
133
  }
130
134
  }
131
135
  }
@@ -218,6 +222,12 @@ var LcdpUeditor = class extends import_react.default.Component {
218
222
  import_UeditorResourceLoader.default.onReady(() => {
219
223
  this.ueditorInst = window.UE.getEditor(this.containerId, this.editorConfig);
220
224
  this.ueditorInst.ready(() => {
225
+ this.isReady = true;
226
+ if (this.props.disabled) {
227
+ this.ueditorInst.setDisabled();
228
+ } else {
229
+ this.ueditorInst.setEnabled();
230
+ }
221
231
  this.ueditorInst.addListener("contentChange", () => {
222
232
  this.debounceContentChange();
223
233
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/lcdp-ueditor-react",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "module": "es/index.js",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",
@@ -277,7 +277,7 @@
277
277
  const location = window.parent.location;
278
278
  const host = location.protocol + '//' + location.host + location.pathname;
279
279
  if (url) {
280
- preview.innerHTML = '<img src="' + host + url + '" width="' + width + '" height="' + height + '" border="' + border + 'px solid #000" title="' + title + '" />';
280
+ preview.innerHTML = '<img src="' + encodeURI(host + url) + '" width="' + width + '" height="' + height + '" border="' + border + 'px solid #000" title="' + title + '" />';
281
281
  }
282
282
  },
283
283
  getInsertList: function () {
@@ -24,7 +24,7 @@
24
24
  }
25
25
  </style>
26
26
  <script type="text/javascript" src="../internal.js?32939b8e"></script>
27
- <script src="../../ueditor.parse.js?8ec8e2ae"></script>
27
+ <script src="../../ueditor.parse.js?{timestamp}"></script>
28
28
  <title></title>
29
29
  </head>
30
30
  <body class="view">
@@ -307,7 +307,7 @@
307
307
 
308
308
  $G("preview").innerHTML = '<div class="previewMsg"><span>' + lang.urlError + '</span></div>' +
309
309
  '<iframe class="previewVideo" ' +
310
- ' src="' + host + conUrl + '"' +
310
+ ' src="' + encodeURI(host + conUrl) + '"' +
311
311
  ' width="' + 420 + '"' +
312
312
  ' height="' + 280 + '"' +
313
313
  ' frameborder=0 allowfullscreen>' +
@@ -1,146 +1,146 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title>UEditorPlus 完整演示</title>
5
- <meta name="viewport" content="width=device-width, minimum-scale=0.5, maximum-scale=5, user-scalable=no">
6
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
8
- <script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script>
9
- <script type="text/javascript" charset="utf-8" src="ueditor.all.js"></script>
10
- <script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js?8c5d8442"></script>
11
- <script src="./plugins/demo/demo.js"></script>
12
- <script>
13
- // window.UEDITOR_CONFIG.toolbars[0].push('undo');
14
- </script>
15
- <script>var _hmt = _hmt || [];
16
- (function () {
17
- var hm = document.createElement("script");
18
- hm.src = "https://hm.baidu.com/hm.js?f84f35a44b5cc5c0b10c3fabdf0f322b";
19
- var s = document.getElementsByTagName("script")[0];
20
- s.parentNode.insertBefore(hm, s);
21
- })();</script>
22
- <style>
23
- :root {
24
- /*--ueditor-top-offset: 20px;*/
25
- }
26
- </style>
27
- <link rel="stylesheet" href="./style.css"/>
28
- </head>
29
- <body class="demo-editor-page">
30
- <div>
31
- <h1>完整示例</h1>
32
- <div>
33
- <script id="editor" type="text/plain" style="height:300px;">
34
- <h1>
35
- 你好 UEditorPlus
36
- </h1>
37
- <p>
38
- UEditorPlus 是基于 UEditor 二次开发的富文本编辑器,让 UEditor <span style="color: #E36C09;">焕<span style="color: #0070C0;">然</span><span style="color: #31859B;"><span style="color: #00B050;">一</span><span style="color: #FF0000;">新</span></span></span>
39
- </p>
40
-
41
- <table data-sort="sortDisabled">
42
- <tbody>
43
- <tr class="firstRow">
44
- <td valign="top" style="word-break: break-all;" rowspan="1" colspan="3">
45
- 我是表格
46
- </td>
47
- </tr>
48
- <tr>
49
- <td width="273" valign="top" style="word-break: break-all;">
50
- 如果
51
- </td>
52
- <td width="273" valign="top" style="word-break: break-all;">
53
- 有一天
54
- </td>
55
- <td width="273" valign="top" style="word-break: break-all;">
56
- 我离开了
57
- </td>
58
- </tr>
59
- <tr>
60
- <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
61
- 怎么才能
62
- </td>
63
- <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
64
- 证明我
65
- </td>
66
- <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
67
- 曾经来过
68
- </td>
69
- </tr>
70
- </tbody>
71
- </table>
72
- <pre class="brush:html;toolbar:false">&lt;div&gt;
73
- &lt;span&gt;这里是HTML标签&lt;/span&gt;
74
- &lt;/div&gt;</pre>
75
- <h2>
76
- 公式支持
77
- </h2>
78
- <p>
79
- <img src="https://r.latexeasy.com/image.svg?%5Cint%20%5Cfrac%7B1%7D%7Bx%7D%20dx%20%3D%20%5Cln%20%5Cleft%7C%20x%20%5Cright%7C%20%2B%20C"
80
- data-formula-image="%5Cint%20%5Cfrac%7B1%7D%7Bx%7D%20dx%20%3D%20%5Cln%20%5Cleft%7C%20x%20%5Cright%7C%20%2B%20C"/>
81
- </p>
82
- <p>
83
- <br/>
84
- </p>
85
-
86
- </script>
87
- </div>
88
- <div id="btns" style="margin-top:20px;">
89
- <div>
90
-
91
- <button onclick="alert(UE.getEditor('editor').getAllHtml())">获得整个html的内容</button>
92
- <button onclick="alert(UE.getEditor('editor').getContent())">获得内容</button>
93
- <button onclick="UE.getEditor('editor').setContent('<p>欢迎使用 UEditorPlus</p>', false)">写入内容</button>
94
- <button onclick="UE.getEditor('editor').setContent('<p>欢迎使用 UEditorPlus</p>', true)">追加内容</button>
95
- <button onclick="alert(UE.getEditor('editor').getContentTxt())">获得纯文本</button>
96
- <button onclick="alert(UE.getEditor('editor').getPlainTxt())">获得带格式的纯文本</button>
97
- <button onclick="alert(UE.getEditor('editor').hasContents())">判断是否有内容</button>
98
- <button onclick="UE.getEditor('editor').focus()">使编辑器获得焦点</button>
99
- <button onmousedown="isFocus()">编辑器是否获得焦点</button>
100
- <button onmousedown="setBlur()">编辑器失去焦点</button>
101
- <button onclick="getSelectText()">获得当前选中的文本</button>
102
- <button onclick="UE.getEditor('editor').execCommand('insertHtml', '插入的内容')">插入内容</button>
103
- <button onclick="UE.getEditor('editor').setEnabled()">设定可编辑</button>
104
- <button onclick="UE.getEditor('editor').setDisabled('fullscreen')">设定不可编辑</button>
105
- <button onclick="UE.getEditor('editor').setHide()">隐藏编辑器</button>
106
- <button onclick="UE.getEditor('editor').setShow()">显示编辑器</button>
107
- <button onclick="UE.getEditor('editor').setHeight(300)">设置固定高度</button>
108
- <button onclick="UE.getEditor('editor')">创建编辑器</button>
109
- <button onclick="UE.getEditor('editor').destroy()">销毁编辑器</button>
110
- <button onclick="alert( UE.getEditor('editor').execCommand('get_auto_save_content') )">草稿箱-获取</button>
111
- <button onclick="UE.getEditor('editor').execCommand('clear_auto_save_content'); alert('已清空草稿箱')">草稿箱-清空
112
- </button>
113
- <button onclick="UE.getEditor('editor').execCommand('set_auto_save_content'); alert('已保存')">草稿箱-立即保存
114
- </button>
115
- <button onclick="UE.getEditor('editor').execCommand('auto_save_restore')">草稿箱-恢复到编辑器</button>
116
- </div>
117
- </div>
118
-
119
- <script type="text/javascript">
120
- var ue = UE.getEditor('editor',{
121
- // autoHeightEnabled: false,
122
- });
123
- ue.on('contentchange', function () {
124
- // console.log('contentchange', ue.getContent());
125
- });
126
-
127
- function isFocus(e) {
128
- alert(UE.getEditor('editor').isFocus());
129
- UE.dom.domUtils.preventDefault(e)
130
- }
131
-
132
- function setBlur(e) {
133
- UE.getEditor('editor').blur();
134
- UE.dom.domUtils.preventDefault(e)
135
- }
136
-
137
- function getSelectText() {
138
- var range = UE.getEditor('editor').selection.getRange();
139
- range.select();
140
- var txt = UE.getEditor('editor').selection.getText();
141
- alert(txt)
142
- }
143
- </script>
144
- </div>
145
- </body>
146
- </html>
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <title>UEditorPlus 完整演示</title>
5
+ <meta name="viewport" content="width=device-width, minimum-scale=0.5, maximum-scale=5, user-scalable=no">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
8
+ <script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script>
9
+ <script type="text/javascript" charset="utf-8" src="lcdp-ueditor.all.js"></script>
10
+ <script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js?8c5d8442"></script>
11
+ <script src="./plugins/demo/demo.js"></script>
12
+ <script>
13
+ // window.UEDITOR_CONFIG.toolbars[0].push('undo');
14
+ </script>
15
+ <script>var _hmt = _hmt || [];
16
+ (function () {
17
+ var hm = document.createElement("script");
18
+ hm.src = "https://hm.baidu.com/hm.js?f84f35a44b5cc5c0b10c3fabdf0f322b";
19
+ var s = document.getElementsByTagName("script")[0];
20
+ s.parentNode.insertBefore(hm, s);
21
+ })();</script>
22
+ <style>
23
+ :root {
24
+ /*--ueditor-top-offset: 20px;*/
25
+ }
26
+ </style>
27
+ <link rel="stylesheet" href="./style.css"/>
28
+ </head>
29
+ <body class="demo-editor-page">
30
+ <div>
31
+ <h1>完整示例</h1>
32
+ <div>
33
+ <script id="editor" type="text/plain" style="height:300px;">
34
+ <h1>
35
+ 你好 UEditorPlus
36
+ </h1>
37
+ <p>
38
+ UEditorPlus 是基于 UEditor 二次开发的富文本编辑器,让 UEditor <span style="color: #E36C09;">焕<span style="color: #0070C0;">然</span><span style="color: #31859B;"><span style="color: #00B050;">一</span><span style="color: #FF0000;">新</span></span></span>
39
+ </p>
40
+
41
+ <table data-sort="sortDisabled">
42
+ <tbody>
43
+ <tr class="firstRow">
44
+ <td valign="top" style="word-break: break-all;" rowspan="1" colspan="3">
45
+ 我是表格
46
+ </td>
47
+ </tr>
48
+ <tr>
49
+ <td width="273" valign="top" style="word-break: break-all;">
50
+ 如果
51
+ </td>
52
+ <td width="273" valign="top" style="word-break: break-all;">
53
+ 有一天
54
+ </td>
55
+ <td width="273" valign="top" style="word-break: break-all;">
56
+ 我离开了
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
61
+ 怎么才能
62
+ </td>
63
+ <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
64
+ 证明我
65
+ </td>
66
+ <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
67
+ 曾经来过
68
+ </td>
69
+ </tr>
70
+ </tbody>
71
+ </table>
72
+ <pre class="brush:html;toolbar:false">&lt;div&gt;
73
+ &lt;span&gt;这里是HTML标签&lt;/span&gt;
74
+ &lt;/div&gt;</pre>
75
+ <h2>
76
+ 公式支持
77
+ </h2>
78
+ <p>
79
+ <img src="https://r.latexeasy.com/image.svg?%5Cint%20%5Cfrac%7B1%7D%7Bx%7D%20dx%20%3D%20%5Cln%20%5Cleft%7C%20x%20%5Cright%7C%20%2B%20C"
80
+ data-formula-image="%5Cint%20%5Cfrac%7B1%7D%7Bx%7D%20dx%20%3D%20%5Cln%20%5Cleft%7C%20x%20%5Cright%7C%20%2B%20C"/>
81
+ </p>
82
+ <p>
83
+ <br/>
84
+ </p>
85
+
86
+ </script>
87
+ </div>
88
+ <div id="btns" style="margin-top:20px;">
89
+ <div>
90
+
91
+ <button onclick="alert(UE.getEditor('editor').getAllHtml())">获得整个html的内容</button>
92
+ <button onclick="alert(UE.getEditor('editor').getContent())">获得内容</button>
93
+ <button onclick="UE.getEditor('editor').setContent('<p>欢迎使用 UEditorPlus</p>', false)">写入内容</button>
94
+ <button onclick="UE.getEditor('editor').setContent('<p>欢迎使用 UEditorPlus</p>', true)">追加内容</button>
95
+ <button onclick="alert(UE.getEditor('editor').getContentTxt())">获得纯文本</button>
96
+ <button onclick="alert(UE.getEditor('editor').getPlainTxt())">获得带格式的纯文本</button>
97
+ <button onclick="alert(UE.getEditor('editor').hasContents())">判断是否有内容</button>
98
+ <button onclick="UE.getEditor('editor').focus()">使编辑器获得焦点</button>
99
+ <button onmousedown="isFocus()">编辑器是否获得焦点</button>
100
+ <button onmousedown="setBlur()">编辑器失去焦点</button>
101
+ <button onclick="getSelectText()">获得当前选中的文本</button>
102
+ <button onclick="UE.getEditor('editor').execCommand('insertHtml', '插入的内容')">插入内容</button>
103
+ <button onclick="UE.getEditor('editor').setEnabled()">设定可编辑</button>
104
+ <button onclick="UE.getEditor('editor').setDisabled('fullscreen')">设定不可编辑</button>
105
+ <button onclick="UE.getEditor('editor').setHide()">隐藏编辑器</button>
106
+ <button onclick="UE.getEditor('editor').setShow()">显示编辑器</button>
107
+ <button onclick="UE.getEditor('editor').setHeight(300)">设置固定高度</button>
108
+ <button onclick="UE.getEditor('editor')">创建编辑器</button>
109
+ <button onclick="UE.getEditor('editor').destroy()">销毁编辑器</button>
110
+ <button onclick="alert( UE.getEditor('editor').execCommand('get_auto_save_content') )">草稿箱-获取</button>
111
+ <button onclick="UE.getEditor('editor').execCommand('clear_auto_save_content'); alert('已清空草稿箱')">草稿箱-清空
112
+ </button>
113
+ <button onclick="UE.getEditor('editor').execCommand('set_auto_save_content'); alert('已保存')">草稿箱-立即保存
114
+ </button>
115
+ <button onclick="UE.getEditor('editor').execCommand('auto_save_restore')">草稿箱-恢复到编辑器</button>
116
+ </div>
117
+ </div>
118
+
119
+ <script type="text/javascript">
120
+ var ue = UE.getEditor('editor',{
121
+ // autoHeightEnabled: false,
122
+ });
123
+ ue.on('contentchange', function () {
124
+ // console.log('contentchange', ue.getContent());
125
+ });
126
+
127
+ function isFocus(e) {
128
+ alert(UE.getEditor('editor').isFocus());
129
+ UE.dom.domUtils.preventDefault(e)
130
+ }
131
+
132
+ function setBlur(e) {
133
+ UE.getEditor('editor').blur();
134
+ UE.dom.domUtils.preventDefault(e)
135
+ }
136
+
137
+ function getSelectText() {
138
+ var range = UE.getEditor('editor').selection.getRange();
139
+ range.select();
140
+ var txt = UE.getEditor('editor').selection.getText();
141
+ alert(txt)
142
+ }
143
+ </script>
144
+ </div>
145
+ </body>
146
+ </html>
@@ -9417,7 +9417,7 @@ UE.api = function () {
9417
9417
  n = document.createElement("a");
9418
9418
  function r(e) {
9419
9419
  var r = e;
9420
- return t && (n.setAttribute("href", r), r = n.href), n.setAttribute("href", r), {
9420
+ return t && (n.setAttribute("href", encodeURI(r)), r = n.href), n.setAttribute("href", encodeURI(r)), {
9421
9421
  href: n.href,
9422
9422
  protocol: n.protocol ? n.protocol.replace(/:$/, "") : "",
9423
9423
  host: n.host,
@@ -55,7 +55,6 @@
55
55
  serverUrl: "/ueditor-plus/_demo_server/handle.php",
56
56
  // 服务器统一请求头信息,会在所有请求中带上该信息
57
57
  serverHeaders: {
58
- // 'Authorization': 'Bearer xxx'
59
58
  },
60
59
 
61
60
  //工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
@@ -1 +0,0 @@
1
- {"version":3,"file":"LcdpUeditor.d.ts","sourceRoot":"","sources":["LcdpUeditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAOhD,cAAM,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,EAAE,EAAE,CAAC;IAC9D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAwB;IAE3C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAwD;IAExE;;OAEG;IACH,OAAO,CAAC,YAAY,CAAwD;IAE5E;;OAEG;IACH,OAAO,CAAC,WAAW,CAAS;IAE5B;;OAEG;IACH,OAAO,CAAC,WAAW,CAAa;IAEhC;;OAEG;IACH,OAAO,CAAC,YAAY,CAAiB;IAErC;;OAEG;IACH,OAAO,CAAC,qBAAqB,CAAW;IAExC;;OAEG;IACH,OAAO,CAAC,cAAc,CAAc;IAEpC;;OAEG;IACH,OAAO,CAAC,cAAc,CAAM;IAE5B;;OAEG;IACH,KAAK,EAAE,QAAQ,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAC,CAAC,CAEnC;IAEF;;OAEG;IACH,YAAY,EAAE,GAAG,CAAM;gBAEX,KAAK,EAAE,iBAAiB;IA0CpC,iBAAiB,IAAI,IAAI;IAIzB,yBAAyB,CAAC,SAAS,EAAE,iBAAiB;IAiBtD,oBAAoB,IAAI,IAAI;IAI5B,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,YAAY;IAOpB;;;;OAIG;YACW,UAAU;IAqCxB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAMhB;;OAEG;IACH,OAAO,CAAC,SAAS;IAcjB;;OAEG;IACG,WAAW;IA0BjB,MAAM,IAAI,KAAK,CAAC,SAAS;CAY1B;AAED,eAAe,WAAW,CAAC"}
package/es/const.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["const.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,oBAAoB,uBAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;8BAMR,MAAM;CAChC,CAAC"}
package/es/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhD,OAAO,EACL,WAAW,EACX,iBAAiB,GAClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UeditorResourceLoader.d.ts","sourceRoot":"","sources":["UeditorResourceLoader.ts"],"names":[],"mappings":"AAGA,cAAM,qBAAqB;IACzB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAwB;IAE/C,OAAO,CAAC,YAAY,CAAkB;IAEtC,OAAO,CAAC,iBAAiB,CAAkB;IAE3C,OAAO,CAAC,OAAO,CAAkB;IAEjC,OAAO,CAAC,OAAO,CAAkB;IAEjC,OAAO,CAAC,SAAS,CAAkB;WAEf,SAAS,CAAE,MAAM,EAAE,MAAM,EAAE;WAgCjC,WAAW;IAOzB;;;OAGG;WACW,OAAO,CAAC,QAAQ,EAAE,QAAQ;IASxC;;;OAGG;WACW,WAAW,CAAC,QAAQ,EAAE,QAAQ;CAI7C;AAED,eAAe,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadScript.d.ts","sourceRoot":"","sources":["loadScript.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,eAAO,MAAM,cAAc,SAAgB,MAAM,EAAE,kBAUlD,CAAC"}
package/es/type.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,aAAc,SAAQ,KAAK,CAAC,aAAa;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAGD,MAAM,WAAW,iBAAiB;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE;QAEL;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,SAAS,EAAE,MAAM,GAAG,QAAQ,CAAC;QAE7B;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;QAE3B;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;QAE1B;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;QAE3B;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;KAC9B,CAAC;IAEF;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC;IAEhC;;;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC;QAChC,KAAK,EAAE,SAAS,GAAG,MAAM,CAAC;QAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAA;KACpB,CAAC,CAAC;IAEH;;;OAGG;IACH,OAAO,CAAC,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAEvC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,QAAQ,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAGD,MAAM,WAAW,gBAAgB;IAE7B;;OAEG;IACH,UAAU,IAAI,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,IAAI,MAAM,CAAC;IAErB;;;;OAIG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEtD;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC;IAExB;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC;IAEvB;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IAEd;;OAEG;IACH,OAAO,IAAI,OAAO,CAAC;IAEnB;;OAEG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC;CAC3B"}