rails_ueditor 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. checksums.yaml +8 -8
  2. data/lib/rails_ueditor/version.rb +1 -1
  3. data/vendor/assets/javascripts/ueditor/dialogs/anchor/anchor.html +40 -0
  4. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.css +681 -0
  5. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.html +60 -0
  6. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.js +754 -0
  7. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  8. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  9. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  10. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  11. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  12. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  13. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  14. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  15. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  16. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  17. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  18. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  19. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  20. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
  21. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png +0 -0
  22. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/bg.png +0 -0
  23. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
  24. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
  25. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
  26. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
  27. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
  28. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
  29. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
  30. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
  31. data/vendor/assets/javascripts/ueditor/dialogs/background/background.css +94 -0
  32. data/vendor/assets/javascripts/ueditor/dialogs/background/background.html +56 -0
  33. data/vendor/assets/javascripts/ueditor/dialogs/background/background.js +376 -0
  34. data/vendor/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
  35. data/vendor/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
  36. data/vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js +65 -0
  37. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.css +165 -0
  38. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.html +89 -0
  39. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.js +519 -0
  40. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
  41. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
  42. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
  43. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
  44. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
  45. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
  46. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.css +43 -0
  47. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.html +54 -0
  48. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.js +186 -0
  49. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
  50. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
  51. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
  52. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
  53. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  54. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  55. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
  56. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
  57. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
  58. data/vendor/assets/javascripts/ueditor/dialogs/gmap/gmap.html +89 -0
  59. data/vendor/assets/javascripts/ueditor/dialogs/help/help.css +7 -0
  60. data/vendor/assets/javascripts/ueditor/dialogs/help/help.html +82 -0
  61. data/vendor/assets/javascripts/ueditor/dialogs/help/help.js +56 -0
  62. data/vendor/assets/javascripts/ueditor/dialogs/image/image.css +894 -0
  63. data/vendor/assets/javascripts/ueditor/dialogs/image/image.html +120 -0
  64. data/vendor/assets/javascripts/ueditor/dialogs/image/image.js +1139 -0
  65. data/vendor/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
  66. data/vendor/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
  67. data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
  68. data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
  69. data/vendor/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
  70. data/vendor/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
  71. data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
  72. data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
  73. data/vendor/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +98 -0
  74. data/vendor/assets/javascripts/ueditor/dialogs/internal.js +81 -0
  75. data/vendor/assets/javascripts/ueditor/dialogs/link/link.html +126 -0
  76. data/vendor/assets/javascripts/ueditor/dialogs/map/map.html +135 -0
  77. data/vendor/assets/javascripts/ueditor/dialogs/map/show.html +118 -0
  78. data/vendor/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
  79. data/vendor/assets/javascripts/ueditor/dialogs/music/music.html +32 -0
  80. data/vendor/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
  81. data/vendor/assets/javascripts/ueditor/dialogs/preview/preview.html +40 -0
  82. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
  83. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
  84. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
  85. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
  86. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
  87. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
  88. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
  89. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
  90. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
  91. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
  92. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
  93. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
  94. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
  95. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
  96. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +72 -0
  97. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +95 -0
  98. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +671 -0
  99. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +102 -0
  100. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +164 -0
  101. data/vendor/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +58 -0
  102. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.html +21 -0
  103. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.js +57 -0
  104. data/vendor/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
  105. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.css +84 -0
  106. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.html +64 -0
  107. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.js +237 -0
  108. data/vendor/assets/javascripts/ueditor/dialogs/table/edittd.html +61 -0
  109. data/vendor/assets/javascripts/ueditor/dialogs/table/edittip.html +33 -0
  110. data/vendor/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
  111. data/vendor/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  112. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  113. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  114. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  115. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  116. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  117. data/vendor/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
  118. data/vendor/assets/javascripts/ueditor/dialogs/template/template.html +26 -0
  119. data/vendor/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
  120. data/vendor/assets/javascripts/ueditor/dialogs/video/images/bg.png +0 -0
  121. data/vendor/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  122. data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
  123. data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
  124. data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
  125. data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
  126. data/vendor/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
  127. data/vendor/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  128. data/vendor/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  129. data/vendor/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
  130. data/vendor/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  131. data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
  132. data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
  133. data/vendor/assets/javascripts/ueditor/dialogs/video/video.css +635 -0
  134. data/vendor/assets/javascripts/ueditor/dialogs/video/video.html +86 -0
  135. data/vendor/assets/javascripts/ueditor/dialogs/video/video.js +789 -0
  136. data/vendor/assets/javascripts/ueditor/dialogs/webapp/webapp.html +53 -0
  137. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  138. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
  139. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/tangram.js +1495 -0
  140. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +111 -0
  141. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +157 -0
  142. data/vendor/assets/javascripts/ueditor/lang/en/en.js +684 -0
  143. data/vendor/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
  144. data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  145. data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
  146. data/vendor/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
  147. data/vendor/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
  148. data/vendor/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
  149. data/vendor/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
  150. data/vendor/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
  151. data/vendor/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
  152. data/vendor/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
  153. data/vendor/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
  154. data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
  155. data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
  156. data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
  157. data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
  158. data/vendor/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
  159. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
  160. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
  161. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
  162. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
  163. data/vendor/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +669 -0
  164. data/vendor/assets/javascripts/ueditor/themes/default/css/ueditor.css +1903 -0
  165. data/vendor/assets/javascripts/ueditor/themes/default/css/ueditor.min.css +8 -0
  166. data/vendor/assets/javascripts/ueditor/themes/default/dialogbase.css +100 -0
  167. data/vendor/assets/javascripts/ueditor/themes/default/images/anchor.gif +0 -0
  168. data/vendor/assets/javascripts/ueditor/themes/default/images/arrow.png +0 -0
  169. data/vendor/assets/javascripts/ueditor/themes/default/images/arrow_down.png +0 -0
  170. data/vendor/assets/javascripts/ueditor/themes/default/images/arrow_up.png +0 -0
  171. data/vendor/assets/javascripts/ueditor/themes/default/images/button-bg.gif +0 -0
  172. data/vendor/assets/javascripts/ueditor/themes/default/images/cancelbutton.gif +0 -0
  173. data/vendor/assets/javascripts/ueditor/themes/default/images/charts.png +0 -0
  174. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_h.gif +0 -0
  175. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_h.png +0 -0
  176. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_v.gif +0 -0
  177. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_v.png +0 -0
  178. data/vendor/assets/javascripts/ueditor/themes/default/images/dialog-title-bg.png +0 -0
  179. data/vendor/assets/javascripts/ueditor/themes/default/images/filescan.png +0 -0
  180. data/vendor/assets/javascripts/ueditor/themes/default/images/highlighted.gif +0 -0
  181. data/vendor/assets/javascripts/ueditor/themes/default/images/icons-all.gif +0 -0
  182. data/vendor/assets/javascripts/ueditor/themes/default/images/icons.gif +0 -0
  183. data/vendor/assets/javascripts/ueditor/themes/default/images/icons.png +0 -0
  184. data/vendor/assets/javascripts/ueditor/themes/default/images/loaderror.png +0 -0
  185. data/vendor/assets/javascripts/ueditor/themes/default/images/loading.gif +0 -0
  186. data/vendor/assets/javascripts/ueditor/themes/default/images/lock.gif +0 -0
  187. data/vendor/assets/javascripts/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
  188. data/vendor/assets/javascripts/ueditor/themes/default/images/pagebreak.gif +0 -0
  189. data/vendor/assets/javascripts/ueditor/themes/default/images/scale.png +0 -0
  190. data/vendor/assets/javascripts/ueditor/themes/default/images/sortable.png +0 -0
  191. data/vendor/assets/javascripts/ueditor/themes/default/images/spacer.gif +0 -0
  192. data/vendor/assets/javascripts/ueditor/themes/default/images/sparator_v.png +0 -0
  193. data/vendor/assets/javascripts/ueditor/themes/default/images/table-cell-align.png +0 -0
  194. data/vendor/assets/javascripts/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
  195. data/vendor/assets/javascripts/ueditor/themes/default/images/toolbar_bg.png +0 -0
  196. data/vendor/assets/javascripts/ueditor/themes/default/images/unhighlighted.gif +0 -0
  197. data/vendor/assets/javascripts/ueditor/themes/default/images/upload.png +0 -0
  198. data/vendor/assets/javascripts/ueditor/themes/default/images/videologo.gif +0 -0
  199. data/vendor/assets/javascripts/ueditor/themes/default/images/word.gif +0 -0
  200. data/vendor/assets/javascripts/ueditor/themes/default/images/wordpaste.png +0 -0
  201. data/vendor/assets/javascripts/ueditor/themes/iframe.css +1 -0
  202. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
  203. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
  204. data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +104 -0
  205. data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +3581 -0
  206. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.js +13 -0
  207. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js +313 -0
  208. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.js +15 -0
  209. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js +316 -0
  210. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.js +17 -0
  211. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.src.js +583 -0
  212. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.js +50 -0
  213. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.src.js +2430 -0
  214. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts.js +283 -0
  215. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts.src.js +16974 -0
  216. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.js +7 -0
  217. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.src.js +401 -0
  218. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.js +133 -0
  219. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.src.js +3113 -0
  220. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/data.js +17 -0
  221. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/data.src.js +582 -0
  222. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.js +11 -0
  223. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.src.js +447 -0
  224. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.js +22 -0
  225. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.src.js +709 -0
  226. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.js +12 -0
  227. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.src.js +289 -0
  228. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.js +1 -0
  229. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.src.js +53 -0
  230. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/map.js +27 -0
  231. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/map.src.js +1002 -0
  232. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js +12 -0
  233. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.src.js +128 -0
  234. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/dark-blue.js +254 -0
  235. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/dark-green.js +255 -0
  236. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/gray.js +257 -0
  237. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js +103 -0
  238. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/skies.js +89 -0
  239. data/vendor/assets/javascripts/ueditor/third-party/jquery-1.10.2.js +9789 -0
  240. data/vendor/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.js +6 -0
  241. data/vendor/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.map +1 -0
  242. data/vendor/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  243. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.eot +0 -0
  244. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.svg +65 -0
  245. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.ttf +0 -0
  246. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.woff +0 -0
  247. data/vendor/assets/javascripts/ueditor/third-party/video-js/video-js.css +766 -0
  248. data/vendor/assets/javascripts/ueditor/third-party/video-js/video-js.min.css +5 -0
  249. data/vendor/assets/javascripts/ueditor/third-party/video-js/video-js.swf +0 -0
  250. data/vendor/assets/javascripts/ueditor/third-party/video-js/video.dev.js +7108 -0
  251. data/vendor/assets/javascripts/ueditor/third-party/video-js/video.js +129 -0
  252. data/vendor/assets/javascripts/ueditor/third-party/webuploader/Uploader.swf +0 -0
  253. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.css +28 -0
  254. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.js +5670 -0
  255. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.min.js +2 -0
  256. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.js +4176 -0
  257. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.min.js +2 -0
  258. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.js +5559 -0
  259. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.min.js +2 -0
  260. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.js +6733 -0
  261. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.min.js +2 -0
  262. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.js +4593 -0
  263. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.min.js +2 -0
  264. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
  265. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
  266. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  267. data/vendor/assets/javascripts/ueditor/ueditor.all.js +29429 -0
  268. data/vendor/assets/javascripts/ueditor/ueditor.all.min.js +709 -0
  269. data/vendor/assets/javascripts/ueditor/ueditor.config.js +413 -0
  270. data/vendor/assets/javascripts/ueditor/ueditor.parse.js +1022 -0
  271. data/vendor/assets/javascripts/ueditor/ueditor.parse.min.js +28 -0
  272. metadata +270 -1
