@cloud-app-dev/vidc 4.0.15 → 4.1.0
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/.dumirc.ts +2 -18
- package/.eslintrc.js +3 -0
- package/.fatherrc.ts +0 -7
- package/es/AppContext/Sync.d.ts +1 -2
- package/es/AppContext/index.d.ts +10 -3
- package/es/AppContext/index.js +14 -4
- package/es/AppContext/interface.d.ts +1 -0
- package/es/CheckGroupFixed/demo.d.ts +1 -2
- package/es/CheckGroupFixed/demo.js +7 -12
- package/es/CheckGroupFixed/index.d.ts +7 -3
- package/es/CheckGroupFixed/index.js +9 -9
- package/es/CheckGroupFixed/style.d.ts +6 -0
- package/es/CheckGroupFixed/style.js +9 -0
- package/es/Config/index.js +1 -1
- package/es/CustomRenderSelect/index.d.ts +3 -2
- package/es/CustomRenderSelect/index.js +13 -10
- package/es/DBTools/index.js +1 -2
- package/es/DisableMark/index.d.ts +1 -2
- package/es/DisableMark/index.js +5 -2
- package/es/DomMove/demo.d.ts +1 -2
- package/es/DomMove/demo.js +0 -1
- package/es/DomMove/index.js +7 -8
- package/es/DynamicGridList/demo.d.ts +2 -0
- package/es/DynamicGridList/index.d.ts +1 -1
- package/es/DynamicGridList/index.js +3 -3
- package/es/DynamicList/demo.d.ts +1 -2
- package/es/DynamicList/demo.js +14 -19
- package/es/DynamicList/index.d.ts +1 -2
- package/es/DynamicList/index.js +10 -8
- package/es/ErrorFallback/index.d.ts +1 -2
- package/es/EventTools/index.d.ts +1 -1
- package/es/GridList/demo.d.ts +2 -0
- package/es/GridList/{Demo.js → demo.js} +1 -1
- package/es/GridList/hook.js +2 -2
- package/es/GridList/index.d.ts +0 -1
- package/es/GridList/index.js +5 -2
- package/es/HightLevel/index.d.ts +1 -2
- package/es/HightLevel/index.js +2 -3
- package/es/IconFont/index.d.ts +1 -1
- package/es/LabelValue/index.d.ts +1 -2
- package/es/LabelValue/index.js +5 -2
- package/es/List/demo.d.ts +1 -2
- package/es/List/demo.js +1 -2
- package/es/List/index.d.ts +2 -3
- package/es/List/index.js +25 -17
- package/es/ListWithSizeAnimate/demo.d.ts +1 -2
- package/es/ListWithSizeAnimate/index.d.ts +0 -1
- package/es/ListWithSizeAnimate/index.js +19 -10
- package/es/LoaderScript/index.d.ts +1 -1
- package/es/Picture/component/DefaultRects/RectInfo.d.ts +1 -2
- package/es/Picture/component/DefaultRects/RectInfo.js +6 -4
- package/es/Picture/component/DefaultRects/index.d.ts +1 -3
- package/es/Picture/component/DefaultRects/index.js +5 -5
- package/es/Picture/component/DefaultRects/style.d.ts +10 -0
- package/es/Picture/component/DefaultRects/style.js +28 -0
- package/es/Picture/component/DrawRect/index.d.ts +1 -3
- package/es/Picture/component/DrawRect/index.js +6 -3
- package/es/Picture/component/RectMenu/index.d.ts +1 -3
- package/es/Picture/component/RectMenu/index.js +13 -8
- package/es/Picture/component/Tools/index.d.ts +1 -2
- package/es/Picture/component/Tools/index.js +21 -9
- package/es/Picture/component/Tools/style.d.ts +2 -0
- package/es/Picture/component/Tools/style.js +5 -0
- package/es/Picture/component/WheelScale/index.d.ts +1 -2
- package/es/Picture/demo.d.ts +1 -2
- package/es/Picture/demo.js +1 -1
- package/es/Picture/index.d.ts +1 -3
- package/es/Picture/index.js +21 -19
- package/es/Picture/useDraw.js +4 -4
- package/es/Player/api/index.d.ts +1 -1
- package/es/Player/api/index.js +44 -18
- package/es/Player/context.d.ts +1 -1
- package/es/Player/contraller_bar/bar.d.ts +1 -1
- package/es/Player/contraller_bar/bar.js +5 -1
- package/es/Player/contraller_bar/contraller_event.d.ts +1 -1
- package/es/Player/contraller_bar/contraller_event.js +4 -5
- package/es/Player/contraller_bar/index.d.ts +1 -2
- package/es/Player/contraller_bar/index.js +8 -2
- package/es/Player/contraller_bar/left_bar.d.ts +1 -1
- package/es/Player/contraller_bar/left_bar.js +12 -3
- package/es/Player/contraller_bar/right_bar.d.ts +1 -1
- package/es/Player/contraller_bar/right_bar.js +1 -2
- package/es/Player/contraller_bar/time.d.ts +1 -2
- package/es/Player/contraller_bar/time.js +5 -2
- package/es/Player/contraller_bar/volume.d.ts +1 -2
- package/es/Player/contraller_bar/volume.js +11 -6
- package/es/Player/demo.d.ts +1 -2
- package/es/Player/demo.js +41 -29
- package/es/Player/empty.d.ts +1 -2
- package/es/Player/empty.js +0 -1
- package/es/Player/event/index.d.ts +1 -1
- package/es/Player/event/index.js +4 -3
- package/es/Player/fps_play.d.ts +1 -2
- package/es/Player/fps_play.js +6 -2
- package/es/Player/frontend_player.d.ts +1 -2
- package/es/Player/frontend_player.js +4 -5
- package/es/Player/frontend_timeline.d.ts +1 -3
- package/es/Player/frontend_timeline.js +16 -8
- package/es/Player/iconfont.d.ts +1 -2
- package/es/Player/iconfont.js +1 -2
- package/es/Player/live_heart.js +8 -9
- package/es/Player/message.d.ts +2 -4
- package/es/Player/message.js +16 -7
- package/es/Player/player.d.ts +2 -0
- package/es/Player/segment_player.d.ts +1 -2
- package/es/Player/segment_player.js +4 -5
- package/es/Player/segment_timeline.d.ts +1 -3
- package/es/Player/segment_timeline.js +19 -9
- package/es/Player/single_player.d.ts +0 -1
- package/es/Player/single_player.js +18 -15
- package/es/Player/timeline.d.ts +5 -3
- package/es/Player/timeline.js +10 -4
- package/es/Player/util.d.ts +2 -2
- package/es/Player/util.js +2 -2
- package/es/PlayerExt/demo.d.ts +1 -2
- package/es/PlayerExt/demo.js +3 -3
- package/es/PlayerExt/index.d.ts +1 -2
- package/es/PlayerExt/index.js +10 -5
- package/es/Progress/index.d.ts +1 -3
- package/es/Progress/index.js +7 -3
- package/es/ROI/demo.d.ts +1 -2
- package/es/ROI/demo.js +1 -2
- package/es/ROI/index.d.ts +1 -2
- package/es/ROI/index.js +17 -7
- package/es/RefDrawer/Footer.d.ts +1 -1
- package/es/RefDrawer/index.d.ts +1 -1
- package/es/RefDrawer/index.js +2 -2
- package/es/RefModal/demo.d.ts +1 -2
- package/es/RefModal/index.d.ts +1 -1
- package/es/RefModal/index.js +2 -2
- package/es/ScreenPlayer/Live.d.ts +1 -3
- package/es/ScreenPlayer/Live.js +10 -11
- package/es/ScreenPlayer/LiveTools.d.ts +5 -1
- package/es/ScreenPlayer/LiveTools.js +14 -9
- package/es/ScreenPlayer/PlayerWithExt.d.ts +3 -3
- package/es/ScreenPlayer/PlayerWithExt.js +14 -13
- package/es/ScreenPlayer/RatePick.d.ts +1 -2
- package/es/ScreenPlayer/RatePick.js +9 -4
- package/es/ScreenPlayer/Record.d.ts +1 -3
- package/es/ScreenPlayer/Record.js +27 -22
- package/es/ScreenPlayer/RecordTools.d.ts +1 -1
- package/es/ScreenPlayer/RecordTools.js +11 -13
- package/es/ScreenPlayer/ScreenSelect.d.ts +1 -2
- package/es/ScreenPlayer/ScreenSelect.js +11 -3
- package/es/ScreenPlayer/SegmentTimeLine.d.ts +1 -2
- package/es/ScreenPlayer/SegmentTimeLine.js +12 -6
- package/es/ScreenPlayer/TimeMode.d.ts +1 -2
- package/es/ScreenPlayer/TimeMode.js +7 -3
- package/es/ScreenPlayer/TimeSelect.d.ts +1 -2
- package/es/ScreenPlayer/TimeSelect.js +10 -5
- package/es/ScreenPlayer/containerStyle.d.ts +13 -0
- package/es/ScreenPlayer/containerStyle.js +32 -0
- package/es/ScreenPlayer/demo.d.ts +1 -2
- package/es/ScreenPlayer/demo.js +8 -13
- package/es/ScreenPlayer/demo2.d.ts +1 -2
- package/es/ScreenPlayer/demo2.js +112 -116
- package/es/ScreenPlayer/index.d.ts +2 -2
- package/es/ScreenPlayer/useTimeSlider.d.ts +2 -2
- package/es/ScreenPlayer/useTimeSlider.js +16 -15
- package/es/ScreenPlayer/useVideoFit.js +2 -2
- package/es/SocketEmitter/eventEmitter.d.ts +1 -1
- package/es/TableLayout/index.d.ts +1 -2
- package/es/TableLayout/index.js +7 -4
- package/es/Timeout/index.d.ts +1 -2
- package/es/Timeout/index.js +4 -5
- package/es/cache/index.d.ts +1 -1
- package/es/cache/index.js +21 -21
- package/es/index.d.ts +3 -11
- package/es/index.js +3 -11
- package/es/likeGo/index.d.ts +2 -0
- package/es/{Map/Config/utils.js → likeGo/index.js} +15 -49
- package/es/likeGoSync/index.d.ts +2 -0
- package/es/likeGoSync/index.js +10 -0
- package/es/logger/index.d.ts +4 -4
- package/es/nextTick/index.d.ts +1 -1
- package/es/nextTick/index.js +2 -6
- package/es/recorder/demo.d.ts +2 -0
- package/es/recorder/demo.js +200 -0
- package/es/recorder/index.d.ts +294 -0
- package/es/recorder/index.js +991 -0
- package/es/useDrawROI/index.js +8 -12
- package/es/useEventEmitterHandle/index.js +2 -2
- package/es/useInfiniteScroll/index.d.ts +1 -1
- package/es/useInfiniteScroll/index.js +8 -7
- package/es/useRafInterval/index.js +2 -2
- package/es/useSimpleState/index.js +3 -4
- package/es/useVirtualList/index.d.ts +1 -1
- package/es/useVirtualList/index.js +5 -8
- package/es/utils.d.ts +4 -4
- package/es/utils.js +1 -30
- package/es/uuid/index.d.ts +2 -1
- package/es/uuid/index.js +3 -12
- package/package.json +36 -37
- package/release-build.sh +3 -2
- package/scripts/{entry.js → entry.mjs} +4 -6
- package/{icon-fix.js → scripts/icon-fix.mjs} +4 -3
- package/tsconfig.json +1 -1
- package/es/Auth/index.d.ts +0 -8
- package/es/Auth/index.js +0 -18
- package/es/AutoExit/index.d.ts +0 -6
- package/es/AutoExit/index.js +0 -23
- package/es/CheckGroupFixed/index.less +0 -53
- package/es/ConfigContext/index.d.ts +0 -22
- package/es/ConfigContext/index.js +0 -25
- package/es/CustomRenderSelect/index.less +0 -25
- package/es/DisableMark/index.less +0 -9
- package/es/DynamicGridList/Demo.d.ts +0 -3
- package/es/DynamicList/index.less +0 -17
- package/es/FullScreen/index.d.ts +0 -22
- package/es/FullScreen/index.js +0 -36
- package/es/FullScreen/index.less +0 -18
- package/es/GridList/Demo.d.ts +0 -3
- package/es/GridList/index.less +0 -8
- package/es/HightLevel/index.less +0 -3
- package/es/ImageView/index.d.ts +0 -17
- package/es/ImageView/index.js +0 -58
- package/es/ImageView/index.less +0 -11
- package/es/LabelPlayer/111.png +0 -0
- package/es/LabelPlayer/demo.d.ts +0 -2
- package/es/LabelPlayer/demo.js +0 -123
- package/es/LabelPlayer/index.d.ts +0 -21
- package/es/LabelPlayer/index.js +0 -169
- package/es/LabelPlayer/index.less +0 -24
- package/es/LabelValue/index.less +0 -23
- package/es/List/index.less +0 -13
- package/es/ListWithSizeAnimate/index.less +0 -23
- package/es/Map/AMap.d.ts +0 -7109
- package/es/Map/BasicMap/AMapInstance.d.ts +0 -19
- package/es/Map/BasicMap/AMapInstance.js +0 -98
- package/es/Map/BasicMap/LeafletInstance.d.ts +0 -18
- package/es/Map/BasicMap/LeafletInstance.js +0 -111
- package/es/Map/BasicMap/index.d.ts +0 -9
- package/es/Map/BasicMap/index.js +0 -98
- package/es/Map/BasicMap/index.less +0 -29
- package/es/Map/ClusterLayer/demo.d.ts +0 -3
- package/es/Map/ClusterLayer/demo.js +0 -22
- package/es/Map/ClusterLayer/hook.d.ts +0 -5
- package/es/Map/ClusterLayer/hook.js +0 -124
- package/es/Map/ClusterLayer/index.d.ts +0 -6
- package/es/Map/ClusterLayer/index.js +0 -32
- package/es/Map/ClusterLayer/index.less +0 -29
- package/es/Map/ClusterLayer/props.d.ts +0 -8
- package/es/Map/Config/index.d.ts +0 -9
- package/es/Map/Config/index.js +0 -52
- package/es/Map/Config/utils.d.ts +0 -2
- package/es/Map/Context/index.d.ts +0 -11
- package/es/Map/Context/index.js +0 -56
- package/es/Map/FindPio/index.d.ts +0 -4
- package/es/Map/FindPio/index.js +0 -14
- package/es/Map/FindPio/index.less +0 -7
- package/es/Map/InfoWindow/MakerLikeWindow.d.ts +0 -4
- package/es/Map/InfoWindow/MakerLikeWindow.js +0 -113
- package/es/Map/InfoWindow/demo.d.ts +0 -3
- package/es/Map/InfoWindow/demo.js +0 -76
- package/es/Map/InfoWindow/index.d.ts +0 -11
- package/es/Map/InfoWindow/index.js +0 -67
- package/es/Map/LevelCenter/DragMarker/index.d.ts +0 -10
- package/es/Map/LevelCenter/DragMarker/index.js +0 -44
- package/es/Map/LevelCenter/demo.d.ts +0 -3
- package/es/Map/LevelCenter/demo.js +0 -46
- package/es/Map/LevelCenter/index.d.ts +0 -15
- package/es/Map/LevelCenter/index.js +0 -71
- package/es/Map/LoaderMap/index.d.ts +0 -12
- package/es/Map/LoaderMap/index.js +0 -71
- package/es/Map/MapDrawSelect/demo.d.ts +0 -3
- package/es/Map/MapDrawSelect/demo.js +0 -79
- package/es/Map/MapDrawSelect/index.d.ts +0 -15
- package/es/Map/MapDrawSelect/index.js +0 -62
- package/es/Map/MouseTool/index.d.ts +0 -10
- package/es/Map/MouseTool/index.js +0 -44
- package/es/Map/MouseTool/useMouseTools.d.ts +0 -7
- package/es/Map/MouseTool/useMouseTools.js +0 -83
- package/es/Map/ResetTools/index.d.ts +0 -10
- package/es/Map/ResetTools/index.js +0 -67
- package/es/Map/ResetTools/index.less +0 -39
- package/es/Map/SinglePoint/demo.d.ts +0 -3
- package/es/Map/SinglePoint/demo.js +0 -16
- package/es/Map/SinglePoint/index.d.ts +0 -27
- package/es/Map/SinglePoint/index.js +0 -57
- package/es/Map/SinglePoint/index.less +0 -41
- package/es/Map/hook/useMapEvent.d.ts +0 -2
- package/es/Map/hook/useMapEvent.js +0 -19
- package/es/Map/hook/useMapType.d.ts +0 -4
- package/es/Map/hook/useMapType.js +0 -12
- package/es/Map/icon.d.ts +0 -2
- package/es/Map/icon.js +0 -10
- package/es/Map/index.d.ts +0 -24
- package/es/Map/index.js +0 -25
- package/es/Map/interface.d.ts +0 -74
- package/es/Map/points.d.ts +0 -74
- package/es/Map/points.js +0 -1
- package/es/Map/useMarker/index.d.ts +0 -10
- package/es/Map/useMarker/index.js +0 -71
- package/es/Map/withMap/index.d.ts +0 -3
- package/es/Map/withMap/index.js +0 -18
- package/es/Picture/component/DefaultRects/index.less +0 -211
- package/es/Picture/component/DrawRect/index.less +0 -8
- package/es/Picture/component/RectMenu/index.less +0 -36
- package/es/Picture/component/Tools/index.less +0 -49
- package/es/Picture/index.less +0 -20
- package/es/Player/style/bar.less +0 -43
- package/es/Player/style/index.less +0 -34
- package/es/Player/style/message.less +0 -56
- package/es/Player/style/slider.less +0 -106
- package/es/Player/style/timeline.less +0 -116
- package/es/Player/style/volume.less +0 -24
- package/es/PlayerExt/index.less +0 -10
- package/es/Progress/index.less +0 -21
- package/es/ROI/index.less +0 -33
- package/es/ScreenPlayer/index.less +0 -335
- package/es/TableLayout/index.less +0 -4
- package/es/ThemeAntd/demo.d.ts +0 -4
- package/es/ThemeAntd/demo.js +0 -129
- package/es/ThemeAntd/demo.less +0 -20
- package/es/ThemeAntd/index.d.ts +0 -7
- package/es/ThemeAntd/index.js +0 -23
- package/es/ThemeAntd/index.less +0 -4
- package/es/VList/index.d.ts +0 -11
- package/es/VList/index.js +0 -42
- package/es/VList/index.less +0 -6
- package/es/VList/utils.d.ts +0 -14
- package/es/VList/utils.js +0 -17
- package/es/bigNumberTransformCN/index.d.ts +0 -5
- package/es/bigNumberTransformCN/index.js +0 -60
- package/es/useFullscreen/demo.d.ts +0 -2
- package/es/useFullscreen/demo.js +0 -48
- package/es/useFullscreen/index.d.ts +0 -12
- package/es/useFullscreen/index.js +0 -76
- /package/es/DynamicGridList/{Demo.js → demo.js} +0 -0
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.single-point-map-container {
|
|
2
|
-
.marker-center-layout {
|
|
3
|
-
width: 32px;
|
|
4
|
-
height: 42px;
|
|
5
|
-
margin-top: -10px;
|
|
6
|
-
text-align: center;
|
|
7
|
-
|
|
8
|
-
> div {
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
padding-top: 6px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.onLine {
|
|
15
|
-
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ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
import _useLatest from "ahooks/es/useLatest";
|
|
2
|
-
import { useContext, useEffect } from 'react';
|
|
3
|
-
import { mapContext } from "../Context";
|
|
4
|
-
function useMapEvent(type, fn) {
|
|
5
|
-
var fnRef = _useLatest(fn);
|
|
6
|
-
var _useContext = useContext(mapContext),
|
|
7
|
-
instance = _useContext.instance;
|
|
8
|
-
useEffect(function () {
|
|
9
|
-
var eventAction = function eventAction(event) {
|
|
10
|
-
fnRef.current(event);
|
|
11
|
-
};
|
|
12
|
-
instance.on(type, eventAction);
|
|
13
|
-
return function () {
|
|
14
|
-
return instance.off(type, eventAction);
|
|
15
|
-
};
|
|
16
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
17
|
-
}, [instance, type]);
|
|
18
|
-
}
|
|
19
|
-
export default useMapEvent;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { useContext, useMemo } from 'react';
|
|
2
|
-
import { mapContext } from "../Context";
|
|
3
|
-
export default function useMapType() {
|
|
4
|
-
var _useContext = useContext(mapContext),
|
|
5
|
-
glaobalKey = _useContext.glaobalKey;
|
|
6
|
-
return useMemo(function () {
|
|
7
|
-
return {
|
|
8
|
-
leaflet: glaobalKey === 'L',
|
|
9
|
-
AMap: glaobalKey === 'AMap'
|
|
10
|
-
};
|
|
11
|
-
}, [glaobalKey]);
|
|
12
|
-
}
|
package/es/Map/icon.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const LevelCenterCenterSvg = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"28px\" height=\"40px\" viewBox=\"0 0 28 40\" version=\"1.1\"><defs><linearGradient x1=\"6.38826004%\" y1=\"96.2639042%\" x2=\"66.7998206%\" y2=\"14.972142%\" id=\"linearGradient-1\"><stop stop-color=\"#000000\" stop-opacity=\"0.2\" offset=\"0%\"/><stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"/></linearGradient></defs><g id=\"Img/Add\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M22,28 L28,28 L15.2872963,39.7348034 C15.102574,39.9053163 14.8604062,40 14.6090162,40 L14,40 C13.7238576,40 13.5,39.7761424 13.5,39.5 C13.5,39.3918149 13.5350889,39.2865481 13.6,39.2 L22,28 Z\" id=\"Rectangle\" fill=\"url(#linearGradient-1)\"/><path d=\"M11,23 L17,23 L15.103901,39.1168412 C15.0446525,39.6204542 14.6178366,40 14.1107504,40 L13.8892496,40 C13.3821634,40 12.9553475,39.6204542 12.896099,39.1168412 L11,23 Z\" id=\"Rectangle\" fill=\"#FF8800\"/><circle id=\"Oval\" stroke=\"#FF8800\" fill=\"#FFAA00\" cx=\"14\" cy=\"12\" r=\"11.5\"/><circle id=\"Oval\" fill=\"#FF8800\" cx=\"15\" cy=\"13\" r=\"4\"/><circle id=\"Oval\" fill=\"#FFFFFF\" cx=\"14\" cy=\"12\" r=\"4\"/></g></svg>";
|
|
2
|
-
export declare function createMapCenterIcon(): import("leaflet").DivIcon;
|
package/es/Map/icon.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var LevelCenterCenterSvg = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"28px\" height=\"40px\" viewBox=\"0 0 28 40\" version=\"1.1\"><defs><linearGradient x1=\"6.38826004%\" y1=\"96.2639042%\" x2=\"66.7998206%\" y2=\"14.972142%\" id=\"linearGradient-1\"><stop stop-color=\"#000000\" stop-opacity=\"0.2\" offset=\"0%\"/><stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"/></linearGradient></defs><g id=\"Img/Add\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M22,28 L28,28 L15.2872963,39.7348034 C15.102574,39.9053163 14.8604062,40 14.6090162,40 L14,40 C13.7238576,40 13.5,39.7761424 13.5,39.5 C13.5,39.3918149 13.5350889,39.2865481 13.6,39.2 L22,28 Z\" id=\"Rectangle\" fill=\"url(#linearGradient-1)\"/><path d=\"M11,23 L17,23 L15.103901,39.1168412 C15.0446525,39.6204542 14.6178366,40 14.1107504,40 L13.8892496,40 C13.3821634,40 12.9553475,39.6204542 12.896099,39.1168412 L11,23 Z\" id=\"Rectangle\" fill=\"#FF8800\"/><circle id=\"Oval\" stroke=\"#FF8800\" fill=\"#FFAA00\" cx=\"14\" cy=\"12\" r=\"11.5\"/><circle id=\"Oval\" fill=\"#FF8800\" cx=\"15\" cy=\"13\" r=\"4\"/><circle id=\"Oval\" fill=\"#FFFFFF\" cx=\"14\" cy=\"12\" r=\"4\"/></g></svg>";
|
|
2
|
-
export function createMapCenterIcon() {
|
|
3
|
-
var L = window.L;
|
|
4
|
-
return L.divIcon({
|
|
5
|
-
iconSize: [28, 40],
|
|
6
|
-
iconAnchor: [14, 40],
|
|
7
|
-
html: "<i class=\"anticon\">".concat(LevelCenterCenterSvg, "</>"),
|
|
8
|
-
className: 'lv-center-map-drag-marker'
|
|
9
|
-
});
|
|
10
|
-
}
|
package/es/Map/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import BasicMap from './BasicMap';
|
|
3
|
-
import ClusterLayer from './ClusterLayer';
|
|
4
|
-
import Config from './Config';
|
|
5
|
-
import Context from './Context';
|
|
6
|
-
import FindPio from './FindPio';
|
|
7
|
-
import LoaderMap from './LoaderMap';
|
|
8
|
-
import ResetTools from './ResetTools';
|
|
9
|
-
import useMarker from './useMarker';
|
|
10
|
-
import withMap from './withMap';
|
|
11
|
-
declare const Map: {
|
|
12
|
-
ClusterLayer: typeof ClusterLayer;
|
|
13
|
-
Config: typeof Config;
|
|
14
|
-
Context: typeof Context;
|
|
15
|
-
FindPio: typeof FindPio;
|
|
16
|
-
LevelCenter: (props: import("./LevelCenter").ILevelCenter) => JSX.Element;
|
|
17
|
-
LoaderMap: typeof LoaderMap;
|
|
18
|
-
BasicMap: typeof BasicMap;
|
|
19
|
-
ResetTools: typeof ResetTools;
|
|
20
|
-
SinglePoint: (props: import("./SinglePoint").ISinglePlayerProps) => JSX.Element;
|
|
21
|
-
useMarker: typeof useMarker;
|
|
22
|
-
withMap: typeof withMap;
|
|
23
|
-
};
|
|
24
|
-
export default Map;
|
package/es/Map/index.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import BasicMap from "./BasicMap";
|
|
2
|
-
import ClusterLayer from "./ClusterLayer";
|
|
3
|
-
import Config from "./Config";
|
|
4
|
-
import Context from "./Context";
|
|
5
|
-
import FindPio from "./FindPio";
|
|
6
|
-
import LevelCenter from "./LevelCenter";
|
|
7
|
-
import LoaderMap from "./LoaderMap";
|
|
8
|
-
import ResetTools from "./ResetTools";
|
|
9
|
-
import SinglePoint from "./SinglePoint";
|
|
10
|
-
import useMarker from "./useMarker";
|
|
11
|
-
import withMap from "./withMap";
|
|
12
|
-
var Map = {
|
|
13
|
-
ClusterLayer: ClusterLayer,
|
|
14
|
-
Config: Config,
|
|
15
|
-
Context: Context,
|
|
16
|
-
FindPio: FindPio,
|
|
17
|
-
LevelCenter: LevelCenter,
|
|
18
|
-
LoaderMap: LoaderMap,
|
|
19
|
-
BasicMap: BasicMap,
|
|
20
|
-
ResetTools: ResetTools,
|
|
21
|
-
SinglePoint: SinglePoint,
|
|
22
|
-
useMarker: useMarker,
|
|
23
|
-
withMap: withMap
|
|
24
|
-
};
|
|
25
|
-
export default Map;
|
package/es/Map/interface.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as LMap from '@types/leaflet';
|
|
2
|
-
|
|
3
|
-
export type LMapInstance = typeof LMap & LMapPlugin;
|
|
4
|
-
|
|
5
|
-
export type Map = LMap.Map & AMap.Map;
|
|
6
|
-
|
|
7
|
-
export type Marker = LMap.Marker & AMap.Marker;
|
|
8
|
-
|
|
9
|
-
export type LatLng = LMap.LatLng & AMap.LngLat;
|
|
10
|
-
|
|
11
|
-
export interface IMapOptions {
|
|
12
|
-
url?: string;
|
|
13
|
-
subdomains?: string[];
|
|
14
|
-
crs?: string;
|
|
15
|
-
center?: [number, number];
|
|
16
|
-
maxZoom?: number;
|
|
17
|
-
minZoom?: number;
|
|
18
|
-
zoom?: number;
|
|
19
|
-
zoomOffset?: 0;
|
|
20
|
-
maxBounds: [[number, number], [number, number]];
|
|
21
|
-
distance?: number;
|
|
22
|
-
amapStyle?: 'normal' | 'dark' | 'light' | 'whitesmoke' | 'fresh' | 'grey' | 'graffiti' | 'macaron' | 'blue' | 'darkblue' | 'wine';
|
|
23
|
-
}
|
|
24
|
-
export class IMapInstance {
|
|
25
|
-
constructor(ele: HTMLDivElement, options?: IMapOptions);
|
|
26
|
-
map: AMap.Map | LMap.Map;
|
|
27
|
-
config: IMapOptions;
|
|
28
|
-
createMap(): void;
|
|
29
|
-
destoryMap(): void;
|
|
30
|
-
mapReset(): void;
|
|
31
|
-
setZoom(zoom: number): void;
|
|
32
|
-
setCenter(center: [number, number] | LatLng): void;
|
|
33
|
-
getZoom(): number;
|
|
34
|
-
setZoomAndCenter(zoom: number, center: [number, number] | LatLng): void;
|
|
35
|
-
on(type: string, fn: (e: any) => void): void;
|
|
36
|
-
off(type: string, fn: (e: any) => void): void;
|
|
37
|
-
setCursor(cursor: string);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface MapPoint {
|
|
41
|
-
latitude: number;
|
|
42
|
-
longitude: number;
|
|
43
|
-
deviceType: string;
|
|
44
|
-
deviceStatus: string;
|
|
45
|
-
deviceName: string;
|
|
46
|
-
cid: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type LMapPlugin = {
|
|
50
|
-
markerClusterGroup: (config: any) => ClusterGroupInterface;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export interface LClusterInterface {
|
|
54
|
-
addTo(map: Map): this;
|
|
55
|
-
addLayers(markers: Marker[]);
|
|
56
|
-
getLayers(): Marker[];
|
|
57
|
-
clearLayers(): void;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export type DrawType = 'rect' | 'polygon' | 'circle' | 'clear' | 'close';
|
|
61
|
-
|
|
62
|
-
export interface customConfigProps {
|
|
63
|
-
url: string;
|
|
64
|
-
subdomains: string[];
|
|
65
|
-
crs: string;
|
|
66
|
-
center: [number, number];
|
|
67
|
-
maxZoom: number;
|
|
68
|
-
minZoom: number;
|
|
69
|
-
zoom: number;
|
|
70
|
-
zoomOffset: number;
|
|
71
|
-
distance: number;
|
|
72
|
-
amapStyle: string;
|
|
73
|
-
maxBounds: [[number, number], [number, number]];
|
|
74
|
-
}
|
package/es/Map/points.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
declare const data: ({
|
|
2
|
-
cid: string;
|
|
3
|
-
deviceName: string;
|
|
4
|
-
deviceStatus: string;
|
|
5
|
-
deviceType: string;
|
|
6
|
-
id: string;
|
|
7
|
-
latitude: string;
|
|
8
|
-
longitude: string;
|
|
9
|
-
manufacturerDeviceId: string;
|
|
10
|
-
manufacturerDeviceType: string;
|
|
11
|
-
organizationIds: string[];
|
|
12
|
-
pathId: number[];
|
|
13
|
-
placeId: string;
|
|
14
|
-
sn: string;
|
|
15
|
-
boxNum: string;
|
|
16
|
-
cameraType: number;
|
|
17
|
-
hasFrontEnd: boolean;
|
|
18
|
-
hasStorage: boolean;
|
|
19
|
-
parentId: string;
|
|
20
|
-
accessType: string;
|
|
21
|
-
villageLocationType: string;
|
|
22
|
-
placeTags: string[];
|
|
23
|
-
createTime: string;
|
|
24
|
-
lygroupId?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
cid: string;
|
|
27
|
-
deviceName: string;
|
|
28
|
-
deviceStatus: string;
|
|
29
|
-
deviceType: string;
|
|
30
|
-
id: string;
|
|
31
|
-
latitude: string;
|
|
32
|
-
longitude: string;
|
|
33
|
-
lygroupId: string;
|
|
34
|
-
manufacturerDeviceId: string;
|
|
35
|
-
manufacturerDeviceType: string;
|
|
36
|
-
organizationIds: string[];
|
|
37
|
-
pathId: number[];
|
|
38
|
-
placeId: string;
|
|
39
|
-
sn: string;
|
|
40
|
-
boxNum: string;
|
|
41
|
-
cameraType: number;
|
|
42
|
-
hasFrontEnd: boolean;
|
|
43
|
-
hasStorage: boolean;
|
|
44
|
-
parentId: string;
|
|
45
|
-
accessType: string;
|
|
46
|
-
villageLocationType: string;
|
|
47
|
-
placeTags: string[];
|
|
48
|
-
createTime: string;
|
|
49
|
-
} | {
|
|
50
|
-
cid: string;
|
|
51
|
-
deviceName: string;
|
|
52
|
-
deviceStatus: string;
|
|
53
|
-
deviceType: string;
|
|
54
|
-
id: string;
|
|
55
|
-
latitude: string;
|
|
56
|
-
longitude: string;
|
|
57
|
-
manufacturerDeviceId: string;
|
|
58
|
-
manufacturerDeviceType: string;
|
|
59
|
-
organizationIds: string[];
|
|
60
|
-
pathId: number[];
|
|
61
|
-
placeId: string;
|
|
62
|
-
sn: string;
|
|
63
|
-
boxNum: string;
|
|
64
|
-
cameraType: null;
|
|
65
|
-
hasFrontEnd: boolean;
|
|
66
|
-
hasStorage: boolean;
|
|
67
|
-
parentId: string;
|
|
68
|
-
accessType: string;
|
|
69
|
-
villageLocationType: string;
|
|
70
|
-
placeTags: string[];
|
|
71
|
-
createTime: string;
|
|
72
|
-
lygroupId?: undefined;
|
|
73
|
-
})[];
|
|
74
|
-
export default data;
|