zhihao-ui 1.3.2 → 1.3.4-alpha.1
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/dist/es/{BaseInfo-DZ0pUsfS.js → BaseInfo-DjMoCl6q.js} +1 -1
- package/dist/es/{BaseItem-C_JbnRPH.js → BaseItem-4-tfe2b_.js} +3 -3
- package/dist/es/{Button-CydCp4hf.js → Button-CvmMyXpk.js} +2 -2
- package/dist/es/{DatePicker-C__sA0-h.js → DatePicker-BJ-uEY5y.js} +3 -3
- package/dist/es/{DetailHeader-bEliAoL-.js → DetailHeader-RmOylZsk.js} +3 -3
- package/dist/es/{DetailSubTitle-COsgdEV-.js → DetailSubTitle-CZ94UNJm.js} +2 -2
- package/dist/es/{Dialog-D-vnJqtW.js → Dialog-BR5jfGEM.js} +3 -3
- package/dist/es/{DiyDataTable-DTMKwxu9.js → DiyDataTable-DEjYnC6P.js} +4 -4
- package/dist/es/{EditInfoPair-C4vN_b9E.js → EditInfoPair-BrrQYpFp.js} +3 -3
- package/dist/es/{FileWrapper-D7KcyVg2.js → FileWrapper-B7CH1kBr.js} +4 -4
- package/dist/es/{Grid-BE-CLeGr.js → Grid-D8kjRsYq.js} +2 -2
- package/dist/es/{InfoPair-T3_TncEu.js → InfoPair-D3rzhvxY.js} +3 -3
- package/dist/es/{Input-C0UdD80I.js → Input-Z4JEw_7x.js} +3 -3
- package/dist/es/{Loading-QlWiWU_L.js → Loading-pR0mL-Hq.js} +2 -2
- package/dist/es/Map-DKkSq-bX.js +2267 -0
- package/dist/es/{MessageBox-B42XuRHh.js → MessageBox-DjwiajIV.js} +2 -2
- package/dist/es/{MoneyInput-BsulLCsJ.js → MoneyInput-K4LEAm4x.js} +5 -5
- package/dist/es/{PageHeadPanel-BlFg_TvH.js → PageHeadPanel-DHbOvTJN.js} +2 -2
- package/dist/es/{Table-Oo-hQWGa.js → Table-DXSMi34f.js} +5 -5
- package/dist/es/{ToolTips-YgMKfoQ0.js → ToolTips-B_bFypmj.js} +6 -6
- package/dist/es/index.js +22 -22
- package/dist/es/{utils-CU-8DWnA.js → utils-Dm3IAG7S.js} +1 -1
- package/dist/es/{vendor-1zIwhmRg.js → vendor-Cu-tp_n1.js} +8448 -8040
- package/dist/index.css +1 -1
- package/dist/types/components/CascaderLoadMore/CascaderLoadMore.vue.d.ts +197 -0
- package/dist/types/components/CascaderLoadMore/index.d.ts +369 -0
- package/dist/types/components/CascaderLoadMore/types.d.ts +7 -0
- package/dist/types/components/Map/Map.vue.d.ts +51 -62
- package/dist/types/components/Map/components/copyright.vue.d.ts +36 -0
- package/dist/types/components/Map/components/measure.vue.d.ts +23 -0
- package/dist/types/components/Map/components/scaleLine.vue.d.ts +2 -1
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +40 -0
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +13 -1
- package/dist/types/components/Map/config/global.d.ts +1 -0
- package/dist/types/components/Map/config/index.d.ts +0 -41
- package/dist/types/components/Map/config/map.d.ts +0 -3
- package/dist/types/components/Map/config.d.ts +32 -0
- package/dist/types/components/Map/enum/car.d.ts +5 -0
- package/dist/types/components/Map/enum/device.d.ts +8 -0
- package/dist/types/components/Map/enum/index.d.ts +5 -0
- package/dist/types/components/Map/enum/openLayers.d.ts +10 -0
- package/dist/types/components/Map/enum/ship.d.ts +50 -0
- package/dist/types/components/Map/function/carTrack.d.ts +7 -14
- package/dist/types/components/Map/function/drawLine.d.ts +4 -4
- package/dist/types/components/Map/function/drawPolygon.d.ts +6 -3
- package/dist/types/components/Map/function/event.d.ts +9 -0
- package/dist/types/components/Map/function/layers.d.ts +8 -5
- package/dist/types/components/Map/function/map.d.ts +14 -10
- package/dist/types/components/Map/function/port.d.ts +7 -7
- package/dist/types/components/Map/function/position.d.ts +8 -0
- package/dist/types/components/Map/function/props.d.ts +5 -2
- package/dist/types/components/Map/function/ship/index.d.ts +14 -7
- package/dist/types/components/Map/function/ship/style.d.ts +18 -4
- package/dist/types/components/Map/function/shipTrack.d.ts +14 -13
- package/dist/types/components/Map/index.d.ts +156 -201
- package/dist/types/components/Map/interface/common/BaseEntity.d.ts +29 -0
- package/dist/types/components/Map/interface/common/page.d.ts +34 -0
- package/dist/types/components/Map/interface/entity/dashboard.d.ts +16 -0
- package/dist/types/components/Map/interface/entity/map.d.ts +36 -0
- package/dist/types/components/Map/interface/entity/point.d.ts +10 -0
- package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +86 -0
- package/dist/types/components/Map/interface/entity/render.d.ts +57 -0
- package/dist/types/components/Map/interface/entity/ship.d.ts +361 -0
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +210 -0
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +27 -0
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +8 -0
- package/dist/types/components/Map/interface/entity/shipTrack.d.ts +56 -0
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +345 -0
- package/dist/types/components/Map/interface/index.d.ts +1 -0
- package/dist/types/components/Map/interface/mapProps.d.ts +7 -7
- package/dist/types/components/Map/interface/position.d.ts +7 -0
- package/dist/types/components/Map/interface/shipInfoVo.d.ts +2 -0
- package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +20 -0
- package/dist/types/components/Map/meta/index.d.ts +5 -5
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +15 -0
- package/dist/types/components/Map/render/canvasRender/geometry.d.ts +22 -0
- package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +5 -0
- package/dist/types/components/Map/render/canvasRender/renderPointStyle.d.ts +10 -0
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +5 -0
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +12 -0
- package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +3 -0
- package/dist/types/components/Map/render/drawPolygon.d.ts +10 -0
- package/dist/types/components/Map/render/renderDashboard.d.ts +12 -0
- package/dist/types/components/Map/render/renderMarker.d.ts +7 -0
- package/dist/types/components/Map/render/renderPoint.d.ts +80 -0
- package/dist/types/components/Map/render/renderShip.d.ts +20 -0
- package/dist/types/components/Map/render/renderTrack.d.ts +12 -0
- package/dist/types/components/Map/render/renderTruck.d.ts +10 -0
- package/dist/types/components/Map/useMap.d.ts +17 -0
- package/dist/types/components/Map/utils/common.d.ts +27 -0
- package/dist/types/components/Map/utils/cursor.d.ts +3 -2
- package/dist/types/components/Map/utils/events.d.ts +4 -2
- package/dist/types/components/Map/utils/format.d.ts +10 -0
- package/dist/types/components/Map/utils/overlay.d.ts +2 -1
- package/dist/types/components/Map/{function → utils}/shipOverlay.d.ts +4 -4
- package/dist/types/components/Map/utils/store.d.ts +32 -0
- package/dist/types/components/Map/utils/track.d.ts +44 -0
- package/dist/types/components/Map/utils/transform.d.ts +44 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +91 -101
- package/package.json +1 -1
- package/dist/es/Map-DMb_YG1p.js +0 -1624
- package/dist/types/components/Map/function/label.d.ts +0 -9
- package/dist/types/components/Map/function/ship.d.ts +0 -34
- package/dist/types/components/Map/function/shipLabel.d.ts +0 -25
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { ShipInfoVo } from '../../interface';
|
|
2
2
|
import { SHIP_DIRECT } from '../../meta/ship';
|
|
3
|
-
import { Feature, Overlay } from 'ol';
|
|
3
|
+
import { Feature, Map as MapOl, Overlay } from 'ol';
|
|
4
4
|
import { Style } from 'ol/style';
|
|
5
5
|
|
|
6
6
|
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
|
|
7
|
-
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
7
|
+
type ShipType = 'ship' | 'triangle';
|
|
8
|
+
export declare const createShipStyle: (mapInstance: MapOl, feature: Feature) => Style;
|
|
9
|
+
export declare const getShipType: (mapInstance: MapOl) => ShipType;
|
|
10
|
+
export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
|
|
11
|
+
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Overlay;
|
|
12
|
+
/**
|
|
13
|
+
* 生成船只元素
|
|
14
|
+
* @param shipData
|
|
15
|
+
*/
|
|
16
|
+
export declare const selectedShipElement: (mapInstance: MapOl, shipData: ShipInfoVo) => HTMLDivElement;
|
|
17
|
+
export declare const createLabelStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => void;
|
|
18
|
+
export declare const createLabelElement: (shipData: ShipInfoVo) => HTMLDivElement;
|
|
19
|
+
export declare const getRightIcons: (ship: ShipInfoVo) => string[];
|
|
20
|
+
export declare function getRandomLineDirection(): LineDirection;
|
|
21
|
+
type LineDirection = 'left-top' | 'left-middle' | 'left-bottom' | 'right-top' | 'right-middle' | 'right-bottom';
|
|
22
|
+
export declare const createLabelFeatureStyle: (feature: Feature, lenNum: number) => Style;
|
|
23
|
+
export {};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { Feature, MapBrowserEvent } from 'ol';
|
|
1
|
+
import { Feature, MapBrowserEvent, Map as MapOl } from 'ol';
|
|
2
2
|
import { ShipTrack } from '../interface/shipTrack';
|
|
3
3
|
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
export declare const useTrackManager: (mapInstance: MapOl) => {
|
|
5
|
+
render: (id: string, list: ShipTrack[], color: string, type?: string, threshold?: number) => Promise<void>;
|
|
6
|
+
remove: () => void;
|
|
7
|
+
play: (id: number | string, speed: number) => void;
|
|
8
|
+
setCenter: (id?: number | string) => void;
|
|
9
|
+
close: (id?: string) => void;
|
|
10
|
+
getLength: (id: string, unit?: number) => {
|
|
11
|
+
id: string;
|
|
12
|
+
length: string;
|
|
13
|
+
};
|
|
14
|
+
handleTrackMapEvent: (trunkFeature: Feature | null, type: string, event?: MapBrowserEvent<PointerEvent>) => void;
|
|
15
|
+
reRenderTrackLine: import('lodash-es').DebouncedFunc<() => void>;
|
|
16
|
+
};
|
|
@@ -21,107 +21,92 @@ export declare const ZhMap: {
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
scaleLineUnit: {
|
|
24
|
-
type: import('vue').PropType<"
|
|
24
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
mapMoveEnd: {
|
|
28
28
|
type: import('vue').PropType<(zoom: number) => void>;
|
|
29
|
-
required: true;
|
|
30
29
|
default: () => void;
|
|
31
30
|
};
|
|
32
31
|
lineDrawEnd: {
|
|
33
32
|
type: import('vue').PropType<(line: any) => void>;
|
|
34
|
-
required: true;
|
|
35
33
|
};
|
|
36
34
|
areaDrawEnd: {
|
|
37
35
|
type: import('vue').PropType<(area: []) => void>;
|
|
38
|
-
required: true;
|
|
39
36
|
default: () => void;
|
|
40
37
|
};
|
|
41
38
|
selectShip: {
|
|
42
39
|
type: import('vue').PropType<(id: string) => void>;
|
|
43
|
-
required: true;
|
|
44
40
|
default: () => void;
|
|
45
41
|
};
|
|
46
42
|
selectPort: {
|
|
47
|
-
type: import('vue').PropType<(id:
|
|
48
|
-
required: true;
|
|
43
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
49
44
|
default: () => void;
|
|
50
45
|
};
|
|
51
46
|
}>> & Readonly<{}>, {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
getView: () =>
|
|
56
|
-
setCenter: (lon: number, lat: number) =>
|
|
57
|
-
|
|
47
|
+
getZoom: () => any;
|
|
48
|
+
setZoom: (zoom: number) => any;
|
|
49
|
+
getInstall: () => any;
|
|
50
|
+
getView: () => any;
|
|
51
|
+
setCenter: (lon: number, lat: number) => any;
|
|
52
|
+
getSize: () => any;
|
|
53
|
+
getCenter: (lon: number, lat: number) => any;
|
|
58
54
|
layer: {
|
|
55
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
59
56
|
getGreenTileVisible: () => any;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
setShowLayerType: (type: import('./interface').Props["layerType"]) => void;
|
|
57
|
+
getShowLayerType: () => any;
|
|
58
|
+
setShowLayerType: (type: import('./interface').Props["layerType"]) => any;
|
|
63
59
|
};
|
|
64
60
|
ship: {
|
|
65
|
-
render: (
|
|
66
|
-
selected: (
|
|
67
|
-
filter: (
|
|
68
|
-
blinking: (
|
|
69
|
-
clear: () =>
|
|
61
|
+
render: (...rest: any[]) => any;
|
|
62
|
+
selected: (...rest: any[]) => any;
|
|
63
|
+
filter: (...rest: any[]) => any;
|
|
64
|
+
blinking: (...rest: any[]) => any;
|
|
65
|
+
clear: () => any;
|
|
70
66
|
};
|
|
71
67
|
track: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
render: (...rest: any[]) => any;
|
|
69
|
+
remove: (...rest: any[]) => any;
|
|
70
|
+
play: (...rest: any[]) => any;
|
|
71
|
+
setCenter: (...rest: any[]) => any;
|
|
72
|
+
close: (...rest: any[]) => any;
|
|
73
|
+
getLength: (...rest: any[]) => any;
|
|
74
|
+
};
|
|
75
|
+
carTrack: {
|
|
76
|
+
location: (...rest: any[]) => any;
|
|
77
|
+
remove: (...rest: any[]) => any;
|
|
78
|
+
renderTrack: (...rest: any[]) => any;
|
|
79
|
+
setCenter: (...rest: any[]) => any;
|
|
80
|
+
closeTrack: () => any;
|
|
81
|
+
playTrack: (...rest: any[]) => any;
|
|
78
82
|
};
|
|
79
83
|
port: {
|
|
80
|
-
render: (portList: import('./interface').WharfEntity[]) =>
|
|
81
|
-
clear: () =>
|
|
82
|
-
selected: (
|
|
84
|
+
render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
|
|
85
|
+
clear: () => any;
|
|
86
|
+
selected: (portData?: import('./interface').WharfEntity) => any;
|
|
87
|
+
};
|
|
88
|
+
position: {
|
|
89
|
+
render: (...rest: any[]) => any;
|
|
90
|
+
selected: (...rest: any[]) => any;
|
|
91
|
+
clearSelected: (...rest: any[]) => any;
|
|
92
|
+
clear: () => any;
|
|
83
93
|
};
|
|
84
94
|
drawLine: {
|
|
85
|
-
open: () =>
|
|
86
|
-
close: () =>
|
|
87
|
-
deleteLine: (id: string) =>
|
|
88
|
-
setUnit: (unitValue: string) =>
|
|
89
|
-
getState: () =>
|
|
95
|
+
open: () => any;
|
|
96
|
+
close: () => any;
|
|
97
|
+
deleteLine: (id: string) => any;
|
|
98
|
+
setUnit: (unitValue: string) => any;
|
|
99
|
+
getState: () => any;
|
|
90
100
|
};
|
|
91
101
|
drawPolygon: {
|
|
92
|
-
open: () =>
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
};
|
|
96
|
-
carTrack: {
|
|
97
|
-
locationTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
98
|
-
renderTruckTrack: (vclN: string, list: any[], color: string, threshold?: number) => void;
|
|
99
|
-
removeTruckIcon: () => void;
|
|
100
|
-
closeTruckTrack: () => void;
|
|
101
|
-
resetTrackView: (id: string | number) => void;
|
|
102
|
-
playTrack: (id: number | string, speed: number) => void;
|
|
102
|
+
open: () => any;
|
|
103
|
+
close: () => any;
|
|
104
|
+
reset: () => any;
|
|
103
105
|
};
|
|
104
106
|
utils: {
|
|
105
|
-
getCalculateExtent: () =>
|
|
106
|
-
convertSixHundredThousandToLatLng: (
|
|
107
|
-
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) =>
|
|
108
|
-
leftTopPoint: {
|
|
109
|
-
lng: number;
|
|
110
|
-
lat: number;
|
|
111
|
-
};
|
|
112
|
-
rightTopPoint: {
|
|
113
|
-
lng: number;
|
|
114
|
-
lat: number;
|
|
115
|
-
};
|
|
116
|
-
rightBottomPoint: {
|
|
117
|
-
lng: number;
|
|
118
|
-
lat: number;
|
|
119
|
-
};
|
|
120
|
-
leftBottomPoint: {
|
|
121
|
-
lng: number;
|
|
122
|
-
lat: number;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
107
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
108
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
109
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
125
110
|
};
|
|
126
111
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
127
112
|
center: import('ol/coordinate').Coordinate;
|
|
@@ -133,7 +118,7 @@ export declare const ZhMap: {
|
|
|
133
118
|
mapMoveEnd: (zoom: number) => void;
|
|
134
119
|
areaDrawEnd: (area: []) => void;
|
|
135
120
|
selectShip: (id: string) => void;
|
|
136
|
-
selectPort: (id:
|
|
121
|
+
selectPort: (id: WharfEntity) => void;
|
|
137
122
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
138
123
|
P: {};
|
|
139
124
|
B: {};
|
|
@@ -163,107 +148,92 @@ export declare const ZhMap: {
|
|
|
163
148
|
default: boolean;
|
|
164
149
|
};
|
|
165
150
|
scaleLineUnit: {
|
|
166
|
-
type: import('vue').PropType<"
|
|
151
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
167
152
|
default: string;
|
|
168
153
|
};
|
|
169
154
|
mapMoveEnd: {
|
|
170
155
|
type: import('vue').PropType<(zoom: number) => void>;
|
|
171
|
-
required: true;
|
|
172
156
|
default: () => void;
|
|
173
157
|
};
|
|
174
158
|
lineDrawEnd: {
|
|
175
159
|
type: import('vue').PropType<(line: any) => void>;
|
|
176
|
-
required: true;
|
|
177
160
|
};
|
|
178
161
|
areaDrawEnd: {
|
|
179
162
|
type: import('vue').PropType<(area: []) => void>;
|
|
180
|
-
required: true;
|
|
181
163
|
default: () => void;
|
|
182
164
|
};
|
|
183
165
|
selectShip: {
|
|
184
166
|
type: import('vue').PropType<(id: string) => void>;
|
|
185
|
-
required: true;
|
|
186
167
|
default: () => void;
|
|
187
168
|
};
|
|
188
169
|
selectPort: {
|
|
189
|
-
type: import('vue').PropType<(id:
|
|
190
|
-
required: true;
|
|
170
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
191
171
|
default: () => void;
|
|
192
172
|
};
|
|
193
173
|
}>> & Readonly<{}>, {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
getView: () =>
|
|
198
|
-
setCenter: (lon: number, lat: number) =>
|
|
199
|
-
|
|
174
|
+
getZoom: () => any;
|
|
175
|
+
setZoom: (zoom: number) => any;
|
|
176
|
+
getInstall: () => any;
|
|
177
|
+
getView: () => any;
|
|
178
|
+
setCenter: (lon: number, lat: number) => any;
|
|
179
|
+
getSize: () => any;
|
|
180
|
+
getCenter: (lon: number, lat: number) => any;
|
|
200
181
|
layer: {
|
|
182
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
201
183
|
getGreenTileVisible: () => any;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
setShowLayerType: (type: import('./interface').Props["layerType"]) => void;
|
|
184
|
+
getShowLayerType: () => any;
|
|
185
|
+
setShowLayerType: (type: import('./interface').Props["layerType"]) => any;
|
|
205
186
|
};
|
|
206
187
|
ship: {
|
|
207
|
-
render: (
|
|
208
|
-
selected: (
|
|
209
|
-
filter: (
|
|
210
|
-
blinking: (
|
|
211
|
-
clear: () =>
|
|
188
|
+
render: (...rest: any[]) => any;
|
|
189
|
+
selected: (...rest: any[]) => any;
|
|
190
|
+
filter: (...rest: any[]) => any;
|
|
191
|
+
blinking: (...rest: any[]) => any;
|
|
192
|
+
clear: () => any;
|
|
212
193
|
};
|
|
213
194
|
track: {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
195
|
+
render: (...rest: any[]) => any;
|
|
196
|
+
remove: (...rest: any[]) => any;
|
|
197
|
+
play: (...rest: any[]) => any;
|
|
198
|
+
setCenter: (...rest: any[]) => any;
|
|
199
|
+
close: (...rest: any[]) => any;
|
|
200
|
+
getLength: (...rest: any[]) => any;
|
|
201
|
+
};
|
|
202
|
+
carTrack: {
|
|
203
|
+
location: (...rest: any[]) => any;
|
|
204
|
+
remove: (...rest: any[]) => any;
|
|
205
|
+
renderTrack: (...rest: any[]) => any;
|
|
206
|
+
setCenter: (...rest: any[]) => any;
|
|
207
|
+
closeTrack: () => any;
|
|
208
|
+
playTrack: (...rest: any[]) => any;
|
|
220
209
|
};
|
|
221
210
|
port: {
|
|
222
|
-
render: (portList: import('./interface').WharfEntity[]) =>
|
|
223
|
-
clear: () =>
|
|
224
|
-
selected: (
|
|
211
|
+
render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
|
|
212
|
+
clear: () => any;
|
|
213
|
+
selected: (portData?: import('./interface').WharfEntity) => any;
|
|
214
|
+
};
|
|
215
|
+
position: {
|
|
216
|
+
render: (...rest: any[]) => any;
|
|
217
|
+
selected: (...rest: any[]) => any;
|
|
218
|
+
clearSelected: (...rest: any[]) => any;
|
|
219
|
+
clear: () => any;
|
|
225
220
|
};
|
|
226
221
|
drawLine: {
|
|
227
|
-
open: () =>
|
|
228
|
-
close: () =>
|
|
229
|
-
deleteLine: (id: string) =>
|
|
230
|
-
setUnit: (unitValue: string) =>
|
|
231
|
-
getState: () =>
|
|
222
|
+
open: () => any;
|
|
223
|
+
close: () => any;
|
|
224
|
+
deleteLine: (id: string) => any;
|
|
225
|
+
setUnit: (unitValue: string) => any;
|
|
226
|
+
getState: () => any;
|
|
232
227
|
};
|
|
233
228
|
drawPolygon: {
|
|
234
|
-
open: () =>
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
};
|
|
238
|
-
carTrack: {
|
|
239
|
-
locationTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
240
|
-
renderTruckTrack: (vclN: string, list: any[], color: string, threshold?: number) => void;
|
|
241
|
-
removeTruckIcon: () => void;
|
|
242
|
-
closeTruckTrack: () => void;
|
|
243
|
-
resetTrackView: (id: string | number) => void;
|
|
244
|
-
playTrack: (id: number | string, speed: number) => void;
|
|
229
|
+
open: () => any;
|
|
230
|
+
close: () => any;
|
|
231
|
+
reset: () => any;
|
|
245
232
|
};
|
|
246
233
|
utils: {
|
|
247
|
-
getCalculateExtent: () =>
|
|
248
|
-
convertSixHundredThousandToLatLng: (
|
|
249
|
-
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) =>
|
|
250
|
-
leftTopPoint: {
|
|
251
|
-
lng: number;
|
|
252
|
-
lat: number;
|
|
253
|
-
};
|
|
254
|
-
rightTopPoint: {
|
|
255
|
-
lng: number;
|
|
256
|
-
lat: number;
|
|
257
|
-
};
|
|
258
|
-
rightBottomPoint: {
|
|
259
|
-
lng: number;
|
|
260
|
-
lat: number;
|
|
261
|
-
};
|
|
262
|
-
leftBottomPoint: {
|
|
263
|
-
lng: number;
|
|
264
|
-
lat: number;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
234
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
235
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
236
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
267
237
|
};
|
|
268
238
|
}, {}, {}, {}, {
|
|
269
239
|
center: import('ol/coordinate').Coordinate;
|
|
@@ -275,7 +245,7 @@ export declare const ZhMap: {
|
|
|
275
245
|
mapMoveEnd: (zoom: number) => void;
|
|
276
246
|
areaDrawEnd: (area: []) => void;
|
|
277
247
|
selectShip: (id: string) => void;
|
|
278
|
-
selectPort: (id:
|
|
248
|
+
selectPort: (id: WharfEntity) => void;
|
|
279
249
|
}>;
|
|
280
250
|
__isFragment?: never;
|
|
281
251
|
__isTeleport?: never;
|
|
@@ -302,107 +272,92 @@ export declare const ZhMap: {
|
|
|
302
272
|
default: boolean;
|
|
303
273
|
};
|
|
304
274
|
scaleLineUnit: {
|
|
305
|
-
type: import('vue').PropType<"
|
|
275
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
306
276
|
default: string;
|
|
307
277
|
};
|
|
308
278
|
mapMoveEnd: {
|
|
309
279
|
type: import('vue').PropType<(zoom: number) => void>;
|
|
310
|
-
required: true;
|
|
311
280
|
default: () => void;
|
|
312
281
|
};
|
|
313
282
|
lineDrawEnd: {
|
|
314
283
|
type: import('vue').PropType<(line: any) => void>;
|
|
315
|
-
required: true;
|
|
316
284
|
};
|
|
317
285
|
areaDrawEnd: {
|
|
318
286
|
type: import('vue').PropType<(area: []) => void>;
|
|
319
|
-
required: true;
|
|
320
287
|
default: () => void;
|
|
321
288
|
};
|
|
322
289
|
selectShip: {
|
|
323
290
|
type: import('vue').PropType<(id: string) => void>;
|
|
324
|
-
required: true;
|
|
325
291
|
default: () => void;
|
|
326
292
|
};
|
|
327
293
|
selectPort: {
|
|
328
|
-
type: import('vue').PropType<(id:
|
|
329
|
-
required: true;
|
|
294
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
330
295
|
default: () => void;
|
|
331
296
|
};
|
|
332
297
|
}>> & Readonly<{}>, {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
getView: () =>
|
|
337
|
-
setCenter: (lon: number, lat: number) =>
|
|
338
|
-
|
|
298
|
+
getZoom: () => any;
|
|
299
|
+
setZoom: (zoom: number) => any;
|
|
300
|
+
getInstall: () => any;
|
|
301
|
+
getView: () => any;
|
|
302
|
+
setCenter: (lon: number, lat: number) => any;
|
|
303
|
+
getSize: () => any;
|
|
304
|
+
getCenter: (lon: number, lat: number) => any;
|
|
339
305
|
layer: {
|
|
306
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
340
307
|
getGreenTileVisible: () => any;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
setShowLayerType: (type: import('./interface').Props["layerType"]) => void;
|
|
308
|
+
getShowLayerType: () => any;
|
|
309
|
+
setShowLayerType: (type: import('./interface').Props["layerType"]) => any;
|
|
344
310
|
};
|
|
345
311
|
ship: {
|
|
346
|
-
render: (
|
|
347
|
-
selected: (
|
|
348
|
-
filter: (
|
|
349
|
-
blinking: (
|
|
350
|
-
clear: () =>
|
|
312
|
+
render: (...rest: any[]) => any;
|
|
313
|
+
selected: (...rest: any[]) => any;
|
|
314
|
+
filter: (...rest: any[]) => any;
|
|
315
|
+
blinking: (...rest: any[]) => any;
|
|
316
|
+
clear: () => any;
|
|
351
317
|
};
|
|
352
318
|
track: {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
319
|
+
render: (...rest: any[]) => any;
|
|
320
|
+
remove: (...rest: any[]) => any;
|
|
321
|
+
play: (...rest: any[]) => any;
|
|
322
|
+
setCenter: (...rest: any[]) => any;
|
|
323
|
+
close: (...rest: any[]) => any;
|
|
324
|
+
getLength: (...rest: any[]) => any;
|
|
325
|
+
};
|
|
326
|
+
carTrack: {
|
|
327
|
+
location: (...rest: any[]) => any;
|
|
328
|
+
remove: (...rest: any[]) => any;
|
|
329
|
+
renderTrack: (...rest: any[]) => any;
|
|
330
|
+
setCenter: (...rest: any[]) => any;
|
|
331
|
+
closeTrack: () => any;
|
|
332
|
+
playTrack: (...rest: any[]) => any;
|
|
359
333
|
};
|
|
360
334
|
port: {
|
|
361
|
-
render: (portList: import('./interface').WharfEntity[]) =>
|
|
362
|
-
clear: () =>
|
|
363
|
-
selected: (
|
|
335
|
+
render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
|
|
336
|
+
clear: () => any;
|
|
337
|
+
selected: (portData?: import('./interface').WharfEntity) => any;
|
|
338
|
+
};
|
|
339
|
+
position: {
|
|
340
|
+
render: (...rest: any[]) => any;
|
|
341
|
+
selected: (...rest: any[]) => any;
|
|
342
|
+
clearSelected: (...rest: any[]) => any;
|
|
343
|
+
clear: () => any;
|
|
364
344
|
};
|
|
365
345
|
drawLine: {
|
|
366
|
-
open: () =>
|
|
367
|
-
close: () =>
|
|
368
|
-
deleteLine: (id: string) =>
|
|
369
|
-
setUnit: (unitValue: string) =>
|
|
370
|
-
getState: () =>
|
|
346
|
+
open: () => any;
|
|
347
|
+
close: () => any;
|
|
348
|
+
deleteLine: (id: string) => any;
|
|
349
|
+
setUnit: (unitValue: string) => any;
|
|
350
|
+
getState: () => any;
|
|
371
351
|
};
|
|
372
352
|
drawPolygon: {
|
|
373
|
-
open: () =>
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
};
|
|
377
|
-
carTrack: {
|
|
378
|
-
locationTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
379
|
-
renderTruckTrack: (vclN: string, list: any[], color: string, threshold?: number) => void;
|
|
380
|
-
removeTruckIcon: () => void;
|
|
381
|
-
closeTruckTrack: () => void;
|
|
382
|
-
resetTrackView: (id: string | number) => void;
|
|
383
|
-
playTrack: (id: number | string, speed: number) => void;
|
|
353
|
+
open: () => any;
|
|
354
|
+
close: () => any;
|
|
355
|
+
reset: () => any;
|
|
384
356
|
};
|
|
385
357
|
utils: {
|
|
386
|
-
getCalculateExtent: () =>
|
|
387
|
-
convertSixHundredThousandToLatLng: (
|
|
388
|
-
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) =>
|
|
389
|
-
leftTopPoint: {
|
|
390
|
-
lng: number;
|
|
391
|
-
lat: number;
|
|
392
|
-
};
|
|
393
|
-
rightTopPoint: {
|
|
394
|
-
lng: number;
|
|
395
|
-
lat: number;
|
|
396
|
-
};
|
|
397
|
-
rightBottomPoint: {
|
|
398
|
-
lng: number;
|
|
399
|
-
lat: number;
|
|
400
|
-
};
|
|
401
|
-
leftBottomPoint: {
|
|
402
|
-
lng: number;
|
|
403
|
-
lat: number;
|
|
404
|
-
};
|
|
405
|
-
};
|
|
358
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
359
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
360
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
406
361
|
};
|
|
407
362
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
408
363
|
center: import('ol/coordinate').Coordinate;
|
|
@@ -414,5 +369,5 @@ export declare const ZhMap: {
|
|
|
414
369
|
mapMoveEnd: (zoom: number) => void;
|
|
415
370
|
areaDrawEnd: (area: []) => void;
|
|
416
371
|
selectShip: (id: string) => void;
|
|
417
|
-
selectPort: (id:
|
|
372
|
+
selectPort: (id: WharfEntity) => void;
|
|
418
373
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ID为Long类型的数据库实体的基类
|
|
3
|
+
*/
|
|
4
|
+
export interface BaseEntity {
|
|
5
|
+
/**
|
|
6
|
+
* 主键
|
|
7
|
+
*/
|
|
8
|
+
id: number;
|
|
9
|
+
/**
|
|
10
|
+
* 删除标志 0 存在 1 删除
|
|
11
|
+
*/
|
|
12
|
+
del: number;
|
|
13
|
+
/**
|
|
14
|
+
* 创建者 id
|
|
15
|
+
*/
|
|
16
|
+
createdBy: number;
|
|
17
|
+
/**
|
|
18
|
+
* 创建者时间
|
|
19
|
+
*/
|
|
20
|
+
createdTime: string;
|
|
21
|
+
/**
|
|
22
|
+
* 修改者 id
|
|
23
|
+
*/
|
|
24
|
+
updatedBy: number;
|
|
25
|
+
/**
|
|
26
|
+
* 修改者时间
|
|
27
|
+
*/
|
|
28
|
+
updatedTime: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 分页信息泛型接口
|
|
3
|
+
*/
|
|
4
|
+
export interface Page<T> {
|
|
5
|
+
/**
|
|
6
|
+
* 内容
|
|
7
|
+
*/
|
|
8
|
+
list: T[];
|
|
9
|
+
/**
|
|
10
|
+
* 返回的是第几页(从 1 开始计数)
|
|
11
|
+
*/
|
|
12
|
+
currentPage: number;
|
|
13
|
+
/**
|
|
14
|
+
* 每页多少条数据
|
|
15
|
+
*/
|
|
16
|
+
pageSize: number;
|
|
17
|
+
/**
|
|
18
|
+
* 数据总条数
|
|
19
|
+
*/
|
|
20
|
+
total: number;
|
|
21
|
+
/**
|
|
22
|
+
* 总页数
|
|
23
|
+
*/
|
|
24
|
+
totalPage: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 分页查询参数
|
|
28
|
+
* */
|
|
29
|
+
export interface PageRequest {
|
|
30
|
+
page?: number;
|
|
31
|
+
size?: number;
|
|
32
|
+
sortKey?: string;
|
|
33
|
+
sortOrder?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Feature } from 'ol';
|
|
2
|
+
|
|
3
|
+
export interface TruckMarker {
|
|
4
|
+
name: string;
|
|
5
|
+
lonlat: [number, number];
|
|
6
|
+
feature: Feature;
|
|
7
|
+
}
|
|
8
|
+
export interface CityGroupStatistics extends TruckMarker {
|
|
9
|
+
count: number;
|
|
10
|
+
}
|
|
11
|
+
export interface HighlightTruck {
|
|
12
|
+
vno: string;
|
|
13
|
+
color: number;
|
|
14
|
+
feature: Feature | null;
|
|
15
|
+
icons: number[];
|
|
16
|
+
}
|