bbj-screen-widget 2.4.62 → 2.4.63
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.
- package/bbj-screen-widget.d.ts +119 -0
- package/bbj-screen-widget.metadata.json +1 -0
- package/bundles/bbj-screen-widget-core.umd.js +614 -0
- package/bundles/bbj-screen-widget-core.umd.js.map +1 -0
- package/bundles/bbj-screen-widget-core.umd.min.js +2 -0
- package/bundles/bbj-screen-widget-core.umd.min.js.map +1 -0
- package/bundles/bbj-screen-widget.umd.js +21735 -0
- package/bundles/bbj-screen-widget.umd.js.map +1 -0
- package/bundles/bbj-screen-widget.umd.min.js +2 -0
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -0
- package/core/bbj-screen-widget-core.d.ts +4 -0
- package/core/bbj-screen-widget-core.metadata.json +1 -0
- package/core/model/screen-widget.config.d.ts +7 -0
- package/core/package.json +10 -2
- package/core/public_api.d.ts +2 -0
- package/core/service/baidu-map.service.d.ts +18 -0
- package/esm2015/bbj-screen-widget.js +120 -0
- package/esm2015/core/bbj-screen-widget-core.js +5 -0
- package/esm2015/core/model/screen-widget.config.js +3 -0
- package/esm2015/core/public_api.js +3 -0
- package/esm2015/core/service/baidu-map.service.js +108 -0
- package/esm2015/lib/announcement/announcement.component.js +80 -0
- package/esm2015/lib/announcement/announcement.module.js +25 -0
- package/esm2015/lib/audio/audio.component.js +167 -0
- package/esm2015/lib/audio/audio.module.js +20 -0
- package/esm2015/lib/background/background.component.js +52 -0
- package/esm2015/lib/background/background.module.js +19 -0
- package/esm2015/lib/bar-chart-three-d/bar-chart-three-d.component.js +323 -0
- package/esm2015/lib/bar-chart-three-d/bar-chart-three-d.module.js +20 -0
- package/esm2015/lib/basic-bar-chart/basic-bar-chart.component.js +604 -0
- package/esm2015/lib/basic-bar-chart/basic-bar-chart.module.js +27 -0
- package/esm2015/lib/basic-line-chart/basic-line-chart.component.js +782 -0
- package/esm2015/lib/basic-line-chart/basic-line-chart.module.js +20 -0
- package/esm2015/lib/basic-pie-chart/basic-pie-chart.component.js +471 -0
- package/esm2015/lib/basic-pie-chart/basic-pie-chart.module.js +20 -0
- package/esm2015/lib/basic-planimetric-map/basic-planimetric-map.component.js +233 -0
- package/esm2015/lib/basic-planimetric-map/basic-planimetric-map.module.js +21 -0
- package/esm2015/lib/breathing-bubble-layer/breathing-bubble-layer.component.js +503 -0
- package/esm2015/lib/breathing-bubble-layer/breathing-bubble-layer.module.js +19 -0
- package/esm2015/lib/bubble-chart/bubble-chart.component.js +348 -0
- package/esm2015/lib/bubble-chart/bubble-chart.module.js +20 -0
- package/esm2015/lib/bulletin-board/bulletin-board.component.js +160 -0
- package/esm2015/lib/bulletin-board/bulletin-board.module.js +23 -0
- package/esm2015/lib/button/button.component.js +186 -0
- package/esm2015/lib/button/button.module.js +21 -0
- package/esm2015/lib/calendar/background-events/background-events.component.js +65 -0
- package/esm2015/lib/calendar/calendar-events-child.js +28 -0
- package/esm2015/lib/calendar/calendar.component.js +168 -0
- package/esm2015/lib/calendar/calendar.module.js +32 -0
- package/esm2015/lib/calendar/calendar.util.js +12 -0
- package/esm2015/lib/calendar/events/events.component.js +75 -0
- package/esm2015/lib/checkbox/checkbox.component.js +333 -0
- package/esm2015/lib/checkbox/checkbox.module.js +21 -0
- package/esm2015/lib/cross-table/cross-table.component.js +291 -0
- package/esm2015/lib/cross-table/cross-table.module.js +20 -0
- package/esm2015/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.js +747 -0
- package/esm2015/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.js +278 -0
- package/esm2015/lib/custom-baidu-map/base-layer.js +53 -0
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +675 -0
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.module.js +46 -0
- package/esm2015/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.js +116 -0
- package/esm2015/lib/custom-baidu-map/wind-layer/wind-layer.component.js +331 -0
- package/esm2015/lib/date-picker/date-picker.component.js +447 -0
- package/esm2015/lib/date-picker/date-picker.module.js +22 -0
- package/esm2015/lib/funnel-chart/funnel-chart.component.js +241 -0
- package/esm2015/lib/funnel-chart/funnel-chart.module.js +20 -0
- package/esm2015/lib/gantt/gantt.component.js +222 -0
- package/esm2015/lib/gantt/gantt.module.js +39 -0
- package/esm2015/lib/gauge/gauge.component.js +324 -0
- package/esm2015/lib/gauge/gauge.module.js +20 -0
- package/esm2015/lib/gauge-progress/gauge-progress.component.js +356 -0
- package/esm2015/lib/gauge-progress/gauge.module.js +22 -0
- package/esm2015/lib/general-text/general-text.component.js +144 -0
- package/esm2015/lib/general-text/general-text.module.js +20 -0
- package/esm2015/lib/iconfont/icon.js +199 -0
- package/esm2015/lib/iconfont/iconfont.component.js +56 -0
- package/esm2015/lib/iconfont/iconfont.module.js +20 -0
- package/esm2015/lib/iframe/iframe.component.js +46 -0
- package/esm2015/lib/iframe/iframe.module.js +20 -0
- package/esm2015/lib/image/image.component.js +98 -0
- package/esm2015/lib/image/image.module.js +19 -0
- package/esm2015/lib/item-swiper/item-swiper.component.js +343 -0
- package/esm2015/lib/item-swiper/item-swiper.module.js +22 -0
- package/esm2015/lib/line-bar-chart/line-bar-chart.component.js +398 -0
- package/esm2015/lib/line-bar-chart/line-bar-chart.module.js +20 -0
- package/esm2015/lib/line-light-flow/line-light-flow.component.js +241 -0
- package/esm2015/lib/line-light-flow/line-light-flow.module.js +24 -0
- package/esm2015/lib/liquid-fill/liquid-fill.component.js +158 -0
- package/esm2015/lib/liquid-fill/liquid-fill.module.js +20 -0
- package/esm2015/lib/marquee/marquee.component.js +110 -0
- package/esm2015/lib/marquee/marquee.module.js +19 -0
- package/esm2015/lib/mip-anim/mip-anim.component.js +26 -0
- package/esm2015/lib/mip-anim/mip-anim.module.js +19 -0
- package/esm2015/lib/multi-title-gauge/multi-title-gauge.component.js +277 -0
- package/esm2015/lib/multi-title-gauge/multi-title-gauge.module.js +22 -0
- package/esm2015/lib/number-flop/number-flop.component.js +124 -0
- package/esm2015/lib/number-flop/number-flop.module.js +19 -0
- package/esm2015/lib/parent-container/parent-container.component.js +21 -0
- package/esm2015/lib/parent-container/parent-container.module.js +19 -0
- package/esm2015/lib/percent-pie-chart/percent-pie-chart.component.js +248 -0
- package/esm2015/lib/percent-pie-chart/percent-pie-chart.module.js +20 -0
- package/esm2015/lib/pie3d-chart/pie3d-chart.component.js +303 -0
- package/esm2015/lib/pie3d-chart/pie3d-chart.module.js +19 -0
- package/esm2015/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.js +431 -0
- package/esm2015/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.js +19 -0
- package/esm2015/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.js +252 -0
- package/esm2015/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.js +19 -0
- package/esm2015/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.js +124 -0
- package/esm2015/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.js +19 -0
- package/esm2015/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.js +359 -0
- package/esm2015/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.js +21 -0
- package/esm2015/lib/planimetric-map2d/planimetric-map2d.component.js +753 -0
- package/esm2015/lib/planimetric-map2d/planimetric-map2d.module.js +34 -0
- package/esm2015/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.js +128 -0
- package/esm2015/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.js +19 -0
- package/esm2015/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.js +242 -0
- package/esm2015/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.js +19 -0
- package/esm2015/lib/planimetric-map3d/planimetric-map3d.component.js +265 -0
- package/esm2015/lib/planimetric-map3d/planimetric-map3d.module.js +22 -0
- package/esm2015/lib/radar-chart/radar-chart.component.js +255 -0
- package/esm2015/lib/radar-chart/radar-chart.module.js +20 -0
- package/esm2015/lib/radio/radio.component.js +148 -0
- package/esm2015/lib/radio/radio.module.js +21 -0
- package/esm2015/lib/rate/rate.component.js +57 -0
- package/esm2015/lib/rate/rate.module.js +23 -0
- package/esm2015/lib/scatter3d/scatter3d.component.js +166 -0
- package/esm2015/lib/scatter3d/scatter3d.module.js +20 -0
- package/esm2015/lib/screen-widget.module.js +536 -0
- package/esm2015/lib/search/search.component.js +130 -0
- package/esm2015/lib/search/search.module.js +29 -0
- package/esm2015/lib/select/select.component.js +359 -0
- package/esm2015/lib/select/select.module.js +22 -0
- package/esm2015/lib/shape/shape.component.js +248 -0
- package/esm2015/lib/shape/shape.module.js +19 -0
- package/esm2015/lib/shared/component/video-player/video-player.component.js +114 -0
- package/esm2015/lib/shared/component/video-player/video-player.module.js +14 -0
- package/esm2015/lib/shared/service/common.service.js +39 -0
- package/esm2015/lib/shared/service/file-url.service.js +12 -0
- package/esm2015/lib/shared/service/gaode-map.service.js +36 -0
- package/esm2015/lib/shared/service/highcharts.service.js +36 -0
- package/esm2015/lib/shared/service/http.service.js +20 -0
- package/esm2015/lib/shared/util/base.util.js +5 -0
- package/esm2015/lib/shared/util/echarts.util.js +12 -0
- package/esm2015/lib/shared/util/style.util.js +19 -0
- package/esm2015/lib/shuffling-list/color.pipe.js +23 -0
- package/esm2015/lib/shuffling-list/shuffling-list.component.js +601 -0
- package/esm2015/lib/shuffling-list/shuffling-list.module.js +22 -0
- package/esm2015/lib/table/table.component.js +657 -0
- package/esm2015/lib/table/table.module.js +38 -0
- package/esm2015/lib/tabs/tab/tab.component.js +27 -0
- package/esm2015/lib/tabs/tabs.component.js +85 -0
- package/esm2015/lib/tabs/tabs.module.js +22 -0
- package/esm2015/lib/temporary-data/temporary-data.component.js +49 -0
- package/esm2015/lib/temporary-data/temporary-data.module.js +20 -0
- package/esm2015/lib/time-picker/time-picker.component.js +112 -0
- package/esm2015/lib/time-picker/time-picker.module.js +21 -0
- package/esm2015/lib/timer/timer.component.js +108 -0
- package/esm2015/lib/timer/timer.module.js +20 -0
- package/esm2015/lib/tree-control/tree-control.component.js +435 -0
- package/esm2015/lib/tree-control/tree-control.module.js +24 -0
- package/esm2015/lib/tree-ring-chart/tree-ring-chart.component.js +215 -0
- package/esm2015/lib/tree-ring-chart/tree-ring-chart.module.js +20 -0
- package/esm2015/lib/upload/upload.component.js +127 -0
- package/esm2015/lib/upload/upload.module.js +22 -0
- package/esm2015/lib/video-grid/video-grid.component.js +140 -0
- package/esm2015/lib/video-grid/video-grid.module.js +22 -0
- package/esm2015/lib/visual-map-chart/visual-map-chart.component.js +395 -0
- package/esm2015/lib/visual-map-chart/visual-map-chart.module.js +20 -0
- package/esm2015/lib/vote/vote.component.js +100 -0
- package/esm2015/lib/vote/vote.module.js +21 -0
- package/esm2015/lib/weather/weather.component.js +92 -0
- package/esm2015/lib/weather/weather.module.js +21 -0
- package/esm2015/lib/wordart/wordart.component.js +84 -0
- package/esm2015/lib/wordart/wordart.module.js +19 -0
- package/esm2015/lib/workbench-widget.module.js +620 -0
- package/esm2015/public-api.js +40 -0
- package/fesm2015/bbj-screen-widget-core.js +114 -0
- package/fesm2015/bbj-screen-widget-core.js.map +1 -0
- package/fesm2015/bbj-screen-widget.js +20633 -0
- package/fesm2015/bbj-screen-widget.js.map +1 -0
- package/lib/announcement/announcement.component.d.ts +13 -0
- package/lib/announcement/announcement.module.d.ts +5 -0
- package/lib/audio/audio.component.d.ts +22 -0
- package/lib/audio/audio.module.d.ts +4 -0
- package/lib/background/background.component.d.ts +12 -0
- package/lib/background/background.module.d.ts +4 -0
- package/lib/bar-chart-three-d/bar-chart-three-d.component.d.ts +30 -0
- package/lib/bar-chart-three-d/bar-chart-three-d.module.d.ts +4 -0
- package/lib/basic-bar-chart/basic-bar-chart.component.d.ts +105 -0
- package/lib/basic-bar-chart/basic-bar-chart.module.d.ts +5 -0
- package/lib/basic-line-chart/basic-line-chart.component.d.ts +102 -0
- package/lib/basic-line-chart/basic-line-chart.module.d.ts +4 -0
- package/lib/basic-pie-chart/basic-pie-chart.component.d.ts +56 -0
- package/lib/basic-pie-chart/basic-pie-chart.module.d.ts +4 -0
- package/lib/basic-planimetric-map/basic-planimetric-map.component.d.ts +18 -0
- package/lib/basic-planimetric-map/basic-planimetric-map.module.d.ts +4 -0
- package/lib/breathing-bubble-layer/breathing-bubble-layer.component.d.ts +210 -0
- package/lib/breathing-bubble-layer/breathing-bubble-layer.module.d.ts +4 -0
- package/lib/bubble-chart/bubble-chart.component.d.ts +75 -0
- package/lib/bubble-chart/bubble-chart.module.d.ts +4 -0
- package/lib/bulletin-board/bulletin-board.component.d.ts +25 -0
- package/lib/bulletin-board/bulletin-board.module.d.ts +4 -0
- package/lib/button/button.component.d.ts +25 -0
- package/lib/button/button.module.d.ts +4 -0
- package/lib/calendar/background-events/background-events.component.d.ts +10 -0
- package/lib/calendar/calendar-events-child.d.ts +12 -0
- package/lib/calendar/calendar.component.d.ts +27 -0
- package/lib/calendar/calendar.module.d.ts +4 -0
- package/lib/calendar/calendar.util.d.ts +6 -0
- package/lib/calendar/events/events.component.d.ts +13 -0
- package/lib/checkbox/checkbox.component.d.ts +45 -0
- package/lib/checkbox/checkbox.module.d.ts +4 -0
- package/lib/cross-table/cross-table.component.d.ts +30 -0
- package/lib/cross-table/cross-table.module.d.ts +4 -0
- package/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.d.ts +72 -0
- package/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.d.ts +23 -0
- package/lib/custom-baidu-map/base-layer.d.ts +16 -0
- package/lib/custom-baidu-map/custom-baidu-map.component.d.ts +93 -0
- package/lib/custom-baidu-map/custom-baidu-map.module.d.ts +4 -0
- package/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.d.ts +16 -0
- package/lib/custom-baidu-map/wind-layer/wind-layer.component.d.ts +28 -0
- package/lib/date-picker/date-picker.component.d.ts +63 -0
- package/lib/date-picker/date-picker.module.d.ts +4 -0
- package/lib/funnel-chart/funnel-chart.component.d.ts +24 -0
- package/lib/funnel-chart/funnel-chart.module.d.ts +4 -0
- package/lib/gantt/gantt.component.d.ts +25 -0
- package/lib/gantt/gantt.module.d.ts +4 -0
- package/lib/gauge/gauge.component.d.ts +37 -0
- package/lib/gauge/gauge.module.d.ts +4 -0
- package/lib/gauge-progress/gauge-progress.component.d.ts +46 -0
- package/lib/gauge-progress/gauge.module.d.ts +5 -0
- package/lib/general-text/general-text.component.d.ts +21 -0
- package/lib/general-text/general-text.module.d.ts +4 -0
- package/lib/iconfont/icon.d.ts +1 -0
- package/lib/iconfont/iconfont.component.d.ts +11 -0
- package/lib/iconfont/iconfont.module.d.ts +4 -0
- package/lib/iframe/iframe.component.d.ts +10 -0
- package/lib/iframe/iframe.module.d.ts +4 -0
- package/lib/image/image.component.d.ts +21 -0
- package/lib/image/image.module.d.ts +4 -0
- package/lib/item-swiper/item-swiper.component.d.ts +41 -0
- package/lib/item-swiper/item-swiper.module.d.ts +5 -0
- package/lib/line-bar-chart/line-bar-chart.component.d.ts +63 -0
- package/lib/line-bar-chart/line-bar-chart.module.d.ts +4 -0
- package/lib/line-light-flow/line-light-flow.component.d.ts +26 -0
- package/lib/line-light-flow/line-light-flow.module.d.ts +4 -0
- package/lib/liquid-fill/liquid-fill.component.d.ts +18 -0
- package/lib/liquid-fill/liquid-fill.module.d.ts +4 -0
- package/lib/marquee/marquee.component.d.ts +20 -0
- package/lib/marquee/marquee.module.d.ts +4 -0
- package/lib/mip-anim/mip-anim.component.d.ts +6 -0
- package/lib/mip-anim/mip-anim.module.d.ts +4 -0
- package/lib/multi-title-gauge/multi-title-gauge.component.d.ts +26 -0
- package/lib/multi-title-gauge/multi-title-gauge.module.d.ts +4 -0
- package/lib/number-flop/number-flop.component.d.ts +22 -0
- package/lib/number-flop/number-flop.module.d.ts +4 -0
- package/lib/parent-container/parent-container.component.d.ts +9 -0
- package/lib/parent-container/parent-container.module.d.ts +4 -0
- package/lib/percent-pie-chart/percent-pie-chart.component.d.ts +24 -0
- package/lib/percent-pie-chart/percent-pie-chart.module.d.ts +4 -0
- package/lib/pie3d-chart/pie3d-chart.component.d.ts +30 -0
- package/lib/pie3d-chart/pie3d-chart.module.d.ts +4 -0
- package/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.d.ts +206 -0
- package/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.d.ts +4 -0
- package/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.d.ts +15 -0
- package/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.d.ts +4 -0
- package/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.d.ts +15 -0
- package/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.d.ts +4 -0
- package/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.d.ts +49 -0
- package/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.d.ts +4 -0
- package/lib/planimetric-map2d/planimetric-map2d.component.d.ts +49 -0
- package/lib/planimetric-map2d/planimetric-map2d.module.d.ts +4 -0
- package/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.d.ts +14 -0
- package/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.d.ts +4 -0
- package/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.d.ts +41 -0
- package/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.d.ts +4 -0
- package/lib/planimetric-map3d/planimetric-map3d.component.d.ts +29 -0
- package/lib/planimetric-map3d/planimetric-map3d.module.d.ts +4 -0
- package/lib/radar-chart/radar-chart.component.d.ts +24 -0
- package/lib/radar-chart/radar-chart.module.d.ts +4 -0
- package/lib/radio/radio.component.d.ts +21 -0
- package/lib/radio/radio.module.d.ts +4 -0
- package/lib/rate/rate.component.d.ts +13 -0
- package/lib/rate/rate.module.d.ts +4 -0
- package/lib/scatter3d/scatter3d.component.d.ts +25 -0
- package/lib/scatter3d/scatter3d.module.d.ts +4 -0
- package/lib/screen-widget.module.d.ts +4 -0
- package/lib/search/search.component.d.ts +21 -0
- package/lib/search/search.module.d.ts +6 -0
- package/lib/select/select.component.d.ts +37 -0
- package/lib/select/select.module.d.ts +4 -0
- package/lib/shape/shape.component.d.ts +50 -0
- package/lib/shape/shape.module.d.ts +4 -0
- package/lib/shared/component/video-player/video-player.component.d.ts +28 -0
- package/lib/shared/component/video-player/video-player.module.d.ts +2 -0
- package/lib/shared/service/common.service.d.ts +21 -0
- package/lib/shared/service/file-url.service.d.ts +3 -0
- package/lib/shared/service/gaode-map.service.d.ts +10 -0
- package/lib/shared/service/highcharts.service.d.ts +9 -0
- package/lib/shared/service/http.service.d.ts +7 -0
- package/lib/shared/util/base.util.d.ts +1 -0
- package/lib/shared/util/echarts.util.d.ts +1 -0
- package/lib/shared/util/style.util.d.ts +1 -0
- package/lib/shuffling-list/color.pipe.d.ts +4 -0
- package/lib/shuffling-list/shuffling-list.component.d.ts +76 -0
- package/lib/shuffling-list/shuffling-list.module.d.ts +4 -0
- package/lib/table/table.component.d.ts +65 -0
- package/lib/table/table.module.d.ts +4 -0
- package/lib/tabs/tab/tab.component.d.ts +7 -0
- package/lib/tabs/tabs.component.d.ts +13 -0
- package/lib/tabs/tabs.module.d.ts +4 -0
- package/lib/temporary-data/temporary-data.component.d.ts +13 -0
- package/lib/temporary-data/temporary-data.module.d.ts +4 -0
- package/lib/time-picker/time-picker.component.d.ts +17 -0
- package/lib/time-picker/time-picker.module.d.ts +4 -0
- package/lib/timer/timer.component.d.ts +21 -0
- package/lib/timer/timer.module.d.ts +4 -0
- package/lib/tree-control/tree-control.component.d.ts +62 -0
- package/lib/tree-control/tree-control.module.d.ts +4 -0
- package/lib/tree-ring-chart/tree-ring-chart.component.d.ts +24 -0
- package/lib/tree-ring-chart/tree-ring-chart.module.d.ts +4 -0
- package/lib/upload/upload.component.d.ts +21 -0
- package/lib/upload/upload.module.d.ts +4 -0
- package/lib/video-grid/video-grid.component.d.ts +23 -0
- package/lib/video-grid/video-grid.module.d.ts +4 -0
- package/lib/visual-map-chart/visual-map-chart.component.d.ts +49 -0
- package/lib/visual-map-chart/visual-map-chart.module.d.ts +4 -0
- package/lib/vote/vote.component.d.ts +15 -0
- package/lib/vote/vote.module.d.ts +4 -0
- package/lib/weather/weather.component.d.ts +26 -0
- package/lib/weather/weather.module.d.ts +4 -0
- package/lib/wordart/wordart.component.d.ts +14 -0
- package/lib/wordart/wordart.module.d.ts +4 -0
- package/lib/workbench-widget.module.d.ts +4 -0
- package/package.json +13 -4
- package/{src/public-api.ts → public-api.d.ts} +35 -46
- package/core/src/public_api.ts +0 -1
- package/core/src/service/baidu-map.service.ts +0 -107
- package/karma.conf.js +0 -32
- package/ng-package.json +0 -59
- package/src/lib/announcement/announcement.component.html +0 -3
- package/src/lib/announcement/announcement.component.less +0 -5
- package/src/lib/announcement/announcement.component.spec.ts +0 -25
- package/src/lib/announcement/announcement.component.ts +0 -55
- package/src/lib/announcement/announcement.module.ts +0 -19
- package/src/lib/audio/audio.component.html +0 -6
- package/src/lib/audio/audio.component.less +0 -12
- package/src/lib/audio/audio.component.spec.ts +0 -25
- package/src/lib/audio/audio.component.ts +0 -167
- package/src/lib/audio/audio.module.ts +0 -15
- package/src/lib/background/background.component.html +0 -1
- package/src/lib/background/background.component.less +0 -6
- package/src/lib/background/background.component.spec.ts +0 -25
- package/src/lib/background/background.component.ts +0 -33
- package/src/lib/background/background.module.ts +0 -14
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.html +0 -1
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.less +0 -8
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.spec.ts +0 -25
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.ts +0 -271
- package/src/lib/bar-chart-three-d/bar-chart-three-d.module.ts +0 -15
- package/src/lib/basic-bar-chart/basic-bar-chart.component.html +0 -7
- package/src/lib/basic-bar-chart/basic-bar-chart.component.less +0 -5
- package/src/lib/basic-bar-chart/basic-bar-chart.component.spec.ts +0 -25
- package/src/lib/basic-bar-chart/basic-bar-chart.component.ts +0 -493
- package/src/lib/basic-bar-chart/basic-bar-chart.module.ts +0 -21
- package/src/lib/basic-line-chart/basic-line-chart.component.html +0 -7
- package/src/lib/basic-line-chart/basic-line-chart.component.less +0 -8
- package/src/lib/basic-line-chart/basic-line-chart.component.spec.ts +0 -25
- package/src/lib/basic-line-chart/basic-line-chart.component.ts +0 -654
- package/src/lib/basic-line-chart/basic-line-chart.module.ts +0 -15
- package/src/lib/basic-pie-chart/basic-pie-chart.component.html +0 -7
- package/src/lib/basic-pie-chart/basic-pie-chart.component.less +0 -8
- package/src/lib/basic-pie-chart/basic-pie-chart.component.spec.ts +0 -25
- package/src/lib/basic-pie-chart/basic-pie-chart.component.ts +0 -439
- package/src/lib/basic-pie-chart/basic-pie-chart.module.ts +0 -15
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.html +0 -2
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.less +0 -9
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.spec.ts +0 -25
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.ts +0 -211
- package/src/lib/basic-planimetric-map/basic-planimetric-map.module.ts +0 -16
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.css +0 -0
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.html +0 -1
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.spec.ts +0 -25
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.ts +0 -487
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.module.ts +0 -14
- package/src/lib/bubble-chart/bubble-chart.component.html +0 -7
- package/src/lib/bubble-chart/bubble-chart.component.less +0 -8
- package/src/lib/bubble-chart/bubble-chart.component.spec.ts +0 -25
- package/src/lib/bubble-chart/bubble-chart.component.ts +0 -307
- package/src/lib/bubble-chart/bubble-chart.module.ts +0 -15
- package/src/lib/bulletin-board/bulletin-board.component.html +0 -15
- package/src/lib/bulletin-board/bulletin-board.component.less +0 -27
- package/src/lib/bulletin-board/bulletin-board.component.spec.ts +0 -25
- package/src/lib/bulletin-board/bulletin-board.component.ts +0 -127
- package/src/lib/bulletin-board/bulletin-board.module.ts +0 -20
- package/src/lib/button/button.component.html +0 -1
- package/src/lib/button/button.component.less +0 -17
- package/src/lib/button/button.component.spec.ts +0 -25
- package/src/lib/button/button.component.ts +0 -137
- package/src/lib/button/button.module.ts +0 -16
- package/src/lib/calendar/background-events/background-events.component.html +0 -0
- package/src/lib/calendar/background-events/background-events.component.less +0 -0
- package/src/lib/calendar/background-events/background-events.component.spec.ts +0 -25
- package/src/lib/calendar/background-events/background-events.component.ts +0 -51
- package/src/lib/calendar/calendar-events-child.ts +0 -27
- package/src/lib/calendar/calendar.component.html +0 -2
- package/src/lib/calendar/calendar.component.less +0 -14
- package/src/lib/calendar/calendar.component.spec.ts +0 -25
- package/src/lib/calendar/calendar.component.ts +0 -151
- package/src/lib/calendar/calendar.module.ts +0 -27
- package/src/lib/calendar/calendar.util.ts +0 -14
- package/src/lib/calendar/events/events.component.html +0 -0
- package/src/lib/calendar/events/events.component.less +0 -0
- package/src/lib/calendar/events/events.component.spec.ts +0 -25
- package/src/lib/calendar/events/events.component.ts +0 -61
- package/src/lib/checkbox/checkbox.component.html +0 -61
- package/src/lib/checkbox/checkbox.component.less +0 -104
- package/src/lib/checkbox/checkbox.component.spec.ts +0 -25
- package/src/lib/checkbox/checkbox.component.ts +0 -292
- package/src/lib/checkbox/checkbox.module.ts +0 -16
- package/src/lib/cross-table/cross-table.component.html +0 -16
- package/src/lib/cross-table/cross-table.component.less +0 -75
- package/src/lib/cross-table/cross-table.component.spec.ts +0 -25
- package/src/lib/cross-table/cross-table.component.ts +0 -257
- package/src/lib/cross-table/cross-table.module.ts +0 -18
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.html +0 -32
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.less +0 -11
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.spec.ts +0 -25
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.ts +0 -689
- package/src/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.html +0 -0
- package/src/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.less +0 -0
- package/src/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.spec.ts +0 -25
- package/src/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.ts +0 -248
- package/src/lib/custom-baidu-map/base-layer.ts +0 -50
- package/src/lib/custom-baidu-map/custom-baidu-map.component.html +0 -15
- package/src/lib/custom-baidu-map/custom-baidu-map.component.less +0 -69
- package/src/lib/custom-baidu-map/custom-baidu-map.component.spec.ts +0 -25
- package/src/lib/custom-baidu-map/custom-baidu-map.component.ts +0 -652
- package/src/lib/custom-baidu-map/custom-baidu-map.module.ts +0 -41
- package/src/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.html +0 -0
- package/src/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.less +0 -0
- package/src/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.spec.ts +0 -25
- package/src/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.ts +0 -99
- package/src/lib/custom-baidu-map/wind-layer/wind-layer.component.html +0 -0
- package/src/lib/custom-baidu-map/wind-layer/wind-layer.component.less +0 -0
- package/src/lib/custom-baidu-map/wind-layer/wind-layer.component.spec.ts +0 -25
- package/src/lib/custom-baidu-map/wind-layer/wind-layer.component.ts +0 -404
- package/src/lib/data-map/data-map.component.html +0 -9
- package/src/lib/data-map/data-map.component.less +0 -0
- package/src/lib/data-map/data-map.component.spec.ts +0 -25
- package/src/lib/data-map/data-map.component.ts +0 -105
- package/src/lib/data-map/data-map.module.ts +0 -15
- package/src/lib/date-picker/date-picker.component.html +0 -32
- package/src/lib/date-picker/date-picker.component.less +0 -20
- package/src/lib/date-picker/date-picker.component.spec.ts +0 -25
- package/src/lib/date-picker/date-picker.component.ts +0 -389
- package/src/lib/date-picker/date-picker.module.ts +0 -18
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.html +0 -25
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.less +0 -35
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.spec.ts +0 -25
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.ts +0 -117
- package/src/lib/drop-down-detail-list/drop-down-detail-list.module.ts +0 -15
- package/src/lib/dynamic-list/dynamic-list.component.html +0 -15
- package/src/lib/dynamic-list/dynamic-list.component.less +0 -31
- package/src/lib/dynamic-list/dynamic-list.component.spec.ts +0 -25
- package/src/lib/dynamic-list/dynamic-list.component.ts +0 -57
- package/src/lib/dynamic-list/dynamic-list.module.ts +0 -15
- package/src/lib/funnel-chart/funnel-chart.component.html +0 -7
- package/src/lib/funnel-chart/funnel-chart.component.less +0 -8
- package/src/lib/funnel-chart/funnel-chart.component.spec.ts +0 -25
- package/src/lib/funnel-chart/funnel-chart.component.ts +0 -198
- package/src/lib/funnel-chart/funnel-chart.module.ts +0 -15
- package/src/lib/gantt/gantt.component.html +0 -10
- package/src/lib/gantt/gantt.component.less +0 -76
- package/src/lib/gantt/gantt.component.spec.ts +0 -25
- package/src/lib/gantt/gantt.component.ts +0 -213
- package/src/lib/gantt/gantt.module.ts +0 -37
- package/src/lib/gauge/gauge.component.html +0 -1
- package/src/lib/gauge/gauge.component.less +0 -8
- package/src/lib/gauge/gauge.component.spec.ts +0 -25
- package/src/lib/gauge/gauge.component.ts +0 -268
- package/src/lib/gauge/gauge.module.ts +0 -15
- package/src/lib/gauge-progress/gauge-progress.component.html +0 -29
- package/src/lib/gauge-progress/gauge-progress.component.less +0 -51
- package/src/lib/gauge-progress/gauge-progress.component.ts +0 -293
- package/src/lib/gauge-progress/gauge.module.ts +0 -17
- package/src/lib/general-text/general-text.component.html +0 -7
- package/src/lib/general-text/general-text.component.less +0 -8
- package/src/lib/general-text/general-text.component.spec.ts +0 -25
- package/src/lib/general-text/general-text.component.ts +0 -114
- package/src/lib/general-text/general-text.module.ts +0 -15
- package/src/lib/iconfont/icon.ts +0 -198
- package/src/lib/iconfont/iconfont.component.html +0 -4
- package/src/lib/iconfont/iconfont.component.less +0 -5
- package/src/lib/iconfont/iconfont.component.spec.ts +0 -25
- package/src/lib/iconfont/iconfont.component.ts +0 -42
- package/src/lib/iconfont/iconfont.module.ts +0 -15
- package/src/lib/iframe/iframe.component.html +0 -1
- package/src/lib/iframe/iframe.component.less +0 -13
- package/src/lib/iframe/iframe.component.spec.ts +0 -25
- package/src/lib/iframe/iframe.component.ts +0 -34
- package/src/lib/iframe/iframe.module.ts +0 -15
- package/src/lib/image/image.component.html +0 -2
- package/src/lib/image/image.component.less +0 -13
- package/src/lib/image/image.component.spec.ts +0 -25
- package/src/lib/image/image.component.ts +0 -79
- package/src/lib/image/image.module.ts +0 -14
- package/src/lib/item-swiper/item-swiper.component.html +0 -48
- package/src/lib/item-swiper/item-swiper.component.less +0 -75
- package/src/lib/item-swiper/item-swiper.component.spec.ts +0 -25
- package/src/lib/item-swiper/item-swiper.component.ts +0 -277
- package/src/lib/item-swiper/item-swiper.module.ts +0 -17
- package/src/lib/line-bar-chart/line-bar-chart.component.html +0 -7
- package/src/lib/line-bar-chart/line-bar-chart.component.less +0 -3
- package/src/lib/line-bar-chart/line-bar-chart.component.spec.ts +0 -25
- package/src/lib/line-bar-chart/line-bar-chart.component.ts +0 -346
- package/src/lib/line-bar-chart/line-bar-chart.module.ts +0 -15
- package/src/lib/line-light-flow/line-light-flow.component.css +0 -0
- package/src/lib/line-light-flow/line-light-flow.component.html +0 -3
- package/src/lib/line-light-flow/line-light-flow.component.spec.ts +0 -25
- package/src/lib/line-light-flow/line-light-flow.component.ts +0 -274
- package/src/lib/line-light-flow/line-light-flow.module.ts +0 -21
- package/src/lib/liquid-fill/liquid-fill.component.html +0 -1
- package/src/lib/liquid-fill/liquid-fill.component.less +0 -8
- package/src/lib/liquid-fill/liquid-fill.component.spec.ts +0 -25
- package/src/lib/liquid-fill/liquid-fill.component.ts +0 -127
- package/src/lib/liquid-fill/liquid-fill.module.ts +0 -15
- package/src/lib/marquee/marquee.component.html +0 -5
- package/src/lib/marquee/marquee.component.less +0 -9
- package/src/lib/marquee/marquee.component.spec.ts +0 -25
- package/src/lib/marquee/marquee.component.ts +0 -84
- package/src/lib/marquee/marquee.module.ts +0 -14
- package/src/lib/mip-anim/mip-anim.component.html +0 -1
- package/src/lib/mip-anim/mip-anim.component.less +0 -7
- package/src/lib/mip-anim/mip-anim.component.spec.ts +0 -25
- package/src/lib/mip-anim/mip-anim.component.ts +0 -18
- package/src/lib/mip-anim/mip-anim.module.ts +0 -14
- package/src/lib/multi-title-gauge/multi-title-gauge.component.html +0 -1
- package/src/lib/multi-title-gauge/multi-title-gauge.component.less +0 -9
- package/src/lib/multi-title-gauge/multi-title-gauge.component.spec.ts +0 -25
- package/src/lib/multi-title-gauge/multi-title-gauge.component.ts +0 -231
- package/src/lib/multi-title-gauge/multi-title-gauge.module.ts +0 -19
- package/src/lib/number-flop/number-flop.component.html +0 -31
- package/src/lib/number-flop/number-flop.component.less +0 -155
- package/src/lib/number-flop/number-flop.component.spec.ts +0 -25
- package/src/lib/number-flop/number-flop.component.ts +0 -96
- package/src/lib/number-flop/number-flop.module.ts +0 -14
- package/src/lib/parent-container/parent-container.component.html +0 -0
- package/src/lib/parent-container/parent-container.component.less +0 -0
- package/src/lib/parent-container/parent-container.component.spec.ts +0 -25
- package/src/lib/parent-container/parent-container.component.ts +0 -21
- package/src/lib/parent-container/parent-container.module.ts +0 -14
- package/src/lib/percent-pie-chart/percent-pie-chart.component.html +0 -8
- package/src/lib/percent-pie-chart/percent-pie-chart.component.less +0 -8
- package/src/lib/percent-pie-chart/percent-pie-chart.component.spec.ts +0 -25
- package/src/lib/percent-pie-chart/percent-pie-chart.component.ts +0 -213
- package/src/lib/percent-pie-chart/percent-pie-chart.module.ts +0 -15
- package/src/lib/pie3d-chart/pie3d-chart.component.html +0 -1
- package/src/lib/pie3d-chart/pie3d-chart.component.less +0 -9
- package/src/lib/pie3d-chart/pie3d-chart.component.spec.ts +0 -25
- package/src/lib/pie3d-chart/pie3d-chart.component.ts +0 -278
- package/src/lib/pie3d-chart/pie3d-chart.module.ts +0 -16
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.html +0 -0
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.less +0 -0
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.spec.ts +0 -25
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.ts +0 -411
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.ts +0 -13
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.html +0 -1
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.less +0 -0
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.spec.ts +0 -25
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.ts +0 -235
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.ts +0 -16
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.html +0 -0
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.less +0 -0
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.spec.ts +0 -25
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.ts +0 -107
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.ts +0 -17
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.html +0 -0
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.less +0 -0
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.spec.ts +0 -25
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.ts +0 -337
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.ts +0 -18
- package/src/lib/planimetric-map2d/planimetric-map2d.component.html +0 -11
- package/src/lib/planimetric-map2d/planimetric-map2d.component.less +0 -9
- package/src/lib/planimetric-map2d/planimetric-map2d.component.spec.ts +0 -25
- package/src/lib/planimetric-map2d/planimetric-map2d.component.ts +0 -690
- package/src/lib/planimetric-map2d/planimetric-map2d.module.ts +0 -29
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.html +0 -0
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.less +0 -0
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.spec.ts +0 -25
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.ts +0 -123
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.ts +0 -14
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.html +0 -0
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.less +0 -0
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.spec.ts +0 -25
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.ts +0 -229
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.ts +0 -14
- package/src/lib/planimetric-map3d/planimetric-map3d.component.html +0 -2
- package/src/lib/planimetric-map3d/planimetric-map3d.component.less +0 -10
- package/src/lib/planimetric-map3d/planimetric-map3d.component.spec.ts +0 -25
- package/src/lib/planimetric-map3d/planimetric-map3d.component.ts +0 -227
- package/src/lib/planimetric-map3d/planimetric-map3d.module.ts +0 -17
- package/src/lib/radar-chart/radar-chart.component.html +0 -7
- package/src/lib/radar-chart/radar-chart.component.less +0 -8
- package/src/lib/radar-chart/radar-chart.component.spec.ts +0 -25
- package/src/lib/radar-chart/radar-chart.component.ts +0 -219
- package/src/lib/radar-chart/radar-chart.module.ts +0 -15
- package/src/lib/radio/radio.component.html +0 -18
- package/src/lib/radio/radio.component.less +0 -61
- package/src/lib/radio/radio.component.spec.ts +0 -25
- package/src/lib/radio/radio.component.ts +0 -116
- package/src/lib/radio/radio.module.ts +0 -16
- package/src/lib/rate/rate.component.html +0 -16
- package/src/lib/rate/rate.component.less +0 -39
- package/src/lib/rate/rate.component.spec.ts +0 -25
- package/src/lib/rate/rate.component.ts +0 -40
- package/src/lib/rate/rate.module.ts +0 -18
- package/src/lib/scatter3d/scatter3d.component.html +0 -1
- package/src/lib/scatter3d/scatter3d.component.less +0 -8
- package/src/lib/scatter3d/scatter3d.component.spec.ts +0 -25
- package/src/lib/scatter3d/scatter3d.component.ts +0 -129
- package/src/lib/scatter3d/scatter3d.module.ts +0 -15
- package/src/lib/screen-widget.module.ts +0 -592
- package/src/lib/search/search.component.html +0 -30
- package/src/lib/search/search.component.less +0 -30
- package/src/lib/search/search.component.spec.ts +0 -25
- package/src/lib/search/search.component.ts +0 -103
- package/src/lib/search/search.module.ts +0 -22
- package/src/lib/select/select.component.html +0 -30
- package/src/lib/select/select.component.less +0 -117
- package/src/lib/select/select.component.spec.ts +0 -25
- package/src/lib/select/select.component.ts +0 -297
- package/src/lib/select/select.module.ts +0 -18
- package/src/lib/shape/shape.component.html +0 -39
- package/src/lib/shape/shape.component.less +0 -8
- package/src/lib/shape/shape.component.spec.ts +0 -25
- package/src/lib/shape/shape.component.ts +0 -207
- package/src/lib/shape/shape.module.ts +0 -14
- package/src/lib/shared/component/video-player/video-player.component.html +0 -2
- package/src/lib/shared/component/video-player/video-player.component.less +0 -15
- package/src/lib/shared/component/video-player/video-player.component.spec.ts +0 -25
- package/src/lib/shared/component/video-player/video-player.component.ts +0 -132
- package/src/lib/shared/component/video-player/video-player.module.ts +0 -11
- package/src/lib/shared/model/scale.token.ts +0 -8
- package/src/lib/shared/service/common.service.ts +0 -28
- package/src/lib/shared/service/file-url.service.ts +0 -8
- package/src/lib/shared/service/gaode-map.service.ts +0 -37
- package/src/lib/shared/service/highcharts.service.ts +0 -29
- package/src/lib/shared/service/http.service.ts +0 -15
- package/src/lib/shared/util/base.util.ts +0 -4
- package/src/lib/shared/util/echarts.util.ts +0 -11
- package/src/lib/shared/util/style.util.ts +0 -12
- package/src/lib/shuffling-list/color.pipe.ts +0 -21
- package/src/lib/shuffling-list/shuffling-list.component.html +0 -37
- package/src/lib/shuffling-list/shuffling-list.component.less +0 -55
- package/src/lib/shuffling-list/shuffling-list.component.spec.ts +0 -25
- package/src/lib/shuffling-list/shuffling-list.component.ts +0 -534
- package/src/lib/shuffling-list/shuffling-list.module.ts +0 -17
- package/src/lib/table/table.component.html +0 -123
- package/src/lib/table/table.component.less +0 -76
- package/src/lib/table/table.component.spec.ts +0 -25
- package/src/lib/table/table.component.ts +0 -608
- package/src/lib/table/table.module.ts +0 -33
- package/src/lib/tabs/tab/tab.component.html +0 -1
- package/src/lib/tabs/tab/tab.component.less +0 -5
- package/src/lib/tabs/tab/tab.component.spec.ts +0 -25
- package/src/lib/tabs/tab/tab.component.ts +0 -18
- package/src/lib/tabs/tabs.component.html +0 -13
- package/src/lib/tabs/tabs.component.less +0 -40
- package/src/lib/tabs/tabs.component.spec.ts +0 -25
- package/src/lib/tabs/tabs.component.ts +0 -68
- package/src/lib/tabs/tabs.module.ts +0 -17
- package/src/lib/temporary-data/temporary-data.component.html +0 -1
- package/src/lib/temporary-data/temporary-data.component.less +0 -4
- package/src/lib/temporary-data/temporary-data.component.spec.ts +0 -25
- package/src/lib/temporary-data/temporary-data.component.ts +0 -46
- package/src/lib/temporary-data/temporary-data.module.ts +0 -15
- package/src/lib/text/text.component.css +0 -0
- package/src/lib/text/text.component.html +0 -3
- package/src/lib/text/text.component.spec.ts +0 -25
- package/src/lib/text/text.component.ts +0 -22
- package/src/lib/text/text.module.ts +0 -14
- package/src/lib/time-picker/time-picker.component.html +0 -1
- package/src/lib/time-picker/time-picker.component.less +0 -14
- package/src/lib/time-picker/time-picker.component.spec.ts +0 -25
- package/src/lib/time-picker/time-picker.component.ts +0 -86
- package/src/lib/time-picker/time-picker.module.ts +0 -19
- package/src/lib/timer/timer.component.html +0 -7
- package/src/lib/timer/timer.component.less +0 -24
- package/src/lib/timer/timer.component.spec.ts +0 -25
- package/src/lib/timer/timer.component.ts +0 -74
- package/src/lib/timer/timer.module.ts +0 -15
- package/src/lib/tree-control/tree-control.component.html +0 -97
- package/src/lib/tree-control/tree-control.component.less +0 -111
- package/src/lib/tree-control/tree-control.component.spec.ts +0 -25
- package/src/lib/tree-control/tree-control.component.ts +0 -363
- package/src/lib/tree-control/tree-control.module.ts +0 -18
- package/src/lib/tree-ring-chart/tree-ring-chart.component.html +0 -7
- package/src/lib/tree-ring-chart/tree-ring-chart.component.less +0 -8
- package/src/lib/tree-ring-chart/tree-ring-chart.component.spec.ts +0 -25
- package/src/lib/tree-ring-chart/tree-ring-chart.component.ts +0 -192
- package/src/lib/tree-ring-chart/tree-ring-chart.module.ts +0 -15
- package/src/lib/upload/upload.component.html +0 -32
- package/src/lib/upload/upload.component.less +0 -14
- package/src/lib/upload/upload.component.spec.ts +0 -25
- package/src/lib/upload/upload.component.ts +0 -109
- package/src/lib/upload/upload.module.ts +0 -19
- package/src/lib/video-grid/video-grid.component.html +0 -33
- package/src/lib/video-grid/video-grid.component.less +0 -68
- package/src/lib/video-grid/video-grid.component.spec.ts +0 -25
- package/src/lib/video-grid/video-grid.component.ts +0 -115
- package/src/lib/video-grid/video-grid.module.ts +0 -17
- package/src/lib/visual-map-chart/visual-map-chart.component.html +0 -8
- package/src/lib/visual-map-chart/visual-map-chart.component.less +0 -21
- package/src/lib/visual-map-chart/visual-map-chart.component.spec.ts +0 -25
- package/src/lib/visual-map-chart/visual-map-chart.component.ts +0 -365
- package/src/lib/visual-map-chart/visual-map-chart.module.ts +0 -18
- package/src/lib/vote/vote.component.html +0 -6
- package/src/lib/vote/vote.component.less +0 -41
- package/src/lib/vote/vote.component.spec.ts +0 -25
- package/src/lib/vote/vote.component.ts +0 -71
- package/src/lib/vote/vote.module.ts +0 -16
- package/src/lib/weather/weather.component.html +0 -27
- package/src/lib/weather/weather.component.less +0 -67
- package/src/lib/weather/weather.component.spec.ts +0 -25
- package/src/lib/weather/weather.component.ts +0 -78
- package/src/lib/weather/weather.module.ts +0 -16
- package/src/lib/wordart/wordart.component.html +0 -2
- package/src/lib/wordart/wordart.component.less +0 -12
- package/src/lib/wordart/wordart.component.spec.ts +0 -25
- package/src/lib/wordart/wordart.component.ts +0 -56
- package/src/lib/wordart/wordart.module.ts +0 -14
- package/src/lib/workbench-widget.module.ts +0 -675
- package/src/test.ts +0 -22
- package/tsconfig.lib.json +0 -37
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -1,690 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
OnInit,
|
|
4
|
-
forwardRef,
|
|
5
|
-
ViewChild,
|
|
6
|
-
ElementRef,
|
|
7
|
-
OnDestroy,
|
|
8
|
-
OnChanges,
|
|
9
|
-
SimpleChanges,
|
|
10
|
-
EventEmitter,
|
|
11
|
-
} from '@angular/core';
|
|
12
|
-
import { Widget, Property, Data, DataOutput, Event } from 'bbj-widget-base';
|
|
13
|
-
import { ParentContainerComponent } from '../parent-container/parent-container.component';
|
|
14
|
-
import { HttpClient } from '@angular/common/http';
|
|
15
|
-
import * as echarts from 'echarts';
|
|
16
|
-
import { NgxEchartsDirective } from 'ngx-echarts';
|
|
17
|
-
import { getEchartsTextStyle } from '../shared/util/echarts.util';
|
|
18
|
-
|
|
19
|
-
@Component({
|
|
20
|
-
selector: 'sc-planimetric-map2d',
|
|
21
|
-
templateUrl: './planimetric-map2d.component.html',
|
|
22
|
-
styleUrls: ['./planimetric-map2d.component.less'],
|
|
23
|
-
providers: [{ provide: ParentContainerComponent, useExisting: forwardRef(() => PlanimetricMap2dComponent) }],
|
|
24
|
-
})
|
|
25
|
-
@Widget('2D平面地图', {
|
|
26
|
-
group: 'component',
|
|
27
|
-
image: 'assets/img/screen/2dmap.png',
|
|
28
|
-
icon: 'iconmokuai',
|
|
29
|
-
children: [
|
|
30
|
-
{
|
|
31
|
-
title: '呼吸气泡层',
|
|
32
|
-
type: 'sc-breathing-bubble-layer',
|
|
33
|
-
option: {},
|
|
34
|
-
hidden: true,
|
|
35
|
-
hideChild: true,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
childTypes: [
|
|
39
|
-
'sc-fly-line-layer',
|
|
40
|
-
'sc-breathing-bubble-layer',
|
|
41
|
-
'sc-map2d-polyline-layer',
|
|
42
|
-
'sc-map2d-mark-layer',
|
|
43
|
-
'sc-map2d-visual-layer',
|
|
44
|
-
],
|
|
45
|
-
description: 'hasChildItem',
|
|
46
|
-
})
|
|
47
|
-
export class PlanimetricMap2dComponent extends ParentContainerComponent implements OnInit, OnDestroy, OnChanges {
|
|
48
|
-
@Property('地图样式', {
|
|
49
|
-
ui: {
|
|
50
|
-
widget: 'myUrlSelect',
|
|
51
|
-
url: '/assets/mapListItem.json',
|
|
52
|
-
},
|
|
53
|
-
})
|
|
54
|
-
mapStyle = 'china';
|
|
55
|
-
@Property('地图缩放', {
|
|
56
|
-
ui: { widget: 'myRange', min: 1, max: 40, step: 1 },
|
|
57
|
-
})
|
|
58
|
-
zoom = 1;
|
|
59
|
-
@Property('区域背景', {
|
|
60
|
-
ui: {
|
|
61
|
-
widget: 'myColor',
|
|
62
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
63
|
-
},
|
|
64
|
-
})
|
|
65
|
-
areaColor = '#323c48';
|
|
66
|
-
@Property('区域描边', {
|
|
67
|
-
ui: {
|
|
68
|
-
widget: 'myColor',
|
|
69
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
70
|
-
},
|
|
71
|
-
})
|
|
72
|
-
borderColor = '#404a59';
|
|
73
|
-
@Property('移动高亮', {
|
|
74
|
-
ui: {
|
|
75
|
-
widget: 'myColor',
|
|
76
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
77
|
-
},
|
|
78
|
-
})
|
|
79
|
-
_areaColor = '#2a333d';
|
|
80
|
-
@Property('地区字体', { ui: { widget: 'myFont' } })
|
|
81
|
-
areaNamefont: any = {
|
|
82
|
-
family: '',
|
|
83
|
-
color: '#FFFFFF',
|
|
84
|
-
weight: 'normal',
|
|
85
|
-
size: 12,
|
|
86
|
-
space: 0,
|
|
87
|
-
lineHeight: 12,
|
|
88
|
-
};
|
|
89
|
-
@Property('显示地名', {
|
|
90
|
-
type: 'boolean',
|
|
91
|
-
})
|
|
92
|
-
showAreaName = true;
|
|
93
|
-
@Property('触发方式', {
|
|
94
|
-
ui: { widget: 'select' },
|
|
95
|
-
enum: [
|
|
96
|
-
{ label: '点击', value: 'click' },
|
|
97
|
-
{ label: '鼠标移动', value: 'mousemove' },
|
|
98
|
-
],
|
|
99
|
-
})
|
|
100
|
-
triggerType = 'mousemove';
|
|
101
|
-
@Property('选中方式', {
|
|
102
|
-
ui: { widget: 'select' },
|
|
103
|
-
enum: [
|
|
104
|
-
{ label: '默认', value: '' },
|
|
105
|
-
{ label: '单选', value: 'single' },
|
|
106
|
-
{ label: '多选', value: 'multiple' },
|
|
107
|
-
],
|
|
108
|
-
})
|
|
109
|
-
selectedMode = '';
|
|
110
|
-
|
|
111
|
-
@Property('缩放开关', {
|
|
112
|
-
type: 'boolean',
|
|
113
|
-
})
|
|
114
|
-
zoomSwitch = 'false';
|
|
115
|
-
@Property('高亮描边', {
|
|
116
|
-
ui: {
|
|
117
|
-
widget: 'myColor',
|
|
118
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
119
|
-
},
|
|
120
|
-
})
|
|
121
|
-
_borderColor = '';
|
|
122
|
-
@Property('阴影颜色', {
|
|
123
|
-
ui: {
|
|
124
|
-
widget: 'myColor',
|
|
125
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
126
|
-
},
|
|
127
|
-
})
|
|
128
|
-
shadowColor = '#2a333d';
|
|
129
|
-
@Property('边框粗细', {
|
|
130
|
-
type: 'number',
|
|
131
|
-
})
|
|
132
|
-
shadowWidth = 20;
|
|
133
|
-
@Property('地图渐变开始', {
|
|
134
|
-
ui: {
|
|
135
|
-
widget: 'myColor',
|
|
136
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
137
|
-
},
|
|
138
|
-
})
|
|
139
|
-
mapColorStart = '#2a333d';
|
|
140
|
-
@Property('地图渐变结束', {
|
|
141
|
-
ui: {
|
|
142
|
-
widget: 'myColor',
|
|
143
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
144
|
-
},
|
|
145
|
-
})
|
|
146
|
-
mapColorEnd = '#2a333d';
|
|
147
|
-
@Property('选中渐变开始', {
|
|
148
|
-
ui: {
|
|
149
|
-
widget: 'myColor',
|
|
150
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
151
|
-
},
|
|
152
|
-
})
|
|
153
|
-
selectColorStart = '#2a333d';
|
|
154
|
-
@Property('选中渐变结束', {
|
|
155
|
-
ui: {
|
|
156
|
-
widget: 'myColor',
|
|
157
|
-
example: ['#D0021B', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', '#333333'],
|
|
158
|
-
},
|
|
159
|
-
})
|
|
160
|
-
selectColorEnd = '#2a333d';
|
|
161
|
-
|
|
162
|
-
chartOption: any;
|
|
163
|
-
hasMap = false;
|
|
164
|
-
@Data({
|
|
165
|
-
properties: {
|
|
166
|
-
name: { type: 'string', title: '地名' },
|
|
167
|
-
lng: { type: 'number', title: '经度' },
|
|
168
|
-
lat: { type: 'string', title: '纬度' },
|
|
169
|
-
},
|
|
170
|
-
})
|
|
171
|
-
data: any[] = [];
|
|
172
|
-
@DataOutput(['name', 'lng', 'lat'])
|
|
173
|
-
@Event('选中', {
|
|
174
|
-
params: {
|
|
175
|
-
properties: {
|
|
176
|
-
name: { type: 'string', title: '值' },
|
|
177
|
-
lng: { type: 'number', title: '经度' },
|
|
178
|
-
lat: { type: 'string', title: '纬度' },
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
})
|
|
182
|
-
areaClick = new EventEmitter();
|
|
183
|
-
|
|
184
|
-
nameMap: any = {
|
|
185
|
-
Somalia: '索马里',
|
|
186
|
-
Liechtenstein: '列支敦士登',
|
|
187
|
-
Morocco: '摩洛哥',
|
|
188
|
-
'W. Sahara': '西撒哈拉',
|
|
189
|
-
Serbia: '塞尔维亚',
|
|
190
|
-
Afghanistan: '阿富汗',
|
|
191
|
-
Angola: '安哥拉',
|
|
192
|
-
Albania: '阿尔巴尼亚',
|
|
193
|
-
Aland: '奥兰群岛',
|
|
194
|
-
Andorra: '安道尔',
|
|
195
|
-
'United Arab Emirates': '阿拉伯联合酋长国',
|
|
196
|
-
Argentina: '阿根廷',
|
|
197
|
-
Armenia: '亚美尼亚',
|
|
198
|
-
'American Samoa': '美属萨摩亚',
|
|
199
|
-
'Fr. S. Antarctic Lands': '法属南部领地',
|
|
200
|
-
'Antigua and Barb.': '安提瓜和巴布达',
|
|
201
|
-
Australia: '澳大利亚',
|
|
202
|
-
Austria: '奥地利',
|
|
203
|
-
Azerbaijan: '阿塞拜疆',
|
|
204
|
-
Burundi: '布隆迪',
|
|
205
|
-
Belgium: '比利时',
|
|
206
|
-
Benin: '贝宁',
|
|
207
|
-
'Burkina Faso': '布基纳法索',
|
|
208
|
-
Bangladesh: '孟加拉国',
|
|
209
|
-
Bulgaria: '保加利亚',
|
|
210
|
-
Bahrain: '巴林',
|
|
211
|
-
Bahamas: '巴哈马',
|
|
212
|
-
'Bosnia and Herz.': '波斯尼亚和黑塞哥维那',
|
|
213
|
-
Belarus: '白俄罗斯',
|
|
214
|
-
Belize: '伯利兹',
|
|
215
|
-
Bermuda: '百慕大',
|
|
216
|
-
Bolivia: '玻利维亚',
|
|
217
|
-
Brazil: '巴西',
|
|
218
|
-
Barbados: '巴巴多斯',
|
|
219
|
-
Brunei: '文莱',
|
|
220
|
-
Bhutan: '不丹',
|
|
221
|
-
Botswana: '博茨瓦纳',
|
|
222
|
-
'Central African Rep.': '中非共和国',
|
|
223
|
-
Canada: '加拿大',
|
|
224
|
-
Switzerland: '瑞士',
|
|
225
|
-
Chile: '智利',
|
|
226
|
-
China: '中国',
|
|
227
|
-
"Côte d'Ivoire": '科特迪瓦',
|
|
228
|
-
Cameroon: '喀麦隆',
|
|
229
|
-
'Dem. Rep. Congo': '刚果(金)',
|
|
230
|
-
Congo: '刚果(布)',
|
|
231
|
-
Colombia: '哥伦比亚',
|
|
232
|
-
Comoros: '科摩罗',
|
|
233
|
-
'Cape Verde': '佛得角',
|
|
234
|
-
'Costa Rica': '哥斯达黎加',
|
|
235
|
-
Cuba: '古巴',
|
|
236
|
-
Curaçao: '库拉索',
|
|
237
|
-
'Cayman Is.': '开曼群岛',
|
|
238
|
-
'N. Cyprus': '北塞浦路斯',
|
|
239
|
-
Cyprus: '塞浦路斯',
|
|
240
|
-
'Czech Rep.': '捷克',
|
|
241
|
-
Germany: '德国',
|
|
242
|
-
Djibouti: '吉布提',
|
|
243
|
-
Dominica: '多米尼克',
|
|
244
|
-
Denmark: '丹麦',
|
|
245
|
-
'Dominican Rep.': '多米尼加',
|
|
246
|
-
Algeria: '阿尔及利亚',
|
|
247
|
-
Ecuador: '厄瓜多尔',
|
|
248
|
-
Egypt: '埃及',
|
|
249
|
-
Eritrea: '厄立特里亚',
|
|
250
|
-
Spain: '西班牙',
|
|
251
|
-
Estonia: '爱沙尼亚',
|
|
252
|
-
Ethiopia: '埃塞俄比亚',
|
|
253
|
-
Finland: '芬兰',
|
|
254
|
-
Fiji: '斐济',
|
|
255
|
-
'Falkland Is.': '福克兰群岛',
|
|
256
|
-
France: '法国',
|
|
257
|
-
'Faeroe Is.': '法罗群岛',
|
|
258
|
-
Micronesia: '密克罗尼西亚',
|
|
259
|
-
Gabon: '加蓬',
|
|
260
|
-
'United Kingdom': '英国',
|
|
261
|
-
Georgia: '格鲁吉亚',
|
|
262
|
-
Ghana: '加纳',
|
|
263
|
-
Guinea: '几内亚',
|
|
264
|
-
Gambia: '冈比亚',
|
|
265
|
-
'Guinea-Bissau': '几内亚比绍',
|
|
266
|
-
'Eq. Guinea': '赤道几内亚',
|
|
267
|
-
Greece: '希腊',
|
|
268
|
-
Grenada: '格林纳达',
|
|
269
|
-
Greenland: '格陵兰',
|
|
270
|
-
Guatemala: '危地马拉',
|
|
271
|
-
Guam: '关岛',
|
|
272
|
-
Guyana: '圭亚那',
|
|
273
|
-
'Heard I. and McDonald Is.': '赫德岛和麦克唐纳群岛',
|
|
274
|
-
Honduras: '洪都拉斯',
|
|
275
|
-
Croatia: '克罗地亚',
|
|
276
|
-
Haiti: '海地',
|
|
277
|
-
Hungary: '匈牙利',
|
|
278
|
-
Indonesia: '印度尼西亚',
|
|
279
|
-
'Isle of Man': '马恩岛',
|
|
280
|
-
India: '印度',
|
|
281
|
-
'Br. Indian Ocean Ter.': '英属印度洋领地',
|
|
282
|
-
Ireland: '爱尔兰',
|
|
283
|
-
Iran: '伊朗',
|
|
284
|
-
Iraq: '伊拉克',
|
|
285
|
-
Iceland: '冰岛',
|
|
286
|
-
Israel: '以色列',
|
|
287
|
-
Italy: '意大利',
|
|
288
|
-
Jamaica: '牙买加',
|
|
289
|
-
Jersey: '泽西岛',
|
|
290
|
-
Jordan: '约旦',
|
|
291
|
-
Japan: '日本',
|
|
292
|
-
'Siachen Glacier': '锡亚琴冰川',
|
|
293
|
-
Kazakhstan: '哈萨克斯坦',
|
|
294
|
-
Kenya: '肯尼亚',
|
|
295
|
-
Kyrgyzstan: '吉尔吉斯斯坦',
|
|
296
|
-
Cambodia: '柬埔寨',
|
|
297
|
-
Kiribati: '基里巴斯',
|
|
298
|
-
Korea: '韩国',
|
|
299
|
-
Kuwait: '科威特',
|
|
300
|
-
'Lao PDR': '老挝',
|
|
301
|
-
Lebanon: '黎巴嫩',
|
|
302
|
-
Liberia: '利比里亚',
|
|
303
|
-
Libya: '利比亚',
|
|
304
|
-
'Saint Lucia': '圣卢西亚',
|
|
305
|
-
'Sri Lanka': '斯里兰卡',
|
|
306
|
-
Lesotho: '莱索托',
|
|
307
|
-
Lithuania: '立陶宛',
|
|
308
|
-
Luxembourg: '卢森堡',
|
|
309
|
-
Latvia: '拉脱维亚',
|
|
310
|
-
Moldova: '摩尔多瓦',
|
|
311
|
-
Madagascar: '马达加斯加',
|
|
312
|
-
Mexico: '墨西哥',
|
|
313
|
-
Macedonia: '北马其顿',
|
|
314
|
-
Mali: '马里',
|
|
315
|
-
Malta: '马耳他',
|
|
316
|
-
Myanmar: '缅甸',
|
|
317
|
-
Montenegro: '黑山',
|
|
318
|
-
Mongolia: '蒙古',
|
|
319
|
-
'N. Mariana Is.': '北马里亚纳群岛',
|
|
320
|
-
Mozambique: '莫桑比克',
|
|
321
|
-
Mauritania: '毛里塔尼亚',
|
|
322
|
-
Montserrat: '蒙特塞拉特',
|
|
323
|
-
Mauritius: '毛里求斯',
|
|
324
|
-
Malawi: '马拉维',
|
|
325
|
-
Malaysia: '马来西亚',
|
|
326
|
-
Namibia: '纳米比亚',
|
|
327
|
-
'New Caledonia': '新喀里多尼亚',
|
|
328
|
-
Niger: '尼日尔',
|
|
329
|
-
Nigeria: '尼日利亚',
|
|
330
|
-
Nicaragua: '尼加拉瓜',
|
|
331
|
-
Niue: '纽埃',
|
|
332
|
-
Netherlands: '荷兰',
|
|
333
|
-
Norway: '挪威',
|
|
334
|
-
Nepal: '尼泊尔',
|
|
335
|
-
'New Zealand': '新西兰',
|
|
336
|
-
Oman: '阿曼',
|
|
337
|
-
Pakistan: '巴基斯坦',
|
|
338
|
-
Panama: '巴拿马',
|
|
339
|
-
Peru: '秘鲁',
|
|
340
|
-
Philippines: '菲律宾',
|
|
341
|
-
Palau: '帕劳',
|
|
342
|
-
'Papua New Guinea': '巴布亚新几内亚',
|
|
343
|
-
Poland: '波兰',
|
|
344
|
-
'Puerto Rico': '波多黎各',
|
|
345
|
-
'Dem. Rep. Korea': '朝鲜',
|
|
346
|
-
Portugal: '葡萄牙',
|
|
347
|
-
Paraguay: '巴拉圭',
|
|
348
|
-
Palestine: '巴勒斯坦',
|
|
349
|
-
'Fr. Polynesia': '法属波利尼西亚',
|
|
350
|
-
Qatar: '卡塔尔',
|
|
351
|
-
Romania: '罗马尼亚',
|
|
352
|
-
Russia: '俄罗斯',
|
|
353
|
-
Rwanda: '卢旺达',
|
|
354
|
-
'Saudi Arabia': '沙特阿拉伯',
|
|
355
|
-
Sudan: '苏丹',
|
|
356
|
-
'S. Sudan': '南苏丹',
|
|
357
|
-
Senegal: '塞内加尔',
|
|
358
|
-
Singapore: '新加坡',
|
|
359
|
-
'S. Geo. and S. Sandw. Is.': '南乔治亚岛和南桑威奇群岛',
|
|
360
|
-
'Saint Helena': '圣赫勒拿',
|
|
361
|
-
'Solomon Is.': '所罗门群岛',
|
|
362
|
-
'Sierra Leone': '塞拉利昂',
|
|
363
|
-
'El Salvador': '萨尔瓦多',
|
|
364
|
-
'St. Pierre and Miquelon': '圣皮埃尔和密克隆',
|
|
365
|
-
'São Tomé and Principe': '圣多美和普林西比',
|
|
366
|
-
Suriname: '苏里南',
|
|
367
|
-
Slovakia: '斯洛伐克',
|
|
368
|
-
Slovenia: '斯洛文尼亚',
|
|
369
|
-
Sweden: '瑞典',
|
|
370
|
-
Swaziland: '斯威士兰',
|
|
371
|
-
Seychelles: '塞舌尔',
|
|
372
|
-
Syria: '叙利亚',
|
|
373
|
-
'Turks and Caicos Is.': '特克斯和凯科斯群岛',
|
|
374
|
-
Chad: '乍得',
|
|
375
|
-
Togo: '多哥',
|
|
376
|
-
Thailand: '泰国',
|
|
377
|
-
Tajikistan: '塔吉克斯坦',
|
|
378
|
-
Turkmenistan: '土库曼斯坦',
|
|
379
|
-
'Timor-Leste': '东帝汶',
|
|
380
|
-
Tonga: '汤加',
|
|
381
|
-
'Trinidad and Tobago': '特立尼达和多巴哥',
|
|
382
|
-
Tunisia: '突尼斯',
|
|
383
|
-
Turkey: '土耳其',
|
|
384
|
-
Tanzania: '坦桑尼亚',
|
|
385
|
-
Uganda: '乌干达',
|
|
386
|
-
Ukraine: '乌克兰',
|
|
387
|
-
Uruguay: '乌拉圭',
|
|
388
|
-
'United States': '美国',
|
|
389
|
-
Uzbekistan: '乌兹别克斯坦',
|
|
390
|
-
'St. Vin. and Gren.': '圣文森特和格林纳丁斯',
|
|
391
|
-
Venezuela: '委内瑞拉',
|
|
392
|
-
'U.S. Virgin Is.': '美属维尔京群岛',
|
|
393
|
-
Vietnam: '越南',
|
|
394
|
-
Vanuatu: '瓦努阿图',
|
|
395
|
-
Samoa: '萨摩亚',
|
|
396
|
-
Yemen: '也门',
|
|
397
|
-
'South Africa': '南非',
|
|
398
|
-
Zambia: '赞比亚',
|
|
399
|
-
Zimbabwe: '津巴布韦',
|
|
400
|
-
};
|
|
401
|
-
_children: any = [];
|
|
402
|
-
loadedMap: { [name: string]: Promise<any> } = {};
|
|
403
|
-
provinces: any;
|
|
404
|
-
stack = [];
|
|
405
|
-
visualMap: any[];
|
|
406
|
-
@ViewChild(NgxEchartsDirective)
|
|
407
|
-
ngxEcharts: NgxEchartsDirective;
|
|
408
|
-
renderer = 'svg';
|
|
409
|
-
constructor(protected http: HttpClient) {
|
|
410
|
-
super();
|
|
411
|
-
}
|
|
412
|
-
ngOnChanges(changes: SimpleChanges): void {
|
|
413
|
-
if (changes.data) {
|
|
414
|
-
if (this.data && this.data[0]) {
|
|
415
|
-
this.mapStyle = this.data[0].name;
|
|
416
|
-
this.stack.push(this.mapStyle);
|
|
417
|
-
}
|
|
418
|
-
this.reloadMap();
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
async ngOnInit() {
|
|
422
|
-
// await this.commonService.getMap();
|
|
423
|
-
// await import('echarts/dist/extension/bmap.js');
|
|
424
|
-
this.provinces = (await this.http.get('/assets/mapListItem.json').toPromise()) as any;
|
|
425
|
-
// const map = echarts.getMap(this.mapStyle);
|
|
426
|
-
// if (map == null) {
|
|
427
|
-
// const data = await this.http.get('assets/echarts/map/json/' + this.mapStyle + '.json').toPromise();
|
|
428
|
-
// echarts.registerMap(this.mapStyle, data);
|
|
429
|
-
// }
|
|
430
|
-
// this.hasMap = true;
|
|
431
|
-
// this.chartInit();
|
|
432
|
-
}
|
|
433
|
-
ngOnDestroy(): void {
|
|
434
|
-
if (this.ngxEcharts) {
|
|
435
|
-
(this.ngxEcharts as any).initChart = () => {};
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
chartInit() {
|
|
439
|
-
// this.loadMap(this.mapStyle).then((data) => {
|
|
440
|
-
let series = [];
|
|
441
|
-
this.visualMap = [];
|
|
442
|
-
this.renderer = 'svg';
|
|
443
|
-
this._children.forEach((child) => {
|
|
444
|
-
if (child.type === 'visual') {
|
|
445
|
-
// series = child.series;
|
|
446
|
-
// series[0].mapType = this.mapStyle;
|
|
447
|
-
if (child.visualMap && child.item.length) {
|
|
448
|
-
if (child.visualMap2) {
|
|
449
|
-
this.visualMap.push(child.visualMap2);
|
|
450
|
-
}
|
|
451
|
-
this.visualMap.push(child.visualMap);
|
|
452
|
-
child.visualMap.seriesIndex = series.length;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
if (Array.isArray(child.item)) {
|
|
456
|
-
series = [...series, ...child.item];
|
|
457
|
-
} else {
|
|
458
|
-
series = [...series, child.item];
|
|
459
|
-
}
|
|
460
|
-
});
|
|
461
|
-
series.forEach((layer, index) => {
|
|
462
|
-
if (layer.type === 'lines') {
|
|
463
|
-
delete layer.coordinateSystem;
|
|
464
|
-
// 飞线层不支持svg渲染
|
|
465
|
-
this.renderer = 'canvas';
|
|
466
|
-
}
|
|
467
|
-
if (layer.type === 'scatter') {
|
|
468
|
-
layer.coordinateSystem = 'geo';
|
|
469
|
-
// layer.symbolSize = '10';
|
|
470
|
-
}
|
|
471
|
-
// if (layer.type === 'map') {
|
|
472
|
-
// this.visualMap.forEach((visualMap) => {
|
|
473
|
-
// visualMap['seriesIndex'] = index;
|
|
474
|
-
// });
|
|
475
|
-
// }
|
|
476
|
-
});
|
|
477
|
-
const textStyle = getEchartsTextStyle(this.areaNamefont);
|
|
478
|
-
this.chartOption = {
|
|
479
|
-
tooltip: {
|
|
480
|
-
trigger: 'item',
|
|
481
|
-
triggerOn: this.triggerType ? this.triggerType : 'mousemove',
|
|
482
|
-
},
|
|
483
|
-
geo: {
|
|
484
|
-
label: {
|
|
485
|
-
normal: {
|
|
486
|
-
//静态的时候展示样式
|
|
487
|
-
show: this.showAreaName, //是否显示地图省份得名称
|
|
488
|
-
textStyle,
|
|
489
|
-
},
|
|
490
|
-
emphasis: {
|
|
491
|
-
show: this.showAreaName,
|
|
492
|
-
textStyle,
|
|
493
|
-
},
|
|
494
|
-
},
|
|
495
|
-
selectedMode: this.selectedMode,
|
|
496
|
-
select: {
|
|
497
|
-
label: {
|
|
498
|
-
show: this.showAreaName, //是否显示地图省份得名称
|
|
499
|
-
textStyle: {
|
|
500
|
-
color: this.areaNamefont?.color || '#fff',
|
|
501
|
-
fontSize: this.areaNamefont?.size || 12,
|
|
502
|
-
fontFamily: this.areaNamefont?.family || '',
|
|
503
|
-
lineHeight: this.areaNamefont?.lineHeight || 12,
|
|
504
|
-
},
|
|
505
|
-
},
|
|
506
|
-
itemStyle: {
|
|
507
|
-
areaColor: {
|
|
508
|
-
type: 'radial',
|
|
509
|
-
x: 0.5,
|
|
510
|
-
y: 0.5,
|
|
511
|
-
r: 0.8,
|
|
512
|
-
colorStops: [
|
|
513
|
-
{
|
|
514
|
-
offset: 0,
|
|
515
|
-
color: this.selectColorStart ? this.selectColorStart : this._areaColor, // 0% 处的颜色
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
offset: 1,
|
|
519
|
-
color: this.selectColorEnd ? this.selectColorEnd : this._areaColor, // 100% 处的颜色
|
|
520
|
-
},
|
|
521
|
-
],
|
|
522
|
-
globalCoord: false, // 缺省为 false
|
|
523
|
-
},
|
|
524
|
-
borderColor: this._borderColor,
|
|
525
|
-
},
|
|
526
|
-
},
|
|
527
|
-
itemStyle: {
|
|
528
|
-
normal: {
|
|
529
|
-
// areaColor: this.areaColor,
|
|
530
|
-
borderColor: this.borderColor,
|
|
531
|
-
opacity: 1,
|
|
532
|
-
areaColor: {
|
|
533
|
-
type: 'radial',
|
|
534
|
-
x: 0.5,
|
|
535
|
-
y: 0.5,
|
|
536
|
-
r: 0.8,
|
|
537
|
-
colorStops: [
|
|
538
|
-
{
|
|
539
|
-
offset: 0,
|
|
540
|
-
color: this.mapColorStart ? this.mapColorStart : this.areaColor, // 0% 处的颜色
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
offset: 1,
|
|
544
|
-
color: this.mapColorEnd ? this.mapColorEnd : this.areaColor, // 100% 处的颜色
|
|
545
|
-
},
|
|
546
|
-
],
|
|
547
|
-
globalCoord: false, // 缺省为 false
|
|
548
|
-
},
|
|
549
|
-
shadowColor: this.shadowColor,
|
|
550
|
-
shadowBlur: this.shadowWidth,
|
|
551
|
-
shadowOffsetX: -2,
|
|
552
|
-
shadowOffsetY: 2,
|
|
553
|
-
},
|
|
554
|
-
emphasis: {
|
|
555
|
-
areaColor: {
|
|
556
|
-
type: 'radial',
|
|
557
|
-
x: 0.5,
|
|
558
|
-
y: 0.5,
|
|
559
|
-
r: 0.8,
|
|
560
|
-
colorStops: [
|
|
561
|
-
{
|
|
562
|
-
offset: 0,
|
|
563
|
-
color: this.selectColorStart ? this.selectColorStart : this._areaColor, // 0% 处的颜色
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
offset: 1,
|
|
567
|
-
color: this.selectColorEnd ? this.selectColorEnd : this._areaColor, // 100% 处的颜色
|
|
568
|
-
},
|
|
569
|
-
],
|
|
570
|
-
globalCoord: false, // 缺省为 false
|
|
571
|
-
},
|
|
572
|
-
borderColor: this._borderColor,
|
|
573
|
-
},
|
|
574
|
-
},
|
|
575
|
-
|
|
576
|
-
map: this.mapStyle,
|
|
577
|
-
roam: this.zoomSwitch,
|
|
578
|
-
nameMap: this.nameMap,
|
|
579
|
-
zoom: this.zoom,
|
|
580
|
-
},
|
|
581
|
-
series,
|
|
582
|
-
};
|
|
583
|
-
if (this.visualMap?.length) {
|
|
584
|
-
this.chartOption.visualMap = this.visualMap;
|
|
585
|
-
}
|
|
586
|
-
// });
|
|
587
|
-
}
|
|
588
|
-
childInit(child: any) {
|
|
589
|
-
if (child.id) {
|
|
590
|
-
const childIndex = this._children.findIndex((s) => s.id === child.id);
|
|
591
|
-
if (childIndex > -1) {
|
|
592
|
-
this._children[childIndex] = child;
|
|
593
|
-
} else {
|
|
594
|
-
this._children.push(child);
|
|
595
|
-
}
|
|
596
|
-
this.chartInit();
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
deleteChild(childId: string) {
|
|
600
|
-
if (childId) {
|
|
601
|
-
const childIndex = this._children.findIndex((s) => s.id === childId);
|
|
602
|
-
// this._children.forEach((element) => {
|
|
603
|
-
// if (childId === element.id) {
|
|
604
|
-
// this.visualMap = null;
|
|
605
|
-
// }
|
|
606
|
-
// });
|
|
607
|
-
if (childIndex > -1) {
|
|
608
|
-
this._children.splice(childIndex, 1);
|
|
609
|
-
this.chartInit();
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
// loadMap(name: string) {
|
|
615
|
-
// let loadMapPromise = this.loadedMap[name];
|
|
616
|
-
// if (!loadMapPromise) {
|
|
617
|
-
// loadMapPromise = this.http.get('assets/echarts/map/json/' + name + '.json').toPromise();
|
|
618
|
-
// this.loadedMap[name] = loadMapPromise;
|
|
619
|
-
// }
|
|
620
|
-
// return loadMapPromise;
|
|
621
|
-
// }
|
|
622
|
-
async reloadMap() {
|
|
623
|
-
const mapStyle = this.mapStyle;
|
|
624
|
-
const map = echarts.getMap(mapStyle);
|
|
625
|
-
if (map == null) {
|
|
626
|
-
const data: any = await this.http.get('assets/echarts/map/json/' + mapStyle + '.json').toPromise();
|
|
627
|
-
echarts.registerMap(mapStyle, data);
|
|
628
|
-
}
|
|
629
|
-
this.hasMap = true;
|
|
630
|
-
this.chartInit();
|
|
631
|
-
}
|
|
632
|
-
async markClick(event) {
|
|
633
|
-
let lng: number;
|
|
634
|
-
let lat: number;
|
|
635
|
-
if (event.seriesId) {
|
|
636
|
-
lng = event.value[0];
|
|
637
|
-
lat = event.value[1];
|
|
638
|
-
const child = this._children.find((s) => event.seriesId.startsWith(s.id));
|
|
639
|
-
if (child && child.onClick) {
|
|
640
|
-
child.onClick(event);
|
|
641
|
-
}
|
|
642
|
-
} else {
|
|
643
|
-
const map = echarts.getMap(this.mapStyle);
|
|
644
|
-
if (map) {
|
|
645
|
-
for (const feature of map.geoJson.features) {
|
|
646
|
-
const properties = feature.properties;
|
|
647
|
-
if (properties.name === event.name) {
|
|
648
|
-
if (properties.cp) {
|
|
649
|
-
lng = properties.cp[0];
|
|
650
|
-
lat = properties.cp[1];
|
|
651
|
-
} else if (properties.center) {
|
|
652
|
-
lng = properties.center[0];
|
|
653
|
-
lat = properties.center[1];
|
|
654
|
-
} else {
|
|
655
|
-
console.log(properties);
|
|
656
|
-
}
|
|
657
|
-
break;
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
const province = this.provinces.find((element) => element.label === event.name);
|
|
662
|
-
if (province) {
|
|
663
|
-
this.stack.push(this.mapStyle);
|
|
664
|
-
this.mapStyle = province.value;
|
|
665
|
-
this.reloadMap();
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
this.areaClick.emit({ name: event.name, lng, lat });
|
|
669
|
-
// if(event.componentSubType!=null && event.componentSubType==='scatter'){
|
|
670
|
-
// const obj=event.data;
|
|
671
|
-
// console.log(event);
|
|
672
|
-
// this.markerTierClick.emit({
|
|
673
|
-
// address: obj.name,
|
|
674
|
-
// information: '',
|
|
675
|
-
// group: '',
|
|
676
|
-
// lng: obj.value[0],
|
|
677
|
-
// lat: obj.value[1],
|
|
678
|
-
// });
|
|
679
|
-
// }
|
|
680
|
-
}
|
|
681
|
-
rollback(event: MouseEvent) {
|
|
682
|
-
event.preventDefault();
|
|
683
|
-
if (this.stack != null && this.stack.length != 0) {
|
|
684
|
-
this.mapStyle = this.stack.pop();
|
|
685
|
-
this.reloadMap();
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
getTextStyle() {}
|
|
690
|
-
}
|