zhihao-ui 1.2.66 → 1.3.0
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-VzgiaCKn.js → BaseInfo-DP7wB6Hy.js} +1 -1
- package/dist/es/{BaseItem-BtsARxvz.js → BaseItem-zKXAWw6X.js} +3 -3
- package/dist/es/{Button-Dw3i74l2.js → Button-D71UFKe2.js} +2 -2
- package/dist/es/DatePicker-ByaPDV8a.js +57 -0
- package/dist/es/{DetailHeader-C5LjDuTv.js → DetailHeader-BvwqbiHO.js} +3 -3
- package/dist/es/{DetailSubTitle-ak2l4HyV.js → DetailSubTitle-Brh4lgY7.js} +2 -2
- package/dist/es/{Dialog-Cw3E3ZU6.js → Dialog-Dfj9XSbZ.js} +3 -3
- package/dist/es/{DiyDataTable-Cgqys5z_.js → DiyDataTable-CyinC7X9.js} +4 -4
- package/dist/es/{EditInfoPair-8SWkyWJC.js → EditInfoPair-Bh8ExT4y.js} +3 -3
- package/dist/es/{FileWrapper-BKxBr28L.js → FileWrapper-Cr7F-CIS.js} +4 -4
- package/dist/es/{Grid-C8tYH4s7.js → Grid-CzmdTj41.js} +2 -2
- package/dist/es/{InfoPair-C3obQrjB.js → InfoPair-wZg9g-ul.js} +3 -3
- package/dist/es/{Input-C3HDYWCC.js → Input-DRtonb3d.js} +3 -3
- package/dist/es/{Loading-DfL7OJvd.js → Loading-CujO-NlL.js} +2 -2
- package/dist/es/Map-mRzxeRp6.js +1877 -0
- package/dist/es/{MessageBox-ByLWEDby.js → MessageBox-CRUoKQsc.js} +2 -2
- package/dist/es/{MoneyInput-CxngoHAe.js → MoneyInput-D1u6lU9a.js} +7 -7
- package/dist/es/{PageHeadPanel-d3ponlDx.js → PageHeadPanel-COhIV995.js} +2 -2
- package/dist/es/{Table-BufcZ4Wy.js → Table-BFbxIF3i.js} +5 -5
- package/dist/es/{ToolTips-D0FAOOvm.js → ToolTips-DNojIdT8.js} +7 -7
- package/dist/es/index.js +60 -74
- package/dist/es/{utils-BSQSj8Ii.js → utils-CVU4so-2.js} +1 -1
- package/dist/es/{vendor-DaYdW1_n.js → vendor-Cx2Ws2_l.js} +21548 -25505
- package/dist/index.css +1 -1
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +1 -9
- package/dist/types/components/Map/config/index.d.ts +69 -0
- package/dist/types/components/Map/function/carTrack.d.ts +18 -0
- package/dist/types/components/Map/function/drawLine.d.ts +19 -0
- package/dist/types/components/Map/function/drawPolygon.d.ts +13 -0
- package/dist/types/components/Map/function/label.d.ts +9 -0
- package/dist/types/components/Map/function/layers.d.ts +7 -0
- package/dist/types/components/Map/function/map.d.ts +10 -0
- package/dist/types/components/Map/function/port.d.ts +10 -0
- package/dist/types/components/Map/function/ship/index.d.ts +9 -0
- package/dist/types/components/Map/function/ship/label.d.ts +5 -0
- package/dist/types/components/Map/function/ship/style.d.ts +7 -0
- package/dist/types/components/Map/function/ship.d.ts +34 -0
- package/dist/types/components/Map/function/shipLabel.d.ts +25 -0
- package/dist/types/components/Map/function/shipOverlay.d.ts +12 -0
- package/dist/types/components/Map/function/shipTrack.d.ts +15 -0
- package/dist/types/components/Map/interface/{entity/queryLicenseResponse.d.ts → carTrack.d.ts} +1 -17
- package/dist/types/components/Map/interface/index.d.ts +6 -13
- package/dist/types/components/Map/interface/label.d.ts +27 -0
- package/dist/types/components/Map/interface/mapProps.d.ts +14 -0
- package/dist/types/components/Map/interface/{entity/shipInfoVo.d.ts → shipInfoVo.d.ts} +17 -15
- package/dist/types/components/Map/interface/{entity/shipTrack.d.ts → shipTrack.d.ts} +2 -1
- package/dist/types/components/Map/interface/wharfEntity.d.ts +20 -0
- package/dist/types/components/Map/meta/index.d.ts +17 -0
- package/dist/types/components/Map/meta/ship.d.ts +26 -0
- package/dist/types/components/Map/types.d.ts +1 -13
- package/dist/types/components/Map/utils/cursor.d.ts +2 -0
- package/dist/types/components/Map/utils/events.d.ts +2 -0
- package/dist/types/components/Map/utils/rbush.d.ts +13 -0
- package/dist/types/components/Map/utils/track.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +124 -588
- package/package.json +1 -1
- package/dist/es/DatePicker-BCvYHlC7.js +0 -73
- package/dist/es/Map-BpqtL7_q.js +0 -2528
- package/dist/types/components/Map/Map.vue.d.ts +0 -156
- package/dist/types/components/Map/components/copyright.vue.d.ts +0 -36
- package/dist/types/components/Map/components/measure.vue.d.ts +0 -23
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +0 -40
- package/dist/types/components/Map/config.d.ts +0 -32
- package/dist/types/components/Map/enum/car.d.ts +0 -5
- package/dist/types/components/Map/enum/device.d.ts +0 -8
- package/dist/types/components/Map/enum/index.d.ts +0 -5
- package/dist/types/components/Map/enum/openLayers.d.ts +0 -10
- package/dist/types/components/Map/enum/ship.d.ts +0 -50
- package/dist/types/components/Map/index.d.ts +0 -439
- package/dist/types/components/Map/interface/common/BaseEntity.d.ts +0 -29
- package/dist/types/components/Map/interface/common/page.d.ts +0 -34
- package/dist/types/components/Map/interface/entity/dashboard.d.ts +0 -16
- package/dist/types/components/Map/interface/entity/map.d.ts +0 -36
- package/dist/types/components/Map/interface/entity/point.d.ts +0 -10
- package/dist/types/components/Map/interface/entity/render.d.ts +0 -57
- package/dist/types/components/Map/interface/entity/ship.d.ts +0 -361
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +0 -27
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +0 -8
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +0 -345
- package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +0 -20
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +0 -15
- package/dist/types/components/Map/render/canvasRender/geometry.d.ts +0 -22
- package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +0 -5
- package/dist/types/components/Map/render/canvasRender/renderPointStyle.d.ts +0 -10
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +0 -5
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +0 -12
- package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +0 -3
- package/dist/types/components/Map/render/drawPolygon.d.ts +0 -10
- package/dist/types/components/Map/render/renderDashboard.d.ts +0 -12
- package/dist/types/components/Map/render/renderMarker.d.ts +0 -7
- package/dist/types/components/Map/render/renderPoint.d.ts +0 -80
- package/dist/types/components/Map/render/renderShip.d.ts +0 -20
- package/dist/types/components/Map/render/renderTrack.d.ts +0 -12
- package/dist/types/components/Map/render/renderTruck.d.ts +0 -10
- package/dist/types/components/Map/utils/common.d.ts +0 -27
- package/dist/types/components/Map/utils/format.d.ts +0 -10
- package/dist/types/components/Map/utils/store.d.ts +0 -32
- package/dist/types/components/Map/utils/transform.d.ts +0 -44
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { Map as MapType } from 'ol';
|
|
3
|
-
import { transform } from 'ol/proj';
|
|
4
|
-
import { ShipInfoVo } from './interface';
|
|
5
|
-
import { PointMarkerClass } from './render/renderPoint.ts';
|
|
6
|
-
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
toolPanel?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
zoom: number | null;
|
|
12
|
-
center: [number, number] | null;
|
|
13
|
-
vehicleMode: "truck" | "ship";
|
|
14
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
15
|
-
mmsi?: string;
|
|
16
|
-
shipData?: ShipInfoVo;
|
|
17
|
-
logoType?: number;
|
|
18
|
-
showToolPanel?: boolean | undefined;
|
|
19
|
-
}>>, {
|
|
20
|
-
mapInstance: Ref<MapType | undefined, MapType | undefined>;
|
|
21
|
-
initMap: () => void;
|
|
22
|
-
pointRender: (mapInstance: MapType, options: {
|
|
23
|
-
color: string;
|
|
24
|
-
activeUrl?: string;
|
|
25
|
-
url?: string;
|
|
26
|
-
activeColor?: string;
|
|
27
|
-
}) => PointMarkerClass;
|
|
28
|
-
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
29
|
-
renderShip: (list: 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;
|
|
30
|
-
renderTrack: (mmsi: string, list: any[], color: string, threshold?: number) => void;
|
|
31
|
-
findTruck: (vehicleInfo?: import('./interface').VehicleInfo, extendHtml?: string) => Promise<void>;
|
|
32
|
-
removeTruckIcon: () => void;
|
|
33
|
-
clearAllTruck: () => void;
|
|
34
|
-
closeTrack: (clearAll?: boolean) => void;
|
|
35
|
-
closeTruckTrack: () => void;
|
|
36
|
-
resetTrackView: (id?: number | string) => void;
|
|
37
|
-
playTrack: (id: number | string, speed: number) => void;
|
|
38
|
-
clearSelectFeature: () => void;
|
|
39
|
-
findShip: (id: string, shipData?: ShipInfoVo, select?: boolean) => any;
|
|
40
|
-
focusShip: (id: string, shipData?: ShipInfoVo, hidden?: boolean) => void;
|
|
41
|
-
clearShipData: (clearSelect?: boolean) => void;
|
|
42
|
-
showTracks: Ref<import('./interface').TrackExtend[], import('./interface').TrackExtend[]>;
|
|
43
|
-
removeAllTrackLayer: () => void;
|
|
44
|
-
switchFilterItem: (key: import('./enum').SWITCH_BTN, value: boolean) => void;
|
|
45
|
-
rerenderShip: () => void;
|
|
46
|
-
switchGreenDot: () => void;
|
|
47
|
-
zoomTruckIcon: () => void;
|
|
48
|
-
renderTruckTrack: (vclN: string, list: any[], color: string, threshold?: number) => void;
|
|
49
|
-
drawCustomContent: (id: string, centerPixel: number[], html: string, positioning?: import('ol/Overlay').Positioning, draggable?: boolean, clear?: boolean) => import('ol').Overlay | undefined;
|
|
50
|
-
removerLayer: (index: number, id: string) => void;
|
|
51
|
-
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
52
|
-
setMarkerPosition: (val: string) => void;
|
|
53
|
-
getZoomAndCenter: () => {
|
|
54
|
-
zoom: number;
|
|
55
|
-
center: any[];
|
|
56
|
-
} | null;
|
|
57
|
-
setCenter: (lonLat: number[]) => null | undefined;
|
|
58
|
-
deleteLabelFromArray: () => void;
|
|
59
|
-
drawPolygonTool: {
|
|
60
|
-
addInteraction: (callback?: Function) => void;
|
|
61
|
-
removeInteraction: () => void;
|
|
62
|
-
initFeature: (callback?: Function) => void;
|
|
63
|
-
reset: () => void;
|
|
64
|
-
destroy: () => void;
|
|
65
|
-
};
|
|
66
|
-
setMapInstance: () => void;
|
|
67
|
-
store: {
|
|
68
|
-
showDrawLayer: () => boolean;
|
|
69
|
-
};
|
|
70
|
-
config: {
|
|
71
|
-
mapZoom: {
|
|
72
|
-
default: number;
|
|
73
|
-
min: number;
|
|
74
|
-
max: number;
|
|
75
|
-
findShipMin: number;
|
|
76
|
-
findShip: number;
|
|
77
|
-
findTruck: number;
|
|
78
|
-
shipGreenDotMax: number;
|
|
79
|
-
truckDefault: number;
|
|
80
|
-
truckStatistics: number;
|
|
81
|
-
shipModelMin: number;
|
|
82
|
-
shipModelMax: number;
|
|
83
|
-
markerPosition: number;
|
|
84
|
-
};
|
|
85
|
-
projection: {
|
|
86
|
-
data: string;
|
|
87
|
-
mercator: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
utils: {
|
|
91
|
-
transform: {
|
|
92
|
-
gcj02ToWgs84: (lnglat: string) => string;
|
|
93
|
-
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => {
|
|
94
|
-
leftTopPoint: {
|
|
95
|
-
lng: number;
|
|
96
|
-
lat: number;
|
|
97
|
-
};
|
|
98
|
-
rightTopPoint: {
|
|
99
|
-
lng: number;
|
|
100
|
-
lat: number;
|
|
101
|
-
};
|
|
102
|
-
rightBottomPoint: {
|
|
103
|
-
lng: number;
|
|
104
|
-
lat: number;
|
|
105
|
-
};
|
|
106
|
-
leftBottomPoint: {
|
|
107
|
-
lng: number;
|
|
108
|
-
lat: number;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
lonLatToMercator: (center: [number, number]) => number[];
|
|
112
|
-
mercatorToLonLat: (center: [number, number], type?: string) => number[] | {
|
|
113
|
-
lon: number;
|
|
114
|
-
lat: number;
|
|
115
|
-
};
|
|
116
|
-
calculateBoundingBox: (coordinates: [number, number][]) => number[];
|
|
117
|
-
transform: typeof transform;
|
|
118
|
-
};
|
|
119
|
-
format: {
|
|
120
|
-
formatLength: (line: import('ol/geom').LineString, unit: number) => string;
|
|
121
|
-
convertSixHundredThousandToLatLng: (valueX: number | string, valueY: number | string) => [lng: number, lat: number];
|
|
122
|
-
formatArea: (polygon: import('ol/geom').Polygon | import('ol/geom').Geometry, unit: number) => string | undefined;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
126
|
-
zoomChanged: (...args: any[]) => void;
|
|
127
|
-
extentChanged: (...args: any[]) => void;
|
|
128
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
129
|
-
zoom: number | null;
|
|
130
|
-
center: [number, number] | null;
|
|
131
|
-
vehicleMode: "truck" | "ship";
|
|
132
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
133
|
-
mmsi?: string;
|
|
134
|
-
shipData?: ShipInfoVo;
|
|
135
|
-
logoType?: number;
|
|
136
|
-
showToolPanel?: boolean | undefined;
|
|
137
|
-
}>>> & Readonly<{
|
|
138
|
-
onZoomChanged?: ((...args: any[]) => any) | undefined;
|
|
139
|
-
onExtentChanged?: ((...args: any[]) => any) | undefined;
|
|
140
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
141
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
142
|
-
export default _default;
|
|
143
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
144
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
145
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
146
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
147
|
-
} : {
|
|
148
|
-
type: import('vue').PropType<T[K]>;
|
|
149
|
-
required: true;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
153
|
-
new (): {
|
|
154
|
-
$slots: S;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseMapType, COPY_RIGHT_TYPE } from '../types.ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
type?: number;
|
|
5
|
-
mapTile: number;
|
|
6
|
-
}>, {
|
|
7
|
-
type: COPY_RIGHT_TYPE;
|
|
8
|
-
mapTile: BaseMapType;
|
|
9
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
type?: number;
|
|
11
|
-
mapTile: number;
|
|
12
|
-
}>, {
|
|
13
|
-
type: COPY_RIGHT_TYPE;
|
|
14
|
-
mapTile: BaseMapType;
|
|
15
|
-
}>>> & Readonly<{}>, {
|
|
16
|
-
type: number;
|
|
17
|
-
mapTile: number;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare function removeInteraction(): void;
|
|
2
|
-
declare function addInteraction(): void;
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
visible: import('vue').PropType<boolean>;
|
|
5
|
-
viewMode: {
|
|
6
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
addInteraction: typeof addInteraction;
|
|
11
|
-
removeInteraction: typeof removeInteraction;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
close: (...args: any[]) => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
visible: import('vue').PropType<boolean>;
|
|
16
|
-
viewMode: {
|
|
17
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{
|
|
21
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { BaseMapType } from '../types.ts';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
toolPanel?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
vehicleMode: "truck" | "ship";
|
|
8
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
9
|
-
disableGreenDot: boolean;
|
|
10
|
-
showTrackLayer: boolean;
|
|
11
|
-
mapTileMode: BaseMapType;
|
|
12
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
switchGreenDot: (...args: any[]) => void;
|
|
14
|
-
switchMapTile: (...args: any[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
-
vehicleMode: "truck" | "ship";
|
|
17
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
18
|
-
disableGreenDot: boolean;
|
|
19
|
-
showTrackLayer: boolean;
|
|
20
|
-
mapTileMode: BaseMapType;
|
|
21
|
-
}>>> & Readonly<{
|
|
22
|
-
onSwitchGreenDot?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
onSwitchMapTile?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const CDN_URL = "https://static.zhihaoscm.cn/";
|
|
2
|
-
export declare const tiandituKey = "a6e8f78974f2581f2ca00485b40c948f";
|
|
3
|
-
export declare const zhongkeKey = "15c81cc0a191a232e0a0ca1a51c3ca81";
|
|
4
|
-
export declare const baseMap: {
|
|
5
|
-
tiandituTile: string;
|
|
6
|
-
tiandituTileMark: string;
|
|
7
|
-
tiandituImgTile: string;
|
|
8
|
-
tiandituImgTileMark: string;
|
|
9
|
-
greenTile: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const mapZoom: {
|
|
12
|
-
default: number;
|
|
13
|
-
min: number;
|
|
14
|
-
max: number;
|
|
15
|
-
findShipMin: number;
|
|
16
|
-
findShip: number;
|
|
17
|
-
findTruck: number;
|
|
18
|
-
shipGreenDotMax: number;
|
|
19
|
-
truckDefault: number;
|
|
20
|
-
truckStatistics: number;
|
|
21
|
-
shipModelMin: number;
|
|
22
|
-
shipModelMax: number;
|
|
23
|
-
markerPosition: number;
|
|
24
|
-
};
|
|
25
|
-
export declare const renderShipsLimit = 200;
|
|
26
|
-
export declare const mapDefaultCenter: [number, number];
|
|
27
|
-
export declare const projection: {
|
|
28
|
-
data: string;
|
|
29
|
-
mercator: string;
|
|
30
|
-
};
|
|
31
|
-
export declare const LOG_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
|
32
|
-
export declare const DEFAULT_VALUE = "--";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export declare enum SEARCH_TYPE {
|
|
2
|
-
SEARCH_SHIP = 0,
|
|
3
|
-
SEARCH_PORT = 1,
|
|
4
|
-
SEARCH_CUSTOM = 2
|
|
5
|
-
}
|
|
6
|
-
export declare enum SWITCH_BTN {
|
|
7
|
-
Camera = "camera",
|
|
8
|
-
Mobile = "mobile",
|
|
9
|
-
WaterGauge = "waterGauge"
|
|
10
|
-
}
|
|
11
|
-
export declare enum SHIP_SAIL_STATUS {
|
|
12
|
-
"发动机使用中" = 0,
|
|
13
|
-
"锚泊" = 1,
|
|
14
|
-
"未操作" = 2,
|
|
15
|
-
"操纵能力受限" = 3,
|
|
16
|
-
"吃水受限" = 4,
|
|
17
|
-
"系泊" = 5,
|
|
18
|
-
"搁浅" = 6,
|
|
19
|
-
"从事捕捞" = 7,
|
|
20
|
-
"航行中" = 8,
|
|
21
|
-
"留作将来修正导航状态" = 9,
|
|
22
|
-
"高速船留用" = 10,
|
|
23
|
-
"机动船尾推作业" = 11,
|
|
24
|
-
"机动船顶推或侧推作业" = 12,
|
|
25
|
-
"飞翼船留用" = 13,
|
|
26
|
-
"现行的" = 14,
|
|
27
|
-
"未定义" = 15
|
|
28
|
-
}
|
|
29
|
-
export declare enum SHIP_TYPE {
|
|
30
|
-
"飞翼船" = 1,
|
|
31
|
-
"捕捞船" = 2,
|
|
32
|
-
"拖带船" = 3,
|
|
33
|
-
"帆船" = 4,
|
|
34
|
-
"游艇" = 5,
|
|
35
|
-
"高速船" = 6,
|
|
36
|
-
"领航船" = 7,
|
|
37
|
-
"搜救船" = 8,
|
|
38
|
-
"拖轮" = 9,
|
|
39
|
-
"港口供应" = 10,
|
|
40
|
-
"防污船舶" = 11,
|
|
41
|
-
"执法船" = 12,
|
|
42
|
-
"医疗运输" = 13,
|
|
43
|
-
"特殊船" = 14,
|
|
44
|
-
"客轮" = 15,
|
|
45
|
-
"货轮" = 16,
|
|
46
|
-
"油轮" = 17,
|
|
47
|
-
"集装箱船" = 18,
|
|
48
|
-
"其他" = 19,
|
|
49
|
-
"未知" = 20
|
|
50
|
-
}
|