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

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.
Files changed (120) hide show
  1. package/es/LcdpUeditor.d.ts +1 -0
  2. package/es/LcdpUeditor.d.ts.map +1 -0
  3. package/es/LcdpUeditor.js +72 -61
  4. package/es/const.d.ts.map +1 -0
  5. package/es/const.js +4 -4
  6. package/es/defaultConfig.json +76 -76
  7. package/es/index.d.ts.map +1 -0
  8. package/es/tools/UeditorResourceLoader.d.ts.map +1 -0
  9. package/es/tools/UeditorResourceLoader.js +11 -16
  10. package/es/tools/filterHtmlNode.d.ts +5 -0
  11. package/es/tools/filterHtmlNode.d.ts.map +1 -0
  12. package/es/tools/filterHtmlNode.js +41 -0
  13. package/es/tools/loadScript.d.ts.map +1 -0
  14. package/es/tools/loadScript.js +5 -7
  15. package/es/type.d.ts +6 -0
  16. package/es/type.d.ts.map +1 -0
  17. package/lib/LcdpUeditor.d.ts +1 -0
  18. package/lib/LcdpUeditor.js +24 -8
  19. package/lib/defaultConfig.json +76 -76
  20. package/lib/tools/filterHtmlNode.d.ts +5 -0
  21. package/lib/tools/filterHtmlNode.js +61 -0
  22. package/lib/type.d.ts +6 -0
  23. package/package.json +35 -34
  24. package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
  25. package/ueditor-resource/dialogs/attachment/attachment.css +716 -716
  26. package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
  27. package/ueditor-resource/dialogs/attachment/attachment.js +803 -803
  28. package/ueditor-resource/dialogs/audio/audio.css +879 -879
  29. package/ueditor-resource/dialogs/audio/audio.html +93 -93
  30. package/ueditor-resource/dialogs/audio/audio.js +815 -815
  31. package/ueditor-resource/dialogs/background/background.css +193 -193
  32. package/ueditor-resource/dialogs/background/background.html +59 -59
  33. package/ueditor-resource/dialogs/background/background.js +370 -370
  34. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
  35. package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -91
  36. package/ueditor-resource/dialogs/emotion/emotion.css +129 -129
  37. package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
  38. package/ueditor-resource/dialogs/emotion/emotion.js +186 -186
  39. package/ueditor-resource/dialogs/formula/formula.html +98 -98
  40. package/ueditor-resource/dialogs/formula/formula.js +147 -147
  41. package/ueditor-resource/dialogs/help/help.css +37 -37
  42. package/ueditor-resource/dialogs/help/help.html +82 -82
  43. package/ueditor-resource/dialogs/help/help.js +57 -57
  44. package/ueditor-resource/dialogs/image/image.css +768 -768
  45. package/ueditor-resource/dialogs/image/image.html +144 -144
  46. package/ueditor-resource/dialogs/image/image.js +1060 -1060
  47. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
  48. package/ueditor-resource/dialogs/internal.js +81 -81
  49. package/ueditor-resource/dialogs/link/link.html +148 -148
  50. package/ueditor-resource/dialogs/preview/preview.html +45 -45
  51. package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -324
  52. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
  53. package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -682
  54. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
  55. package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -174
  56. package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
  57. package/ueditor-resource/dialogs/spechars/spechars.js +86 -86
  58. package/ueditor-resource/dialogs/table/edittable.css +85 -85
  59. package/ueditor-resource/dialogs/table/edittable.html +69 -69
  60. package/ueditor-resource/dialogs/table/edittable.js +241 -241
  61. package/ueditor-resource/dialogs/table/edittd.html +62 -62
  62. package/ueditor-resource/dialogs/table/edittip.html +33 -33
  63. package/ueditor-resource/dialogs/template/config.js +42 -42
  64. package/ueditor-resource/dialogs/template/template.css +99 -99
  65. package/ueditor-resource/dialogs/template/template.html +26 -26
  66. package/ueditor-resource/dialogs/template/template.js +53 -53
  67. package/ueditor-resource/dialogs/video/video.css +909 -909
  68. package/ueditor-resource/dialogs/video/video.html +114 -114
  69. package/ueditor-resource/dialogs/video/video.js +867 -867
  70. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
  71. package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -93
  72. package/ueditor-resource/lang/en/en.js +686 -686
  73. package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -748
  74. package/ueditor-resource/lang/zh-tw/zh-tw.js +748 -748
  75. package/ueditor-resource/plugins/demo/demo.js +3 -3
  76. package/ueditor-resource/themes/default/css/ueditor.css +2149 -2148
  77. package/ueditor-resource/themes/default/dialog.css +17 -17
  78. package/ueditor-resource/themes/default/dialogbase.css +132 -132
  79. package/ueditor-resource/themes/default/exts/ai.svg +12 -12
  80. package/ueditor-resource/themes/default/exts/apk.svg +12 -12
  81. package/ueditor-resource/themes/default/exts/chm.svg +12 -12
  82. package/ueditor-resource/themes/default/exts/css.svg +12 -12
  83. package/ueditor-resource/themes/default/exts/doc.svg +22 -22
  84. package/ueditor-resource/themes/default/exts/docx.svg +22 -22
  85. package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
  86. package/ueditor-resource/themes/default/exts/folder.svg +3 -3
  87. package/ueditor-resource/themes/default/exts/gif.svg +14 -14
  88. package/ueditor-resource/themes/default/exts/html.svg +12 -12
  89. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
  90. package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
  91. package/ueditor-resource/themes/default/exts/log.svg +12 -12
  92. package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
  93. package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
  94. package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
  95. package/ueditor-resource/themes/default/exts/png.svg +14 -14
  96. package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
  97. package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
  98. package/ueditor-resource/themes/default/exts/psd.svg +12 -12
  99. package/ueditor-resource/themes/default/exts/rar.svg +12 -12
  100. package/ueditor-resource/themes/default/exts/svg.svg +12 -12
  101. package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
  102. package/ueditor-resource/themes/default/exts/txt.svg +14 -14
  103. package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
  104. package/ueditor-resource/themes/default/exts/xls.svg +25 -25
  105. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
  106. package/ueditor-resource/themes/default/exts/zip.svg +12 -12
  107. package/ueditor-resource/themes/iframe.css +63 -63
  108. package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -3655
  109. package/ueditor-resource/third-party/clipboard/clipboard.js +752 -752
  110. package/ueditor-resource/third-party/codemirror/codemirror.css +106 -106
  111. package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -3581
  112. package/ueditor-resource/third-party/jquery-3.5.1.js +1 -1
  113. package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -4314
  114. package/ueditor-resource/third-party/webuploader/webuploader.css +88 -88
  115. package/ueditor-resource/third-party/webuploader/webuploader.js +3 -3
  116. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
  117. package/ueditor-resource/{lcdp-ueditor.all.js → ueditor.all.js} +5270 -5269
  118. package/ueditor-resource/ueditor.config.js +655 -655
  119. package/ueditor-resource/{lcdp-ueditor.parse.js → ueditor.parse.js} +13 -13
  120. package/ueditor-resource/index.html +0 -146
