centaline-data-driven 1.2.65 → 1.2.68

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 (286) hide show
  1. package/package.json +1 -1
  2. package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +7 -3
  3. package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +1 -1
  4. package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +0 -2
  5. package/src/centaline/dynamicRichText/src/dynamicRichText.vue +14 -10
  6. package/src/centaline/loader/src/ctl/Detail.js +3 -1
  7. package/src/centaline/loader/src/ctl/FormList.js +0 -3
  8. package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
  9. package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
  10. package/static/UEditor/dialogs/anchor/anchor.html +0 -40
  11. package/static/UEditor/dialogs/attachment/attachment.css +0 -681
  12. package/static/UEditor/dialogs/attachment/attachment.html +0 -60
  13. package/static/UEditor/dialogs/attachment/attachment.js +0 -768
  14. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  15. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  16. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  17. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  18. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  19. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  20. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  21. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  22. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  23. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  24. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  25. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  26. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  27. package/static/UEditor/dialogs/attachment/images/alignicon.gif +0 -0
  28. package/static/UEditor/dialogs/attachment/images/alignicon.png +0 -0
  29. package/static/UEditor/dialogs/attachment/images/bg.png +0 -0
  30. package/static/UEditor/dialogs/attachment/images/file-icons.gif +0 -0
  31. package/static/UEditor/dialogs/attachment/images/file-icons.png +0 -0
  32. package/static/UEditor/dialogs/attachment/images/icons.gif +0 -0
  33. package/static/UEditor/dialogs/attachment/images/icons.png +0 -0
  34. package/static/UEditor/dialogs/attachment/images/image.png +0 -0
  35. package/static/UEditor/dialogs/attachment/images/progress.png +0 -0
  36. package/static/UEditor/dialogs/attachment/images/success.gif +0 -0
  37. package/static/UEditor/dialogs/attachment/images/success.png +0 -0
  38. package/static/UEditor/dialogs/background/background.css +0 -94
  39. package/static/UEditor/dialogs/background/background.html +0 -56
  40. package/static/UEditor/dialogs/background/background.js +0 -376
  41. package/static/UEditor/dialogs/background/images/bg.png +0 -0
  42. package/static/UEditor/dialogs/background/images/success.png +0 -0
  43. package/static/UEditor/dialogs/charts/chart.config.js +0 -65
  44. package/static/UEditor/dialogs/charts/charts.css +0 -165
  45. package/static/UEditor/dialogs/charts/charts.html +0 -89
  46. package/static/UEditor/dialogs/charts/charts.js +0 -519
  47. package/static/UEditor/dialogs/charts/images/charts0.png +0 -0
  48. package/static/UEditor/dialogs/charts/images/charts1.png +0 -0
  49. package/static/UEditor/dialogs/charts/images/charts2.png +0 -0
  50. package/static/UEditor/dialogs/charts/images/charts3.png +0 -0
  51. package/static/UEditor/dialogs/charts/images/charts4.png +0 -0
  52. package/static/UEditor/dialogs/charts/images/charts5.png +0 -0
  53. package/static/UEditor/dialogs/emotion/emotion.css +0 -43
  54. package/static/UEditor/dialogs/emotion/emotion.html +0 -54
  55. package/static/UEditor/dialogs/emotion/emotion.js +0 -186
  56. package/static/UEditor/dialogs/emotion/images/0.gif +0 -0
  57. package/static/UEditor/dialogs/emotion/images/bface.gif +0 -0
  58. package/static/UEditor/dialogs/emotion/images/cface.gif +0 -0
  59. package/static/UEditor/dialogs/emotion/images/fface.gif +0 -0
  60. package/static/UEditor/dialogs/emotion/images/jxface2.gif +0 -0
  61. package/static/UEditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  62. package/static/UEditor/dialogs/emotion/images/tface.gif +0 -0
  63. package/static/UEditor/dialogs/emotion/images/wface.gif +0 -0
  64. package/static/UEditor/dialogs/emotion/images/yface.gif +0 -0
  65. package/static/UEditor/dialogs/gmap/gmap.html +0 -89
  66. package/static/UEditor/dialogs/help/help.css +0 -7
  67. package/static/UEditor/dialogs/help/help.html +0 -82
  68. package/static/UEditor/dialogs/help/help.js +0 -56
  69. package/static/UEditor/dialogs/image/image.css +0 -894
  70. package/static/UEditor/dialogs/image/image.html +0 -120
  71. package/static/UEditor/dialogs/image/image.js +0 -1156
  72. package/static/UEditor/dialogs/image/images/alignicon.jpg +0 -0
  73. package/static/UEditor/dialogs/image/images/bg.png +0 -0
  74. package/static/UEditor/dialogs/image/images/icons.gif +0 -0
  75. package/static/UEditor/dialogs/image/images/icons.png +0 -0
  76. package/static/UEditor/dialogs/image/images/image.png +0 -0
  77. package/static/UEditor/dialogs/image/images/progress.png +0 -0
  78. package/static/UEditor/dialogs/image/images/success.gif +0 -0
  79. package/static/UEditor/dialogs/image/images/success.png +0 -0
  80. package/static/UEditor/dialogs/insertframe/insertframe.html +0 -98
  81. package/static/UEditor/dialogs/internal.js +0 -81
  82. package/static/UEditor/dialogs/link/link.html +0 -126
  83. package/static/UEditor/dialogs/map/map.html +0 -135
  84. package/static/UEditor/dialogs/map/show.html +0 -118
  85. package/static/UEditor/dialogs/music/music.css +0 -30
  86. package/static/UEditor/dialogs/music/music.html +0 -32
  87. package/static/UEditor/dialogs/music/music.js +0 -192
  88. package/static/UEditor/dialogs/preview/preview.html +0 -40
  89. package/static/UEditor/dialogs/scrawl/images/addimg.png +0 -0
  90. package/static/UEditor/dialogs/scrawl/images/brush.png +0 -0
  91. package/static/UEditor/dialogs/scrawl/images/delimg.png +0 -0
  92. package/static/UEditor/dialogs/scrawl/images/delimgH.png +0 -0
  93. package/static/UEditor/dialogs/scrawl/images/empty.png +0 -0
  94. package/static/UEditor/dialogs/scrawl/images/emptyH.png +0 -0
  95. package/static/UEditor/dialogs/scrawl/images/eraser.png +0 -0
  96. package/static/UEditor/dialogs/scrawl/images/redo.png +0 -0
  97. package/static/UEditor/dialogs/scrawl/images/redoH.png +0 -0
  98. package/static/UEditor/dialogs/scrawl/images/scale.png +0 -0
  99. package/static/UEditor/dialogs/scrawl/images/scaleH.png +0 -0
  100. package/static/UEditor/dialogs/scrawl/images/size.png +0 -0
  101. package/static/UEditor/dialogs/scrawl/images/undo.png +0 -0
  102. package/static/UEditor/dialogs/scrawl/images/undoH.png +0 -0
  103. package/static/UEditor/dialogs/scrawl/scrawl.css +0 -72
  104. package/static/UEditor/dialogs/scrawl/scrawl.html +0 -95
  105. package/static/UEditor/dialogs/scrawl/scrawl.js +0 -671
  106. package/static/UEditor/dialogs/searchreplace/searchreplace.html +0 -102
  107. package/static/UEditor/dialogs/searchreplace/searchreplace.js +0 -164
  108. package/static/UEditor/dialogs/snapscreen/snapscreen.html +0 -58
  109. package/static/UEditor/dialogs/spechars/spechars.html +0 -21
  110. package/static/UEditor/dialogs/spechars/spechars.js +0 -57
  111. package/static/UEditor/dialogs/table/dragicon.png +0 -0
  112. package/static/UEditor/dialogs/table/edittable.css +0 -84
  113. package/static/UEditor/dialogs/table/edittable.html +0 -64
  114. package/static/UEditor/dialogs/table/edittable.js +0 -237
  115. package/static/UEditor/dialogs/table/edittd.html +0 -61
  116. package/static/UEditor/dialogs/table/edittip.html +0 -33
  117. package/static/UEditor/dialogs/template/config.js +0 -42
  118. package/static/UEditor/dialogs/template/images/bg.gif +0 -0
  119. package/static/UEditor/dialogs/template/images/pre0.png +0 -0
  120. package/static/UEditor/dialogs/template/images/pre1.png +0 -0
  121. package/static/UEditor/dialogs/template/images/pre2.png +0 -0
  122. package/static/UEditor/dialogs/template/images/pre3.png +0 -0
  123. package/static/UEditor/dialogs/template/images/pre4.png +0 -0
  124. package/static/UEditor/dialogs/template/template.css +0 -18
  125. package/static/UEditor/dialogs/template/template.html +0 -26
  126. package/static/UEditor/dialogs/template/template.js +0 -53
  127. package/static/UEditor/dialogs/video/images/bg.png +0 -0
  128. package/static/UEditor/dialogs/video/images/center_focus.jpg +0 -0
  129. package/static/UEditor/dialogs/video/images/file-icons.gif +0 -0
  130. package/static/UEditor/dialogs/video/images/file-icons.png +0 -0
  131. package/static/UEditor/dialogs/video/images/icons.gif +0 -0
  132. package/static/UEditor/dialogs/video/images/icons.png +0 -0
  133. package/static/UEditor/dialogs/video/images/image.png +0 -0
  134. package/static/UEditor/dialogs/video/images/left_focus.jpg +0 -0
  135. package/static/UEditor/dialogs/video/images/none_focus.jpg +0 -0
  136. package/static/UEditor/dialogs/video/images/progress.png +0 -0
  137. package/static/UEditor/dialogs/video/images/right_focus.jpg +0 -0
  138. package/static/UEditor/dialogs/video/images/success.gif +0 -0
  139. package/static/UEditor/dialogs/video/images/success.png +0 -0
  140. package/static/UEditor/dialogs/video/video.css +0 -635
  141. package/static/UEditor/dialogs/video/video.html +0 -86
  142. package/static/UEditor/dialogs/video/video.js +0 -797
  143. package/static/UEditor/dialogs/webapp/webapp.html +0 -53
  144. package/static/UEditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  145. package/static/UEditor/dialogs/wordimage/imageUploader.swf +0 -0
  146. package/static/UEditor/dialogs/wordimage/tangram.js +0 -1495
  147. package/static/UEditor/dialogs/wordimage/wordimage.html +0 -110
  148. package/static/UEditor/dialogs/wordimage/wordimage.js +0 -157
  149. package/static/UEditor/index.html +0 -175
  150. package/static/UEditor/jsp/config.json +0 -94
  151. package/static/UEditor/jsp/controller.jsp +0 -14
  152. package/static/UEditor/jsp/lib/commons-codec-1.9.jar +0 -0
  153. package/static/UEditor/jsp/lib/commons-fileupload-1.3.1.jar +0 -0
  154. package/static/UEditor/jsp/lib/commons-io-2.4.jar +0 -0
  155. package/static/UEditor/jsp/lib/json.jar +0 -0
  156. package/static/UEditor/jsp/lib/ueditor-1.1.2.jar +0 -0
  157. package/static/UEditor/lang/en/en.js +0 -684
  158. package/static/UEditor/lang/en/images/addimage.png +0 -0
  159. package/static/UEditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  160. package/static/UEditor/lang/en/images/alldeletebtnupskin.png +0 -0
  161. package/static/UEditor/lang/en/images/background.png +0 -0
  162. package/static/UEditor/lang/en/images/button.png +0 -0
  163. package/static/UEditor/lang/en/images/copy.png +0 -0
  164. package/static/UEditor/lang/en/images/deletedisable.png +0 -0
  165. package/static/UEditor/lang/en/images/deleteenable.png +0 -0
  166. package/static/UEditor/lang/en/images/listbackground.png +0 -0
  167. package/static/UEditor/lang/en/images/localimage.png +0 -0
  168. package/static/UEditor/lang/en/images/music.png +0 -0
  169. package/static/UEditor/lang/en/images/rotateleftdisable.png +0 -0
  170. package/static/UEditor/lang/en/images/rotateleftenable.png +0 -0
  171. package/static/UEditor/lang/en/images/rotaterightdisable.png +0 -0
  172. package/static/UEditor/lang/en/images/rotaterightenable.png +0 -0
  173. package/static/UEditor/lang/en/images/upload.png +0 -0
  174. package/static/UEditor/lang/zh-cn/images/copy.png +0 -0
  175. package/static/UEditor/lang/zh-cn/images/localimage.png +0 -0
  176. package/static/UEditor/lang/zh-cn/images/music.png +0 -0
  177. package/static/UEditor/lang/zh-cn/images/upload.png +0 -0
  178. package/static/UEditor/lang/zh-cn/zh-cn.js +0 -669
  179. package/static/UEditor/themes/default/css/ueditor.css +0 -1903
  180. package/static/UEditor/themes/default/css/ueditor.min.css +0 -8
  181. package/static/UEditor/themes/default/dialogbase.css +0 -100
  182. package/static/UEditor/themes/default/images/anchor.gif +0 -0
  183. package/static/UEditor/themes/default/images/arrow.png +0 -0
  184. package/static/UEditor/themes/default/images/arrow_down.png +0 -0
  185. package/static/UEditor/themes/default/images/arrow_up.png +0 -0
  186. package/static/UEditor/themes/default/images/button-bg.gif +0 -0
  187. package/static/UEditor/themes/default/images/cancelbutton.gif +0 -0
  188. package/static/UEditor/themes/default/images/charts.png +0 -0
  189. package/static/UEditor/themes/default/images/cursor_h.gif +0 -0
  190. package/static/UEditor/themes/default/images/cursor_h.png +0 -0
  191. package/static/UEditor/themes/default/images/cursor_v.gif +0 -0
  192. package/static/UEditor/themes/default/images/cursor_v.png +0 -0
  193. package/static/UEditor/themes/default/images/dialog-title-bg.png +0 -0
  194. package/static/UEditor/themes/default/images/filescan.png +0 -0
  195. package/static/UEditor/themes/default/images/highlighted.gif +0 -0
  196. package/static/UEditor/themes/default/images/icons-all.gif +0 -0
  197. package/static/UEditor/themes/default/images/icons.gif +0 -0
  198. package/static/UEditor/themes/default/images/icons.png +0 -0
  199. package/static/UEditor/themes/default/images/loaderror.png +0 -0
  200. package/static/UEditor/themes/default/images/loading.gif +0 -0
  201. package/static/UEditor/themes/default/images/lock.gif +0 -0
  202. package/static/UEditor/themes/default/images/neweditor-tab-bg.png +0 -0
  203. package/static/UEditor/themes/default/images/pagebreak.gif +0 -0
  204. package/static/UEditor/themes/default/images/scale.png +0 -0
  205. package/static/UEditor/themes/default/images/sortable.png +0 -0
  206. package/static/UEditor/themes/default/images/spacer.gif +0 -0
  207. package/static/UEditor/themes/default/images/sparator_v.png +0 -0
  208. package/static/UEditor/themes/default/images/table-cell-align.png +0 -0
  209. package/static/UEditor/themes/default/images/tangram-colorpicker.png +0 -0
  210. package/static/UEditor/themes/default/images/toolbar_bg.png +0 -0
  211. package/static/UEditor/themes/default/images/unhighlighted.gif +0 -0
  212. package/static/UEditor/themes/default/images/upload.png +0 -0
  213. package/static/UEditor/themes/default/images/videologo.gif +0 -0
  214. package/static/UEditor/themes/default/images/word.gif +0 -0
  215. package/static/UEditor/themes/default/images/wordpaste.png +0 -0
  216. package/static/UEditor/themes/iframe.css +0 -1
  217. package/static/UEditor/third-party/SyntaxHighlighter/shCore.js +0 -3655
  218. package/static/UEditor/third-party/SyntaxHighlighter/shCoreDefault.css +0 -1
  219. package/static/UEditor/third-party/codemirror/codemirror.css +0 -104
  220. package/static/UEditor/third-party/codemirror/codemirror.js +0 -3581
  221. package/static/UEditor/third-party/highcharts/adapters/mootools-adapter.js +0 -13
  222. package/static/UEditor/third-party/highcharts/adapters/mootools-adapter.src.js +0 -313
  223. package/static/UEditor/third-party/highcharts/adapters/prototype-adapter.js +0 -15
  224. package/static/UEditor/third-party/highcharts/adapters/prototype-adapter.src.js +0 -316
  225. package/static/UEditor/third-party/highcharts/adapters/standalone-framework.js +0 -17
  226. package/static/UEditor/third-party/highcharts/adapters/standalone-framework.src.js +0 -583
  227. package/static/UEditor/third-party/highcharts/highcharts-more.js +0 -50
  228. package/static/UEditor/third-party/highcharts/highcharts-more.src.js +0 -2430
  229. package/static/UEditor/third-party/highcharts/highcharts.js +0 -283
  230. package/static/UEditor/third-party/highcharts/highcharts.src.js +0 -16974
  231. package/static/UEditor/third-party/highcharts/modules/annotations.js +0 -7
  232. package/static/UEditor/third-party/highcharts/modules/annotations.src.js +0 -401
  233. package/static/UEditor/third-party/highcharts/modules/canvas-tools.js +0 -133
  234. package/static/UEditor/third-party/highcharts/modules/canvas-tools.src.js +0 -3113
  235. package/static/UEditor/third-party/highcharts/modules/data.js +0 -17
  236. package/static/UEditor/third-party/highcharts/modules/data.src.js +0 -582
  237. package/static/UEditor/third-party/highcharts/modules/drilldown.js +0 -11
  238. package/static/UEditor/third-party/highcharts/modules/drilldown.src.js +0 -447
  239. package/static/UEditor/third-party/highcharts/modules/exporting.js +0 -22
  240. package/static/UEditor/third-party/highcharts/modules/exporting.src.js +0 -709
  241. package/static/UEditor/third-party/highcharts/modules/funnel.js +0 -12
  242. package/static/UEditor/third-party/highcharts/modules/funnel.src.js +0 -289
  243. package/static/UEditor/third-party/highcharts/modules/heatmap.js +0 -1
  244. package/static/UEditor/third-party/highcharts/modules/heatmap.src.js +0 -53
  245. package/static/UEditor/third-party/highcharts/modules/map.js +0 -27
  246. package/static/UEditor/third-party/highcharts/modules/map.src.js +0 -1002
  247. package/static/UEditor/third-party/highcharts/modules/no-data-to-display.js +0 -12
  248. package/static/UEditor/third-party/highcharts/modules/no-data-to-display.src.js +0 -128
  249. package/static/UEditor/third-party/highcharts/themes/dark-blue.js +0 -254
  250. package/static/UEditor/third-party/highcharts/themes/dark-green.js +0 -255
  251. package/static/UEditor/third-party/highcharts/themes/gray.js +0 -257
  252. package/static/UEditor/third-party/highcharts/themes/grid.js +0 -103
  253. package/static/UEditor/third-party/highcharts/themes/skies.js +0 -89
  254. package/static/UEditor/third-party/jquery-1.10.2.js +0 -9789
  255. package/static/UEditor/third-party/jquery-1.10.2.min.js +0 -6
  256. package/static/UEditor/third-party/jquery-1.10.2.min.map +0 -1
  257. package/static/UEditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  258. package/static/UEditor/third-party/video-js/font/vjs.eot +0 -0
  259. package/static/UEditor/third-party/video-js/font/vjs.svg +0 -65
  260. package/static/UEditor/third-party/video-js/font/vjs.ttf +0 -0
  261. package/static/UEditor/third-party/video-js/font/vjs.woff +0 -0
  262. package/static/UEditor/third-party/video-js/video-js.css +0 -766
  263. package/static/UEditor/third-party/video-js/video-js.min.css +0 -5
  264. package/static/UEditor/third-party/video-js/video-js.swf +0 -0
  265. package/static/UEditor/third-party/video-js/video.dev.js +0 -7106
  266. package/static/UEditor/third-party/video-js/video.js +0 -129
  267. package/static/UEditor/third-party/webuploader/Uploader.swf +0 -0
  268. package/static/UEditor/third-party/webuploader/webuploader.css +0 -28
  269. package/static/UEditor/third-party/webuploader/webuploader.custom.js +0 -5670
  270. package/static/UEditor/third-party/webuploader/webuploader.custom.min.js +0 -2
  271. package/static/UEditor/third-party/webuploader/webuploader.flashonly.js +0 -4176
  272. package/static/UEditor/third-party/webuploader/webuploader.flashonly.min.js +0 -2
  273. package/static/UEditor/third-party/webuploader/webuploader.html5only.js +0 -5559
  274. package/static/UEditor/third-party/webuploader/webuploader.html5only.min.js +0 -2
  275. package/static/UEditor/third-party/webuploader/webuploader.js +0 -6733
  276. package/static/UEditor/third-party/webuploader/webuploader.min.js +0 -2
  277. package/static/UEditor/third-party/webuploader/webuploader.withoutimage.js +0 -4593
  278. package/static/UEditor/third-party/webuploader/webuploader.withoutimage.min.js +0 -2
  279. package/static/UEditor/third-party/xss.min.js +0 -1
  280. package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.js +0 -1256
  281. package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.min.js +0 -9
  282. package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  283. package/static/UEditor/ueditor.all.min.js +0 -29574
  284. package/static/UEditor/ueditor.config.js +0 -497
  285. package/static/UEditor/ueditor.parse.js +0 -1022
  286. package/static/UEditor/ueditor.parse.min.js +0 -7
