@vtx/ol-map 1.0.143 → 1.0.144
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/README.md +205 -205
- package/package.json +3 -2
- package/CHANGELOG.md +0 -217
- package/lib/_util/EventEmitter.js +0 -80
- package/lib/_util/EventEmitter.js.map +0 -1
- package/lib/_util/StyleCache.js +0 -48
- package/lib/_util/StyleCache.js.map +0 -1
- package/lib/_util/encryptParams.js +0 -65
- package/lib/_util/encryptParams.js.map +0 -1
- package/lib/_util/filterSpecialCharacters.js +0 -90
- package/lib/_util/filterSpecialCharacters.js.map +0 -1
- package/lib/_util/getComponentProps.js +0 -14
- package/lib/_util/getComponentProps.js.map +0 -1
- package/lib/_util/getCookie.js +0 -25
- package/lib/_util/getCookie.js.map +0 -1
- package/lib/_util/getDefaultMapInfo.js +0 -51
- package/lib/_util/getDefaultMapInfo.js.map +0 -1
- package/lib/_util/getSystemInfo.js +0 -27
- package/lib/_util/getSystemInfo.js.map +0 -1
- package/lib/_util/getToken.js +0 -29
- package/lib/_util/getToken.js.map +0 -1
- package/lib/_util/getUrlParam.js +0 -16
- package/lib/_util/getUrlParam.js.map +0 -1
- package/lib/_util/http.js +0 -178
- package/lib/_util/http.js.map +0 -1
- package/lib/_util/isFunction.js +0 -10
- package/lib/_util/isFunction.js.map +0 -1
- package/lib/_util/isObject.js +0 -10
- package/lib/_util/isObject.js.map +0 -1
- package/lib/_util/layer.js +0 -156
- package/lib/_util/layer.js.map +0 -1
- package/lib/_util/mapTool.js +0 -189
- package/lib/_util/mapTool.js.map +0 -1
- package/lib/_util/projzh/datum/bd-09.js +0 -45
- package/lib/_util/projzh/datum/bd-09.js.map +0 -1
- package/lib/_util/projzh/datum/gcj-02.js +0 -73
- package/lib/_util/projzh/datum/gcj-02.js.map +0 -1
- package/lib/_util/projzh/datum/index.js +0 -15
- package/lib/_util/projzh/datum/index.js.map +0 -1
- package/lib/_util/projzh/index.js +0 -41
- package/lib/_util/projzh/index.js.map +0 -1
- package/lib/_util/projzh/projection/baidu-mercator.js +0 -75
- package/lib/_util/projzh/projection/baidu-mercator.js.map +0 -1
- package/lib/_util/projzh/projection/index.js +0 -15
- package/lib/_util/projzh/projection/index.js.map +0 -1
- package/lib/_util/projzh/projection/spherical-mercator.js +0 -26
- package/lib/_util/projzh/projection/spherical-mercator.js.map +0 -1
- package/lib/_util/projzh/util.js +0 -28
- package/lib/_util/projzh/util.js.map +0 -1
- package/lib/_util/search.js +0 -133
- package/lib/_util/search.js.map +0 -1
- package/lib/_util/setCookie.js +0 -16
- package/lib/_util/setCookie.js.map +0 -1
- package/lib/_util/stringToFun.js +0 -25
- package/lib/_util/stringToFun.js.map +0 -1
- package/lib/_util/transform.js +0 -170
- package/lib/_util/transform.js.map +0 -1
- package/lib/_util/useColSize.js +0 -29
- package/lib/_util/useColSize.js.map +0 -1
- package/lib/_util/useInterval.js +0 -19
- package/lib/_util/useInterval.js.map +0 -1
- package/lib/_util/useSet.js +0 -45
- package/lib/_util/useSet.js.map +0 -1
- package/lib/analysis-layer/index.js +0 -455
- package/lib/analysis-layer/index.js.map +0 -1
- package/lib/analysis-layer/style/css.js +0 -2
- package/lib/analysis-layer/style/css.js.map +0 -1
- package/lib/analysis-layer/style/index.js +0 -2
- package/lib/analysis-layer/style/index.js.map +0 -1
- package/lib/assets/arrow.png +0 -0
- package/lib/assets/base-img-1.png +0 -0
- package/lib/assets/base-img-2.png +0 -0
- package/lib/assets/base-img-3.png +0 -0
- package/lib/assets/base-img-4.png +0 -0
- package/lib/assets/base-img-5.png +0 -0
- package/lib/assets/base-img-6.png +0 -0
- package/lib/assets/base-img.png +0 -0
- package/lib/assets/bz.png +0 -0
- package/lib/assets/img.png +0 -0
- package/lib/assets/kz.png +0 -0
- package/lib/assets/ll.png +0 -0
- package/lib/assets/location.png +0 -0
- package/lib/assets/noLocation.png +0 -0
- package/lib/assets/people.png +0 -0
- package/lib/assets/qd.png +0 -0
- package/lib/assets/sw.png +0 -0
- package/lib/assets/yl.png +0 -0
- package/lib/assets/zd.png +0 -0
- package/lib/buffer-draw/BufferDraw.js +0 -400
- package/lib/buffer-draw/BufferDraw.js.map +0 -1
- package/lib/buffer-draw/index.js +0 -57
- package/lib/buffer-draw/index.js.map +0 -1
- package/lib/buffer-draw/style/css.js +0 -2
- package/lib/buffer-draw/style/css.js.map +0 -1
- package/lib/buffer-draw/style/index.js +0 -2
- package/lib/buffer-draw/style/index.js.map +0 -1
- package/lib/circle/Circle.js +0 -53
- package/lib/circle/Circle.js.map +0 -1
- package/lib/circle/index.js +0 -65
- package/lib/circle/index.js.map +0 -1
- package/lib/circle/style/css.js +0 -2
- package/lib/circle/style/css.js.map +0 -1
- package/lib/circle/style/index.js +0 -2
- package/lib/circle/style/index.js.map +0 -1
- package/lib/config.js +0 -13
- package/lib/config.js.map +0 -1
- package/lib/convertCamelToCSS.js +0 -24
- package/lib/convertCamelToCSS.js.map +0 -1
- package/lib/dom/Dom.js +0 -41
- package/lib/dom/Dom.js.map +0 -1
- package/lib/dom/index.js +0 -62
- package/lib/dom/index.js.map +0 -1
- package/lib/dom/style/css.js +0 -2
- package/lib/dom/style/css.js.map +0 -1
- package/lib/dom/style/index.js +0 -2
- package/lib/dom/style/index.js.map +0 -1
- package/lib/events/index.js +0 -27
- package/lib/events/index.js.map +0 -1
- package/lib/feature-draw/FeatureDraw.js +0 -236
- package/lib/feature-draw/FeatureDraw.js.map +0 -1
- package/lib/feature-draw/index.js +0 -73
- package/lib/feature-draw/index.js.map +0 -1
- package/lib/feature-draw/style/css.js +0 -2
- package/lib/feature-draw/style/css.js.map +0 -1
- package/lib/feature-draw/style/index.js +0 -2
- package/lib/feature-draw/style/index.js.map +0 -1
- package/lib/feature-layer/FeatureLayer.js +0 -1040
- package/lib/feature-layer/FeatureLayer.js.map +0 -1
- package/lib/feature-layer/MyCluster.js +0 -153
- package/lib/feature-layer/MyCluster.js.map +0 -1
- package/lib/feature-layer/createFeatureCollection.js +0 -175
- package/lib/feature-layer/createFeatureCollection.js.map +0 -1
- package/lib/feature-layer/index.js +0 -155
- package/lib/feature-layer/index.js.map +0 -1
- package/lib/feature-layer/style/css.js +0 -4
- package/lib/feature-layer/style/css.js.map +0 -1
- package/lib/feature-layer/style/index.css +0 -0
- package/lib/feature-layer/style/index.js +0 -4
- package/lib/feature-layer/style/index.js.map +0 -1
- package/lib/feature-layer/style/index.less +0 -0
- package/lib/flow-line-layer/FlowLineLayer.js +0 -200
- package/lib/flow-line-layer/FlowLineLayer.js.map +0 -1
- package/lib/flow-line-layer/index.js +0 -127
- package/lib/flow-line-layer/index.js.map +0 -1
- package/lib/flow-line-layer/style/css.js +0 -4
- package/lib/flow-line-layer/style/css.js.map +0 -1
- package/lib/flow-line-layer/style/index.css +0 -0
- package/lib/flow-line-layer/style/index.js +0 -4
- package/lib/flow-line-layer/style/index.js.map +0 -1
- package/lib/flow-line-layer/style/index.less +0 -0
- package/lib/fly-line-layer/FlyLineLayer.js +0 -219
- package/lib/fly-line-layer/FlyLineLayer.js.map +0 -1
- package/lib/fly-line-layer/index.js +0 -109
- package/lib/fly-line-layer/index.js.map +0 -1
- package/lib/fly-line-layer/style/css.js +0 -4
- package/lib/fly-line-layer/style/css.js.map +0 -1
- package/lib/fly-line-layer/style/index.css +0 -0
- package/lib/fly-line-layer/style/index.js +0 -4
- package/lib/fly-line-layer/style/index.js.map +0 -1
- package/lib/fly-line-layer/style/index.less +0 -0
- package/lib/group-layer/GroupLayer.js +0 -133
- package/lib/group-layer/GroupLayer.js.map +0 -1
- package/lib/group-layer/index.js +0 -74
- package/lib/group-layer/index.js.map +0 -1
- package/lib/group-layer/style/css.js +0 -4
- package/lib/group-layer/style/css.js.map +0 -1
- package/lib/group-layer/style/index.css +0 -0
- package/lib/group-layer/style/index.js +0 -4
- package/lib/group-layer/style/index.js.map +0 -1
- package/lib/group-layer/style/index.less +0 -0
- package/lib/heatmap-layer/HeatmapLayer.js +0 -192
- package/lib/heatmap-layer/HeatmapLayer.js.map +0 -1
- package/lib/heatmap-layer/index.js +0 -94
- package/lib/heatmap-layer/index.js.map +0 -1
- package/lib/heatmap-layer/style/css.js +0 -4
- package/lib/heatmap-layer/style/css.js.map +0 -1
- package/lib/heatmap-layer/style/index.css +0 -0
- package/lib/heatmap-layer/style/index.js +0 -4
- package/lib/heatmap-layer/style/index.js.map +0 -1
- package/lib/heatmap-layer/style/index.less +0 -0
- package/lib/high-layer/HighLayer.js +0 -201
- package/lib/high-layer/HighLayer.js.map +0 -1
- package/lib/high-layer/index.js +0 -46
- package/lib/high-layer/index.js.map +0 -1
- package/lib/high-layer/style/css.js +0 -2
- package/lib/high-layer/style/css.js.map +0 -1
- package/lib/high-layer/style/index.js +0 -2
- package/lib/high-layer/style/index.js.map +0 -1
- package/lib/image-layer/ImageLayer.js +0 -332
- package/lib/image-layer/ImageLayer.js.map +0 -1
- package/lib/image-layer/ImageTileLayer.js +0 -334
- package/lib/image-layer/ImageTileLayer.js.map +0 -1
- package/lib/image-layer/index.js +0 -101
- package/lib/image-layer/index.js.map +0 -1
- package/lib/image-layer/style/css.js +0 -4
- package/lib/image-layer/style/css.js.map +0 -1
- package/lib/image-layer/style/index.css +0 -0
- package/lib/image-layer/style/index.js +0 -4
- package/lib/image-layer/style/index.js.map +0 -1
- package/lib/image-layer/style/index.less +0 -0
- package/lib/index.js +0 -201
- package/lib/index.js.map +0 -1
- package/lib/legend/index.js +0 -223
- package/lib/legend/index.js.map +0 -1
- package/lib/legend/style/css.js +0 -8
- package/lib/legend/style/css.js.map +0 -1
- package/lib/legend/style/index.css +0 -74
- package/lib/legend/style/index.js +0 -8
- package/lib/legend/style/index.js.map +0 -1
- package/lib/legend/style/index.less +0 -73
- package/lib/map/Analysis.js +0 -151
- package/lib/map/Analysis.js.map +0 -1
- package/lib/map/Layers.js +0 -341
- package/lib/map/Layers.js.map +0 -1
- package/lib/map/Popup.js +0 -372
- package/lib/map/Popup.js.map +0 -1
- package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js +0 -164
- package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js.map +0 -1
- package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js +0 -85
- package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js.map +0 -1
- package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js +0 -67
- package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js.map +0 -1
- package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js +0 -86
- package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js.map +0 -1
- package/lib/map/getBaseLayers/index.js +0 -48
- package/lib/map/getBaseLayers/index.js.map +0 -1
- package/lib/map/index.js +0 -823
- package/lib/map/index.js.map +0 -1
- package/lib/map/style/css.js +0 -5
- package/lib/map/style/css.js.map +0 -1
- package/lib/map/style/index.css +0 -171
- package/lib/map/style/index.js +0 -5
- package/lib/map/style/index.js.map +0 -1
- package/lib/map/style/index.less +0 -152
- package/lib/map-icon/svg/index.js +0 -82
- package/lib/map-icon/svg/index.js.map +0 -1
- package/lib/map-icon/svg/tuceng.svg.js +0 -2
- package/lib/map-icon/svg/tuceng.svg.js.map +0 -1
- package/lib/marker/Marker.js +0 -108
- package/lib/marker/Marker.js.map +0 -1
- package/lib/marker/index.js +0 -62
- package/lib/marker/index.js.map +0 -1
- package/lib/marker/style/css.js +0 -2
- package/lib/marker/style/css.js.map +0 -1
- package/lib/marker/style/index.js +0 -2
- package/lib/marker/style/index.js.map +0 -1
- package/lib/path-line-layer/PathLineLayer.js +0 -47
- package/lib/path-line-layer/PathLineLayer.js.map +0 -1
- package/lib/path-line-layer/getPathLineStyles.js +0 -72
- package/lib/path-line-layer/getPathLineStyles.js.map +0 -1
- package/lib/path-line-layer/index.js +0 -152
- package/lib/path-line-layer/index.js.map +0 -1
- package/lib/path-line-layer/style/css.js +0 -4
- package/lib/path-line-layer/style/css.js.map +0 -1
- package/lib/path-line-layer/style/index.css +0 -0
- package/lib/path-line-layer/style/index.js +0 -4
- package/lib/path-line-layer/style/index.js.map +0 -1
- package/lib/path-line-layer/style/index.less +0 -0
- package/lib/path-play-back/PathPlayBack.js +0 -670
- package/lib/path-play-back/PathPlayBack.js.map +0 -1
- package/lib/path-play-back/index.js +0 -76
- package/lib/path-play-back/index.js.map +0 -1
- package/lib/path-play-back/style/css.js +0 -2
- package/lib/path-play-back/style/css.js.map +0 -1
- package/lib/path-play-back/style/index.js +0 -2
- package/lib/path-play-back/style/index.js.map +0 -1
- package/lib/poi-search/Location.js +0 -63
- package/lib/poi-search/Location.js.map +0 -1
- package/lib/poi-search/PoiList.js +0 -116
- package/lib/poi-search/PoiList.js.map +0 -1
- package/lib/poi-search/Search.js +0 -208
- package/lib/poi-search/Search.js.map +0 -1
- package/lib/poi-search/index.js +0 -174
- package/lib/poi-search/index.js.map +0 -1
- package/lib/poi-search/style/css.js +0 -8
- package/lib/poi-search/style/css.js.map +0 -1
- package/lib/poi-search/style/index.css +0 -96
- package/lib/poi-search/style/index.js +0 -8
- package/lib/poi-search/style/index.js.map +0 -1
- package/lib/poi-search/style/index.less +0 -97
- package/lib/point/Point.js +0 -59
- package/lib/point/Point.js.map +0 -1
- package/lib/point/index.js +0 -62
- package/lib/point/index.js.map +0 -1
- package/lib/point/style/css.js +0 -2
- package/lib/point/style/css.js.map +0 -1
- package/lib/point/style/index.js +0 -2
- package/lib/point/style/index.js.map +0 -1
- package/lib/polygon/Polygon.js +0 -53
- package/lib/polygon/Polygon.js.map +0 -1
- package/lib/polygon/index.js +0 -62
- package/lib/polygon/index.js.map +0 -1
- package/lib/polygon/style/css.js +0 -2
- package/lib/polygon/style/css.js.map +0 -1
- package/lib/polygon/style/index.js +0 -2
- package/lib/polygon/style/index.js.map +0 -1
- package/lib/polyline/Polyline.js +0 -53
- package/lib/polyline/Polyline.js.map +0 -1
- package/lib/polyline/index.js +0 -62
- package/lib/polyline/index.js.map +0 -1
- package/lib/polyline/style/css.js +0 -2
- package/lib/polyline/style/css.js.map +0 -1
- package/lib/polyline/style/index.js +0 -2
- package/lib/polyline/style/index.js.map +0 -1
- package/lib/popup/index.js +0 -204
- package/lib/popup/index.js.map +0 -1
- package/lib/popup/style/css.js +0 -4
- package/lib/popup/style/css.js.map +0 -1
- package/lib/popup/style/index.css +0 -131
- package/lib/popup/style/index.js +0 -4
- package/lib/popup/style/index.js.map +0 -1
- package/lib/popup/style/index.less +0 -129
- package/lib/provider/index.js +0 -14
- package/lib/provider/index.js.map +0 -1
- package/lib/provider/style/css.js +0 -2
- package/lib/provider/style/css.js.map +0 -1
- package/lib/provider/style/index.js +0 -2
- package/lib/provider/style/index.js.map +0 -1
- package/lib/renderer/Fill.js +0 -39
- package/lib/renderer/Fill.js.map +0 -1
- package/lib/renderer/Stroke.js +0 -41
- package/lib/renderer/Stroke.js.map +0 -1
- package/lib/renderer/index.js +0 -140
- package/lib/renderer/index.js.map +0 -1
- package/lib/renderer/style/css.js +0 -4
- package/lib/renderer/style/css.js.map +0 -1
- package/lib/renderer/style/index.css +0 -0
- package/lib/renderer/style/index.js +0 -4
- package/lib/renderer/style/index.js.map +0 -1
- package/lib/renderer/style/index.less +0 -0
- package/lib/renderer/transformRgb.js +0 -34
- package/lib/renderer/transformRgb.js.map +0 -1
- package/lib/search-map/VtxModal.js +0 -205
- package/lib/search-map/VtxModal.js.map +0 -1
- package/lib/search-map/index.js +0 -418
- package/lib/search-map/index.js.map +0 -1
- package/lib/search-map/style/css.js +0 -6
- package/lib/search-map/style/css.js.map +0 -1
- package/lib/search-map/style/index.css +0 -73
- package/lib/search-map/style/index.js +0 -6
- package/lib/search-map/style/index.js.map +0 -1
- package/lib/search-map/style/index.less +0 -83
- package/lib/search-map/style/modal.css +0 -54
- package/lib/search-map/style/modal.less +0 -58
- package/lib/style/index.css +0 -0
- package/lib/style/index.less +0 -2
- package/lib/style/themes/compact.css +0 -0
- package/lib/style/themes/compact.less +0 -1
- package/lib/style/themes/dark.css +0 -0
- package/lib/style/themes/dark.less +0 -9
- package/lib/style/themes/default.css +0 -0
- package/lib/style/themes/default.less +0 -7
- package/lib/style/themes/index.css +0 -0
- package/lib/style/themes/index.less +0 -1
- package/lib/style/themes/variable.css +0 -0
- package/lib/style/themes/variable.less +0 -5
- package/lib/tile-layer/TileLayer.js +0 -88
- package/lib/tile-layer/TileLayer.js.map +0 -1
- package/lib/tile-layer/index.js +0 -53
- package/lib/tile-layer/index.js.map +0 -1
- package/lib/tile-layer/style/css.js +0 -4
- package/lib/tile-layer/style/css.js.map +0 -1
- package/lib/tile-layer/style/index.css +0 -0
- package/lib/tile-layer/style/index.js +0 -4
- package/lib/tile-layer/style/index.js.map +0 -1
- package/lib/tile-layer/style/index.less +0 -0
- package/lib/tools/Layer/LayerService.js +0 -183
- package/lib/tools/Layer/LayerService.js.map +0 -1
- package/lib/tools/Layer/LayersCheckService.js +0 -195
- package/lib/tools/Layer/LayersCheckService.js.map +0 -1
- package/lib/tools/Layer/index.css +0 -50
- package/lib/tools/Layer/index.js +0 -226
- package/lib/tools/Layer/index.js.map +0 -1
- package/lib/tools/Layer/index.less +0 -43
- package/lib/tools/Search/index.js +0 -298
- package/lib/tools/Search/index.js.map +0 -1
- package/lib/tools/Toolbox/BoxSelect/index.js +0 -20
- package/lib/tools/Toolbox/BoxSelect/index.js.map +0 -1
- package/lib/tools/Toolbox/CircleSelect/index.js +0 -20
- package/lib/tools/Toolbox/CircleSelect/index.js.map +0 -1
- package/lib/tools/Toolbox/EagleEye/index.js +0 -57
- package/lib/tools/Toolbox/EagleEye/index.js.map +0 -1
- package/lib/tools/Toolbox/MapBookmark/Bookmark.js +0 -153
- package/lib/tools/Toolbox/MapBookmark/Bookmark.js.map +0 -1
- package/lib/tools/Toolbox/MapBookmark/index.css +0 -18
- package/lib/tools/Toolbox/MapBookmark/index.js +0 -430
- package/lib/tools/Toolbox/MapBookmark/index.js.map +0 -1
- package/lib/tools/Toolbox/MapBookmark/index.less +0 -20
- package/lib/tools/Toolbox/MapDownload/index.js +0 -16
- package/lib/tools/Toolbox/MapDownload/index.js.map +0 -1
- package/lib/tools/Toolbox/MapPrint/index.css +0 -4
- package/lib/tools/Toolbox/MapPrint/index.js +0 -234
- package/lib/tools/Toolbox/MapPrint/index.js.map +0 -1
- package/lib/tools/Toolbox/MapPrint/index.less +0 -4
- package/lib/tools/Toolbox/Measure/Area/index.js +0 -17
- package/lib/tools/Toolbox/Measure/Area/index.js.map +0 -1
- package/lib/tools/Toolbox/Measure/Distance/index.js +0 -17
- package/lib/tools/Toolbox/Measure/Distance/index.js.map +0 -1
- package/lib/tools/Toolbox/Measure/Measure.js +0 -229
- package/lib/tools/Toolbox/Measure/Measure.js.map +0 -1
- package/lib/tools/Toolbox/Measure/index.js +0 -77
- package/lib/tools/Toolbox/Measure/index.js.map +0 -1
- package/lib/tools/Toolbox/PolygonSelect/index.js +0 -20
- package/lib/tools/Toolbox/PolygonSelect/index.js.map +0 -1
- package/lib/tools/Toolbox/ScaleLine/index.js +0 -59
- package/lib/tools/Toolbox/ScaleLine/index.js.map +0 -1
- package/lib/tools/Toolbox/SelectTools/index.css +0 -103
- package/lib/tools/Toolbox/SelectTools/index.js +0 -779
- package/lib/tools/Toolbox/SelectTools/index.js.map +0 -1
- package/lib/tools/Toolbox/SelectTools/index.less +0 -87
- package/lib/tools/Toolbox/SpaceQuery/index.css +0 -19
- package/lib/tools/Toolbox/SpaceQuery/index.js +0 -593
- package/lib/tools/Toolbox/SpaceQuery/index.js.map +0 -1
- package/lib/tools/Toolbox/SpaceQuery/index.less +0 -16
- package/lib/tools/Toolbox/ZoomInput/index.css +0 -6
- package/lib/tools/Toolbox/ZoomInput/index.js +0 -50
- package/lib/tools/Toolbox/ZoomInput/index.js.map +0 -1
- package/lib/tools/Toolbox/ZoomInput/index.less +0 -6
- package/lib/tools/Toolbox/index.css +0 -0
- package/lib/tools/Toolbox/index.js +0 -172
- package/lib/tools/Toolbox/index.js.map +0 -1
- package/lib/tools/Toolbox/index.less +0 -2
- package/lib/tools/Utils/CreateOverlay.js +0 -47
- package/lib/tools/Utils/CreateOverlay.js.map +0 -1
- package/lib/tools/Utils/Draw.js +0 -130
- package/lib/tools/Utils/Draw.js.map +0 -1
- package/lib/tools/Utils/HighLayer.js +0 -213
- package/lib/tools/Utils/HighLayer.js.map +0 -1
- package/lib/tools/Utils/measure.js +0 -247
- package/lib/tools/Utils/measure.js.map +0 -1
- package/lib/tools/Utils/utils.js +0 -272
- package/lib/tools/Utils/utils.js.map +0 -1
- package/lib/tools/View/index.css +0 -35
- package/lib/tools/View/index.js +0 -166
- package/lib/tools/View/index.js.map +0 -1
- package/lib/tools/View/index.less +0 -28
- package/lib/tools/analysis-tool/index.js +0 -113
- package/lib/tools/analysis-tool/index.js.map +0 -1
- package/lib/tools/base-map-switch/index.js +0 -150
- package/lib/tools/base-map-switch/index.js.map +0 -1
- package/lib/tools/components/Chart/index.js +0 -828
- package/lib/tools/components/Chart/index.js.map +0 -1
- package/lib/tools/components/Icon/index.js +0 -32
- package/lib/tools/components/Icon/index.js.map +0 -1
- package/lib/tools/components/Info/index.css +0 -39
- package/lib/tools/components/Info/index.js +0 -35
- package/lib/tools/components/Info/index.js.map +0 -1
- package/lib/tools/components/Info/index.less +0 -26
- package/lib/tools/components/ItemWrap/index.css +0 -43
- package/lib/tools/components/ItemWrap/index.js +0 -48
- package/lib/tools/components/ItemWrap/index.js.map +0 -1
- package/lib/tools/components/ItemWrap/index.less +0 -41
- package/lib/tools/components/Modal/index.css +0 -42
- package/lib/tools/components/Modal/index.js +0 -46
- package/lib/tools/components/Modal/index.js.map +0 -1
- package/lib/tools/components/Modal/index.less +0 -33
- package/lib/tools/components/MyTabs/index.js +0 -22
- package/lib/tools/components/MyTabs/index.js.map +0 -1
- package/lib/tools/components/RequiredLabel/index.css +0 -5
- package/lib/tools/components/RequiredLabel/index.js +0 -32
- package/lib/tools/components/RequiredLabel/index.js.map +0 -1
- package/lib/tools/components/RequiredLabel/index.less +0 -5
- package/lib/tools/components/Select/index.js +0 -33
- package/lib/tools/components/Select/index.js.map +0 -1
- package/lib/tools/components/Table/assets/tableIcon.png +0 -0
- package/lib/tools/components/Table/index.css +0 -10
- package/lib/tools/components/Table/index.js +0 -91
- package/lib/tools/components/Table/index.js.map +0 -1
- package/lib/tools/components/Table/index.less +0 -13
- package/lib/tools/components/ToolItem/index.css +0 -30
- package/lib/tools/components/ToolItem/index.js +0 -29
- package/lib/tools/components/ToolItem/index.js.map +0 -1
- package/lib/tools/components/ToolItem/index.less +0 -27
- package/lib/tools/components/ToolsSelect/index.css +0 -15
- package/lib/tools/components/ToolsSelect/index.js +0 -45
- package/lib/tools/components/ToolsSelect/index.js.map +0 -1
- package/lib/tools/components/ToolsSelect/index.less +0 -10
- package/lib/tools/full-screen/index.js +0 -47
- package/lib/tools/full-screen/index.js.map +0 -1
- package/lib/tools/index.js +0 -151
- package/lib/tools/index.js.map +0 -1
- package/lib/tools/layer-control/index.js +0 -173
- package/lib/tools/layer-control/index.js.map +0 -1
- package/lib/tools/refresh/index.js +0 -41
- package/lib/tools/refresh/index.js.map +0 -1
- package/lib/tools/style/css.js +0 -22
- package/lib/tools/style/css.js.map +0 -1
- package/lib/tools/style/index.css +0 -136
- package/lib/tools/style/index.js +0 -22
- package/lib/tools/style/index.js.map +0 -1
- package/lib/tools/style/index.less +0 -154
- package/lib/tools-item/index.js +0 -67
- package/lib/tools-item/index.js.map +0 -1
- package/lib/use-props/index.js +0 -15
- package/lib/use-props/index.js.map +0 -1
- package/lib/use-props/style/css.js +0 -2
- package/lib/use-props/style/css.js.map +0 -1
- package/lib/use-props/style/index.js +0 -2
- package/lib/use-props/style/index.js.map +0 -1
- package/lib/wms-layer/WmsLayer.js +0 -315
- package/lib/wms-layer/WmsLayer.js.map +0 -1
- package/lib/wms-layer/index.js +0 -98
- package/lib/wms-layer/index.js.map +0 -1
- package/lib/wms-layer/style/css.js +0 -4
- package/lib/wms-layer/style/css.js.map +0 -1
- package/lib/wms-layer/style/index.css +0 -0
- package/lib/wms-layer/style/index.js +0 -4
- package/lib/wms-layer/style/index.js.map +0 -1
- package/lib/wms-layer/style/index.less +0 -0
package/CHANGELOG.md
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
## [1.0.41](https://git.cloudhw.cn:3443/front-end/maps/ol-map/compare/v1.0.23...v1.0.41) (2024-03-30)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### ✨ Features
|
|
5
|
-
|
|
6
|
-
* group的加颜色配置 ([c46d372](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/c46d372)) by: **xuzhengyun**
|
|
7
|
-
* group的显隐 ([b8b411c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b8b411c)) by: **xuzhengyun**
|
|
8
|
-
* imagelayer加group ([9bfc40b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/9bfc40b)) by: **xuzhengyun**
|
|
9
|
-
* layer 增加图标 ([0851a83](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0851a83)) by: **xuzhengyun**
|
|
10
|
-
* poi搜索样式 ([95181dc](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/95181dc)) by: **边昆**
|
|
11
|
-
* 优化分析分析图层赛数据问题 ([3bbe600](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3bbe600)) by: **xuzhengyun**
|
|
12
|
-
* 修复createFeatureCollection缺失 ([399a211](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/399a211)) by: **xuzhengyun**
|
|
13
|
-
* 修改map.Layers上的方法 ([37e1ebf](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/37e1ebf)) by: **xuzhengyun**
|
|
14
|
-
* 修改分析图层高度 ([59d8b9c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/59d8b9c)) by: **xuzhengyun**
|
|
15
|
-
* 修改图层方法 ([4087b4d](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4087b4d)) by: **xuzhengyun**
|
|
16
|
-
* 修改图层方法 ([55c84a1](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/55c84a1)) by: **xuzhengyun**
|
|
17
|
-
* 修改放大级别为16 ([d37a24c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d37a24c)) by: **gaoyueliu**
|
|
18
|
-
* 修改文档 ([51c4209](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/51c4209)) by: **xuzhengyun**
|
|
19
|
-
* 原水、供水相关图层 ([44fb249](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/44fb249)) by: **wengjiacheng**
|
|
20
|
-
* 去地图组件增加回调方法 ([613c8c3](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/613c8c3)) by: **xuzhengyun**
|
|
21
|
-
* 合并main分支的代码 ([945dc19](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/945dc19)) by: **xuzhengyun**
|
|
22
|
-
* 合并代码 ([725be5e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/725be5e)) by: **xuzhengyun**
|
|
23
|
-
* 图例 ([9bba264](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/9bba264)) by: **边昆**
|
|
24
|
-
* 图例修改 ([d7e11c2](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d7e11c2)) by: **边昆**
|
|
25
|
-
* 增加dom元素点位 ([dcb18ac](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/dcb18ac)) by: **gaoyueliu**
|
|
26
|
-
* 增加dom元素点位 ([6afd50f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/6afd50f)) by: **gaoyueliu**
|
|
27
|
-
* 增加geoq地图底图 ([030fecc](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/030fecc)) by: **gaoyueliu**
|
|
28
|
-
* 增加分析组件 ([3590107](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3590107)) by: **xuzhengyun**
|
|
29
|
-
* 增加分析组件 ([fd528b3](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/fd528b3)) by: **xuzhengyun**
|
|
30
|
-
* 增加分析组件 ([0eb6737](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0eb6737)) by: **xuzhengyun**
|
|
31
|
-
* 增加图例默认展示隐藏属性 ([702c540](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/702c540)) by: **gaoyueliu**
|
|
32
|
-
* 增加图例默认展示隐藏属性 ([53fc3aa](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/53fc3aa)) by: **gaoyueliu**
|
|
33
|
-
* 增加图层移除时触发change监听事件 ([1511d6b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/1511d6b)) by: **gaoyueliu**
|
|
34
|
-
* 增加地图配置 ([4865a74](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4865a74)) by: **gaoyueliu**
|
|
35
|
-
* 增加气泡 ([4c31710](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4c31710)) by: **gaoyueliu**
|
|
36
|
-
* 增加流动图层 ([e0b9112](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/e0b9112)) by: **gaoyueliu**
|
|
37
|
-
* 增加绘制限制 ([79bf6a7](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/79bf6a7)) by: **gaoyueliu**
|
|
38
|
-
* 增加轨迹回放、经纬度绘制组件 ([40040c6](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/40040c6)) by: **gaoyueliu**
|
|
39
|
-
* 增加限制区域范围内绘制 ([8893ded](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/8893ded)) by: **limingxian**
|
|
40
|
-
* 增加限制区域范围内绘制 ([46b0659](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/46b0659)) by: **limingxian**
|
|
41
|
-
* 增加限制区域范围内绘制 ([54aa442](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/54aa442)) by: **limingxian**
|
|
42
|
-
* 增加额外元素 ([68ec235](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/68ec235)) by: **gaoyueliu**
|
|
43
|
-
* 增加额外元素 ([085621a](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/085621a)) by: **gaoyueliu**
|
|
44
|
-
* 增加高亮方法 ([81efd6a](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/81efd6a)) by: **xuzhengyun**
|
|
45
|
-
* 完善绘制功能 ([0faf3d6](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0faf3d6)) by: **xuzhengyun**
|
|
46
|
-
* 打点回显居中展示 ([38eea98](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/38eea98)) by: **limingxian**
|
|
47
|
-
* 新增FeatureDraw ([348496c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/348496c)) by: **xuzhengyun**
|
|
48
|
-
* 新增去地图方法 ([0fac6c0](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0fac6c0)) by: **linjicai**
|
|
49
|
-
* 新增圆 ([35c5f60](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/35c5f60)) by: **xuzhengyun**
|
|
50
|
-
* 新增绘制组件 ([4fb1d61](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4fb1d61)) by: **xuzhengyun**
|
|
51
|
-
* 新增高亮图层 ([9fd7037](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/9fd7037)) by: **xuzhengyun**
|
|
52
|
-
* 添加图例默认展示字段 ([a71bc2b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a71bc2b)) by: **边昆**
|
|
53
|
-
* 热力图图层 ([32918ef](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/32918ef)) by: **边昆**
|
|
54
|
-
* 热力图组件 ([bf5f637](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/bf5f637)) by: **边昆**
|
|
55
|
-
* 编辑圆 ([a3bf8bd](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a3bf8bd)) by: **xuzhengyun**
|
|
56
|
-
* 聚合问题修改 ([5c49c47](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5c49c47)) by: **边昆**
|
|
57
|
-
* 行政区划图层 ([a653a41](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a653a41)) by: **wengjiacheng**
|
|
58
|
-
* 规范播放组件增加显示隐藏 ([752ea80](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/752ea80)) by: **gaoyueliu**
|
|
59
|
-
* 集成分析功能 ([938ce72](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/938ce72)) by: **gaoyueliu**
|
|
60
|
-
* 集成分析功能 ([60ce9b3](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/60ce9b3)) by: **gaoyueliu**
|
|
61
|
-
* 飞线图层 ([3a6d461](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3a6d461)) by: **limingxian**
|
|
62
|
-
* 飞线样式调整 ([336fd2c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/336fd2c)) by: **limingxian**
|
|
63
|
-
* 高亮增加parmas 参数 ([22b1100](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/22b1100)) by: **xuzhengyun**
|
|
64
|
-
* 高亮支持自定义样式 ([4c2e808](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4c2e808)) by: **xuzhengyun**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### 🎫 Chores
|
|
68
|
-
|
|
69
|
-
* v1.0.39 ([dd6c37f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/dd6c37f)) by: **xuzhengyun**
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### 🐛 Bug Fixes
|
|
73
|
-
|
|
74
|
-
* group过滤条件异常 ([e9990a8](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/e9990a8)) by: **wengjiacheng**
|
|
75
|
-
* ImageLayer查询 ([6bf9e38](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/6bf9e38)) by: **wengjiacheng**
|
|
76
|
-
* use-props ([c3f4f4e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/c3f4f4e)) by: **xuzhengyun**
|
|
77
|
-
* 修复 Polygon demo ([326671d](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/326671d)) by: **gaoyueliu**
|
|
78
|
-
* 修复BufferDraw ([ffad660](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ffad660)) by: **xuzhengyun**
|
|
79
|
-
* 修复FeatureDraw功能 ([6ed3320](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/6ed3320)) by: **xuzhengyun**
|
|
80
|
-
* 修复FeatureDraw功能 ([b4b5bb4](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b4b5bb4)) by: **xuzhengyun**
|
|
81
|
-
* 修复showTip靠近右侧或底部会闪屏问题 ([78dc8a1](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/78dc8a1)) by: **xuzhengyun**
|
|
82
|
-
* 修复图层报错 ([24fcb58](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/24fcb58)) by: **gaoyueliu**
|
|
83
|
-
* 修复图层树展示异常问题 ([fb262fd](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/fb262fd)) by: **gaoyueliu**
|
|
84
|
-
* 修复气泡展示时鼠标移入名称偏移问题 ([c3ec37e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/c3ec37e)) by: **gaoyueliu**
|
|
85
|
-
* 修复海量点聚合问题 ([dd4c489](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/dd4c489)) by: **songwenlin**
|
|
86
|
-
* 修复聚合时无法搜索到问题 ([d302c47](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d302c47)) by: **gaoyueliu**
|
|
87
|
-
* 修复选择工具 ([febd1a6](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/febd1a6)) by: **gaoyueliu**
|
|
88
|
-
* 修改getWFSFeatureInfoByLayer方法 ([fc44ce8](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/fc44ce8)) by: **linjicai**
|
|
89
|
-
* 修改ImageLayer展示问题 ([7bb1e88](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/7bb1e88)) by: **gaoyueliu**
|
|
90
|
-
* 修改ImageLayer展示问题 ([f9c297e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/f9c297e)) by: **gaoyueliu**
|
|
91
|
-
* 修改showtip ([63b1bb0](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/63b1bb0)) by: **linjicai**
|
|
92
|
-
* 修改图层限制隐藏 ([557ae1c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/557ae1c)) by: **linjicai**
|
|
93
|
-
* 修改底图层级 ([283e5b6](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/283e5b6)) by: **gaoyueliu**
|
|
94
|
-
* 修改底图层级问题 ([61eaee4](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/61eaee4)) by: **gaoyueliu**
|
|
95
|
-
* 修改样式引入 ([99669f8](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/99669f8)) by: **linjicai**
|
|
96
|
-
* 修改根据key获取图层的方法 ([523a568](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/523a568)) by: **xuzhengyun**
|
|
97
|
-
* 修改气泡展示问题 ([8ebe656](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/8ebe656)) by: **gaoyueliu**
|
|
98
|
-
* 加编辑点 ([8359a36](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/8359a36)) by: **hanxiao**
|
|
99
|
-
* 图例展示优化 ([a0e0ae3](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a0e0ae3)) by: **limingxian**
|
|
100
|
-
* 增加流动图层 ([2d4599c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/2d4599c)) by: **gaoyueliu**
|
|
101
|
-
* 增加流动图层 ([42dab5c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/42dab5c)) by: **gaoyueliu**
|
|
102
|
-
* 引入样式 ([a38c5c1](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a38c5c1)) by: **linjicai**
|
|
103
|
-
* 文档更新 ([d85874b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d85874b)) by: **limingxian**
|
|
104
|
-
* 文档更新 ([5c868a9](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5c868a9)) by: **limingxian**
|
|
105
|
-
* 智能分析气泡无法打开 ([48006e0](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/48006e0)) by: **xuzhengyun**
|
|
106
|
-
* 清空绘制未响应 ([8568248](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/8568248)) by: **limingxian**
|
|
107
|
-
* 绘制marker ([8f8ad7f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/8f8ad7f)) by: **hanxiao**
|
|
108
|
-
* 绘制线 ([0a14e2d](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0a14e2d)) by: **hanxiao**
|
|
109
|
-
* 高亮的层级在最前面 ([10b8583](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/10b8583)) by: **xuzhengyun**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### 💄 Styles
|
|
113
|
-
|
|
114
|
-
* 图层控制组件样式优化 ([23cf492](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/23cf492)) by: **wengjiacheng**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
## [1.0.23](https://git.cloudhw.cn:3443/front-end/maps/ol-map/compare/e2f70fd...v1.0.23) (2023-12-22)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### ✨ Features
|
|
122
|
-
|
|
123
|
-
* ImageLayer 增加 onClick 事件 ([a004115](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a004115)) by: **gaoyueliu**
|
|
124
|
-
* ImageLayer 增加 params 监听 ([64e176f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/64e176f)) by: **gaoyueliu**
|
|
125
|
-
* map 增加 getMapFeatureInfoByText 方法 ([e6140b4](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/e6140b4)) by: **gaoyueliu**
|
|
126
|
-
* Map 增加高亮效果 ([ab8231e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ab8231e)) by: **gaoyueliu**
|
|
127
|
-
* map.fitView(e)增加兼容数据方式 ([ffed4b1](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ffed4b1)) by: **gaoyueliu**
|
|
128
|
-
* Map组件增加onZoom(zoom)事件 ([42c4dbb](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/42c4dbb)) by: **gaoyueliu**
|
|
129
|
-
* Map组件增加onZoom(zoom)事件 ([b3f8aef](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b3f8aef)) by: **gaoyueliu**
|
|
130
|
-
* Tools View 增加下标、聚合、海量点展示 ([d1d7c22](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d1d7c22)) by: **gaoyueliu**
|
|
131
|
-
* Tools View 增加下标、聚合、海量点展示 ([c92cccb](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/c92cccb)) by: **gaoyueliu**
|
|
132
|
-
* 初始化添加 ([928213a](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/928213a)) by: **gaoyueliu**
|
|
133
|
-
* 初始化添加 ([d5bfac9](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d5bfac9)) by: **gaoyueliu**
|
|
134
|
-
* 初始化添加 ([5b4502c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5b4502c)) by: **gaoyueliu**
|
|
135
|
-
* 初始化添加 ([4455e2f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4455e2f)) by: **gaoyueliu**
|
|
136
|
-
* 初始化添加 ([00303e2](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/00303e2)) by: **gaoyueliu**
|
|
137
|
-
* 初始化添加 ([b176e44](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b176e44)) by: **gaoyueliu**
|
|
138
|
-
* 初始化添加 ([4e0314e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4e0314e)) by: **gaoyueliu**
|
|
139
|
-
* 初始化添加 ([29982b7](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/29982b7)) by: **gaoyueliu**
|
|
140
|
-
* 初始化添加 ([3d1bd6a](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3d1bd6a)) by: **gaoyueliu**
|
|
141
|
-
* 初始化添加 ([18fcf7e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/18fcf7e)) by: **gaoyueliu**
|
|
142
|
-
* 初始化添加 ([865d2f0](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/865d2f0)) by: **gaoyueliu**
|
|
143
|
-
* 初始化添加 ([e2f70fd](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/e2f70fd)) by: **gaoyueliu**
|
|
144
|
-
* 升级map-icon依赖 ([57e475b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/57e475b)) by: **gaoyueliu**
|
|
145
|
-
* 增加 Marker ([cbe9f00](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/cbe9f00)) by: **gaoyueliu**
|
|
146
|
-
* 增加 Marker ([3b51837](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3b51837)) by: **gaoyueliu**
|
|
147
|
-
* 增加 Marker ([98ad518](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/98ad518)) by: **gaoyueliu**
|
|
148
|
-
* 增加 Marker ([fe81b13](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/fe81b13)) by: **gaoyueliu**
|
|
149
|
-
* 增加 Point 组件 ([b06cf19](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b06cf19)) by: **gaoyueliu**
|
|
150
|
-
* 增加 Polygon 组件 ([5523493](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5523493)) by: **gaoyueliu**
|
|
151
|
-
* 增加 Polyline 组件 ([a509512](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a509512)) by: **gaoyueliu**
|
|
152
|
-
* 增加 TileLayer 图层 ([860271e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/860271e)) by: **gaoyueliu**
|
|
153
|
-
* 增加 TileLayer 图层 ([a939043](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a939043)) by: **gaoyueliu**
|
|
154
|
-
* 增加createGeoJson方法 ([580a255](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/580a255)) by: **gaoyueliu**
|
|
155
|
-
* 增加POI搜索组件 ([202bba4](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/202bba4)) by: **gaoyueliu**
|
|
156
|
-
* 增加POI搜索组件 ([ad22ddf](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ad22ddf)) by: **gaoyueliu**
|
|
157
|
-
* 增加POI搜索组件 ([73e22a1](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/73e22a1)) by: **gaoyueliu**
|
|
158
|
-
* 增加POI搜索组件 ([3ce3a1c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3ce3a1c)) by: **gaoyueliu**
|
|
159
|
-
* 增加事件处理 ([b8d8b95](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b8d8b95)) by: **gaoyueliu**
|
|
160
|
-
* 增加事件处理 ([f9d6746](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/f9d6746)) by: **gaoyueliu**
|
|
161
|
-
* 增加事件处理 ([aaaa46e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/aaaa46e)) by: **gaoyueliu**
|
|
162
|
-
* 增加关闭气泡前的回调方法 onCloseTemplateBefore ([b87d42b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b87d42b)) by: **gaoyueliu**
|
|
163
|
-
* 增加关闭气泡前的回调方法 onCloseTemplateBefore ([526442b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/526442b)) by: **gaoyueliu**
|
|
164
|
-
* 增加图标 ([42cc11c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/42cc11c)) by: **gaoyueliu**
|
|
165
|
-
* 增加地图图标 ([e5da62c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/e5da62c)) by: **gaoyueliu**
|
|
166
|
-
* 增加底图切换功能 ([5f71802](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5f71802)) by: **gaoyueliu**
|
|
167
|
-
* 增加底图切换功能 ([1034f17](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/1034f17)) by: **gaoyueliu**
|
|
168
|
-
* 增加显示下标和聚合展示 ([0454ff8](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0454ff8)) by: **gaoyueliu**
|
|
169
|
-
* 增加渲染器 ([127d0c2](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/127d0c2)) by: **gaoyueliu**
|
|
170
|
-
* 增加渲染器 ([ff32306](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ff32306)) by: **gaoyueliu**
|
|
171
|
-
* 增加泵房图标 ([b4d8636](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/b4d8636)) by: **gaoyueliu**
|
|
172
|
-
* 增加视野控制显示隐藏 ([f7dc6c5](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/f7dc6c5)) by: **gaoyueliu**
|
|
173
|
-
* 增加聚合、下标展示、海量点 ([6894654](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/6894654)) by: **gaoyueliu**
|
|
174
|
-
* 增加聚合点击展示列表 ([a3dac2d](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/a3dac2d)) by: **gaoyueliu**
|
|
175
|
-
* 工具增加自定义 ([acf09e2](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/acf09e2)) by: **gaoyueliu**
|
|
176
|
-
* 工具增加自定义 ([48db242](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/48db242)) by: **gaoyueliu**
|
|
177
|
-
* 工具增加自定义 ([0d4e5d3](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0d4e5d3)) by: **gaoyueliu**
|
|
178
|
-
* 工具增加自定义 ([7c5d63c](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/7c5d63c)) by: **gaoyueliu**
|
|
179
|
-
* 工具增加自定义 ([daf28e8](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/daf28e8)) by: **gaoyueliu**
|
|
180
|
-
* 工具栏增加 toolbox的测距,测面 弹窗位置 ([8c27908](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/8c27908)) by: **xuzhengyun**
|
|
181
|
-
* 支持百度高德等图层切换 ([c99cf00](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/c99cf00)) by: **xuzhengyun**
|
|
182
|
-
* 格式化 ([fc5e9ae](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/fc5e9ae)) by: **xuzhengyun**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
### 🎫 Chores
|
|
186
|
-
|
|
187
|
-
* v1.0.23版本发布 ([7e5de65](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/7e5de65)) by: **YZQDI**
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
### 🐛 Bug Fixes
|
|
191
|
-
|
|
192
|
-
* 修复 Polygon 渲染黑块问题 ([6bc488b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/6bc488b)) by: **gaoyueliu**
|
|
193
|
-
* 修复 Polygon 渲染黑块问题 ([e0eba9e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/e0eba9e)) by: **gaoyueliu**
|
|
194
|
-
* 修复FeatureLayer仅初始化加载的问题 ([5eb487b](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5eb487b)) by: **gaoyueliu**
|
|
195
|
-
* 修复FeatureLayer加载Polyline加载错误的问题 ([6c76d14](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/6c76d14)) by: **gaoyueliu**
|
|
196
|
-
* 修复getWFSFeatureInfoByLayer()未执行的问题 ([ce585cb](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ce585cb)) by: **gaoyueliu**
|
|
197
|
-
* 修复图片点击时无法展示template问题 ([ac7962f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/ac7962f)) by: **gaoyueliu**
|
|
198
|
-
* 修复地图搜索组件错误 ([3f66627](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/3f66627)) by: **gaoyueliu**
|
|
199
|
-
* 修复地图高度问题 ([16e4b80](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/16e4b80)) by: **gaoyueliu**
|
|
200
|
-
* 修复多面点击问题 ([5d9aada](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/5d9aada)) by: **gaoyueliu**
|
|
201
|
-
* 修复搜索失效问题 ([d4cb900](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/d4cb900)) by: **gaoyueliu**
|
|
202
|
-
* 修复搜索失效问题 ([61c61ff](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/61c61ff)) by: **gaoyueliu**
|
|
203
|
-
* 修复无法弹出小看板的问题 ([151c0af](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/151c0af)) by: **gaoyueliu**
|
|
204
|
-
* 修复无法弹出小看板的问题 ([4d7913e](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/4d7913e)) by: **gaoyueliu**
|
|
205
|
-
* 修复样式不正常问题 ([2b9dde5](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/2b9dde5)) by: **gaoyueliu**
|
|
206
|
-
* 修复样式不正常问题 ([0cc54ec](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0cc54ec)) by: **gaoyueliu**
|
|
207
|
-
* 修复样式不正常问题 ([84b185f](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/84b185f)) by: **gaoyueliu**
|
|
208
|
-
* 修改key属性为_key ([77ff054](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/77ff054)) by: **gaoyueliu**
|
|
209
|
-
* 修改图层展示 ([2c395c8](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/2c395c8)) by: **gaoyueliu**
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
### 👷 Build System
|
|
213
|
-
|
|
214
|
-
* 增加image资源打包 ([0cd5be1](https://git.cloudhw.cn:3443/front-end/maps/ol-map/commit/0cd5be1)) by: **gaoyueliu**
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
8
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
9
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
12
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
13
|
-
// 发布订阅模式
|
|
14
|
-
var EventEmitter = /*#__PURE__*/function () {
|
|
15
|
-
function EventEmitter() {
|
|
16
|
-
_classCallCheck(this, EventEmitter);
|
|
17
|
-
// 事件对象,存放订阅的名字和事件 如:{'click': [handle, handle2]}
|
|
18
|
-
this.events = {};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// 订阅事件方法
|
|
22
|
-
_createClass(EventEmitter, [{
|
|
23
|
-
key: "on",
|
|
24
|
-
value: function on(eventName, callback) {
|
|
25
|
-
this.events[eventName] = this.events[eventName] || [];
|
|
26
|
-
this.events[eventName].push(callback);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// 触发事件方法
|
|
30
|
-
}, {
|
|
31
|
-
key: "emit",
|
|
32
|
-
value: function emit(eventName) {
|
|
33
|
-
var _this = this;
|
|
34
|
-
for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
35
|
-
rest[_key - 1] = arguments[_key];
|
|
36
|
-
}
|
|
37
|
-
if (this.events[eventName]) {
|
|
38
|
-
this.events[eventName].forEach(function (f) {
|
|
39
|
-
return f.apply(_this, rest);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// 移除订阅事件
|
|
45
|
-
}, {
|
|
46
|
-
key: "un",
|
|
47
|
-
value: function un(eventName, callback) {
|
|
48
|
-
if (this.events[eventName]) {
|
|
49
|
-
this.events[eventName] = this.events[eventName].filter(function (f) {
|
|
50
|
-
return f !== callback;
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// 只执行一次订阅的事件
|
|
56
|
-
}, {
|
|
57
|
-
key: "once",
|
|
58
|
-
value: function once(eventName, callback) {
|
|
59
|
-
var _this2 = this;
|
|
60
|
-
//创建临时方法
|
|
61
|
-
var fn = function fn() {
|
|
62
|
-
for (var _len2 = arguments.length, rest = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
63
|
-
rest[_key2] = arguments[_key2];
|
|
64
|
-
}
|
|
65
|
-
// 执行原有的callback
|
|
66
|
-
callback.apply(_this2, rest);
|
|
67
|
-
|
|
68
|
-
// 执行移除事件,删除临时方法
|
|
69
|
-
_this2.un(eventName, fn);
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
// 执行订阅事件,绑定临时方法
|
|
73
|
-
this.on(eventName, fn);
|
|
74
|
-
}
|
|
75
|
-
}]);
|
|
76
|
-
return EventEmitter;
|
|
77
|
-
}();
|
|
78
|
-
var _default = EventEmitter;
|
|
79
|
-
exports["default"] = _default;
|
|
80
|
-
//# sourceMappingURL=EventEmitter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventEmitter.js","names":["EventEmitter","_classCallCheck","events","_createClass","key","value","on","eventName","callback","push","emit","_this","_len","arguments","length","rest","Array","_key","forEach","f","apply","un","filter","once","_this2","fn","_len2","_key2","_default","exports"],"sources":["_util/EventEmitter.js"],"sourcesContent":["// 发布订阅模式\nclass EventEmitter {\n constructor() {\n // 事件对象,存放订阅的名字和事件 如:{'click': [handle, handle2]}\n this.events = {};\n }\n\n // 订阅事件方法\n on(eventName, callback) {\n this.events[eventName] = this.events[eventName] || [];\n this.events[eventName].push(callback);\n }\n\n // 触发事件方法\n emit(eventName, ...rest) {\n if (this.events[eventName]) {\n this.events[eventName].forEach(f => f.apply(this, rest));\n }\n }\n\n // 移除订阅事件\n un(eventName, callback) {\n if (this.events[eventName]) {\n this.events[eventName] = this.events[eventName].filter(f => f !== callback);\n }\n }\n\n // 只执行一次订阅的事件\n once(eventName, callback) {\n //创建临时方法\n const fn = (...rest) => {\n // 执行原有的callback\n callback.apply(this, rest);\n\n // 执行移除事件,删除临时方法\n this.un(eventName, fn);\n };\n\n // 执行订阅事件,绑定临时方法\n this.on(eventName, fn);\n }\n}\n\nexport default EventEmitter;\n"],"mappings":";;;;;;;;;;;;AAAA;AAAA,IACMA,YAAY;EACd,SAAAA,aAAA,EAAc;IAAAC,eAAA,OAAAD,YAAA;IACV;IACA,IAAI,CAACE,MAAM,GAAG,CAAC,CAAC;EACpB;;EAEA;EAAAC,YAAA,CAAAH,YAAA;IAAAI,GAAA;IAAAC,KAAA,EACA,SAAAC,GAAGC,SAAS,EAAEC,QAAQ,EAAE;MACpB,IAAI,CAACN,MAAM,CAACK,SAAS,CAAC,GAAG,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,IAAI,EAAE;MACrD,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,CAACE,IAAI,CAACD,QAAQ,CAAC;IACzC;;IAEA;EAAA;IAAAJ,GAAA;IAAAC,KAAA,EACA,SAAAK,KAAKH,SAAS,EAAW;MAAA,IAAAI,KAAA;MAAA,SAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAANC,IAAI,OAAAC,KAAA,CAAAJ,IAAA,OAAAA,IAAA,WAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA;QAAJF,IAAI,CAAAE,IAAA,QAAAJ,SAAA,CAAAI,IAAA;MAAA;MACnB,IAAI,IAAI,CAACf,MAAM,CAACK,SAAS,CAAC,EAAE;QACxB,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,CAACW,OAAO,CAAC,UAAAC,CAAC;UAAA,OAAIA,CAAC,CAACC,KAAK,CAACT,KAAI,EAAEI,IAAI,CAAC;QAAA,EAAC;MAC5D;IACJ;;IAEA;EAAA;IAAAX,GAAA;IAAAC,KAAA,EACA,SAAAgB,GAAGd,SAAS,EAAEC,QAAQ,EAAE;MACpB,IAAI,IAAI,CAACN,MAAM,CAACK,SAAS,CAAC,EAAE;QACxB,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,GAAG,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,CAACe,MAAM,CAAC,UAAAH,CAAC;UAAA,OAAIA,CAAC,KAAKX,QAAQ;QAAA,EAAC;MAC/E;IACJ;;IAEA;EAAA;IAAAJ,GAAA;IAAAC,KAAA,EACA,SAAAkB,KAAKhB,SAAS,EAAEC,QAAQ,EAAE;MAAA,IAAAgB,MAAA;MACtB;MACA,IAAMC,EAAE,GAAG,SAALA,EAAEA,CAAA,EAAgB;QAAA,SAAAC,KAAA,GAAAb,SAAA,CAAAC,MAAA,EAATC,IAAI,OAAAC,KAAA,CAAAU,KAAA,GAAAC,KAAA,MAAAA,KAAA,GAAAD,KAAA,EAAAC,KAAA;UAAJZ,IAAI,CAAAY,KAAA,IAAAd,SAAA,CAAAc,KAAA;QAAA;QACf;QACAnB,QAAQ,CAACY,KAAK,CAACI,MAAI,EAAET,IAAI,CAAC;;QAE1B;QACAS,MAAI,CAACH,EAAE,CAACd,SAAS,EAAEkB,EAAE,CAAC;MAC1B,CAAC;;MAED;MACA,IAAI,CAACnB,EAAE,CAACC,SAAS,EAAEkB,EAAE,CAAC;IAC1B;EAAC;EAAA,OAAAzB,YAAA;AAAA;AAAA,IAAA4B,QAAA,GAGU5B,YAAY;AAAA6B,OAAA,cAAAD,QAAA"}
|
package/lib/_util/StyleCache.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
8
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
9
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
12
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
13
|
-
var StyleCache = /*#__PURE__*/function () {
|
|
14
|
-
function StyleCache() {
|
|
15
|
-
_classCallCheck(this, StyleCache);
|
|
16
|
-
this.cache = new Map();
|
|
17
|
-
}
|
|
18
|
-
_createClass(StyleCache, [{
|
|
19
|
-
key: "get",
|
|
20
|
-
value: function get(key) {
|
|
21
|
-
return this.cache.get(key);
|
|
22
|
-
}
|
|
23
|
-
}, {
|
|
24
|
-
key: "set",
|
|
25
|
-
value: function set(key, value) {
|
|
26
|
-
this.cache.set(key, value);
|
|
27
|
-
}
|
|
28
|
-
}, {
|
|
29
|
-
key: "has",
|
|
30
|
-
value: function has(key) {
|
|
31
|
-
return this.cache.has(key);
|
|
32
|
-
}
|
|
33
|
-
}, {
|
|
34
|
-
key: "delete",
|
|
35
|
-
value: function _delete(key) {
|
|
36
|
-
this.cache["delete"](key);
|
|
37
|
-
}
|
|
38
|
-
}, {
|
|
39
|
-
key: "clear",
|
|
40
|
-
value: function clear() {
|
|
41
|
-
this.cache.clear();
|
|
42
|
-
}
|
|
43
|
-
}]);
|
|
44
|
-
return StyleCache;
|
|
45
|
-
}();
|
|
46
|
-
var _default = StyleCache;
|
|
47
|
-
exports["default"] = _default;
|
|
48
|
-
//# sourceMappingURL=StyleCache.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StyleCache.js","names":["StyleCache","_classCallCheck","cache","Map","_createClass","key","value","get","set","has","_delete","clear","_default","exports"],"sources":["_util/StyleCache.js"],"sourcesContent":["\nclass StyleCache {\n constructor() {\n this.cache = new Map();\n }\n\n get(key) {\n return this.cache.get(key);\n }\n\n set(key, value) {\n this.cache.set(key, value)\n }\n\n has(key) {\n return this.cache.has(key)\n }\n\n delete(key) {\n this.cache.delete(key)\n }\n\n clear() {\n this.cache.clear()\n }\n}\n\nexport default StyleCache;\n"],"mappings":";;;;;;;;;;;;IACMA,UAAU;EACZ,SAAAA,WAAA,EAAc;IAAAC,eAAA,OAAAD,UAAA;IACV,IAAI,CAACE,KAAK,GAAG,IAAIC,GAAG,CAAC,CAAC;EAC1B;EAACC,YAAA,CAAAJ,UAAA;IAAAK,GAAA;IAAAC,KAAA,EAED,SAAAC,IAAIF,GAAG,EAAE;MACL,OAAO,IAAI,CAACH,KAAK,CAACK,GAAG,CAACF,GAAG,CAAC;IAC9B;EAAC;IAAAA,GAAA;IAAAC,KAAA,EAED,SAAAE,IAAIH,GAAG,EAAEC,KAAK,EAAE;MACZ,IAAI,CAACJ,KAAK,CAACM,GAAG,CAACH,GAAG,EAAEC,KAAK,CAAC;IAC9B;EAAC;IAAAD,GAAA;IAAAC,KAAA,EAED,SAAAG,IAAIJ,GAAG,EAAE;MACL,OAAO,IAAI,CAACH,KAAK,CAACO,GAAG,CAACJ,GAAG,CAAC;IAC9B;EAAC;IAAAA,GAAA;IAAAC,KAAA,EAED,SAAAI,QAAOL,GAAG,EAAE;MACR,IAAI,CAACH,KAAK,UAAO,CAACG,GAAG,CAAC;IAC1B;EAAC;IAAAA,GAAA;IAAAC,KAAA,EAED,SAAAK,MAAA,EAAQ;MACJ,IAAI,CAACT,KAAK,CAACS,KAAK,CAAC,CAAC;IACtB;EAAC;EAAA,OAAAX,UAAA;AAAA;AAAA,IAAAY,QAAA,GAGUZ,UAAU;AAAAa,OAAA,cAAAD,QAAA"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.keyHex = exports.ivHex = exports.encryptParamsByUrl = exports.encrypt = exports["default"] = void 0;
|
|
7
|
-
var _cryptoJs = _interopRequireDefault(require("crypto-js"));
|
|
8
|
-
var _getUrlParam = _interopRequireDefault(require("./getUrlParam"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
11
|
-
// 这里是密钥
|
|
12
|
-
var keyHex = 'NT9FWl3ze1GJNqpo';
|
|
13
|
-
exports.keyHex = keyHex;
|
|
14
|
-
var ivHex = 'vL7iWTTV7RngvKkn';
|
|
15
|
-
|
|
16
|
-
// 解密 data:要加密解密的数据,AES_KEY:密钥,IV:偏移量
|
|
17
|
-
exports.ivHex = ivHex;
|
|
18
|
-
var encrypt = function encrypt(data, options) {
|
|
19
|
-
var _ref = options && _typeof(options) === 'object' ? options : {},
|
|
20
|
-
AES_KEY = _ref.key,
|
|
21
|
-
IV = _ref.iv,
|
|
22
|
-
mode = _ref.mode;
|
|
23
|
-
var key = _cryptoJs["default"].enc.Utf8.parse(AES_KEY || keyHex);
|
|
24
|
-
var iv = _cryptoJs["default"].enc.Utf8.parse(IV || ivHex);
|
|
25
|
-
return _cryptoJs["default"].AES.encrypt(data, key, {
|
|
26
|
-
iv: iv,
|
|
27
|
-
mode: _cryptoJs["default"].mode[mode || 'CBC'],
|
|
28
|
-
padding: _cryptoJs["default"].pad.Pkcs7
|
|
29
|
-
}).toString();
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* 加密参数
|
|
34
|
-
* @param params
|
|
35
|
-
* @param options
|
|
36
|
-
* @returns {*}
|
|
37
|
-
*/
|
|
38
|
-
exports.encrypt = encrypt;
|
|
39
|
-
var encryptParams = function encryptParams(params, options) {
|
|
40
|
-
var _params;
|
|
41
|
-
if ((_params = params) !== null && _params !== void 0 && _params.cql_filter) {
|
|
42
|
-
params = JSON.parse(JSON.stringify(params));
|
|
43
|
-
params.CQL_FILTER_ENCRYPT = encrypt(encodeURIComponent(params.cql_filter), options);
|
|
44
|
-
delete params.cql_filter;
|
|
45
|
-
}
|
|
46
|
-
return params;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* 根据url判断是否加密
|
|
51
|
-
* @param params
|
|
52
|
-
* @param options
|
|
53
|
-
* @returns {*}
|
|
54
|
-
*/
|
|
55
|
-
var encryptParamsByUrl = function encryptParamsByUrl(params, options) {
|
|
56
|
-
var encryptParam = (0, _getUrlParam["default"])('encrypt');
|
|
57
|
-
if (encryptParam === 'true') {
|
|
58
|
-
return encryptParams(params, options);
|
|
59
|
-
}
|
|
60
|
-
return params;
|
|
61
|
-
};
|
|
62
|
-
exports.encryptParamsByUrl = encryptParamsByUrl;
|
|
63
|
-
var _default = encryptParams;
|
|
64
|
-
exports["default"] = _default;
|
|
65
|
-
//# sourceMappingURL=encryptParams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encryptParams.js","names":["_cryptoJs","_interopRequireDefault","require","_getUrlParam","obj","__esModule","_typeof","Symbol","iterator","constructor","prototype","keyHex","exports","ivHex","encrypt","data","options","_ref","AES_KEY","key","IV","iv","mode","CryptoJS","enc","Utf8","parse","AES","padding","pad","Pkcs7","toString","encryptParams","params","_params","cql_filter","JSON","stringify","CQL_FILTER_ENCRYPT","encodeURIComponent","encryptParamsByUrl","encryptParam","getUrlParam","_default"],"sources":["_util/encryptParams.js"],"sourcesContent":["import CryptoJS from 'crypto-js';\nimport getUrlParam from './getUrlParam';\n\n// 这里是密钥\nexport const keyHex = 'NT9FWl3ze1GJNqpo';\nexport const ivHex = 'vL7iWTTV7RngvKkn';\n\n// 解密 data:要加密解密的数据,AES_KEY:密钥,IV:偏移量\nexport const encrypt = (data, options) => {\n let {key: AES_KEY, iv: IV, mode} = (options && typeof options === 'object') ? options : {};\n const key = CryptoJS.enc.Utf8.parse(AES_KEY || keyHex);\n const iv = CryptoJS.enc.Utf8.parse(IV || ivHex);\n\n return CryptoJS.AES.encrypt(data, key, {\n iv,\n mode: CryptoJS.mode[mode ||'CBC'],\n padding: CryptoJS.pad.Pkcs7\n }).toString()\n}\n\n/**\n * 加密参数\n * @param params\n * @param options\n * @returns {*}\n */\nconst encryptParams = (params, options) => {\n if (params?.cql_filter) {\n params = JSON.parse(JSON.stringify(params));\n params.CQL_FILTER_ENCRYPT = encrypt(encodeURIComponent(params.cql_filter), options);\n\n delete params.cql_filter\n }\n\n return params\n}\n\n/**\n * 根据url判断是否加密\n * @param params\n * @param options\n * @returns {*}\n */\nexport const encryptParamsByUrl = (params, options) => {\n const encryptParam = getUrlParam('encrypt');\n\n if (encryptParam === 'true') {\n return encryptParams(params, options);\n }\n\n return params\n}\n\nexport default encryptParams;\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAwC,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,QAAAF,GAAA,sCAAAE,OAAA,wBAAAC,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAJ,GAAA,kBAAAA,GAAA,gBAAAA,GAAA,WAAAA,GAAA,yBAAAG,MAAA,IAAAH,GAAA,CAAAK,WAAA,KAAAF,MAAA,IAAAH,GAAA,KAAAG,MAAA,CAAAG,SAAA,qBAAAN,GAAA,KAAAE,OAAA,CAAAF,GAAA;AAExC;AACO,IAAMO,MAAM,GAAG,kBAAkB;AAACC,OAAA,CAAAD,MAAA,GAAAA,MAAA;AAClC,IAAME,KAAK,GAAG,kBAAkB;;AAEvC;AAAAD,OAAA,CAAAC,KAAA,GAAAA,KAAA;AACO,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAAIC,IAAI,EAAEC,OAAO,EAAK;EACtC,IAAAC,IAAA,GAAoCD,OAAO,IAAIV,OAAA,CAAOU,OAAO,MAAK,QAAQ,GAAIA,OAAO,GAAG,CAAC,CAAC;IAAhFE,OAAO,GAAAD,IAAA,CAAZE,GAAG;IAAeC,EAAE,GAAAH,IAAA,CAANI,EAAE;IAAMC,IAAI,GAAAL,IAAA,CAAJK,IAAI;EAC/B,IAAMH,GAAG,GAAGI,oBAAQ,CAACC,GAAG,CAACC,IAAI,CAACC,KAAK,CAACR,OAAO,IAAIP,MAAM,CAAC;EACtD,IAAMU,EAAE,GAAGE,oBAAQ,CAACC,GAAG,CAACC,IAAI,CAACC,KAAK,CAACN,EAAE,IAAIP,KAAK,CAAC;EAE/C,OAAOU,oBAAQ,CAACI,GAAG,CAACb,OAAO,CAACC,IAAI,EAAEI,GAAG,EAAE;IACnCE,EAAE,EAAFA,EAAE;IACFC,IAAI,EAAEC,oBAAQ,CAACD,IAAI,CAACA,IAAI,IAAG,KAAK,CAAC;IACjCM,OAAO,EAAEL,oBAAQ,CAACM,GAAG,CAACC;EAC1B,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;AACjB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AALAnB,OAAA,CAAAE,OAAA,GAAAA,OAAA;AAMA,IAAMkB,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,MAAM,EAAEjB,OAAO,EAAK;EAAA,IAAAkB,OAAA;EACvC,KAAAA,OAAA,GAAID,MAAM,cAAAC,OAAA,eAANA,OAAA,CAAQC,UAAU,EAAE;IACpBF,MAAM,GAAGG,IAAI,CAACV,KAAK,CAACU,IAAI,CAACC,SAAS,CAACJ,MAAM,CAAC,CAAC;IAC3CA,MAAM,CAACK,kBAAkB,GAAGxB,OAAO,CAACyB,kBAAkB,CAACN,MAAM,CAACE,UAAU,CAAC,EAAEnB,OAAO,CAAC;IAEnF,OAAOiB,MAAM,CAACE,UAAU;EAC5B;EAEA,OAAOF,MAAM;AACjB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACO,IAAMO,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIP,MAAM,EAAEjB,OAAO,EAAK;EACnD,IAAMyB,YAAY,GAAG,IAAAC,uBAAW,EAAC,SAAS,CAAC;EAE3C,IAAID,YAAY,KAAK,MAAM,EAAE;IACzB,OAAOT,aAAa,CAACC,MAAM,EAAEjB,OAAO,CAAC;EACzC;EAEA,OAAOiB,MAAM;AACjB,CAAC;AAAArB,OAAA,CAAA4B,kBAAA,GAAAA,kBAAA;AAAA,IAAAG,QAAA,GAEcX,aAAa;AAAApB,OAAA,cAAA+B,QAAA"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = filterSpecialCharacters;
|
|
7
|
-
var _lodash = _interopRequireDefault(require("lodash.difference"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
10
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
13
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
14
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15
|
-
function isNotEmpty(value) {
|
|
16
|
-
return Array.isArray(value) && value.length > 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 过滤特殊字符
|
|
21
|
-
* @param {String} value 值
|
|
22
|
-
* @param {Object} option
|
|
23
|
-
* @param {Array} [option.include] 新增
|
|
24
|
-
* @param {Array} [option.exclude] 排除
|
|
25
|
-
*/
|
|
26
|
-
function filterSpecialCharacters(value) {
|
|
27
|
-
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
28
|
-
_ref$include = _ref.include,
|
|
29
|
-
include = _ref$include === void 0 ? [] : _ref$include,
|
|
30
|
-
_ref$exclude = _ref.exclude,
|
|
31
|
-
exclude = _ref$exclude === void 0 ? [] : _ref$exclude;
|
|
32
|
-
// 特殊符号,- _ 排除
|
|
33
|
-
var specialCharacter = [
|
|
34
|
-
// 小括号
|
|
35
|
-
'(', ')', '(', ')',
|
|
36
|
-
// 中括号
|
|
37
|
-
'\\[', '\\]', '[', ']',
|
|
38
|
-
// 大括号
|
|
39
|
-
'{', '}', '{', '}',
|
|
40
|
-
// 方头括号
|
|
41
|
-
'【', '】',
|
|
42
|
-
// 尖括号
|
|
43
|
-
'<', '>',
|
|
44
|
-
// 书名号
|
|
45
|
-
'《', '》',
|
|
46
|
-
// 斜杠
|
|
47
|
-
'/',
|
|
48
|
-
// 反斜杠
|
|
49
|
-
'\\\\',
|
|
50
|
-
// 逗号
|
|
51
|
-
',', ',',
|
|
52
|
-
// 句号
|
|
53
|
-
'.', '。',
|
|
54
|
-
// 冒号
|
|
55
|
-
':', ':',
|
|
56
|
-
// 分号
|
|
57
|
-
';', ';',
|
|
58
|
-
// 顿号
|
|
59
|
-
'、',
|
|
60
|
-
// 破折号
|
|
61
|
-
'——',
|
|
62
|
-
// 感叹号
|
|
63
|
-
'!', '!',
|
|
64
|
-
// 问号
|
|
65
|
-
'?', '?',
|
|
66
|
-
// 加减等于
|
|
67
|
-
'+', '=',
|
|
68
|
-
// 单引号
|
|
69
|
-
"'", '‘', '’',
|
|
70
|
-
// 双引号
|
|
71
|
-
'"', '“', '”',
|
|
72
|
-
// 金钱
|
|
73
|
-
'$', '¥',
|
|
74
|
-
// 百分号
|
|
75
|
-
'%', '%',
|
|
76
|
-
// 其它
|
|
77
|
-
'@', '#', '`', '~', '*', '^', '……', '|', '&'];
|
|
78
|
-
|
|
79
|
-
// 新增
|
|
80
|
-
if (isNotEmpty(include)) {
|
|
81
|
-
specialCharacter = Array.from(new Set([].concat(_toConsumableArray(specialCharacter), _toConsumableArray(include))));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// 移除
|
|
85
|
-
if (isNotEmpty(exclude)) {
|
|
86
|
-
specialCharacter = (0, _lodash["default"])(specialCharacter, exclude);
|
|
87
|
-
}
|
|
88
|
-
return value.replace(new RegExp("[".concat(specialCharacter.join(''), "]"), 'g'), '');
|
|
89
|
-
}
|
|
90
|
-
//# sourceMappingURL=filterSpecialCharacters.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterSpecialCharacters.js","names":["_lodash","_interopRequireDefault","require","obj","__esModule","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","o","minLen","_arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","Array","from","test","iter","Symbol","iterator","isArray","len","length","i","arr2","isNotEmpty","value","filterSpecialCharacters","_ref","arguments","undefined","_ref$include","include","_ref$exclude","exclude","specialCharacter","Set","concat","difference","replace","RegExp","join"],"sources":["_util/filterSpecialCharacters.js"],"sourcesContent":["import difference from 'lodash.difference';\n\nfunction isNotEmpty(value) {\n return Array.isArray(value) && value.length > 0;\n}\n\n/**\n * 过滤特殊字符\n * @param {String} value 值\n * @param {Object} option\n * @param {Array} [option.include] 新增\n * @param {Array} [option.exclude] 排除\n */\nexport default function filterSpecialCharacters(value, { include = [], exclude = [] } = {}) {\n // 特殊符号,- _ 排除\n let specialCharacter = [\n // 小括号\n '(',\n ')',\n '(',\n ')',\n // 中括号\n '\\\\[',\n '\\\\]',\n '[',\n ']',\n // 大括号\n '{',\n '}',\n '{',\n '}',\n // 方头括号\n '【',\n '】',\n // 尖括号\n '<',\n '>',\n // 书名号\n '《',\n '》',\n // 斜杠\n '/',\n // 反斜杠\n '\\\\\\\\',\n // 逗号\n ',',\n ',',\n // 句号\n '.',\n '。',\n // 冒号\n ':',\n ':',\n // 分号\n ';',\n ';',\n // 顿号\n '、',\n // 破折号\n '——',\n // 感叹号\n '!',\n '!',\n // 问号\n '?',\n '?',\n // 加减等于\n '+',\n '=',\n // 单引号\n \"'\",\n '‘',\n '’',\n // 双引号\n '\"',\n '“',\n '”',\n // 金钱\n '$',\n '¥',\n // 百分号\n '%',\n '%',\n // 其它\n '@',\n '#',\n '`',\n '~',\n '*',\n '^',\n '……',\n '|',\n '&',\n ];\n\n // 新增\n if (isNotEmpty(include)) {\n specialCharacter = Array.from(new Set([...specialCharacter, ...include]));\n }\n\n // 移除\n if (isNotEmpty(exclude)) {\n specialCharacter = difference(specialCharacter, exclude);\n }\n\n return value.replace(new RegExp(`[${specialCharacter.join('')}]`, 'g'), '');\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA2C,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,mBAAAC,GAAA,WAAAC,kBAAA,CAAAD,GAAA,KAAAE,gBAAA,CAAAF,GAAA,KAAAG,2BAAA,CAAAH,GAAA,KAAAI,kBAAA;AAAA,SAAAA,mBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAG,CAAA,EAAAC,MAAA,SAAAD,CAAA,qBAAAA,CAAA,sBAAAE,iBAAA,CAAAF,CAAA,EAAAC,MAAA,OAAAE,CAAA,GAAAC,MAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAC,IAAA,CAAAP,CAAA,EAAAQ,KAAA,aAAAL,CAAA,iBAAAH,CAAA,CAAAS,WAAA,EAAAN,CAAA,GAAAH,CAAA,CAAAS,WAAA,CAAAC,IAAA,MAAAP,CAAA,cAAAA,CAAA,mBAAAQ,KAAA,CAAAC,IAAA,CAAAZ,CAAA,OAAAG,CAAA,+DAAAU,IAAA,CAAAV,CAAA,UAAAD,iBAAA,CAAAF,CAAA,EAAAC,MAAA;AAAA,SAAAL,iBAAAkB,IAAA,eAAAC,MAAA,oBAAAD,IAAA,CAAAC,MAAA,CAAAC,QAAA,aAAAF,IAAA,+BAAAH,KAAA,CAAAC,IAAA,CAAAE,IAAA;AAAA,SAAAnB,mBAAAD,GAAA,QAAAiB,KAAA,CAAAM,OAAA,CAAAvB,GAAA,UAAAQ,iBAAA,CAAAR,GAAA;AAAA,SAAAQ,kBAAAR,GAAA,EAAAwB,GAAA,QAAAA,GAAA,YAAAA,GAAA,GAAAxB,GAAA,CAAAyB,MAAA,EAAAD,GAAA,GAAAxB,GAAA,CAAAyB,MAAA,WAAAC,CAAA,MAAAC,IAAA,OAAAV,KAAA,CAAAO,GAAA,GAAAE,CAAA,GAAAF,GAAA,EAAAE,CAAA,IAAAC,IAAA,CAAAD,CAAA,IAAA1B,GAAA,CAAA0B,CAAA,UAAAC,IAAA;AAE3C,SAASC,UAAUA,CAACC,KAAK,EAAE;EACvB,OAAOZ,KAAK,CAACM,OAAO,CAACM,KAAK,CAAC,IAAIA,KAAK,CAACJ,MAAM,GAAG,CAAC;AACnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAASK,uBAAuBA,CAACD,KAAK,EAAuC;EAAA,IAAAE,IAAA,GAAAC,SAAA,CAAAP,MAAA,QAAAO,SAAA,QAAAC,SAAA,GAAAD,SAAA,MAAJ,CAAC,CAAC;IAAAE,YAAA,GAAAH,IAAA,CAAjCI,OAAO;IAAPA,OAAO,GAAAD,YAAA,cAAG,EAAE,GAAAA,YAAA;IAAAE,YAAA,GAAAL,IAAA,CAAEM,OAAO;IAAPA,OAAO,GAAAD,YAAA,cAAG,EAAE,GAAAA,YAAA;EAC/E;EACA,IAAIE,gBAAgB,GAAG;EACnB;EACA,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG;EACH;EACA,KAAK,EACL,KAAK,EACL,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG;EACH;EACA,MAAM;EACN;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG;EACH;EACA,IAAI;EACJ;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG;EACH;EACA,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,GAAG,EACH,GAAG,CACN;;EAED;EACA,IAAIV,UAAU,CAACO,OAAO,CAAC,EAAE;IACrBG,gBAAgB,GAAGrB,KAAK,CAACC,IAAI,CAAC,IAAIqB,GAAG,IAAAC,MAAA,CAAAzC,kBAAA,CAAKuC,gBAAgB,GAAAvC,kBAAA,CAAKoC,OAAO,EAAC,CAAC,CAAC;EAC7E;;EAEA;EACA,IAAIP,UAAU,CAACS,OAAO,CAAC,EAAE;IACrBC,gBAAgB,GAAG,IAAAG,kBAAU,EAACH,gBAAgB,EAAED,OAAO,CAAC;EAC5D;EAEA,OAAOR,KAAK,CAACa,OAAO,CAAC,IAAIC,MAAM,KAAAH,MAAA,CAAKF,gBAAgB,CAACM,IAAI,CAAC,EAAE,CAAC,QAAK,GAAG,CAAC,EAAE,EAAE,CAAC;AAC/E"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = getComponentProps;
|
|
7
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
8
|
-
function getComponentProps(prop) {
|
|
9
|
-
if (prop && _typeof(prop) === 'object') {
|
|
10
|
-
return prop;
|
|
11
|
-
}
|
|
12
|
-
return {};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=getComponentProps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getComponentProps.js","names":["getComponentProps","prop","_typeof"],"sources":["_util/getComponentProps.js"],"sourcesContent":["export default function getComponentProps(prop) {\n if (prop && typeof prop === 'object') {\n return prop;\n }\n return {};\n}\n"],"mappings":";;;;;;;AAAe,SAASA,iBAAiBA,CAACC,IAAI,EAAE;EAC5C,IAAIA,IAAI,IAAIC,OAAA,CAAOD,IAAI,MAAK,QAAQ,EAAE;IAClC,OAAOA,IAAI;EACf;EACA,OAAO,CAAC,CAAC;AACb"}
|
package/lib/_util/getCookie.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @name cookie取值
|
|
9
|
-
* @param c_name 要取得的字段名
|
|
10
|
-
* @returns {string} 返回字段对应的值, 若字段不存在则返回空
|
|
11
|
-
*/
|
|
12
|
-
var _default = function _default(c_name) {
|
|
13
|
-
if (document.cookie.length > 0) {
|
|
14
|
-
var c_start = document.cookie.indexOf("".concat(c_name, "="));
|
|
15
|
-
if (c_start !== -1) {
|
|
16
|
-
c_start = c_start + c_name.length + 1;
|
|
17
|
-
var c_end = document.cookie.indexOf(';', c_start);
|
|
18
|
-
if (c_end == -1) c_end = document.cookie.length;
|
|
19
|
-
return unescape(document.cookie.substring(c_start, c_end));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return '';
|
|
23
|
-
};
|
|
24
|
-
exports["default"] = _default;
|
|
25
|
-
//# sourceMappingURL=getCookie.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getCookie.js","names":["_default","c_name","document","cookie","length","c_start","indexOf","concat","c_end","unescape","substring","exports"],"sources":["_util/getCookie.js"],"sourcesContent":["/**\n * @name cookie取值\n * @param c_name 要取得的字段名\n * @returns {string} 返回字段对应的值, 若字段不存在则返回空\n */\nexport default c_name => {\n if (document.cookie.length > 0) {\n let c_start = document.cookie.indexOf(`${c_name}=`);\n if (c_start !== -1) {\n c_start = c_start + c_name.length + 1;\n let c_end = document.cookie.indexOf(';', c_start);\n if (c_end == -1) c_end = document.cookie.length;\n return unescape(document.cookie.substring(c_start, c_end));\n }\n }\n return '';\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AAJA,IAAAA,QAAA,GAKe,SAAAA,SAAAC,MAAM,EAAI;EACrB,IAAIC,QAAQ,CAACC,MAAM,CAACC,MAAM,GAAG,CAAC,EAAE;IAC5B,IAAIC,OAAO,GAAGH,QAAQ,CAACC,MAAM,CAACG,OAAO,IAAAC,MAAA,CAAIN,MAAM,MAAG,CAAC;IACnD,IAAII,OAAO,KAAK,CAAC,CAAC,EAAE;MAChBA,OAAO,GAAGA,OAAO,GAAGJ,MAAM,CAACG,MAAM,GAAG,CAAC;MACrC,IAAII,KAAK,GAAGN,QAAQ,CAACC,MAAM,CAACG,OAAO,CAAC,GAAG,EAAED,OAAO,CAAC;MACjD,IAAIG,KAAK,IAAI,CAAC,CAAC,EAAEA,KAAK,GAAGN,QAAQ,CAACC,MAAM,CAACC,MAAM;MAC/C,OAAOK,QAAQ,CAACP,QAAQ,CAACC,MAAM,CAACO,SAAS,CAACL,OAAO,EAAEG,KAAK,CAAC,CAAC;IAC9D;EACJ;EACA,OAAO,EAAE;AACb,CAAC;AAAAG,OAAA,cAAAX,QAAA"}
|