@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.2 → 1.0.0-alpha.20

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 (132) hide show
  1. package/es/LcdpUeditor.d.ts +4 -0
  2. package/es/LcdpUeditor.js +74 -50
  3. package/es/const.js +4 -4
  4. package/es/defaultConfig.json +76 -76
  5. package/es/tools/UeditorResourceLoader.js +6 -6
  6. package/es/tools/filterHtmlNode.d.ts +5 -0
  7. package/es/tools/filterHtmlNode.js +41 -0
  8. package/es/tools/loadScript.js +3 -3
  9. package/es/type.d.ts +3 -1
  10. package/lib/LcdpUeditor.d.ts +80 -0
  11. package/lib/LcdpUeditor.js +267 -0
  12. package/lib/const.d.ts +12 -0
  13. package/lib/const.js +39 -0
  14. package/lib/defaultConfig.json +77 -0
  15. package/lib/index.d.ts +4 -0
  16. package/lib/index.js +41 -0
  17. package/lib/tools/UeditorResourceLoader.d.ts +21 -0
  18. package/lib/tools/UeditorResourceLoader.js +90 -0
  19. package/lib/tools/filterHtmlNode.d.ts +5 -0
  20. package/lib/tools/filterHtmlNode.js +61 -0
  21. package/lib/tools/loadScript.d.ts +5 -0
  22. package/lib/tools/loadScript.js +39 -0
  23. package/lib/type.d.ts +144 -0
  24. package/lib/type.js +17 -0
  25. package/package.json +34 -32
  26. package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
  27. package/ueditor-resource/dialogs/attachment/attachment.css +716 -716
  28. package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
  29. package/ueditor-resource/dialogs/attachment/attachment.js +803 -803
  30. package/ueditor-resource/dialogs/audio/audio.css +879 -879
  31. package/ueditor-resource/dialogs/audio/audio.html +93 -93
  32. package/ueditor-resource/dialogs/audio/audio.js +815 -815
  33. package/ueditor-resource/dialogs/background/background.css +193 -193
  34. package/ueditor-resource/dialogs/background/background.html +59 -59
  35. package/ueditor-resource/dialogs/background/background.js +370 -370
  36. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
  37. package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -91
  38. package/ueditor-resource/dialogs/emotion/emotion.css +129 -129
  39. package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
  40. package/ueditor-resource/dialogs/emotion/emotion.js +186 -186
  41. package/ueditor-resource/dialogs/formula/formula.html +98 -98
  42. package/ueditor-resource/dialogs/formula/formula.js +147 -147
  43. package/ueditor-resource/dialogs/help/help.css +37 -37
  44. package/ueditor-resource/dialogs/help/help.html +82 -82
  45. package/ueditor-resource/dialogs/help/help.js +57 -57
  46. package/ueditor-resource/dialogs/image/image.css +768 -768
  47. package/ueditor-resource/dialogs/image/image.html +144 -144
  48. package/ueditor-resource/dialogs/image/image.js +1060 -1060
  49. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
  50. package/ueditor-resource/dialogs/internal.js +81 -81
  51. package/ueditor-resource/dialogs/link/link.html +148 -148
  52. package/ueditor-resource/dialogs/preview/preview.html +45 -45
  53. package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -324
  54. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
  55. package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -682
  56. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
  57. package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -174
  58. package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
  59. package/ueditor-resource/dialogs/spechars/spechars.js +86 -86
  60. package/ueditor-resource/dialogs/table/edittable.css +85 -85
  61. package/ueditor-resource/dialogs/table/edittable.html +69 -69
  62. package/ueditor-resource/dialogs/table/edittable.js +241 -241
  63. package/ueditor-resource/dialogs/table/edittd.html +62 -62
  64. package/ueditor-resource/dialogs/table/edittip.html +33 -33
  65. package/ueditor-resource/dialogs/template/config.js +42 -42
  66. package/ueditor-resource/dialogs/template/template.css +99 -99
  67. package/ueditor-resource/dialogs/template/template.html +26 -26
  68. package/ueditor-resource/dialogs/template/template.js +53 -53
  69. package/ueditor-resource/dialogs/video/video.css +909 -909
  70. package/ueditor-resource/dialogs/video/video.html +114 -114
  71. package/ueditor-resource/dialogs/video/video.js +867 -867
  72. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
  73. package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -93
  74. package/ueditor-resource/lang/en/en.js +686 -686
  75. package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -748
  76. package/ueditor-resource/lang/zh-tw/images/copy.png +0 -0
  77. package/ueditor-resource/lang/zh-tw/images/localimage.png +0 -0
  78. package/ueditor-resource/lang/zh-tw/images/music.png +0 -0
  79. package/ueditor-resource/lang/zh-tw/images/upload.png +0 -0
  80. package/ueditor-resource/lang/zh-tw/zh-tw.js +748 -0
  81. package/ueditor-resource/plugins/demo/demo.js +3 -3
  82. package/ueditor-resource/themes/default/css/ueditor.css +2148 -2148
  83. package/ueditor-resource/themes/default/dialog.css +17 -17
  84. package/ueditor-resource/themes/default/dialogbase.css +132 -132
  85. package/ueditor-resource/themes/default/exts/ai.svg +12 -12
  86. package/ueditor-resource/themes/default/exts/apk.svg +12 -12
  87. package/ueditor-resource/themes/default/exts/chm.svg +12 -12
  88. package/ueditor-resource/themes/default/exts/css.svg +12 -12
  89. package/ueditor-resource/themes/default/exts/doc.svg +22 -22
  90. package/ueditor-resource/themes/default/exts/docx.svg +22 -22
  91. package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
  92. package/ueditor-resource/themes/default/exts/folder.svg +3 -3
  93. package/ueditor-resource/themes/default/exts/gif.svg +14 -14
  94. package/ueditor-resource/themes/default/exts/html.svg +12 -12
  95. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
  96. package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
  97. package/ueditor-resource/themes/default/exts/log.svg +12 -12
  98. package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
  99. package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
  100. package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
  101. package/ueditor-resource/themes/default/exts/png.svg +14 -14
  102. package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
  103. package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
  104. package/ueditor-resource/themes/default/exts/psd.svg +12 -12
  105. package/ueditor-resource/themes/default/exts/rar.svg +12 -12
  106. package/ueditor-resource/themes/default/exts/svg.svg +12 -12
  107. package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
  108. package/ueditor-resource/themes/default/exts/txt.svg +14 -14
  109. package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
  110. package/ueditor-resource/themes/default/exts/xls.svg +25 -25
  111. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
  112. package/ueditor-resource/themes/default/exts/zip.svg +12 -12
  113. package/ueditor-resource/themes/iframe.css +63 -63
  114. package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -3655
  115. package/ueditor-resource/third-party/clipboard/clipboard.js +752 -752
  116. package/ueditor-resource/third-party/codemirror/codemirror.css +106 -106
  117. package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -3581
  118. package/ueditor-resource/third-party/jquery-3.5.1.js +1 -1
  119. package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -4314
  120. package/ueditor-resource/third-party/webuploader/webuploader.css +88 -88
  121. package/ueditor-resource/third-party/webuploader/webuploader.js +3 -3
  122. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
  123. package/ueditor-resource/ueditor.all.js +5271 -5270
  124. package/ueditor-resource/ueditor.config.js +655 -656
  125. package/ueditor-resource/ueditor.parse.js +13 -13
  126. package/es/LcdpUeditor.d.ts.map +0 -1
  127. package/es/const.d.ts.map +0 -1
  128. package/es/index.d.ts.map +0 -1
  129. package/es/tools/UeditorResourceLoader.d.ts.map +0 -1
  130. package/es/tools/loadScript.d.ts.map +0 -1
  131. package/es/type.d.ts.map +0 -1
  132. package/ueditor-resource/index.html +0 -146
