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,689 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
forwardRef,
|
|
5
|
-
Inject,
|
|
6
|
-
NgZone,
|
|
7
|
-
OnChanges,
|
|
8
|
-
OnDestroy,
|
|
9
|
-
OnInit,
|
|
10
|
-
SimpleChanges,
|
|
11
|
-
ViewChild,
|
|
12
|
-
} from '@angular/core';
|
|
13
|
-
import { Data, DataOutput, Property, Widget, Event, DataInput } from 'bbj-widget-base';
|
|
14
|
-
import { ParentContainerComponent } from '../../parent-container/parent-container.component';
|
|
15
|
-
import { SFArrayWidgetSchema } from '@delon/form';
|
|
16
|
-
import { getFontStyle } from '../../shared/util/style.util';
|
|
17
|
-
import { CustomBaiduMapComponent } from '../custom-baidu-map.component';
|
|
18
|
-
import { BaseLayer } from '../base-layer';
|
|
19
|
-
import { FileUrlService } from '../../shared/service/file-url.service';
|
|
20
|
-
import { NzContextMenuService } from 'ng-zorro-antd/dropdown';
|
|
21
|
-
import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
22
|
-
import { getUUID } from '../../shared/util/base.util';
|
|
23
|
-
import { Subject } from 'rxjs';
|
|
24
|
-
import { takeUntil } from 'rxjs/operators';
|
|
25
|
-
|
|
26
|
-
declare const mapvgl;
|
|
27
|
-
|
|
28
|
-
@Component({
|
|
29
|
-
selector: 'sc-baidu-marker-layer',
|
|
30
|
-
templateUrl: './baidu-marker-layer.component.html',
|
|
31
|
-
styleUrls: ['./baidu-marker-layer.component.less'],
|
|
32
|
-
providers: [ScrollDispatcher], // 防止虚拟滚到导致浮层关闭
|
|
33
|
-
})
|
|
34
|
-
@Widget('标记层', {
|
|
35
|
-
group: 'component',
|
|
36
|
-
image: '',
|
|
37
|
-
icon: '',
|
|
38
|
-
hidden: true,
|
|
39
|
-
})
|
|
40
|
-
export class BaiduMarkerLayerComponent extends BaseLayer implements OnInit, OnDestroy, OnChanges {
|
|
41
|
-
@Property('', { min: 1, ui: { widget: 'myPicture', spanLabel: 0, spanControl: 24 } })
|
|
42
|
-
iconUrl = 'assets/img/screen/marker.png';
|
|
43
|
-
@Property('图标宽', { type: 'number' })
|
|
44
|
-
iconWidth = 25;
|
|
45
|
-
@Property('图标高', { type: 'number' })
|
|
46
|
-
iconHeight = 38.25;
|
|
47
|
-
@Property('图标偏移x', { type: 'number' })
|
|
48
|
-
iconOffsetX = 0;
|
|
49
|
-
@Property('图标偏移y', { type: 'number' })
|
|
50
|
-
iconOffsetY = -19.125;
|
|
51
|
-
// @Property('分组', {type: 'string'})
|
|
52
|
-
// group = '';
|
|
53
|
-
|
|
54
|
-
@Property('移至中心')
|
|
55
|
-
toCenter: boolean = false;
|
|
56
|
-
@Property('点聚合')
|
|
57
|
-
enableMarkerClusterer: boolean = false;
|
|
58
|
-
@Property('聚合最小直径', { type: 'number', ui: { visibleIf: { enableMarkerClusterer: [true] } } })
|
|
59
|
-
clusterMinSize = 25;
|
|
60
|
-
@Property('聚合最大直径', { type: 'number', ui: { visibleIf: { enableMarkerClusterer: [true] } } })
|
|
61
|
-
clusterMaxSize = 40;
|
|
62
|
-
@Property('聚合字体', { ui: { widget: 'myFont' } })
|
|
63
|
-
clusterFont: any = {
|
|
64
|
-
color: '#ffffff',
|
|
65
|
-
size: 16,
|
|
66
|
-
};
|
|
67
|
-
@Property('聚合颜色', {
|
|
68
|
-
ui: {
|
|
69
|
-
widget: 'seriesColor',
|
|
70
|
-
visibleIf: { enableMarkerClusterer: [true] },
|
|
71
|
-
},
|
|
72
|
-
})
|
|
73
|
-
clusterGradient: string[];
|
|
74
|
-
@Property('聚合最大级别', { type: 'number', ui: { visibleIf: { enableMarkerClusterer: [true] } } })
|
|
75
|
-
clusterMaxZoom = 4;
|
|
76
|
-
@Property('显示标签', { ui: { visibleIf: { enableMarkerClusterer: [false] } } })
|
|
77
|
-
showLabel: boolean;
|
|
78
|
-
@Property('标签显示缩放等级', { ui: { visibleIf: { showLabel: [true] } } })
|
|
79
|
-
showLabelMinZoom: number;
|
|
80
|
-
// @Property('标签底色', { ui: { widget: 'myColor', visibleIf: { showLabel: [true] } } })
|
|
81
|
-
// labelBackground: string;
|
|
82
|
-
@Property('标签字体', { ui: { widget: 'myFont', visibleIf: { showLabel: [true] } } })
|
|
83
|
-
labelFont: any = {
|
|
84
|
-
family: '',
|
|
85
|
-
color: '#000000',
|
|
86
|
-
weight: 'normal',
|
|
87
|
-
size: 16,
|
|
88
|
-
space: 0,
|
|
89
|
-
lineHeight: 0,
|
|
90
|
-
};
|
|
91
|
-
@Property('描边颜色', {
|
|
92
|
-
ui: {
|
|
93
|
-
widget: 'myColor',
|
|
94
|
-
},
|
|
95
|
-
})
|
|
96
|
-
stroke: string;
|
|
97
|
-
@Property('描边粗细', { type: 'integer' })
|
|
98
|
-
strokeWidth: number;
|
|
99
|
-
@Property('阴影', { ui: { widget: 'myShadow' } })
|
|
100
|
-
shadow: any = { color: '', X: 0, Y: 0, Z: 0 };
|
|
101
|
-
@Property('标签偏移x', { ui: { widget: 'number', visibleIf: { showLabel: [true] } } })
|
|
102
|
-
labelOffsetX: number;
|
|
103
|
-
@Property('标签偏移y', { ui: { widget: 'number', visibleIf: { showLabel: [true] } } })
|
|
104
|
-
labelOffsetY: number;
|
|
105
|
-
@Property('选中放大')
|
|
106
|
-
enlargeOnSelect: boolean;
|
|
107
|
-
@Property('选中时放大倍数', { type: 'number' })
|
|
108
|
-
selectedSize = 1.5;
|
|
109
|
-
@Property('选中时地图缩放', { type: 'number' })
|
|
110
|
-
selectedMapZoom: number;
|
|
111
|
-
@Property('点击空白取消选中', { type: 'boolean', default: true })
|
|
112
|
-
unselectOnClickBlank = true;
|
|
113
|
-
@Property('标记分组', {
|
|
114
|
-
type: 'array',
|
|
115
|
-
title: '标记分组',
|
|
116
|
-
maxItems: 10,
|
|
117
|
-
items: {
|
|
118
|
-
type: 'object',
|
|
119
|
-
properties: {
|
|
120
|
-
group: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
title: '分组',
|
|
123
|
-
},
|
|
124
|
-
type: {
|
|
125
|
-
title: '类型',
|
|
126
|
-
type: 'string',
|
|
127
|
-
enum: [
|
|
128
|
-
{
|
|
129
|
-
label: '图标',
|
|
130
|
-
value: 'icon',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
label: '圆点',
|
|
134
|
-
value: 'circle',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
label: '正方形',
|
|
138
|
-
value: 'square',
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
label: '波纹',
|
|
142
|
-
value: 'wave',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
label: '扩散',
|
|
146
|
-
value: 'bubble',
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
default: 'icon',
|
|
150
|
-
},
|
|
151
|
-
color: {
|
|
152
|
-
type: 'string',
|
|
153
|
-
title: '颜色',
|
|
154
|
-
ui: { widget: 'myColor', visibleIf: { type: ['circle', 'square'] } },
|
|
155
|
-
},
|
|
156
|
-
size: {
|
|
157
|
-
type: 'number',
|
|
158
|
-
title: '尺寸',
|
|
159
|
-
ui: { visibleIf: { type: ['circle', 'square', 'wave', 'bubble'] } },
|
|
160
|
-
},
|
|
161
|
-
imageUrl: {
|
|
162
|
-
type: 'string',
|
|
163
|
-
title: '图片',
|
|
164
|
-
ui: {
|
|
165
|
-
widget: 'myPicture',
|
|
166
|
-
visibleIf: { type: ['icon'] },
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
width: {
|
|
170
|
-
type: 'number',
|
|
171
|
-
title: '宽度',
|
|
172
|
-
default: 19,
|
|
173
|
-
ui: { visibleIf: { type: ['icon'] } },
|
|
174
|
-
},
|
|
175
|
-
height: {
|
|
176
|
-
type: 'number',
|
|
177
|
-
title: '高度',
|
|
178
|
-
default: 25,
|
|
179
|
-
ui: { visibleIf: { type: ['icon'] } },
|
|
180
|
-
},
|
|
181
|
-
XOffset: {
|
|
182
|
-
type: 'number',
|
|
183
|
-
title: 'X轴偏移',
|
|
184
|
-
ui: { visibleIf: { type: ['icon'] } },
|
|
185
|
-
},
|
|
186
|
-
YOffset: {
|
|
187
|
-
type: 'number',
|
|
188
|
-
title: 'Y轴偏移',
|
|
189
|
-
ui: { visibleIf: { type: ['icon'] } },
|
|
190
|
-
},
|
|
191
|
-
enableMarkerClusterer: {
|
|
192
|
-
type: 'boolean',
|
|
193
|
-
title: '是否聚合',
|
|
194
|
-
ui: { visibleIf: { type: ['icon'] } },
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
required: [],
|
|
198
|
-
},
|
|
199
|
-
ui: { grid: { arraySpan: 24 }, spanControl: 24 } as SFArrayWidgetSchema,
|
|
200
|
-
})
|
|
201
|
-
groups = [];
|
|
202
|
-
@Data({
|
|
203
|
-
properties: {
|
|
204
|
-
id: { type: 'string', title: 'id' },
|
|
205
|
-
address: { type: 'string', title: '地点' },
|
|
206
|
-
information: { type: 'string', title: '信息' },
|
|
207
|
-
group: { type: 'string', title: '标记分组' },
|
|
208
|
-
lng: { type: 'number', title: '经度' },
|
|
209
|
-
lat: { type: 'number', title: '纬度' },
|
|
210
|
-
icon: { type: 'string', title: '图标' },
|
|
211
|
-
},
|
|
212
|
-
})
|
|
213
|
-
_data: any[] = [
|
|
214
|
-
{
|
|
215
|
-
id: '1',
|
|
216
|
-
address: '',
|
|
217
|
-
information: '暂无信息',
|
|
218
|
-
group: '',
|
|
219
|
-
lng: '120.7',
|
|
220
|
-
lat: '28',
|
|
221
|
-
},
|
|
222
|
-
];
|
|
223
|
-
// id: string;
|
|
224
|
-
@DataOutput(['id', 'address', 'lng', 'lat'])
|
|
225
|
-
@Event('选中值改变', {
|
|
226
|
-
params: {
|
|
227
|
-
properties: {
|
|
228
|
-
id: { type: 'string', title: 'id' },
|
|
229
|
-
address: { type: 'string', title: '地点' },
|
|
230
|
-
lng: { type: 'number', title: '经度' },
|
|
231
|
-
lat: { type: 'number', title: '纬度' },
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
})
|
|
235
|
-
makerClick = new EventEmitter();
|
|
236
|
-
@DataInput('选中id')
|
|
237
|
-
selectedId: string;
|
|
238
|
-
@Event('点击', {
|
|
239
|
-
params: {
|
|
240
|
-
properties: {
|
|
241
|
-
id: { type: 'string', title: 'id' },
|
|
242
|
-
address: { type: 'string', title: '地点' },
|
|
243
|
-
lng: { type: 'number', title: '经度' },
|
|
244
|
-
lat: { type: 'number', title: '纬度' },
|
|
245
|
-
},
|
|
246
|
-
},
|
|
247
|
-
})
|
|
248
|
-
onClick = new EventEmitter();
|
|
249
|
-
|
|
250
|
-
layers = [];
|
|
251
|
-
inited: boolean;
|
|
252
|
-
// defaultLayer: any;
|
|
253
|
-
layerMap = {};
|
|
254
|
-
clickData: any;
|
|
255
|
-
clickTimeout: any;
|
|
256
|
-
@ViewChild('menu')
|
|
257
|
-
menu: any;
|
|
258
|
-
subMarkers: any[];
|
|
259
|
-
dataMap = {};
|
|
260
|
-
groupData: {};
|
|
261
|
-
lastSelect: any;
|
|
262
|
-
currentSelectedId: string;
|
|
263
|
-
textLayer: any;
|
|
264
|
-
destroy$ = new Subject();
|
|
265
|
-
constructor(
|
|
266
|
-
protected parent: CustomBaiduMapComponent,
|
|
267
|
-
protected zone: NgZone,
|
|
268
|
-
private fileUrlService: FileUrlService,
|
|
269
|
-
private nzContextMenuService: NzContextMenuService,
|
|
270
|
-
) {
|
|
271
|
-
super(parent, zone);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
ngOnInit(): void {
|
|
275
|
-
super.ngOnInit();
|
|
276
|
-
if (this.showLabel && this.showLabelMinZoom != null) {
|
|
277
|
-
this.parent.zoomChange.pipe(takeUntil(this.destroy$)).subscribe((zoom) => {
|
|
278
|
-
this.updateTextVisible(zoom);
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
ngOnChanges(changes: SimpleChanges) {
|
|
284
|
-
if (this.inited) {
|
|
285
|
-
if (changes._data) {
|
|
286
|
-
this.zone.runOutsideAngular(() => {
|
|
287
|
-
this.updateData();
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
if (changes.selectedId) {
|
|
291
|
-
if (this.selectedId != this.currentSelectedId) {
|
|
292
|
-
this.select(this.selectedId, { move: true });
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
ngOnDestroy(): void {
|
|
299
|
-
super.ngOnDestroy();
|
|
300
|
-
this.destroy$.next();
|
|
301
|
-
this.destroy$.complete();
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
createLayers(): any[] {
|
|
305
|
-
const layers = [];
|
|
306
|
-
this.layerMap = {};
|
|
307
|
-
const defaultLayer = this.createLayer();
|
|
308
|
-
this.layerMap[''] = defaultLayer;
|
|
309
|
-
layers.push(defaultLayer);
|
|
310
|
-
if (this.groups?.length) {
|
|
311
|
-
this.groups.forEach((group) => {
|
|
312
|
-
if (group.group) {
|
|
313
|
-
const layer = this.createLayer(group);
|
|
314
|
-
this.layerMap[group.group] = layer;
|
|
315
|
-
layers.push(layer);
|
|
316
|
-
}
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
if (!this.enableMarkerClusterer && this.showLabel) {
|
|
320
|
-
const textOptions = {
|
|
321
|
-
...this.getTextOptions(this.labelFont),
|
|
322
|
-
// color: '#fff',
|
|
323
|
-
// fontFamily: 'Microsoft Yahei',
|
|
324
|
-
// fontSize: 14,
|
|
325
|
-
flat: false,
|
|
326
|
-
collides: true,
|
|
327
|
-
offset: [this.labelOffsetX || 0, this.labelOffsetY || 0],
|
|
328
|
-
stroke: {
|
|
329
|
-
color: this.stroke,
|
|
330
|
-
},
|
|
331
|
-
padding: [2, 2],
|
|
332
|
-
margin: [0, 0],
|
|
333
|
-
};
|
|
334
|
-
if (this.stroke && this.stroke !== 'rgba(0,0,0,0)') {
|
|
335
|
-
textOptions.stroke = { color: this.stroke };
|
|
336
|
-
}
|
|
337
|
-
if (this.strokeWidth) {
|
|
338
|
-
textOptions.lineWidth = this.strokeWidth;
|
|
339
|
-
}
|
|
340
|
-
if (this.shadow) {
|
|
341
|
-
textOptions.shadow = {
|
|
342
|
-
color: this.shadow.color,
|
|
343
|
-
blur: this.shadow.Z,
|
|
344
|
-
offsetX: this.shadow.X,
|
|
345
|
-
offsetY: this.shadow.Y,
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
this.textLayer = new mapvgl.TextLayer(textOptions);
|
|
349
|
-
if (this.showLabelMinZoom != null) {
|
|
350
|
-
this.parent.init$.then(() => {
|
|
351
|
-
const zoom = this.parent.map.getZoom();
|
|
352
|
-
this.updateTextVisible(zoom);
|
|
353
|
-
});
|
|
354
|
-
}
|
|
355
|
-
layers.push(this.textLayer);
|
|
356
|
-
}
|
|
357
|
-
return layers;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
createLayer(group?: any) {
|
|
361
|
-
let layer: any;
|
|
362
|
-
const type = group?.type;
|
|
363
|
-
if (type === 'circle' || type === 'square') {
|
|
364
|
-
const options = {
|
|
365
|
-
shape: type,
|
|
366
|
-
color: group?.color || 'rgba(50, 50, 200, 1)',
|
|
367
|
-
size: group?.size || 10,
|
|
368
|
-
};
|
|
369
|
-
this.addPickEvent(options);
|
|
370
|
-
layer = new mapvgl.PointLayer(options);
|
|
371
|
-
} else if (type === 'bubble' || type === 'wave') {
|
|
372
|
-
const options = {
|
|
373
|
-
type,
|
|
374
|
-
color: group?.color || 'rgba(255, 0, 0, 1)',
|
|
375
|
-
size: group?.size || 10,
|
|
376
|
-
duration: 1,
|
|
377
|
-
trail: 1,
|
|
378
|
-
};
|
|
379
|
-
this.addPickEvent(options);
|
|
380
|
-
layer = new mapvgl.CircleLayer(options);
|
|
381
|
-
} else {
|
|
382
|
-
const iconOptions = this.getIconOptions(group);
|
|
383
|
-
if (this.enableMarkerClusterer || group?.enableMarkerClusterer) {
|
|
384
|
-
const options: any = {
|
|
385
|
-
iconOptions,
|
|
386
|
-
textOptions: this.getTextOptions(this.clusterFont),
|
|
387
|
-
minSize: this.clusterMinSize || 25,
|
|
388
|
-
maxSize: this.clusterMaxSize || 40,
|
|
389
|
-
};
|
|
390
|
-
if (this.clusterGradient?.length) {
|
|
391
|
-
const gradient: any = {};
|
|
392
|
-
gradient[0] = this.clusterGradient[0];
|
|
393
|
-
this.clusterGradient.slice(1).forEach((g, i) => {
|
|
394
|
-
gradient[(i + 1) / this.clusterGradient.length] = g;
|
|
395
|
-
});
|
|
396
|
-
options.gradient = gradient;
|
|
397
|
-
}
|
|
398
|
-
if (this.clusterMaxZoom != null) {
|
|
399
|
-
options.maxZoom = this.clusterMaxZoom;
|
|
400
|
-
}
|
|
401
|
-
this.addPickEvent(options);
|
|
402
|
-
layer = new mapvgl.ClusterLayer(options);
|
|
403
|
-
} else {
|
|
404
|
-
this.addPickEvent(iconOptions);
|
|
405
|
-
layer = new mapvgl.IconLayer(iconOptions);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
return layer;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
updateTextVisible(zoom?: number) {
|
|
412
|
-
if (this.textLayer) {
|
|
413
|
-
if (zoom >= this.showLabelMinZoom) {
|
|
414
|
-
this.textLayer.show();
|
|
415
|
-
} else {
|
|
416
|
-
this.textLayer.hide();
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
updateData() {
|
|
422
|
-
this.dataMap = {};
|
|
423
|
-
if (this.toCenter && this._data.length > 0) {
|
|
424
|
-
let maxLng = -180;
|
|
425
|
-
let minLng = 180;
|
|
426
|
-
let maxLat = -90;
|
|
427
|
-
let minLat = 90;
|
|
428
|
-
this._data.forEach((res) => {
|
|
429
|
-
maxLng = Math.max(maxLng, res.lng);
|
|
430
|
-
minLng = Math.min(minLng, res.lng);
|
|
431
|
-
maxLat = Math.max(maxLat, res.lat);
|
|
432
|
-
minLat = Math.min(minLat, res.lat);
|
|
433
|
-
});
|
|
434
|
-
this.parent.setRectCenterAndZoom(minLng, maxLng, minLat, maxLat);
|
|
435
|
-
}
|
|
436
|
-
const groupData = {};
|
|
437
|
-
this.groupData = groupData;
|
|
438
|
-
const textData = [];
|
|
439
|
-
const groups = Object.keys(this.layerMap);
|
|
440
|
-
groups.forEach((group) => {
|
|
441
|
-
groupData[group] = [];
|
|
442
|
-
});
|
|
443
|
-
// const defaultData = [];
|
|
444
|
-
this._data.forEach((record) => {
|
|
445
|
-
let groupName = record.group;
|
|
446
|
-
if (groupName == null || this.layerMap[groupName] == null) {
|
|
447
|
-
groupName = '';
|
|
448
|
-
}
|
|
449
|
-
let id = record.id_value || record.id;
|
|
450
|
-
if (id == null || id == '') {
|
|
451
|
-
id = getUUID();
|
|
452
|
-
}
|
|
453
|
-
const item: any = {
|
|
454
|
-
geometry: {
|
|
455
|
-
type: 'Point',
|
|
456
|
-
coordinates: [record.lng, record.lat],
|
|
457
|
-
},
|
|
458
|
-
properties: {
|
|
459
|
-
text: record.address,
|
|
460
|
-
id,
|
|
461
|
-
group: groupName,
|
|
462
|
-
raw: record,
|
|
463
|
-
},
|
|
464
|
-
};
|
|
465
|
-
// MapVGL的bug,ClusterLayer的iconOptions无效,只能通过properties设置
|
|
466
|
-
|
|
467
|
-
const layer = this.layerMap[groupName];
|
|
468
|
-
if (layer != null && layer instanceof mapvgl.ClusterLayer) {
|
|
469
|
-
const options = layer.getOptions();
|
|
470
|
-
if (options.iconOptions) {
|
|
471
|
-
const { height, width, offset, icon } = options.iconOptions;
|
|
472
|
-
item.properties = { height, width, offset, icon, ...item.properties };
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
if (record.icon) {
|
|
476
|
-
item.properties.icon = this.fileUrlService.getUrl(record.icon);
|
|
477
|
-
}
|
|
478
|
-
// if (this.selectedId && this.selectedId == id) {
|
|
479
|
-
// this.updateSize(item, 1.5);
|
|
480
|
-
// this.lastSelect = item;
|
|
481
|
-
// }
|
|
482
|
-
groupData[groupName].push(item);
|
|
483
|
-
this.dataMap[item.properties.id] = item;
|
|
484
|
-
if (this.textLayer) {
|
|
485
|
-
textData.push(item);
|
|
486
|
-
}
|
|
487
|
-
});
|
|
488
|
-
if (this.selectedId) {
|
|
489
|
-
this.select(this.selectedId, { move: this.selectedId != this.currentSelectedId, resetLayer: false, force: true });
|
|
490
|
-
}
|
|
491
|
-
groups.forEach((group) => {
|
|
492
|
-
const layer = this.layerMap[group];
|
|
493
|
-
const data = groupData[group];
|
|
494
|
-
layer.setData(data);
|
|
495
|
-
});
|
|
496
|
-
if (this.textLayer) {
|
|
497
|
-
this.textLayer.setData(textData);
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
getIconOptions(group: any) {
|
|
502
|
-
let icon = this.iconUrl || 'assets/img/screen/marker.png';
|
|
503
|
-
let height = this.iconHeight || 38.25;
|
|
504
|
-
let width = this.iconWidth || 25;
|
|
505
|
-
let offsetX = this.iconOffsetX == null ? 0 : this.iconOffsetX;
|
|
506
|
-
let offsetY = this.iconOffsetY == null ? -height / 2 : this.iconOffsetY;
|
|
507
|
-
if (group && group.imageUrl) {
|
|
508
|
-
icon = this.fileUrlService.getUrl(group.imageUrl);
|
|
509
|
-
width = group.width || width;
|
|
510
|
-
height = group.height || height;
|
|
511
|
-
offsetX = group.XOffset != null ? group.XOffset : 0;
|
|
512
|
-
offsetY = group.YOffset != null ? group.YOffset : -height / 2;
|
|
513
|
-
}
|
|
514
|
-
const iconOptions: any = {
|
|
515
|
-
icon,
|
|
516
|
-
width,
|
|
517
|
-
height,
|
|
518
|
-
offset: [offsetX, offsetY],
|
|
519
|
-
};
|
|
520
|
-
return iconOptions;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
getTextOptions(font: any) {
|
|
524
|
-
const textOptions: any = {};
|
|
525
|
-
if (font) {
|
|
526
|
-
if (font.size) textOptions.fontSize = font.size;
|
|
527
|
-
if (font.family) textOptions.fontFamily = font.family;
|
|
528
|
-
if (font.color) textOptions.color = font.color;
|
|
529
|
-
// switch (font.weight) {
|
|
530
|
-
// case 'lighter':
|
|
531
|
-
// textOptions.lineWidth = 1;
|
|
532
|
-
// break;
|
|
533
|
-
// case 'normal':
|
|
534
|
-
// textOptions.lineWidth = 2;
|
|
535
|
-
// break;
|
|
536
|
-
// case 'bold':
|
|
537
|
-
// textOptions.lineWidth = 3;
|
|
538
|
-
// break;
|
|
539
|
-
// case 'bolder':
|
|
540
|
-
// textOptions.lineWidth = 4;
|
|
541
|
-
// break;
|
|
542
|
-
// }
|
|
543
|
-
}
|
|
544
|
-
return textOptions;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
addPickEvent(options: any) {
|
|
548
|
-
options.enablePicked = true;
|
|
549
|
-
options.onClick = ({ dataItem }) => {
|
|
550
|
-
// 每个图层都会触发一次click事件,如果每个图层都没有点中标记点,传出null
|
|
551
|
-
if (dataItem) {
|
|
552
|
-
this.clickData = dataItem;
|
|
553
|
-
}
|
|
554
|
-
if (this.unselectOnClickBlank !== false && this.clickTimeout == null) {
|
|
555
|
-
this.clickTimeout = setTimeout(() => {
|
|
556
|
-
if (this.clickData == null) {
|
|
557
|
-
this.selectedId = null;
|
|
558
|
-
this.select(null);
|
|
559
|
-
}
|
|
560
|
-
this.clickTimeout = null;
|
|
561
|
-
this.clickData = null;
|
|
562
|
-
this.subMarkers = null;
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
if (dataItem) {
|
|
566
|
-
if (dataItem.type === 'Feature') {
|
|
567
|
-
const coordinates = dataItem.geometry.coordinates;
|
|
568
|
-
this.parent.setCenterAndZoom(coordinates[0], coordinates[1], this.parent.map.getZoom() + 2);
|
|
569
|
-
} else {
|
|
570
|
-
const data = dataItem.properties.raw;
|
|
571
|
-
if (data) {
|
|
572
|
-
this.selectedId = dataItem.properties.id;
|
|
573
|
-
this.select(dataItem.properties.id);
|
|
574
|
-
this.zone.run(() => {
|
|
575
|
-
this.onClick.emit({ ...data, id: data.id_value || data.id });
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
if (this.parent.showType === 'mouseover') {
|
|
582
|
-
let infoWindow = null;
|
|
583
|
-
let infoWindowData = null;
|
|
584
|
-
options.onMousemove = ({ dataItem }) => {
|
|
585
|
-
const data = dataItem != null ? dataItem.properties.raw : null;
|
|
586
|
-
if (infoWindow != null && infoWindowData != data) {
|
|
587
|
-
infoWindow.close();
|
|
588
|
-
infoWindow = null;
|
|
589
|
-
}
|
|
590
|
-
if (data && data.information && infoWindow == null) {
|
|
591
|
-
infoWindowData = data;
|
|
592
|
-
infoWindow = this.parent.openInfoWindow(data, data.lng, data.lat);
|
|
593
|
-
}
|
|
594
|
-
};
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
select(id: any, options: { move?: boolean; resetLayer?: boolean; force?: boolean } = {}) {
|
|
599
|
-
if (id != this.currentSelectedId || options.force) {
|
|
600
|
-
let item: any;
|
|
601
|
-
if (id != null && id !== '') {
|
|
602
|
-
item = this.dataMap[id];
|
|
603
|
-
// 如果找不到数据,可能是数据还没加载,等数据加载了再执行
|
|
604
|
-
if (item == null) {
|
|
605
|
-
return;
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
this.currentSelectedId = id;
|
|
609
|
-
let lastSelectGroup: string;
|
|
610
|
-
let currentSelectGroup: string;
|
|
611
|
-
let selectedData: any;
|
|
612
|
-
if (this.lastSelect) {
|
|
613
|
-
lastSelectGroup = this.lastSelect.properties.group;
|
|
614
|
-
this.updateSize(this.lastSelect, 1);
|
|
615
|
-
this.lastSelect = null;
|
|
616
|
-
}
|
|
617
|
-
if (item) {
|
|
618
|
-
currentSelectGroup = item.properties.group;
|
|
619
|
-
this.updateSize(item, this.selectedSize ?? 1.5);
|
|
620
|
-
this.lastSelect = item;
|
|
621
|
-
selectedData = item.properties.raw;
|
|
622
|
-
if (options.move) {
|
|
623
|
-
const layer = this.layerMap[currentSelectGroup];
|
|
624
|
-
let zoom = this.parent.map.getZoom();
|
|
625
|
-
if (this.selectedMapZoom) {
|
|
626
|
-
zoom = this.selectedMapZoom;
|
|
627
|
-
} else if (
|
|
628
|
-
layer instanceof mapvgl.ClusterLayer &&
|
|
629
|
-
this.clusterMaxZoom != null &&
|
|
630
|
-
Math.floor(zoom) <= this.clusterMaxZoom
|
|
631
|
-
) {
|
|
632
|
-
zoom = this.clusterMaxZoom + 2;
|
|
633
|
-
}
|
|
634
|
-
this.parent.setCenterAndZoom(selectedData.lng, selectedData.lat, zoom);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
if (selectedData.information && this.parent.showType !== 'mouseover') {
|
|
638
|
-
// 防止其他图层将信息窗口关闭
|
|
639
|
-
setTimeout(() => {
|
|
640
|
-
this.parent.openInfoWindow(selectedData, selectedData.lng, selectedData.lat);
|
|
641
|
-
});
|
|
642
|
-
}
|
|
643
|
-
} else {
|
|
644
|
-
selectedData = {};
|
|
645
|
-
}
|
|
646
|
-
if (options.resetLayer !== false) {
|
|
647
|
-
if (currentSelectGroup != null) {
|
|
648
|
-
this.resetLayerData(currentSelectGroup);
|
|
649
|
-
}
|
|
650
|
-
if (lastSelectGroup != null && lastSelectGroup !== currentSelectGroup) {
|
|
651
|
-
this.resetLayerData(lastSelectGroup);
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
// 如果选中的id找不到对应数据,可能是数据还没加载,
|
|
655
|
-
if (id == null || item != null) {
|
|
656
|
-
this.zone.run(() => {
|
|
657
|
-
this.makerClick.emit({ ...selectedData, id: selectedData.id_value || selectedData.id });
|
|
658
|
-
});
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
resetLayerData(group: string) {
|
|
664
|
-
const layer = this.layerMap[group];
|
|
665
|
-
const data = this.groupData[group];
|
|
666
|
-
if (layer && data) {
|
|
667
|
-
layer.setData(data);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
updateSize(item: any, scale: number) {
|
|
672
|
-
if (item && this.enlargeOnSelect) {
|
|
673
|
-
const layer = this.layerMap[item.properties.group];
|
|
674
|
-
let options: any;
|
|
675
|
-
|
|
676
|
-
if (layer instanceof mapvgl.ClusterLayer) {
|
|
677
|
-
options = layer.getOptions().iconOptions;
|
|
678
|
-
} else {
|
|
679
|
-
options = layer.getOptions();
|
|
680
|
-
}
|
|
681
|
-
const { height, width, offset } = options;
|
|
682
|
-
item.properties.height = height * scale;
|
|
683
|
-
item.properties.width = width * scale;
|
|
684
|
-
if (item.properties.offset) {
|
|
685
|
-
item.properties.offset = [offset[0] * scale, offset[1] * scale];
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
File without changes
|
|
File without changes
|