zhihao-ui 1.2.3 → 1.2.4
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-DqxHM6sE.js → BaseInfo-DSoB7lXu.js} +1 -1
- package/dist/es/Button-CSkwolvy.js +32 -0
- package/dist/es/{DatePicker-CSviipkU.js → DatePicker-BuM1QvvJ.js} +14 -14
- package/dist/es/{DetailHeader-KRh1lffS.js → DetailHeader-DLWS2a6d.js} +3 -3
- package/dist/es/{DetailSubTitle-DCS8YLpA.js → DetailSubTitle-Bohm33lU.js} +2 -2
- package/dist/es/{Dialog-DrsOxk4u.js → Dialog-dbO52Pj0.js} +3 -3
- package/dist/es/{EditInfoPair-UqygyG7w.js → EditInfoPair-sJNaUadM.js} +3 -3
- package/dist/es/{FileWrapper-C8FmshRX.js → FileWrapper-BQgaAu1K.js} +4 -4
- package/dist/es/{Grid-Ds-Jy0Mn.js → Grid-P-t8UiMv.js} +1 -1
- package/dist/es/{InfoPair-BXow_dHM.js → InfoPair-BNypeCJn.js} +3 -3
- package/dist/es/{Input-C1s8JqmI.js → Input-DpsLV8LI.js} +3 -3
- package/dist/es/{Loading-DELLXz7f.js → Loading-DXdxoKLU.js} +2 -2
- package/dist/es/Map-BchE1ZDm.js +1183 -0
- package/dist/es/{MessageBox-B5ibisN4.js → MessageBox-DRwBLDiG.js} +6 -6
- package/dist/es/{MoneyInput-Chv0AAVp.js → MoneyInput-E6oSL6tO.js} +8 -8
- package/dist/es/{PageHeadPanel-CdohXWA9.js → PageHeadPanel-fhMuGUkI.js} +2 -2
- package/dist/es/{ToolTips-CxyQMewg.js → ToolTips-lv_GNnZo.js} +5 -5
- package/dist/es/index.js +24 -21
- package/dist/es/{utils-DBdiSe6_.js → utils-BMWHW3o7.js} +1 -1
- package/dist/es/vendor-BXx3MaXc.js +42114 -0
- package/dist/index.css +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +8 -13
- package/dist/types/components/Button/index.d.ts +15 -24
- package/dist/types/components/Map/Map.vue.d.ts +36 -0
- package/dist/types/components/Map/components/copyright.vue.d.ts +2 -0
- package/dist/types/components/Map/components/fullscreen.vue.d.ts +14 -0
- package/dist/types/components/Map/components/measure.vue.d.ts +15 -0
- package/dist/types/components/Map/components/scaleLine.vue.d.ts +4 -0
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +21 -0
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +10 -0
- package/dist/types/components/Map/config.d.ts +26 -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 +4 -0
- package/dist/types/components/Map/enum/openLayers.d.ts +10 -0
- package/dist/types/components/Map/index.d.ts +91 -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/queryLicenseResponse.d.ts +197 -0
- package/dist/types/components/Map/interface/entity/ship.d.ts +361 -0
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +186 -0
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +22 -0
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +8 -0
- package/dist/types/components/Map/interface/entity/shipTrack.d.ts +60 -0
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +174 -0
- package/dist/types/components/Map/interface/index.d.ts +11 -0
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +6 -0
- package/dist/types/components/Map/render/canvasRender/geometry.d.ts +19 -0
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +3 -0
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +5 -0
- package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +3 -0
- package/dist/types/components/Map/render/renderDashboard.d.ts +10 -0
- package/dist/types/components/Map/render/renderShip.d.ts +10 -0
- package/dist/types/components/Map/render/renderTrack.d.ts +13 -0
- package/dist/types/components/Map/render/renderTruck.d.ts +4 -0
- package/dist/types/components/Map/types.d.ts +9 -0
- package/dist/types/components/Map/utils/common.d.ts +24 -0
- package/dist/types/components/Map/utils/format.d.ts +16 -0
- package/dist/types/components/Map/utils/store.d.ts +18 -0
- package/dist/types/components/Map/utils/transform.d.ts +33 -0
- package/dist/types/components/MessageBox/MessageBox.vue.d.ts +6 -6
- package/dist/types/components/MessageBox/index.d.ts +9 -9
- package/dist/types/components/index.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +625 -22
- package/package.json +1 -1
- package/dist/es/Button-Q7GkKwFF.js +0 -22
- package/dist/es/vendor-mKFy0Hb6.js +0 -12409
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { BaseEntity } from '@/common/baseEntity';
|
|
2
|
+
import { PageRequest } from '@/common/page';
|
|
3
|
+
|
|
4
|
+
export interface Vehicle extends BaseEntity {
|
|
5
|
+
plateNumber: string;
|
|
6
|
+
color: number;
|
|
7
|
+
vehicleType: string;
|
|
8
|
+
owner: string;
|
|
9
|
+
natureUse: string;
|
|
10
|
+
drivingLicenseRegistrationDate: string;
|
|
11
|
+
drivingLicenseIssueDate: string;
|
|
12
|
+
drivingLicenseExpirationDate: string;
|
|
13
|
+
dimensions: string;
|
|
14
|
+
loadCapacity: number;
|
|
15
|
+
drivingLicenseImg1: number;
|
|
16
|
+
drivingLicenseImg2: number;
|
|
17
|
+
roadTransportOwner: string;
|
|
18
|
+
roadTransportCert: string;
|
|
19
|
+
businessScope: string;
|
|
20
|
+
roadTransportCertIssueDate: string;
|
|
21
|
+
roadTransportCertExpirationDate: string;
|
|
22
|
+
transportCertImg: number;
|
|
23
|
+
driver: string;
|
|
24
|
+
driverId: number;
|
|
25
|
+
bindingId: number;
|
|
26
|
+
motorCarrierId: number;
|
|
27
|
+
motorCarrier: string;
|
|
28
|
+
applyState: number;
|
|
29
|
+
rejectReason: string;
|
|
30
|
+
vehicleOwnership: number;
|
|
31
|
+
transportState: number;
|
|
32
|
+
vehicleState: number;
|
|
33
|
+
}
|
|
34
|
+
export interface VehicleCertificationListReq extends PageRequest {
|
|
35
|
+
plateNumber?: string;
|
|
36
|
+
driver?: string;
|
|
37
|
+
applyState?: number;
|
|
38
|
+
}
|
|
39
|
+
export interface VehicleCertificationUpdateParams {
|
|
40
|
+
id: number;
|
|
41
|
+
plateNumber: string;
|
|
42
|
+
color: number;
|
|
43
|
+
vehicleType: number;
|
|
44
|
+
owner: string;
|
|
45
|
+
usage: string;
|
|
46
|
+
drivingLicenseRegistrationDate: string;
|
|
47
|
+
drivingLicenseIssueDate: string;
|
|
48
|
+
drivingLicenseExpirationDate: string;
|
|
49
|
+
dimensions: string;
|
|
50
|
+
loadCapacity: number;
|
|
51
|
+
drivingLicenseImg1: number;
|
|
52
|
+
drivingLicenseImg2: number;
|
|
53
|
+
roadTransportOwner: string;
|
|
54
|
+
roadTransportCert: string;
|
|
55
|
+
businessScope: string;
|
|
56
|
+
roadTransportCertIssueDate?: string;
|
|
57
|
+
roadTransportCertExpirationDate?: string;
|
|
58
|
+
transportCertImg: number;
|
|
59
|
+
driver: string;
|
|
60
|
+
driverId: number;
|
|
61
|
+
bindingId: number;
|
|
62
|
+
motorCarrierId?: number;
|
|
63
|
+
motorCarrier?: string;
|
|
64
|
+
applyState: number;
|
|
65
|
+
rejectReason?: string;
|
|
66
|
+
transportState: number;
|
|
67
|
+
vehicleState: number;
|
|
68
|
+
}
|
|
69
|
+
export interface VehicleInfoUpdateByKeyForm {
|
|
70
|
+
id: number;
|
|
71
|
+
driver?: string;
|
|
72
|
+
driverId?: number;
|
|
73
|
+
bindingId?: number;
|
|
74
|
+
motorCarrierId?: number;
|
|
75
|
+
motorCarrier?: string;
|
|
76
|
+
applyState?: number;
|
|
77
|
+
rejectReason?: string;
|
|
78
|
+
transportState?: number;
|
|
79
|
+
vehicleState?: number;
|
|
80
|
+
}
|
|
81
|
+
export interface VehicleHistory {
|
|
82
|
+
/**
|
|
83
|
+
* 车牌号
|
|
84
|
+
*/
|
|
85
|
+
vclN: string;
|
|
86
|
+
/**
|
|
87
|
+
* 车辆颜色
|
|
88
|
+
*/
|
|
89
|
+
vclColor: number;
|
|
90
|
+
/**
|
|
91
|
+
* 核定载重量 (kg)
|
|
92
|
+
*/
|
|
93
|
+
ldTn: string;
|
|
94
|
+
/**
|
|
95
|
+
* 车辆类型
|
|
96
|
+
*/
|
|
97
|
+
vclTpNm: string;
|
|
98
|
+
}
|
|
99
|
+
export interface SnayiVehicleInfoResponse {
|
|
100
|
+
/**
|
|
101
|
+
* 设备名称
|
|
102
|
+
*/
|
|
103
|
+
deviceName: string;
|
|
104
|
+
/**
|
|
105
|
+
* 车牌
|
|
106
|
+
*/
|
|
107
|
+
carPlate: string;
|
|
108
|
+
/**
|
|
109
|
+
* 定位地址
|
|
110
|
+
*/
|
|
111
|
+
addr: string;
|
|
112
|
+
/**
|
|
113
|
+
* 经度
|
|
114
|
+
*/
|
|
115
|
+
lng: number;
|
|
116
|
+
/**
|
|
117
|
+
* 纬度
|
|
118
|
+
*/
|
|
119
|
+
lat: number;
|
|
120
|
+
/**
|
|
121
|
+
* 定位信号
|
|
122
|
+
*/
|
|
123
|
+
satl: string;
|
|
124
|
+
/**
|
|
125
|
+
* 通讯信号
|
|
126
|
+
*/
|
|
127
|
+
sgn: string;
|
|
128
|
+
/**
|
|
129
|
+
* 行驶速度
|
|
130
|
+
*/
|
|
131
|
+
speed: number;
|
|
132
|
+
/**
|
|
133
|
+
* 行驶方向中文
|
|
134
|
+
*/
|
|
135
|
+
drctCn: string;
|
|
136
|
+
/**
|
|
137
|
+
* 行驶方向值
|
|
138
|
+
*/
|
|
139
|
+
drct: number;
|
|
140
|
+
/**
|
|
141
|
+
* 载重
|
|
142
|
+
*/
|
|
143
|
+
load: number;
|
|
144
|
+
/**
|
|
145
|
+
* 设备上报时间
|
|
146
|
+
*/
|
|
147
|
+
time: string;
|
|
148
|
+
/**
|
|
149
|
+
* 车牌颜色
|
|
150
|
+
*/
|
|
151
|
+
color: number;
|
|
152
|
+
/**
|
|
153
|
+
* 媒体对接信息
|
|
154
|
+
*/
|
|
155
|
+
mediaChannel: MediaChannel;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 车辆媒体接口调用参数
|
|
159
|
+
*/
|
|
160
|
+
export interface MediaChannel {
|
|
161
|
+
ip: string;
|
|
162
|
+
mediaPort: number;
|
|
163
|
+
intercomPort: number;
|
|
164
|
+
username: string;
|
|
165
|
+
password: string;
|
|
166
|
+
/**
|
|
167
|
+
* 对话通道
|
|
168
|
+
*/
|
|
169
|
+
talkChannel: number;
|
|
170
|
+
/**
|
|
171
|
+
* 视频通道
|
|
172
|
+
*/
|
|
173
|
+
videoChannel: number;
|
|
174
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { BaseEntity } from './common/BaseEntity';
|
|
2
|
+
export type { Page, PageRequest } from './common/page';
|
|
3
|
+
export type { TruckMarker, CityGroupStatistics, HighlightTruck } from './entity/dashboard';
|
|
4
|
+
export type { MapViewForm, TrackExtend, RenderOption } from './entity/map';
|
|
5
|
+
export type { QueryLicenseResponse, SinoiovVehicleInfo, VehicleInfoResponse, SinoiovVehicleSnayiVehicleResponse } from './entity/queryLicenseResponse';
|
|
6
|
+
export type { Ship, ShipQueryParam, ShipForm, AisTrackForm, CertificateFiles, ShipInfoForm, ShipUpdateForm, ImgType, BindParams, ShipBindDevice } from './entity/ship';
|
|
7
|
+
export type { ShipInfoVo } from './entity/shipInfoVo';
|
|
8
|
+
export { ShipMapData } from './entity/shipMapData';
|
|
9
|
+
export type { ShipMarker } from './entity/shipMarker';
|
|
10
|
+
export type { ShipTrack, TrackExtend } from './entity/shipTrack';
|
|
11
|
+
export type { Vehicle, VehicleCertificationListReq, VehicleCertificationUpdateParams, VehicleInfoUpdateByKeyForm, VehicleHistory, SnayiVehicleInfoResponse, MediaChannel } from './entity/vehicle';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const fillRectRadius: (ctx: CanvasRenderingContext2D, x: number, y: number, width: number, height: number, color: string, radius?: number) => void;
|
|
2
|
+
export declare const getPixelFromCoordinate: (points: number[][]) => number[];
|
|
3
|
+
export declare const rotateShapeModel: (model: number[][], angle: number) => number[][];
|
|
4
|
+
export declare const drawText: (ctx: CanvasRenderingContext2D, center: number[], text: string, textColor: string, leftIcon: any, rightIcon: any, font?: string) => void;
|
|
5
|
+
export declare const drawPolygon: (ctx: CanvasRenderingContext2D, points: number[][], strokeColor: string, fillColor: string, shouldClosePath: boolean, translation?: null, rotation?: number, rotationCenter?: number[], scale?: number, globalAlpha?: number) => void;
|
|
6
|
+
export declare const drawLabel: (ctx: CanvasRenderingContext2D, center: number[], text: string, color: string, textColor: string, bgColor: string, leftIcon?: string, rightIcon?: string) => null;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const triangleModel: number[][];
|
|
2
|
+
export declare const shipShapeModel: number[][];
|
|
3
|
+
export declare const shipDirectPath: {
|
|
4
|
+
left: {
|
|
5
|
+
0: number[][];
|
|
6
|
+
1: number[][];
|
|
7
|
+
2: number[][];
|
|
8
|
+
};
|
|
9
|
+
right: {
|
|
10
|
+
0: number[][];
|
|
11
|
+
1: number[][];
|
|
12
|
+
2: number[][];
|
|
13
|
+
};
|
|
14
|
+
front: {
|
|
15
|
+
0: number[][];
|
|
16
|
+
1: number[][];
|
|
17
|
+
2: number[][];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Style } from 'ol/style';
|
|
2
|
+
import { ShipTrack } from '../../interface';
|
|
3
|
+
|
|
4
|
+
export declare const renderTrackLine: (data: any, id: string, trackColor: string) => void;
|
|
5
|
+
export declare const setTrackLabelStyle: (featureData: ShipTrack, trackColor: string) => Style;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as VectorSource } from 'ol/source/Vector';
|
|
2
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
3
|
+
import { SinoiovVehicleInfo } from '../interface';
|
|
4
|
+
|
|
5
|
+
export declare const renderStatisticsMarker: (list: SinoiovVehicleInfo[]) => VectorLayer<VectorSource<any>, any> | undefined;
|
|
6
|
+
export declare const deleteAllStatisticsMarkers: () => void;
|
|
7
|
+
export declare const renderTrucksMarker: (list: SinoiovVehicleInfo[]) => VectorLayer<VectorSource<any>, any> | undefined;
|
|
8
|
+
export declare const deleteAllTruckMarkers: () => void;
|
|
9
|
+
export declare const highlightTruckMarker: (vno: string, color: number, icons: number[]) => void;
|
|
10
|
+
export declare const cancelHighlightTruckMarker: (vno: string, color: number, icons: number[]) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Feature } from 'ol';
|
|
2
|
+
import { Geometry } from 'ol/geom';
|
|
3
|
+
import { default as VectorSource } from 'ol/source/Vector';
|
|
4
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
5
|
+
import { ShipInfoVo } from '../interface';
|
|
6
|
+
import { default as WebGLPointsLayer } from 'ol/layer/WebGLPoints';
|
|
7
|
+
|
|
8
|
+
export declare const renderShips: (list: ShipInfoVo[]) => VectorLayer<VectorSource<any>, any> | WebGLPointsLayer<VectorSource<Feature<Geometry>>> | undefined;
|
|
9
|
+
export declare const deleteAllShipMarkers: () => void;
|
|
10
|
+
export declare const findShip: (id: string) => any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { TrackExtend } from '../interface';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 轨迹绘制
|
|
6
|
+
*/
|
|
7
|
+
export declare const showTracks: Ref<TrackExtend[]>;
|
|
8
|
+
export declare const renderTrack: (id: string, list: any[], color: string, unit: string, vehicleType?: "ship" | "truck") => void;
|
|
9
|
+
export declare const removeAllTrackLayer: () => void;
|
|
10
|
+
export declare const playTrack: (index: number | string, speed: number) => void;
|
|
11
|
+
export declare const removerLayer: (index: number) => void;
|
|
12
|
+
export declare const resetTrackView: (id: number | string) => void;
|
|
13
|
+
export declare const trackLayerVisible: (flag: boolean) => void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Polygon } from 'ol/geom';
|
|
2
|
+
import { Coordinate } from 'ol/coordinate';
|
|
3
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
4
|
+
import { Style } from 'ol/style';
|
|
5
|
+
|
|
6
|
+
export declare function isPlainObject(font: string): boolean;
|
|
7
|
+
export declare function generatePolygon(t: Coordinate): Polygon;
|
|
8
|
+
export declare function calculateBoundsByType(center: number[], type: number, width: number, height: number, lineLength: number): (number | undefined)[];
|
|
9
|
+
export declare function getIconFont(unicode?: string): any;
|
|
10
|
+
export declare const resetView: (extent: number[]) => void;
|
|
11
|
+
export declare const multiplyPixelRatio: (nums: number[][]) => number[][];
|
|
12
|
+
export declare const findFeatureById: (layer: VectorLayer, id: string) => any;
|
|
13
|
+
export declare const adjustBounds: (bounds: number[], offsets: number[]) => number[];
|
|
14
|
+
export declare const isOverlapping: (bounds1: number[], bounds2: number[]) => boolean;
|
|
15
|
+
export declare const getIconStyle: (symbol: string) => Style;
|
|
16
|
+
export declare function convertToRadians(t: any): any;
|
|
17
|
+
export declare function createFeature(geometry: any, properties: any, options?: {}): {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
export declare function createPoint(coordinates: any, properties: any, options: any): {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
export declare function calculateAngle(pointA: any, pointB: any, options: any): any;
|
|
24
|
+
export declare const getAngle: (pointA: any, pointB: any) => number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Geometry, LineString, Polygon } from 'ol/geom';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 计算多段线距离.
|
|
5
|
+
* @param {LineString} line The line.
|
|
6
|
+
* @param unit
|
|
7
|
+
* @return {string} The formatted length.
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatLength: (line: LineString, unit: number) => string;
|
|
10
|
+
export declare const convertSixHundredThousandToLatLng: (valueX: number | string, valueY: number | string) => [lng: number, lat: number];
|
|
11
|
+
/**
|
|
12
|
+
* 计算多边形面积.
|
|
13
|
+
* @param {Polygon} polygon The polygon.
|
|
14
|
+
* @return {string} Formatted area.
|
|
15
|
+
*/
|
|
16
|
+
export declare const formatArea: (polygon: Polygon | Geometry, unit: number) => string | undefined;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Feature, Map as MapType } from 'ol';
|
|
3
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
4
|
+
import { default as WebGLPointsLayer } from 'ol/layer/WebGLPoints';
|
|
5
|
+
import { default as VectorSource } from 'ol/source/Vector';
|
|
6
|
+
import { Geometry } from 'ol/geom';
|
|
7
|
+
|
|
8
|
+
export declare const mapInstance: Ref<MapType | undefined, MapType | undefined>;
|
|
9
|
+
export declare const shipsLayer: Ref<VectorLayer | undefined>;
|
|
10
|
+
export declare const largeAmountShipsLayer: Ref<WebGLPointsLayer<VectorSource<Feature<Geometry>>> | undefined>;
|
|
11
|
+
export declare const statisticsLayer: Ref<VectorLayer | undefined>;
|
|
12
|
+
export declare const trucksLayer: Ref<VectorLayer | undefined>;
|
|
13
|
+
export declare const shipTrackLineFeatures: Ref<Feature[]>;
|
|
14
|
+
export declare const trackLineVectorSource: Ref<VectorSource<Feature<Geometry>>>;
|
|
15
|
+
export declare const shipTrackVectorLayer: Ref<VectorLayer | undefined>;
|
|
16
|
+
export declare const trackLabelVectorSource: Ref<VectorSource<Feature<Geometry>>>;
|
|
17
|
+
export declare const trackLabelLayer: Ref<VectorLayer | undefined>;
|
|
18
|
+
export declare const labels: Ref<any>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare function gcj02ToWgs84(lnglat: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* 通过圆心和半径计算区域范围 输出为矩形
|
|
4
|
+
* @param center 圆心坐标
|
|
5
|
+
* @param radiusInKilometers 距离 单位:公里
|
|
6
|
+
*/
|
|
7
|
+
export declare function calculateCirclePoints(center: [number, number], radiusInKilometers: number): {
|
|
8
|
+
leftTopPoint: {
|
|
9
|
+
lng: number;
|
|
10
|
+
lat: number;
|
|
11
|
+
};
|
|
12
|
+
rightTopPoint: {
|
|
13
|
+
lng: number;
|
|
14
|
+
lat: number;
|
|
15
|
+
};
|
|
16
|
+
rightBottomPoint: {
|
|
17
|
+
lng: number;
|
|
18
|
+
lat: number;
|
|
19
|
+
};
|
|
20
|
+
leftBottomPoint: {
|
|
21
|
+
lng: number;
|
|
22
|
+
lat: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare function lonLatToMercator(center: [number, number]): number[];
|
|
26
|
+
export declare function mercatorToLonLat(center: [number, number]): {
|
|
27
|
+
lon: number;
|
|
28
|
+
lat: number;
|
|
29
|
+
};
|
|
30
|
+
/** 计算多组点的最大矩形范围
|
|
31
|
+
* @param coordinates
|
|
32
|
+
*/
|
|
33
|
+
export declare function calculateBoundingBox(coordinates: [number, number][]): number[];
|
|
@@ -41,12 +41,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
41
|
}> & Omit<{
|
|
42
42
|
readonly type: string;
|
|
43
43
|
readonly disabled: boolean;
|
|
44
|
+
readonly autofocus: boolean;
|
|
44
45
|
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
45
46
|
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
46
47
|
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
48
|
readonly clearable: boolean;
|
|
48
49
|
readonly readonly: boolean;
|
|
49
|
-
readonly autofocus: boolean;
|
|
50
50
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
51
51
|
readonly autocomplete: string;
|
|
52
52
|
readonly showPassword: boolean;
|
|
@@ -54,11 +54,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
54
|
readonly inputStyle: import('vue').StyleValue;
|
|
55
55
|
readonly rows: number;
|
|
56
56
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
57
|
-
readonly form?: string | undefined;
|
|
58
57
|
readonly ariaLabel?: string | undefined;
|
|
59
58
|
readonly id?: string | undefined;
|
|
60
59
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
61
60
|
readonly placeholder?: string | undefined;
|
|
61
|
+
readonly form?: string | undefined;
|
|
62
62
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
63
63
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
64
64
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -78,7 +78,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
78
78
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
79
79
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
80
80
|
onClear?: (() => any) | undefined;
|
|
81
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "
|
|
81
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "autofocus" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">>;
|
|
82
82
|
};
|
|
83
83
|
closeOnClickModal: {
|
|
84
84
|
type: import('vue').PropType<boolean>;
|
|
@@ -149,12 +149,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
149
149
|
}> & Omit<{
|
|
150
150
|
readonly type: string;
|
|
151
151
|
readonly disabled: boolean;
|
|
152
|
+
readonly autofocus: boolean;
|
|
152
153
|
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
153
154
|
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
154
155
|
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
155
156
|
readonly clearable: boolean;
|
|
156
157
|
readonly readonly: boolean;
|
|
157
|
-
readonly autofocus: boolean;
|
|
158
158
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
159
159
|
readonly autocomplete: string;
|
|
160
160
|
readonly showPassword: boolean;
|
|
@@ -162,11 +162,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
162
162
|
readonly inputStyle: import('vue').StyleValue;
|
|
163
163
|
readonly rows: number;
|
|
164
164
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
165
|
-
readonly form?: string | undefined;
|
|
166
165
|
readonly ariaLabel?: string | undefined;
|
|
167
166
|
readonly id?: string | undefined;
|
|
168
167
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
169
168
|
readonly placeholder?: string | undefined;
|
|
169
|
+
readonly form?: string | undefined;
|
|
170
170
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
171
171
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
172
172
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -186,7 +186,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
186
186
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
187
187
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
188
188
|
onClear?: (() => any) | undefined;
|
|
189
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "
|
|
189
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "autofocus" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">>;
|
|
190
190
|
};
|
|
191
191
|
closeOnClickModal: {
|
|
192
192
|
type: import('vue').PropType<boolean>;
|
|
@@ -41,12 +41,12 @@ export declare const ZhMessageBox: {
|
|
|
41
41
|
}> & Omit<{
|
|
42
42
|
readonly type: string;
|
|
43
43
|
readonly disabled: boolean;
|
|
44
|
+
readonly autofocus: boolean;
|
|
44
45
|
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
45
46
|
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
46
47
|
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
48
|
readonly clearable: boolean;
|
|
48
49
|
readonly readonly: boolean;
|
|
49
|
-
readonly autofocus: boolean;
|
|
50
50
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
51
51
|
readonly autocomplete: string;
|
|
52
52
|
readonly showPassword: boolean;
|
|
@@ -54,11 +54,11 @@ export declare const ZhMessageBox: {
|
|
|
54
54
|
readonly inputStyle: import('vue').StyleValue;
|
|
55
55
|
readonly rows: number;
|
|
56
56
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
57
|
-
readonly form?: string | undefined;
|
|
58
57
|
readonly ariaLabel?: string | undefined;
|
|
59
58
|
readonly id?: string | undefined;
|
|
60
59
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
61
60
|
readonly placeholder?: string | undefined;
|
|
61
|
+
readonly form?: string | undefined;
|
|
62
62
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
63
63
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
64
64
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const ZhMessageBox: {
|
|
|
78
78
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
79
79
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
80
80
|
onClear?: (() => any) | undefined;
|
|
81
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "
|
|
81
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "autofocus" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">>;
|
|
82
82
|
};
|
|
83
83
|
closeOnClickModal: {
|
|
84
84
|
type: import('vue').PropType<boolean>;
|
|
@@ -159,12 +159,12 @@ export declare const ZhMessageBox: {
|
|
|
159
159
|
}> & Omit<{
|
|
160
160
|
readonly type: string;
|
|
161
161
|
readonly disabled: boolean;
|
|
162
|
+
readonly autofocus: boolean;
|
|
162
163
|
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
163
164
|
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
164
165
|
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
166
|
readonly clearable: boolean;
|
|
166
167
|
readonly readonly: boolean;
|
|
167
|
-
readonly autofocus: boolean;
|
|
168
168
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
169
169
|
readonly autocomplete: string;
|
|
170
170
|
readonly showPassword: boolean;
|
|
@@ -172,11 +172,11 @@ export declare const ZhMessageBox: {
|
|
|
172
172
|
readonly inputStyle: import('vue').StyleValue;
|
|
173
173
|
readonly rows: number;
|
|
174
174
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
175
|
-
readonly form?: string | undefined;
|
|
176
175
|
readonly ariaLabel?: string | undefined;
|
|
177
176
|
readonly id?: string | undefined;
|
|
178
177
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
179
178
|
readonly placeholder?: string | undefined;
|
|
179
|
+
readonly form?: string | undefined;
|
|
180
180
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
181
181
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
182
182
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -196,7 +196,7 @@ export declare const ZhMessageBox: {
|
|
|
196
196
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
197
197
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
198
198
|
onClear?: (() => any) | undefined;
|
|
199
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "
|
|
199
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "autofocus" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">>;
|
|
200
200
|
};
|
|
201
201
|
closeOnClickModal: {
|
|
202
202
|
type: import('vue').PropType<boolean>;
|
|
@@ -271,12 +271,12 @@ export declare const ZhMessageBox: {
|
|
|
271
271
|
}> & Omit<{
|
|
272
272
|
readonly type: string;
|
|
273
273
|
readonly disabled: boolean;
|
|
274
|
+
readonly autofocus: boolean;
|
|
274
275
|
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
275
276
|
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
276
277
|
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
277
278
|
readonly clearable: boolean;
|
|
278
279
|
readonly readonly: boolean;
|
|
279
|
-
readonly autofocus: boolean;
|
|
280
280
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
281
281
|
readonly autocomplete: string;
|
|
282
282
|
readonly showPassword: boolean;
|
|
@@ -284,11 +284,11 @@ export declare const ZhMessageBox: {
|
|
|
284
284
|
readonly inputStyle: import('vue').StyleValue;
|
|
285
285
|
readonly rows: number;
|
|
286
286
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
287
|
-
readonly form?: string | undefined;
|
|
288
287
|
readonly ariaLabel?: string | undefined;
|
|
289
288
|
readonly id?: string | undefined;
|
|
290
289
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
291
290
|
readonly placeholder?: string | undefined;
|
|
291
|
+
readonly form?: string | undefined;
|
|
292
292
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
293
293
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
294
294
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const ZhMessageBox: {
|
|
|
308
308
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
309
309
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
310
310
|
onClear?: (() => any) | undefined;
|
|
311
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "
|
|
311
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "autofocus" | "modelValue" | "tabindex" | "validateEvent" | "id" | "clearable" | "readonly" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">>;
|
|
312
312
|
};
|
|
313
313
|
closeOnClickModal: {
|
|
314
314
|
type: import('vue').PropType<boolean>;
|