@@ -1,193 +1,193 @@
1
- .wrapper {
2
- width: 424px;
3
- margin: 10px auto;
4
- zoom: 1;
5
- position: relative
6
- }
7
-
8
- .tabbody {
9
- height: 225px;
10
- }
11
-
12
- .tabbody .panel {
13
- position: absolute;
14
- width: 100%;
15
- height: 100%;
16
- background: #fff;
17
- display: none;
18
- }
19
-
20
- .tabbody .focus {
21
- display: block;
22
- }
23
-
24
- body {
25
- font-size: 12px;
26
- color: #888;
27
- overflow: hidden;
28
- }
29
-
30
- input, label {
31
- vertical-align: middle
32
- }
33
-
34
- .clear {
35
- clear: both;
36
- }
37
-
38
- .pl {
39
- padding-left: 18px;
40
- padding-left: 23px \9;
41
- }
42
-
43
- #imageList {
44
- width: 420px;
45
- height: 215px;
46
- margin-top: 10px;
47
- overflow: hidden;
48
- overflow-y: auto;
49
- }
50
-
51
- #imageList div {
52
- float: left;
53
- width: 100px;
54
- height: 95px;
55
- margin: 5px 10px;
56
- }
57
-
58
- #imageList img {
59
- cursor: pointer;
60
- border: 2px solid white;
61
- }
62
-
63
- .bgarea {
64
- margin: 10px;
65
- padding: 5px;
66
- height: 84%;
67
- border: 1px solid #A8A297;
68
- }
69
-
70
- .content div {
71
- margin: 10px 0 10px 5px;
72
- }
73
-
74
- .content .iptradio {
75
- margin: 0px 5px 5px 0px;
76
- }
77
-
78
- .txt {
79
- width: 280px;
80
- }
81
-
82
- .wrapcolor {
83
- height: 19px;
84
- }
85
-
86
- div.color {
87
- float: left;
88
- margin: 0;
89
- }
90
-
91
- #colorPicker {
92
- width: 17px;
93
- height: 17px;
94
- border: 1px solid #CCC;
95
- display: inline-block;
96
- border-radius: 3px;
97
- box-shadow: 2px 2px 5px #D3D6DA;
98
- margin: 0;
99
- float: left;
100
- }
101
-
102
- div.alignment, #custom {
103
- margin-left: 23px;
104
- margin-left: 28px \9;
105
- }
106
-
107
- #custom input {
108
- height: 15px;
109
- min-height: 15px;
110
- width: 20px;
111
- }
112
-
113
- #repeatType {
114
- width: 100px;
115
- }
116
-
117
-
118
- /* 图片管理样式 */
119
- #imgManager {
120
- width: 100%;
121
- height: 225px;
122
- }
123
-
124
- #imgManager #imageList {
125
- width: 100%;
126
- overflow-x: hidden;
127
- overflow-y: auto;
128
- }
129
-
130
- #imgManager ul {
131
- display: block;
132
- list-style: none;
133
- margin: 0;
134
- padding: 0;
135
- }
136
-
137
- #imgManager li {
138
- float: left;
139
- display: block;
140
- list-style: none;
141
- padding: 0;
142
- width: 113px;
143
- height: 113px;
144
- margin: 9px 0 0 19px;
145
- background-color: #eee;
146
- overflow: hidden;
147
- cursor: pointer;
148
- position: relative;
149
- }
150
-
151
- #imgManager li.clearFloat {
152
- float: none;
153
- clear: both;
154
- display: block;
155
- width: 0;
156
- height: 0;
157
- margin: 0;
158
- padding: 0;
159
- }
160
-
161
- #imgManager li img {
162
- cursor: pointer;
163
- }
164
-
165
- #imgManager li .icon {
166
- cursor: pointer;
167
- width: 113px;
168
- height: 113px;
169
- position: absolute;
170
- top: 0;
171
- left: 0;
172
- z-index: 2;
173
- border: 0;
174
- background-repeat: no-repeat;
175
- }
176
-
177
- #imgManager li .icon:hover {
178
- width: 107px;
179
- height: 107px;
180
- border: 3px solid #1094fa;
181
- }
182
-
183
- #imgManager li.selected .icon {
184
- background-image: url(images/success.png);
185
- background-position: 75px 75px;
186
- }
187
-
188
- #imgManager li.selected .icon:hover {
189
- width: 107px;
190
- height: 107px;
191
- border: 3px solid #1094fa;
192
- background-position: 72px 72px;
193
- }
1
+ .wrapper {
2
+ width: 424px;
3
+ margin: 10px auto;
4
+ zoom: 1;
5
+ position: relative
6
+ }
7
+
8
+ .tabbody {
9
+ height: 225px;
10
+ }
11
+
12
+ .tabbody .panel {
13
+ position: absolute;
14
+ width: 100%;
15
+ height: 100%;
16
+ background: #fff;
17
+ display: none;
18
+ }
19
+
20
+ .tabbody .focus {
21
+ display: block;
22
+ }
23
+
24
+ body {
25
+ font-size: 12px;
26
+ color: #888;
27
+ overflow: hidden;
28
+ }
29
+
30
+ input, label {
31
+ vertical-align: middle
32
+ }
33
+
34
+ .clear {
35
+ clear: both;
36
+ }
37
+
38
+ .pl {
39
+ padding-left: 18px;
40
+ padding-left: 23px \9;
41
+ }
42
+
43
+ #imageList {
44
+ width: 420px;
45
+ height: 215px;
46
+ margin-top: 10px;
47
+ overflow: hidden;
48
+ overflow-y: auto;
49
+ }
50
+
51
+ #imageList div {
52
+ float: left;
53
+ width: 100px;
54
+ height: 95px;
55
+ margin: 5px 10px;
56
+ }
57
+
58
+ #imageList img {
59
+ cursor: pointer;
60
+ border: 2px solid white;
61
+ }
62
+
63
+ .bgarea {
64
+ margin: 10px;
65
+ padding: 5px;
66
+ height: 84%;
67
+ border: 1px solid #A8A297;
68
+ }
69
+
70
+ .content div {
71
+ margin: 10px 0 10px 5px;
72
+ }
73
+
74
+ .content .iptradio {
75
+ margin: 0px 5px 5px 0px;
76
+ }
77
+
78
+ .txt {
79
+ width: 280px;
80
+ }
81
+
82
+ .wrapcolor {
83
+ height: 19px;
84
+ }
85
+
86
+ div.color {
87
+ float: left;
88
+ margin: 0;
89
+ }
90
+
91
+ #colorPicker {
92
+ width: 17px;
93
+ height: 17px;
94
+ border: 1px solid #CCC;
95
+ display: inline-block;
96
+ border-radius: 3px;
97
+ box-shadow: 2px 2px 5px #D3D6DA;
98
+ margin: 0;
99
+ float: left;
100
+ }
101
+
102
+ div.alignment, #custom {
103
+ margin-left: 23px;
104
+ margin-left: 28px \9;
105
+ }
106
+
107
+ #custom input {
108
+ height: 15px;
109
+ min-height: 15px;
110
+ width: 20px;
111
+ }
112
+
113
+ #repeatType {
114
+ width: 100px;
115
+ }
116
+
117
+
118
+ /* 图片管理样式 */
119
+ #imgManager {
120
+ width: 100%;
121
+ height: 225px;
122
+ }
123
+
124
+ #imgManager #imageList {
125
+ width: 100%;
126
+ overflow-x: hidden;
127
+ overflow-y: auto;
128
+ }
129
+
130
+ #imgManager ul {
131
+ display: block;
132
+ list-style: none;
133
+ margin: 0;
134
+ padding: 0;
135
+ }
136
+
137
+ #imgManager li {
138
+ float: left;
139
+ display: block;
140
+ list-style: none;
141
+ padding: 0;
142
+ width: 113px;
143
+ height: 113px;
144
+ margin: 9px 0 0 19px;
145
+ background-color: #eee;
146
+ overflow: hidden;
147
+ cursor: pointer;
148
+ position: relative;
149
+ }
150
+
151
+ #imgManager li.clearFloat {
152
+ float: none;
153
+ clear: both;
154
+ display: block;
155
+ width: 0;
156
+ height: 0;
157
+ margin: 0;
158
+ padding: 0;
159
+ }
160
+
161
+ #imgManager li img {
162
+ cursor: pointer;
163
+ }
164
+
165
+ #imgManager li .icon {
166
+ cursor: pointer;
167
+ width: 113px;
168
+ height: 113px;
169
+ position: absolute;
170
+ top: 0;
171
+ left: 0;
172
+ z-index: 2;
173
+ border: 0;
174
+ background-repeat: no-repeat;
175
+ }
176
+
177
+ #imgManager li .icon:hover {
178
+ width: 107px;
179
+ height: 107px;
180
+ border: 3px solid #1094fa;
181
+ }
182
+
183
+ #imgManager li.selected .icon {
184
+ background-image: url(images/success.png);
185
+ background-position: 75px 75px;
186
+ }
187
+
188
+ #imgManager li.selected .icon:hover {
189
+ width: 107px;
190
+ height: 107px;
191
+ border: 3px solid #1094fa;
192
+ background-position: 72px 72px;
193
+ }
@@ -1,59 +1,59 @@
1
- <!DOCTYPE HTML>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
- <script type="text/javascript" src="../internal.js?32939b8e"></script>
6
- <link rel="stylesheet" type="text/css" href="background.css?399b33ed">
7
- </head>
8
- <body>
9
- <div id="bg_container" class="wrapper">
10
- <div id="tabHeads" class="tabhead">
11
- <span class="focus" data-content-id="normal"><var id="lang_background_normal"></var></span>
12
- </div>
13
- <div id="tabBodys" class="tabbody">
14
- <div id="normal" class="panel focus">
15
- <fieldset class="bgarea">
16
- <legend><var id="lang_background_set"></var></legend>
17
- <div class="content">
18
- <div>
19
- <label><input id="nocolorRadio" class="iptradio" type="radio" name="t" value="none"
20
- checked="checked"><var id="lang_background_none"></var></label>
21
- <label><input id="coloredRadio" class="iptradio" type="radio" name="t" value="color"><var
22
- id="lang_background_colored"></var></label>
23
- </div>
24
- <div class="wrapcolor pl">
25
- <div class="color">
26
- <var id="lang_background_color"></var>:
27
- </div>
28
- <div id="colorPicker"></div>
29
- <div class="clear"></div>
30
- </div>
31
- <div class="wrapcolor pl">
32
- <label><var id="lang_background_netimg"></var>:</label><input class="txt" type="text" id="url">
33
- </div>
34
- <div id="alignment" class="alignment">
35
- <var id="lang_background_align"></var>:<select id="repeatType">
36
- <option value="center"></option>
37
- <option value="repeat-x"></option>
38
- <option value="repeat-y"></option>
39
- <option value="repeat"></option>
40
- <option value="self"></option>
41
- </select>
42
- </div>
43
- <div id="custom">
44
- <var id="lang_background_position"></var>:x:<input type="text" size="1" id="x" maxlength="4"
45
- value="0">px&nbsp;&nbsp;y:<input type="text"
46
- size="1"
47
- id="y"
48
- maxlength="4"
49
- value="0">px
50
- </div>
51
- </div>
52
- </fieldset>
53
-
54
- </div>
55
- </div>
56
- </div>
57
- <script type="text/javascript" src="background.js?1ed7635f"></script>
58
- </body>
59
- </html>
1
+ <!DOCTYPE HTML>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
+ <script type="text/javascript" src="../internal.js?aea0c61c"></script>
6
+ <link rel="stylesheet" type="text/css" href="background.css?da860c7a">
7
+ </head>
8
+ <body>
9
+ <div id="bg_container" class="wrapper">
10
+ <div id="tabHeads" class="tabhead">
11
+ <span class="focus" data-content-id="normal"><var id="lang_background_normal"></var></span>
12
+ </div>
13
+ <div id="tabBodys" class="tabbody">
14
+ <div id="normal" class="panel focus">
15
+ <fieldset class="bgarea">
16
+ <legend><var id="lang_background_set"></var></legend>
17
+ <div class="content">
18
+ <div>
19
+ <label><input id="nocolorRadio" class="iptradio" type="radio" name="t" value="none"
20
+ checked="checked"><var id="lang_background_none"></var></label>
21
+ <label><input id="coloredRadio" class="iptradio" type="radio" name="t" value="color"><var
22
+ id="lang_background_colored"></var></label>
23
+ </div>
24
+ <div class="wrapcolor pl">
25
+ <div class="color">
26
+ <var id="lang_background_color"></var>:
27
+ </div>
28
+ <div id="colorPicker"></div>
29
+ <div class="clear"></div>
30
+ </div>
31
+ <div class="wrapcolor pl">
32
+ <label><var id="lang_background_netimg"></var>:</label><input class="txt" type="text" id="url">
33
+ </div>
34
+ <div id="alignment" class="alignment">
35
+ <var id="lang_background_align"></var>:<select id="repeatType">
36
+ <option value="center"></option>
37
+ <option value="repeat-x"></option>
38
+ <option value="repeat-y"></option>
39
+ <option value="repeat"></option>
40
+ <option value="self"></option>
41
+ </select>
42
+ </div>
43
+ <div id="custom">
44
+ <var id="lang_background_position"></var>:x:<input type="text" size="1" id="x" maxlength="4"
45
+ value="0">px&nbsp;&nbsp;y:<input type="text"
46
+ size="1"
47
+ id="y"
48
+ maxlength="4"
49
+ value="0">px
50
+ </div>
51
+ </div>
52
+ </fieldset>
53
+
54
+ </div>
55
+ </div>
56
+ </div>
57
+ <script type="text/javascript" src="background.js?dd36acd0"></script>
58
+ </body>
59
+ </html>