zhihao-ui 1.3.3 → 1.3.4-5.-alpha.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/dist/es/{BaseInfo-BqJWKOdd.js → BaseInfo-Cu3ME-K_.js} +1 -1
- package/dist/es/{BaseItem-BQbkTxt9.js → BaseItem-Co7KlYD6.js} +3 -3
- package/dist/es/{Button-1UUC8v6b.js → Button-Dp3Eoz3O.js} +2 -2
- package/dist/es/{DatePicker-ByP3ZkhE.js → DatePicker-BilQVlgi.js} +3 -3
- package/dist/es/{DetailHeader-CnZCthjX.js → DetailHeader-DTHE-pQa.js} +3 -3
- package/dist/es/{DetailSubTitle-COQCdb8X.js → DetailSubTitle-BG-q2NNN.js} +2 -2
- package/dist/es/{Dialog-DFQIVnQP.js → Dialog-B0N_UsO3.js} +3 -3
- package/dist/es/{DiyDataTable-D0gTwPB4.js → DiyDataTable-BQaaClFf.js} +4 -4
- package/dist/es/{EditInfoPair-CZpQKhX6.js → EditInfoPair-DwrwCanm.js} +3 -3
- package/dist/es/{FileWrapper-C9Cqt-L8.js → FileWrapper-BDK8YvRB.js} +4 -4
- package/dist/es/{Grid-CfwiS54k.js → Grid-pVjqXcmJ.js} +2 -2
- package/dist/es/{InfoPair-ZKRxEmIC.js → InfoPair-lu2zDhpQ.js} +3 -3
- package/dist/es/{Input-CloA0e6h.js → Input-Du4ztfNG.js} +3 -3
- package/dist/es/{Loading-BXtzvylk.js → Loading-Dc9138dn.js} +2 -2
- package/dist/es/Map-BsyX-AAm.js +2273 -0
- package/dist/es/{MessageBox-BNOuww77.js → MessageBox-CJMqwEqr.js} +2 -2
- package/dist/es/{MoneyInput-CuHL7bEc.js → MoneyInput-CJxSKPIk.js} +8 -8
- package/dist/es/{PageHeadPanel-BroYHTD8.js → PageHeadPanel-BChW8Tal.js} +2 -2
- package/dist/es/{Table-DFGzUqS3.js → Table-CzNjEPnP.js} +5 -5
- package/dist/es/{ToolTips-BBi5iPOb.js → ToolTips-Y6yG2q7L.js} +6 -6
- package/dist/es/index.js +22 -22
- package/dist/es/{utils-BbOeFn3W.js → utils-Co2iJhr8.js} +3 -3
- package/dist/es/{vendor-D-B7bNnH.js → vendor-Crdostgq.js} +8448 -8041
- 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 +119 -0
- 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.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 +5 -2
- 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 -6
- 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 +13 -29
- package/dist/types/components/Map/function/ship/style.d.ts +13 -6
- package/dist/types/components/Map/function/shipTrack.d.ts +14 -20
- package/dist/types/components/Map/index.d.ts +373 -0
- 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 -0
- 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/{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 -103
- package/package.json +1 -1
- package/dist/es/Map-Ce0s7g5Z.js +0 -1700
- package/dist/types/components/Map/utils/util.d.ts +0 -42
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
export declare const ZhMap: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
center: {
|
|
4
|
+
type: import('vue').PropType<import('ol/coordinate').Coordinate>;
|
|
5
|
+
default: [number, number];
|
|
6
|
+
};
|
|
7
|
+
zoom: {
|
|
8
|
+
type: import('vue').PropType<number>;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
layerType: {
|
|
12
|
+
type: import('vue').PropType<"vector" | "satellite">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
showGreenLayer: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
showScale: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
scaleLineUnit: {
|
|
24
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
mapMoveEnd: {
|
|
28
|
+
type: import('vue').PropType<(zoom: number) => void>;
|
|
29
|
+
default: () => void;
|
|
30
|
+
};
|
|
31
|
+
lineDrawEnd: {
|
|
32
|
+
type: import('vue').PropType<(line: any) => void>;
|
|
33
|
+
};
|
|
34
|
+
areaDrawEnd: {
|
|
35
|
+
type: import('vue').PropType<(area: []) => void>;
|
|
36
|
+
default: () => void;
|
|
37
|
+
};
|
|
38
|
+
selectShip: {
|
|
39
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
40
|
+
default: () => void;
|
|
41
|
+
};
|
|
42
|
+
selectPort: {
|
|
43
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
44
|
+
default: () => void;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
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;
|
|
54
|
+
layer: {
|
|
55
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
56
|
+
getGreenTileVisible: () => any;
|
|
57
|
+
getShowLayerType: () => any;
|
|
58
|
+
setShowLayerType: (type: import('./interface').Props["layerType"]) => any;
|
|
59
|
+
};
|
|
60
|
+
ship: {
|
|
61
|
+
render: (...rest: any[]) => any;
|
|
62
|
+
selected: (...rest: any[]) => any;
|
|
63
|
+
filter: (...rest: any[]) => any;
|
|
64
|
+
blinking: (...rest: any[]) => any;
|
|
65
|
+
clear: () => any;
|
|
66
|
+
};
|
|
67
|
+
track: {
|
|
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;
|
|
82
|
+
};
|
|
83
|
+
port: {
|
|
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;
|
|
93
|
+
};
|
|
94
|
+
drawLine: {
|
|
95
|
+
open: () => any;
|
|
96
|
+
close: () => any;
|
|
97
|
+
deleteLine: (id: string) => any;
|
|
98
|
+
setUnit: (unitValue: string) => any;
|
|
99
|
+
getState: () => any;
|
|
100
|
+
};
|
|
101
|
+
drawPolygon: {
|
|
102
|
+
open: () => any;
|
|
103
|
+
close: () => any;
|
|
104
|
+
reset: () => any;
|
|
105
|
+
};
|
|
106
|
+
utils: {
|
|
107
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
108
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
109
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
110
|
+
};
|
|
111
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
112
|
+
center: import('ol/coordinate').Coordinate;
|
|
113
|
+
zoom: number;
|
|
114
|
+
layerType: "vector" | "satellite";
|
|
115
|
+
showGreenLayer: boolean;
|
|
116
|
+
showScale: boolean;
|
|
117
|
+
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
118
|
+
mapMoveEnd: (zoom: number) => void;
|
|
119
|
+
areaDrawEnd: (area: []) => void;
|
|
120
|
+
selectShip: (id: string) => void;
|
|
121
|
+
selectPort: (id: WharfEntity) => void;
|
|
122
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
123
|
+
P: {};
|
|
124
|
+
B: {};
|
|
125
|
+
D: {};
|
|
126
|
+
C: {};
|
|
127
|
+
M: {};
|
|
128
|
+
Defaults: {};
|
|
129
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
130
|
+
center: {
|
|
131
|
+
type: import('vue').PropType<import('ol/coordinate').Coordinate>;
|
|
132
|
+
default: [number, number];
|
|
133
|
+
};
|
|
134
|
+
zoom: {
|
|
135
|
+
type: import('vue').PropType<number>;
|
|
136
|
+
default: number;
|
|
137
|
+
};
|
|
138
|
+
layerType: {
|
|
139
|
+
type: import('vue').PropType<"vector" | "satellite">;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
showGreenLayer: {
|
|
143
|
+
type: import('vue').PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
showScale: {
|
|
147
|
+
type: import('vue').PropType<boolean>;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
scaleLineUnit: {
|
|
151
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
mapMoveEnd: {
|
|
155
|
+
type: import('vue').PropType<(zoom: number) => void>;
|
|
156
|
+
default: () => void;
|
|
157
|
+
};
|
|
158
|
+
lineDrawEnd: {
|
|
159
|
+
type: import('vue').PropType<(line: any) => void>;
|
|
160
|
+
};
|
|
161
|
+
areaDrawEnd: {
|
|
162
|
+
type: import('vue').PropType<(area: []) => void>;
|
|
163
|
+
default: () => void;
|
|
164
|
+
};
|
|
165
|
+
selectShip: {
|
|
166
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
167
|
+
default: () => void;
|
|
168
|
+
};
|
|
169
|
+
selectPort: {
|
|
170
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
171
|
+
default: () => void;
|
|
172
|
+
};
|
|
173
|
+
}>> & Readonly<{}>, {
|
|
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;
|
|
181
|
+
layer: {
|
|
182
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
183
|
+
getGreenTileVisible: () => any;
|
|
184
|
+
getShowLayerType: () => any;
|
|
185
|
+
setShowLayerType: (type: import('./interface').Props["layerType"]) => any;
|
|
186
|
+
};
|
|
187
|
+
ship: {
|
|
188
|
+
render: (...rest: any[]) => any;
|
|
189
|
+
selected: (...rest: any[]) => any;
|
|
190
|
+
filter: (...rest: any[]) => any;
|
|
191
|
+
blinking: (...rest: any[]) => any;
|
|
192
|
+
clear: () => any;
|
|
193
|
+
};
|
|
194
|
+
track: {
|
|
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;
|
|
209
|
+
};
|
|
210
|
+
port: {
|
|
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;
|
|
220
|
+
};
|
|
221
|
+
drawLine: {
|
|
222
|
+
open: () => any;
|
|
223
|
+
close: () => any;
|
|
224
|
+
deleteLine: (id: string) => any;
|
|
225
|
+
setUnit: (unitValue: string) => any;
|
|
226
|
+
getState: () => any;
|
|
227
|
+
};
|
|
228
|
+
drawPolygon: {
|
|
229
|
+
open: () => any;
|
|
230
|
+
close: () => any;
|
|
231
|
+
reset: () => any;
|
|
232
|
+
};
|
|
233
|
+
utils: {
|
|
234
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
235
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
236
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
237
|
+
};
|
|
238
|
+
}, {}, {}, {}, {
|
|
239
|
+
center: import('ol/coordinate').Coordinate;
|
|
240
|
+
zoom: number;
|
|
241
|
+
layerType: "vector" | "satellite";
|
|
242
|
+
showGreenLayer: boolean;
|
|
243
|
+
showScale: boolean;
|
|
244
|
+
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
245
|
+
mapMoveEnd: (zoom: number) => void;
|
|
246
|
+
areaDrawEnd: (area: []) => void;
|
|
247
|
+
selectShip: (id: string) => void;
|
|
248
|
+
selectPort: (id: WharfEntity) => void;
|
|
249
|
+
}>;
|
|
250
|
+
__isFragment?: never;
|
|
251
|
+
__isTeleport?: never;
|
|
252
|
+
__isSuspense?: never;
|
|
253
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
254
|
+
center: {
|
|
255
|
+
type: import('vue').PropType<import('ol/coordinate').Coordinate>;
|
|
256
|
+
default: [number, number];
|
|
257
|
+
};
|
|
258
|
+
zoom: {
|
|
259
|
+
type: import('vue').PropType<number>;
|
|
260
|
+
default: number;
|
|
261
|
+
};
|
|
262
|
+
layerType: {
|
|
263
|
+
type: import('vue').PropType<"vector" | "satellite">;
|
|
264
|
+
default: string;
|
|
265
|
+
};
|
|
266
|
+
showGreenLayer: {
|
|
267
|
+
type: import('vue').PropType<boolean>;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
showScale: {
|
|
271
|
+
type: import('vue').PropType<boolean>;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
scaleLineUnit: {
|
|
275
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
276
|
+
default: string;
|
|
277
|
+
};
|
|
278
|
+
mapMoveEnd: {
|
|
279
|
+
type: import('vue').PropType<(zoom: number) => void>;
|
|
280
|
+
default: () => void;
|
|
281
|
+
};
|
|
282
|
+
lineDrawEnd: {
|
|
283
|
+
type: import('vue').PropType<(line: any) => void>;
|
|
284
|
+
};
|
|
285
|
+
areaDrawEnd: {
|
|
286
|
+
type: import('vue').PropType<(area: []) => void>;
|
|
287
|
+
default: () => void;
|
|
288
|
+
};
|
|
289
|
+
selectShip: {
|
|
290
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
291
|
+
default: () => void;
|
|
292
|
+
};
|
|
293
|
+
selectPort: {
|
|
294
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
295
|
+
default: () => void;
|
|
296
|
+
};
|
|
297
|
+
}>> & Readonly<{}>, {
|
|
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;
|
|
305
|
+
layer: {
|
|
306
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
307
|
+
getGreenTileVisible: () => any;
|
|
308
|
+
getShowLayerType: () => any;
|
|
309
|
+
setShowLayerType: (type: import('./interface').Props["layerType"]) => any;
|
|
310
|
+
};
|
|
311
|
+
ship: {
|
|
312
|
+
render: (...rest: any[]) => any;
|
|
313
|
+
selected: (...rest: any[]) => any;
|
|
314
|
+
filter: (...rest: any[]) => any;
|
|
315
|
+
blinking: (...rest: any[]) => any;
|
|
316
|
+
clear: () => any;
|
|
317
|
+
};
|
|
318
|
+
track: {
|
|
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;
|
|
333
|
+
};
|
|
334
|
+
port: {
|
|
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;
|
|
344
|
+
};
|
|
345
|
+
drawLine: {
|
|
346
|
+
open: () => any;
|
|
347
|
+
close: () => any;
|
|
348
|
+
deleteLine: (id: string) => any;
|
|
349
|
+
setUnit: (unitValue: string) => any;
|
|
350
|
+
getState: () => any;
|
|
351
|
+
};
|
|
352
|
+
drawPolygon: {
|
|
353
|
+
open: () => any;
|
|
354
|
+
close: () => any;
|
|
355
|
+
reset: () => any;
|
|
356
|
+
};
|
|
357
|
+
utils: {
|
|
358
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
359
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
360
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
361
|
+
};
|
|
362
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
363
|
+
center: import('ol/coordinate').Coordinate;
|
|
364
|
+
zoom: number;
|
|
365
|
+
layerType: "vector" | "satellite";
|
|
366
|
+
showGreenLayer: boolean;
|
|
367
|
+
showScale: boolean;
|
|
368
|
+
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
369
|
+
mapMoveEnd: (zoom: number) => void;
|
|
370
|
+
areaDrawEnd: (area: []) => void;
|
|
371
|
+
selectShip: (id: string) => void;
|
|
372
|
+
selectPort: (id: WharfEntity) => void;
|
|
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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface MapViewForm {
|
|
2
|
+
id: number;
|
|
3
|
+
/**省市区地址 */
|
|
4
|
+
address: string;
|
|
5
|
+
/**省份 */
|
|
6
|
+
province: string;
|
|
7
|
+
/**地级市 */
|
|
8
|
+
city: string;
|
|
9
|
+
/**县区 */
|
|
10
|
+
region: string;
|
|
11
|
+
/**详细地址 */
|
|
12
|
+
detailAddress: string;
|
|
13
|
+
/**经纬度 */
|
|
14
|
+
lngLat: string;
|
|
15
|
+
areaCode: string[];
|
|
16
|
+
draggable: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare enum FormTypeEnum {
|
|
19
|
+
Add = 1,
|
|
20
|
+
Edit = 2,
|
|
21
|
+
Scan = 3
|
|
22
|
+
}
|
|
23
|
+
export interface TrackExtend {
|
|
24
|
+
id: string;
|
|
25
|
+
mmsi?: string;
|
|
26
|
+
length: string;
|
|
27
|
+
}
|
|
28
|
+
export interface RenderOption {
|
|
29
|
+
font: string;
|
|
30
|
+
labelOutSize: number;
|
|
31
|
+
labelHeight: number;
|
|
32
|
+
labelAlpha: number;
|
|
33
|
+
labelLineStyle: string;
|
|
34
|
+
labelFillStyle: string;
|
|
35
|
+
labelTextColor: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { SnayiVehicleInfoResponse } from '@/entity/vehicle';
|
|
2
|
+
|
|
3
|
+
export interface SinoiovVehicleInfo {
|
|
4
|
+
/**
|
|
5
|
+
* 车牌号
|
|
6
|
+
*/
|
|
7
|
+
vno: string;
|
|
8
|
+
plateNumber: string;
|
|
9
|
+
/**
|
|
10
|
+
* 状态码
|
|
11
|
+
*/
|
|
12
|
+
status: string;
|
|
13
|
+
/**
|
|
14
|
+
* 车辆最后定位经度
|
|
15
|
+
*/
|
|
16
|
+
lon: string;
|
|
17
|
+
/**
|
|
18
|
+
* 车辆最后定位纬度
|
|
19
|
+
*/
|
|
20
|
+
lat: string;
|
|
21
|
+
/**
|
|
22
|
+
* 车辆地理位置名称
|
|
23
|
+
*/
|
|
24
|
+
adr: string;
|
|
25
|
+
/**
|
|
26
|
+
* 车辆定位时间戳
|
|
27
|
+
*/
|
|
28
|
+
utc: string;
|
|
29
|
+
/**
|
|
30
|
+
* 速度
|
|
31
|
+
*/
|
|
32
|
+
spd: string;
|
|
33
|
+
/**
|
|
34
|
+
* 方向
|
|
35
|
+
*/
|
|
36
|
+
drc: string;
|
|
37
|
+
/**
|
|
38
|
+
* 省
|
|
39
|
+
*/
|
|
40
|
+
province: string;
|
|
41
|
+
/**
|
|
42
|
+
* 市
|
|
43
|
+
*/
|
|
44
|
+
city: string;
|
|
45
|
+
/**
|
|
46
|
+
* 县
|
|
47
|
+
*/
|
|
48
|
+
country: string;
|
|
49
|
+
/**
|
|
50
|
+
* 里程
|
|
51
|
+
*/
|
|
52
|
+
mil: string;
|
|
53
|
+
/**
|
|
54
|
+
* 离线状态
|
|
55
|
+
*/
|
|
56
|
+
offlineState: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* 离线时长
|
|
59
|
+
*/
|
|
60
|
+
offlineTime: number;
|
|
61
|
+
/**
|
|
62
|
+
* 车辆已行驶距
|
|
63
|
+
*/
|
|
64
|
+
runDistance: string;
|
|
65
|
+
/**
|
|
66
|
+
* 剩余运距
|
|
67
|
+
*/
|
|
68
|
+
remainDistance: string;
|
|
69
|
+
/**
|
|
70
|
+
* 预计到达时间
|
|
71
|
+
*/
|
|
72
|
+
estimateArriveTime: string;
|
|
73
|
+
/**
|
|
74
|
+
* 车牌颜色
|
|
75
|
+
*/
|
|
76
|
+
vclColor?: number;
|
|
77
|
+
/**
|
|
78
|
+
* 地图渲染图标
|
|
79
|
+
*/
|
|
80
|
+
icons?: number[];
|
|
81
|
+
}
|
|
82
|
+
export interface SinoiovVehicleSnayiVehicleResponse {
|
|
83
|
+
vehicleInfo: SinoiovVehicleInfo;
|
|
84
|
+
deviceInfo?: SnayiVehicleInfoResponse;
|
|
85
|
+
videoCaptureUrl?: string;
|
|
86
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export interface DrawTextOptions {
|
|
2
|
+
center: number[];
|
|
3
|
+
text: string;
|
|
4
|
+
textColor: string;
|
|
5
|
+
leftIcon?: LeftIconOptions;
|
|
6
|
+
rightIcons?: string[];
|
|
7
|
+
font?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
blinkColors?: string[];
|
|
10
|
+
}
|
|
11
|
+
export interface DrawPolygonOptions {
|
|
12
|
+
points: number[][];
|
|
13
|
+
strokeColor: string;
|
|
14
|
+
fillColor: string;
|
|
15
|
+
shouldClosePath: boolean;
|
|
16
|
+
translation?: number[];
|
|
17
|
+
rotation?: number;
|
|
18
|
+
rotationCenter?: number[];
|
|
19
|
+
scale?: number;
|
|
20
|
+
globalAlpha?: number;
|
|
21
|
+
blinkColors?: string[];
|
|
22
|
+
}
|
|
23
|
+
export interface DrawLabelOptions {
|
|
24
|
+
id: string;
|
|
25
|
+
center: number[];
|
|
26
|
+
text: string;
|
|
27
|
+
color: string;
|
|
28
|
+
textColor: string;
|
|
29
|
+
fill?: string;
|
|
30
|
+
bgColor: string;
|
|
31
|
+
leftIcon?: LeftIconOptions;
|
|
32
|
+
rightIcons?: string[];
|
|
33
|
+
selected?: boolean;
|
|
34
|
+
type?: string;
|
|
35
|
+
blinkColors?: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface LeftIconOptions {
|
|
38
|
+
icon: string;
|
|
39
|
+
color: string;
|
|
40
|
+
}
|
|
41
|
+
export interface DrawLabelFeature {
|
|
42
|
+
center: number[];
|
|
43
|
+
x: number[];
|
|
44
|
+
l: number[];
|
|
45
|
+
r: number[];
|
|
46
|
+
bounds: number[];
|
|
47
|
+
position: number;
|
|
48
|
+
name: string;
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DrawLabelBody {
|
|
52
|
+
font: string;
|
|
53
|
+
labelOutSize: number;
|
|
54
|
+
labelHeight: string;
|
|
55
|
+
shipColor: string;
|
|
56
|
+
lineLength: string;
|
|
57
|
+
}
|