activeadmin_ueditor 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +56 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE +21 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.md +61 -0
  7. data/Rakefile +3 -0
  8. data/activeadmin_ueditor.gemspec +20 -0
  9. data/app/assets/javascripts/.DS_Store +0 -0
  10. data/app/assets/javascripts/activeadmin/.DS_Store +0 -0
  11. data/app/assets/javascripts/activeadmin/ueditor/.DS_Store +0 -0
  12. data/app/assets/javascripts/activeadmin/ueditor/ueditor.all.js +29568 -0
  13. data/app/assets/javascripts/activeadmin/ueditor/ueditor.all.min.js +18 -0
  14. data/app/assets/javascripts/activeadmin/ueditor/ueditor.config.js +414 -0
  15. data/app/assets/javascripts/activeadmin/ueditor_input.js +14 -0
  16. data/lib/activeadmin/ueditor/engine.rb +11 -0
  17. data/lib/activeadmin/ueditor/version.rb +7 -0
  18. data/lib/activeadmin/ueditor.rb +3 -0
  19. data/lib/activeadmin_ueditor.rb +5 -0
  20. data/lib/formtastic/inputs/ueditor_input.rb +16 -0
  21. data/public/assets/ueditor/dialogs/anchor/anchor.html +40 -0
  22. data/public/assets/ueditor/dialogs/attachment/attachment.css +681 -0
  23. data/public/assets/ueditor/dialogs/attachment/attachment.html +60 -0
  24. data/public/assets/ueditor/dialogs/attachment/attachment.js +754 -0
  25. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  26. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  27. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  28. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  29. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  30. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  31. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  32. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  33. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  34. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  35. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  36. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  37. data/public/assets/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  38. data/public/assets/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
  39. data/public/assets/ueditor/dialogs/attachment/images/alignicon.png +0 -0
  40. data/public/assets/ueditor/dialogs/attachment/images/bg.png +0 -0
  41. data/public/assets/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
  42. data/public/assets/ueditor/dialogs/attachment/images/file-icons.png +0 -0
  43. data/public/assets/ueditor/dialogs/attachment/images/icons.gif +0 -0
  44. data/public/assets/ueditor/dialogs/attachment/images/icons.png +0 -0
  45. data/public/assets/ueditor/dialogs/attachment/images/image.png +0 -0
  46. data/public/assets/ueditor/dialogs/attachment/images/progress.png +0 -0
  47. data/public/assets/ueditor/dialogs/attachment/images/success.gif +0 -0
  48. data/public/assets/ueditor/dialogs/attachment/images/success.png +0 -0
  49. data/public/assets/ueditor/dialogs/background/background.css +94 -0
  50. data/public/assets/ueditor/dialogs/background/background.html +56 -0
  51. data/public/assets/ueditor/dialogs/background/background.js +376 -0
  52. data/public/assets/ueditor/dialogs/background/images/bg.png +0 -0
  53. data/public/assets/ueditor/dialogs/background/images/success.png +0 -0
  54. data/public/assets/ueditor/dialogs/charts/chart.config.js +65 -0
  55. data/public/assets/ueditor/dialogs/charts/charts.css +165 -0
  56. data/public/assets/ueditor/dialogs/charts/charts.html +89 -0
  57. data/public/assets/ueditor/dialogs/charts/charts.js +519 -0
  58. data/public/assets/ueditor/dialogs/charts/images/charts0.png +0 -0
  59. data/public/assets/ueditor/dialogs/charts/images/charts1.png +0 -0
  60. data/public/assets/ueditor/dialogs/charts/images/charts2.png +0 -0
  61. data/public/assets/ueditor/dialogs/charts/images/charts3.png +0 -0
  62. data/public/assets/ueditor/dialogs/charts/images/charts4.png +0 -0
  63. data/public/assets/ueditor/dialogs/charts/images/charts5.png +0 -0
  64. data/public/assets/ueditor/dialogs/emotion/emotion.css +43 -0
  65. data/public/assets/ueditor/dialogs/emotion/emotion.html +54 -0
  66. data/public/assets/ueditor/dialogs/emotion/emotion.js +186 -0
  67. data/public/assets/ueditor/dialogs/emotion/images/0.gif +0 -0
  68. data/public/assets/ueditor/dialogs/emotion/images/bface.gif +0 -0
  69. data/public/assets/ueditor/dialogs/emotion/images/cface.gif +0 -0
  70. data/public/assets/ueditor/dialogs/emotion/images/fface.gif +0 -0
  71. data/public/assets/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  72. data/public/assets/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  73. data/public/assets/ueditor/dialogs/emotion/images/tface.gif +0 -0
  74. data/public/assets/ueditor/dialogs/emotion/images/wface.gif +0 -0
  75. data/public/assets/ueditor/dialogs/emotion/images/yface.gif +0 -0
  76. data/public/assets/ueditor/dialogs/gmap/gmap.html +89 -0
  77. data/public/assets/ueditor/dialogs/help/help.css +7 -0
  78. data/public/assets/ueditor/dialogs/help/help.html +82 -0
  79. data/public/assets/ueditor/dialogs/help/help.js +56 -0
  80. data/public/assets/ueditor/dialogs/image/image.css +894 -0
  81. data/public/assets/ueditor/dialogs/image/image.html +120 -0
  82. data/public/assets/ueditor/dialogs/image/image.js +1142 -0
  83. data/public/assets/ueditor/dialogs/image/images/alignicon.jpg +0 -0
  84. data/public/assets/ueditor/dialogs/image/images/bg.png +0 -0
  85. data/public/assets/ueditor/dialogs/image/images/icons.gif +0 -0
  86. data/public/assets/ueditor/dialogs/image/images/icons.png +0 -0
  87. data/public/assets/ueditor/dialogs/image/images/image.png +0 -0
  88. data/public/assets/ueditor/dialogs/image/images/progress.png +0 -0
  89. data/public/assets/ueditor/dialogs/image/images/success.gif +0 -0
  90. data/public/assets/ueditor/dialogs/image/images/success.png +0 -0
  91. data/public/assets/ueditor/dialogs/insertframe/insertframe.html +98 -0
  92. data/public/assets/ueditor/dialogs/internal.js +81 -0
  93. data/public/assets/ueditor/dialogs/link/link.html +126 -0
  94. data/public/assets/ueditor/dialogs/map/map.html +135 -0
  95. data/public/assets/ueditor/dialogs/map/show.html +118 -0
  96. data/public/assets/ueditor/dialogs/music/music.css +30 -0
  97. data/public/assets/ueditor/dialogs/music/music.html +32 -0
  98. data/public/assets/ueditor/dialogs/music/music.js +192 -0
  99. data/public/assets/ueditor/dialogs/preview/preview.html +40 -0
  100. data/public/assets/ueditor/dialogs/scrawl/images/addimg.png +0 -0
  101. data/public/assets/ueditor/dialogs/scrawl/images/brush.png +0 -0
  102. data/public/assets/ueditor/dialogs/scrawl/images/delimg.png +0 -0
  103. data/public/assets/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
  104. data/public/assets/ueditor/dialogs/scrawl/images/empty.png +0 -0
  105. data/public/assets/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
  106. data/public/assets/ueditor/dialogs/scrawl/images/eraser.png +0 -0
  107. data/public/assets/ueditor/dialogs/scrawl/images/redo.png +0 -0
  108. data/public/assets/ueditor/dialogs/scrawl/images/redoH.png +0 -0
  109. data/public/assets/ueditor/dialogs/scrawl/images/scale.png +0 -0
  110. data/public/assets/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
  111. data/public/assets/ueditor/dialogs/scrawl/images/size.png +0 -0
  112. data/public/assets/ueditor/dialogs/scrawl/images/undo.png +0 -0
  113. data/public/assets/ueditor/dialogs/scrawl/images/undoH.png +0 -0
  114. data/public/assets/ueditor/dialogs/scrawl/scrawl.css +72 -0
  115. data/public/assets/ueditor/dialogs/scrawl/scrawl.html +95 -0
  116. data/public/assets/ueditor/dialogs/scrawl/scrawl.js +671 -0
  117. data/public/assets/ueditor/dialogs/searchreplace/searchreplace.html +102 -0
  118. data/public/assets/ueditor/dialogs/searchreplace/searchreplace.js +164 -0
  119. data/public/assets/ueditor/dialogs/snapscreen/snapscreen.html +58 -0
  120. data/public/assets/ueditor/dialogs/spechars/spechars.html +21 -0
  121. data/public/assets/ueditor/dialogs/spechars/spechars.js +57 -0
  122. data/public/assets/ueditor/dialogs/table/dragicon.png +0 -0
  123. data/public/assets/ueditor/dialogs/table/edittable.css +84 -0
  124. data/public/assets/ueditor/dialogs/table/edittable.html +64 -0
  125. data/public/assets/ueditor/dialogs/table/edittable.js +237 -0
  126. data/public/assets/ueditor/dialogs/table/edittd.html +61 -0
  127. data/public/assets/ueditor/dialogs/table/edittip.html +33 -0
  128. data/public/assets/ueditor/dialogs/template/config.js +42 -0
  129. data/public/assets/ueditor/dialogs/template/images/bg.gif +0 -0
  130. data/public/assets/ueditor/dialogs/template/images/pre0.png +0 -0
  131. data/public/assets/ueditor/dialogs/template/images/pre1.png +0 -0
  132. data/public/assets/ueditor/dialogs/template/images/pre2.png +0 -0
  133. data/public/assets/ueditor/dialogs/template/images/pre3.png +0 -0
  134. data/public/assets/ueditor/dialogs/template/images/pre4.png +0 -0
  135. data/public/assets/ueditor/dialogs/template/template.css +18 -0
  136. data/public/assets/ueditor/dialogs/template/template.html +26 -0
  137. data/public/assets/ueditor/dialogs/template/template.js +53 -0
  138. data/public/assets/ueditor/dialogs/video/images/bg.png +0 -0
  139. data/public/assets/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  140. data/public/assets/ueditor/dialogs/video/images/file-icons.gif +0 -0
  141. data/public/assets/ueditor/dialogs/video/images/file-icons.png +0 -0
  142. data/public/assets/ueditor/dialogs/video/images/icons.gif +0 -0
  143. data/public/assets/ueditor/dialogs/video/images/icons.png +0 -0
  144. data/public/assets/ueditor/dialogs/video/images/image.png +0 -0
  145. data/public/assets/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  146. data/public/assets/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  147. data/public/assets/ueditor/dialogs/video/images/progress.png +0 -0
  148. data/public/assets/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  149. data/public/assets/ueditor/dialogs/video/images/success.gif +0 -0
  150. data/public/assets/ueditor/dialogs/video/images/success.png +0 -0
  151. data/public/assets/ueditor/dialogs/video/video.css +635 -0
  152. data/public/assets/ueditor/dialogs/video/video.html +86 -0
  153. data/public/assets/ueditor/dialogs/video/video.js +791 -0
  154. data/public/assets/ueditor/dialogs/webapp/webapp.html +53 -0
  155. data/public/assets/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  156. data/public/assets/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
  157. data/public/assets/ueditor/dialogs/wordimage/tangram.js +1495 -0
  158. data/public/assets/ueditor/dialogs/wordimage/wordimage.html +111 -0
  159. data/public/assets/ueditor/dialogs/wordimage/wordimage.js +157 -0
  160. data/public/assets/ueditor/lang/en/en.js +684 -0
  161. data/public/assets/ueditor/lang/en/images/addimage.png +0 -0
  162. data/public/assets/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  163. data/public/assets/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
  164. data/public/assets/ueditor/lang/en/images/background.png +0 -0
  165. data/public/assets/ueditor/lang/en/images/button.png +0 -0
  166. data/public/assets/ueditor/lang/en/images/copy.png +0 -0
  167. data/public/assets/ueditor/lang/en/images/deletedisable.png +0 -0
  168. data/public/assets/ueditor/lang/en/images/deleteenable.png +0 -0
  169. data/public/assets/ueditor/lang/en/images/listbackground.png +0 -0
  170. data/public/assets/ueditor/lang/en/images/localimage.png +0 -0
  171. data/public/assets/ueditor/lang/en/images/music.png +0 -0
  172. data/public/assets/ueditor/lang/en/images/rotateleftdisable.png +0 -0
  173. data/public/assets/ueditor/lang/en/images/rotateleftenable.png +0 -0
  174. data/public/assets/ueditor/lang/en/images/rotaterightdisable.png +0 -0
  175. data/public/assets/ueditor/lang/en/images/rotaterightenable.png +0 -0
  176. data/public/assets/ueditor/lang/en/images/upload.png +0 -0
  177. data/public/assets/ueditor/lang/zh-cn/images/copy.png +0 -0
  178. data/public/assets/ueditor/lang/zh-cn/images/localimage.png +0 -0
  179. data/public/assets/ueditor/lang/zh-cn/images/music.png +0 -0
  180. data/public/assets/ueditor/lang/zh-cn/images/upload.png +0 -0
  181. data/public/assets/ueditor/lang/zh-cn/zh-cn.js +669 -0
  182. data/public/assets/ueditor/themes/default/css/ueditor.css +1903 -0
  183. data/public/assets/ueditor/themes/default/css/ueditor.min.css +8 -0
  184. data/public/assets/ueditor/themes/default/dialogbase.css +100 -0
  185. data/public/assets/ueditor/themes/default/images/anchor.gif +0 -0
  186. data/public/assets/ueditor/themes/default/images/arrow.png +0 -0
  187. data/public/assets/ueditor/themes/default/images/arrow_down.png +0 -0
  188. data/public/assets/ueditor/themes/default/images/arrow_up.png +0 -0
  189. data/public/assets/ueditor/themes/default/images/button-bg.gif +0 -0
  190. data/public/assets/ueditor/themes/default/images/cancelbutton.gif +0 -0
  191. data/public/assets/ueditor/themes/default/images/charts.png +0 -0
  192. data/public/assets/ueditor/themes/default/images/cursor_h.gif +0 -0
  193. data/public/assets/ueditor/themes/default/images/cursor_h.png +0 -0
  194. data/public/assets/ueditor/themes/default/images/cursor_v.gif +0 -0
  195. data/public/assets/ueditor/themes/default/images/cursor_v.png +0 -0
  196. data/public/assets/ueditor/themes/default/images/dialog-title-bg.png +0 -0
  197. data/public/assets/ueditor/themes/default/images/filescan.png +0 -0
  198. data/public/assets/ueditor/themes/default/images/highlighted.gif +0 -0
  199. data/public/assets/ueditor/themes/default/images/icons-all.gif +0 -0
  200. data/public/assets/ueditor/themes/default/images/icons.gif +0 -0
  201. data/public/assets/ueditor/themes/default/images/icons.png +0 -0
  202. data/public/assets/ueditor/themes/default/images/loaderror.png +0 -0
  203. data/public/assets/ueditor/themes/default/images/loading.gif +0 -0
  204. data/public/assets/ueditor/themes/default/images/lock.gif +0 -0
  205. data/public/assets/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
  206. data/public/assets/ueditor/themes/default/images/pagebreak.gif +0 -0
  207. data/public/assets/ueditor/themes/default/images/scale.png +0 -0
  208. data/public/assets/ueditor/themes/default/images/sortable.png +0 -0
  209. data/public/assets/ueditor/themes/default/images/spacer.gif +0 -0
  210. data/public/assets/ueditor/themes/default/images/sparator_v.png +0 -0
  211. data/public/assets/ueditor/themes/default/images/table-cell-align.png +0 -0
  212. data/public/assets/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
  213. data/public/assets/ueditor/themes/default/images/toolbar_bg.png +0 -0
  214. data/public/assets/ueditor/themes/default/images/unhighlighted.gif +0 -0
  215. data/public/assets/ueditor/themes/default/images/upload.png +0 -0
  216. data/public/assets/ueditor/themes/default/images/videologo.gif +0 -0
  217. data/public/assets/ueditor/themes/default/images/word.gif +0 -0
  218. data/public/assets/ueditor/themes/default/images/wordpaste.png +0 -0
  219. data/public/assets/ueditor/themes/iframe.css +1 -0
  220. data/public/assets/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
  221. data/public/assets/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
  222. data/public/assets/ueditor/third-party/codemirror/codemirror.css +104 -0
  223. data/public/assets/ueditor/third-party/codemirror/codemirror.js +3581 -0
  224. data/public/assets/ueditor/third-party/highcharts/adapters/mootools-adapter.js +13 -0
  225. data/public/assets/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js +313 -0
  226. data/public/assets/ueditor/third-party/highcharts/adapters/prototype-adapter.js +15 -0
  227. data/public/assets/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js +316 -0
  228. data/public/assets/ueditor/third-party/highcharts/adapters/standalone-framework.js +17 -0
  229. data/public/assets/ueditor/third-party/highcharts/adapters/standalone-framework.src.js +583 -0
  230. data/public/assets/ueditor/third-party/highcharts/highcharts-more.js +50 -0
  231. data/public/assets/ueditor/third-party/highcharts/highcharts-more.src.js +2430 -0
  232. data/public/assets/ueditor/third-party/highcharts/highcharts.js +283 -0
  233. data/public/assets/ueditor/third-party/highcharts/highcharts.src.js +16974 -0
  234. data/public/assets/ueditor/third-party/highcharts/modules/annotations.js +7 -0
  235. data/public/assets/ueditor/third-party/highcharts/modules/annotations.src.js +401 -0
  236. data/public/assets/ueditor/third-party/highcharts/modules/canvas-tools.js +133 -0
  237. data/public/assets/ueditor/third-party/highcharts/modules/canvas-tools.src.js +3113 -0
  238. data/public/assets/ueditor/third-party/highcharts/modules/data.js +17 -0
  239. data/public/assets/ueditor/third-party/highcharts/modules/data.src.js +582 -0
  240. data/public/assets/ueditor/third-party/highcharts/modules/drilldown.js +11 -0
  241. data/public/assets/ueditor/third-party/highcharts/modules/drilldown.src.js +447 -0
  242. data/public/assets/ueditor/third-party/highcharts/modules/exporting.js +22 -0
  243. data/public/assets/ueditor/third-party/highcharts/modules/exporting.src.js +709 -0
  244. data/public/assets/ueditor/third-party/highcharts/modules/funnel.js +12 -0
  245. data/public/assets/ueditor/third-party/highcharts/modules/funnel.src.js +289 -0
  246. data/public/assets/ueditor/third-party/highcharts/modules/heatmap.js +1 -0
  247. data/public/assets/ueditor/third-party/highcharts/modules/heatmap.src.js +53 -0
  248. data/public/assets/ueditor/third-party/highcharts/modules/map.js +27 -0
  249. data/public/assets/ueditor/third-party/highcharts/modules/map.src.js +1002 -0
  250. data/public/assets/ueditor/third-party/highcharts/modules/no-data-to-display.js +12 -0
  251. data/public/assets/ueditor/third-party/highcharts/modules/no-data-to-display.src.js +128 -0
  252. data/public/assets/ueditor/third-party/highcharts/themes/dark-blue.js +254 -0
  253. data/public/assets/ueditor/third-party/highcharts/themes/dark-green.js +255 -0
  254. data/public/assets/ueditor/third-party/highcharts/themes/gray.js +257 -0
  255. data/public/assets/ueditor/third-party/highcharts/themes/grid.js +103 -0
  256. data/public/assets/ueditor/third-party/highcharts/themes/skies.js +89 -0
  257. data/public/assets/ueditor/third-party/jquery-1.10.2.js +9789 -0
  258. data/public/assets/ueditor/third-party/jquery-1.10.2.min.js +6 -0
  259. data/public/assets/ueditor/third-party/jquery-1.10.2.min.map +1 -0
  260. data/public/assets/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  261. data/public/assets/ueditor/third-party/video-js/font/vjs.eot +0 -0
  262. data/public/assets/ueditor/third-party/video-js/font/vjs.svg +65 -0
  263. data/public/assets/ueditor/third-party/video-js/font/vjs.ttf +0 -0
  264. data/public/assets/ueditor/third-party/video-js/font/vjs.woff +0 -0
  265. data/public/assets/ueditor/third-party/video-js/video-js.css +766 -0
  266. data/public/assets/ueditor/third-party/video-js/video-js.min.css +5 -0
  267. data/public/assets/ueditor/third-party/video-js/video-js.swf +0 -0
  268. data/public/assets/ueditor/third-party/video-js/video.dev.js +7108 -0
  269. data/public/assets/ueditor/third-party/video-js/video.js +129 -0
  270. data/public/assets/ueditor/third-party/webuploader/Uploader.swf +0 -0
  271. data/public/assets/ueditor/third-party/webuploader/webuploader.css +28 -0
  272. data/public/assets/ueditor/third-party/webuploader/webuploader.custom.js +5670 -0
  273. data/public/assets/ueditor/third-party/webuploader/webuploader.custom.min.js +2 -0
  274. data/public/assets/ueditor/third-party/webuploader/webuploader.flashonly.js +4176 -0
  275. data/public/assets/ueditor/third-party/webuploader/webuploader.flashonly.min.js +2 -0
  276. data/public/assets/ueditor/third-party/webuploader/webuploader.html5only.js +5559 -0
  277. data/public/assets/ueditor/third-party/webuploader/webuploader.html5only.min.js +2 -0
  278. data/public/assets/ueditor/third-party/webuploader/webuploader.js +6733 -0
  279. data/public/assets/ueditor/third-party/webuploader/webuploader.min.js +2 -0
  280. data/public/assets/ueditor/third-party/webuploader/webuploader.withoutimage.js +4593 -0
  281. data/public/assets/ueditor/third-party/webuploader/webuploader.withoutimage.min.js +2 -0
  282. data/public/assets/ueditor/third-party/xss.min.js +1 -0
  283. data/public/assets/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
  284. data/public/assets/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
  285. data/public/assets/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  286. data/public/assets/ueditor/ueditor.parse.js +1022 -0
  287. data/public/assets/ueditor/ueditor.parse.min.js +7 -0
  288. data/screenshot.png +0 -0
  289. metadata +343 -0
