@cloud-app-dev/vidc 2.3.0 → 3.0.2
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/.umirc.ts +2 -2
- package/es/Config/interface.d.ts +2 -1
- package/es/DomMove/demo.d.ts +2 -0
- package/es/DomMove/demo.js +16 -0
- package/es/DomMove/index.d.ts +16 -0
- package/es/DomMove/index.js +145 -0
- package/es/DomMove/utils.d.ts +8 -0
- package/es/{Picture/component/MoveContent → DomMove}/utils.js +19 -0
- package/es/Drawer/index.d.ts +2 -2
- package/es/Drawer/interface.d.ts +4 -174
- package/es/ErrorBoundary/index.d.ts +18 -0
- package/es/ErrorBoundary/index.js +79 -0
- package/es/List/DynamicGridList/Demo.js +40 -27
- package/es/List/DynamicGridList/index.d.ts +20 -29
- package/es/List/DynamicGridList/index.js +40 -63
- package/es/List/DynamicList/index.css +15 -0
- package/es/List/DynamicList/index.d.ts +14 -0
- package/es/List/DynamicList/index.js +105 -0
- package/es/List/DynamicList/interface.d.ts +19 -0
- package/es/List/DynamicList/utils.d.ts +4 -0
- package/es/List/DynamicList/utils.js +6 -0
- package/es/List/GridList/Demo.js +27 -4
- package/es/List/GridList/index.css +1 -0
- package/es/List/GridList/index.d.ts +2 -2
- package/es/List/GridList/index.js +8 -12
- package/es/List/GridList/interface.d.ts +1 -1
- package/es/List/VList/index.js +2 -3
- package/es/List/index.css +2 -54
- package/es/List/index.d.ts +6 -7
- package/es/List/index.js +14 -153
- package/es/List/interface.d.ts +3 -61
- package/es/LoaderApp/index.d.ts +1 -1
- package/es/LoaderApp/index.js +27 -46
- package/es/LoaderApp/interface.d.ts +3 -0
- package/es/LoaderApp/loader.d.ts +6 -7
- package/es/LoaderApp/loader.js +20 -30
- package/es/LoaderApp/sandbox.back.d.ts +18 -0
- package/es/LoaderApp/sandbox.back.js +356 -0
- package/es/LoaderApp/sandbox.d.ts +12 -0
- package/es/LoaderApp/sandbox.js +110 -0
- package/es/LoaderApp/utils.d.ts +5 -1
- package/es/LoaderApp/utils.js +98 -2
- package/es/Map/AMap.d.ts +1572 -0
- package/es/Map/BasicMap/AMapInstance.d.ts +15 -0
- package/es/Map/BasicMap/AMapInstance.js +66 -0
- package/es/Map/BasicMap/LeafletInstance.d.ts +15 -0
- package/es/Map/BasicMap/LeafletInstance.js +98 -0
- package/es/Map/BasicMap/index.css +24 -0
- package/es/Map/BasicMap/index.d.ts +9 -0
- package/es/Map/BasicMap/index.js +103 -0
- package/es/Map/ClusterLayer/hook.d.ts +5 -0
- package/es/Map/ClusterLayer/hook.js +144 -0
- package/es/Map/ClusterLayer/index.css +26 -0
- package/es/Map/ClusterLayer/index.d.ts +5 -0
- package/es/Map/ClusterLayer/index.js +31 -0
- package/es/Map/ClusterLayer/props.d.ts +8 -0
- package/es/Map/Config/index.d.ts +7 -0
- package/es/{InitialConfig → Map/Config}/index.js +35 -36
- package/es/Map/Config/utils.d.ts +2 -0
- package/es/{List/DynamicDeviceList → Map/Config}/utils.js +48 -45
- package/es/Map/Context/index.d.ts +11 -0
- package/es/Map/Context/index.js +66 -0
- package/es/Map/FindPio/index.css +7 -0
- package/es/Map/FindPio/index.d.ts +4 -0
- package/es/Map/FindPio/index.js +16 -0
- package/es/{WorkerFlow/Demo.d.ts → Map/InfoWindow/demo.d.ts} +0 -0
- package/es/{List/DynamicDeviceList/Demo.js → Map/InfoWindow/demo.js} +27 -25
- package/es/Map/InfoWindow/index.d.ts +8 -0
- package/es/Map/InfoWindow/index.js +74 -0
- package/es/Map/LevelCenter/DragMarker/index.d.ts +12 -0
- package/es/Map/LevelCenter/DragMarker/index.js +48 -0
- package/es/{List/DeviceList → Map/LevelCenter}/index.css +0 -0
- package/es/Map/LevelCenter/index.d.ts +13 -0
- package/es/Map/LevelCenter/index.js +42 -0
- package/es/Map/LoaderMap/index.d.ts +12 -0
- package/es/Map/LoaderMap/index.js +58 -0
- package/es/Map/ResetTools/index.css +32 -0
- package/es/Map/ResetTools/index.d.ts +9 -0
- package/es/Map/ResetTools/index.js +61 -0
- package/es/Map/SinglePoint/Marker/index.d.ts +7 -0
- package/es/Map/SinglePoint/Marker/index.js +29 -0
- package/es/Map/SinglePoint/icon/Place_icon_OnLine_Hover.svg +15 -0
- package/es/Map/SinglePoint/icon/Place_icon_OnLine_Normal.svg +15 -0
- package/es/Map/SinglePoint/icon/Place_icon_OutLine_Hover.svg +15 -0
- package/es/Map/SinglePoint/icon/Place_icon_OutLine_Normal.svg +15 -0
- package/es/Map/SinglePoint/index.css +29 -0
- package/es/Map/SinglePoint/index.d.ts +7 -0
- package/es/Map/SinglePoint/index.js +32 -0
- package/es/Map/hook/useMapType.d.ts +4 -0
- package/es/Map/hook/useMapType.js +13 -0
- package/es/Map/icon.d.ts +2 -0
- package/es/Map/icon.js +10 -0
- package/es/Map/index.d.ts +23 -0
- package/es/Map/index.js +25 -0
- package/es/Map/interface.d.ts +55 -0
- package/es/Map/points.json +61247 -0
- package/es/{Picture/component/MoveContent → Map/useMarker}/index.css +0 -0
- package/es/Map/useMarker/index.d.ts +11 -0
- package/es/{WorkerFlow/Form/FormAuth.js → Map/useMarker/index.js} +57 -80
- package/es/Map/withMap/index.d.ts +2 -0
- package/es/Map/withMap/index.js +12 -0
- package/es/Modal/index.js +7 -5
- package/es/Picture/component/RectMenu/index.d.ts +1 -1
- package/es/Picture/index.d.ts +1 -1
- package/es/Picture/index.js +2 -2
- package/es/Player/api/index.d.ts +2 -8
- package/es/Player/api/index.js +29 -35
- package/es/Player/contraller_bar/left_bar.js +2 -2
- package/es/Player/contraller_bar/right_bar.d.ts +1 -1
- package/es/Player/contraller_bar/right_bar.js +13 -27
- package/es/Player/demo.js +21 -24
- package/es/Player/event/index.js +5 -1
- package/es/Player/frontend_player.d.ts +2 -3
- package/es/Player/frontend_player.js +35 -52
- package/es/Player/frontend_timeline.d.ts +3 -2
- package/es/Player/frontend_timeline.js +20 -9
- package/es/Player/live_heart.js +45 -12
- package/es/Player/message.js +23 -12
- package/es/Player/player.d.ts +29 -7
- package/es/Player/segment_player.d.ts +1 -1
- package/es/Player/segment_player.js +50 -39
- package/es/Player/segment_timeline.js +14 -13
- package/es/Player/single_player.js +59 -14
- package/es/Player/timeline.js +8 -6
- package/es/Player/util.d.ts +4 -25
- package/es/Player/util.js +47 -55
- package/es/PlayerExt/index.css +2 -2
- package/es/PlayerExt/index.d.ts +3 -1
- package/es/PlayerExt/index.js +19 -5
- package/es/ScreenPlayer/Live.d.ts +5 -0
- package/es/ScreenPlayer/Live.js +109 -0
- package/es/ScreenPlayer/LiveTools.d.ts +15 -0
- package/es/ScreenPlayer/LiveTools.js +95 -0
- package/es/ScreenPlayer/PlayerWithExt.d.ts +22 -0
- package/es/ScreenPlayer/PlayerWithExt.js +156 -0
- package/es/ScreenPlayer/Record.d.ts +5 -0
- package/es/{WorkerFlow/index.js → ScreenPlayer/Record.js} +286 -273
- package/es/ScreenPlayer/RecordTools.d.ts +17 -0
- package/es/ScreenPlayer/RecordTools.js +102 -0
- package/es/ScreenPlayer/SegmentTimeLine.d.ts +10 -0
- package/es/ScreenPlayer/SegmentTimeLine.js +40 -0
- package/es/ScreenPlayer/TimeSlider.d.ts +127 -0
- package/es/ScreenPlayer/TimeSlider.js +530 -0
- package/es/ScreenPlayer/demo.d.ts +2 -0
- package/es/ScreenPlayer/demo.js +25 -0
- package/es/ScreenPlayer/demo2.d.ts +2 -0
- package/es/ScreenPlayer/demo2.js +153 -0
- package/es/ScreenPlayer/index.css +49 -0
- package/es/ScreenPlayer/index.d.ts +5 -0
- package/es/ScreenPlayer/index.js +8 -0
- package/es/ScreenPlayer/interface.d.ts +81 -0
- package/es/ScreenPlayer/useRecordList.d.ts +3 -0
- package/es/{WorkerFlow/Form/UserAndGroupSelect.js → ScreenPlayer/useRecordList.js} +173 -176
- package/es/ScreenPlayer/useVideoFit.d.ts +5 -0
- package/es/ScreenPlayer/useVideoFit.js +46 -0
- package/es/ScreenPlayer/utils.d.ts +25 -0
- package/es/ScreenPlayer/utils.js +84 -0
- package/es/Timeout/index.d.ts +33 -0
- package/es/Timeout/index.js +83 -0
- package/es/Tree/demo.js +9 -12
- package/es/Tree/index.css +55 -29
- package/es/Tree/index.d.ts +20 -19
- package/es/Tree/index.js +70 -185
- package/es/index.d.ts +8 -9
- package/es/index.js +8 -9
- package/es/useInfiniteScroll/index.d.ts +16 -0
- package/es/{useHttp → useInfiniteScroll}/index.js +79 -43
- package/es/useVirtualList/index.d.ts +13 -0
- package/es/useVirtualList/index.js +175 -0
- package/es/withErrorBoundary/index.d.ts +9 -0
- package/es/withErrorBoundary/index.js +45 -0
- package/package.json +18 -21
- package/release-build.sh +44 -0
- package/test.js +48 -0
- package/es/DeviceIcon/icon.d.ts +0 -9
- package/es/DeviceIcon/icon.js +0 -138
- package/es/DeviceIcon/index.css +0 -8
- package/es/DeviceIcon/index.d.ts +0 -14
- package/es/DeviceIcon/index.js +0 -37
- package/es/DeviceSelect/TreeType.d.ts +0 -7
- package/es/DeviceSelect/TreeType.js +0 -36
- package/es/DeviceSelect/demo.d.ts +0 -3
- package/es/DeviceSelect/demo.js +0 -22
- package/es/DeviceSelect/index.css +0 -11
- package/es/DeviceSelect/index.d.ts +0 -13
- package/es/DeviceSelect/index.js +0 -191
- package/es/Dict/cache.d.ts +0 -3
- package/es/Dict/cache.js +0 -21
- package/es/Dict/device.d.ts +0 -28
- package/es/Dict/device.js +0 -117
- package/es/Dict/hook.d.ts +0 -3
- package/es/Dict/hook.js +0 -98
- package/es/Dict/index.d.ts +0 -9
- package/es/Dict/index.js +0 -10
- package/es/Dict/interface.d.ts +0 -16
- package/es/Dict/utils.d.ts +0 -10
- package/es/Dict/utils.js +0 -44
- package/es/InitialConfig/index.d.ts +0 -8
- package/es/InitialConfig/utils.d.ts +0 -20
- package/es/InitialConfig/utils.js +0 -110
- package/es/InitialRequest/index.d.ts +0 -9
- package/es/InitialRequest/index.js +0 -97
- package/es/InitialRequest/utils.d.ts +0 -10
- package/es/InitialRequest/utils.js +0 -116
- package/es/List/CheckExt.d.ts +0 -9
- package/es/List/CheckExt.js +0 -36
- package/es/List/DeviceList/index.d.ts +0 -11
- package/es/List/DeviceList/index.js +0 -50
- package/es/List/DynamicDeviceList/Demo.d.ts +0 -3
- package/es/List/DynamicDeviceList/index.css +0 -39
- package/es/List/DynamicDeviceList/index.d.ts +0 -12
- package/es/List/DynamicDeviceList/index.js +0 -205
- package/es/List/DynamicDeviceList/interface.d.ts +0 -37
- package/es/List/DynamicDeviceList/utils.d.ts +0 -16
- package/es/List/ListExt/index.css +0 -3
- package/es/List/ListExt/index.d.ts +0 -19
- package/es/List/ListExt/index.js +0 -44
- package/es/Picture/component/MoveContent/index.d.ts +0 -39
- package/es/Picture/component/MoveContent/index.js +0 -244
- package/es/Picture/component/MoveContent/utils.d.ts +0 -4
- package/es/Title/index.css +0 -25
- package/es/Title/index.d.ts +0 -12
- package/es/Title/index.js +0 -30
- package/es/Tree/BaseTree/index.css +0 -64
- package/es/Tree/BaseTree/index.d.ts +0 -24
- package/es/Tree/BaseTree/index.js +0 -83
- package/es/UserSelect/demo.d.ts +0 -3
- package/es/UserSelect/demo.js +0 -21
- package/es/UserSelect/index.css +0 -16
- package/es/UserSelect/index.d.ts +0 -18
- package/es/UserSelect/index.js +0 -194
- package/es/WorkerFlow/Demo.js +0 -57
- package/es/WorkerFlow/Form/Approver.d.ts +0 -10
- package/es/WorkerFlow/Form/Approver.js +0 -33
- package/es/WorkerFlow/Form/Condition.d.ts +0 -11
- package/es/WorkerFlow/Form/Condition.js +0 -235
- package/es/WorkerFlow/Form/EmptyUserSet.d.ts +0 -8
- package/es/WorkerFlow/Form/EmptyUserSet.js +0 -137
- package/es/WorkerFlow/Form/FormAuth.d.ts +0 -8
- package/es/WorkerFlow/Form/GroupList.d.ts +0 -12
- package/es/WorkerFlow/Form/GroupList.js +0 -44
- package/es/WorkerFlow/Form/GroupSelect.d.ts +0 -8
- package/es/WorkerFlow/Form/GroupSelect.js +0 -167
- package/es/WorkerFlow/Form/GroupSelectModalContent.d.ts +0 -6
- package/es/WorkerFlow/Form/GroupSelectModalContent.js +0 -177
- package/es/WorkerFlow/Form/Handle.d.ts +0 -10
- package/es/WorkerFlow/Form/Handle.js +0 -33
- package/es/WorkerFlow/Form/LevelGroupSelect.d.ts +0 -12
- package/es/WorkerFlow/Form/LevelGroupSelect.js +0 -208
- package/es/WorkerFlow/Form/Notifier.d.ts +0 -8
- package/es/WorkerFlow/Form/Notifier.js +0 -16
- package/es/WorkerFlow/Form/UserAndGroupSelect.d.ts +0 -8
- package/es/WorkerFlow/Form/UserSelect.d.ts +0 -8
- package/es/WorkerFlow/Form/UserSelect.js +0 -150
- package/es/WorkerFlow/Form/UserSelectModalContent.d.ts +0 -6
- package/es/WorkerFlow/Form/UserSelectModalContent.js +0 -166
- package/es/WorkerFlow/Form/UserSet.d.ts +0 -14
- package/es/WorkerFlow/Form/UserSet.js +0 -308
- package/es/WorkerFlow/Form/UsersHandleType.d.ts +0 -7
- package/es/WorkerFlow/Form/UsersHandleType.js +0 -32
- package/es/WorkerFlow/Form/utils.d.ts +0 -3
- package/es/WorkerFlow/Form/utils.js +0 -47
- package/es/WorkerFlow/Nodes/Add.d.ts +0 -7
- package/es/WorkerFlow/Nodes/Add.js +0 -98
- package/es/WorkerFlow/Nodes/AddOption.d.ts +0 -10
- package/es/WorkerFlow/Nodes/AddOption.js +0 -23
- package/es/WorkerFlow/Nodes/AddOptionList.d.ts +0 -8
- package/es/WorkerFlow/Nodes/AddOptionList.js +0 -46
- package/es/WorkerFlow/Nodes/Approver.d.ts +0 -11
- package/es/WorkerFlow/Nodes/Approver.js +0 -53
- package/es/WorkerFlow/Nodes/Condition.d.ts +0 -10
- package/es/WorkerFlow/Nodes/Condition.js +0 -140
- package/es/WorkerFlow/Nodes/Constants.d.ts +0 -35
- package/es/WorkerFlow/Nodes/Constants.js +0 -150
- package/es/WorkerFlow/Nodes/End.d.ts +0 -7
- package/es/WorkerFlow/Nodes/End.js +0 -16
- package/es/WorkerFlow/Nodes/Handle.d.ts +0 -11
- package/es/WorkerFlow/Nodes/Handle.js +0 -52
- package/es/WorkerFlow/Nodes/Node.d.ts +0 -8
- package/es/WorkerFlow/Nodes/Node.js +0 -26
- package/es/WorkerFlow/Nodes/Notifier.d.ts +0 -11
- package/es/WorkerFlow/Nodes/Notifier.js +0 -52
- package/es/WorkerFlow/Nodes/Render.d.ts +0 -8
- package/es/WorkerFlow/Nodes/Render.js +0 -16
- package/es/WorkerFlow/Nodes/Start.d.ts +0 -12
- package/es/WorkerFlow/Nodes/Start.js +0 -26
- package/es/WorkerFlow/Nodes/TitleElement.d.ts +0 -10
- package/es/WorkerFlow/Nodes/TitleElement.js +0 -127
- package/es/WorkerFlow/Nodes/Wrap.d.ts +0 -13
- package/es/WorkerFlow/Nodes/Wrap.js +0 -35
- package/es/WorkerFlow/OperatorContext.d.ts +0 -4
- package/es/WorkerFlow/OperatorContext.js +0 -3
- package/es/WorkerFlow/Tools.d.ts +0 -8
- package/es/WorkerFlow/Tools.js +0 -78
- package/es/WorkerFlow/XML/CanvasTag.d.ts +0 -3
- package/es/WorkerFlow/XML/CanvasTag.js +0 -142
- package/es/WorkerFlow/XML/EndEvent.d.ts +0 -1
- package/es/WorkerFlow/XML/EndEvent.js +0 -14
- package/es/WorkerFlow/XML/ExclusiveGateway.d.ts +0 -9
- package/es/WorkerFlow/XML/ExclusiveGateway.js +0 -101
- package/es/WorkerFlow/XML/Root.d.ts +0 -1
- package/es/WorkerFlow/XML/Root.js +0 -5
- package/es/WorkerFlow/XML/StartEvent.d.ts +0 -5
- package/es/WorkerFlow/XML/StartEvent.js +0 -28
- package/es/WorkerFlow/XML/UserTask.d.ts +0 -5
- package/es/WorkerFlow/XML/UserTask.js +0 -93
- package/es/WorkerFlow/XML/index.d.ts +0 -4
- package/es/WorkerFlow/XML/index.js +0 -100
- package/es/WorkerFlow/XML/utils.d.ts +0 -6
- package/es/WorkerFlow/XML/utils.js +0 -97
- package/es/WorkerFlow/data.json +0 -83
- package/es/WorkerFlow/index.css +0 -779
- package/es/WorkerFlow/index.d.ts +0 -13
- package/es/WorkerFlow/interface.d.ts +0 -93
- package/es/WorkerFlow/template.d.ts +0 -2
- package/es/WorkerFlow/template.js +0 -17
- package/es/WorkerFlow/utils.d.ts +0 -14
- package/es/WorkerFlow/utils.js +0 -212
- package/es/useHttp/index.d.ts +0 -8
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "antd/lib/popover/style";
|
|
2
|
+
import _Popover from "antd/lib/popover";
|
|
3
|
+
import React, { useCallback, useContext } from 'react';
|
|
4
|
+
import { mapContext } from '../Context';
|
|
5
|
+
import IconFont from '../../IconFont';
|
|
6
|
+
import "./index.css";
|
|
7
|
+
|
|
8
|
+
function ResetTools(_ref) {
|
|
9
|
+
var onMapReset = _ref.onMapReset,
|
|
10
|
+
onMapZoom = _ref.onMapZoom,
|
|
11
|
+
_ref$className = _ref.className,
|
|
12
|
+
className = _ref$className === void 0 ? '' : _ref$className;
|
|
13
|
+
|
|
14
|
+
var _useContext = useContext(mapContext),
|
|
15
|
+
instance = _useContext.instance;
|
|
16
|
+
|
|
17
|
+
var mapReset = useCallback(function () {
|
|
18
|
+
return onMapReset ? onMapReset() : instance.mapReset();
|
|
19
|
+
}, []);
|
|
20
|
+
var mapZoom = useCallback(function (num) {
|
|
21
|
+
return onMapZoom ? onMapZoom(num) : instance.setZoom(instance.getZoom() + num);
|
|
22
|
+
}, []);
|
|
23
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
className: "map-reset-tool-container ".concat(className)
|
|
25
|
+
}, /*#__PURE__*/React.createElement(_Popover, {
|
|
26
|
+
placement: "left",
|
|
27
|
+
content: "\u590D\u4F4D",
|
|
28
|
+
overlayClassName: "map-rest-tools-item-popup"
|
|
29
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: "map-reset map-tool-icon",
|
|
31
|
+
onClick: mapReset
|
|
32
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
33
|
+
type: "icon-S_Bar_Reduction"
|
|
34
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
className: "map-zoom"
|
|
36
|
+
}, /*#__PURE__*/React.createElement(_Popover, {
|
|
37
|
+
placement: "left",
|
|
38
|
+
content: "\u653E\u5927",
|
|
39
|
+
overlayClassName: "map-rest-tools-item-popup"
|
|
40
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
className: "map-tool-icon",
|
|
42
|
+
onClick: function onClick() {
|
|
43
|
+
return mapZoom(1);
|
|
44
|
+
}
|
|
45
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
46
|
+
type: "icon-S_Edit_LinePlus"
|
|
47
|
+
}))), /*#__PURE__*/React.createElement(_Popover, {
|
|
48
|
+
placement: "left",
|
|
49
|
+
content: "\u7F29\u5C0F",
|
|
50
|
+
overlayClassName: "map-rest-tools-item-popup"
|
|
51
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
52
|
+
className: "map-tool-icon",
|
|
53
|
+
onClick: function onClick() {
|
|
54
|
+
return mapZoom(-1);
|
|
55
|
+
}
|
|
56
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
57
|
+
type: "icon-S_Edit_LineMinus"
|
|
58
|
+
})))));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export default ResetTools;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { mapContext } from '../../Context';
|
|
2
|
+
import React, { useContext, useEffect } from 'react';
|
|
3
|
+
import useMarker from '../../useMarker';
|
|
4
|
+
import { createMapCenterIcon } from '../../icon';
|
|
5
|
+
import useMapType from '../../hook/useMapType';
|
|
6
|
+
|
|
7
|
+
function DragMarker(_ref) {
|
|
8
|
+
var point = _ref.point;
|
|
9
|
+
|
|
10
|
+
var _useContext = useContext(mapContext),
|
|
11
|
+
instance = _useContext.instance;
|
|
12
|
+
|
|
13
|
+
var type = useMapType();
|
|
14
|
+
var marker = useMarker({
|
|
15
|
+
map: instance.map,
|
|
16
|
+
center: type.leaflet ? [point.latitude, point.longitude] : [point.longitude, point.latitude],
|
|
17
|
+
createIcon: function createIcon() {
|
|
18
|
+
return createMapCenterIcon();
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
useEffect(function () {
|
|
22
|
+
if (!marker) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
}, [marker]);
|
|
26
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default DragMarker;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="42px" viewBox="0 0 32 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 53.1 (72631) - https://sketchapp.com -->
|
|
4
|
+
<title>Pin/Place_icon_OnLine_Hover</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.6212809%" id="linearGradient-1">
|
|
8
|
+
<stop stop-color="#FFAA11" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#FF8800" offset="99.9458092%"></stop>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="Pin/Place_icon_OnLine_Hover" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<path d="M1.00434423,15.6354044 C1.19794088,7.51958091 7.83760558,1 16,1 C24.2842712,1 31,7.71572875 31,16 C30.9998244,16.0897703 30.9998244,16.0897703 30.9989602,16.1782909 C30.950438,20.7384914 29.4952742,23.5356184 25.6561981,28.2624877 C25.6757749,28.2383837 25.2318977,28.7844158 25.1092526,28.9357569 C24.5496714,29.6262667 24.1663135,30.111582 23.8,30.6 C23.1834823,31.4220235 22.6648739,32.3836815 22.1216089,33.6454584 C21.9722216,33.9924223 21.8251655,34.3508267 21.6378581,34.8202592 C21.6374881,34.8211867 21.2753944,35.7339452 21.1721398,35.9896234 C19.7447263,39.5241711 18.5293378,41 16,41 C13.4706622,41 12.2552737,39.5241711 10.8278602,35.9896234 C10.7246056,35.7339452 10.3625119,34.8211867 10.3621419,34.8202592 C10.1748345,34.3508267 10.0277784,33.9924223 9.87839109,33.6454584 C9.33512606,32.3836815 8.81651766,31.4220235 8.2,30.6 C7.8336798,30.1115731 7.45031455,29.626249 6.89072268,28.9357269 C6.76807506,28.7843829 6.32418912,28.2383409 6.34376549,28.2624443 C2.50470807,23.5356048 1.04953566,20.7385012 1.00094829,16.1783675 L0.995229017,15.6415888 L1.00434423,15.6354044 Z" stroke="#EE6600" stroke-width="2" fill="url(#linearGradient-1)"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="42px" viewBox="0 0 32 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 53.1 (72631) - https://sketchapp.com -->
|
|
4
|
+
<title>Pin/Place_icon_OnLine_Normal</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.7293397%" id="linearGradient-1">
|
|
8
|
+
<stop stop-color="#FFAA11" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#FF8800" offset="99.9458092%"></stop>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="Pin/Place_icon_OnLine_Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<path d="M2.00098319,16.1676511 C2.00032834,16.1118453 2,16.055961 2,16 C2,8.2680135 8.2680135,2 16,2 C23.7319865,2 30,8.2680135 30,16 C30,16.055961 29.9996717,16.1118453 29.9990168,16.1676511 C29.9309947,22.5604821 25.9740951,26.0345399 23,30 C20,34 20,40 16,40 C12,40 12,34 9,30 C6.02590494,26.0345399 2.06900528,22.5604821 2.00089154,16.1677133 Z" fill="url(#linearGradient-1)"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="42px" viewBox="0 0 32 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 53.1 (72631) - https://sketchapp.com -->
|
|
4
|
+
<title>Pin/Place_icon_OutLine_Hover</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
8
|
+
<stop stop-color="#A3ACBF" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#8D96A9" stop-opacity="0.95" offset="100%"></stop>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="Pin/Place_icon_OutLine_Hover" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<path d="M1.00434423,15.6354044 C1.19794088,7.51958091 7.83760558,1 16,1 C24.2842712,1 31,7.71572875 31,16 C30.9998244,16.0897703 30.9998244,16.0897703 30.9989602,16.1782909 C30.950438,20.7384914 29.4952742,23.5356184 25.6561981,28.2624877 C25.6757749,28.2383837 25.2318977,28.7844158 25.1092526,28.9357569 C24.5496714,29.6262667 24.1663135,30.111582 23.8,30.6 C23.1834823,31.4220235 22.6648739,32.3836815 22.1216089,33.6454584 C21.9722216,33.9924223 21.8251655,34.3508267 21.6378581,34.8202592 C21.6374881,34.8211867 21.2753944,35.7339452 21.1721398,35.9896234 C19.7447263,39.5241711 18.5293378,41 16,41 C13.4706622,41 12.2552737,39.5241711 10.8278602,35.9896234 C10.7246056,35.7339452 10.3625119,34.8211867 10.3621419,34.8202592 C10.1748345,34.3508267 10.0277784,33.9924223 9.87839109,33.6454584 C9.33512606,32.3836815 8.81651766,31.4220235 8.2,30.6 C7.8336798,30.1115731 7.45031455,29.626249 6.89072268,28.9357269 C6.76807506,28.7843829 6.32418912,28.2383409 6.34376549,28.2624443 C2.50470807,23.5356048 1.04953566,20.7385012 1.00094829,16.1783675 L0.995229017,15.6415888 L1.00434423,15.6354044 Z" stroke="#676F7F" stroke-width="2" fill="url(#linearGradient-1)"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="42px" viewBox="0 0 32 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 53.1 (72631) - https://sketchapp.com -->
|
|
4
|
+
<title>Pin/Place_icon_OutLine_Normal</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
8
|
+
<stop stop-color="#A3ACBF" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#8D96A9" stop-opacity="0.95" offset="100%"></stop>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="Pin/Place_icon_OutLine_Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<path d="M2.00098319,16.1676511 C2.00032834,16.1118453 2,16.055961 2,16 C2,8.2680135 8.2680135,2 16,2 C23.7319865,2 30,8.2680135 30,16 C30,16.055961 29.9996717,16.1118453 29.9990168,16.1676511 C29.9309947,22.5604821 25.9740951,26.0345399 23,30 C20,34 20,40 16,40 C12,40 12,34 9,30 C6.02590494,26.0345399 2.06900528,22.5604821 2.00089154,16.1677133 Z" fill="url(#linearGradient-1)"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.single-point-map-container .marker-center-layout {
|
|
2
|
+
text-align: center;
|
|
3
|
+
width: 32px;
|
|
4
|
+
height: 42px;
|
|
5
|
+
margin-top: -10px;
|
|
6
|
+
}
|
|
7
|
+
.single-point-map-container .marker-center-layout > div {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
padding-top: 6px;
|
|
11
|
+
}
|
|
12
|
+
.single-point-map-container .marker-center-layout .onLine {
|
|
13
|
+
background: url('./icon/Place_icon_OnLine_Normal.svg') no-repeat;
|
|
14
|
+
}
|
|
15
|
+
.single-point-map-container .marker-center-layout .onLine:hover {
|
|
16
|
+
background: url('./icon/Place_icon_OnLine_Hover.svg') no-repeat;
|
|
17
|
+
}
|
|
18
|
+
.single-point-map-container .marker-center-layout .outLine {
|
|
19
|
+
background: url('./icon/Place_icon_OutLine_Normal.svg') no-repeat;
|
|
20
|
+
}
|
|
21
|
+
.single-point-map-container .marker-center-layout .outLine:hover {
|
|
22
|
+
background: url('./icon/Place_icon_OutLine_Hover.svg') no-repeat;
|
|
23
|
+
}
|
|
24
|
+
.single-point-map-container .marker-center-layout .anticon {
|
|
25
|
+
font-size: 18px;
|
|
26
|
+
color: white;
|
|
27
|
+
position: relative;
|
|
28
|
+
top: 1px;
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { useCallback, useContext, useEffect, useMemo } from 'react';
|
|
2
|
+
import ResetTools from '../ResetTools';
|
|
3
|
+
import Marker from './Marker';
|
|
4
|
+
import withMap from '../withMap';
|
|
5
|
+
import { mapContext } from '../Context';
|
|
6
|
+
import useMapType from '../hook/useMapType';
|
|
7
|
+
import "./index.css";
|
|
8
|
+
|
|
9
|
+
function SinglePoint(_ref) {
|
|
10
|
+
var point = _ref.point;
|
|
11
|
+
|
|
12
|
+
var _useContext = useContext(mapContext),
|
|
13
|
+
instance = _useContext.instance;
|
|
14
|
+
|
|
15
|
+
var type = useMapType();
|
|
16
|
+
var defaultCenter = useMemo(function () {
|
|
17
|
+
return type.AMap ? [point.longitude, point.latitude] : [point.latitude, point.longitude];
|
|
18
|
+
}, [point.latitude, point.longitude, instance]);
|
|
19
|
+
var mapRest = useCallback(function () {
|
|
20
|
+
return instance.setZoomAndCenter(instance.config.zoom, defaultCenter);
|
|
21
|
+
}, [defaultCenter]);
|
|
22
|
+
useEffect(function () {
|
|
23
|
+
return mapRest();
|
|
24
|
+
}, []);
|
|
25
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ResetTools, {
|
|
26
|
+
onMapReset: mapRest
|
|
27
|
+
}), /*#__PURE__*/React.createElement(Marker, {
|
|
28
|
+
point: point
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default withMap(SinglePoint, 'single-point-map-container');
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
|
|
7
|
+
return useMemo(function () {
|
|
8
|
+
return {
|
|
9
|
+
leaflet: glaobalKey === 'L',
|
|
10
|
+
AMap: glaobalKey === 'AMap'
|
|
11
|
+
};
|
|
12
|
+
}, [glaobalKey]);
|
|
13
|
+
}
|
package/es/Map/icon.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import ClusterLayer from './ClusterLayer';
|
|
2
|
+
import Config from './Config';
|
|
3
|
+
import Context from './Context';
|
|
4
|
+
import FindPio from './FindPio';
|
|
5
|
+
import LoaderMap from './LoaderMap';
|
|
6
|
+
import BasicMap from './BasicMap';
|
|
7
|
+
import ResetTools from './ResetTools';
|
|
8
|
+
import useMarker from './useMarker';
|
|
9
|
+
import withMap from './withMap';
|
|
10
|
+
declare const Map: {
|
|
11
|
+
ClusterLayer: typeof ClusterLayer;
|
|
12
|
+
Config: typeof Config;
|
|
13
|
+
Context: typeof Context;
|
|
14
|
+
FindPio: typeof FindPio;
|
|
15
|
+
LevelCenter: (props: import("./LevelCenter").ILevelCenter) => JSX.Element;
|
|
16
|
+
LoaderMap: typeof LoaderMap;
|
|
17
|
+
BasicMap: typeof BasicMap;
|
|
18
|
+
ResetTools: typeof ResetTools;
|
|
19
|
+
SinglePoint: (props: import("./SinglePoint").ISinglePoint) => JSX.Element;
|
|
20
|
+
useMarker: typeof useMarker;
|
|
21
|
+
withMap: typeof withMap;
|
|
22
|
+
};
|
|
23
|
+
export default Map;
|
package/es/Map/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import ClusterLayer from './ClusterLayer';
|
|
2
|
+
import Config from './Config';
|
|
3
|
+
import Context from './Context';
|
|
4
|
+
import FindPio from './FindPio';
|
|
5
|
+
import LevelCenter from './LevelCenter';
|
|
6
|
+
import LoaderMap from './LoaderMap';
|
|
7
|
+
import BasicMap from './BasicMap';
|
|
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;
|
|
@@ -0,0 +1,55 @@
|
|
|
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: 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
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface MapPoint {
|
|
38
|
+
latitude: number;
|
|
39
|
+
longitude: number;
|
|
40
|
+
deviceType: string;
|
|
41
|
+
deviceStatus: string;
|
|
42
|
+
deviceName: string;
|
|
43
|
+
cid: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type LMapPlugin = {
|
|
47
|
+
markerClusterGroup: (config: any) => ClusterGroupInterface;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export interface LClusterInterface {
|
|
51
|
+
addTo(map: Map): this;
|
|
52
|
+
addLayers(markers: Marker[]);
|
|
53
|
+
getLayers(): Marker[];
|
|
54
|
+
clearLayers(): void;
|
|
55
|
+
}
|