@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,106 +1,106 @@
1
- .CodeMirror {
2
- line-height: 1.5;
3
- font-family: monospace;
4
- }
5
-
6
- .CodeMirror-scroll {
7
- overflow: auto;
8
- height: 300px;
9
- /* This is needed to prevent an IE[67] bug where the scrolled content
10
- is visible outside of the scrolling box. */
11
- position: relative;
12
- }
13
-
14
- .CodeMirror-gutter {
15
- position: absolute; left: 0; top: 0;
16
- z-index: 10;
17
- background-color: #f7f7f7;
18
- border-right: 1px solid #eee;
19
- min-width: 2em;
20
- height: 100%;
21
- }
22
- .CodeMirror-gutter-text {
23
- color: #aaa;
24
- text-align: right;
25
- padding: .4em .2em .4em .4em;
26
- white-space: pre !important;
27
- }
28
- .CodeMirror-lines {
29
- padding: .4em;
30
- }
31
-
32
- .CodeMirror pre {
33
- -moz-border-radius: 0;
34
- -webkit-border-radius: 0;
35
- -o-border-radius: 0;
36
- border-radius: 0;
37
- border-width: 0; margin: 0; padding: 0; background: transparent;
38
- font-family: inherit;
39
- font-size: inherit;
40
- padding: 0; margin: 0;
41
- white-space: pre;
42
- word-wrap: normal;
43
- }
44
-
45
- .CodeMirror-wrap pre {
46
- word-wrap: break-word;
47
- white-space: pre-wrap;
48
- line-height: 1.4;
49
- }
50
- .CodeMirror-wrap .CodeMirror-scroll {
51
- overflow-x: hidden;
52
- }
53
-
54
- .CodeMirror textarea {
55
- outline: none !important;
56
- }
57
-
58
- .CodeMirror pre.CodeMirror-cursor {
59
- z-index: 10;
60
- position: absolute;
61
- visibility: hidden;
62
- border-left: 1px solid black;
63
- margin-top: -2px;
64
- }
65
- .CodeMirror-focused pre.CodeMirror-cursor {
66
- visibility: visible;
67
- }
68
-
69
- span.CodeMirror-selected { background: #d9d9d9; }
70
- .CodeMirror-focused span.CodeMirror-selected { background: #d2dcf8; }
71
-
72
- .CodeMirror-searching {background: #ffa;}
73
-
74
- /* Default theme */
75
-
76
- .cm-s-default span.cm-keyword {color: #708;}
77
- .cm-s-default span.cm-atom {color: #219;}
78
- .cm-s-default span.cm-number {color: #164;}
79
- .cm-s-default span.cm-def {color: #00f;}
80
- .cm-s-default span.cm-variable {color: black;}
81
- .cm-s-default span.cm-variable-2 {color: #05a;}
82
- .cm-s-default span.cm-variable-3 {color: #085;}
83
- .cm-s-default span.cm-property {color: black;}
84
- .cm-s-default span.cm-operator {color: black;}
85
- .cm-s-default span.cm-comment {color: #a50;}
86
- .cm-s-default span.cm-string {color: #a11;}
87
- .cm-s-default span.cm-string-2 {color: #f50;}
88
- .cm-s-default span.cm-meta {color: #555;}
89
- .cm-s-default span.cm-error {color: #f00;}
90
- .cm-s-default span.cm-qualifier {color: #555;}
91
- .cm-s-default span.cm-builtin {color: #30a;}
92
- .cm-s-default span.cm-bracket {color: #cc7;}
93
- .cm-s-default span.cm-tag {color: #170;}
94
- .cm-s-default span.cm-attribute {color: #00c;}
95
- .cm-s-default span.cm-header {color: #a0a;}
96
- .cm-s-default span.cm-quote {color: #090;}
97
- .cm-s-default span.cm-hr {color: #999;}
98
- .cm-s-default span.cm-link {color: #00c;}
99
-
100
- span.cm-header, span.cm-strong {font-weight: bold;}
101
- span.cm-em {font-style: italic;}
102
- span.cm-emstrong {font-style: italic; font-weight: bold;}
103
- span.cm-link {text-decoration: underline;}
104
-
105
- div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
106
- div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
1
+ .CodeMirror {
2
+ line-height: 1.5;
3
+ font-family: monospace;
4
+ }
5
+
6
+ .CodeMirror-scroll {
7
+ overflow: auto;
8
+ height: 300px;
9
+ /* This is needed to prevent an IE[67] bug where the scrolled content
10
+ is visible outside of the scrolling box. */
11
+ position: relative;
12
+ }
13
+
14
+ .CodeMirror-gutter {
15
+ position: absolute; left: 0; top: 0;
16
+ z-index: 10;
17
+ background-color: #f7f7f7;
18
+ border-right: 1px solid #eee;
19
+ min-width: 2em;
20
+ height: 100%;
21
+ }
22
+ .CodeMirror-gutter-text {
23
+ color: #aaa;
24
+ text-align: right;
25
+ padding: .4em .2em .4em .4em;
26
+ white-space: pre !important;
27
+ }
28
+ .CodeMirror-lines {
29
+ padding: .4em;
30
+ }
31
+
32
+ .CodeMirror pre {
33
+ -moz-border-radius: 0;
34
+ -webkit-border-radius: 0;
35
+ -o-border-radius: 0;
36
+ border-radius: 0;
37
+ border-width: 0; margin: 0; padding: 0; background: transparent;
38
+ font-family: inherit;
39
+ font-size: inherit;
40
+ padding: 0; margin: 0;
41
+ white-space: pre;
42
+ word-wrap: normal;
43
+ }
44
+
45
+ .CodeMirror-wrap pre {
46
+ word-wrap: break-word;
47
+ white-space: pre-wrap;
48
+ line-height: 1.4;
49
+ }
50
+ .CodeMirror-wrap .CodeMirror-scroll {
51
+ overflow-x: hidden;
52
+ }
53
+
54
+ .CodeMirror textarea {
55
+ outline: none !important;
56
+ }
57
+
58
+ .CodeMirror pre.CodeMirror-cursor {
59
+ z-index: 10;
60
+ position: absolute;
61
+ visibility: hidden;
62
+ border-left: 1px solid black;
63
+ margin-top: -2px;
64
+ }
65
+ .CodeMirror-focused pre.CodeMirror-cursor {
66
+ visibility: visible;
67
+ }
68
+
69
+ span.CodeMirror-selected { background: #d9d9d9; }
70
+ .CodeMirror-focused span.CodeMirror-selected { background: #d2dcf8; }
71
+
72
+ .CodeMirror-searching {background: #ffa;}
73
+
74
+ /* Default theme */
75
+
76
+ .cm-s-default span.cm-keyword {color: #708;}
77
+ .cm-s-default span.cm-atom {color: #219;}
78
+ .cm-s-default span.cm-number {color: #164;}
79
+ .cm-s-default span.cm-def {color: #00f;}
80
+ .cm-s-default span.cm-variable {color: black;}
81
+ .cm-s-default span.cm-variable-2 {color: #05a;}
82
+ .cm-s-default span.cm-variable-3 {color: #085;}
83
+ .cm-s-default span.cm-property {color: black;}
84
+ .cm-s-default span.cm-operator {color: black;}
85
+ .cm-s-default span.cm-comment {color: #a50;}
86
+ .cm-s-default span.cm-string {color: #a11;}
87
+ .cm-s-default span.cm-string-2 {color: #f50;}
88
+ .cm-s-default span.cm-meta {color: #555;}
89
+ .cm-s-default span.cm-error {color: #f00;}
90
+ .cm-s-default span.cm-qualifier {color: #555;}
91
+ .cm-s-default span.cm-builtin {color: #30a;}
92
+ .cm-s-default span.cm-bracket {color: #cc7;}
93
+ .cm-s-default span.cm-tag {color: #170;}
94
+ .cm-s-default span.cm-attribute {color: #00c;}
95
+ .cm-s-default span.cm-header {color: #a0a;}
96
+ .cm-s-default span.cm-quote {color: #090;}
97
+ .cm-s-default span.cm-hr {color: #999;}
98
+ .cm-s-default span.cm-link {color: #00c;}
99
+
100
+ span.cm-header, span.cm-strong {font-weight: bold;}
101
+ span.cm-em {font-style: italic;}
102
+ span.cm-emstrong {font-style: italic; font-weight: bold;}
103
+ span.cm-link {text-decoration: underline;}
104
+
105
+ div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
106
+ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}