zhihao-ui 1.2.67 → 1.2.68
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-ChbjTGfs.js → BaseInfo-BhnEjLKF.js} +1 -1
- package/dist/es/{BaseItem-Bm9MGEJ9.js → BaseItem-C4NJy1i4.js} +3 -3
- package/dist/es/{Button-MxEBey6B.js → Button-CGndQwez.js} +2 -2
- package/dist/es/DatePicker-Dy1K1cJQ.js +57 -0
- package/dist/es/{DetailHeader-CET8dXQK.js → DetailHeader-DaabNj_4.js} +3 -3
- package/dist/es/{DetailSubTitle-BjRMPd-x.js → DetailSubTitle-CzFZPXeE.js} +2 -2
- package/dist/es/{Dialog-DbLFMPUc.js → Dialog-BUW6ag1B.js} +6 -6
- package/dist/es/DiyDataTable-D-UZVciZ.js +331 -0
- package/dist/es/{EditInfoPair-BFhom7kE.js → EditInfoPair-B2f6zoGY.js} +3 -3
- package/dist/es/{FileWrapper-dvsZpeCo.js → FileWrapper-D4IxJemr.js} +4 -4
- package/dist/es/{Grid-BE291DBa.js → Grid-DIs695lY.js} +2 -2
- package/dist/es/{InfoPair-vBH3EpPX.js → InfoPair-Ce7nDfxD.js} +3 -3
- package/dist/es/{Input-CAfBuNDL.js → Input-C5X2X_YD.js} +3 -3
- package/dist/es/{Loading-DqAl0_Bv.js → Loading-BgoEv5qE.js} +2 -2
- package/dist/es/Map-DbbD377l.js +2235 -0
- package/dist/es/{MessageBox-D40uRNZW.js → MessageBox-DiGH5x51.js} +2 -2
- package/dist/es/{MoneyInput-D1qzFVtu.js → MoneyInput-D0kYiOfP.js} +8 -8
- package/dist/es/{PageHeadPanel-BKSrXbjM.js → PageHeadPanel-C6IdOq6I.js} +2 -2
- package/dist/es/Table-B_3YA1mb.js +1155 -0
- package/dist/es/{ToolTips-CUiNF0wz.js → ToolTips-CiQHxGrw.js} +6 -6
- package/dist/es/index.js +60 -77
- package/dist/es/{utils-B4dXhR36.js → utils-D2wHR1YB.js} +1 -1
- package/dist/es/{vendor-BxbXJpfv.js → vendor-D2mv9LHk.js} +26097 -30615
- package/dist/index.css +1 -1
- package/dist/types/components/BaseItem/index.d.ts +9 -9
- package/dist/types/components/Dialog/Dialog.vue.d.ts +16 -16
- package/dist/types/components/Dialog/index.d.ts +24 -24
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +1 -18
- package/dist/types/components/DiyDataTable/index.d.ts +0 -30
- package/dist/types/components/DiyDataTable/type.d.ts +1 -17
- package/dist/types/components/Map/Map.vue.d.ts +101 -138
- package/dist/types/components/Map/components/scaleLine.vue.d.ts +2 -1
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +7 -3
- package/dist/types/components/Map/function/drawPolygon.d.ts +1 -0
- package/dist/types/components/Map/function/event.d.ts +2 -1
- package/dist/types/components/Map/function/port.d.ts +1 -1
- package/dist/types/components/Map/function/ship/index.d.ts +5 -7
- package/dist/types/components/Map/function/ship/style.d.ts +3 -3
- package/dist/types/components/Map/function/shipTrack.d.ts +4 -4
- package/dist/types/components/Map/index.d.ts +324 -390
- package/dist/types/components/Map/interface/index.d.ts +6 -13
- package/dist/types/components/Map/interface/mapProps.d.ts +3 -3
- package/dist/types/components/Map/interface/shipInfoVo.d.ts +2 -0
- package/dist/types/components/Map/meta/index.d.ts +5 -0
- package/dist/types/components/Map/types.d.ts +1 -13
- package/dist/types/components/Map/utils/shipOverlay.d.ts +3 -3
- package/dist/types/components/Table/types.d.ts +0 -1
- package/dist/types/components/ToolTips/index.d.ts +12 -12
- package/dist/types/components/index.d.ts +0 -1
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +130 -604
- package/package.json +1 -1
- package/dist/es/CascaderLoadMore-DlILOdn-.js +0 -241
- package/dist/es/DatePicker-CmHAGAfV.js +0 -73
- package/dist/es/DiyDataTable-Dl9cbZPM.js +0 -364
- package/dist/es/Map-Ds8BCcrZ.js +0 -2528
- package/dist/es/Table-oEih0-VJ.js +0 -1167
|
@@ -1,146 +1,125 @@
|
|
|
1
1
|
export declare const ZhMap: {
|
|
2
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
|
+
};
|
|
3
7
|
zoom: {
|
|
4
|
-
type: import('vue').PropType<number
|
|
5
|
-
|
|
8
|
+
type: import('vue').PropType<number>;
|
|
9
|
+
default: number;
|
|
6
10
|
};
|
|
7
|
-
|
|
8
|
-
type: import('vue').PropType<
|
|
9
|
-
|
|
11
|
+
layerType: {
|
|
12
|
+
type: import('vue').PropType<"vector" | "satellite">;
|
|
13
|
+
default: string;
|
|
10
14
|
};
|
|
11
|
-
|
|
12
|
-
type: import('vue').PropType<
|
|
13
|
-
|
|
15
|
+
showGreenLayer: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
14
18
|
};
|
|
15
|
-
|
|
16
|
-
type: import('vue').PropType<
|
|
17
|
-
|
|
19
|
+
showScale: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
18
22
|
};
|
|
19
|
-
|
|
20
|
-
type: import('vue').PropType<
|
|
23
|
+
scaleLineUnit: {
|
|
24
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
25
|
+
default: string;
|
|
21
26
|
};
|
|
22
|
-
|
|
23
|
-
type: import('vue').PropType<
|
|
27
|
+
mapMoveEnd: {
|
|
28
|
+
type: import('vue').PropType<(zoom: number) => void>;
|
|
29
|
+
default: () => void;
|
|
24
30
|
};
|
|
25
|
-
|
|
26
|
-
type: import('vue').PropType<
|
|
31
|
+
lineDrawEnd: {
|
|
32
|
+
type: import('vue').PropType<(line: any) => void>;
|
|
27
33
|
};
|
|
28
|
-
|
|
29
|
-
type: import('vue').PropType<
|
|
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;
|
|
30
82
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
clearSelectFeature: () => void;
|
|
54
|
-
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
55
|
-
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo, hidden?: boolean) => void;
|
|
56
|
-
clearShipData: (clearSelect?: boolean) => void;
|
|
57
|
-
showTracks: import('vue').Ref<import('./interface').TrackExtend[], import('./interface').TrackExtend[]>;
|
|
58
|
-
removeAllTrackLayer: () => void;
|
|
59
|
-
switchFilterItem: (key: import('./enum').SWITCH_BTN, value: boolean) => void;
|
|
60
|
-
rerenderShip: () => void;
|
|
61
|
-
switchGreenDot: () => void;
|
|
62
|
-
zoomTruckIcon: () => void;
|
|
63
|
-
renderTruckTrack: (vclN: string, list: any[], color: string, threshold?: number) => void;
|
|
64
|
-
drawCustomContent: (id: string, centerPixel: number[], html: string, positioning?: import('ol/Overlay').Positioning, draggable?: boolean, clear?: boolean) => import('ol').Overlay | undefined;
|
|
65
|
-
removerLayer: (index: number, id: string) => void;
|
|
66
|
-
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
67
|
-
setMarkerPosition: (val: string) => void;
|
|
68
|
-
getZoomAndCenter: () => {
|
|
69
|
-
zoom: number;
|
|
70
|
-
center: any[];
|
|
71
|
-
} | null;
|
|
72
|
-
setCenter: (lonLat: number[]) => null | undefined;
|
|
73
|
-
deleteLabelFromArray: () => void;
|
|
74
|
-
drawPolygonTool: {
|
|
75
|
-
addInteraction: (callback?: Function) => void;
|
|
76
|
-
removeInteraction: () => void;
|
|
77
|
-
initFeature: (callback?: Function) => void;
|
|
78
|
-
reset: () => void;
|
|
79
|
-
destroy: () => void;
|
|
80
|
-
};
|
|
81
|
-
setMapInstance: () => void;
|
|
82
|
-
store: {
|
|
83
|
-
showDrawLayer: () => boolean;
|
|
84
|
-
};
|
|
85
|
-
config: {
|
|
86
|
-
mapZoom: {
|
|
87
|
-
default: number;
|
|
88
|
-
min: number;
|
|
89
|
-
max: number;
|
|
90
|
-
findShipMin: number;
|
|
91
|
-
findShip: number;
|
|
92
|
-
findTruck: number;
|
|
93
|
-
shipGreenDotMax: number;
|
|
94
|
-
truckDefault: number;
|
|
95
|
-
truckStatistics: number;
|
|
96
|
-
shipModelMin: number;
|
|
97
|
-
shipModelMax: number;
|
|
98
|
-
markerPosition: number;
|
|
99
|
-
};
|
|
100
|
-
projection: {
|
|
101
|
-
data: string;
|
|
102
|
-
mercator: string;
|
|
103
|
-
};
|
|
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;
|
|
104
105
|
};
|
|
105
106
|
utils: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
lng: number;
|
|
123
|
-
lat: number;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
lonLatToMercator: (center: [number, number]) => number[];
|
|
127
|
-
mercatorToLonLat: (center: [number, number], type?: string) => number[] | {
|
|
128
|
-
lon: number;
|
|
129
|
-
lat: number;
|
|
130
|
-
};
|
|
131
|
-
calculateBoundingBox: (coordinates: [number, number][]) => number[];
|
|
132
|
-
transform: typeof import('ol/proj').transform;
|
|
133
|
-
};
|
|
134
|
-
format: {
|
|
135
|
-
formatLength: (line: import('ol/geom').LineString, unit: number) => string;
|
|
136
|
-
convertSixHundredThousandToLatLng: (valueX: number | string, valueY: number | string) => [lng: number, lat: number];
|
|
137
|
-
formatArea: (polygon: import('ol/geom').Polygon | import('ol/geom').Geometry, unit: number) => string | undefined;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
141
|
-
zoomChanged: (...args: any[]) => void;
|
|
142
|
-
extentChanged: (...args: any[]) => void;
|
|
143
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
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, {
|
|
144
123
|
P: {};
|
|
145
124
|
B: {};
|
|
146
125
|
D: {};
|
|
@@ -148,292 +127,247 @@ export declare const ZhMap: {
|
|
|
148
127
|
M: {};
|
|
149
128
|
Defaults: {};
|
|
150
129
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
130
|
+
center: {
|
|
131
|
+
type: import('vue').PropType<import('ol/coordinate').Coordinate>;
|
|
132
|
+
default: [number, number];
|
|
133
|
+
};
|
|
151
134
|
zoom: {
|
|
152
|
-
type: import('vue').PropType<number
|
|
153
|
-
|
|
135
|
+
type: import('vue').PropType<number>;
|
|
136
|
+
default: number;
|
|
154
137
|
};
|
|
155
|
-
|
|
156
|
-
type: import('vue').PropType<
|
|
157
|
-
|
|
138
|
+
layerType: {
|
|
139
|
+
type: import('vue').PropType<"vector" | "satellite">;
|
|
140
|
+
default: string;
|
|
158
141
|
};
|
|
159
|
-
|
|
160
|
-
type: import('vue').PropType<
|
|
161
|
-
|
|
142
|
+
showGreenLayer: {
|
|
143
|
+
type: import('vue').PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
162
145
|
};
|
|
163
|
-
|
|
164
|
-
type: import('vue').PropType<
|
|
165
|
-
|
|
146
|
+
showScale: {
|
|
147
|
+
type: import('vue').PropType<boolean>;
|
|
148
|
+
default: boolean;
|
|
166
149
|
};
|
|
167
|
-
|
|
168
|
-
type: import('vue').PropType<
|
|
150
|
+
scaleLineUnit: {
|
|
151
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
152
|
+
default: string;
|
|
169
153
|
};
|
|
170
|
-
|
|
171
|
-
type: import('vue').PropType<
|
|
154
|
+
mapMoveEnd: {
|
|
155
|
+
type: import('vue').PropType<(zoom: number) => void>;
|
|
156
|
+
default: () => void;
|
|
172
157
|
};
|
|
173
|
-
|
|
174
|
-
type: import('vue').PropType<
|
|
158
|
+
lineDrawEnd: {
|
|
159
|
+
type: import('vue').PropType<(line: any) => void>;
|
|
175
160
|
};
|
|
176
|
-
|
|
177
|
-
type: import('vue').PropType<
|
|
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;
|
|
178
168
|
};
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
truckDefault: number;
|
|
243
|
-
truckStatistics: number;
|
|
244
|
-
shipModelMin: number;
|
|
245
|
-
shipModelMax: number;
|
|
246
|
-
markerPosition: number;
|
|
247
|
-
};
|
|
248
|
-
projection: {
|
|
249
|
-
data: string;
|
|
250
|
-
mercator: string;
|
|
251
|
-
};
|
|
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;
|
|
252
232
|
};
|
|
253
233
|
utils: {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
lng: number;
|
|
271
|
-
lat: number;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
lonLatToMercator: (center: [number, number]) => number[];
|
|
275
|
-
mercatorToLonLat: (center: [number, number], type?: string) => number[] | {
|
|
276
|
-
lon: number;
|
|
277
|
-
lat: number;
|
|
278
|
-
};
|
|
279
|
-
calculateBoundingBox: (coordinates: [number, number][]) => number[];
|
|
280
|
-
transform: typeof import('ol/proj').transform;
|
|
281
|
-
};
|
|
282
|
-
format: {
|
|
283
|
-
formatLength: (line: import('ol/geom').LineString, unit: number) => string;
|
|
284
|
-
convertSixHundredThousandToLatLng: (valueX: number | string, valueY: number | string) => [lng: number, lat: number];
|
|
285
|
-
formatArea: (polygon: import('ol/geom').Polygon | import('ol/geom').Geometry, unit: number) => string | undefined;
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
}, {}, {}, {}, {}>;
|
|
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
|
+
}>;
|
|
289
250
|
__isFragment?: never;
|
|
290
251
|
__isTeleport?: never;
|
|
291
252
|
__isSuspense?: never;
|
|
292
253
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
254
|
+
center: {
|
|
255
|
+
type: import('vue').PropType<import('ol/coordinate').Coordinate>;
|
|
256
|
+
default: [number, number];
|
|
257
|
+
};
|
|
293
258
|
zoom: {
|
|
294
|
-
type: import('vue').PropType<number
|
|
295
|
-
|
|
259
|
+
type: import('vue').PropType<number>;
|
|
260
|
+
default: number;
|
|
296
261
|
};
|
|
297
|
-
|
|
298
|
-
type: import('vue').PropType<
|
|
299
|
-
|
|
262
|
+
layerType: {
|
|
263
|
+
type: import('vue').PropType<"vector" | "satellite">;
|
|
264
|
+
default: string;
|
|
265
|
+
};
|
|
266
|
+
showGreenLayer: {
|
|
267
|
+
type: import('vue').PropType<boolean>;
|
|
268
|
+
default: boolean;
|
|
300
269
|
};
|
|
301
|
-
|
|
302
|
-
type: import('vue').PropType<
|
|
303
|
-
|
|
270
|
+
showScale: {
|
|
271
|
+
type: import('vue').PropType<boolean>;
|
|
272
|
+
default: boolean;
|
|
304
273
|
};
|
|
305
|
-
|
|
306
|
-
type: import('vue').PropType<"
|
|
307
|
-
|
|
274
|
+
scaleLineUnit: {
|
|
275
|
+
type: import('vue').PropType<"imperial" | "nautical" | "metric">;
|
|
276
|
+
default: string;
|
|
308
277
|
};
|
|
309
|
-
|
|
310
|
-
type: import('vue').PropType<
|
|
278
|
+
mapMoveEnd: {
|
|
279
|
+
type: import('vue').PropType<(zoom: number) => void>;
|
|
280
|
+
default: () => void;
|
|
311
281
|
};
|
|
312
|
-
|
|
313
|
-
type: import('vue').PropType<
|
|
282
|
+
lineDrawEnd: {
|
|
283
|
+
type: import('vue').PropType<(line: any) => void>;
|
|
314
284
|
};
|
|
315
|
-
|
|
316
|
-
type: import('vue').PropType<
|
|
285
|
+
areaDrawEnd: {
|
|
286
|
+
type: import('vue').PropType<(area: []) => void>;
|
|
287
|
+
default: () => void;
|
|
317
288
|
};
|
|
318
|
-
|
|
319
|
-
type: import('vue').PropType<
|
|
289
|
+
selectShip: {
|
|
290
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
291
|
+
default: () => void;
|
|
320
292
|
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
}>, {
|
|
325
|
-
mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
|
|
326
|
-
initMap: () => void;
|
|
327
|
-
pointRender: (mapInstance: import('ol').Map, options: {
|
|
328
|
-
color: string;
|
|
329
|
-
activeUrl?: string;
|
|
330
|
-
url?: string;
|
|
331
|
-
activeColor?: string;
|
|
332
|
-
}) => import('./render/renderPoint').PointMarkerClass;
|
|
333
|
-
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
334
|
-
renderShip: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
|
|
335
|
-
renderTrack: (mmsi: string, list: any[], color: string, threshold?: number) => void;
|
|
336
|
-
findTruck: (vehicleInfo?: import('./interface').VehicleInfo, extendHtml?: string) => Promise<void>;
|
|
337
|
-
removeTruckIcon: () => void;
|
|
338
|
-
clearAllTruck: () => void;
|
|
339
|
-
closeTrack: (clearAll?: boolean) => void;
|
|
340
|
-
closeTruckTrack: () => void;
|
|
341
|
-
resetTrackView: (id?: number | string) => void;
|
|
342
|
-
playTrack: (id: number | string, speed: number) => void;
|
|
343
|
-
clearSelectFeature: () => void;
|
|
344
|
-
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
345
|
-
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo, hidden?: boolean) => void;
|
|
346
|
-
clearShipData: (clearSelect?: boolean) => void;
|
|
347
|
-
showTracks: import('vue').Ref<import('./interface').TrackExtend[], import('./interface').TrackExtend[]>;
|
|
348
|
-
removeAllTrackLayer: () => void;
|
|
349
|
-
switchFilterItem: (key: import('./enum').SWITCH_BTN, value: boolean) => void;
|
|
350
|
-
rerenderShip: () => void;
|
|
351
|
-
switchGreenDot: () => void;
|
|
352
|
-
zoomTruckIcon: () => void;
|
|
353
|
-
renderTruckTrack: (vclN: string, list: any[], color: string, threshold?: number) => void;
|
|
354
|
-
drawCustomContent: (id: string, centerPixel: number[], html: string, positioning?: import('ol/Overlay').Positioning, draggable?: boolean, clear?: boolean) => import('ol').Overlay | undefined;
|
|
355
|
-
removerLayer: (index: number, id: string) => void;
|
|
356
|
-
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
357
|
-
setMarkerPosition: (val: string) => void;
|
|
358
|
-
getZoomAndCenter: () => {
|
|
359
|
-
zoom: number;
|
|
360
|
-
center: any[];
|
|
361
|
-
} | null;
|
|
362
|
-
setCenter: (lonLat: number[]) => null | undefined;
|
|
363
|
-
deleteLabelFromArray: () => void;
|
|
364
|
-
drawPolygonTool: {
|
|
365
|
-
addInteraction: (callback?: Function) => void;
|
|
366
|
-
removeInteraction: () => void;
|
|
367
|
-
initFeature: (callback?: Function) => void;
|
|
368
|
-
reset: () => void;
|
|
369
|
-
destroy: () => void;
|
|
293
|
+
selectPort: {
|
|
294
|
+
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
295
|
+
default: () => void;
|
|
370
296
|
};
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
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;
|
|
374
310
|
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
findShip: number;
|
|
382
|
-
findTruck: number;
|
|
383
|
-
shipGreenDotMax: number;
|
|
384
|
-
truckDefault: number;
|
|
385
|
-
truckStatistics: number;
|
|
386
|
-
shipModelMin: number;
|
|
387
|
-
shipModelMax: number;
|
|
388
|
-
markerPosition: number;
|
|
389
|
-
};
|
|
390
|
-
projection: {
|
|
391
|
-
data: string;
|
|
392
|
-
mercator: string;
|
|
393
|
-
};
|
|
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;
|
|
394
317
|
};
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
calculateBoundingBox: (coordinates: [number, number][]) => number[];
|
|
422
|
-
transform: typeof import('ol/proj').transform;
|
|
423
|
-
};
|
|
424
|
-
format: {
|
|
425
|
-
formatLength: (line: import('ol/geom').LineString, unit: number) => string;
|
|
426
|
-
convertSixHundredThousandToLatLng: (valueX: number | string, valueY: number | string) => [lng: number, lat: number];
|
|
427
|
-
formatArea: (polygon: import('ol/geom').Polygon | import('ol/geom').Geometry, unit: number) => string | undefined;
|
|
428
|
-
};
|
|
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;
|
|
429
344
|
};
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
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;
|
|
436
361
|
};
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
|
|
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;
|