zhihao-ui 1.2.69 → 1.2.70

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.
Files changed (81) hide show
  1. package/dist/es/{BaseInfo-BhnEjLKF.js → BaseInfo-BQ9mgGZQ.js} +1 -1
  2. package/dist/es/{BaseItem-C4NJy1i4.js → BaseItem-ByAS3S8w.js} +3 -3
  3. package/dist/es/{Button-CGndQwez.js → Button-BdGo3Kfv.js} +2 -2
  4. package/dist/es/CascaderLoadMore-B3dBPBJz.js +243 -0
  5. package/dist/es/DatePicker-C-2zM1dY.js +73 -0
  6. package/dist/es/{DetailHeader-DaabNj_4.js → DetailHeader-Dd_oHefQ.js} +3 -3
  7. package/dist/es/{DetailSubTitle-CzFZPXeE.js → DetailSubTitle-1YWi0mX_.js} +2 -2
  8. package/dist/es/{Dialog-BUW6ag1B.js → Dialog-Cib_m5sM.js} +3 -3
  9. package/dist/es/DiyDataTable-beBJdlLe.js +364 -0
  10. package/dist/es/{EditInfoPair-B2f6zoGY.js → EditInfoPair-BCbIIBEP.js} +3 -3
  11. package/dist/es/{FileWrapper-D4IxJemr.js → FileWrapper-ClTHhvQU.js} +4 -4
  12. package/dist/es/{Grid-DIs695lY.js → Grid-DvrmAWyU.js} +2 -2
  13. package/dist/es/{InfoPair-Ce7nDfxD.js → InfoPair-Bf-X09VT.js} +3 -3
  14. package/dist/es/{Input-C5X2X_YD.js → Input-uOt745UZ.js} +14 -14
  15. package/dist/es/{Loading-BgoEv5qE.js → Loading-C_6ERpeb.js} +2 -2
  16. package/dist/es/Map-XWdLIa5C.js +2528 -0
  17. package/dist/es/{MessageBox-DiGH5x51.js → MessageBox-h_sFrr4D.js} +2 -2
  18. package/dist/es/{MoneyInput-D0kYiOfP.js → MoneyInput-D8V7_PZq.js} +8 -8
  19. package/dist/es/{PageHeadPanel-C6IdOq6I.js → PageHeadPanel-DLs1xYME.js} +2 -2
  20. package/dist/es/Table-DgS42Pzw.js +1167 -0
  21. package/dist/es/{ToolTips-CiQHxGrw.js → ToolTips-CSVL9wbb.js} +6 -6
  22. package/dist/es/index.js +77 -60
  23. package/dist/es/{utils-D2wHR1YB.js → utils-UjENBVnX.js} +1 -1
  24. package/dist/es/{vendor-D2mv9LHk.js → vendor-9390iK3y.js} +30756 -26238
  25. package/dist/index.css +1 -1
  26. package/dist/types/components/BaseItem/index.d.ts +9 -9
  27. package/dist/types/components/Dialog/Dialog.vue.d.ts +16 -16
  28. package/dist/types/components/Dialog/index.d.ts +24 -24
  29. package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +18 -1
  30. package/dist/types/components/DiyDataTable/index.d.ts +30 -0
  31. package/dist/types/components/DiyDataTable/type.d.ts +17 -1
  32. package/dist/types/components/Map/Map.vue.d.ts +138 -101
  33. package/dist/types/components/Map/components/scaleLine.vue.d.ts +1 -2
  34. package/dist/types/components/Map/components/zoomControl.vue.d.ts +3 -7
  35. package/dist/types/components/Map/index.d.ts +390 -324
  36. package/dist/types/components/Map/interface/index.d.ts +13 -6
  37. package/dist/types/components/Map/types.d.ts +13 -1
  38. package/dist/types/components/Table/types.d.ts +1 -0
  39. package/dist/types/components/ToolTips/index.d.ts +12 -12
  40. package/dist/types/components/index.d.ts +1 -0
  41. package/dist/umd/index.css +1 -1
  42. package/dist/umd/index.umd.cjs +604 -130
  43. package/package.json +1 -1
  44. package/dist/es/DatePicker-Dy1K1cJQ.js +0 -57
  45. package/dist/es/DiyDataTable-D-UZVciZ.js +0 -331
  46. package/dist/es/Map-DbbD377l.js +0 -2235
  47. package/dist/es/Table-B_3YA1mb.js +0 -1155
  48. package/dist/types/components/Map/config/global.d.ts +0 -2
  49. package/dist/types/components/Map/config/index.d.ts +0 -2
  50. package/dist/types/components/Map/config/map.d.ts +0 -22
  51. package/dist/types/components/Map/function/carTrack.d.ts +0 -11
  52. package/dist/types/components/Map/function/drawLine.d.ts +0 -12
  53. package/dist/types/components/Map/function/drawPolygon.d.ts +0 -9
  54. package/dist/types/components/Map/function/event.d.ts +0 -9
  55. package/dist/types/components/Map/function/layers.d.ts +0 -10
  56. package/dist/types/components/Map/function/map.d.ts +0 -18
  57. package/dist/types/components/Map/function/port.d.ts +0 -10
  58. package/dist/types/components/Map/function/position.d.ts +0 -8
  59. package/dist/types/components/Map/function/props.d.ts +0 -7
  60. package/dist/types/components/Map/function/ship/index.d.ts +0 -16
  61. package/dist/types/components/Map/function/ship/label.d.ts +0 -5
  62. package/dist/types/components/Map/function/ship/style.d.ts +0 -23
  63. package/dist/types/components/Map/function/shipOverlay.d.ts +0 -12
  64. package/dist/types/components/Map/function/shipTrack.d.ts +0 -16
  65. package/dist/types/components/Map/interface/carTrack.d.ts +0 -70
  66. package/dist/types/components/Map/interface/label.d.ts +0 -27
  67. package/dist/types/components/Map/interface/mapProps.d.ts +0 -15
  68. package/dist/types/components/Map/interface/position.d.ts +0 -7
  69. package/dist/types/components/Map/interface/shipInfoVo.d.ts +0 -214
  70. package/dist/types/components/Map/interface/shipTrack.d.ts +0 -57
  71. package/dist/types/components/Map/interface/wharfEntity.d.ts +0 -20
  72. package/dist/types/components/Map/meta/index.d.ts +0 -17
  73. package/dist/types/components/Map/meta/ship.d.ts +0 -26
  74. package/dist/types/components/Map/useMap.d.ts +0 -17
  75. package/dist/types/components/Map/utils/cursor.d.ts +0 -3
  76. package/dist/types/components/Map/utils/events.d.ts +0 -4
  77. package/dist/types/components/Map/utils/overlay.d.ts +0 -5
  78. package/dist/types/components/Map/utils/rbush.d.ts +0 -13
  79. package/dist/types/components/Map/utils/shipOverlay.d.ts +0 -12
  80. package/dist/types/components/Map/utils/track.d.ts +0 -45
  81. package/dist/types/components/Map/utils/util.d.ts +0 -42
