bbj-screen-widget 2.4.44

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 (396) hide show
  1. package/README.md +24 -0
  2. package/bbj-screen-widget.d.ts +117 -0
  3. package/bbj-screen-widget.metadata.json +1 -0
  4. package/bundles/bbj-screen-widget-core.umd.js +606 -0
  5. package/bundles/bbj-screen-widget-core.umd.js.map +1 -0
  6. package/bundles/bbj-screen-widget-core.umd.min.js +2 -0
  7. package/bundles/bbj-screen-widget-core.umd.min.js.map +1 -0
  8. package/bundles/bbj-screen-widget.umd.js +21247 -0
  9. package/bundles/bbj-screen-widget.umd.js.map +1 -0
  10. package/bundles/bbj-screen-widget.umd.min.js +2 -0
  11. package/bundles/bbj-screen-widget.umd.min.js.map +1 -0
  12. package/core/bbj-screen-widget-core.d.ts +4 -0
  13. package/core/bbj-screen-widget-core.metadata.json +1 -0
  14. package/core/package.json +11 -0
  15. package/core/public_api.d.ts +1 -0
  16. package/core/service/baidu-map.service.d.ts +16 -0
  17. package/esm2015/bbj-screen-widget.js +118 -0
  18. package/esm2015/core/bbj-screen-widget-core.js +5 -0
  19. package/esm2015/core/public_api.js +2 -0
  20. package/esm2015/core/service/baidu-map.service.js +101 -0
  21. package/esm2015/lib/announcement/announcement.component.js +80 -0
  22. package/esm2015/lib/announcement/announcement.module.js +25 -0
  23. package/esm2015/lib/audio/audio.component.js +167 -0
  24. package/esm2015/lib/audio/audio.module.js +20 -0
  25. package/esm2015/lib/background/background.component.js +52 -0
  26. package/esm2015/lib/background/background.module.js +19 -0
  27. package/esm2015/lib/bar-chart-three-d/bar-chart-three-d.component.js +323 -0
  28. package/esm2015/lib/bar-chart-three-d/bar-chart-three-d.module.js +20 -0
  29. package/esm2015/lib/basic-bar-chart/basic-bar-chart.component.js +604 -0
  30. package/esm2015/lib/basic-bar-chart/basic-bar-chart.module.js +27 -0
  31. package/esm2015/lib/basic-line-chart/basic-line-chart.component.js +782 -0
  32. package/esm2015/lib/basic-line-chart/basic-line-chart.module.js +20 -0
  33. package/esm2015/lib/basic-pie-chart/basic-pie-chart.component.js +471 -0
  34. package/esm2015/lib/basic-pie-chart/basic-pie-chart.module.js +20 -0
  35. package/esm2015/lib/basic-planimetric-map/basic-planimetric-map.component.js +233 -0
  36. package/esm2015/lib/basic-planimetric-map/basic-planimetric-map.module.js +21 -0
  37. package/esm2015/lib/breathing-bubble-layer/breathing-bubble-layer.component.js +503 -0
  38. package/esm2015/lib/breathing-bubble-layer/breathing-bubble-layer.module.js +19 -0
  39. package/esm2015/lib/bubble-chart/bubble-chart.component.js +348 -0
  40. package/esm2015/lib/bubble-chart/bubble-chart.module.js +20 -0
  41. package/esm2015/lib/bulletin-board/bulletin-board.component.js +160 -0
  42. package/esm2015/lib/bulletin-board/bulletin-board.module.js +23 -0
  43. package/esm2015/lib/button/button.component.js +186 -0
  44. package/esm2015/lib/button/button.module.js +21 -0
  45. package/esm2015/lib/calendar/calendar.component.js +96 -0
  46. package/esm2015/lib/calendar/calendar.module.js +28 -0
  47. package/esm2015/lib/checkbox/checkbox.component.js +333 -0
  48. package/esm2015/lib/checkbox/checkbox.module.js +21 -0
  49. package/esm2015/lib/cross-table/cross-table.component.js +291 -0
  50. package/esm2015/lib/cross-table/cross-table.module.js +20 -0
  51. package/esm2015/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.js +685 -0
  52. package/esm2015/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.js +278 -0
  53. package/esm2015/lib/custom-baidu-map/base-layer.js +53 -0
  54. package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +655 -0
  55. package/esm2015/lib/custom-baidu-map/custom-baidu-map.module.js +46 -0
  56. package/esm2015/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.js +116 -0
  57. package/esm2015/lib/custom-baidu-map/wind-layer/wind-layer.component.js +331 -0
  58. package/esm2015/lib/date-picker/date-picker.component.js +447 -0
  59. package/esm2015/lib/date-picker/date-picker.module.js +22 -0
  60. package/esm2015/lib/funnel-chart/funnel-chart.component.js +241 -0
  61. package/esm2015/lib/funnel-chart/funnel-chart.module.js +20 -0
  62. package/esm2015/lib/gantt/gantt.component.js +222 -0
  63. package/esm2015/lib/gantt/gantt.module.js +39 -0
  64. package/esm2015/lib/gauge/gauge.component.js +324 -0
  65. package/esm2015/lib/gauge/gauge.module.js +20 -0
  66. package/esm2015/lib/gauge-progress/gauge-progress.component.js +348 -0
  67. package/esm2015/lib/gauge-progress/gauge.module.js +21 -0
  68. package/esm2015/lib/general-text/general-text.component.js +144 -0
  69. package/esm2015/lib/general-text/general-text.module.js +20 -0
  70. package/esm2015/lib/iconfont/icon.js +199 -0
  71. package/esm2015/lib/iconfont/iconfont.component.js +56 -0
  72. package/esm2015/lib/iconfont/iconfont.module.js +20 -0
  73. package/esm2015/lib/iframe/iframe.component.js +46 -0
  74. package/esm2015/lib/iframe/iframe.module.js +20 -0
  75. package/esm2015/lib/image/image.component.js +98 -0
  76. package/esm2015/lib/image/image.module.js +19 -0
  77. package/esm2015/lib/item-swiper/item-swiper.component.js +334 -0
  78. package/esm2015/lib/item-swiper/item-swiper.module.js +28 -0
  79. package/esm2015/lib/line-bar-chart/line-bar-chart.component.js +398 -0
  80. package/esm2015/lib/line-bar-chart/line-bar-chart.module.js +20 -0
  81. package/esm2015/lib/line-light-flow/line-light-flow.component.js +241 -0
  82. package/esm2015/lib/line-light-flow/line-light-flow.module.js +24 -0
  83. package/esm2015/lib/liquid-fill/liquid-fill.component.js +158 -0
  84. package/esm2015/lib/liquid-fill/liquid-fill.module.js +20 -0
  85. package/esm2015/lib/marquee/marquee.component.js +110 -0
  86. package/esm2015/lib/marquee/marquee.module.js +19 -0
  87. package/esm2015/lib/mip-anim/mip-anim.component.js +26 -0
  88. package/esm2015/lib/mip-anim/mip-anim.module.js +19 -0
  89. package/esm2015/lib/multi-title-gauge/multi-title-gauge.component.js +277 -0
  90. package/esm2015/lib/multi-title-gauge/multi-title-gauge.module.js +22 -0
  91. package/esm2015/lib/number-flop/number-flop.component.js +124 -0
  92. package/esm2015/lib/number-flop/number-flop.module.js +19 -0
  93. package/esm2015/lib/parent-container/parent-container.component.js +21 -0
  94. package/esm2015/lib/parent-container/parent-container.module.js +19 -0
  95. package/esm2015/lib/percent-pie-chart/percent-pie-chart.component.js +248 -0
  96. package/esm2015/lib/percent-pie-chart/percent-pie-chart.module.js +20 -0
  97. package/esm2015/lib/pie3d-chart/pie3d-chart.component.js +303 -0
  98. package/esm2015/lib/pie3d-chart/pie3d-chart.module.js +19 -0
  99. package/esm2015/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.js +431 -0
  100. package/esm2015/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.js +19 -0
  101. package/esm2015/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.js +252 -0
  102. package/esm2015/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.js +19 -0
  103. package/esm2015/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.js +124 -0
  104. package/esm2015/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.js +19 -0
  105. package/esm2015/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.js +359 -0
  106. package/esm2015/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.js +21 -0
  107. package/esm2015/lib/planimetric-map2d/planimetric-map2d.component.js +712 -0
  108. package/esm2015/lib/planimetric-map2d/planimetric-map2d.module.js +34 -0
  109. package/esm2015/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.js +128 -0
  110. package/esm2015/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.js +19 -0
  111. package/esm2015/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.js +242 -0
  112. package/esm2015/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.js +19 -0
  113. package/esm2015/lib/planimetric-map3d/planimetric-map3d.component.js +265 -0
  114. package/esm2015/lib/planimetric-map3d/planimetric-map3d.module.js +22 -0
  115. package/esm2015/lib/radar-chart/radar-chart.component.js +236 -0
  116. package/esm2015/lib/radar-chart/radar-chart.module.js +20 -0
  117. package/esm2015/lib/radio/radio.component.js +148 -0
  118. package/esm2015/lib/radio/radio.module.js +21 -0
  119. package/esm2015/lib/rate/rate.component.js +57 -0
  120. package/esm2015/lib/rate/rate.module.js +23 -0
  121. package/esm2015/lib/scatter3d/scatter3d.component.js +166 -0
  122. package/esm2015/lib/scatter3d/scatter3d.module.js +20 -0
  123. package/esm2015/lib/screen-widget.module.js +536 -0
  124. package/esm2015/lib/search/search.component.js +130 -0
  125. package/esm2015/lib/search/search.module.js +29 -0
  126. package/esm2015/lib/select/select.component.js +343 -0
  127. package/esm2015/lib/select/select.module.js +21 -0
  128. package/esm2015/lib/shape/shape.component.js +248 -0
  129. package/esm2015/lib/shape/shape.module.js +19 -0
  130. package/esm2015/lib/shared/component/video-player/video-player.component.js +114 -0
  131. package/esm2015/lib/shared/component/video-player/video-player.module.js +14 -0
  132. package/esm2015/lib/shared/service/common.service.js +39 -0
  133. package/esm2015/lib/shared/service/file-url.service.js +12 -0
  134. package/esm2015/lib/shared/service/gaode-map.service.js +36 -0
  135. package/esm2015/lib/shared/service/highcharts.service.js +36 -0
  136. package/esm2015/lib/shared/service/http.service.js +20 -0
  137. package/esm2015/lib/shared/util/base.util.js +5 -0
  138. package/esm2015/lib/shared/util/echarts.util.js +12 -0
  139. package/esm2015/lib/shared/util/style.util.js +19 -0
  140. package/esm2015/lib/shuffling-list/color.pipe.js +23 -0
  141. package/esm2015/lib/shuffling-list/shuffling-list.component.js +600 -0
  142. package/esm2015/lib/shuffling-list/shuffling-list.module.js +22 -0
  143. package/esm2015/lib/table/table.component.js +657 -0
  144. package/esm2015/lib/table/table.module.js +38 -0
  145. package/esm2015/lib/tabs/tab/tab.component.js +27 -0
  146. package/esm2015/lib/tabs/tabs.component.js +85 -0
  147. package/esm2015/lib/tabs/tabs.module.js +22 -0
  148. package/esm2015/lib/temporary-data/temporary-data.component.js +49 -0
  149. package/esm2015/lib/temporary-data/temporary-data.module.js +20 -0
  150. package/esm2015/lib/time-picker/time-picker.component.js +112 -0
  151. package/esm2015/lib/time-picker/time-picker.module.js +21 -0
  152. package/esm2015/lib/timer/timer.component.js +108 -0
  153. package/esm2015/lib/timer/timer.module.js +20 -0
  154. package/esm2015/lib/tree-control/tree-control.component.js +381 -0
  155. package/esm2015/lib/tree-control/tree-control.module.js +24 -0
  156. package/esm2015/lib/tree-ring-chart/tree-ring-chart.component.js +215 -0
  157. package/esm2015/lib/tree-ring-chart/tree-ring-chart.module.js +20 -0
  158. package/esm2015/lib/upload/upload.component.js +127 -0
  159. package/esm2015/lib/upload/upload.module.js +22 -0
  160. package/esm2015/lib/video-grid/video-grid.component.js +133 -0
  161. package/esm2015/lib/video-grid/video-grid.module.js +22 -0
  162. package/esm2015/lib/visual-map-chart/visual-map-chart.component.js +395 -0
  163. package/esm2015/lib/visual-map-chart/visual-map-chart.module.js +20 -0
  164. package/esm2015/lib/vote/vote.component.js +100 -0
  165. package/esm2015/lib/vote/vote.module.js +21 -0
  166. package/esm2015/lib/weather/weather.component.js +92 -0
  167. package/esm2015/lib/weather/weather.module.js +21 -0
  168. package/esm2015/lib/wordart/wordart.component.js +84 -0
  169. package/esm2015/lib/wordart/wordart.module.js +19 -0
  170. package/esm2015/lib/workbench-widget.module.js +620 -0
  171. package/esm2015/public-api.js +39 -0
  172. package/fesm2015/bbj-screen-widget-core.js +107 -0
  173. package/fesm2015/bbj-screen-widget-core.js.map +1 -0
  174. package/fesm2015/bbj-screen-widget.js +20169 -0
  175. package/fesm2015/bbj-screen-widget.js.map +1 -0
  176. package/lib/announcement/announcement.component.d.ts +13 -0
  177. package/lib/announcement/announcement.module.d.ts +5 -0
  178. package/lib/audio/audio.component.d.ts +22 -0
  179. package/lib/audio/audio.module.d.ts +4 -0
  180. package/lib/background/background.component.d.ts +12 -0
  181. package/lib/background/background.module.d.ts +4 -0
  182. package/lib/bar-chart-three-d/bar-chart-three-d.component.d.ts +30 -0
  183. package/lib/bar-chart-three-d/bar-chart-three-d.module.d.ts +4 -0
  184. package/lib/basic-bar-chart/basic-bar-chart.component.d.ts +105 -0
  185. package/lib/basic-bar-chart/basic-bar-chart.module.d.ts +5 -0
  186. package/lib/basic-line-chart/basic-line-chart.component.d.ts +102 -0
  187. package/lib/basic-line-chart/basic-line-chart.module.d.ts +4 -0
  188. package/lib/basic-pie-chart/basic-pie-chart.component.d.ts +56 -0
  189. package/lib/basic-pie-chart/basic-pie-chart.module.d.ts +4 -0
  190. package/lib/basic-planimetric-map/basic-planimetric-map.component.d.ts +18 -0
  191. package/lib/basic-planimetric-map/basic-planimetric-map.module.d.ts +4 -0
  192. package/lib/breathing-bubble-layer/breathing-bubble-layer.component.d.ts +210 -0
  193. package/lib/breathing-bubble-layer/breathing-bubble-layer.module.d.ts +4 -0
  194. package/lib/bubble-chart/bubble-chart.component.d.ts +75 -0
  195. package/lib/bubble-chart/bubble-chart.module.d.ts +4 -0
  196. package/lib/bulletin-board/bulletin-board.component.d.ts +25 -0
  197. package/lib/bulletin-board/bulletin-board.module.d.ts +4 -0
  198. package/lib/button/button.component.d.ts +25 -0
  199. package/lib/button/button.module.d.ts +4 -0
  200. package/lib/calendar/calendar.component.d.ts +14 -0
  201. package/lib/calendar/calendar.module.d.ts +4 -0
  202. package/lib/checkbox/checkbox.component.d.ts +45 -0
  203. package/lib/checkbox/checkbox.module.d.ts +4 -0
  204. package/lib/cross-table/cross-table.component.d.ts +30 -0
  205. package/lib/cross-table/cross-table.module.d.ts +4 -0
  206. package/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.d.ts +67 -0
  207. package/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.d.ts +23 -0
  208. package/lib/custom-baidu-map/base-layer.d.ts +16 -0
  209. package/lib/custom-baidu-map/custom-baidu-map.component.d.ts +92 -0
  210. package/lib/custom-baidu-map/custom-baidu-map.module.d.ts +4 -0
  211. package/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.d.ts +16 -0
  212. package/lib/custom-baidu-map/wind-layer/wind-layer.component.d.ts +28 -0
  213. package/lib/date-picker/date-picker.component.d.ts +63 -0
  214. package/lib/date-picker/date-picker.module.d.ts +4 -0
  215. package/lib/funnel-chart/funnel-chart.component.d.ts +24 -0
  216. package/lib/funnel-chart/funnel-chart.module.d.ts +4 -0
  217. package/lib/gantt/gantt.component.d.ts +25 -0
  218. package/lib/gantt/gantt.module.d.ts +4 -0
  219. package/lib/gauge/gauge.component.d.ts +37 -0
  220. package/lib/gauge/gauge.module.d.ts +4 -0
  221. package/lib/gauge-progress/gauge-progress.component.d.ts +46 -0
  222. package/lib/gauge-progress/gauge.module.d.ts +4 -0
  223. package/lib/general-text/general-text.component.d.ts +21 -0
  224. package/lib/general-text/general-text.module.d.ts +4 -0
  225. package/lib/iconfont/icon.d.ts +1 -0
  226. package/lib/iconfont/iconfont.component.d.ts +11 -0
  227. package/lib/iconfont/iconfont.module.d.ts +4 -0
  228. package/lib/iframe/iframe.component.d.ts +10 -0
  229. package/lib/iframe/iframe.module.d.ts +4 -0
  230. package/lib/image/image.component.d.ts +21 -0
  231. package/lib/image/image.module.d.ts +4 -0
  232. package/lib/item-swiper/item-swiper.component.d.ts +41 -0
  233. package/lib/item-swiper/item-swiper.module.d.ts +4 -0
  234. package/lib/line-bar-chart/line-bar-chart.component.d.ts +63 -0
  235. package/lib/line-bar-chart/line-bar-chart.module.d.ts +4 -0
  236. package/lib/line-light-flow/line-light-flow.component.d.ts +26 -0
  237. package/lib/line-light-flow/line-light-flow.module.d.ts +4 -0
  238. package/lib/liquid-fill/liquid-fill.component.d.ts +18 -0
  239. package/lib/liquid-fill/liquid-fill.module.d.ts +4 -0
  240. package/lib/marquee/marquee.component.d.ts +20 -0
  241. package/lib/marquee/marquee.module.d.ts +4 -0
  242. package/lib/mip-anim/mip-anim.component.d.ts +6 -0
  243. package/lib/mip-anim/mip-anim.module.d.ts +4 -0
  244. package/lib/multi-title-gauge/multi-title-gauge.component.d.ts +26 -0
  245. package/lib/multi-title-gauge/multi-title-gauge.module.d.ts +4 -0
  246. package/lib/number-flop/number-flop.component.d.ts +22 -0
  247. package/lib/number-flop/number-flop.module.d.ts +4 -0
  248. package/lib/parent-container/parent-container.component.d.ts +9 -0
  249. package/lib/parent-container/parent-container.module.d.ts +4 -0
  250. package/lib/percent-pie-chart/percent-pie-chart.component.d.ts +24 -0
  251. package/lib/percent-pie-chart/percent-pie-chart.module.d.ts +4 -0
  252. package/lib/pie3d-chart/pie3d-chart.component.d.ts +30 -0
  253. package/lib/pie3d-chart/pie3d-chart.module.d.ts +4 -0
  254. package/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.d.ts +206 -0
  255. package/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.d.ts +4 -0
  256. package/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.d.ts +15 -0
  257. package/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.d.ts +4 -0
  258. package/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.d.ts +15 -0
  259. package/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.d.ts +4 -0
  260. package/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.d.ts +49 -0
  261. package/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.d.ts +4 -0
  262. package/lib/planimetric-map2d/planimetric-map2d.component.d.ts +48 -0
  263. package/lib/planimetric-map2d/planimetric-map2d.module.d.ts +4 -0
  264. package/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.d.ts +14 -0
  265. package/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.d.ts +4 -0
  266. package/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.d.ts +41 -0
  267. package/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.d.ts +4 -0
  268. package/lib/planimetric-map3d/planimetric-map3d.component.d.ts +29 -0
  269. package/lib/planimetric-map3d/planimetric-map3d.module.d.ts +4 -0
  270. package/lib/radar-chart/radar-chart.component.d.ts +23 -0
  271. package/lib/radar-chart/radar-chart.module.d.ts +4 -0
  272. package/lib/radio/radio.component.d.ts +21 -0
  273. package/lib/radio/radio.module.d.ts +4 -0
  274. package/lib/rate/rate.component.d.ts +13 -0
  275. package/lib/rate/rate.module.d.ts +4 -0
  276. package/lib/scatter3d/scatter3d.component.d.ts +25 -0
  277. package/lib/scatter3d/scatter3d.module.d.ts +4 -0
  278. package/lib/screen-widget.module.d.ts +4 -0
  279. package/lib/search/search.component.d.ts +21 -0
  280. package/lib/search/search.module.d.ts +6 -0
  281. package/lib/select/select.component.d.ts +34 -0
  282. package/lib/select/select.module.d.ts +4 -0
  283. package/lib/shape/shape.component.d.ts +50 -0
  284. package/lib/shape/shape.module.d.ts +4 -0
  285. package/lib/shared/component/video-player/video-player.component.d.ts +28 -0
  286. package/lib/shared/component/video-player/video-player.module.d.ts +2 -0
  287. package/lib/shared/service/common.service.d.ts +21 -0
  288. package/lib/shared/service/file-url.service.d.ts +3 -0
  289. package/lib/shared/service/gaode-map.service.d.ts +10 -0
  290. package/lib/shared/service/highcharts.service.d.ts +9 -0
  291. package/lib/shared/service/http.service.d.ts +7 -0
  292. package/lib/shared/util/base.util.d.ts +1 -0
  293. package/lib/shared/util/echarts.util.d.ts +1 -0
  294. package/lib/shared/util/style.util.d.ts +1 -0
  295. package/lib/shuffling-list/color.pipe.d.ts +4 -0
  296. package/lib/shuffling-list/shuffling-list.component.d.ts +76 -0
  297. package/lib/shuffling-list/shuffling-list.module.d.ts +4 -0
  298. package/lib/table/table.component.d.ts +65 -0
  299. package/lib/table/table.module.d.ts +4 -0
  300. package/lib/tabs/tab/tab.component.d.ts +7 -0
  301. package/lib/tabs/tabs.component.d.ts +13 -0
  302. package/lib/tabs/tabs.module.d.ts +4 -0
  303. package/lib/temporary-data/temporary-data.component.d.ts +13 -0
  304. package/lib/temporary-data/temporary-data.module.d.ts +4 -0
  305. package/lib/time-picker/time-picker.component.d.ts +17 -0
  306. package/lib/time-picker/time-picker.module.d.ts +4 -0
  307. package/lib/timer/timer.component.d.ts +21 -0
  308. package/lib/timer/timer.module.d.ts +4 -0
  309. package/lib/tree-control/tree-control.component.d.ts +59 -0
  310. package/lib/tree-control/tree-control.module.d.ts +4 -0
  311. package/lib/tree-ring-chart/tree-ring-chart.component.d.ts +24 -0
  312. package/lib/tree-ring-chart/tree-ring-chart.module.d.ts +4 -0
  313. package/lib/upload/upload.component.d.ts +21 -0
  314. package/lib/upload/upload.module.d.ts +4 -0
  315. package/lib/video-grid/video-grid.component.d.ts +23 -0
  316. package/lib/video-grid/video-grid.module.d.ts +4 -0
  317. package/lib/visual-map-chart/visual-map-chart.component.d.ts +49 -0
  318. package/lib/visual-map-chart/visual-map-chart.module.d.ts +4 -0
  319. package/lib/vote/vote.component.d.ts +15 -0
  320. package/lib/vote/vote.module.d.ts +4 -0
  321. package/lib/weather/weather.component.d.ts +26 -0
  322. package/lib/weather/weather.module.d.ts +4 -0
  323. package/lib/wordart/wordart.component.d.ts +14 -0
  324. package/lib/wordart/wordart.module.d.ts +4 -0
  325. package/lib/workbench-widget.module.d.ts +4 -0
  326. package/package.json +30 -0
  327. package/public-api.d.ts +34 -0
  328. package/src/assets/echarts/map/json/330305.json +1 -0
  329. package/src/assets/echarts/map/json/china-cities.json +1 -0
  330. package/src/assets/echarts/map/json/china-contour.json +1 -0
  331. package/src/assets/echarts/map/json/china.json +1 -0
  332. package/src/assets/echarts/map/json/custom_map.json +1425 -0
  333. package/src/assets/echarts/map/json/custom_map_config.json +1299 -0
  334. package/src/assets/echarts/map/json/province/anhui.json +1 -0
  335. package/src/assets/echarts/map/json/province/aomen.json +1 -0
  336. package/src/assets/echarts/map/json/province/beijing.json +1 -0
  337. package/src/assets/echarts/map/json/province/chongqing.json +1 -0
  338. package/src/assets/echarts/map/json/province/fujian.json +1 -0
  339. package/src/assets/echarts/map/json/province/gansu.json +1 -0
  340. package/src/assets/echarts/map/json/province/guangdong.json +1 -0
  341. package/src/assets/echarts/map/json/province/guangxi.json +1 -0
  342. package/src/assets/echarts/map/json/province/guizhou.json +1 -0
  343. package/src/assets/echarts/map/json/province/hainan.json +1 -0
  344. package/src/assets/echarts/map/json/province/hebei.json +1 -0
  345. package/src/assets/echarts/map/json/province/heilongjiang.json +1 -0
  346. package/src/assets/echarts/map/json/province/henan.json +1 -0
  347. package/src/assets/echarts/map/json/province/hubei.json +1 -0
  348. package/src/assets/echarts/map/json/province/hunan.json +1 -0
  349. package/src/assets/echarts/map/json/province/jiangsu.json +1 -0
  350. package/src/assets/echarts/map/json/province/jiangxi.json +1 -0
  351. package/src/assets/echarts/map/json/province/jilin.json +1 -0
  352. package/src/assets/echarts/map/json/province/liaoning.json +1 -0
  353. package/src/assets/echarts/map/json/province/neimenggu.json +1 -0
  354. package/src/assets/echarts/map/json/province/ningxia.json +1 -0
  355. package/src/assets/echarts/map/json/province/qinghai.json +1 -0
  356. package/src/assets/echarts/map/json/province/shandong.json +1 -0
  357. package/src/assets/echarts/map/json/province/shanghai.json +1 -0
  358. package/src/assets/echarts/map/json/province/shanxi.json +1 -0
  359. package/src/assets/echarts/map/json/province/shanxi1.json +1 -0
  360. package/src/assets/echarts/map/json/province/sichuan.json +1 -0
  361. package/src/assets/echarts/map/json/province/taiwan.json +1 -0
  362. package/src/assets/echarts/map/json/province/tianjin.json +1 -0
  363. package/src/assets/echarts/map/json/province/xianggang.json +1 -0
  364. package/src/assets/echarts/map/json/province/xinjiang.json +1 -0
  365. package/src/assets/echarts/map/json/province/xizang.json +1 -0
  366. package/src/assets/echarts/map/json/province/yunnan.json +1 -0
  367. package/src/assets/echarts/map/json/province/zhejiang.json +1 -0
  368. package/src/assets/echarts/map/json/wenzhou.json +1 -0
  369. package/src/assets/echarts/map/json/world.json +1 -0
  370. package/src/assets/img/screen/bulletin-board.png +0 -0
  371. package/src/assets/img/screen/cross-table.png +0 -0
  372. package/src/assets/img/screen/custom-table.png +0 -0
  373. package/src/assets/img/screen/date-picker.png +0 -0
  374. package/src/assets/img/screen/file-upload.png +0 -0
  375. package/src/assets/img/screen/gantt.png +0 -0
  376. package/src/assets/img/screen/grid.png +0 -0
  377. package/src/assets/img/screen/marker.png +0 -0
  378. package/src/assets/img/screen/multiTitleGauge.png +0 -0
  379. package/src/assets/img/screen/pie3d.png +0 -0
  380. package/src/assets/img/screen/shuffling.png +0 -0
  381. package/src/assets/img/screen/sub-screen.png +0 -0
  382. package/src/assets/img/screen/time-picker.png +0 -0
  383. package/src/assets/img/screen/typhoon.png +0 -0
  384. package/src/assets/img/screen/weather_cloudy.png +0 -0
  385. package/src/assets/img/screen/weather_overcast.png +0 -0
  386. package/src/assets/img/screen/weather_rain.png +0 -0
  387. package/src/assets/img/screen/weather_sunny.png +0 -0
  388. package/src/assets/js/BMap/MarkerClusterer_min.js +1 -0
  389. package/src/assets/js/BMap/TextIconOverlay_min.js +1 -0
  390. package/src/assets/js/BMapGL/MarkerClusterer_min.js +1 -0
  391. package/src/assets/js/BMapGL/TextIconOverlay_min.js +1 -0
  392. package/src/assets/js/BMapGL/mapvgl.min.js +1023 -0
  393. package/src/assets/js/flv.min.js +10 -0
  394. package/src/assets/js/highcharts/highcharts-3d.js +104 -0
  395. package/src/assets/js/highcharts/highcharts.js +574 -0
  396. package/src/assets/js/hls.js +2 -0
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ var BMapLib=window.BMapLib=BMapLib||{};(function(){var b=function(m,l,j){l=d(l);var n=m.pointToPixel(l.getNorthEast());var i=m.pointToPixel(l.getSouthWest());n.x+=j;n.y-=j;i.x-=j;i.y+=j;var h=m.pixelToPoint(n);var k=m.pixelToPoint(i);return new BMap.Bounds(k,h)};var d=function(i){var k=f(i.getNorthEast().lng,-180,180);var h=f(i.getSouthWest().lng,-180,180);var j=f(i.getNorthEast().lat,-74,74);var l=f(i.getSouthWest().lat,-74,74);return new BMap.Bounds(new BMap.Point(h,l),new BMap.Point(k,j))};var f=function(j,k,h){k&&(j=Math.max(j,k));h&&(j=Math.min(j,h));return j};var a=function(h){return"[object Array]"===Object.prototype.toString.call(h)};var c=function(l,n){var j=-1;if(a(n)){if(n.indexOf){j=n.indexOf(l)}else{for(var k=0,h;h=n[k];k++){if(h===l){j=k;break}}}}return j};var e=BMapLib.MarkerClusterer=function(l,h){if(!l){return}this._map=l;this._markers=[];this._clusters=[];var k=h||{};this._gridSize=k.gridSize||60;this._maxZoom=k.maxZoom||18;this._minClusterSize=k.minClusterSize||2;this._isAverageCenter=false;if(k.isAverageCenter!=undefined){this._isAverageCenter=k.isAverageCenter}this._styles=k.styles||[];var j=this;this._map.addEventListener("zoomend",function(){j._redraw()});this._map.addEventListener("moveend",function(){j._redraw()});var i=k.markers;a(i)&&this.addMarkers(i)};e.prototype.addMarkers=function(k){for(var j=0,h=k.length;j<h;j++){this._pushMarkerTo(k[j])}this._createClusters()};e.prototype._pushMarkerTo=function(h){var i=c(h,this._markers);if(i===-1){h.isInCluster=false;this._markers.push(h)}};e.prototype.addMarker=function(h){this._pushMarkerTo(h);this._createClusters()};e.prototype._createClusters=function(){var j=this._map.getBounds();var l=b(this._map,j,this._gridSize);for(var k=0,h;h=this._markers[k];k++){if(!h.isInCluster&&l.containsPoint(h.getPosition())){this._addToClosestCluster(h)}}};e.prototype._addToClosestCluster=function(l){var p=4000000;var n=null;var k=l.getPosition();for(var m=0,j;j=this._clusters[m];m++){var h=j.getCenter();if(h){var o=this._map.getDistance(h,l.getPosition());if(o<p){p=o;n=j}}}if(n&&n.isMarkerInClusterBounds(l)){n.addMarker(l)}else{var j=new g(this);j.addMarker(l);this._clusters.push(j)}};e.prototype._clearLastClusters=function(){for(var j=0,h;h=this._clusters[j];j++){h.remove()}this._clusters=[];this._removeMarkersFromCluster()};e.prototype._removeMarkersFromCluster=function(){for(var j=0,h;h=this._markers[j];j++){h.isInCluster=false}};e.prototype._removeMarkersFromMap=function(){for(var j=0,h;h=this._markers[j];j++){h.isInCluster=false;this._map.removeOverlay(h)}};e.prototype._removeMarker=function(h){var i=c(h,this._markers);if(i===-1){return false}this._map.removeOverlay(h);this._markers.splice(i,1);return true};e.prototype.removeMarker=function(h){var i=this._removeMarker(h);if(i){this._clearLastClusters();this._createClusters()}return i};e.prototype.removeMarkers=function(l){var k=false;for(var h=0;h<l.length;h++){var j=this._removeMarker(l[h]);k=k||j}if(k){this._clearLastClusters();this._createClusters()}return k};e.prototype.clearMarkers=function(){this._clearLastClusters();this._removeMarkersFromMap();this._markers=[]};e.prototype._redraw=function(){this._clearLastClusters();this._createClusters()};e.prototype.getGridSize=function(){return this._gridSize};e.prototype.setGridSize=function(h){this._gridSize=h;this._redraw()};e.prototype.getMaxZoom=function(){return this._maxZoom};e.prototype.setMaxZoom=function(h){this._maxZoom=h;this._redraw()};e.prototype.getStyles=function(){return this._styles};e.prototype.setStyles=function(h){this._styles=h;this._redraw()};e.prototype.getMinClusterSize=function(){return this._minClusterSize};e.prototype.setMinClusterSize=function(h){this._minClusterSize=h;this._redraw()};e.prototype.isAverageCenter=function(){return this._isAverageCenter};e.prototype.getMap=function(){return this._map};e.prototype.getMarkers=function(){return this._markers};e.prototype.getClustersCount=function(){var k=0;for(var j=0,h;h=this._clusters[j];j++){h.isReal()&&k++}return k};function g(h){this._markerClusterer=h;this._map=h.getMap();this._minClusterSize=h.getMinClusterSize();this._isAverageCenter=h.isAverageCenter();this._center=null;this._markers=[];this._gridBounds=null;this._isReal=false;this._clusterMarker=new BMapLib.TextIconOverlay(this._center,this._markers.length,{styles:this._markerClusterer.getStyles()})}g.prototype.addMarker=function(k){if(this.isMarkerInCluster(k)){return false}if(!this._center){this._center=k.getPosition();this.updateGridBounds()}else{if(this._isAverageCenter){var j=this._markers.length+1;var o=(this._center.lat*(j-1)+k.getPosition().lat)/j;var m=(this._center.lng*(j-1)+k.getPosition().lng)/j;this._center=new BMap.Point(m,o);this.updateGridBounds()}}k.isInCluster=true;this._markers.push(k);var h=this._markers.length;if(h<this._minClusterSize){this._map.addOverlay(k);return true}else{if(h===this._minClusterSize){for(var n=0;n<h;n++){this._markers[n].getMap()&&this._map.removeOverlay(this._markers[n])}}}this._map.addOverlay(this._clusterMarker);this._isReal=true;this.updateClusterMarker();return true};g.prototype.isMarkerInCluster=function(j){if(this._markers.indexOf){return this._markers.indexOf(j)!=-1}else{for(var k=0,h;h=this._markers[k];k++){if(h===j){return true}}}return false};g.prototype.isMarkerInClusterBounds=function(h){return this._gridBounds.containsPoint(h.getPosition())};g.prototype.isReal=function(h){return this._isReal};g.prototype.updateGridBounds=function(){var h=new BMap.Bounds(this._center,this._center);this._gridBounds=b(this._map,h,this._markerClusterer.getGridSize())};g.prototype.updateClusterMarker=function(){if(this._map.getZoom()>this._markerClusterer.getMaxZoom()){this._clusterMarker&&this._map.removeOverlay(this._clusterMarker);for(var l=0,j;j=this._markers[l];l++){this._map.addOverlay(j)}return}if(this._markers.length<this._minClusterSize){this._clusterMarker.hide();return}this._clusterMarker.setPosition(this._center);this._clusterMarker.setText(this._markers.length);var k=this._map;var h=this.getBounds();this._clusterMarker.addEventListener("click",function(i){k.setViewport(h)})};g.prototype.remove=function(){for(var j=0,h;h=this._markers[j];j++){this._markers[j].getMap()&&this._map.removeOverlay(this._markers[j])}this._map.removeOverlay(this._clusterMarker);this._markers.length=0;delete this._markers};g.prototype.getBounds=function(){var k=new BMap.Bounds(this._center,this._center);for(var j=0,h;h=this._markers[j];j++){k.extend(h.getPosition())}return k};g.prototype.getCenter=function(){return this._center}})();
@@ -0,0 +1 @@
1
+ var BMapLib=window.BMapLib=BMapLib||{};(function(){var d,c=d=c||{version:"1.3.8"};(function(){c.guid="$BAIDU$";window[c.guid]=window[c.guid]||{};c.dom=c.dom||{};c.dom.g=function(f){if("string"==typeof f||f instanceof String){return document.getElementById(f)}else{if(f&&f.nodeName&&(f.nodeType==1||f.nodeType==9)){return f}}return null};c.g=c.G=c.dom.g;c.dom.getDocument=function(f){f=c.dom.g(f);return f.nodeType==9?f:f.ownerDocument||f.document};c.lang=c.lang||{};c.lang.isString=function(f){return"[object String]"==Object.prototype.toString.call(f)};c.isString=c.lang.isString;c.dom._g=function(f){if(c.lang.isString(f)){return document.getElementById(f)}return f};c._g=c.dom._g;c.browser=c.browser||{};if(/msie (\d+\.\d)/i.test(navigator.userAgent)){c.browser.ie=c.ie=document.documentMode||+RegExp["\x241"]}c.dom.getComputedStyle=function(g,f){g=c.dom._g(g);var i=c.dom.getDocument(g),h;if(i.defaultView&&i.defaultView.getComputedStyle){h=i.defaultView.getComputedStyle(g,null);if(h){return h[f]||h.getPropertyValue(f)}}return""};c.dom._styleFixer=c.dom._styleFixer||{};c.dom._styleFilter=c.dom._styleFilter||[];c.dom._styleFilter.filter=function(g,k,l){for(var f=0,j=c.dom._styleFilter,h;h=j[f];f++){if(h=h[l]){k=h(g,k)}}return k};c.string=c.string||{};c.string.toCamelCase=function(f){if(f.indexOf("-")<0&&f.indexOf("_")<0){return f}return f.replace(/[-_][^-_]/g,function(g){return g.charAt(1).toUpperCase()})};c.dom.getStyle=function(h,g){var j=c.dom;h=j.g(h);g=c.string.toCamelCase(g);var i=h.style[g]||(h.currentStyle?h.currentStyle[g]:"")||j.getComputedStyle(h,g);if(!i){var f=j._styleFixer[g];if(f){i=f.get?f.get(h):c.dom.getStyle(h,f)}}if(f=j._styleFilter){i=f.filter(g,i,"get")}return i};c.getStyle=c.dom.getStyle;if(/opera\/(\d+\.\d)/i.test(navigator.userAgent)){c.browser.opera=+RegExp["\x241"]}c.browser.isWebkit=/webkit/i.test(navigator.userAgent);c.browser.isGecko=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);c.browser.isStrict=document.compatMode=="CSS1Compat";c.dom.getPosition=function(f){f=c.dom.g(f);var o=c.dom.getDocument(f),i=c.browser,l=c.dom.getStyle,h=i.isGecko>0&&o.getBoxObjectFor&&l(f,"position")=="absolute"&&(f.style.top===""||f.style.left===""),m={left:0,top:0},k=(i.ie&&!i.isStrict)?o.body:o.documentElement,p,g;if(f==k){return m}if(f.getBoundingClientRect){g=f.getBoundingClientRect();m.left=Math.floor(g.left)+Math.max(o.documentElement.scrollLeft,o.body.scrollLeft);m.top=Math.floor(g.top)+Math.max(o.documentElement.scrollTop,o.body.scrollTop);m.left-=o.documentElement.clientLeft;m.top-=o.documentElement.clientTop;var n=o.body,q=parseInt(l(n,"borderLeftWidth")),j=parseInt(l(n,"borderTopWidth"));if(i.ie&&!i.isStrict){m.left-=isNaN(q)?2:q;m.top-=isNaN(j)?2:j}}else{p=f;do{m.left+=p.offsetLeft;m.top+=p.offsetTop;if(i.isWebkit>0&&l(p,"position")=="fixed"){m.left+=o.body.scrollLeft;m.top+=o.body.scrollTop;break}p=p.offsetParent}while(p&&p!=f);if(i.opera>0||(i.isWebkit>0&&l(f,"position")=="absolute")){m.top-=o.body.offsetTop}p=f.offsetParent;while(p&&p!=o.body){m.left-=p.scrollLeft;if(!i.opera||p.tagName!="TR"){m.top-=p.scrollTop}p=p.offsetParent}}return m};c.event=c.event||{};c.event._listeners=c.event._listeners||[];c.event.on=function(g,j,l){j=j.replace(/^on/i,"");g=c.dom._g(g);var k=function(n){l.call(g,n)},f=c.event._listeners,i=c.event._eventFilter,m,h=j;j=j.toLowerCase();if(i&&i[j]){m=i[j](g,j,k);h=m.type;k=m.listener}if(g.addEventListener){g.addEventListener(h,k,false)}else{if(g.attachEvent){g.attachEvent("on"+h,k)}}f[f.length]=[g,j,l,k,h];return g};c.on=c.event.on;(function(){var f=window[c.guid];c.lang.guid=function(){return"TANGRAM__"+(f._counter++).toString(36)};f._counter=f._counter||1})();window[c.guid]._instances=window[c.guid]._instances||{};c.lang.isFunction=function(f){return"[object Function]"==Object.prototype.toString.call(f)};c.lang.Class=function(f){this.guid=f||c.lang.guid();window[c.guid]._instances[this.guid]=this};window[c.guid]._instances=window[c.guid]._instances||{};c.lang.Class.prototype.dispose=function(){delete window[c.guid]._instances[this.guid];for(var f in this){if(!c.lang.isFunction(this[f])){delete this[f]}}this.disposed=true};c.lang.Class.prototype.toString=function(){return"[object "+(this._className||"Object")+"]"};c.lang.Event=function(f,g){this.type=f;this.returnValue=true;this.target=g||null;this.currentTarget=null};c.lang.Class.prototype.addEventListener=function(i,h,g){if(!c.lang.isFunction(h)){return}!this.__listeners&&(this.__listeners={});var f=this.__listeners,j;if(typeof g=="string"&&g){if(/[^\w\-]/.test(g)){throw ("nonstandard key:"+g)}else{h.hashCode=g;j=g}}i.indexOf("on")!=0&&(i="on"+i);typeof f[i]!="object"&&(f[i]={});j=j||c.lang.guid();h.hashCode=j;f[i][j]=h};c.lang.Class.prototype.removeEventListener=function(i,h){if(typeof h!="undefined"){if((c.lang.isFunction(h)&&!(h=h.hashCode))||(!c.lang.isString(h))){return}}!this.__listeners&&(this.__listeners={});i.indexOf("on")!=0&&(i="on"+i);var g=this.__listeners;if(!g[i]){return}if(typeof h!="undefined"){g[i][h]&&delete g[i][h]}else{for(var f in g[i]){delete g[i][f]}}};c.lang.Class.prototype.dispatchEvent=function(j,f){if(c.lang.isString(j)){j=new c.lang.Event(j)}!this.__listeners&&(this.__listeners={});f=f||{};for(var h in f){j[h]=f[h]}var h,g=this.__listeners,k=j.type;j.target=j.target||this;j.currentTarget=this;k.indexOf("on")!=0&&(k="on"+k);c.lang.isFunction(this[k])&&this[k].apply(this,arguments);if(typeof g[k]=="object"){for(h in g[k]){g[k][h].apply(this,arguments)}}return j.returnValue};c.lang.inherits=function(l,j,i){var h,k,f=l.prototype,g=new Function();g.prototype=j.prototype;k=l.prototype=new g();for(h in f){k[h]=f[h]}l.prototype.constructor=l;l.superClass=j.prototype;if("string"==typeof i){k._className=i}};c.inherits=c.lang.inherits})();var b="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m";var a="png";var e=BMapLib.TextIconOverlay=function(f,h,g){this._position=f;this._text=h;this._options=g||{};this._styles=this._options.styles||[];(!this._styles.length)&&this._setupDefaultStyles()};d.lang.inherits(e,BMap.Overlay,"TextIconOverlay");e.prototype._setupDefaultStyles=function(){var h=[53,56,66,78,90];for(var g=0,f;f=h[g];g++){this._styles.push({url:b+g+"."+a,size:new BMap.Size(f,f)})}};e.prototype.initialize=function(f){this._map=f;this._domElement=document.createElement("div");this._updateCss();this._updateText();this._updatePosition();this._bind();this._map.getPanes().markerMouseTarget.appendChild(this._domElement);return this._domElement};e.prototype.draw=function(){this._map&&this._updatePosition()};e.prototype.getText=function(){return this._text};e.prototype.setText=function(f){if(f&&(!this._text||(this._text.toString()!=f.toString()))){this._text=f;this._updateText();this._updateCss();this._updatePosition()}};e.prototype.getPosition=function(){return this._position};e.prototype.setPosition=function(f){if(f&&(!this._position||!this._position.equals(f))){this._position=f;this._updatePosition()}};e.prototype.getStyleByText=function(i,h){var g=parseInt(i);var f=parseInt(g/10);f=Math.max(0,f);f=Math.min(f,h.length-1);return h[f]};e.prototype._updateCss=function(){var f=this.getStyleByText(this._text,this._styles);this._domElement.style.cssText=this._buildCssText(f)};e.prototype._updateText=function(){if(this._domElement){this._domElement.innerHTML=this._text}};e.prototype._updatePosition=function(){if(this._domElement&&this._position){var f=this._domElement.style;var g=this._map.pointToOverlayPixel(this._position);g.x-=Math.ceil(parseInt(f.width)/2);g.y-=Math.ceil(parseInt(f.height)/2);f.left=g.x+"px";f.top=g.y+"px"}};e.prototype._buildCssText=function(g){var h=g.url;var n=g.size;var k=g.anchor;var j=g.offset;var l=g.textColor||"black";var f=g.textSize||10;var m=[];if(d.browser.ie<7){m.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="'+h+'");')}else{m.push("background-image:url("+h+");");var i="0 0";(j instanceof BMap.Size)&&(i=j.width+"px "+j.height+"px");m.push("background-position:"+i+";")}if(n instanceof BMap.Size){if(k instanceof BMap.Size){if(k.height>0&&k.height<n.height){m.push("height:"+(n.height-k.height)+"px; padding-top:"+k.height+"px;")}if(k.width>0&&k.width<n.width){m.push("width:"+(n.width-k.width)+"px; padding-left:"+k.width+"px;")}}else{m.push("height:"+n.height+"px; line-height:"+n.height+"px;");m.push("width:"+n.width+"px; text-align:center;")}}m.push("cursor:pointer; color:"+l+"; position:absolute; font-size:"+f+"px; font-family:Arial,sans-serif; font-weight:bold");return m.join("")};e.prototype._bind=function(){if(!this._domElement){return}var g=this;var i=this._map;var f=d.lang.Event;function h(m,l){var k=m.srcElement||m.target;var j=m.clientX||m.pageX;var o=m.clientY||m.pageY;if(m&&l&&j&&o&&k){var n=d.dom.getPosition(i.getContainer());l.pixel=new BMap.Pixel(j-n.left,o-n.top);l.point=i.pixelToPoint(l.pixel)}return l}d.event.on(this._domElement,"mouseover",function(j){g.dispatchEvent(h(j,new f("onmouseover")))});d.event.on(this._domElement,"mouseout",function(j){g.dispatchEvent(h(j,new f("onmouseout")))});d.event.on(this._domElement,"click",function(j){g.dispatchEvent(h(j,new f("onclick")))})}})();
@@ -0,0 +1 @@
1
+ var BMapGLLib=window.BMapGLLib=BMapGLLib||{};(function(){var b=function(m,l,j){l=d(l);var n=m.pointToPixel(l.getNorthEast());var i=m.pointToPixel(l.getSouthWest());n.x+=j;n.y-=j;i.x-=j;i.y+=j;var h=m.pixelToPoint(n);var k=m.pixelToPoint(i);return new BMapGL.Bounds(k,h)};var d=function(i){var k=f(i.getNorthEast().lng,-180,180);var h=f(i.getSouthWest().lng,-180,180);var j=f(i.getNorthEast().lat,-74,74);var l=f(i.getSouthWest().lat,-74,74);return new BMapGL.Bounds(new BMapGL.Point(h,l),new BMapGL.Point(k,j))};var f=function(j,k,h){k&&(j=Math.max(j,k));h&&(j=Math.min(j,h));return j};var a=function(h){return"[object Array]"===Object.prototype.toString.call(h)};var c=function(l,n){var j=-1;if(a(n)){if(n.indexOf){j=n.indexOf(l)}else{for(var k=0,h;h=n[k];k++){if(h===l){j=k;break}}}}return j};var e=BMapGLLib.MarkerClusterer=function(l,h){if(!l){return}this._map=l;this._markers=[];this._clusters=[];var k=h||{};this._gridSize=k.gridSize||60;this._maxZoom=k.maxZoom||18;this._minClusterSize=k.minClusterSize||2;this._isAverageCenter=false;if(k.isAverageCenter!=undefined){this._isAverageCenter=k.isAverageCenter}this._styles=k.styles||[];var j=this;this._map.addEventListener("zoomend",function(){j._redraw()});this._map.addEventListener("moveend",function(){j._redraw()});var i=k.markers;a(i)&&this.addMarkers(i)};e.prototype.addMarkers=function(k){for(var j=0,h=k.length;j<h;j++){this._pushMarkerTo(k[j])}this._createClusters()};e.prototype._pushMarkerTo=function(h){var i=c(h,this._markers);if(i===-1){h.isInCluster=false;this._markers.push(h)}};e.prototype.addMarker=function(h){this._pushMarkerTo(h);this._createClusters()};e.prototype._createClusters=function(){var j=this._map.getBounds();var l=b(this._map,j,this._gridSize);for(var k=0,h;h=this._markers[k];k++){if(!h.isInCluster&&l.containsPoint(h.getPosition())){this._addToClosestCluster(h)}}};e.prototype._addToClosestCluster=function(l){var p=4000000;var n=null;var k=l.getPosition();for(var m=0,j;j=this._clusters[m];m++){var h=j.getCenter();if(h){var o=this._map.getDistance(h,l.getPosition());if(o<p){p=o;n=j}}}if(n&&n.isMarkerInClusterBounds(l)){n.addMarker(l)}else{var j=new g(this);j.addMarker(l);this._clusters.push(j)}};e.prototype._clearLastClusters=function(){for(var j=0,h;h=this._clusters[j];j++){h.remove()}this._clusters=[];this._removeMarkersFromCluster()};e.prototype._removeMarkersFromCluster=function(){for(var j=0,h;h=this._markers[j];j++){h.isInCluster=false}};e.prototype._removeMarkersFromMap=function(){for(var j=0,h;h=this._markers[j];j++){h.isInCluster=false;this._map.removeOverlay(h)}};e.prototype._removeMarker=function(h){var i=c(h,this._markers);if(i===-1){return false}this._map.removeOverlay(h);this._markers.splice(i,1);return true};e.prototype.removeMarker=function(h){var i=this._removeMarker(h);if(i){this._clearLastClusters();this._createClusters()}return i};e.prototype.removeMarkers=function(l){var k=false;for(var h=0;h<l.length;h++){var j=this._removeMarker(l[h]);k=k||j}if(k){this._clearLastClusters();this._createClusters()}return k};e.prototype.clearMarkers=function(){this._clearLastClusters();this._removeMarkersFromMap();this._markers=[]};e.prototype._redraw=function(){this._clearLastClusters();this._createClusters()};e.prototype.getGridSize=function(){return this._gridSize};e.prototype.setGridSize=function(h){this._gridSize=h;this._redraw()};e.prototype.getMaxZoom=function(){return this._maxZoom};e.prototype.setMaxZoom=function(h){this._maxZoom=h;this._redraw()};e.prototype.getStyles=function(){return this._styles};e.prototype.setStyles=function(h){this._styles=h;this._redraw()};e.prototype.getMinClusterSize=function(){return this._minClusterSize};e.prototype.setMinClusterSize=function(h){this._minClusterSize=h;this._redraw()};e.prototype.isAverageCenter=function(){return this._isAverageCenter};e.prototype.getMap=function(){return this._map};e.prototype.getMarkers=function(){return this._markers};e.prototype.getClustersCount=function(){var k=0;for(var j=0,h;h=this._clusters[j];j++){h.isReal()&&k++}return k};function g(h){this._markerClusterer=h;this._map=h.getMap();this._minClusterSize=h.getMinClusterSize();this._isAverageCenter=h.isAverageCenter();this._center=null;this._markers=[];this._gridBounds=null;this._isReal=false;this._clusterMarker=new BMapGLLib.TextIconOverlay(this._center,this._markers.length,{styles:this._markerClusterer.getStyles()})}g.prototype.addMarker=function(k){if(this.isMarkerInCluster(k)){return false}if(!this._center){this._center=k.getPosition();this.updateGridBounds()}else{if(this._isAverageCenter){var j=this._markers.length+1;var o=(this._center.lat*(j-1)+k.getPosition().lat)/j;var m=(this._center.lng*(j-1)+k.getPosition().lng)/j;this._center=new BMapGL.Point(m,o);this.updateGridBounds()}}k.isInCluster=true;this._markers.push(k);var h=this._markers.length;if(h<this._minClusterSize){this._map.addOverlay(k);return true}else{if(h===this._minClusterSize){for(var n=0;n<h;n++){this._markers[n].getMap()&&this._map.removeOverlay(this._markers[n])}}}this._map.addOverlay(this._clusterMarker);this._isReal=true;this.updateClusterMarker();return true};g.prototype.isMarkerInCluster=function(j){if(this._markers.indexOf){return this._markers.indexOf(j)!=-1}else{for(var k=0,h;h=this._markers[k];k++){if(h===j){return true}}}return false};g.prototype.isMarkerInClusterBounds=function(h){return this._gridBounds.containsPoint(h.getPosition())};g.prototype.isReal=function(h){return this._isReal};g.prototype.updateGridBounds=function(){var h=new BMapGL.Bounds(this._center,this._center);this._gridBounds=b(this._map,h,this._markerClusterer.getGridSize())};g.prototype.updateClusterMarker=function(){if(this._map.getZoom()>this._markerClusterer.getMaxZoom()){this._clusterMarker&&this._map.removeOverlay(this._clusterMarker);for(var l=0,j;j=this._markers[l];l++){this._map.addOverlay(j)}return}if(this._markers.length<this._minClusterSize){this._clusterMarker.hide();return}this._clusterMarker.setPosition(this._center);this._clusterMarker.setText(this._markers.length);var k=this._map;var h=this.getBounds();this._clusterMarker.addEventListener("click",function(i){k.setViewport(h)})};g.prototype.remove=function(){for(var j=0,h;h=this._markers[j];j++){this._markers[j].getMap()&&this._map.removeOverlay(this._markers[j])}this._map.removeOverlay(this._clusterMarker);this._markers.length=0;delete this._markers};g.prototype.getBounds=function(){var k=new BMapGL.Bounds(this._center,this._center);for(var j=0,h;h=this._markers[j];j++){k.extend(h.getPosition())}return k};g.prototype.getCenter=function(){return this._center}})();
@@ -0,0 +1 @@
1
+ var BMapGLLib=window.BMapGLLib=BMapGLLib||{};(function(){var d,c=d=c||{version:"1.3.8"};(function(){c.guid="$BAIDU$";window[c.guid]=window[c.guid]||{};c.dom=c.dom||{};c.dom.g=function(f){if("string"==typeof f||f instanceof String){return document.getElementById(f)}else{if(f&&f.nodeName&&(f.nodeType==1||f.nodeType==9)){return f}}return null};c.g=c.G=c.dom.g;c.dom.getDocument=function(f){f=c.dom.g(f);return f.nodeType==9?f:f.ownerDocument||f.document};c.lang=c.lang||{};c.lang.isString=function(f){return"[object String]"==Object.prototype.toString.call(f)};c.isString=c.lang.isString;c.dom._g=function(f){if(c.lang.isString(f)){return document.getElementById(f)}return f};c._g=c.dom._g;c.browser=c.browser||{};if(/msie (\d+\.\d)/i.test(navigator.userAgent)){c.browser.ie=c.ie=document.documentMode||+RegExp["\x241"]}c.dom.getComputedStyle=function(g,f){g=c.dom._g(g);var i=c.dom.getDocument(g),h;if(i.defaultView&&i.defaultView.getComputedStyle){h=i.defaultView.getComputedStyle(g,null);if(h){return h[f]||h.getPropertyValue(f)}}return""};c.dom._styleFixer=c.dom._styleFixer||{};c.dom._styleFilter=c.dom._styleFilter||[];c.dom._styleFilter.filter=function(g,k,l){for(var f=0,j=c.dom._styleFilter,h;h=j[f];f++){if(h=h[l]){k=h(g,k)}}return k};c.string=c.string||{};c.string.toCamelCase=function(f){if(f.indexOf("-")<0&&f.indexOf("_")<0){return f}return f.replace(/[-_][^-_]/g,function(g){return g.charAt(1).toUpperCase()})};c.dom.getStyle=function(h,g){var j=c.dom;h=j.g(h);g=c.string.toCamelCase(g);var i=h.style[g]||(h.currentStyle?h.currentStyle[g]:"")||j.getComputedStyle(h,g);if(!i){var f=j._styleFixer[g];if(f){i=f.get?f.get(h):c.dom.getStyle(h,f)}}if(f=j._styleFilter){i=f.filter(g,i,"get")}return i};c.getStyle=c.dom.getStyle;if(/opera\/(\d+\.\d)/i.test(navigator.userAgent)){c.browser.opera=+RegExp["\x241"]}c.browser.isWebkit=/webkit/i.test(navigator.userAgent);c.browser.isGecko=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);c.browser.isStrict=document.compatMode=="CSS1Compat";c.dom.getPosition=function(f){f=c.dom.g(f);var o=c.dom.getDocument(f),i=c.browser,l=c.dom.getStyle,h=i.isGecko>0&&o.getBoxObjectFor&&l(f,"position")=="absolute"&&(f.style.top===""||f.style.left===""),m={left:0,top:0},k=(i.ie&&!i.isStrict)?o.body:o.documentElement,p,g;if(f==k){return m}if(f.getBoundingClientRect){g=f.getBoundingClientRect();m.left=Math.floor(g.left)+Math.max(o.documentElement.scrollLeft,o.body.scrollLeft);m.top=Math.floor(g.top)+Math.max(o.documentElement.scrollTop,o.body.scrollTop);m.left-=o.documentElement.clientLeft;m.top-=o.documentElement.clientTop;var n=o.body,q=parseInt(l(n,"borderLeftWidth")),j=parseInt(l(n,"borderTopWidth"));if(i.ie&&!i.isStrict){m.left-=isNaN(q)?2:q;m.top-=isNaN(j)?2:j}}else{p=f;do{m.left+=p.offsetLeft;m.top+=p.offsetTop;if(i.isWebkit>0&&l(p,"position")=="fixed"){m.left+=o.body.scrollLeft;m.top+=o.body.scrollTop;break}p=p.offsetParent}while(p&&p!=f);if(i.opera>0||(i.isWebkit>0&&l(f,"position")=="absolute")){m.top-=o.body.offsetTop}p=f.offsetParent;while(p&&p!=o.body){m.left-=p.scrollLeft;if(!i.opera||p.tagName!="TR"){m.top-=p.scrollTop}p=p.offsetParent}}return m};c.event=c.event||{};c.event._listeners=c.event._listeners||[];c.event.on=function(g,j,l){j=j.replace(/^on/i,"");g=c.dom._g(g);var k=function(n){l.call(g,n)},f=c.event._listeners,i=c.event._eventFilter,m,h=j;j=j.toLowerCase();if(i&&i[j]){m=i[j](g,j,k);h=m.type;k=m.listener}if(g.addEventListener){g.addEventListener(h,k,false)}else{if(g.attachEvent){g.attachEvent("on"+h,k)}}f[f.length]=[g,j,l,k,h];return g};c.on=c.event.on;(function(){var f=window[c.guid];c.lang.guid=function(){return"TANGRAM__"+(f._counter++).toString(36)};f._counter=f._counter||1})();window[c.guid]._instances=window[c.guid]._instances||{};c.lang.isFunction=function(f){return"[object Function]"==Object.prototype.toString.call(f)};c.lang.Class=function(f){this.guid=f||c.lang.guid();window[c.guid]._instances[this.guid]=this};window[c.guid]._instances=window[c.guid]._instances||{};c.lang.Class.prototype.dispose=function(){delete window[c.guid]._instances[this.guid];for(var f in this){if(!c.lang.isFunction(this[f])){delete this[f]}}this.disposed=true};c.lang.Class.prototype.toString=function(){return"[object "+(this._className||"Object")+"]"};c.lang.Event=function(f,g){this.type=f;this.returnValue=true;this.target=g||null;this.currentTarget=null};c.lang.Class.prototype.addEventListener=function(i,h,g){if(!c.lang.isFunction(h)){return}!this.__listeners&&(this.__listeners={});var f=this.__listeners,j;if(typeof g=="string"&&g){if(/[^\w\-]/.test(g)){throw ("nonstandard key:"+g)}else{h.hashCode=g;j=g}}i.indexOf("on")!=0&&(i="on"+i);typeof f[i]!="object"&&(f[i]={});j=j||c.lang.guid();h.hashCode=j;f[i][j]=h};c.lang.Class.prototype.removeEventListener=function(i,h){if(typeof h!="undefined"){if((c.lang.isFunction(h)&&!(h=h.hashCode))||(!c.lang.isString(h))){return}}!this.__listeners&&(this.__listeners={});i.indexOf("on")!=0&&(i="on"+i);var g=this.__listeners;if(!g[i]){return}if(typeof h!="undefined"){g[i][h]&&delete g[i][h]}else{for(var f in g[i]){delete g[i][f]}}};c.lang.Class.prototype.dispatchEvent=function(j,f){if(c.lang.isString(j)){j=new c.lang.Event(j)}!this.__listeners&&(this.__listeners={});f=f||{};for(var h in f){j[h]=f[h]}var h,g=this.__listeners,k=j.type;j.target=j.target||this;j.currentTarget=this;k.indexOf("on")!=0&&(k="on"+k);c.lang.isFunction(this[k])&&this[k].apply(this,arguments);if(typeof g[k]=="object"){for(h in g[k]){g[k][h].apply(this,arguments)}}return j.returnValue};c.lang.inherits=function(l,j,i){var h,k,f=l.prototype,g=new Function();g.prototype=j.prototype;k=l.prototype=new g();for(h in f){k[h]=f[h]}l.prototype.constructor=l;l.superClass=j.prototype;if("string"==typeof i){k._className=i}};c.inherits=c.lang.inherits})();var b="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m";var a="png";var e=BMapGLLib.TextIconOverlay=function(f,h,g){this._position=f;this._text=h;this._options=g||{};this._styles=this._options.styles||[];(!this._styles.length)&&this._setupDefaultStyles()};d.lang.inherits(e,BMapGL.Overlay,"TextIconOverlay");e.prototype._setupDefaultStyles=function(){var h=[53,56,66,78,90];for(var g=0,f;f=h[g];g++){this._styles.push({url:b+g+"."+a,size:new BMapGL.Size(f,f)})}};e.prototype.initialize=function(f){this._map=f;this._domElement=document.createElement("div");this._updateCss();this._updateText();this._updatePosition();this._bind();this._map.getPanes().markerMouseTarget.appendChild(this._domElement);return this._domElement};e.prototype.draw=function(){this._map&&this._updatePosition()};e.prototype.getText=function(){return this._text};e.prototype.setText=function(f){if(f&&(!this._text||(this._text.toString()!=f.toString()))){this._text=f;this._updateText();this._updateCss();this._updatePosition()}};e.prototype.getPosition=function(){return this._position};e.prototype.setPosition=function(f){if(f&&(!this._position||!this._position.equals(f))){this._position=f;this._updatePosition()}};e.prototype.getStyleByText=function(i,h){var g=parseInt(i);var f=parseInt(g/10);f=Math.max(0,f);f=Math.min(f,h.length-1);return h[f]};e.prototype._updateCss=function(){var f=this.getStyleByText(this._text,this._styles);this._domElement.style.cssText=this._buildCssText(f)};e.prototype._updateText=function(){if(this._domElement){this._domElement.innerHTML=this._text}};e.prototype._updatePosition=function(){if(this._domElement&&this._position){var f=this._domElement.style;var g=this._map.pointToOverlayPixel(this._position);g.x-=Math.ceil(parseInt(f.width)/2);g.y-=Math.ceil(parseInt(f.height)/2);f.left=g.x+"px";f.top=g.y+"px"}};e.prototype._buildCssText=function(g){var h=g.url;var n=g.size;var k=g.anchor;var j=g.offset;var l=g.textColor||"black";var f=g.textSize||10;var m=[];if(d.browser.ie<7){m.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="'+h+'");')}else{m.push("background-image:url("+h+");");var i="0 0";(j instanceof BMapGL.Size)&&(i=j.width+"px "+j.height+"px");m.push("background-position:"+i+";")}if(n instanceof BMapGL.Size){if(k instanceof BMapGL.Size){if(k.height>0&&k.height<n.height){m.push("height:"+(n.height-k.height)+"px; padding-top:"+k.height+"px;")}if(k.width>0&&k.width<n.width){m.push("width:"+(n.width-k.width)+"px; padding-left:"+k.width+"px;")}}else{m.push("height:"+n.height+"px; line-height:"+n.height+"px;");m.push("width:"+n.width+"px; text-align:center;")}}m.push("cursor:pointer; color:"+l+"; position:absolute; font-size:"+f+"px; font-family:Arial,sans-serif; font-weight:bold");return m.join("")};e.prototype._bind=function(){if(!this._domElement){return}var g=this;var i=this._map;var f=d.lang.Event;function h(m,l){var k=m.srcElement||m.target;var j=m.clientX||m.pageX;var o=m.clientY||m.pageY;if(m&&l&&j&&o&&k){var n=d.dom.getPosition(i.getContainer());l.pixel=new BMapGL.Pixel(j-n.left,o-n.top);l.point=i.pixelToPoint(l.pixel)}return l}d.event.on(this._domElement,"mouseover",function(j){g.dispatchEvent(h(j,new f("onmouseover")))});d.event.on(this._domElement,"mouseout",function(j){g.dispatchEvent(h(j,new f("onmouseout")))});d.event.on(this._domElement,"click",function(j){g.dispatchEvent(h(j,new f("onclick")))})}})();