centaline-data-driven 1.2.64 → 1.2.67

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 (284) hide show
  1. package/package.json +1 -1
  2. package/src/centaline/dynamicContact/src/dynamicContact.vue +2 -1
  3. package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +1 -1
  4. package/src/centaline/dynamicRichText/src/dynamicRichText.vue +16 -10
  5. package/src/main.js +1 -1
  6. package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
  7. package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
  8. package/static/UEditor/dialogs/anchor/anchor.html +0 -40
  9. package/static/UEditor/dialogs/attachment/attachment.css +0 -681
  10. package/static/UEditor/dialogs/attachment/attachment.html +0 -60
  11. package/static/UEditor/dialogs/attachment/attachment.js +0 -768
  12. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  13. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  14. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  15. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  16. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  17. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  18. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  19. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  20. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  21. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  22. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  23. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  24. package/static/UEditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  25. package/static/UEditor/dialogs/attachment/images/alignicon.gif +0 -0
  26. package/static/UEditor/dialogs/attachment/images/alignicon.png +0 -0
  27. package/static/UEditor/dialogs/attachment/images/bg.png +0 -0
  28. package/static/UEditor/dialogs/attachment/images/file-icons.gif +0 -0
  29. package/static/UEditor/dialogs/attachment/images/file-icons.png +0 -0
  30. package/static/UEditor/dialogs/attachment/images/icons.gif +0 -0
  31. package/static/UEditor/dialogs/attachment/images/icons.png +0 -0
  32. package/static/UEditor/dialogs/attachment/images/image.png +0 -0
  33. package/static/UEditor/dialogs/attachment/images/progress.png +0 -0
  34. package/static/UEditor/dialogs/attachment/images/success.gif +0 -0
  35. package/static/UEditor/dialogs/attachment/images/success.png +0 -0
  36. package/static/UEditor/dialogs/background/background.css +0 -94
  37. package/static/UEditor/dialogs/background/background.html +0 -56
  38. package/static/UEditor/dialogs/background/background.js +0 -376
  39. package/static/UEditor/dialogs/background/images/bg.png +0 -0
  40. package/static/UEditor/dialogs/background/images/success.png +0 -0
  41. package/static/UEditor/dialogs/charts/chart.config.js +0 -65
  42. package/static/UEditor/dialogs/charts/charts.css +0 -165
  43. package/static/UEditor/dialogs/charts/charts.html +0 -89
  44. package/static/UEditor/dialogs/charts/charts.js +0 -519
  45. package/static/UEditor/dialogs/charts/images/charts0.png +0 -0
  46. package/static/UEditor/dialogs/charts/images/charts1.png +0 -0
  47. package/static/UEditor/dialogs/charts/images/charts2.png +0 -0
  48. package/static/UEditor/dialogs/charts/images/charts3.png +0 -0
  49. package/static/UEditor/dialogs/charts/images/charts4.png +0 -0
  50. package/static/UEditor/dialogs/charts/images/charts5.png +0 -0
  51. package/static/UEditor/dialogs/emotion/emotion.css +0 -43
  52. package/static/UEditor/dialogs/emotion/emotion.html +0 -54
  53. package/static/UEditor/dialogs/emotion/emotion.js +0 -186
  54. package/static/UEditor/dialogs/emotion/images/0.gif +0 -0
  55. package/static/UEditor/dialogs/emotion/images/bface.gif +0 -0
  56. package/static/UEditor/dialogs/emotion/images/cface.gif +0 -0
  57. package/static/UEditor/dialogs/emotion/images/fface.gif +0 -0
  58. package/static/UEditor/dialogs/emotion/images/jxface2.gif +0 -0
  59. package/static/UEditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  60. package/static/UEditor/dialogs/emotion/images/tface.gif +0 -0
  61. package/static/UEditor/dialogs/emotion/images/wface.gif +0 -0
  62. package/static/UEditor/dialogs/emotion/images/yface.gif +0 -0
  63. package/static/UEditor/dialogs/gmap/gmap.html +0 -89
  64. package/static/UEditor/dialogs/help/help.css +0 -7
  65. package/static/UEditor/dialogs/help/help.html +0 -82
  66. package/static/UEditor/dialogs/help/help.js +0 -56
  67. package/static/UEditor/dialogs/image/image.css +0 -894
  68. package/static/UEditor/dialogs/image/image.html +0 -120
  69. package/static/UEditor/dialogs/image/image.js +0 -1156
  70. package/static/UEditor/dialogs/image/images/alignicon.jpg +0 -0
  71. package/static/UEditor/dialogs/image/images/bg.png +0 -0
  72. package/static/UEditor/dialogs/image/images/icons.gif +0 -0
  73. package/static/UEditor/dialogs/image/images/icons.png +0 -0
  74. package/static/UEditor/dialogs/image/images/image.png +0 -0
  75. package/static/UEditor/dialogs/image/images/progress.png +0 -0
  76. package/static/UEditor/dialogs/image/images/success.gif +0 -0
  77. package/static/UEditor/dialogs/image/images/success.png +0 -0
  78. package/static/UEditor/dialogs/insertframe/insertframe.html +0 -98
  79. package/static/UEditor/dialogs/internal.js +0 -81
  80. package/static/UEditor/dialogs/link/link.html +0 -126
  81. package/static/UEditor/dialogs/map/map.html +0 -135
  82. package/static/UEditor/dialogs/map/show.html +0 -118
  83. package/static/UEditor/dialogs/music/music.css +0 -30
  84. package/static/UEditor/dialogs/music/music.html +0 -32
  85. package/static/UEditor/dialogs/music/music.js +0 -192
  86. package/static/UEditor/dialogs/preview/preview.html +0 -40
  87. package/static/UEditor/dialogs/scrawl/images/addimg.png +0 -0
  88. package/static/UEditor/dialogs/scrawl/images/brush.png +0 -0
  89. package/static/UEditor/dialogs/scrawl/images/delimg.png +0 -0
  90. package/static/UEditor/dialogs/scrawl/images/delimgH.png +0 -0
  91. package/static/UEditor/dialogs/scrawl/images/empty.png +0 -0
  92. package/static/UEditor/dialogs/scrawl/images/emptyH.png +0 -0
  93. package/static/UEditor/dialogs/scrawl/images/eraser.png +0 -0
  94. package/static/UEditor/dialogs/scrawl/images/redo.png +0 -0
  95. package/static/UEditor/dialogs/scrawl/images/redoH.png +0 -0
  96. package/static/UEditor/dialogs/scrawl/images/scale.png +0 -0
  97. package/static/UEditor/dialogs/scrawl/images/scaleH.png +0 -0
  98. package/static/UEditor/dialogs/scrawl/images/size.png +0 -0
  99. package/static/UEditor/dialogs/scrawl/images/undo.png +0 -0
  100. package/static/UEditor/dialogs/scrawl/images/undoH.png +0 -0
  101. package/static/UEditor/dialogs/scrawl/scrawl.css +0 -72
  102. package/static/UEditor/dialogs/scrawl/scrawl.html +0 -95
  103. package/static/UEditor/dialogs/scrawl/scrawl.js +0 -671
  104. package/static/UEditor/dialogs/searchreplace/searchreplace.html +0 -102
  105. package/static/UEditor/dialogs/searchreplace/searchreplace.js +0 -164
  106. package/static/UEditor/dialogs/snapscreen/snapscreen.html +0 -58
  107. package/static/UEditor/dialogs/spechars/spechars.html +0 -21
  108. package/static/UEditor/dialogs/spechars/spechars.js +0 -57
  109. package/static/UEditor/dialogs/table/dragicon.png +0 -0
  110. package/static/UEditor/dialogs/table/edittable.css +0 -84
  111. package/static/UEditor/dialogs/table/edittable.html +0 -64
  112. package/static/UEditor/dialogs/table/edittable.js +0 -237
  113. package/static/UEditor/dialogs/table/edittd.html +0 -61
  114. package/static/UEditor/dialogs/table/edittip.html +0 -33
  115. package/static/UEditor/dialogs/template/config.js +0 -42
  116. package/static/UEditor/dialogs/template/images/bg.gif +0 -0
  117. package/static/UEditor/dialogs/template/images/pre0.png +0 -0
  118. package/static/UEditor/dialogs/template/images/pre1.png +0 -0
  119. package/static/UEditor/dialogs/template/images/pre2.png +0 -0
  120. package/static/UEditor/dialogs/template/images/pre3.png +0 -0
  121. package/static/UEditor/dialogs/template/images/pre4.png +0 -0
  122. package/static/UEditor/dialogs/template/template.css +0 -18
  123. package/static/UEditor/dialogs/template/template.html +0 -26
  124. package/static/UEditor/dialogs/template/template.js +0 -53
  125. package/static/UEditor/dialogs/video/images/bg.png +0 -0
  126. package/static/UEditor/dialogs/video/images/center_focus.jpg +0 -0
  127. package/static/UEditor/dialogs/video/images/file-icons.gif +0 -0
  128. package/static/UEditor/dialogs/video/images/file-icons.png +0 -0
  129. package/static/UEditor/dialogs/video/images/icons.gif +0 -0
  130. package/static/UEditor/dialogs/video/images/icons.png +0 -0
  131. package/static/UEditor/dialogs/video/images/image.png +0 -0
  132. package/static/UEditor/dialogs/video/images/left_focus.jpg +0 -0
  133. package/static/UEditor/dialogs/video/images/none_focus.jpg +0 -0
  134. package/static/UEditor/dialogs/video/images/progress.png +0 -0
  135. package/static/UEditor/dialogs/video/images/right_focus.jpg +0 -0
  136. package/static/UEditor/dialogs/video/images/success.gif +0 -0
  137. package/static/UEditor/dialogs/video/images/success.png +0 -0
  138. package/static/UEditor/dialogs/video/video.css +0 -635
  139. package/static/UEditor/dialogs/video/video.html +0 -86
  140. package/static/UEditor/dialogs/video/video.js +0 -797
  141. package/static/UEditor/dialogs/webapp/webapp.html +0 -53
  142. package/static/UEditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  143. package/static/UEditor/dialogs/wordimage/imageUploader.swf +0 -0
  144. package/static/UEditor/dialogs/wordimage/tangram.js +0 -1495
  145. package/static/UEditor/dialogs/wordimage/wordimage.html +0 -110
  146. package/static/UEditor/dialogs/wordimage/wordimage.js +0 -157
  147. package/static/UEditor/index.html +0 -175
  148. package/static/UEditor/jsp/config.json +0 -94
  149. package/static/UEditor/jsp/controller.jsp +0 -14
  150. package/static/UEditor/jsp/lib/commons-codec-1.9.jar +0 -0
  151. package/static/UEditor/jsp/lib/commons-fileupload-1.3.1.jar +0 -0
  152. package/static/UEditor/jsp/lib/commons-io-2.4.jar +0 -0
  153. package/static/UEditor/jsp/lib/json.jar +0 -0
  154. package/static/UEditor/jsp/lib/ueditor-1.1.2.jar +0 -0
  155. package/static/UEditor/lang/en/en.js +0 -684
  156. package/static/UEditor/lang/en/images/addimage.png +0 -0
  157. package/static/UEditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  158. package/static/UEditor/lang/en/images/alldeletebtnupskin.png +0 -0
  159. package/static/UEditor/lang/en/images/background.png +0 -0
  160. package/static/UEditor/lang/en/images/button.png +0 -0
  161. package/static/UEditor/lang/en/images/copy.png +0 -0
  162. package/static/UEditor/lang/en/images/deletedisable.png +0 -0
  163. package/static/UEditor/lang/en/images/deleteenable.png +0 -0
  164. package/static/UEditor/lang/en/images/listbackground.png +0 -0
  165. package/static/UEditor/lang/en/images/localimage.png +0 -0
  166. package/static/UEditor/lang/en/images/music.png +0 -0
  167. package/static/UEditor/lang/en/images/rotateleftdisable.png +0 -0
  168. package/static/UEditor/lang/en/images/rotateleftenable.png +0 -0
  169. package/static/UEditor/lang/en/images/rotaterightdisable.png +0 -0
  170. package/static/UEditor/lang/en/images/rotaterightenable.png +0 -0
  171. package/static/UEditor/lang/en/images/upload.png +0 -0
  172. package/static/UEditor/lang/zh-cn/images/copy.png +0 -0
  173. package/static/UEditor/lang/zh-cn/images/localimage.png +0 -0
  174. package/static/UEditor/lang/zh-cn/images/music.png +0 -0
  175. package/static/UEditor/lang/zh-cn/images/upload.png +0 -0
  176. package/static/UEditor/lang/zh-cn/zh-cn.js +0 -669
  177. package/static/UEditor/themes/default/css/ueditor.css +0 -1903
  178. package/static/UEditor/themes/default/css/ueditor.min.css +0 -8
  179. package/static/UEditor/themes/default/dialogbase.css +0 -100
  180. package/static/UEditor/themes/default/images/anchor.gif +0 -0
  181. package/static/UEditor/themes/default/images/arrow.png +0 -0
  182. package/static/UEditor/themes/default/images/arrow_down.png +0 -0
  183. package/static/UEditor/themes/default/images/arrow_up.png +0 -0
  184. package/static/UEditor/themes/default/images/button-bg.gif +0 -0
  185. package/static/UEditor/themes/default/images/cancelbutton.gif +0 -0
  186. package/static/UEditor/themes/default/images/charts.png +0 -0
  187. package/static/UEditor/themes/default/images/cursor_h.gif +0 -0
  188. package/static/UEditor/themes/default/images/cursor_h.png +0 -0
  189. package/static/UEditor/themes/default/images/cursor_v.gif +0 -0
  190. package/static/UEditor/themes/default/images/cursor_v.png +0 -0
  191. package/static/UEditor/themes/default/images/dialog-title-bg.png +0 -0
  192. package/static/UEditor/themes/default/images/filescan.png +0 -0
  193. package/static/UEditor/themes/default/images/highlighted.gif +0 -0
  194. package/static/UEditor/themes/default/images/icons-all.gif +0 -0
  195. package/static/UEditor/themes/default/images/icons.gif +0 -0
  196. package/static/UEditor/themes/default/images/icons.png +0 -0
  197. package/static/UEditor/themes/default/images/loaderror.png +0 -0
  198. package/static/UEditor/themes/default/images/loading.gif +0 -0
  199. package/static/UEditor/themes/default/images/lock.gif +0 -0
  200. package/static/UEditor/themes/default/images/neweditor-tab-bg.png +0 -0
  201. package/static/UEditor/themes/default/images/pagebreak.gif +0 -0
  202. package/static/UEditor/themes/default/images/scale.png +0 -0
  203. package/static/UEditor/themes/default/images/sortable.png +0 -0
  204. package/static/UEditor/themes/default/images/spacer.gif +0 -0
  205. package/static/UEditor/themes/default/images/sparator_v.png +0 -0
  206. package/static/UEditor/themes/default/images/table-cell-align.png +0 -0
  207. package/static/UEditor/themes/default/images/tangram-colorpicker.png +0 -0
  208. package/static/UEditor/themes/default/images/toolbar_bg.png +0 -0
  209. package/static/UEditor/themes/default/images/unhighlighted.gif +0 -0
  210. package/static/UEditor/themes/default/images/upload.png +0 -0
  211. package/static/UEditor/themes/default/images/videologo.gif +0 -0
  212. package/static/UEditor/themes/default/images/word.gif +0 -0
  213. package/static/UEditor/themes/default/images/wordpaste.png +0 -0
  214. package/static/UEditor/themes/iframe.css +0 -1
  215. package/static/UEditor/third-party/SyntaxHighlighter/shCore.js +0 -3655
  216. package/static/UEditor/third-party/SyntaxHighlighter/shCoreDefault.css +0 -1
  217. package/static/UEditor/third-party/codemirror/codemirror.css +0 -104
  218. package/static/UEditor/third-party/codemirror/codemirror.js +0 -3581
  219. package/static/UEditor/third-party/highcharts/adapters/mootools-adapter.js +0 -13
  220. package/static/UEditor/third-party/highcharts/adapters/mootools-adapter.src.js +0 -313
  221. package/static/UEditor/third-party/highcharts/adapters/prototype-adapter.js +0 -15
  222. package/static/UEditor/third-party/highcharts/adapters/prototype-adapter.src.js +0 -316
  223. package/static/UEditor/third-party/highcharts/adapters/standalone-framework.js +0 -17
  224. package/static/UEditor/third-party/highcharts/adapters/standalone-framework.src.js +0 -583
  225. package/static/UEditor/third-party/highcharts/highcharts-more.js +0 -50
  226. package/static/UEditor/third-party/highcharts/highcharts-more.src.js +0 -2430
  227. package/static/UEditor/third-party/highcharts/highcharts.js +0 -283
  228. package/static/UEditor/third-party/highcharts/highcharts.src.js +0 -16974
  229. package/static/UEditor/third-party/highcharts/modules/annotations.js +0 -7
  230. package/static/UEditor/third-party/highcharts/modules/annotations.src.js +0 -401
  231. package/static/UEditor/third-party/highcharts/modules/canvas-tools.js +0 -133
  232. package/static/UEditor/third-party/highcharts/modules/canvas-tools.src.js +0 -3113
  233. package/static/UEditor/third-party/highcharts/modules/data.js +0 -17
  234. package/static/UEditor/third-party/highcharts/modules/data.src.js +0 -582
  235. package/static/UEditor/third-party/highcharts/modules/drilldown.js +0 -11
  236. package/static/UEditor/third-party/highcharts/modules/drilldown.src.js +0 -447
  237. package/static/UEditor/third-party/highcharts/modules/exporting.js +0 -22
  238. package/static/UEditor/third-party/highcharts/modules/exporting.src.js +0 -709
  239. package/static/UEditor/third-party/highcharts/modules/funnel.js +0 -12
  240. package/static/UEditor/third-party/highcharts/modules/funnel.src.js +0 -289
  241. package/static/UEditor/third-party/highcharts/modules/heatmap.js +0 -1
  242. package/static/UEditor/third-party/highcharts/modules/heatmap.src.js +0 -53
  243. package/static/UEditor/third-party/highcharts/modules/map.js +0 -27
  244. package/static/UEditor/third-party/highcharts/modules/map.src.js +0 -1002
  245. package/static/UEditor/third-party/highcharts/modules/no-data-to-display.js +0 -12
  246. package/static/UEditor/third-party/highcharts/modules/no-data-to-display.src.js +0 -128
  247. package/static/UEditor/third-party/highcharts/themes/dark-blue.js +0 -254
  248. package/static/UEditor/third-party/highcharts/themes/dark-green.js +0 -255
  249. package/static/UEditor/third-party/highcharts/themes/gray.js +0 -257
  250. package/static/UEditor/third-party/highcharts/themes/grid.js +0 -103
  251. package/static/UEditor/third-party/highcharts/themes/skies.js +0 -89
  252. package/static/UEditor/third-party/jquery-1.10.2.js +0 -9789
  253. package/static/UEditor/third-party/jquery-1.10.2.min.js +0 -6
  254. package/static/UEditor/third-party/jquery-1.10.2.min.map +0 -1
  255. package/static/UEditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  256. package/static/UEditor/third-party/video-js/font/vjs.eot +0 -0
  257. package/static/UEditor/third-party/video-js/font/vjs.svg +0 -65
  258. package/static/UEditor/third-party/video-js/font/vjs.ttf +0 -0
  259. package/static/UEditor/third-party/video-js/font/vjs.woff +0 -0
  260. package/static/UEditor/third-party/video-js/video-js.css +0 -766
  261. package/static/UEditor/third-party/video-js/video-js.min.css +0 -5
  262. package/static/UEditor/third-party/video-js/video-js.swf +0 -0
  263. package/static/UEditor/third-party/video-js/video.dev.js +0 -7106
  264. package/static/UEditor/third-party/video-js/video.js +0 -129
  265. package/static/UEditor/third-party/webuploader/Uploader.swf +0 -0
  266. package/static/UEditor/third-party/webuploader/webuploader.css +0 -28
  267. package/static/UEditor/third-party/webuploader/webuploader.custom.js +0 -5670
  268. package/static/UEditor/third-party/webuploader/webuploader.custom.min.js +0 -2
  269. package/static/UEditor/third-party/webuploader/webuploader.flashonly.js +0 -4176
  270. package/static/UEditor/third-party/webuploader/webuploader.flashonly.min.js +0 -2
  271. package/static/UEditor/third-party/webuploader/webuploader.html5only.js +0 -5559
  272. package/static/UEditor/third-party/webuploader/webuploader.html5only.min.js +0 -2
  273. package/static/UEditor/third-party/webuploader/webuploader.js +0 -6733
  274. package/static/UEditor/third-party/webuploader/webuploader.min.js +0 -2
  275. package/static/UEditor/third-party/webuploader/webuploader.withoutimage.js +0 -4593
  276. package/static/UEditor/third-party/webuploader/webuploader.withoutimage.min.js +0 -2
  277. package/static/UEditor/third-party/xss.min.js +0 -1
  278. package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.js +0 -1256
  279. package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.min.js +0 -9
  280. package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  281. package/static/UEditor/ueditor.all.min.js +0 -29574
  282. package/static/UEditor/ueditor.config.js +0 -497
  283. package/static/UEditor/ueditor.parse.js +0 -1022
  284. package/static/UEditor/ueditor.parse.min.js +0 -7
@@ -1,289 +0,0 @@
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));
@@ -1 +0,0 @@
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);
@@ -1,53 +0,0 @@
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));
@@ -1,27 +0,0 @@
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);