@@ -1,95 +1,95 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title></title>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
- <meta name="robots" content="noindex, nofollow"/>
7
- <script type="text/javascript" src="../internal.js?32939b8e"></script>
8
- <link rel="stylesheet" type="text/css" href="scrawl.css?80d29439">
9
- </head>
10
- <body>
11
- <div class="main" id="J_wrap">
12
- <div class="hot">
13
- <div class="drawBoard border_style1">
14
- <canvas id="J_brushBoard" class="brushBorad" width="360" height="300"></canvas>
15
- <div id="J_picBoard" class="picBoard" style="width: 360px;height: 300px"></div>
16
- </div>
17
- <div id="J_operateBar" class="operateBar">
18
- <span id="J_previousStep" class="previousStep">
19
- <em class="icon"></em>
20
- <em class="text"><var id="lang_input_previousStep"></var></em>
21
- </span>
22
- <span id="J_nextStep" class="nextStep">
23
- <em class="icon"></em>
24
- <em class="text"><var id="lang_input_nextsStep"></var></em>
25
- </span>
26
- <span id="J_clearBoard" class="clearBoard">
27
- <em class="icon"></em>
28
- <em class="text"><var id="lang_input_clear"></var></em>
29
- </span>
30
- <span id="J_sacleBoard" class="scaleBoard">
31
- <em class="icon"></em>
32
- <em class="text"><var id="lang_input_ScalePic"></var></em>
33
- </span>
34
- </div>
35
- </div>
36
- <div class="drawToolbar border_style1">
37
- <div id="J_colorBar" class="colorBar"></div>
38
- <div id="J_brushBar" class="sectionBar">
39
- <em class="brushIcon"></em>
40
- <a href="javascript:void(0)" class="size1">1</a>
41
- <a href="javascript:void(0)" class="size2">3</a>
42
- <a href="javascript:void(0)" class="size3">5</a>
43
- <a href="javascript:void(0)" class="size4">7</a>
44
- </div>
45
- <div id="J_eraserBar" class="sectionBar">
46
- <em class="eraserIcon"></em>
47
- <a href="javascript:void(0)" class="size1">1</a>
48
- <a href="javascript:void(0)" class="size2">3</a>
49
- <a href="javascript:void(0)" class="size3">5</a>
50
- <a href="javascript:void(0)" class="size4">7</a>
51
- </div>
52
- <div class="sectionBar">
53
- <div id="J_addImg" class="addImgH">
54
- <em class="icon"></em>
55
- <em class="text"><var id="lang_input_addPic"></var></em>
56
- <form method="post" id="fileForm" enctype="multipart/form-data" class="addImgH_form" target="up">
57
- <input type="file" name="upfile" id="J_imgTxt"
58
- accept="image/gif,image/jpeg,image/png,image/jpg,image/bmp"/>
59
- </form>
60
- <iframe name="up" style="display: none"></iframe>
61
- </div>
62
- </div>
63
- <div class="sectionBar">
64
- <span id="J_removeImg" class="removeImg">
65
- <em class="icon"></em>
66
- <em class="text"><var id="lang_input_removePic"></var></em>
67
- </span>
68
- </div>
69
- </div>
70
- </div>
71
- <div id="J_maskLayer" class="maskLayerNull"></div>
72
-
73
- <script type="text/javascript" src="scrawl.js?2a3611a5"></script>
74
- <script type="text/javascript">
75
- var settings = {
76
- drawBrushSize: 3, //画笔初始大小
77
- drawBrushColor: "#4bacc6", //画笔初始颜色
78
- colorList: ['c00000', 'ff0000', 'ffc000', 'ffff00', '92d050', '00b050', '00b0f0', '0070c0', '002060', '7030a0', 'ffffff',
79
- '000000', 'eeece1', '1f497d', '4f81bd', 'c0504d', '9bbb59', '8064a2', '4bacc6', 'f79646'], //画笔选择颜色
80
- saveNum: 10 //撤销次数
81
- };
82
-
83
- var scrawlObj = new scrawl(settings);
84
- scrawlObj.isCancelScrawl = false;
85
-
86
- dialog.onok = function () {
87
- exec(scrawlObj);
88
- return false;
89
- };
90
- dialog.oncancel = function () {
91
- scrawlObj.isCancelScrawl = true;
92
- };
93
- </script>
94
- </body>
95
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title></title>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <meta name="robots" content="noindex, nofollow"/>
7
+ <script type="text/javascript" src="../internal.js?aea0c61c"></script>
8
+ <link rel="stylesheet" type="text/css" href="scrawl.css?5bdd07f3">
9
+ </head>
10
+ <body>
11
+ <div class="main" id="J_wrap">
12
+ <div class="hot">
13
+ <div class="drawBoard border_style1">
14
+ <canvas id="J_brushBoard" class="brushBorad" width="360" height="300"></canvas>
15
+ <div id="J_picBoard" class="picBoard" style="width: 360px;height: 300px"></div>
16
+ </div>
17
+ <div id="J_operateBar" class="operateBar">
18
+ <span id="J_previousStep" class="previousStep">
19
+ <em class="icon"></em>
20
+ <em class="text"><var id="lang_input_previousStep"></var></em>
21
+ </span>
22
+ <span id="J_nextStep" class="nextStep">
23
+ <em class="icon"></em>
24
+ <em class="text"><var id="lang_input_nextsStep"></var></em>
25
+ </span>
26
+ <span id="J_clearBoard" class="clearBoard">
27
+ <em class="icon"></em>
28
+ <em class="text"><var id="lang_input_clear"></var></em>
29
+ </span>
30
+ <span id="J_sacleBoard" class="scaleBoard">
31
+ <em class="icon"></em>
32
+ <em class="text"><var id="lang_input_ScalePic"></var></em>
33
+ </span>
34
+ </div>
35
+ </div>
36
+ <div class="drawToolbar border_style1">
37
+ <div id="J_colorBar" class="colorBar"></div>
38
+ <div id="J_brushBar" class="sectionBar">
39
+ <em class="brushIcon"></em>
40
+ <a href="javascript:void(0)" class="size1">1</a>
41
+ <a href="javascript:void(0)" class="size2">3</a>
42
+ <a href="javascript:void(0)" class="size3">5</a>
43
+ <a href="javascript:void(0)" class="size4">7</a>
44
+ </div>
45
+ <div id="J_eraserBar" class="sectionBar">
46
+ <em class="eraserIcon"></em>
47
+ <a href="javascript:void(0)" class="size1">1</a>
48
+ <a href="javascript:void(0)" class="size2">3</a>
49
+ <a href="javascript:void(0)" class="size3">5</a>
50
+ <a href="javascript:void(0)" class="size4">7</a>
51
+ </div>
52
+ <div class="sectionBar">
53
+ <div id="J_addImg" class="addImgH">
54
+ <em class="icon"></em>
55
+ <em class="text"><var id="lang_input_addPic"></var></em>
56
+ <form method="post" id="fileForm" enctype="multipart/form-data" class="addImgH_form" target="up">
57
+ <input type="file" name="upfile" id="J_imgTxt"
58
+ accept="image/gif,image/jpeg,image/png,image/jpg,image/bmp"/>
59
+ </form>
60
+ <iframe name="up" style="display: none"></iframe>
61
+ </div>
62
+ </div>
63
+ <div class="sectionBar">
64
+ <span id="J_removeImg" class="removeImg">
65
+ <em class="icon"></em>
66
+ <em class="text"><var id="lang_input_removePic"></var></em>
67
+ </span>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ <div id="J_maskLayer" class="maskLayerNull"></div>
72
+
73
+ <script type="text/javascript" src="scrawl.js?ee947940"></script>
74
+ <script type="text/javascript">
75
+ var settings = {
76
+ drawBrushSize: 3, //画笔初始大小
77
+ drawBrushColor: "#4bacc6", //画笔初始颜色
78
+ colorList: ['c00000', 'ff0000', 'ffc000', 'ffff00', '92d050', '00b050', '00b0f0', '0070c0', '002060', '7030a0', 'ffffff',
79
+ '000000', 'eeece1', '1f497d', '4f81bd', 'c0504d', '9bbb59', '8064a2', '4bacc6', 'f79646'], //画笔选择颜色
80
+ saveNum: 10 //撤销次数
81
+ };
82
+
83
+ var scrawlObj = new scrawl(settings);
84
+ scrawlObj.isCancelScrawl = false;
85
+
86
+ dialog.onok = function () {
87
+ exec(scrawlObj);
88
+ return false;
89
+ };
90
+ dialog.oncancel = function () {
91
+ scrawlObj.isCancelScrawl = true;
92
+ };
93
+ </script>
94
+ </body>
95
+ </html>