@@ -1,2 +0,0 @@
1
- export declare const CDN_URL = "https://static.zhihaoscm.cn/";
2
- export declare const equatorialCircumference = 20037508.34;
@@ -1,2 +0,0 @@
1
- export * from './map';
2
- export * from './global';
@@ -1,22 +0,0 @@
1
- export declare const TIAN_DI_TU_KEY = "a6e8f78974f2581f2ca00485b40c948f";
2
- export declare const MAP_ZOOM: {
3
- default: number;
4
- min: number;
5
- max: number;
6
- findShipMin: number;
7
- findShip: number;
8
- findTruck: number;
9
- shipGreenDotMax: number;
10
- truckDefault: number;
11
- truckStatistics: number;
12
- shipModelMin: number;
13
- shipTriggleMin: number;
14
- shipModelMax: number;
15
- markerPosition: number;
16
- scaleNum: number;
17
- };
18
- export declare const projection: {
19
- data: string;
20
- mercator: string;
21
- };
22
- export declare const MAP_DEFAULT_CENTER: [number, number];
@@ -1,11 +0,0 @@
1
- import { VehicleInfo } from '../interface';
2
- import { ShipTrack } from '../interface/shipTrack';
3
-
4
- export declare const useCarTrackManager: (mapInstance: any, trackManager: any) => {
5
- location: (vehicleInfo?: VehicleInfo) => Promise<void>;
6
- remove: () => void;
7
- renderTrack: (vclN: string, list: ShipTrack[], color: string) => void;
8
- setCenter: (id: string | number) => void;
9
- closeTrack: () => void;
10
- playTrack: (id: number | string, speed: number) => void;
11
- };
@@ -1,12 +0,0 @@
1
- import { Map } from 'ol';
2
- import { LineString } from 'ol/geom';
3
- import { PropsManager } from './props';
4
-
5
- export declare const useDrawLineManager: (mapInstance: Map, propsManager: PropsManager) => {
6
- open: () => void;
7
- close: () => void;
8
- deleteLine: (id: string) => void;
9
- setUnit: (unitValue: string) => void;
10
- getState: () => boolean;
11
- };
12
- export declare const computedDistance: (line: LineString, unit: string) => string;
@@ -1,9 +0,0 @@
1
- import { Map } from 'ol';
2
- import { PropsManager } from './props';
3
-
4
- export declare const useDrawPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
5
- open: () => void;
6
- close: () => void;
7
- reset: () => void;
8
- getState: () => "close" | "open";
9
- };
@@ -1,9 +0,0 @@
1
- import { useMapInitializer } from './map';
2
- import { PropsManager } from './props';
3
- import { useTrackManager } from './shipTrack';
4
- import { useShipManager } from './ship';
5
- import { usePortManager } from './port';
6
- import { useDrawLineManager } from './drawLine';
7
- import { useDrawPolygonManager } from './drawPolygon';
8
-
9
- export declare const useEventManager: (mapManager: ReturnType<typeof useMapInitializer>, propsManager: PropsManager, trackManager: ReturnType<typeof useTrackManager>, shipManager: ReturnType<typeof useShipManager>, portManager: ReturnType<typeof usePortManager>, drawLineManager: ReturnType<typeof useDrawLineManager>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>) => void;
@@ -1,10 +0,0 @@
1
- import { Props } from '../interface';
2
- import { Map } from 'ol';
3
-
4
- export declare const useLayerManager: (mapInstance: Map) => {
5
- getLayers: () => import('ol').Collection<import('ol/layer/Base').default>;
6
- getGreenTileVisible: () => boolean;
7
- setGreenTileVisible: (show: boolean) => void;
8
- getShowLayerType: () => "vector" | "satellite" | undefined;
9
- setShowLayerType: (type: Props["layerType"]) => void;
10
- };
@@ -1,18 +0,0 @@
1
- import { Map, View } from 'ol';
2
- import { Coordinate } from 'ol/coordinate';
3
- import { Props } from '../interface';
4
-
5
- /**
6
- * 地图工具类
7
- */
8
- export declare function useMapInitializer(): {
9
- getInstall: () => Map;
10
- getView: () => View;
11
- getZoom: () => number;
12
- setZoom: (zoom: number) => void;
13
- setCenter: (lon: number, lat: number) => void;
14
- getCenter: () => Coordinate;
15
- getSize: () => number[];
16
- initMap: (element: HTMLDivElement, props: Props) => void;
17
- setBaseLayerMap: (props: Props) => void;
18
- };
@@ -1,10 +0,0 @@
1
- import { WharfEntity } from '../interface';
2
- import { Feature, Map } from 'ol';
3
-
4
- export declare const PORT_LAYER_CLASS_NAME = "zh-map-port-layer";
5
- export declare const usePortManager: (mapInstance: Map) => {
6
- render: (portList: WharfEntity[], showTitle?: boolean) => void;
7
- clear: () => void;
8
- selected: (portData?: WharfEntity) => void;
9
- handlePortHover: (portFeature: Feature | null) => void;
10
- };
@@ -1,8 +0,0 @@
1
- import { LocationEntity } from '../interface';
2
-
3
- export declare const usePositionManager: (mapInstance: any) => {
4
- render: (portList: LocationEntity[]) => void;
5
- selected: (loactionData?: LocationEntity) => void;
6
- clearSelected: () => void;
7
- clear: () => void;
8
- };
@@ -1,7 +0,0 @@
1
- import { Props } from '../interface';
2
-
3
- export interface PropsManager {
4
- setProps: (propsValue: Props) => void;
5
- getProps: () => Props;
6
- }
7
- export declare const usePropsManager: () => PropsManager;
@@ -1,16 +0,0 @@
1
- import { ShipInfoVo } from '../../interface';
2
- import { Feature, Map as MapOl } from 'ol';
3
-
4
- export declare const useShipManager: (mapInstance: MapOl) => {
5
- render: (shipList: ShipInfoVo[]) => void;
6
- selected: (ship: ShipInfoVo) => void;
7
- filter: (shipList: ShipInfoVo[]) => void;
8
- blinking: (ships: Record<string, boolean>, colors: Record<string, {
9
- blinkColors: string[];
10
- shipState: string;
11
- }>) => void;
12
- clear: () => void;
13
- handleShipMapEvent: import('lodash-es').DebouncedFunc<(shipsFeature: Feature | null, type: string, callback?: (id: string) => void) => void>;
14
- changeShipScale: (status: string) => void;
15
- changeSelectedScale: () => void;
16
- };
@@ -1,5 +0,0 @@
1
- import { ShipInfoVo } from '../../interface';
2
- import { Feature } from 'ol';
3
-
4
- export declare const getRightIcons: (ship: ShipInfoVo) => string[];
5
- export declare const createLabelRenderer: (ctx: CanvasRenderingContext2D, pixelCoords: [number, number], feature: Feature) => void;
@@ -1,23 +0,0 @@
1
- import { ShipInfoVo } from '../../interface';
2
- import { SHIP_DIRECT } from '../../meta/ship';
3
- import { Feature, Map as MapOl, Overlay } from 'ol';
4
- import { Style } from 'ol/style';
5
-
6
- export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
7
- type ShipType = 'ship' | 'triangle';
8
- export declare const createShipStyle: (mapInstance: MapOl, feature: Feature) => Style;
9
- export declare const getShipType: (mapInstance: MapOl) => ShipType;
10
- export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
11
- export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Overlay;
12
- /**
13
- * 生成船只元素
14
- * @param shipData
15
- */
16
- export declare const selectedShipElement: (mapInstance: MapOl, shipData: ShipInfoVo) => HTMLDivElement;
17
- export declare const createLabelStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => void;
18
- export declare const createLabelElement: (shipData: ShipInfoVo) => HTMLDivElement;
19
- export declare const getRightIcons: (ship: ShipInfoVo) => string[];
20
- export declare function getRandomLineDirection(): LineDirection;
21
- type LineDirection = 'left-top' | 'left-middle' | 'left-bottom' | 'right-top' | 'right-middle' | 'right-bottom';
22
- export declare const createLabelFeatureStyle: (feature: Feature, lenNum: number) => Style;
23
- export {};
@@ -1,12 +0,0 @@
1
- export interface ShipOverlayProps {
2
- selected: boolean;
3
- name: string;
4
- color: string;
5
- position: [number, number];
6
- existDevice?: boolean;
7
- existMobile?: boolean;
8
- existWaterGauge?: boolean;
9
- }
10
- export default function useShipOverlay(props: ShipOverlayProps): () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
- [key: string]: any;
12
- }>;
@@ -1,16 +0,0 @@
1
- import { Feature, MapBrowserEvent, Map as MapOl } from 'ol';
2
- import { ShipTrack } from '../interface/shipTrack';
3
-
4
- export declare const useTrackManager: (mapInstance: MapOl) => {
5
- render: (id: string, list: ShipTrack[], color: string, type?: string, threshold?: number) => Promise<void>;
6
- remove: () => void;
7
- play: (id: number | string, speed: number) => void;
8
- setCenter: (id?: number | string) => void;
9
- close: (id?: string) => void;
10
- getLength: (id: string, unit?: number) => {
11
- id: string;
12
- length: string;
13
- };
14
- handleTrackMapEvent: (trunkFeature: Feature | null, type: string, event?: MapBrowserEvent<PointerEvent>) => void;
15
- reRenderTrackLine: import('lodash-es').DebouncedFunc<() => void>;
16
- };
@@ -1,70 +0,0 @@
1
- export interface VehicleInfo {
2
- /**
3
- * 车牌号
4
- */
5
- vno: string;
6
- /**
7
- * 状态码
8
- */
9
- status: string;
10
- /**
11
- * 车辆最后定位经度
12
- */
13
- lon: string;
14
- /**
15
- * 车辆最后定位纬度
16
- */
17
- lat: string;
18
- /**
19
- * 车辆地理位置名称
20
- */
21
- adr: string;
22
- /**
23
- * 车辆定位时间戳
24
- */
25
- utc: string;
26
- /**
27
- * 速度
28
- */
29
- spd: string;
30
- /**
31
- * 方向
32
- */
33
- drc: string;
34
- /**
35
- * 省
36
- */
37
- province: string;
38
- /**
39
- * 市
40
- */
41
- city: string;
42
- /**
43
- * 县
44
- */
45
- country: string;
46
- /**
47
- * 里程
48
- */
49
- mil: string;
50
- /**
51
- * 离线状态
52
- */
53
- offlineState: boolean;
54
- /**
55
- * 离线时长
56
- */
57
- offlineTime: number;
58
- /**
59
- * 车辆已行驶距
60
- */
61
- runDistance: string;
62
- /**
63
- * 剩余运距
64
- */
65
- remainDistance: string;
66
- /**
67
- * 预计到达时间
68
- */
69
- estimateArriveTime: string;
70
- }
@@ -1,27 +0,0 @@
1
- export interface ShipLabelData {
2
- id: string;
3
- name: string;
4
- lon: number;
5
- lat: number;
6
- blinking?: boolean;
7
- blinkingColor?: string;
8
- leftIcons?: string[];
9
- rightIcons?: string[];
10
- }
11
- export interface LabelStyleOptions {
12
- font?: string;
13
- padding?: number;
14
- iconSize?: number;
15
- lineColor?: string;
16
- blinkInterval?: number;
17
- collisionPadding?: number;
18
- }
19
- export interface LabelFeature {
20
- id: string;
21
- bounds: [number, number, number, number];
22
- position: 'top' | 'right' | 'bottom' | 'left';
23
- connectionPoints: {
24
- start: [number, number];
25
- end: [number, number];
26
- };
27
- }
@@ -1,15 +0,0 @@
1
- import { Coordinate } from 'ol/coordinate';
2
-
3
- export interface Props {
4
- zoom?: number;
5
- center?: Coordinate;
6
- layerType?: "vector" | "satellite";
7
- showGreenLayer?: boolean;
8
- showScale?: boolean;
9
- scaleLineUnit?: "metric" | "imperial" | "nautical";
10
- mapMoveEnd?: (zoom: number) => void;
11
- lineDrawEnd?: (line: any) => void;
12
- areaDrawEnd?: (area: []) => void;
13
- selectShip?: (id: string) => void;
14
- selectPort?: (id: WharfEntity) => void;
15
- }
@@ -1,7 +0,0 @@
1
- export interface LocationEntity {
2
- id: number;
3
- name?: string;
4
- latLon: string;
5
- defaultPath: string;
6
- selectedPath?: string;
7
- }
@@ -1,214 +0,0 @@
1
- /**
2
- * 船顺网区域查询船舶信息
3
- */
4
- export interface ShipInfoVo {
5
- /**
6
- * 船舶 mmsi
7
- */
8
- id: string;
9
- /**
10
- * 船舶填充色
11
- */
12
- fill: string;
13
- /**
14
- * 船舶类型
15
- */
16
- type: number;
17
- /**
18
- * 船舶中文名
19
- */
20
- cnname: string;
21
- /**
22
- * 船舶英文名(假设这里应该是 enname 而不是船舶中文名)
23
- */
24
- enname: string;
25
- /**
26
- * 船名
27
- */
28
- name: string;
29
- /**
30
- * 分组信息(SHIP、VNM、RADIO、NETSONDE)
31
- */
32
- g: string;
33
- /**
34
- * 船长
35
- */
36
- len: number;
37
- /**
38
- * 船宽
39
- */
40
- wid: number;
41
- /**
42
- * 吃水
43
- */
44
- dpth: number;
45
- /**
46
- * gps 天线位置,距船首
47
- */
48
- a: number;
49
- /**
50
- * 距船尾
51
- */
52
- b: number;
53
- /**
54
- * 距左舷
55
- */
56
- c: number;
57
- /**
58
- * 距右舷
59
- */
60
- d: number;
61
- /**
62
- * 经纬度(假设这里应该是一个字符串表示,例如 "lon,lat")
63
- */
64
- geom: string;
65
- /**
66
- * 经度
67
- */
68
- lon: number;
69
- /**
70
- * 名称代码
71
- */
72
- imo: string;
73
- /**
74
- * 目的地
75
- */
76
- dest: string;
77
- /**
78
- * 纬度
79
- */
80
- lat: number;
81
- /**
82
- * 创建时间
83
- */
84
- time: number;
85
- /**
86
- * 速度
87
- */
88
- spd: number;
89
- /**
90
- * 来源
91
- */
92
- from: string;
93
- /**
94
- * 状态
95
- */
96
- status: string;
97
- /**
98
- * 船艏向
99
- */
100
- hdg: string;
101
- /**
102
- * 航迹向
103
- */
104
- cog: number;
105
- /**
106
- * 最后更新时间
107
- */
108
- mt: string;
109
- /**
110
- * 备用字段(暂无作用)
111
- */
112
- isactive: string;
113
- /**
114
- * 备用字段(暂无作用)
115
- */
116
- num: object;
117
- /**
118
- * 备用字段(暂无作用)
119
- */
120
- ord: object;
121
- /**
122
- * 设备定位类型
123
- */
124
- postype: string;
125
- /**
126
- * 设备定位类型(假设 pt 是 postype 的重复字段,或者这里可能有误)
127
- */
128
- pt: string;
129
- /**
130
- * 设备厂商
131
- */
132
- firm: string;
133
- /**
134
- * 总吨
135
- */
136
- gt: string;
137
- /**
138
- * 预计到达时间
139
- */
140
- eta: string;
141
- /**
142
- * 动态数据最后一次更新时间
143
- */
144
- ct: string;
145
- /**
146
- * 建造时间
147
- */
148
- build: string;
149
- /**
150
- * 呼号
151
- */
152
- callsign: string;
153
- /**
154
- * 定位精度:差分类别
155
- */
156
- diff: string;
157
- /**
158
- * 载重吨数
159
- */
160
- tonCapacity: number;
161
- /**
162
- * 净吨数
163
- */
164
- tonPure: number;
165
- /**
166
- * 是否存在摄像头
167
- */
168
- existDevice: number;
169
- /**
170
- * 是否维护水尺 1:是 0:否
171
- */
172
- existWaterGauge: number;
173
- /**
174
- * 是否存在手机号
175
- */
176
- existMobile: number;
177
- /**
178
- * 货仓状态
179
- * {@link com.zhihaoscm.domain.meta.biz.DeviceCapturePicDef.RecognizeResult}
180
- */
181
- warehouseState: number;
182
- /**
183
- * 船只负责人
184
- */
185
- captain: string;
186
- /**
187
- * 手机号
188
- */
189
- mobile: string;
190
- /**
191
- * 分数
192
- */
193
- scope: number;
194
- /**
195
- * 创建时间
196
- */
197
- createTime: string;
198
- /**
199
- * 是否关注
200
- */
201
- isFollowed: number;
202
- /**
203
- * 散货船类型 {@link ShipDef.BulkCargoShipType}
204
- */
205
- bulkCargoShipType: number;
206
- /**
207
- * 关注的船自定义后缀
208
- */
209
- existName: number;
210
- blinkColors?: string[];
211
- blinkingColors?: string[];
212
- blinking?: boolean;
213
- isSelected?: boolean;
214
- }
@@ -1,57 +0,0 @@
1
- /**
2
- * 船舶轨迹
3
- */
4
- export interface ShipTrack {
5
- id: string;
6
- index: number;
7
- cname: string;
8
- /**
9
- * 经度
10
- */
11
- lon: number;
12
- /**
13
- * 纬度
14
- */
15
- lat: number;
16
- center: [number, number];
17
- centerPoint: number[];
18
- /**
19
- * 动态数据创建时间
20
- */
21
- createdAt: number;
22
- receiveTime: number;
23
- /**
24
- * 速度
25
- */
26
- speed: number;
27
- /**
28
- * 船舶航行状态(具体状态意思,参照 AIS 航行状态码国际标准)
29
- */
30
- sailStatus: string;
31
- /**
32
- * 船艏向
33
- */
34
- hdg: number;
35
- /**
36
- * 航迹向
37
- */
38
- cog: number;
39
- /**
40
- * 来源
41
- */
42
- from: string;
43
- /**
44
- * 旋转率
45
- */
46
- rot: number;
47
- /**
48
- * 船舶航速分析(0 停,1 慢)
49
- */
50
- state?: string | number;
51
- /**
52
- * 停留时间(航速分析中的停留时间,单位分钟)
53
- */
54
- stayTime: string;
55
- time: string;
56
- bounds: number[];
57
- }
@@ -1,20 +0,0 @@
1
- export interface WharfEntity {
2
- id: number;
3
- del: number;
4
- createdBy: number;
5
- createdTime: string;
6
- updatedBy: number;
7
- updatedTime: string;
8
- name: string;
9
- shortName: string;
10
- area: number;
11
- contactName: string;
12
- phone: string;
13
- provinceCode: string;
14
- cityCode: string;
15
- regionCode: string;
16
- address: string;
17
- latLon: string;
18
- remark: string;
19
- fullAddress: string;
20
- }
@@ -1,17 +0,0 @@
1
- export declare enum BASE_MAP_LINK {
2
- vectorTile = "https://t0.tianditu.gov.cn/vec_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vec&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=a6e8f78974f2581f2ca00485b40c948f",
3
- vectorTileMark = "https://t0.tianditu.gov.cn/cva_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=a6e8f78974f2581f2ca00485b40c948f",
4
- satelliteImgTile = "https://t0.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=a6e8f78974f2581f2ca00485b40c948f",
5
- satelliteImgTileMark = "https://t0.tianditu.gov.cn/cia_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cia&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=a6e8f78974f2581f2ca00485b40c948f",
6
- greenTile = "https://static.zhihaoscm.cn//map/tile/{z}/{x}/{y}.png"
7
- }
8
- export declare enum LENGTH_UNIT {
9
- M = 1,// m
10
- KM = 2,// km
11
- NM = 3
12
- }
13
- export declare enum LayerType {
14
- PORT = "port",
15
- SHIP = "ship",
16
- TRACK = "track"
17
- }
@@ -1,26 +0,0 @@
1
- export declare enum SHIP_SAIL_STATUS {
2
- "发动机使用中" = 0,
3
- "锚泊" = 1,
4
- "未操作" = 2,
5
- "操纵能力受限" = 3,
6
- "吃水受限" = 4,
7
- "系泊" = 5,
8
- "搁浅" = 6,
9
- "从事捕捞" = 7,
10
- "航行中" = 8,
11
- "留作将来修正导航状态" = 9,
12
- "高速船留用" = 10,
13
- "机动船尾推作业" = 11,
14
- "机动船顶推或侧推作业" = 12,
15
- "飞翼船留用" = 13,
16
- "现行的" = 14,
17
- "未定义" = 15
18
- }
19
- export declare enum SHIP_DIRECT {
20
- 'left' = "left",
21
- 'right' = "right",
22
- 'front' = "front",
23
- 'up' = "up",
24
- 'down' = "down",
25
- 'back' = "back"
26
- }