@@ -1,186 +0,0 @@
1
- window.onload = function () {
2
- editor.setOpt({
3
- emotionLocalization:false
4
- });
5
-
6
- emotion.SmileyPath = editor.options.emotionLocalization === true ? 'images/' : "http://img.baidu.com/hi/";
7
- emotion.SmileyBox = createTabList( emotion.tabNum );
8
- emotion.tabExist = createArr( emotion.tabNum );
9
-
10
- initImgName();
11
- initEvtHandler( "tabHeads" );
12
- };
13
-
14
- function initImgName() {
15
- for ( var pro in emotion.SmilmgName ) {
16
- var tempName = emotion.SmilmgName[pro],
17
- tempBox = emotion.SmileyBox[pro],
18
- tempStr = "";
19
-
20
- if ( tempBox.length ) return;
21
- for ( var i = 1; i <= tempName[1]; i++ ) {
22
- tempStr = tempName[0];
23
- if ( i < 10 ) tempStr = tempStr + '0';
24
- tempStr = tempStr + i + '.gif';
25
- tempBox.push( tempStr );
26
- }
27
- }
28
- }
29
-
30
- function initEvtHandler( conId ) {
31
- var tabHeads = $G( conId );
32
- for ( var i = 0, j = 0; i < tabHeads.childNodes.length; i++ ) {
33
- var tabObj = tabHeads.childNodes[i];
34
- if ( tabObj.nodeType == 1 ) {
35
- domUtils.on( tabObj, "click", (function ( index ) {
36
- return function () {
37
- switchTab( index );
38
- };
39
- })( j ) );
40
- j++;
41
- }
42
- }
43
- switchTab( 0 );
44
- $G( "tabIconReview" ).style.display = 'none';
45
- }
46
-
47
- function InsertSmiley( url, evt ) {
48
- var obj = {
49
- src:editor.options.emotionLocalization ? editor.options.UEDITOR_HOME_URL + "dialogs/emotion/" + url : url
50
- };
51
- obj._src = obj.src;
52
- editor.execCommand( 'insertimage', obj );
53
- if ( !evt.ctrlKey ) {
54
- dialog.popup.hide();
55
- }
56
- }
57
-
58
- function switchTab( index ) {
59
-
60
- autoHeight( index );
61
- if ( emotion.tabExist[index] == 0 ) {
62
- emotion.tabExist[index] = 1;
63
- createTab( 'tab' + index );
64
- }
65
- //获取呈现元素句柄数组
66
- var tabHeads = $G( "tabHeads" ).getElementsByTagName( "span" ),
67
- tabBodys = $G( "tabBodys" ).getElementsByTagName( "div" ),
68
- i = 0, L = tabHeads.length;
69
- //隐藏所有呈现元素
70
- for ( ; i < L; i++ ) {
71
- tabHeads[i].className = "";
72
- tabBodys[i].style.display = "none";
73
- }
74
- //显示对应呈现元素
75
- tabHeads[index].className = "focus";
76
- tabBodys[index].style.display = "block";
77
- }
78
-
79
- function autoHeight( index ) {
80
- var iframe = dialog.getDom( "iframe" ),
81
- parent = iframe.parentNode.parentNode;
82
- switch ( index ) {
83
- case 0:
84
- iframe.style.height = "380px";
85
- parent.style.height = "392px";
86
- break;
87
- case 1:
88
- iframe.style.height = "220px";
89
- parent.style.height = "232px";
90
- break;
91
- case 2:
92
- iframe.style.height = "260px";
93
- parent.style.height = "272px";
94
- break;
95
- case 3:
96
- iframe.style.height = "300px";
97
- parent.style.height = "312px";
98
- break;
99
- case 4:
100
- iframe.style.height = "140px";
101
- parent.style.height = "152px";
102
- break;
103
- case 5:
104
- iframe.style.height = "260px";
105
- parent.style.height = "272px";
106
- break;
107
- case 6:
108
- iframe.style.height = "230px";
109
- parent.style.height = "242px";
110
- break;
111
- default:
112
-
113
- }
114
- }
115
-
116
-
117
- function createTab( tabName ) {
118
- var faceVersion = "?v=1.1", //版本号
119
- tab = $G( tabName ), //获取将要生成的Div句柄
120
- imagePath = emotion.SmileyPath + emotion.imageFolders[tabName], //获取显示表情和预览表情的路径
121
- positionLine = 11 / 2, //中间数
122
- iWidth = iHeight = 35, //图片长宽
123
- iColWidth = 3, //表格剩余空间的显示比例
124
- tableCss = emotion.imageCss[tabName],
125
- cssOffset = emotion.imageCssOffset[tabName],
126
- textHTML = ['<table class="smileytable">'],
127
- i = 0, imgNum = emotion.SmileyBox[tabName].length, imgColNum = 11, faceImage,
128
- sUrl, realUrl, posflag, offset, infor;
129
-
130
- for ( ; i < imgNum; ) {
131
- textHTML.push( '<tr>' );
132
- for ( var j = 0; j < imgColNum; j++, i++ ) {
133
- faceImage = emotion.SmileyBox[tabName][i];
134
- if ( faceImage ) {
135
- sUrl = imagePath + faceImage + faceVersion;
136
- realUrl = imagePath + faceImage;
137
- posflag = j < positionLine ? 0 : 1;
138
- offset = cssOffset * i * (-1) - 1;
139
- infor = emotion.SmileyInfor[tabName][i];
140
-
141
- textHTML.push( '<td class="' + tableCss + '" border="1" width="' + iColWidth + '%" style="border-collapse:collapse;" align="center" bgcolor="transparent" onclick="InsertSmiley(\'' + realUrl.replace( /'/g, "\\'" ) + '\',event)" onmouseover="over(this,\'' + sUrl + '\',\'' + posflag + '\')" onmouseout="out(this)">' );
142
- textHTML.push( '<span>' );
143
- textHTML.push( '<img style="background-position:left ' + offset + 'px;" title="' + infor + '" src="' + emotion.SmileyPath + (editor.options.emotionLocalization ? '0.gif" width="' : 'default/0.gif" width="') + iWidth + '" height="' + iHeight + '"></img>' );
144
- textHTML.push( '</span>' );
145
- } else {
146
- textHTML.push( '<td width="' + iColWidth + '%" bgcolor="#FFFFFF">' );
147
- }
148
- textHTML.push( '</td>' );
149
- }
150
- textHTML.push( '</tr>' );
151
- }
152
- textHTML.push( '</table>' );
153
- textHTML = textHTML.join( "" );
154
- tab.innerHTML = textHTML;
155
- }
156
-
157
- function over( td, srcPath, posFlag ) {
158
- td.style.backgroundColor = "#ACCD3C";
159
- $G( 'faceReview' ).style.backgroundImage = "url(" + srcPath + ")";
160
- if ( posFlag == 1 ) $G( "tabIconReview" ).className = "show";
161
- $G( "tabIconReview" ).style.display = 'block';
162
- }
163
-
164
- function out( td ) {
165
- td.style.backgroundColor = "transparent";
166
- var tabIconRevew = $G( "tabIconReview" );
167
- tabIconRevew.className = "";
168
- tabIconRevew.style.display = 'none';
169
- }
170
-
171
- function createTabList( tabNum ) {
172
- var obj = {};
173
- for ( var i = 0; i < tabNum; i++ ) {
174
- obj["tab" + i] = [];
175
- }
176
- return obj;
177
- }
178
-
179
- function createArr( tabNum ) {
180
- var arr = [];
181
- for ( var i = 0; i < tabNum; i++ ) {
182
- arr[i] = 0;
183
- }
184
- return arr;
185
- }
186
-
@@ -1,89 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title></title>
7
- <script type="text/javascript" src="../internal.js"></script>
8
- <style type="text/css">
9
- .content{width:530px; height: 350px;margin: 10px auto;}
10
- .content table{width: 100%}
11
- .content table td{vertical-align: middle;}
12
- #address{width:220px;height:21px;background: #FFF;border:1px solid #d7d7d7; line-height: 21px;}
13
- </style>
14
- <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
15
- </head>
16
- <body>
17
- <div class="content">
18
- <table>
19
- <tr>
20
- <td><label for="address"><var id="lang_input_address"></var></label></td>
21
- <td><input id="address" type="text" /></td>
22
- <td><a id="doSearch" href="javascript:void(0)" class="button"><var id="lang_input_search"></var></a></td>
23
- </tr>
24
- </table>
25
- <div id="container" style="width: 100%; height: 340px;margin: 5px auto; border: 1px solid gray;"></div>
26
- </div>
27
- <script type="text/javascript">
28
- domUtils.on(window,"load",function(){
29
- var map = new google.maps.Map(document.getElementById('container'), {
30
- zoom: 3,
31
- streetViewControl: false,
32
- scaleControl: true,
33
- mapTypeId: google.maps.MapTypeId.ROADMAP
34
- });
35
- var imgcss;
36
- var marker = new google.maps.Marker({
37
- map: map,
38
- draggable: true
39
- });
40
- function doSearch(){
41
- var address = document.getElementById('address').value;
42
- var geocoder = new google.maps.Geocoder();
43
- geocoder.geocode( { 'address': address}, function (results, status) {
44
- if (status == google.maps.GeocoderStatus.OK) {
45
- var bounds = results[0].geometry.viewport;
46
- map.fitBounds(bounds);
47
- marker.setPosition(results[0].geometry.location);
48
- marker.setTitle(address);
49
- } else alert(lang.searchError);
50
- });
51
- }
52
- $G('address').onkeydown = function (evt){
53
- evt = evt || event;
54
- if (evt.keyCode == 13) {
55
- doSearch();
56
- }
57
- };
58
- $G("doSearch").onclick = doSearch;
59
- dialog.onok = function (){
60
- var center = map.getCenter();
61
- var point = marker.getPosition();
62
- var url = "http://maps.googleapis.com/maps/api/staticmap?center=" + center.lat() + ',' + center.lng() + "&zoom=" + map.zoom + "&size=520x340&maptype=" + map.getMapTypeId() + "&markers=" + point.lat() + ',' + point.lng() + "&sensor=false";
63
- editor.execCommand('inserthtml', '<img width="520" height="340" src="' + url + '"' + (imgcss ? ' style="' + imgcss + '"' :'') + '/>');
64
- };
65
-
66
- function getPars(str,par){
67
- var reg = new RegExp(par+"=((\\d+|[.,])*)","g");
68
- return reg.exec(str)[1];
69
- }
70
- var img = editor.selection.getRange().getClosedNode();
71
- if(img && img.src.indexOf("http://maps.googleapis.com/maps/api/staticmap")!=-1){
72
- var url = img.getAttribute("src");
73
- var centers = getPars(url,"center").split(",");
74
- point = new google.maps.LatLng(Number(centers[0]),Number(centers[1]));
75
- map.setCenter(point);
76
- map.setZoom(Number(getPars(url,"zoom")));
77
- centers = getPars(url,"markers").split(",");
78
- marker.setPosition(new google.maps.LatLng(Number(centers[0]),Number(centers[1])));
79
- imgcss = img.style.cssText;
80
- }else{
81
- setTimeout(function(){
82
- doSearch();
83
- },30)
84
- }
85
- });
86
-
87
- </script>
88
- </body>
89
- </html>
@@ -1,7 +0,0 @@
1
- .wrapper{width: 370px;margin: 10px auto;zoom: 1;}
2
- .tabbody{height: 360px;}
3
- .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;}
4
- .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;}
5
- .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;}
6
- .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;}
7
- .tabbody table thead{font-weight: bold;line-height: 25px;}
@@ -1,82 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <title>帮助</title>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
7
- <script type="text/javascript" src="../internal.js"></script>
8
- <link rel="stylesheet" type="text/css" href="help.css">
9
- </head>
10
- <body>
11
- <div class="wrapper" id="helptab">
12
- <div id="tabHeads" class="tabhead">
13
- <span class="focus" tabsrc="about"><var id="lang_input_about"></var></span>
14
- <span tabsrc="shortcuts"><var id="lang_input_shortcuts"></var></span>
15
- </div>
16
- <div id="tabBodys" class="tabbody">
17
- <div id="about" class="panel">
18
- <h1>UEditor</h1>
19
- <p id="version"></p>
20
- <p><var id="lang_input_introduction"></var></p>
21
- </div>
22
- <div id="shortcuts" class="panel">
23
- <table>
24
- <thead>
25
- <tr>
26
- <td><var id="lang_Txt_shortcuts"></var></td>
27
- <td><var id="lang_Txt_func"></var></td>
28
- </tr>
29
- </thead>
30
- <tbody>
31
- <tr>
32
- <td>ctrl+b</td>
33
- <td><var id="lang_Txt_bold"></var></td>
34
- </tr>
35
- <tr>
36
- <td>ctrl+c</td>
37
- <td><var id="lang_Txt_copy"></var></td>
38
- </tr>
39
- <tr>
40
- <td>ctrl+x</td>
41
- <td><var id="lang_Txt_cut"></var></td>
42
- </tr>
43
- <tr>
44
- <td>ctrl+v</td>
45
- <td><var id="lang_Txt_Paste"></var></td>
46
- </tr>
47
- <tr>
48
- <td>ctrl+y</td>
49
- <td><var id="lang_Txt_undo"></var></td>
50
- </tr>
51
- <tr>
52
- <td>ctrl+z</td>
53
- <td><var id="lang_Txt_redo"></var></td>
54
- </tr>
55
- <tr>
56
- <td>ctrl+i</td>
57
- <td><var id="lang_Txt_italic"></var></td>
58
- </tr>
59
- <tr>
60
- <td>ctrl+u</td>
61
- <td><var id="lang_Txt_underline"></var></td>
62
- </tr>
63
- <tr>
64
- <td>ctrl+a</td>
65
- <td><var id="lang_Txt_selectAll"></var></td>
66
- </tr>
67
- <tr>
68
- <td>shift+enter</td>
69
- <td><var id="lang_Txt_visualEnter"></var></td>
70
- </tr>
71
- <tr>
72
- <td>alt+z</td>
73
- <td><var id="lang_Txt_fullscreen"></var></td>
74
- </tr>
75
- </tbody>
76
- </table>
77
- </div>
78
- </div>
79
- </div>
80
- <script type="text/javascript" src="help.js"></script>
81
- </body>
82
- </html>
@@ -1,56 +0,0 @@
1
- /**
2
- * Created with JetBrains PhpStorm.
3
- * User: xuheng
4
- * Date: 12-9-26
5
- * Time: 下午1:06
6
- * To change this template use File | Settings | File Templates.
7
- */
8
- /**
9
- * tab点击处理事件
10
- * @param tabHeads
11
- * @param tabBodys
12
- * @param obj
13
- */
14
- function clickHandler( tabHeads,tabBodys,obj ) {
15
- //head样式更改
16
- for ( var k = 0, len = tabHeads.length; k < len; k++ ) {
17
- tabHeads[k].className = "";
18
- }
19
- obj.className = "focus";
20
- //body显隐
21
- var tabSrc = obj.getAttribute( "tabSrc" );
22
- for ( var j = 0, length = tabBodys.length; j < length; j++ ) {
23
- var body = tabBodys[j],
24
- id = body.getAttribute( "id" );
25
- body.onclick = function(){
26
- this.style.zoom = 1;
27
- };
28
- if ( id != tabSrc ) {
29
- body.style.zIndex = 1;
30
- } else {
31
- body.style.zIndex = 200;
32
- }
33
- }
34
-
35
- }
36
-
37
- /**
38
- * TAB切换
39
- * @param tabParentId tab的父节点ID或者对象本身
40
- */
41
- function switchTab( tabParentId ) {
42
- var tabElements = $G( tabParentId ).children,
43
- tabHeads = tabElements[0].children,
44
- tabBodys = tabElements[1].children;
45
-
46
- for ( var i = 0, length = tabHeads.length; i < length; i++ ) {
47
- var head = tabHeads[i];
48
- if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head );
49
- head.onclick = function () {
50
- clickHandler(tabHeads,tabBodys,this);
51
- }
52
- }
53
- }
54
- switchTab("helptab");
55
-
56
- document.getElementById('version').innerHTML = parent.UE.version;