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,519 +0,0 @@
1
- /*
2
- * 图片转换对话框脚本
3
- **/
4
-
5
- var tableData = [],
6
- //编辑器页面table
7
- editorTable = null,
8
- chartsConfig = window.typeConfig,
9
- resizeTimer = null,
10
- //初始默认图表类型
11
- currentChartType = 0;
12
-
13
- window.onload = function () {
14
-
15
- editorTable = domUtils.findParentByTagName( editor.selection.getRange().startContainer, 'table', true);
16
-
17
- //未找到表格, 显示错误页面
18
- if ( !editorTable ) {
19
- document.body.innerHTML = "<div class='edui-charts-not-data'>未找到数据</div>";
20
- return;
21
- }
22
-
23
- //初始化图表类型选择
24
- initChartsTypeView();
25
- renderTable( editorTable );
26
- initEvent();
27
- initUserConfig( editorTable.getAttribute( "data-chart" ) );
28
- $( "#scrollBed .view-box:eq("+ currentChartType +")" ).trigger( "click" );
29
- updateViewType( currentChartType );
30
-
31
- dialog.addListener( "resize", function () {
32
-
33
- if ( resizeTimer != null ) {
34
- window.clearTimeout( resizeTimer );
35
- }
36
-
37
- resizeTimer = window.setTimeout( function () {
38
-
39
- resizeTimer = null;
40
-
41
- renderCharts();
42
-
43
- }, 500 );
44
-
45
- } );
46
-
47
- };
48
-
49
- function initChartsTypeView () {
50
-
51
- var contents = [];
52
-
53
- for ( var i = 0, len = chartsConfig.length; i<len; i++ ) {
54
-
55
- contents.push( '<div class="view-box" data-chart-type="'+ i +'"><img width="300" src="images/charts'+ i +'.png"></div>' );
56
-
57
- }
58
-
59
- $( "#scrollBed" ).html( contents.join( "" ) );
60
-
61
- }
62
-
63
- //渲染table, 以便用户修改数据
64
- function renderTable ( table ) {
65
-
66
- var tableHtml = [];
67
-
68
- //构造数据
69
- for ( var i = 0, row; row = table.rows[ i ]; i++ ) {
70
-
71
- tableData[ i ] = [];
72
- tableHtml[ i ] = [];
73
-
74
- for ( var j = 0, cell; cell = row.cells[ j ]; j++ ) {
75
-
76
- var value = getCellValue( cell );
77
-
78
- if ( i > 0 && j > 0 ) {
79
- value = +value;
80
- }
81
-
82
- if ( i === 0 || j === 0 ) {
83
- tableHtml[ i ].push( '<th>'+ value +'</th>' );
84
- } else {
85
- tableHtml[ i ].push( '<td><input type="text" class="data-item" value="'+ value +'"></td>' );
86
- }
87
-
88
- tableData[ i ][ j ] = value;
89
-
90
- }
91
-
92
- tableHtml[ i ] = tableHtml[ i ].join( "" );
93
-
94
- }
95
-
96
- //draw 表格
97
- $( "#tableContainer" ).html( '<table id="showTable" border="1"><tbody><tr>'+ tableHtml.join( "</tr><tr>" ) +'</tr></tbody></table>' );
98
-
99
- }
100
-
101
- /*
102
- * 根据表格已有的图表属性初始化当前图表属性
103
- */
104
- function initUserConfig ( config ) {
105
-
106
- var parsedConfig = {};
107
-
108
- if ( !config ) {
109
- return;
110
- }
111
-
112
- config = config.split( ";" );
113
-
114
- $.each( config, function ( index, item ) {
115
-
116
- item = item.split( ":" );
117
- parsedConfig[ item[ 0 ] ] = item[ 1 ];
118
-
119
- } );
120
-
121
- setUserConfig( parsedConfig );
122
-
123
- }
124
-
125
- function initEvent () {
126
-
127
- var cacheValue = null,
128
- //图表类型数
129
- typeViewCount = chartsConfig.length- 1,
130
- $chartsTypeViewBox = $( '#scrollBed .view-box' );
131
-
132
- $( ".charts-format" ).delegate( ".format-ctrl", "change", function () {
133
-
134
- renderCharts();
135
-
136
- } )
137
-
138
- $( ".table-view" ).delegate( ".data-item", "focus", function () {
139
-
140
- cacheValue = this.value;
141
-
142
- } ).delegate( ".data-item", "blur", function () {
143
-
144
- if ( this.value !== cacheValue ) {
145
- renderCharts();
146
- }
147
-
148
- cacheValue = null;
149
-
150
- } );
151
-
152
- $( "#buttonContainer" ).delegate( "a", "click", function (e) {
153
-
154
- e.preventDefault();
155
-
156
- if ( this.getAttribute( "data-title" ) === 'prev' ) {
157
-
158
- if ( currentChartType > 0 ) {
159
- currentChartType--;
160
- updateViewType( currentChartType );
161
- }
162
-
163
- } else {
164
-
165
- if ( currentChartType < typeViewCount ) {
166
- currentChartType++;
167
- updateViewType( currentChartType );
168
- }
169
-
170
- }
171
-
172
- } );
173
-
174
- //图表类型变化
175
- $( '#scrollBed' ).delegate( ".view-box", "click", function (e) {
176
-
177
- var index = $( this ).attr( "data-chart-type" );
178
- $chartsTypeViewBox.removeClass( "selected" );
179
- $( $chartsTypeViewBox[ index ] ).addClass( "selected" );
180
-
181
- currentChartType = index | 0;
182
-
183
- //饼图, 禁用部分配置
184
- if ( currentChartType === chartsConfig.length - 1 ) {
185
-
186
- disableNotPieConfig();
187
-
188
- //启用完整配置
189
- } else {
190
-
191
- enableNotPieConfig();
192
-
193
- }
194
-
195
- renderCharts();
196
-
197
- } );
198
-
199
- }
200
-
201
- function renderCharts () {
202
-
203
- var data = collectData();
204
-
205
- $('#chartsContainer').highcharts( $.extend( {}, chartsConfig[ currentChartType ], {
206
-
207
- credits: {
208
- enabled: false
209
- },
210
- exporting: {
211
- enabled: false
212
- },
213
- title: {
214
- text: data.title,
215
- x: -20 //center
216
- },
217
- subtitle: {
218
- text: data.subTitle,
219
- x: -20
220
- },
221
- xAxis: {
222
- title: {
223
- text: data.xTitle
224
- },
225
- categories: data.categories
226
- },
227
- yAxis: {
228
- title: {
229
- text: data.yTitle
230
- },
231
- plotLines: [{
232
- value: 0,
233
- width: 1,
234
- color: '#808080'
235
- }]
236
- },
237
- tooltip: {
238
- enabled: true,
239
- valueSuffix: data.suffix
240
- },
241
- legend: {
242
- layout: 'vertical',
243
- align: 'right',
244
- verticalAlign: 'middle',
245
- borderWidth: 1
246
- },
247
- series: data.series
248
-
249
- } ));
250
-
251
- }
252
-
253
- function updateViewType ( index ) {
254
-
255
- $( "#scrollBed" ).css( 'marginLeft', -index*324+'px' );
256
-
257
- }
258
-
259
- function collectData () {
260
-
261
- var form = document.forms[ 'data-form' ],
262
- data = null;
263
-
264
- if ( currentChartType !== chartsConfig.length - 1 ) {
265
-
266
- data = getSeriesAndCategories();
267
- $.extend( data, getUserConfig() );
268
-
269
- //饼图数据格式
270
- } else {
271
- data = getSeriesForPieChart();
272
- data.title = form[ 'title' ].value;
273
- data.suffix = form[ 'unit' ].value;
274
- }
275
-
276
- return data;
277
-
278
- }
279
-
280
- /**
281
- * 获取用户配置信息
282
- */
283
- function getUserConfig () {
284
-
285
- var form = document.forms[ 'data-form' ],
286
- info = {
287
- title: form[ 'title' ].value,
288
- subTitle: form[ 'sub-title' ].value,
289
- xTitle: form[ 'x-title' ].value,
290
- yTitle: form[ 'y-title' ].value,
291
- suffix: form[ 'unit' ].value,
292
- //数据对齐方式
293
- tableDataFormat: getTableDataFormat (),
294
- //饼图提示文字
295
- tip: $( "#tipInput" ).val()
296
- };
297
-
298
- return info;
299
-
300
- }
301
-
302
- function setUserConfig ( config ) {
303
-
304
- var form = document.forms[ 'data-form' ];
305
-
306
- config.title && ( form[ 'title' ].value = config.title );
307
- config.subTitle && ( form[ 'sub-title' ].value = config.subTitle );
308
- config.xTitle && ( form[ 'x-title' ].value = config.xTitle );
309
- config.yTitle && ( form[ 'y-title' ].value = config.yTitle );
310
- config.suffix && ( form[ 'unit' ].value = config.suffix );
311
- config.dataFormat == "-1" && ( form[ 'charts-format' ][ 1 ].checked = true );
312
- config.tip && ( form[ 'tip' ].value = config.tip );
313
- currentChartType = config.chartType || 0;
314
-
315
- }
316
-
317
- function getSeriesAndCategories () {
318
-
319
- var form = document.forms[ 'data-form' ],
320
- series = [],
321
- categories = [],
322
- tmp = [],
323
- tableData = getTableData();
324
-
325
- //反转数据
326
- if ( getTableDataFormat() === "-1" ) {
327
-
328
- for ( var i = 0, len = tableData.length; i < len; i++ ) {
329
-
330
- for ( var j = 0, jlen = tableData[ i ].length; j < jlen; j++ ) {
331
-
332
- if ( !tmp[ j ] ) {
333
- tmp[ j ] = [];
334
- }
335
-
336
- tmp[ j ][ i ] = tableData[ i ][ j ];
337
-
338
- }
339
-
340
- }
341
-
342
- tableData = tmp;
343
-
344
- }
345
-
346
- categories = tableData[0].slice( 1 );
347
-
348
- for ( var i = 1, data; data = tableData[ i ]; i++ ) {
349
-
350
- series.push( {
351
- name: data[ 0 ],
352
- data: data.slice( 1 )
353
- } );
354
-
355
- }
356
-
357
- return {
358
- series: series,
359
- categories: categories
360
- };
361
-
362
- }
363
-
364
- /*
365
- * 获取数据源数据对齐方式
366
- */
367
- function getTableDataFormat () {
368
-
369
- var form = document.forms[ 'data-form' ],
370
- items = form['charts-format'];
371
-
372
- return items[ 0 ].checked ? items[ 0 ].value : items[ 1 ].value;
373
-
374
- }
375
-
376
- /*
377
- * 禁用非饼图类型的配置项
378
- */
379
- function disableNotPieConfig() {
380
-
381
- updateConfigItem( 'disable' );
382
-
383
- }
384
-
385
- /*
386
- * 启用非饼图类型的配置项
387
- */
388
- function enableNotPieConfig() {
389
-
390
- updateConfigItem( 'enable' );
391
-
392
- }
393
-
394
- function updateConfigItem ( value ) {
395
-
396
- var table = $( "#showTable" )[ 0 ],
397
- isDisable = value === 'disable' ? true : false;
398
-
399
- //table中的input处理
400
- for ( var i = 2 , row; row = table.rows[ i ]; i++ ) {
401
-
402
- for ( var j = 1, cell; cell = row.cells[ j ]; j++ ) {
403
-
404
- $( "input", cell ).attr( "disabled", isDisable );
405
-
406
- }
407
-
408
- }
409
-
410
- //其他项处理
411
- $( "input.not-pie-item" ).attr( "disabled", isDisable );
412
- $( "#tipInput" ).attr( "disabled", !isDisable )
413
-
414
- }
415
-
416
- /*
417
- * 获取饼图数据
418
- * 饼图的数据只取第一行的
419
- **/
420
- function getSeriesForPieChart () {
421
-
422
- var series = {
423
- type: 'pie',
424
- name: $("#tipInput").val(),
425
- data: []
426
- },
427
- tableData = getTableData();
428
-
429
-
430
- for ( var j = 1, jlen = tableData[ 0 ].length; j < jlen; j++ ) {
431
-
432
- var title = tableData[ 0 ][ j ],
433
- val = tableData[ 1 ][ j ];
434
-
435
- series.data.push( [ title, val ] );
436
-
437
- }
438
-
439
- return {
440
- series: [ series ]
441
- };
442
-
443
- }
444
-
445
- function getTableData () {
446
-
447
- var table = document.getElementById( "showTable" ),
448
- xCount = table.rows[0].cells.length - 1,
449
- values = getTableInputValue();
450
-
451
- for ( var i = 0, value; value = values[ i ]; i++ ) {
452
-
453
- tableData[ Math.floor( i / xCount ) + 1 ][ i % xCount + 1 ] = values[ i ];
454
-
455
- }
456
-
457
- return tableData;
458
-
459
- }
460
-
461
- function getTableInputValue () {
462
-
463
- var table = document.getElementById( "showTable" ),
464
- inputs = table.getElementsByTagName( "input" ),
465
- values = [];
466
-
467
- for ( var i = 0, input; input = inputs[ i ]; i++ ) {
468
- values.push( input.value | 0 );
469
- }
470
-
471
- return values;
472
-
473
- }
474
-
475
- function getCellValue ( cell ) {
476
-
477
- var value = utils.trim( ( cell.innerText || cell.textContent || '' ) );
478
-
479
- return value.replace( new RegExp( UE.dom.domUtils.fillChar, 'g' ), '' ).replace( /^\s+|\s+$/g, '' );
480
-
481
- }
482
-
483
-
484
- //dialog确认事件
485
- dialog.onok = function () {
486
-
487
- //收集信息
488
- var form = document.forms[ 'data-form' ],
489
- info = getUserConfig();
490
-
491
- //添加图表类型
492
- info.chartType = currentChartType;
493
-
494
- //同步表格数据到编辑器
495
- syncTableData();
496
-
497
- //执行图表命令
498
- editor.execCommand( 'charts', info );
499
-
500
- };
501
-
502
- /*
503
- * 同步图表编辑视图的表格数据到编辑器里的原始表格
504
- */
505
- function syncTableData () {
506
-
507
- var tableData = getTableData();
508
-
509
- for ( var i = 1, row; row = editorTable.rows[ i ]; i++ ) {
510
-
511
- for ( var j = 1, cell; cell = row.cells[ j ]; j++ ) {
512
-
513
- cell.innerHTML = tableData[ i ] [ j ];
514
-
515
- }
516
-
517
- }
518
-
519
- }
@@ -1,43 +0,0 @@
1
- .jd img{
2
- background:transparent url(images/jxface2.gif?v=1.1) no-repeat scroll left top;
3
- cursor:pointer;width:35px;height:35px;display:block;
4
- }
5
- .pp img{
6
- background:transparent url(images/fface.gif?v=1.1) no-repeat scroll left top;
7
- cursor:pointer;width:25px;height:25px;display:block;
8
- }
9
- .ldw img{
10
- background:transparent url(images/wface.gif?v=1.1) no-repeat scroll left top;
11
- cursor:pointer;width:35px;height:35px;display:block;
12
- }
13
- .tsj img{
14
- background:transparent url(images/tface.gif?v=1.1) no-repeat scroll left top;
15
- cursor:pointer;width:35px;height:35px;display:block;
16
- }
17
- .cat img{
18
- background:transparent url(images/cface.gif?v=1.1) no-repeat scroll left top;
19
- cursor:pointer;width:35px;height:35px;display:block;
20
- }
21
- .bb img{
22
- background:transparent url(images/bface.gif?v=1.1) no-repeat scroll left top;
23
- cursor:pointer;width:35px;height:35px;display:block;
24
- }
25
- .youa img{
26
- background:transparent url(images/yface.gif?v=1.1) no-repeat scroll left top;
27
- cursor:pointer;width:35px;height:35px;display:block;
28
- }
29
-
30
- .smileytable td {height: 37px;}
31
- #tabPanel{margin-left:5px;overflow: hidden;}
32
- #tabContent {float:left;background:#FFFFFF;}
33
- #tabContent div{display: none;width:480px;overflow:hidden;}
34
- #tabIconReview.show{left:17px;display:block;}
35
- .menuFocus{background:#ACCD3C;}
36
- .menuDefault{background:#FFFFFF;}
37
- #tabIconReview{position:absolute;left:406px;left:398px \9;top:41px;z-index:65533;width:90px;height:76px;}
38
- img.review{width:90px;height:76px;border:2px solid #9cb945;background:#FFFFFF;background-position:center;background-repeat:no-repeat;}
39
-
40
- .wrapper .tabbody{position:relative;float:left;clear:both;padding:10px;width: 95%;}
41
- .tabbody table{width: 100%;}
42
- .tabbody td{border:1px solid #BAC498;}
43
- .tabbody td span{display: block;zoom:1;padding:0 4px;}
@@ -1,54 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2
- <html xmlns="http://www.w3.org/1999/xhtml">
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"></script>
8
- <link rel="stylesheet" type="text/css" href="emotion.css">
9
- </head>
10
- <body>
11
- <div id="tabPanel" class="wrapper">
12
- <div id="tabHeads" class="tabhead">
13
- <span><var id="lang_input_choice"></var></span>
14
- <span><var id="lang_input_Tuzki"></var></span>
15
- <span><var id="lang_input_lvdouwa"></var></span>
16
- <span><var id="lang_input_BOBO"></var></span>
17
- <span><var id="lang_input_babyCat"></var></span>
18
- <span><var id="lang_input_bubble"></var></span>
19
- <span><var id="lang_input_youa"></var></span>
20
- </div>
21
- <div id="tabBodys" class="tabbody">
22
- <div id="tab0"></div>
23
- <div id="tab1"></div>
24
- <div id="tab2"></div>
25
- <div id="tab3"></div>
26
- <div id="tab4"></div>
27
- <div id="tab5"></div>
28
- <div id="tab6"></div>
29
- </div>
30
- </div>
31
- <div id="tabIconReview">
32
- <img id='faceReview' class='review' src="../../themes/default/images/spacer.gif"/>
33
- </div>
34
- <script type="text/javascript" src="emotion.js"></script>
35
- <script type="text/javascript">
36
- var emotion = {
37
- tabNum:7, //切换面板数量
38
- SmilmgName:{ tab0:['j_00', 84], tab1:['t_00', 40], tab2:['w_00', 52], tab3:['B_00', 63], tab4:['C_00', 20], tab5:['i_f', 50], tab6:['y_00', 40] }, //图片前缀名
39
- imageFolders:{ tab0:'jx2/', tab1:'tsj/', tab2:'ldw/', tab3:'bobo/', tab4:'babycat/', tab5:'face/', tab6:'youa/'}, //图片对应文件夹路径
40
- imageCss:{tab0:'jd', tab1:'tsj', tab2:'ldw', tab3:'bb', tab4:'cat', tab5:'pp', tab6:'youa'}, //图片css类名
41
- imageCssOffset:{tab0:35, tab1:35, tab2:35, tab3:35, tab4:35, tab5:25, tab6:35}, //图片偏移
42
- SmileyInfor:{
43
- tab0:['Kiss', 'Love', 'Yeah', '啊!', '背扭', '顶', '抖胸', '88', '汗', '瞌睡', '鲁拉', '拍砖', '揉脸', '生日快乐', '大笑', '瀑布汗~', '惊讶', '臭美', '傻笑', '抛媚眼', '发怒', '打酱油', '俯卧撑', '气愤', '?', '吻', '怒', '胜利', 'HI', 'KISS', '不说', '不要', '扯花', '大心', '顶', '大惊', '飞吻', '鬼脸', '害羞', '口水', '狂哭', '来', '发财了', '吃西瓜', '套牢', '害羞', '庆祝', '我来了', '敲打', '晕了', '胜利', '臭美', '被打了', '贪吃', '迎接', '酷', '微笑', '亲吻', '调皮', '惊恐', '耍酷', '发火', '害羞', '汗水', '大哭', '', '加油', '困', '你NB', '晕倒', '开心', '偷笑', '大哭', '滴汗', '叹气', '超赞', '??', '飞吻', '天使', '撒花', '生气', '被砸', '吓傻', '随意吐'],
44
- tab1:['Kiss', 'Love', 'Yeah', '啊!', '背扭', '顶', '抖胸', '88', '汗', '瞌睡', '鲁拉', '拍砖', '揉脸', '生日快乐', '摊手', '睡觉', '瘫坐', '无聊', '星星闪', '旋转', '也不行', '郁闷', '正Music', '抓墙', '撞墙至死', '歪头', '戳眼', '飘过', '互相拍砖', '砍死你', '扔桌子', '少林寺', '什么?', '转头', '我爱牛奶', '我踢', '摇晃', '晕厥', '在笼子里', '震荡'],
45
- tab2:['大笑', '瀑布汗~', '惊讶', '臭美', '傻笑', '抛媚眼', '发怒', '我错了', 'money', '气愤', '挑逗', '吻', '怒', '胜利', '委屈', '受伤', '说啥呢?', '闭嘴', '不', '逗你玩儿', '飞吻', '眩晕', '魔法', '我来了', '睡了', '我打', '闭嘴', '打', '打晕了', '刷牙', '爆揍', '炸弹', '倒立', '刮胡子', '邪恶的笑', '不要不要', '爱恋中', '放大仔细看', '偷窥', '超高兴', '晕', '松口气', '我跑', '享受', '修养', '哭', '汗', '啊~', '热烈欢迎', '打酱油', '俯卧撑', '?'],
46
- tab3:['HI', 'KISS', '不说', '不要', '扯花', '大心', '顶', '大惊', '飞吻', '鬼脸', '害羞', '口水', '狂哭', '来', '泪眼', '流泪', '生气', '吐舌', '喜欢', '旋转', '再见', '抓狂', '汗', '鄙视', '拜', '吐血', '嘘', '打人', '蹦跳', '变脸', '扯肉', '吃To', '吃花', '吹泡泡糖', '大变身', '飞天舞', '回眸', '可怜', '猛抽', '泡泡', '苹果', '亲', '', '骚舞', '烧香', '睡', '套娃娃', '捅捅', '舞倒', '西红柿', '爱慕', '摇', '摇摆', '杂耍', '招财', '被殴', '被球闷', '大惊', '理想', '欧打', '呕吐', '碎', '吐痰'],
47
- tab4:['发财了', '吃西瓜', '套牢', '害羞', '庆祝', '我来了', '敲打', '晕了', '胜利', '臭美', '被打了', '贪吃', '迎接', '酷', '顶', '幸运', '爱心', '躲', '送花', '选择'],
48
- tab5:['微笑', '亲吻', '调皮', '惊讶', '耍酷', '发火', '害羞', '汗水', '大哭', '得意', '鄙视', '困', '夸奖', '晕倒', '疑问', '媒婆', '狂吐', '青蛙', '发愁', '亲吻', '', '爱心', '心碎', '玫瑰', '礼物', '哭', '奸笑', '可爱', '得意', '呲牙', '暴汗', '楚楚可怜', '困', '哭', '生气', '惊讶', '口水', '彩虹', '夜空', '太阳', '钱钱', '灯泡', '咖啡', '蛋糕', '音乐', '爱', '胜利', '赞', '鄙视', 'OK'],
49
- tab6:['男兜', '女兜', '开心', '乖乖', '偷笑', '大笑', '抽泣', '大哭', '无奈', '滴汗', '叹气', '狂晕', '委屈', '超赞', '??', '疑问', '飞吻', '天使', '撒花', '生气', '被砸', '口水', '泪奔', '吓傻', '吐舌头', '点头', '随意吐', '旋转', '困困', '鄙视', '狂顶', '篮球', '再见', '欢迎光临', '恭喜发财', '稍等', '我在线', '恕不议价', '库房有货', '货在路上']
50
- }
51
- };
52
- </script>
53
- </body>
54
- </html>