@@ -0,0 +1,289 @@
1
+ /**
2
+ * @license
3
+ * Highcharts funnel module, Beta
4
+ *
5
+ * (c) 2010-2012 Torstein Hønsi
6
+ *
7
+ * License: www.highcharts.com/license
8
+ */
9
+
10
+ /*global Highcharts */
11
+ (function (Highcharts) {
12
+
13
+ 'use strict';
14
+
15
+ // create shortcuts
16
+ var defaultOptions = Highcharts.getOptions(),
17
+ defaultPlotOptions = defaultOptions.plotOptions,
18
+ seriesTypes = Highcharts.seriesTypes,
19
+ merge = Highcharts.merge,
20
+ noop = function () {},
21
+ each = Highcharts.each;
22
+
23
+ // set default options
24
+ defaultPlotOptions.funnel = merge(defaultPlotOptions.pie, {
25
+ center: ['50%', '50%'],
26
+ width: '90%',
27
+ neckWidth: '30%',
28
+ height: '100%',
29
+ neckHeight: '25%',
30
+
31
+ dataLabels: {
32
+ //position: 'right',
33
+ connectorWidth: 1,
34
+ connectorColor: '#606060'
35
+ },
36
+ size: true, // to avoid adapting to data label size in Pie.drawDataLabels
37
+ states: {
38
+ select: {
39
+ color: '#C0C0C0',
40
+ borderColor: '#000000',
41
+ shadow: false
42
+ }
43
+ }
44
+ });
45
+
46
+
47
+ seriesTypes.funnel = Highcharts.extendClass(seriesTypes.pie, {
48
+
49
+ type: 'funnel',
50
+ animate: noop,
51
+
52
+ /**
53
+ * Overrides the pie translate method
54
+ */
55
+ translate: function () {
56
+
57
+ var
58
+ // Get positions - either an integer or a percentage string must be given
59
+ getLength = function (length, relativeTo) {
60
+ return (/%$/).test(length) ?
61
+ relativeTo * parseInt(length, 10) / 100 :
62
+ parseInt(length, 10);
63
+ },
64
+
65
+ sum = 0,
66
+ series = this,
67
+ chart = series.chart,
68
+ plotWidth = chart.plotWidth,
69
+ plotHeight = chart.plotHeight,
70
+ cumulative = 0, // start at top
71
+ options = series.options,
72
+ center = options.center,
73
+ centerX = getLength(center[0], plotWidth),
74
+ centerY = getLength(center[0], plotHeight),
75
+ width = getLength(options.width, plotWidth),
76
+ tempWidth,
77
+ getWidthAt,
78
+ height = getLength(options.height, plotHeight),
79
+ neckWidth = getLength(options.neckWidth, plotWidth),
80
+ neckHeight = getLength(options.neckHeight, plotHeight),
81
+ neckY = height - neckHeight,
82
+ data = series.data,
83
+ path,
84
+ fraction,
85
+ half = options.dataLabels.position === 'left' ? 1 : 0,
86
+
87
+ x1,
88
+ y1,
89
+ x2,
90
+ x3,
91
+ y3,
92
+ x4,
93
+ y5;
94
+
95
+ // Return the width at a specific y coordinate
96
+ series.getWidthAt = getWidthAt = function (y) {
97
+ return y > height - neckHeight || height === neckHeight ?
98
+ neckWidth :
99
+ neckWidth + (width - neckWidth) * ((height - neckHeight - y) / (height - neckHeight));
100
+ };
101
+ series.getX = function (y, half) {
102
+ return centerX + (half ? -1 : 1) * ((getWidthAt(y) / 2) + options.dataLabels.distance);
103
+ };
104
+
105
+ // Expose
106
+ series.center = [centerX, centerY, height];
107
+ series.centerX = centerX;
108
+
109
+ /*
110
+ * Individual point coordinate naming:
111
+ *
112
+ * x1,y1 _________________ x2,y1
113
+ * \ /
114
+ * \ /
115
+ * \ /
116
+ * \ /
117
+ * \ /
118
+ * x3,y3 _________ x4,y3
119
+ *
120
+ * Additional for the base of the neck:
121
+ *
122
+ * | |
123
+ * | |
124
+ * | |
125
+ * x3,y5 _________ x4,y5
126
+ */
127
+
128
+
129
+
130
+
131
+ // get the total sum
132
+ each(data, function (point) {
133
+ sum += point.y;
134
+ });
135
+
136
+ each(data, function (point) {
137
+ // set start and end positions
138
+ y5 = null;
139
+ fraction = sum ? point.y / sum : 0;
140
+ y1 = centerY - height / 2 + cumulative * height;
141
+ y3 = y1 + fraction * height;
142
+ //tempWidth = neckWidth + (width - neckWidth) * ((height - neckHeight - y1) / (height - neckHeight));
143
+ tempWidth = getWidthAt(y1);
144
+ x1 = centerX - tempWidth / 2;
145
+ x2 = x1 + tempWidth;
146
+ tempWidth = getWidthAt(y3);
147
+ x3 = centerX - tempWidth / 2;
148
+ x4 = x3 + tempWidth;
149
+
150
+ // the entire point is within the neck
151
+ if (y1 > neckY) {
152
+ x1 = x3 = centerX - neckWidth / 2;
153
+ x2 = x4 = centerX + neckWidth / 2;
154
+
155
+ // the base of the neck
156
+ } else if (y3 > neckY) {
157
+ y5 = y3;
158
+
159
+ tempWidth = getWidthAt(neckY);
160
+ x3 = centerX - tempWidth / 2;
161
+ x4 = x3 + tempWidth;
162
+
163
+ y3 = neckY;
164
+ }
165
+
166
+ // save the path
167
+ path = [
168
+ 'M',
169
+ x1, y1,
170
+ 'L',
171
+ x2, y1,
172
+ x4, y3
173
+ ];
174
+ if (y5) {
175
+ path.push(x4, y5, x3, y5);
176
+ }
177
+ path.push(x3, y3, 'Z');
178
+
179
+ // prepare for using shared dr
180
+ point.shapeType = 'path';
181
+ point.shapeArgs = { d: path };
182
+
183
+
184
+ // for tooltips and data labels
185
+ point.percentage = fraction * 100;
186
+ point.plotX = centerX;
187
+ point.plotY = (y1 + (y5 || y3)) / 2;
188
+
189
+ // Placement of tooltips and data labels
190
+ point.tooltipPos = [
191
+ centerX,
192
+ point.plotY
193
+ ];
194
+
195
+ // Slice is a noop on funnel points
196
+ point.slice = noop;
197
+
198
+ // Mimicking pie data label placement logic
199
+ point.half = half;
200
+
201
+ cumulative += fraction;
202
+ });
203
+
204
+
205
+ series.setTooltipPoints();
206
+ },
207
+ /**
208
+ * Draw a single point (wedge)
209
+ * @param {Object} point The point object
210
+ * @param {Object} color The color of the point
211
+ * @param {Number} brightness The brightness relative to the color
212
+ */
213
+ drawPoints: function () {
214
+ var series = this,
215
+ options = series.options,
216
+ chart = series.chart,
217
+ renderer = chart.renderer;
218
+
219
+ each(series.data, function (point) {
220
+
221
+ var graphic = point.graphic,
222
+ shapeArgs = point.shapeArgs;
223
+
224
+ if (!graphic) { // Create the shapes
225
+ point.graphic = renderer.path(shapeArgs).
226
+ attr({
227
+ fill: point.color,
228
+ stroke: options.borderColor,
229
+ 'stroke-width': options.borderWidth
230
+ }).
231
+ add(series.group);
232
+
233
+ } else { // Update the shapes
234
+ graphic.animate(shapeArgs);
235
+ }
236
+ });
237
+ },
238
+
239
+ /**
240
+ * Funnel items don't have angles (#2289)
241
+ */
242
+ sortByAngle: noop,
243
+
244
+ /**
245
+ * Extend the pie data label method
246
+ */
247
+ drawDataLabels: function () {
248
+ var data = this.data,
249
+ labelDistance = this.options.dataLabels.distance,
250
+ leftSide,
251
+ sign,
252
+ point,
253
+ i = data.length,
254
+ x,
255
+ y;
256
+
257
+ // In the original pie label anticollision logic, the slots are distributed
258
+ // from one labelDistance above to one labelDistance below the pie. In funnels
259
+ // we don't want this.
260
+ this.center[2] -= 2 * labelDistance;
261
+
262
+ // Set the label position array for each point.
263
+ while (i--) {
264
+ point = data[i];
265
+ leftSide = point.half;
266
+ sign = leftSide ? 1 : -1;
267
+ y = point.plotY;
268
+ x = this.getX(y, leftSide);
269
+
270
+ // set the anchor point for data labels
271
+ point.labelPos = [
272
+ 0, // first break of connector
273
+ y, // a/a
274
+ x + (labelDistance - 5) * sign, // second break, right outside point shape
275
+ y, // a/a
276
+ x + labelDistance * sign, // landing point for connector
277
+ y, // a/a
278
+ leftSide ? 'right' : 'left', // alignment
279
+ 0 // center angle
280
+ ];
281
+ }
282
+
283
+ seriesTypes.pie.prototype.drawDataLabels.call(this);
284
+ }
285
+
286
+ });
287
+
288
+
289
+ }(Highcharts));
@@ -0,0 +1 @@
1
+ (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:d<i&&(i=d))});c.translateColors(i,j)},getBox:function(){}})})(Highcharts);
@@ -0,0 +1,53 @@
1
+ (function (Highcharts) {
2
+ var seriesTypes = Highcharts.seriesTypes,
3
+ each = Highcharts.each;
4
+
5
+ seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, {
6
+ colorKey: 'z',
7
+ useMapGeometry: false,
8
+ pointArrayMap: ['y', 'z'],
9
+ translate: function () {
10
+ var series = this,
11
+ options = series.options,
12
+ dataMin = Number.MAX_VALUE,
13
+ dataMax = Number.MIN_VALUE;
14
+
15
+ series.generatePoints();
16
+
17
+ each(series.data, function (point) {
18
+ var x = point.x,
19
+ y = point.y,
20
+ value = point.z,
21
+ xPad = (options.colsize || 1) / 2,
22
+ yPad = (options.rowsize || 1) / 2;
23
+
24
+ point.path = [
25
+ 'M', x - xPad, y - yPad,
26
+ 'L', x + xPad, y - yPad,
27
+ 'L', x + xPad, y + yPad,
28
+ 'L', x - xPad, y + yPad,
29
+ 'Z'
30
+ ];
31
+
32
+ point.shapeType = 'path';
33
+ point.shapeArgs = {
34
+ d: series.translatePath(point.path)
35
+ };
36
+
37
+ if (typeof value === 'number') {
38
+ if (value > dataMax) {
39
+ dataMax = value;
40
+ } else if (value < dataMin) {
41
+ dataMin = value;
42
+ }
43
+ }
44
+ });
45
+
46
+ series.translateColors(dataMin, dataMax);
47
+ },
48
+
49
+ getBox: function () {}
50
+
51
+ });
52
+
53
+ }(Highcharts));
@@ -0,0 +1,27 @@
1
+ /*
2
+ Map plugin v0.1 for Highcharts
3
+
4
+ (c) 2011-2013 Torstein Hønsi
5
+
6
+ License: www.highcharts.com/license
7
+ */
8
+ (function(g){function x(a,b,c){for(var d=4,e=[];d--;)e[d]=Math.round(b.rgba[d]+(a.rgba[d]-b.rgba[d])*(1-c));return"rgba("+e.join(",")+")"}var r=g.Axis,y=g.Chart,s=g.Point,z=g.Pointer,l=g.each,v=g.extend,p=g.merge,n=g.pick,A=g.numberFormat,B=g.getOptions(),k=g.seriesTypes,q=B.plotOptions,t=g.wrap,u=g.Color,w=function(){};B.mapNavigation={buttonOptions:{align:"right",verticalAlign:"bottom",x:0,width:18,height:18,style:{fontSize:"15px",fontWeight:"bold",textAlign:"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(0.5)},
9
+ text:"+",y:-32},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:0}}};g.splitPath=function(a){var b,a=a.replace(/([A-Za-z])/g," $1 "),a=a.replace(/^\s*/,"").replace(/\s*$/,""),a=a.split(/[ ,]+/);for(b=0;b<a.length;b++)/[a-zA-Z]/.test(a[b])||(a[b]=parseFloat(a[b]));return a};g.maps={};t(r.prototype,"getSeriesExtremes",function(a){var b=this.isXAxis,c,d,e=[];l(this.series,function(a,b){if(a.useMapGeometry)e[b]=a.xData,a.xData=[]});a.call(this);c=n(this.dataMin,Number.MAX_VALUE);d=n(this.dataMax,
10
+ Number.MIN_VALUE);l(this.series,function(a,i){if(a.useMapGeometry)c=Math.min(c,a[b?"minX":"minY"]),d=Math.max(d,a[b?"maxX":"maxY"]),a.xData=e[i]});this.dataMin=c;this.dataMax=d});t(r.prototype,"setAxisTranslation",function(a){var b=this.chart,c=b.plotWidth/b.plotHeight,d=this.isXAxis,e=b.xAxis[0];a.call(this);if(b.options.chart.type==="map"&&!d&&e.transA!==void 0)this.transA=e.transA=Math.min(this.transA,e.transA),a=(e.max-e.min)/(this.max-this.min),e=a>c?this:e,c=(e.max-e.min)*e.transA,e.minPixelPadding=
11
+ (e.len-c)/2});t(y.prototype,"render",function(a){var b=this,c=b.options.mapNavigation;a.call(b);b.renderMapNavigation();c.zoomOnDoubleClick&&g.addEvent(b.container,"dblclick",function(a){b.pointer.onContainerDblClick(a)});c.zoomOnMouseWheel&&g.addEvent(b.container,document.onmousewheel===void 0?"DOMMouseScroll":"mousewheel",function(a){b.pointer.onContainerMouseWheel(a)})});v(z.prototype,{onContainerDblClick:function(a){var b=this.chart,a=this.normalize(a);b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-
12
+ b.plotTop)&&b.mapZoom(0.5,b.xAxis[0].toValue(a.chartX),b.yAxis[0].toValue(a.chartY))},onContainerMouseWheel:function(a){var b=this.chart,c,a=this.normalize(a);c=a.detail||-(a.wheelDelta/120);b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)&&b.mapZoom(c>0?2:0.5,b.xAxis[0].toValue(a.chartX),b.yAxis[0].toValue(a.chartY))}});t(z.prototype,"init",function(a,b,c){a.call(this,b,c);if(c.mapNavigation.enableTouchZoom)this.pinchX=this.pinchHor=this.pinchY=this.pinchVert=!0});v(y.prototype,{renderMapNavigation:function(){var a=
13
+ this,b=this.options.mapNavigation,c=b.buttons,d,e,f,i=function(){this.handler.call(a)};if(b.enableButtons)for(d in c)if(c.hasOwnProperty(d))f=p(b.buttonOptions,c[d]),e=a.renderer.button(f.text,0,0,i).attr({width:f.width,height:f.height}).css(f.style).add(),e.handler=f.onclick,e.align(v(f,{width:e.width,height:e.height}),null,"spacingBox")},fitToBox:function(a,b){l([["x","width"],["y","height"]],function(c){var d=c[0],c=c[1];a[d]+a[c]>b[d]+b[c]&&(a[c]>b[c]?(a[c]=b[c],a[d]=b[d]):a[d]=b[d]+b[c]-a[c]);
14
+ a[c]>b[c]&&(a[c]=b[c]);a[d]<b[d]&&(a[d]=b[d])});return a},mapZoom:function(a,b,c){if(!this.isMapZooming){var d=this,e=d.xAxis[0],f=e.max-e.min,i=n(b,e.min+f/2),b=f*a,f=d.yAxis[0],h=f.max-f.min,c=n(c,f.min+h/2);a*=h;i-=b/2;h=c-a/2;c=n(d.options.chart.animation,!0);b=d.fitToBox({x:i,y:h,width:b,height:a},{x:e.dataMin,y:f.dataMin,width:e.dataMax-e.dataMin,height:f.dataMax-f.dataMin});e.setExtremes(b.x,b.x+b.width,!1);f.setExtremes(b.y,b.y+b.height,!1);if(e=c?c.duration||500:0)d.isMapZooming=!0,setTimeout(function(){d.isMapZooming=
15
+ !1},e);d.redraw()}}});q.map=p(q.scatter,{animation:!1,nullColor:"#F8F8F8",borderColor:"silver",borderWidth:1,marker:null,stickyTracking:!1,dataLabels:{verticalAlign:"middle"},turboThreshold:0,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.y}<br/>"},states:{normal:{animation:!0}}});r=g.extendClass(s,{applyOptions:function(a,b){var c=s.prototype.applyOptions.call(this,a,b);if(c.path&&typeof c.path==="string")c.path=c.options.path=g.splitPath(c.path);return c},onMouseOver:function(){clearTimeout(this.colorInterval);
16
+ s.prototype.onMouseOver.call(this)},onMouseOut:function(){var a=this,b=+new Date,c=u(a.options.color),d=u(a.pointAttr.hover.fill),e=a.series.options.states.normal.animation,f=e&&(e.duration||500);if(f&&c.rgba.length===4&&d.rgba.length===4)delete a.pointAttr[""].fill,clearTimeout(a.colorInterval),a.colorInterval=setInterval(function(){var e=(new Date-b)/f,h=a.graphic;e>1&&(e=1);h&&h.attr("fill",x(d,c,e));e>=1&&clearTimeout(a.colorInterval)},13);s.prototype.onMouseOut.call(a)}});k.map=g.extendClass(k.scatter,
17
+ {type:"map",pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},colorKey:"y",pointClass:r,trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:w,supportsDrilldown:!0,getExtremesFromAll:!0,useMapGeometry:!0,init:function(a){var b=this,c=a.options.legend.valueDecimals,d=[],e,f,i,h,j,o,m;o=a.options.legend.layout==="horizontal";g.Series.prototype.init.apply(this,arguments);j=b.options.colorRange;if(h=b.options.valueRanges)l(h,function(a){f=a.from;i=a.to;e=
18
+ "";f===void 0?e="< ":i===void 0&&(e="> ");f!==void 0&&(e+=A(f,c));f!==void 0&&i!==void 0&&(e+=" - ");i!==void 0&&(e+=A(i,c));d.push(g.extend({chart:b.chart,name:e,options:{},drawLegendSymbol:k.area.prototype.drawLegendSymbol,visible:!0,setState:function(){},setVisible:function(){}},a))}),b.legendItems=d;else if(j)f=j.from,i=j.to,h=j.fromLabel,j=j.toLabel,m=o?[0,0,1,0]:[0,1,0,0],o||(o=h,h=j,j=o),o={linearGradient:{x1:m[0],y1:m[1],x2:m[2],y2:m[3]},stops:[[0,f],[1,i]]},d=[{chart:b.chart,options:{},fromLabel:h,
19
+ toLabel:j,color:o,drawLegendSymbol:this.drawLegendSymbolGradient,visible:!0,setState:function(){},setVisible:function(){}}],b.legendItems=d},drawLegendSymbol:k.area.prototype.drawLegendSymbol,drawLegendSymbolGradient:function(a,b){var c=a.options.symbolPadding,d=n(a.options.padding,8),e,f,i=this.chart.renderer.fontMetrics(a.options.itemStyle.fontSize).h,h=a.options.layout==="horizontal",j;j=n(a.options.rectangleLength,200);h?(e=-(c/2),f=0):(e=-j+a.baseline-c/2,f=d+i);b.fromText=this.chart.renderer.text(b.fromLabel,
20
+ f,e).attr({zIndex:2}).add(b.legendGroup);f=b.fromText.getBBox();b.legendSymbol=this.chart.renderer.rect(h?f.x+f.width+c:f.x-i-c,f.y,h?j:i,h?i:j,2).attr({zIndex:1}).add(b.legendGroup);j=b.legendSymbol.getBBox();b.toText=this.chart.renderer.text(b.toLabel,j.x+j.width+c,h?e:j.y+j.height-c).attr({zIndex:2}).add(b.legendGroup);e=b.toText.getBBox();h?(a.offsetWidth=f.width+j.width+e.width+c*2+d,a.itemY=i+d):(a.offsetWidth=Math.max(f.width,e.width)+c+j.width+d,a.itemY=j.height+d,a.itemX=c)},getBox:function(a){var b=
21
+ Number.MIN_VALUE,c=Number.MAX_VALUE,d=Number.MIN_VALUE,e=Number.MAX_VALUE;l(a||this.options.data,function(a){for(var i=a.path,h=i.length,j=!1,g=Number.MIN_VALUE,m=Number.MAX_VALUE,k=Number.MIN_VALUE,l=Number.MAX_VALUE;h--;)typeof i[h]==="number"&&!isNaN(i[h])&&(j?(g=Math.max(g,i[h]),m=Math.min(m,i[h])):(k=Math.max(k,i[h]),l=Math.min(l,i[h])),j=!j);a._maxX=g;a._minX=m;a._maxY=k;a._minY=l;b=Math.max(b,g);c=Math.min(c,m);d=Math.max(d,k);e=Math.min(e,l)});this.minY=e;this.maxY=d;this.minX=c;this.maxX=
22
+ b},translatePath:function(a){var b=!1,c=this.xAxis,d=this.yAxis,e,a=[].concat(a);for(e=a.length;e--;)typeof a[e]==="number"&&(a[e]=b?Math.round(c.translate(a[e])):Math.round(d.len-d.translate(a[e])),b=!b);return a},setData:function(){g.Series.prototype.setData.apply(this,arguments);this.getBox()},translate:function(){var a=this,b=Number.MAX_VALUE,c=Number.MIN_VALUE;a.generatePoints();l(a.data,function(d){d.shapeType="path";d.shapeArgs={d:a.translatePath(d.path)};if(typeof d.y==="number")if(d.y>c)c=
23
+ d.y;else if(d.y<b)b=d.y});a.translateColors(b,c)},translateColors:function(a,b){var c=this.options,d=c.valueRanges,e=c.colorRange,f=this.colorKey,i,h;e&&(i=u(e.from),h=u(e.to));l(this.data,function(g){var k=g[f],m,l,n;if(d)for(n=d.length;n--;){if(m=d[n],i=m.from,h=m.to,(i===void 0||k>=i)&&(h===void 0||k<=h)){l=m.color;break}}else e&&k!==void 0&&(m=1-(b-k)/(b-a),l=k===null?c.nullColor:x(i,h,m));if(l)g.color=null,g.options.color=l})},drawGraph:w,drawDataLabels:w,drawPoints:function(){var a=this.xAxis,
24
+ b=this.yAxis,c=this.colorKey;l(this.data,function(a){a.plotY=1;if(a[c]===null)a[c]=0,a.isNull=!0});k.column.prototype.drawPoints.apply(this);l(this.data,function(d){var e=d.dataLabels,f=a.toPixels(d._minX,!0),g=a.toPixels(d._maxX,!0),h=b.toPixels(d._minY,!0),j=b.toPixels(d._maxY,!0);d.plotX=Math.round(f+(g-f)*n(e&&e.anchorX,0.5));d.plotY=Math.round(h+(j-h)*n(e&&e.anchorY,0.5));d.isNull&&(d[c]=null)});g.Series.prototype.drawDataLabels.call(this)},animateDrilldown:function(a){var b=this.chart.plotBox,
25
+ c=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],d=c.bBox,e=this.chart.options.drilldown.animation;if(!a)a=Math.min(d.width/b.width,d.height/b.height),c.shapeArgs={scaleX:a,scaleY:a,translateX:d.x,translateY:d.y},l(this.points,function(a){a.graphic.attr(c.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},e)}),delete this.animate},animateDrillupFrom:function(a){k.column.prototype.animateDrillupFrom.call(this,a)},animateDrillupTo:function(a){k.column.prototype.animateDrillupTo.call(this,
26
+ a)}});q.mapline=p(q.map,{lineWidth:1,backgroundColor:"none"});k.mapline=g.extendClass(k.map,{type:"mapline",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth",fill:"backgroundColor"},drawLegendSymbol:k.line.prototype.drawLegendSymbol});q.mappoint=p(q.scatter,{dataLabels:{enabled:!0,format:"{point.name}",color:"black",style:{textShadow:"0 0 5px white"}}});k.mappoint=g.extendClass(k.scatter,{type:"mappoint"});g.Map=function(a,b){var c={endOnTick:!1,gridLineWidth:0,labels:{enabled:!1},lineWidth:0,
27
+ minPadding:0,maxPadding:0,startOnTick:!1,tickWidth:0,title:null},d;d=a.series;a.series=null;a=p({chart:{type:"map",panning:"xy"},xAxis:c,yAxis:p(c,{reversed:!0})},a,{chart:{inverted:!1}});a.series=d;return new g.Chart(a,b)}})(Highcharts);