@@ -0,0 +1,11 @@
1
+ (function(e){function q(b,a,c){return"rgba("+[Math.round(b[0]+(a[0]-b[0])*c),Math.round(b[1]+(a[1]-b[1])*c),Math.round(b[2]+(a[2]-b[2])*c),b[3]+(a[3]-b[3])*c].join(",")+")"}var m=function(){},j=e.getOptions(),g=e.each,n=e.extend,o=e.wrap,h=e.Chart,i=e.seriesTypes,k=i.pie,l=i.column,r=HighchartsAdapter.fireEvent;n(j.lang,{drillUpText:"◁ Back to {series.name}"});j.drilldown={activeAxisLabelStyle:{cursor:"pointer",color:"#039",fontWeight:"bold",textDecoration:"underline"},activeDataLabelStyle:{cursor:"pointer",
2
+ color:"#039",fontWeight:"bold",textDecoration:"underline"},animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}}};e.SVGRenderer.prototype.Element.prototype.fadeIn=function(){this.attr({opacity:0.1,visibility:"visible"}).animate({opacity:1},{duration:250})};h.prototype.drilldownLevels=[];h.prototype.addSeriesAsDrilldown=function(b,a){var c=b.series,d=c.xAxis,f=c.yAxis,e;e=b.color||c.color;var g,a=n({color:e},a);g=HighchartsAdapter.inArray(this,c.points);this.drilldownLevels.push({seriesOptions:c.userOptions,
3
+ shapeArgs:b.shapeArgs,bBox:b.graphic.getBBox(),color:e,newSeries:a,pointOptions:c.options.data[g],pointIndex:g,oldExtremes:{xMin:d&&d.userMin,xMax:d&&d.userMax,yMin:f&&f.userMin,yMax:f&&f.userMax}});e=this.addSeries(a,!1);if(d)d.oldPos=d.pos,d.userMin=d.userMax=null,f.userMin=f.userMax=null;if(c.type===e.type)e.animate=e.animateDrilldown||m,e.options.animation=!0;c.remove(!1);this.redraw();this.showDrillUpButton()};h.prototype.getDrilldownBackText=function(){return this.options.lang.drillUpText.replace("{series.name}",
4
+ this.drilldownLevels[this.drilldownLevels.length-1].seriesOptions.name)};h.prototype.showDrillUpButton=function(){var b=this,a=this.getDrilldownBackText(),c=b.options.drilldown.drillUpButton;this.drillUpButton?this.drillUpButton.attr({text:a}).align():this.drillUpButton=this.renderer.button(a,null,null,function(){b.drillUp()}).attr(n({align:c.position.align,zIndex:9},c.theme)).add().align(c.position,!1,c.relativeTo||"plotBox")};h.prototype.drillUp=function(){var b=this.drilldownLevels.pop(),a=this.series[0],
5
+ c=b.oldExtremes,d=this.addSeries(b.seriesOptions,!1);r(this,"drillup",{seriesOptions:b.seriesOptions});if(d.type===a.type)d.drilldownLevel=b,d.animate=d.animateDrillupTo||m,d.options.animation=!0,a.animateDrillupFrom&&a.animateDrillupFrom(b);a.remove(!1);d.xAxis&&(d.xAxis.setExtremes(c.xMin,c.xMax,!1),d.yAxis.setExtremes(c.yMin,c.yMax,!1));this.redraw();this.drilldownLevels.length===0?this.drillUpButton=this.drillUpButton.destroy():this.drillUpButton.attr({text:this.getDrilldownBackText()}).align()};
6
+ k.prototype.animateDrilldown=function(b){var a=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],c=this.chart.options.drilldown.animation,d=a.shapeArgs,f=d.start,s=(d.end-f)/this.points.length,h=e.Color(a.color).rgba;b||g(this.points,function(a,b){var g=e.Color(a.color).rgba;a.graphic.attr(e.merge(d,{start:f+b*s,end:f+(b+1)*s})).animate(a.shapeArgs,e.merge(c,{step:function(a,d){d.prop==="start"&&this.attr({fill:q(h,g,d.pos)})}}))})};k.prototype.animateDrillupTo=l.prototype.animateDrillupTo=
7
+ function(b){if(!b){var a=this,c=a.drilldownLevel;g(this.points,function(a){a.graphic.hide();a.dataLabel&&a.dataLabel.hide();a.connector&&a.connector.hide()});setTimeout(function(){g(a.points,function(a,b){var e=b===c.pointIndex?"show":"fadeIn";a.graphic[e]();if(a.dataLabel)a.dataLabel[e]();if(a.connector)a.connector[e]()})},Math.max(this.chart.options.drilldown.animation.duration-50,0));this.animate=m}};l.prototype.animateDrilldown=function(b){var a=this.chart.drilldownLevels[this.chart.drilldownLevels.length-
8
+ 1].shapeArgs,c=this.chart.options.drilldown.animation;b||(a.x+=this.xAxis.oldPos-this.xAxis.pos,g(this.points,function(b){b.graphic.attr(a).animate(b.shapeArgs,c)}))};l.prototype.animateDrillupFrom=k.prototype.animateDrillupFrom=function(b){var a=this.chart.options.drilldown.animation,c=this.group;delete this.group;g(this.points,function(d){var f=d.graphic,g=e.Color(d.color).rgba;delete d.graphic;f.animate(b.shapeArgs,e.merge(a,{step:function(a,c){c.prop==="start"&&this.attr({fill:q(g,e.Color(b.color).rgba,
9
+ c.pos)})},complete:function(){f.destroy();c&&(c=c.destroy())}}))})};e.Point.prototype.doDrilldown=function(){for(var b=this.series.chart,a=b.options.drilldown,c=a.series.length,d;c--&&!d;)a.series[c].id===this.drilldown&&(d=a.series[c]);r(b,"drilldown",{point:this,seriesOptions:d});d&&b.addSeriesAsDrilldown(this,d)};o(e.Point.prototype,"init",function(b,a,c,d){var f=b.call(this,a,c,d),b=a.chart,a=(a=a.xAxis&&a.xAxis.ticks[d])&&a.label;if(f.drilldown){if(e.addEvent(f,"click",function(){f.doDrilldown()}),
10
+ a){if(!a._basicStyle)a._basicStyle=a.element.getAttribute("style");a.addClass("highcharts-drilldown-axis-label").css(b.options.drilldown.activeAxisLabelStyle).on("click",function(){f.doDrilldown&&f.doDrilldown()})}}else a&&a._basicStyle&&a.element.setAttribute("style",a._basicStyle);return f});o(e.Series.prototype,"drawDataLabels",function(b){var a=this.chart.options.drilldown.activeDataLabelStyle;b.call(this);g(this.points,function(b){if(b.drilldown&&b.dataLabel)b.dataLabel.attr({"class":"highcharts-drilldown-data-label"}).css(a).on("click",
11
+ function(){b.doDrilldown()})})});l.prototype.supportsDrilldown=!0;k.prototype.supportsDrilldown=!0;var p,j=function(b){b.call(this);g(this.points,function(a){a.drilldown&&a.graphic&&a.graphic.attr({"class":"highcharts-drilldown-point"}).css({cursor:"pointer"})})};for(p in i)i[p].prototype.supportsDrilldown&&o(i[p].prototype,"drawTracker",j)})(Highcharts);
@@ -0,0 +1,447 @@
1
+ /**
2
+ * Highcharts Drilldown plugin
3
+ *
4
+ * Author: Torstein Honsi
5
+ * Last revision: 2013-02-18
6
+ * License: MIT License
7
+ *
8
+ * Demo: http://jsfiddle.net/highcharts/Vf3yT/
9
+ */
10
+
11
+ /*global HighchartsAdapter*/
12
+ (function (H) {
13
+
14
+ "use strict";
15
+
16
+ var noop = function () {},
17
+ defaultOptions = H.getOptions(),
18
+ each = H.each,
19
+ extend = H.extend,
20
+ wrap = H.wrap,
21
+ Chart = H.Chart,
22
+ seriesTypes = H.seriesTypes,
23
+ PieSeries = seriesTypes.pie,
24
+ ColumnSeries = seriesTypes.column,
25
+ fireEvent = HighchartsAdapter.fireEvent;
26
+
27
+ // Utilities
28
+ function tweenColors(startColor, endColor, pos) {
29
+ var rgba = [
30
+ Math.round(startColor[0] + (endColor[0] - startColor[0]) * pos),
31
+ Math.round(startColor[1] + (endColor[1] - startColor[1]) * pos),
32
+ Math.round(startColor[2] + (endColor[2] - startColor[2]) * pos),
33
+ startColor[3] + (endColor[3] - startColor[3]) * pos
34
+ ];
35
+ return 'rgba(' + rgba.join(',') + ')';
36
+ }
37
+
38
+ // Add language
39
+ extend(defaultOptions.lang, {
40
+ drillUpText: '◁ Back to {series.name}'
41
+ });
42
+ defaultOptions.drilldown = {
43
+ activeAxisLabelStyle: {
44
+ cursor: 'pointer',
45
+ color: '#039',
46
+ fontWeight: 'bold',
47
+ textDecoration: 'underline'
48
+ },
49
+ activeDataLabelStyle: {
50
+ cursor: 'pointer',
51
+ color: '#039',
52
+ fontWeight: 'bold',
53
+ textDecoration: 'underline'
54
+ },
55
+ animation: {
56
+ duration: 500
57
+ },
58
+ drillUpButton: {
59
+ position: {
60
+ align: 'right',
61
+ x: -10,
62
+ y: 10
63
+ }
64
+ // relativeTo: 'plotBox'
65
+ // theme
66
+ }
67
+ };
68
+
69
+ /**
70
+ * A general fadeIn method
71
+ */
72
+ H.SVGRenderer.prototype.Element.prototype.fadeIn = function () {
73
+ this
74
+ .attr({
75
+ opacity: 0.1,
76
+ visibility: 'visible'
77
+ })
78
+ .animate({
79
+ opacity: 1
80
+ }, {
81
+ duration: 250
82
+ });
83
+ };
84
+
85
+ // Extend the Chart prototype
86
+ Chart.prototype.drilldownLevels = [];
87
+
88
+ Chart.prototype.addSeriesAsDrilldown = function (point, ddOptions) {
89
+ var oldSeries = point.series,
90
+ xAxis = oldSeries.xAxis,
91
+ yAxis = oldSeries.yAxis,
92
+ newSeries,
93
+ color = point.color || oldSeries.color,
94
+ pointIndex,
95
+ level;
96
+
97
+ ddOptions = extend({
98
+ color: color
99
+ }, ddOptions);
100
+ pointIndex = HighchartsAdapter.inArray(this, oldSeries.points);
101
+ level = {
102
+ seriesOptions: oldSeries.userOptions,
103
+ shapeArgs: point.shapeArgs,
104
+ bBox: point.graphic.getBBox(),
105
+ color: color,
106
+ newSeries: ddOptions,
107
+ pointOptions: oldSeries.options.data[pointIndex],
108
+ pointIndex: pointIndex,
109
+ oldExtremes: {
110
+ xMin: xAxis && xAxis.userMin,
111
+ xMax: xAxis && xAxis.userMax,
112
+ yMin: yAxis && yAxis.userMin,
113
+ yMax: yAxis && yAxis.userMax
114
+ }
115
+ };
116
+
117
+ this.drilldownLevels.push(level);
118
+
119
+ newSeries = this.addSeries(ddOptions, false);
120
+ if (xAxis) {
121
+ xAxis.oldPos = xAxis.pos;
122
+ xAxis.userMin = xAxis.userMax = null;
123
+ yAxis.userMin = yAxis.userMax = null;
124
+ }
125
+
126
+ // Run fancy cross-animation on supported and equal types
127
+ if (oldSeries.type === newSeries.type) {
128
+ newSeries.animate = newSeries.animateDrilldown || noop;
129
+ newSeries.options.animation = true;
130
+ }
131
+
132
+ oldSeries.remove(false);
133
+
134
+ this.redraw();
135
+ this.showDrillUpButton();
136
+ };
137
+
138
+ Chart.prototype.getDrilldownBackText = function () {
139
+ var lastLevel = this.drilldownLevels[this.drilldownLevels.length - 1];
140
+
141
+ return this.options.lang.drillUpText.replace('{series.name}', lastLevel.seriesOptions.name);
142
+
143
+ };
144
+
145
+ Chart.prototype.showDrillUpButton = function () {
146
+ var chart = this,
147
+ backText = this.getDrilldownBackText(),
148
+ buttonOptions = chart.options.drilldown.drillUpButton;
149
+
150
+
151
+ if (!this.drillUpButton) {
152
+ this.drillUpButton = this.renderer.button(
153
+ backText,
154
+ null,
155
+ null,
156
+ function () {
157
+ chart.drillUp();
158
+ }
159
+ )
160
+ .attr(extend({
161
+ align: buttonOptions.position.align,
162
+ zIndex: 9
163
+ }, buttonOptions.theme))
164
+ .add()
165
+ .align(buttonOptions.position, false, buttonOptions.relativeTo || 'plotBox');
166
+ } else {
167
+ this.drillUpButton.attr({
168
+ text: backText
169
+ })
170
+ .align();
171
+ }
172
+ };
173
+
174
+ Chart.prototype.drillUp = function () {
175
+ var chart = this,
176
+ level = chart.drilldownLevels.pop(),
177
+ oldSeries = chart.series[0],
178
+ oldExtremes = level.oldExtremes,
179
+ newSeries = chart.addSeries(level.seriesOptions, false);
180
+
181
+ fireEvent(chart, 'drillup', { seriesOptions: level.seriesOptions });
182
+
183
+ if (newSeries.type === oldSeries.type) {
184
+ newSeries.drilldownLevel = level;
185
+ newSeries.animate = newSeries.animateDrillupTo || noop;
186
+ newSeries.options.animation = true;
187
+
188
+ if (oldSeries.animateDrillupFrom) {
189
+ oldSeries.animateDrillupFrom(level);
190
+ }
191
+ }
192
+
193
+ oldSeries.remove(false);
194
+
195
+ // Reset the zoom level of the upper series
196
+ if (newSeries.xAxis) {
197
+ newSeries.xAxis.setExtremes(oldExtremes.xMin, oldExtremes.xMax, false);
198
+ newSeries.yAxis.setExtremes(oldExtremes.yMin, oldExtremes.yMax, false);
199
+ }
200
+
201
+
202
+ this.redraw();
203
+
204
+ if (this.drilldownLevels.length === 0) {
205
+ this.drillUpButton = this.drillUpButton.destroy();
206
+ } else {
207
+ this.drillUpButton.attr({
208
+ text: this.getDrilldownBackText()
209
+ })
210
+ .align();
211
+ }
212
+ };
213
+
214
+ PieSeries.prototype.animateDrilldown = function (init) {
215
+ var level = this.chart.drilldownLevels[this.chart.drilldownLevels.length - 1],
216
+ animationOptions = this.chart.options.drilldown.animation,
217
+ animateFrom = level.shapeArgs,
218
+ start = animateFrom.start,
219
+ angle = animateFrom.end - start,
220
+ startAngle = angle / this.points.length,
221
+ startColor = H.Color(level.color).rgba;
222
+
223
+ if (!init) {
224
+ each(this.points, function (point, i) {
225
+ var endColor = H.Color(point.color).rgba;
226
+
227
+ /*jslint unparam: true*/
228
+ point.graphic
229
+ .attr(H.merge(animateFrom, {
230
+ start: start + i * startAngle,
231
+ end: start + (i + 1) * startAngle
232
+ }))
233
+ .animate(point.shapeArgs, H.merge(animationOptions, {
234
+ step: function (val, fx) {
235
+ if (fx.prop === 'start') {
236
+ this.attr({
237
+ fill: tweenColors(startColor, endColor, fx.pos)
238
+ });
239
+ }
240
+ }
241
+ }));
242
+ /*jslint unparam: false*/
243
+ });
244
+ }
245
+ };
246
+
247
+
248
+ /**
249
+ * When drilling up, keep the upper series invisible until the lower series has
250
+ * moved into place
251
+ */
252
+ PieSeries.prototype.animateDrillupTo =
253
+ ColumnSeries.prototype.animateDrillupTo = function (init) {
254
+ if (!init) {
255
+ var newSeries = this,
256
+ level = newSeries.drilldownLevel;
257
+
258
+ each(this.points, function (point) {
259
+ point.graphic.hide();
260
+ if (point.dataLabel) {
261
+ point.dataLabel.hide();
262
+ }
263
+ if (point.connector) {
264
+ point.connector.hide();
265
+ }
266
+ });
267
+
268
+
269
+ // Do dummy animation on first point to get to complete
270
+ setTimeout(function () {
271
+ each(newSeries.points, function (point, i) {
272
+ // Fade in other points
273
+ var verb = i === level.pointIndex ? 'show' : 'fadeIn';
274
+ point.graphic[verb]();
275
+ if (point.dataLabel) {
276
+ point.dataLabel[verb]();
277
+ }
278
+ if (point.connector) {
279
+ point.connector[verb]();
280
+ }
281
+ });
282
+ }, Math.max(this.chart.options.drilldown.animation.duration - 50, 0));
283
+
284
+ // Reset
285
+ this.animate = noop;
286
+ }
287
+
288
+ };
289
+
290
+ ColumnSeries.prototype.animateDrilldown = function (init) {
291
+ var animateFrom = this.chart.drilldownLevels[this.chart.drilldownLevels.length - 1].shapeArgs,
292
+ animationOptions = this.chart.options.drilldown.animation;
293
+
294
+ if (!init) {
295
+
296
+ animateFrom.x += (this.xAxis.oldPos - this.xAxis.pos);
297
+
298
+ each(this.points, function (point) {
299
+ point.graphic
300
+ .attr(animateFrom)
301
+ .animate(point.shapeArgs, animationOptions);
302
+ });
303
+ }
304
+
305
+ };
306
+
307
+ /**
308
+ * When drilling up, pull out the individual point graphics from the lower series
309
+ * and animate them into the origin point in the upper series.
310
+ */
311
+ ColumnSeries.prototype.animateDrillupFrom =
312
+ PieSeries.prototype.animateDrillupFrom =
313
+ function (level) {
314
+ var animationOptions = this.chart.options.drilldown.animation,
315
+ group = this.group;
316
+
317
+ delete this.group;
318
+ each(this.points, function (point) {
319
+ var graphic = point.graphic,
320
+ startColor = H.Color(point.color).rgba;
321
+
322
+ delete point.graphic;
323
+
324
+ /*jslint unparam: true*/
325
+ graphic.animate(level.shapeArgs, H.merge(animationOptions, {
326
+
327
+ step: function (val, fx) {
328
+ if (fx.prop === 'start') {
329
+ this.attr({
330
+ fill: tweenColors(startColor, H.Color(level.color).rgba, fx.pos)
331
+ });
332
+ }
333
+ },
334
+ complete: function () {
335
+ graphic.destroy();
336
+ if (group) {
337
+ group = group.destroy();
338
+ }
339
+ }
340
+ }));
341
+ /*jslint unparam: false*/
342
+ });
343
+ };
344
+
345
+ H.Point.prototype.doDrilldown = function () {
346
+ var series = this.series,
347
+ chart = series.chart,
348
+ drilldown = chart.options.drilldown,
349
+ i = drilldown.series.length,
350
+ seriesOptions;
351
+
352
+ while (i-- && !seriesOptions) {
353
+ if (drilldown.series[i].id === this.drilldown) {
354
+ seriesOptions = drilldown.series[i];
355
+ }
356
+ }
357
+
358
+ // Fire the event. If seriesOptions is undefined, the implementer can check for
359
+ // seriesOptions, and call addSeriesAsDrilldown async if necessary.
360
+ fireEvent(chart, 'drilldown', {
361
+ point: this,
362
+ seriesOptions: seriesOptions
363
+ });
364
+
365
+ if (seriesOptions) {
366
+ chart.addSeriesAsDrilldown(this, seriesOptions);
367
+ }
368
+
369
+ };
370
+
371
+ wrap(H.Point.prototype, 'init', function (proceed, series, options, x) {
372
+ var point = proceed.call(this, series, options, x),
373
+ chart = series.chart,
374
+ tick = series.xAxis && series.xAxis.ticks[x],
375
+ tickLabel = tick && tick.label;
376
+
377
+ if (point.drilldown) {
378
+
379
+ // Add the click event to the point label
380
+ H.addEvent(point, 'click', function () {
381
+ point.doDrilldown();
382
+ });
383
+
384
+ // Make axis labels clickable
385
+ if (tickLabel) {
386
+ if (!tickLabel._basicStyle) {
387
+ tickLabel._basicStyle = tickLabel.element.getAttribute('style');
388
+ }
389
+ tickLabel
390
+ .addClass('highcharts-drilldown-axis-label')
391
+ .css(chart.options.drilldown.activeAxisLabelStyle)
392
+ .on('click', function () {
393
+ if (point.doDrilldown) {
394
+ point.doDrilldown();
395
+ }
396
+ });
397
+
398
+ }
399
+ } else if (tickLabel && tickLabel._basicStyle) {
400
+ tickLabel.element.setAttribute('style', tickLabel._basicStyle);
401
+ }
402
+
403
+ return point;
404
+ });
405
+
406
+ wrap(H.Series.prototype, 'drawDataLabels', function (proceed) {
407
+ var css = this.chart.options.drilldown.activeDataLabelStyle;
408
+
409
+ proceed.call(this);
410
+
411
+ each(this.points, function (point) {
412
+ if (point.drilldown && point.dataLabel) {
413
+ point.dataLabel
414
+ .attr({
415
+ 'class': 'highcharts-drilldown-data-label'
416
+ })
417
+ .css(css)
418
+ .on('click', function () {
419
+ point.doDrilldown();
420
+ });
421
+ }
422
+ });
423
+ });
424
+
425
+ // Mark the trackers with a pointer
426
+ ColumnSeries.prototype.supportsDrilldown = true;
427
+ PieSeries.prototype.supportsDrilldown = true;
428
+ var type,
429
+ drawTrackerWrapper = function (proceed) {
430
+ proceed.call(this);
431
+ each(this.points, function (point) {
432
+ if (point.drilldown && point.graphic) {
433
+ point.graphic
434
+ .attr({
435
+ 'class': 'highcharts-drilldown-point'
436
+ })
437
+ .css({ cursor: 'pointer' });
438
+ }
439
+ });
440
+ };
441
+ for (type in seriesTypes) {
442
+ if (seriesTypes[type].prototype.supportsDrilldown) {
443
+ wrap(seriesTypes[type].prototype, 'drawTracker', drawTrackerWrapper);
444
+ }
445
+ }
446
+
447
+ }(Highcharts));