bbj-screen-widget 2.4.60 → 2.4.62
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/core/package.json +2 -10
- package/core/src/service/baidu-map.service.ts +107 -0
- package/karma.conf.js +32 -0
- package/ng-package.json +59 -0
- package/package.json +4 -13
- package/src/lib/announcement/announcement.component.html +3 -0
- package/src/lib/announcement/announcement.component.less +5 -0
- package/src/lib/announcement/announcement.component.spec.ts +25 -0
- package/src/lib/announcement/announcement.component.ts +55 -0
- package/src/lib/announcement/announcement.module.ts +19 -0
- package/src/lib/audio/audio.component.html +6 -0
- package/src/lib/audio/audio.component.less +12 -0
- package/src/lib/audio/audio.component.spec.ts +25 -0
- package/src/lib/audio/audio.component.ts +167 -0
- package/src/lib/audio/audio.module.ts +15 -0
- package/src/lib/background/background.component.html +1 -0
- package/src/lib/background/background.component.less +6 -0
- package/src/lib/background/background.component.spec.ts +25 -0
- package/src/lib/background/background.component.ts +33 -0
- package/src/lib/background/background.module.ts +14 -0
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.html +1 -0
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.less +8 -0
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.spec.ts +25 -0
- package/src/lib/bar-chart-three-d/bar-chart-three-d.component.ts +271 -0
- package/src/lib/bar-chart-three-d/bar-chart-three-d.module.ts +15 -0
- package/src/lib/basic-bar-chart/basic-bar-chart.component.html +7 -0
- package/src/lib/basic-bar-chart/basic-bar-chart.component.less +5 -0
- package/src/lib/basic-bar-chart/basic-bar-chart.component.spec.ts +25 -0
- package/src/lib/basic-bar-chart/basic-bar-chart.component.ts +493 -0
- package/src/lib/basic-bar-chart/basic-bar-chart.module.ts +21 -0
- package/src/lib/basic-line-chart/basic-line-chart.component.html +7 -0
- package/src/lib/basic-line-chart/basic-line-chart.component.less +8 -0
- package/src/lib/basic-line-chart/basic-line-chart.component.spec.ts +25 -0
- package/src/lib/basic-line-chart/basic-line-chart.component.ts +654 -0
- package/src/lib/basic-line-chart/basic-line-chart.module.ts +15 -0
- package/src/lib/basic-pie-chart/basic-pie-chart.component.html +7 -0
- package/src/lib/basic-pie-chart/basic-pie-chart.component.less +8 -0
- package/src/lib/basic-pie-chart/basic-pie-chart.component.spec.ts +25 -0
- package/src/lib/basic-pie-chart/basic-pie-chart.component.ts +439 -0
- package/src/lib/basic-pie-chart/basic-pie-chart.module.ts +15 -0
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.html +2 -0
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.less +9 -0
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.spec.ts +25 -0
- package/src/lib/basic-planimetric-map/basic-planimetric-map.component.ts +211 -0
- package/src/lib/basic-planimetric-map/basic-planimetric-map.module.ts +16 -0
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.css +0 -0
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.html +1 -0
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.spec.ts +25 -0
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.component.ts +487 -0
- package/src/lib/breathing-bubble-layer/breathing-bubble-layer.module.ts +14 -0
- package/src/lib/bubble-chart/bubble-chart.component.html +7 -0
- package/src/lib/bubble-chart/bubble-chart.component.less +8 -0
- package/src/lib/bubble-chart/bubble-chart.component.spec.ts +25 -0
- package/src/lib/bubble-chart/bubble-chart.component.ts +307 -0
- package/src/lib/bubble-chart/bubble-chart.module.ts +15 -0
- package/src/lib/bulletin-board/bulletin-board.component.html +15 -0
- package/src/lib/bulletin-board/bulletin-board.component.less +27 -0
- package/src/lib/bulletin-board/bulletin-board.component.spec.ts +25 -0
- package/src/lib/bulletin-board/bulletin-board.component.ts +127 -0
- package/src/lib/bulletin-board/bulletin-board.module.ts +20 -0
- package/src/lib/button/button.component.html +1 -0
- package/src/lib/button/button.component.less +17 -0
- package/src/lib/button/button.component.spec.ts +25 -0
- package/src/lib/button/button.component.ts +137 -0
- package/src/lib/button/button.module.ts +16 -0
- 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 +25 -0
- package/src/lib/calendar/background-events/background-events.component.ts +51 -0
- package/src/lib/calendar/calendar-events-child.ts +27 -0
- package/src/lib/calendar/calendar.component.html +2 -0
- package/src/lib/calendar/calendar.component.less +14 -0
- package/src/lib/calendar/calendar.component.spec.ts +25 -0
- package/src/lib/calendar/calendar.component.ts +151 -0
- package/src/lib/calendar/calendar.module.ts +27 -0
- package/src/lib/calendar/calendar.util.ts +14 -0
- 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 +25 -0
- package/src/lib/calendar/events/events.component.ts +61 -0
- package/src/lib/checkbox/checkbox.component.html +61 -0
- package/src/lib/checkbox/checkbox.component.less +104 -0
- package/src/lib/checkbox/checkbox.component.spec.ts +25 -0
- package/src/lib/checkbox/checkbox.component.ts +292 -0
- package/src/lib/checkbox/checkbox.module.ts +16 -0
- package/src/lib/cross-table/cross-table.component.html +16 -0
- package/src/lib/cross-table/cross-table.component.less +75 -0
- package/src/lib/cross-table/cross-table.component.spec.ts +25 -0
- package/src/lib/cross-table/cross-table.component.ts +257 -0
- package/src/lib/cross-table/cross-table.module.ts +18 -0
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.html +32 -0
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.less +11 -0
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.spec.ts +25 -0
- package/src/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.ts +689 -0
- 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 +25 -0
- package/src/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.ts +248 -0
- package/src/lib/custom-baidu-map/base-layer.ts +50 -0
- package/src/lib/custom-baidu-map/custom-baidu-map.component.html +15 -0
- package/src/lib/custom-baidu-map/custom-baidu-map.component.less +69 -0
- package/src/lib/custom-baidu-map/custom-baidu-map.component.spec.ts +25 -0
- package/src/lib/custom-baidu-map/custom-baidu-map.component.ts +652 -0
- package/src/lib/custom-baidu-map/custom-baidu-map.module.ts +41 -0
- 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 +25 -0
- package/src/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.ts +99 -0
- 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 +25 -0
- package/src/lib/custom-baidu-map/wind-layer/wind-layer.component.ts +404 -0
- package/src/lib/data-map/data-map.component.html +9 -0
- package/src/lib/data-map/data-map.component.less +0 -0
- package/src/lib/data-map/data-map.component.spec.ts +25 -0
- package/src/lib/data-map/data-map.component.ts +105 -0
- package/src/lib/data-map/data-map.module.ts +15 -0
- package/src/lib/date-picker/date-picker.component.html +32 -0
- package/src/lib/date-picker/date-picker.component.less +20 -0
- package/src/lib/date-picker/date-picker.component.spec.ts +25 -0
- package/src/lib/date-picker/date-picker.component.ts +389 -0
- package/src/lib/date-picker/date-picker.module.ts +18 -0
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.html +25 -0
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.less +35 -0
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.spec.ts +25 -0
- package/src/lib/drop-down-detail-list/drop-down-detail-list.component.ts +117 -0
- package/src/lib/drop-down-detail-list/drop-down-detail-list.module.ts +15 -0
- package/src/lib/dynamic-list/dynamic-list.component.html +15 -0
- package/src/lib/dynamic-list/dynamic-list.component.less +31 -0
- package/src/lib/dynamic-list/dynamic-list.component.spec.ts +25 -0
- package/src/lib/dynamic-list/dynamic-list.component.ts +57 -0
- package/src/lib/dynamic-list/dynamic-list.module.ts +15 -0
- package/src/lib/funnel-chart/funnel-chart.component.html +7 -0
- package/src/lib/funnel-chart/funnel-chart.component.less +8 -0
- package/src/lib/funnel-chart/funnel-chart.component.spec.ts +25 -0
- package/src/lib/funnel-chart/funnel-chart.component.ts +198 -0
- package/src/lib/funnel-chart/funnel-chart.module.ts +15 -0
- package/src/lib/gantt/gantt.component.html +10 -0
- package/src/lib/gantt/gantt.component.less +76 -0
- package/src/lib/gantt/gantt.component.spec.ts +25 -0
- package/src/lib/gantt/gantt.component.ts +213 -0
- package/src/lib/gantt/gantt.module.ts +37 -0
- package/src/lib/gauge/gauge.component.html +1 -0
- package/src/lib/gauge/gauge.component.less +8 -0
- package/src/lib/gauge/gauge.component.spec.ts +25 -0
- package/src/lib/gauge/gauge.component.ts +268 -0
- package/src/lib/gauge/gauge.module.ts +15 -0
- package/src/lib/gauge-progress/gauge-progress.component.html +29 -0
- package/src/lib/gauge-progress/gauge-progress.component.less +51 -0
- package/src/lib/gauge-progress/gauge-progress.component.ts +293 -0
- package/src/lib/gauge-progress/gauge.module.ts +17 -0
- package/src/lib/general-text/general-text.component.html +7 -0
- package/src/lib/general-text/general-text.component.less +8 -0
- package/src/lib/general-text/general-text.component.spec.ts +25 -0
- package/src/lib/general-text/general-text.component.ts +114 -0
- package/src/lib/general-text/general-text.module.ts +15 -0
- package/src/lib/iconfont/icon.ts +198 -0
- package/src/lib/iconfont/iconfont.component.html +4 -0
- package/src/lib/iconfont/iconfont.component.less +5 -0
- package/src/lib/iconfont/iconfont.component.spec.ts +25 -0
- package/src/lib/iconfont/iconfont.component.ts +42 -0
- package/src/lib/iconfont/iconfont.module.ts +15 -0
- package/src/lib/iframe/iframe.component.html +1 -0
- package/src/lib/iframe/iframe.component.less +13 -0
- package/src/lib/iframe/iframe.component.spec.ts +25 -0
- package/src/lib/iframe/iframe.component.ts +34 -0
- package/src/lib/iframe/iframe.module.ts +15 -0
- package/src/lib/image/image.component.html +2 -0
- package/src/lib/image/image.component.less +13 -0
- package/src/lib/image/image.component.spec.ts +25 -0
- package/src/lib/image/image.component.ts +79 -0
- package/src/lib/image/image.module.ts +14 -0
- package/src/lib/item-swiper/item-swiper.component.html +48 -0
- package/src/lib/item-swiper/item-swiper.component.less +75 -0
- package/src/lib/item-swiper/item-swiper.component.spec.ts +25 -0
- package/src/lib/item-swiper/item-swiper.component.ts +277 -0
- package/src/lib/item-swiper/item-swiper.module.ts +17 -0
- package/src/lib/line-bar-chart/line-bar-chart.component.html +7 -0
- package/src/lib/line-bar-chart/line-bar-chart.component.less +3 -0
- package/src/lib/line-bar-chart/line-bar-chart.component.spec.ts +25 -0
- package/src/lib/line-bar-chart/line-bar-chart.component.ts +346 -0
- package/src/lib/line-bar-chart/line-bar-chart.module.ts +15 -0
- package/src/lib/line-light-flow/line-light-flow.component.css +0 -0
- package/src/lib/line-light-flow/line-light-flow.component.html +3 -0
- package/src/lib/line-light-flow/line-light-flow.component.spec.ts +25 -0
- package/src/lib/line-light-flow/line-light-flow.component.ts +274 -0
- package/src/lib/line-light-flow/line-light-flow.module.ts +21 -0
- package/src/lib/liquid-fill/liquid-fill.component.html +1 -0
- package/src/lib/liquid-fill/liquid-fill.component.less +8 -0
- package/src/lib/liquid-fill/liquid-fill.component.spec.ts +25 -0
- package/src/lib/liquid-fill/liquid-fill.component.ts +127 -0
- package/src/lib/liquid-fill/liquid-fill.module.ts +15 -0
- package/src/lib/marquee/marquee.component.html +5 -0
- package/src/lib/marquee/marquee.component.less +9 -0
- package/src/lib/marquee/marquee.component.spec.ts +25 -0
- package/src/lib/marquee/marquee.component.ts +84 -0
- package/src/lib/marquee/marquee.module.ts +14 -0
- package/src/lib/mip-anim/mip-anim.component.html +1 -0
- package/src/lib/mip-anim/mip-anim.component.less +7 -0
- package/src/lib/mip-anim/mip-anim.component.spec.ts +25 -0
- package/src/lib/mip-anim/mip-anim.component.ts +18 -0
- package/src/lib/mip-anim/mip-anim.module.ts +14 -0
- package/src/lib/multi-title-gauge/multi-title-gauge.component.html +1 -0
- package/src/lib/multi-title-gauge/multi-title-gauge.component.less +9 -0
- package/src/lib/multi-title-gauge/multi-title-gauge.component.spec.ts +25 -0
- package/src/lib/multi-title-gauge/multi-title-gauge.component.ts +231 -0
- package/src/lib/multi-title-gauge/multi-title-gauge.module.ts +19 -0
- package/src/lib/number-flop/number-flop.component.html +31 -0
- package/src/lib/number-flop/number-flop.component.less +155 -0
- package/src/lib/number-flop/number-flop.component.spec.ts +25 -0
- package/src/lib/number-flop/number-flop.component.ts +96 -0
- package/src/lib/number-flop/number-flop.module.ts +14 -0
- 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 +25 -0
- package/src/lib/parent-container/parent-container.component.ts +21 -0
- package/src/lib/parent-container/parent-container.module.ts +14 -0
- package/src/lib/percent-pie-chart/percent-pie-chart.component.html +8 -0
- package/src/lib/percent-pie-chart/percent-pie-chart.component.less +8 -0
- package/src/lib/percent-pie-chart/percent-pie-chart.component.spec.ts +25 -0
- package/src/lib/percent-pie-chart/percent-pie-chart.component.ts +213 -0
- package/src/lib/percent-pie-chart/percent-pie-chart.module.ts +15 -0
- package/src/lib/pie3d-chart/pie3d-chart.component.html +1 -0
- package/src/lib/pie3d-chart/pie3d-chart.component.less +9 -0
- package/src/lib/pie3d-chart/pie3d-chart.component.spec.ts +25 -0
- package/src/lib/pie3d-chart/pie3d-chart.component.ts +278 -0
- package/src/lib/pie3d-chart/pie3d-chart.module.ts +16 -0
- 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 +25 -0
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.ts +411 -0
- package/src/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.ts +13 -0
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.html +1 -0
- 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 +25 -0
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.ts +235 -0
- package/src/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.ts +16 -0
- 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 +25 -0
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.ts +107 -0
- package/src/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.ts +17 -0
- 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 +25 -0
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.ts +337 -0
- package/src/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.ts +18 -0
- package/src/lib/planimetric-map2d/planimetric-map2d.component.html +11 -0
- package/src/lib/planimetric-map2d/planimetric-map2d.component.less +9 -0
- package/src/lib/planimetric-map2d/planimetric-map2d.component.spec.ts +25 -0
- package/src/lib/planimetric-map2d/planimetric-map2d.component.ts +690 -0
- package/src/lib/planimetric-map2d/planimetric-map2d.module.ts +29 -0
- 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 +25 -0
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.ts +123 -0
- package/src/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.ts +14 -0
- 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 +25 -0
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.ts +229 -0
- package/src/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.ts +14 -0
- package/src/lib/planimetric-map3d/planimetric-map3d.component.html +2 -0
- package/src/lib/planimetric-map3d/planimetric-map3d.component.less +10 -0
- package/src/lib/planimetric-map3d/planimetric-map3d.component.spec.ts +25 -0
- package/src/lib/planimetric-map3d/planimetric-map3d.component.ts +227 -0
- package/src/lib/planimetric-map3d/planimetric-map3d.module.ts +17 -0
- package/src/lib/radar-chart/radar-chart.component.html +7 -0
- package/src/lib/radar-chart/radar-chart.component.less +8 -0
- package/src/lib/radar-chart/radar-chart.component.spec.ts +25 -0
- package/src/lib/radar-chart/radar-chart.component.ts +219 -0
- package/src/lib/radar-chart/radar-chart.module.ts +15 -0
- package/src/lib/radio/radio.component.html +18 -0
- package/src/lib/radio/radio.component.less +61 -0
- package/src/lib/radio/radio.component.spec.ts +25 -0
- package/src/lib/radio/radio.component.ts +116 -0
- package/src/lib/radio/radio.module.ts +16 -0
- package/src/lib/rate/rate.component.html +16 -0
- package/src/lib/rate/rate.component.less +39 -0
- package/src/lib/rate/rate.component.spec.ts +25 -0
- package/src/lib/rate/rate.component.ts +40 -0
- package/src/lib/rate/rate.module.ts +18 -0
- package/src/lib/scatter3d/scatter3d.component.html +1 -0
- package/src/lib/scatter3d/scatter3d.component.less +8 -0
- package/src/lib/scatter3d/scatter3d.component.spec.ts +25 -0
- package/src/lib/scatter3d/scatter3d.component.ts +129 -0
- package/src/lib/scatter3d/scatter3d.module.ts +15 -0
- package/src/lib/screen-widget.module.ts +592 -0
- package/src/lib/search/search.component.html +30 -0
- package/src/lib/search/search.component.less +30 -0
- package/src/lib/search/search.component.spec.ts +25 -0
- package/src/lib/search/search.component.ts +103 -0
- package/src/lib/search/search.module.ts +22 -0
- package/src/lib/select/select.component.html +30 -0
- package/src/lib/select/select.component.less +117 -0
- package/src/lib/select/select.component.spec.ts +25 -0
- package/src/lib/select/select.component.ts +297 -0
- package/src/lib/select/select.module.ts +18 -0
- package/src/lib/shape/shape.component.html +39 -0
- package/src/lib/shape/shape.component.less +8 -0
- package/src/lib/shape/shape.component.spec.ts +25 -0
- package/src/lib/shape/shape.component.ts +207 -0
- package/src/lib/shape/shape.module.ts +14 -0
- package/src/lib/shared/component/video-player/video-player.component.html +2 -0
- package/src/lib/shared/component/video-player/video-player.component.less +15 -0
- package/src/lib/shared/component/video-player/video-player.component.spec.ts +25 -0
- package/src/lib/shared/component/video-player/video-player.component.ts +132 -0
- package/src/lib/shared/component/video-player/video-player.module.ts +11 -0
- package/src/lib/shared/model/scale.token.ts +8 -0
- package/src/lib/shared/service/common.service.ts +28 -0
- package/src/lib/shared/service/file-url.service.ts +8 -0
- package/src/lib/shared/service/gaode-map.service.ts +37 -0
- package/src/lib/shared/service/highcharts.service.ts +29 -0
- package/src/lib/shared/service/http.service.ts +15 -0
- package/src/lib/shared/util/base.util.ts +4 -0
- package/src/lib/shared/util/echarts.util.ts +11 -0
- package/src/lib/shared/util/style.util.ts +12 -0
- package/src/lib/shuffling-list/color.pipe.ts +21 -0
- package/src/lib/shuffling-list/shuffling-list.component.html +37 -0
- package/src/lib/shuffling-list/shuffling-list.component.less +55 -0
- package/src/lib/shuffling-list/shuffling-list.component.spec.ts +25 -0
- package/src/lib/shuffling-list/shuffling-list.component.ts +534 -0
- package/src/lib/shuffling-list/shuffling-list.module.ts +17 -0
- package/src/lib/table/table.component.html +123 -0
- package/src/lib/table/table.component.less +76 -0
- package/src/lib/table/table.component.spec.ts +25 -0
- package/src/lib/table/table.component.ts +608 -0
- package/src/lib/table/table.module.ts +33 -0
- package/src/lib/tabs/tab/tab.component.html +1 -0
- package/src/lib/tabs/tab/tab.component.less +5 -0
- package/src/lib/tabs/tab/tab.component.spec.ts +25 -0
- package/src/lib/tabs/tab/tab.component.ts +18 -0
- package/src/lib/tabs/tabs.component.html +13 -0
- package/src/lib/tabs/tabs.component.less +40 -0
- package/src/lib/tabs/tabs.component.spec.ts +25 -0
- package/src/lib/tabs/tabs.component.ts +68 -0
- package/src/lib/tabs/tabs.module.ts +17 -0
- package/src/lib/temporary-data/temporary-data.component.html +1 -0
- package/src/lib/temporary-data/temporary-data.component.less +4 -0
- package/src/lib/temporary-data/temporary-data.component.spec.ts +25 -0
- package/src/lib/temporary-data/temporary-data.component.ts +46 -0
- package/src/lib/temporary-data/temporary-data.module.ts +15 -0
- package/src/lib/text/text.component.css +0 -0
- package/src/lib/text/text.component.html +3 -0
- package/src/lib/text/text.component.spec.ts +25 -0
- package/src/lib/text/text.component.ts +22 -0
- package/src/lib/text/text.module.ts +14 -0
- package/src/lib/time-picker/time-picker.component.html +1 -0
- package/src/lib/time-picker/time-picker.component.less +14 -0
- package/src/lib/time-picker/time-picker.component.spec.ts +25 -0
- package/src/lib/time-picker/time-picker.component.ts +86 -0
- package/src/lib/time-picker/time-picker.module.ts +19 -0
- package/src/lib/timer/timer.component.html +7 -0
- package/src/lib/timer/timer.component.less +24 -0
- package/src/lib/timer/timer.component.spec.ts +25 -0
- package/src/lib/timer/timer.component.ts +74 -0
- package/src/lib/timer/timer.module.ts +15 -0
- package/src/lib/tree-control/tree-control.component.html +97 -0
- package/src/lib/tree-control/tree-control.component.less +111 -0
- package/src/lib/tree-control/tree-control.component.spec.ts +25 -0
- package/src/lib/tree-control/tree-control.component.ts +363 -0
- package/src/lib/tree-control/tree-control.module.ts +18 -0
- package/src/lib/tree-ring-chart/tree-ring-chart.component.html +7 -0
- package/src/lib/tree-ring-chart/tree-ring-chart.component.less +8 -0
- package/src/lib/tree-ring-chart/tree-ring-chart.component.spec.ts +25 -0
- package/src/lib/tree-ring-chart/tree-ring-chart.component.ts +192 -0
- package/src/lib/tree-ring-chart/tree-ring-chart.module.ts +15 -0
- package/src/lib/upload/upload.component.html +32 -0
- package/src/lib/upload/upload.component.less +14 -0
- package/src/lib/upload/upload.component.spec.ts +25 -0
- package/src/lib/upload/upload.component.ts +109 -0
- package/src/lib/upload/upload.module.ts +19 -0
- package/src/lib/video-grid/video-grid.component.html +33 -0
- package/src/lib/video-grid/video-grid.component.less +68 -0
- package/src/lib/video-grid/video-grid.component.spec.ts +25 -0
- package/src/lib/video-grid/video-grid.component.ts +115 -0
- package/src/lib/video-grid/video-grid.module.ts +17 -0
- package/src/lib/visual-map-chart/visual-map-chart.component.html +8 -0
- package/src/lib/visual-map-chart/visual-map-chart.component.less +21 -0
- package/src/lib/visual-map-chart/visual-map-chart.component.spec.ts +25 -0
- package/src/lib/visual-map-chart/visual-map-chart.component.ts +365 -0
- package/src/lib/visual-map-chart/visual-map-chart.module.ts +18 -0
- package/src/lib/vote/vote.component.html +6 -0
- package/src/lib/vote/vote.component.less +41 -0
- package/src/lib/vote/vote.component.spec.ts +25 -0
- package/src/lib/vote/vote.component.ts +71 -0
- package/src/lib/vote/vote.module.ts +16 -0
- package/src/lib/weather/weather.component.html +27 -0
- package/src/lib/weather/weather.component.less +67 -0
- package/src/lib/weather/weather.component.spec.ts +25 -0
- package/src/lib/weather/weather.component.ts +78 -0
- package/src/lib/weather/weather.module.ts +16 -0
- package/src/lib/wordart/wordart.component.html +2 -0
- package/src/lib/wordart/wordart.component.less +12 -0
- package/src/lib/wordart/wordart.component.spec.ts +25 -0
- package/src/lib/wordart/wordart.component.ts +56 -0
- package/src/lib/wordart/wordart.module.ts +14 -0
- package/src/lib/workbench-widget.module.ts +675 -0
- package/{public-api.d.ts → src/public-api.ts} +46 -35
- package/src/test.ts +22 -0
- package/tsconfig.lib.json +37 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bbj-screen-widget.d.ts +0 -119
- package/bbj-screen-widget.metadata.json +0 -1
- package/bundles/bbj-screen-widget-core.umd.js +0 -606
- package/bundles/bbj-screen-widget-core.umd.js.map +0 -1
- package/bundles/bbj-screen-widget-core.umd.min.js +0 -2
- package/bundles/bbj-screen-widget-core.umd.min.js.map +0 -1
- package/bundles/bbj-screen-widget.umd.js +0 -21720
- package/bundles/bbj-screen-widget.umd.js.map +0 -1
- package/bundles/bbj-screen-widget.umd.min.js +0 -2
- package/bundles/bbj-screen-widget.umd.min.js.map +0 -1
- package/core/bbj-screen-widget-core.d.ts +0 -4
- package/core/bbj-screen-widget-core.metadata.json +0 -1
- package/core/service/baidu-map.service.d.ts +0 -16
- package/esm2015/bbj-screen-widget.js +0 -120
- package/esm2015/core/bbj-screen-widget-core.js +0 -5
- package/esm2015/core/public_api.js +0 -2
- package/esm2015/core/service/baidu-map.service.js +0 -101
- package/esm2015/lib/announcement/announcement.component.js +0 -80
- package/esm2015/lib/announcement/announcement.module.js +0 -25
- package/esm2015/lib/audio/audio.component.js +0 -167
- package/esm2015/lib/audio/audio.module.js +0 -20
- package/esm2015/lib/background/background.component.js +0 -52
- package/esm2015/lib/background/background.module.js +0 -19
- package/esm2015/lib/bar-chart-three-d/bar-chart-three-d.component.js +0 -323
- package/esm2015/lib/bar-chart-three-d/bar-chart-three-d.module.js +0 -20
- package/esm2015/lib/basic-bar-chart/basic-bar-chart.component.js +0 -604
- package/esm2015/lib/basic-bar-chart/basic-bar-chart.module.js +0 -27
- package/esm2015/lib/basic-line-chart/basic-line-chart.component.js +0 -782
- package/esm2015/lib/basic-line-chart/basic-line-chart.module.js +0 -20
- package/esm2015/lib/basic-pie-chart/basic-pie-chart.component.js +0 -471
- package/esm2015/lib/basic-pie-chart/basic-pie-chart.module.js +0 -20
- package/esm2015/lib/basic-planimetric-map/basic-planimetric-map.component.js +0 -233
- package/esm2015/lib/basic-planimetric-map/basic-planimetric-map.module.js +0 -21
- package/esm2015/lib/breathing-bubble-layer/breathing-bubble-layer.component.js +0 -503
- package/esm2015/lib/breathing-bubble-layer/breathing-bubble-layer.module.js +0 -19
- package/esm2015/lib/bubble-chart/bubble-chart.component.js +0 -348
- package/esm2015/lib/bubble-chart/bubble-chart.module.js +0 -20
- package/esm2015/lib/bulletin-board/bulletin-board.component.js +0 -160
- package/esm2015/lib/bulletin-board/bulletin-board.module.js +0 -23
- package/esm2015/lib/button/button.component.js +0 -186
- package/esm2015/lib/button/button.module.js +0 -21
- package/esm2015/lib/calendar/background-events/background-events.component.js +0 -65
- package/esm2015/lib/calendar/calendar-events-child.js +0 -28
- package/esm2015/lib/calendar/calendar.component.js +0 -168
- package/esm2015/lib/calendar/calendar.module.js +0 -32
- package/esm2015/lib/calendar/calendar.util.js +0 -12
- package/esm2015/lib/calendar/events/events.component.js +0 -75
- package/esm2015/lib/checkbox/checkbox.component.js +0 -333
- package/esm2015/lib/checkbox/checkbox.module.js +0 -21
- package/esm2015/lib/cross-table/cross-table.component.js +0 -291
- package/esm2015/lib/cross-table/cross-table.module.js +0 -20
- package/esm2015/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.js +0 -732
- package/esm2015/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.js +0 -278
- package/esm2015/lib/custom-baidu-map/base-layer.js +0 -53
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +0 -675
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.module.js +0 -46
- package/esm2015/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.js +0 -116
- package/esm2015/lib/custom-baidu-map/wind-layer/wind-layer.component.js +0 -331
- package/esm2015/lib/date-picker/date-picker.component.js +0 -447
- package/esm2015/lib/date-picker/date-picker.module.js +0 -22
- package/esm2015/lib/funnel-chart/funnel-chart.component.js +0 -241
- package/esm2015/lib/funnel-chart/funnel-chart.module.js +0 -20
- package/esm2015/lib/gantt/gantt.component.js +0 -222
- package/esm2015/lib/gantt/gantt.module.js +0 -39
- package/esm2015/lib/gauge/gauge.component.js +0 -324
- package/esm2015/lib/gauge/gauge.module.js +0 -20
- package/esm2015/lib/gauge-progress/gauge-progress.component.js +0 -356
- package/esm2015/lib/gauge-progress/gauge.module.js +0 -22
- package/esm2015/lib/general-text/general-text.component.js +0 -144
- package/esm2015/lib/general-text/general-text.module.js +0 -20
- package/esm2015/lib/iconfont/icon.js +0 -199
- package/esm2015/lib/iconfont/iconfont.component.js +0 -56
- package/esm2015/lib/iconfont/iconfont.module.js +0 -20
- package/esm2015/lib/iframe/iframe.component.js +0 -46
- package/esm2015/lib/iframe/iframe.module.js +0 -20
- package/esm2015/lib/image/image.component.js +0 -98
- package/esm2015/lib/image/image.module.js +0 -19
- package/esm2015/lib/item-swiper/item-swiper.component.js +0 -343
- package/esm2015/lib/item-swiper/item-swiper.module.js +0 -22
- package/esm2015/lib/line-bar-chart/line-bar-chart.component.js +0 -398
- package/esm2015/lib/line-bar-chart/line-bar-chart.module.js +0 -20
- package/esm2015/lib/line-light-flow/line-light-flow.component.js +0 -241
- package/esm2015/lib/line-light-flow/line-light-flow.module.js +0 -24
- package/esm2015/lib/liquid-fill/liquid-fill.component.js +0 -158
- package/esm2015/lib/liquid-fill/liquid-fill.module.js +0 -20
- package/esm2015/lib/marquee/marquee.component.js +0 -110
- package/esm2015/lib/marquee/marquee.module.js +0 -19
- package/esm2015/lib/mip-anim/mip-anim.component.js +0 -26
- package/esm2015/lib/mip-anim/mip-anim.module.js +0 -19
- package/esm2015/lib/multi-title-gauge/multi-title-gauge.component.js +0 -277
- package/esm2015/lib/multi-title-gauge/multi-title-gauge.module.js +0 -22
- package/esm2015/lib/number-flop/number-flop.component.js +0 -124
- package/esm2015/lib/number-flop/number-flop.module.js +0 -19
- package/esm2015/lib/parent-container/parent-container.component.js +0 -21
- package/esm2015/lib/parent-container/parent-container.module.js +0 -19
- package/esm2015/lib/percent-pie-chart/percent-pie-chart.component.js +0 -248
- package/esm2015/lib/percent-pie-chart/percent-pie-chart.module.js +0 -20
- package/esm2015/lib/pie3d-chart/pie3d-chart.component.js +0 -303
- package/esm2015/lib/pie3d-chart/pie3d-chart.module.js +0 -19
- package/esm2015/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.js +0 -431
- package/esm2015/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.js +0 -19
- package/esm2015/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.js +0 -252
- package/esm2015/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.js +0 -19
- package/esm2015/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.js +0 -124
- package/esm2015/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.js +0 -19
- package/esm2015/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.js +0 -359
- package/esm2015/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.js +0 -21
- package/esm2015/lib/planimetric-map2d/planimetric-map2d.component.js +0 -753
- package/esm2015/lib/planimetric-map2d/planimetric-map2d.module.js +0 -34
- package/esm2015/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.js +0 -128
- package/esm2015/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.js +0 -19
- package/esm2015/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.js +0 -242
- package/esm2015/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.js +0 -19
- package/esm2015/lib/planimetric-map3d/planimetric-map3d.component.js +0 -265
- package/esm2015/lib/planimetric-map3d/planimetric-map3d.module.js +0 -22
- package/esm2015/lib/radar-chart/radar-chart.component.js +0 -255
- package/esm2015/lib/radar-chart/radar-chart.module.js +0 -20
- package/esm2015/lib/radio/radio.component.js +0 -148
- package/esm2015/lib/radio/radio.module.js +0 -21
- package/esm2015/lib/rate/rate.component.js +0 -57
- package/esm2015/lib/rate/rate.module.js +0 -23
- package/esm2015/lib/scatter3d/scatter3d.component.js +0 -166
- package/esm2015/lib/scatter3d/scatter3d.module.js +0 -20
- package/esm2015/lib/screen-widget.module.js +0 -536
- package/esm2015/lib/search/search.component.js +0 -130
- package/esm2015/lib/search/search.module.js +0 -29
- package/esm2015/lib/select/select.component.js +0 -359
- package/esm2015/lib/select/select.module.js +0 -22
- package/esm2015/lib/shape/shape.component.js +0 -248
- package/esm2015/lib/shape/shape.module.js +0 -19
- package/esm2015/lib/shared/component/video-player/video-player.component.js +0 -114
- package/esm2015/lib/shared/component/video-player/video-player.module.js +0 -14
- package/esm2015/lib/shared/service/common.service.js +0 -39
- package/esm2015/lib/shared/service/file-url.service.js +0 -12
- package/esm2015/lib/shared/service/gaode-map.service.js +0 -36
- package/esm2015/lib/shared/service/highcharts.service.js +0 -36
- package/esm2015/lib/shared/service/http.service.js +0 -20
- package/esm2015/lib/shared/util/base.util.js +0 -5
- package/esm2015/lib/shared/util/echarts.util.js +0 -12
- package/esm2015/lib/shared/util/style.util.js +0 -19
- package/esm2015/lib/shuffling-list/color.pipe.js +0 -23
- package/esm2015/lib/shuffling-list/shuffling-list.component.js +0 -601
- package/esm2015/lib/shuffling-list/shuffling-list.module.js +0 -22
- package/esm2015/lib/table/table.component.js +0 -657
- package/esm2015/lib/table/table.module.js +0 -38
- package/esm2015/lib/tabs/tab/tab.component.js +0 -27
- package/esm2015/lib/tabs/tabs.component.js +0 -85
- package/esm2015/lib/tabs/tabs.module.js +0 -22
- package/esm2015/lib/temporary-data/temporary-data.component.js +0 -49
- package/esm2015/lib/temporary-data/temporary-data.module.js +0 -20
- package/esm2015/lib/time-picker/time-picker.component.js +0 -112
- package/esm2015/lib/time-picker/time-picker.module.js +0 -21
- package/esm2015/lib/timer/timer.component.js +0 -108
- package/esm2015/lib/timer/timer.module.js +0 -20
- package/esm2015/lib/tree-control/tree-control.component.js +0 -435
- package/esm2015/lib/tree-control/tree-control.module.js +0 -24
- package/esm2015/lib/tree-ring-chart/tree-ring-chart.component.js +0 -215
- package/esm2015/lib/tree-ring-chart/tree-ring-chart.module.js +0 -20
- package/esm2015/lib/upload/upload.component.js +0 -127
- package/esm2015/lib/upload/upload.module.js +0 -22
- package/esm2015/lib/video-grid/video-grid.component.js +0 -140
- package/esm2015/lib/video-grid/video-grid.module.js +0 -22
- package/esm2015/lib/visual-map-chart/visual-map-chart.component.js +0 -395
- package/esm2015/lib/visual-map-chart/visual-map-chart.module.js +0 -20
- package/esm2015/lib/vote/vote.component.js +0 -100
- package/esm2015/lib/vote/vote.module.js +0 -21
- package/esm2015/lib/weather/weather.component.js +0 -92
- package/esm2015/lib/weather/weather.module.js +0 -21
- package/esm2015/lib/wordart/wordart.component.js +0 -84
- package/esm2015/lib/wordart/wordart.module.js +0 -19
- package/esm2015/lib/workbench-widget.module.js +0 -620
- package/esm2015/public-api.js +0 -40
- package/fesm2015/bbj-screen-widget-core.js +0 -107
- package/fesm2015/bbj-screen-widget-core.js.map +0 -1
- package/fesm2015/bbj-screen-widget.js +0 -20618
- package/fesm2015/bbj-screen-widget.js.map +0 -1
- package/lib/announcement/announcement.component.d.ts +0 -13
- package/lib/announcement/announcement.module.d.ts +0 -5
- package/lib/audio/audio.component.d.ts +0 -22
- package/lib/audio/audio.module.d.ts +0 -4
- package/lib/background/background.component.d.ts +0 -12
- package/lib/background/background.module.d.ts +0 -4
- package/lib/bar-chart-three-d/bar-chart-three-d.component.d.ts +0 -30
- package/lib/bar-chart-three-d/bar-chart-three-d.module.d.ts +0 -4
- package/lib/basic-bar-chart/basic-bar-chart.component.d.ts +0 -105
- package/lib/basic-bar-chart/basic-bar-chart.module.d.ts +0 -5
- package/lib/basic-line-chart/basic-line-chart.component.d.ts +0 -102
- package/lib/basic-line-chart/basic-line-chart.module.d.ts +0 -4
- package/lib/basic-pie-chart/basic-pie-chart.component.d.ts +0 -56
- package/lib/basic-pie-chart/basic-pie-chart.module.d.ts +0 -4
- package/lib/basic-planimetric-map/basic-planimetric-map.component.d.ts +0 -18
- package/lib/basic-planimetric-map/basic-planimetric-map.module.d.ts +0 -4
- package/lib/breathing-bubble-layer/breathing-bubble-layer.component.d.ts +0 -210
- package/lib/breathing-bubble-layer/breathing-bubble-layer.module.d.ts +0 -4
- package/lib/bubble-chart/bubble-chart.component.d.ts +0 -75
- package/lib/bubble-chart/bubble-chart.module.d.ts +0 -4
- package/lib/bulletin-board/bulletin-board.component.d.ts +0 -25
- package/lib/bulletin-board/bulletin-board.module.d.ts +0 -4
- package/lib/button/button.component.d.ts +0 -25
- package/lib/button/button.module.d.ts +0 -4
- package/lib/calendar/background-events/background-events.component.d.ts +0 -10
- package/lib/calendar/calendar-events-child.d.ts +0 -12
- package/lib/calendar/calendar.component.d.ts +0 -27
- package/lib/calendar/calendar.module.d.ts +0 -4
- package/lib/calendar/calendar.util.d.ts +0 -6
- package/lib/calendar/events/events.component.d.ts +0 -13
- package/lib/checkbox/checkbox.component.d.ts +0 -45
- package/lib/checkbox/checkbox.module.d.ts +0 -4
- package/lib/cross-table/cross-table.component.d.ts +0 -30
- package/lib/cross-table/cross-table.module.d.ts +0 -4
- package/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.d.ts +0 -70
- package/lib/custom-baidu-map/baidu-polyline-layer/baidu-polyline-layer.component.d.ts +0 -23
- package/lib/custom-baidu-map/base-layer.d.ts +0 -16
- package/lib/custom-baidu-map/custom-baidu-map.component.d.ts +0 -93
- package/lib/custom-baidu-map/custom-baidu-map.module.d.ts +0 -4
- package/lib/custom-baidu-map/typhoon-area-layer/typhoon-area-layer.component.d.ts +0 -16
- package/lib/custom-baidu-map/wind-layer/wind-layer.component.d.ts +0 -28
- package/lib/date-picker/date-picker.component.d.ts +0 -63
- package/lib/date-picker/date-picker.module.d.ts +0 -4
- package/lib/funnel-chart/funnel-chart.component.d.ts +0 -24
- package/lib/funnel-chart/funnel-chart.module.d.ts +0 -4
- package/lib/gantt/gantt.component.d.ts +0 -25
- package/lib/gantt/gantt.module.d.ts +0 -4
- package/lib/gauge/gauge.component.d.ts +0 -37
- package/lib/gauge/gauge.module.d.ts +0 -4
- package/lib/gauge-progress/gauge-progress.component.d.ts +0 -46
- package/lib/gauge-progress/gauge.module.d.ts +0 -5
- package/lib/general-text/general-text.component.d.ts +0 -21
- package/lib/general-text/general-text.module.d.ts +0 -4
- package/lib/iconfont/icon.d.ts +0 -1
- package/lib/iconfont/iconfont.component.d.ts +0 -11
- package/lib/iconfont/iconfont.module.d.ts +0 -4
- package/lib/iframe/iframe.component.d.ts +0 -10
- package/lib/iframe/iframe.module.d.ts +0 -4
- package/lib/image/image.component.d.ts +0 -21
- package/lib/image/image.module.d.ts +0 -4
- package/lib/item-swiper/item-swiper.component.d.ts +0 -41
- package/lib/item-swiper/item-swiper.module.d.ts +0 -5
- package/lib/line-bar-chart/line-bar-chart.component.d.ts +0 -63
- package/lib/line-bar-chart/line-bar-chart.module.d.ts +0 -4
- package/lib/line-light-flow/line-light-flow.component.d.ts +0 -26
- package/lib/line-light-flow/line-light-flow.module.d.ts +0 -4
- package/lib/liquid-fill/liquid-fill.component.d.ts +0 -18
- package/lib/liquid-fill/liquid-fill.module.d.ts +0 -4
- package/lib/marquee/marquee.component.d.ts +0 -20
- package/lib/marquee/marquee.module.d.ts +0 -4
- package/lib/mip-anim/mip-anim.component.d.ts +0 -6
- package/lib/mip-anim/mip-anim.module.d.ts +0 -4
- package/lib/multi-title-gauge/multi-title-gauge.component.d.ts +0 -26
- package/lib/multi-title-gauge/multi-title-gauge.module.d.ts +0 -4
- package/lib/number-flop/number-flop.component.d.ts +0 -22
- package/lib/number-flop/number-flop.module.d.ts +0 -4
- package/lib/parent-container/parent-container.component.d.ts +0 -9
- package/lib/parent-container/parent-container.module.d.ts +0 -4
- package/lib/percent-pie-chart/percent-pie-chart.component.d.ts +0 -24
- package/lib/percent-pie-chart/percent-pie-chart.module.d.ts +0 -4
- package/lib/pie3d-chart/pie3d-chart.component.d.ts +0 -30
- package/lib/pie3d-chart/pie3d-chart.module.d.ts +0 -4
- package/lib/planimetric-map2d/fly-line-layer/fly-line-layer.component.d.ts +0 -206
- package/lib/planimetric-map2d/fly-line-layer/fly-line-layer.module.d.ts +0 -4
- package/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.component.d.ts +0 -15
- package/lib/planimetric-map2d/map2d-mark-layer/map2d-mark-layer.module.d.ts +0 -4
- package/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.component.d.ts +0 -15
- package/lib/planimetric-map2d/map2d-polyline-layer/map2d-polyline-layer.module.d.ts +0 -4
- package/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.component.d.ts +0 -49
- package/lib/planimetric-map2d/map2d-visual-layer/map2d-visual-layer.module.d.ts +0 -4
- package/lib/planimetric-map2d/planimetric-map2d.component.d.ts +0 -49
- package/lib/planimetric-map2d/planimetric-map2d.module.d.ts +0 -4
- package/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.component.d.ts +0 -14
- package/lib/planimetric-map3d/map3d-line-layer/map3d-line-layer.module.d.ts +0 -4
- package/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.component.d.ts +0 -41
- package/lib/planimetric-map3d/map3d-mark-layer/map3d-mark-layer.module.d.ts +0 -4
- package/lib/planimetric-map3d/planimetric-map3d.component.d.ts +0 -29
- package/lib/planimetric-map3d/planimetric-map3d.module.d.ts +0 -4
- package/lib/radar-chart/radar-chart.component.d.ts +0 -24
- package/lib/radar-chart/radar-chart.module.d.ts +0 -4
- package/lib/radio/radio.component.d.ts +0 -21
- package/lib/radio/radio.module.d.ts +0 -4
- package/lib/rate/rate.component.d.ts +0 -13
- package/lib/rate/rate.module.d.ts +0 -4
- package/lib/scatter3d/scatter3d.component.d.ts +0 -25
- package/lib/scatter3d/scatter3d.module.d.ts +0 -4
- package/lib/screen-widget.module.d.ts +0 -4
- package/lib/search/search.component.d.ts +0 -21
- package/lib/search/search.module.d.ts +0 -6
- package/lib/select/select.component.d.ts +0 -37
- package/lib/select/select.module.d.ts +0 -4
- package/lib/shape/shape.component.d.ts +0 -50
- package/lib/shape/shape.module.d.ts +0 -4
- package/lib/shared/component/video-player/video-player.component.d.ts +0 -28
- package/lib/shared/component/video-player/video-player.module.d.ts +0 -2
- package/lib/shared/service/common.service.d.ts +0 -21
- package/lib/shared/service/file-url.service.d.ts +0 -3
- package/lib/shared/service/gaode-map.service.d.ts +0 -10
- package/lib/shared/service/highcharts.service.d.ts +0 -9
- package/lib/shared/service/http.service.d.ts +0 -7
- package/lib/shared/util/base.util.d.ts +0 -1
- package/lib/shared/util/echarts.util.d.ts +0 -1
- package/lib/shared/util/style.util.d.ts +0 -1
- package/lib/shuffling-list/color.pipe.d.ts +0 -4
- package/lib/shuffling-list/shuffling-list.component.d.ts +0 -76
- package/lib/shuffling-list/shuffling-list.module.d.ts +0 -4
- package/lib/table/table.component.d.ts +0 -65
- package/lib/table/table.module.d.ts +0 -4
- package/lib/tabs/tab/tab.component.d.ts +0 -7
- package/lib/tabs/tabs.component.d.ts +0 -13
- package/lib/tabs/tabs.module.d.ts +0 -4
- package/lib/temporary-data/temporary-data.component.d.ts +0 -13
- package/lib/temporary-data/temporary-data.module.d.ts +0 -4
- package/lib/time-picker/time-picker.component.d.ts +0 -17
- package/lib/time-picker/time-picker.module.d.ts +0 -4
- package/lib/timer/timer.component.d.ts +0 -21
- package/lib/timer/timer.module.d.ts +0 -4
- package/lib/tree-control/tree-control.component.d.ts +0 -62
- package/lib/tree-control/tree-control.module.d.ts +0 -4
- package/lib/tree-ring-chart/tree-ring-chart.component.d.ts +0 -24
- package/lib/tree-ring-chart/tree-ring-chart.module.d.ts +0 -4
- package/lib/upload/upload.component.d.ts +0 -21
- package/lib/upload/upload.module.d.ts +0 -4
- package/lib/video-grid/video-grid.component.d.ts +0 -23
- package/lib/video-grid/video-grid.module.d.ts +0 -4
- package/lib/visual-map-chart/visual-map-chart.component.d.ts +0 -49
- package/lib/visual-map-chart/visual-map-chart.module.d.ts +0 -4
- package/lib/vote/vote.component.d.ts +0 -15
- package/lib/vote/vote.module.d.ts +0 -4
- package/lib/weather/weather.component.d.ts +0 -26
- package/lib/weather/weather.module.d.ts +0 -4
- package/lib/wordart/wordart.component.d.ts +0 -14
- package/lib/wordart/wordart.module.d.ts +0 -4
- package/lib/workbench-widget.module.d.ts +0 -4
- /package/core/{public_api.d.ts → src/public_api.ts} +0 -0
|
@@ -0,0 +1,690 @@
|
|
|
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
|
+
}
|