zhihao-ui 1.2.10 → 1.2.12
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-Dv-eon6t.js → BaseInfo-CX8jhSiU.js} +1 -1
- package/dist/es/{Button-DBbUF88w.js → Button-Dayz-XVx.js} +2 -2
- package/dist/es/{DatePicker-CWQoV03Q.js → DatePicker-vfIj425T.js} +2 -2
- package/dist/es/{DetailHeader-C_mAB8-2.js → DetailHeader-DrlhwY52.js} +3 -3
- package/dist/es/{DetailSubTitle-DD7Yllhf.js → DetailSubTitle-QEEHnjR_.js} +2 -2
- package/dist/es/{Dialog-DyDSVm-6.js → Dialog-CLQwwXs6.js} +3 -3
- package/dist/es/{DiyDataTable-KOY6vjPs.js → DiyDataTable-CjU8lE1d.js} +68 -68
- package/dist/es/{EditInfoPair-D0b5jY5Y.js → EditInfoPair-BAkhPrrp.js} +3 -3
- package/dist/es/{FileWrapper-CMSYWmEz.js → FileWrapper-WvZK7e6H.js} +4 -4
- package/dist/es/{Grid-B5O9dZNI.js → Grid-B8GjLkPJ.js} +1 -1
- package/dist/es/{InfoPair-Do3sSVw-.js → InfoPair-CVRcV6zN.js} +3 -3
- package/dist/es/{Input-DVpd0Yte.js → Input-D3aG3Fqg.js} +3 -3
- package/dist/es/{Loading-DwtfOhMD.js → Loading-CJ0YVxxE.js} +2 -2
- package/dist/es/{Map-B8_d8utt.js → Map-CjPsc0XI.js} +827 -712
- package/dist/es/{MessageBox-BowhqMYW.js → MessageBox-CMjFYHiw.js} +2 -2
- package/dist/es/{MoneyInput-CaTrJLi1.js → MoneyInput-Ctz5oyHG.js} +5 -5
- package/dist/es/{PageHeadPanel-_mKu2rMQ.js → PageHeadPanel-B13UDwTh.js} +2 -2
- package/dist/es/{ToolTips-BTCP0N--.js → ToolTips-ZGKTR5KG.js} +3 -3
- package/dist/es/index.js +21 -21
- package/dist/es/{utils-DZ8-2Fg2.js → utils-DR-4CNcy.js} +1 -1
- package/dist/es/{vendor-BY-fHNA3.js → vendor-qv9XzgYI.js} +1595 -1595
- package/dist/index.css +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +7 -3
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +16 -1
- package/dist/types/components/Map/index.d.ts +30 -12
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +1 -0
- package/dist/types/components/Map/render/drawPolygon.d.ts +2 -2
- package/dist/types/components/Map/render/renderTrack.d.ts +2 -2
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +16 -16
- package/package.json +1 -1
|
@@ -6,17 +6,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
6
6
|
zoom: number | null;
|
|
7
7
|
center: [number, number] | null;
|
|
8
8
|
vehicleMode: "truck" | "ship";
|
|
9
|
+
viewMode: "PC" | "WxMiniprogram" | "APP";
|
|
9
10
|
}>>, {
|
|
10
11
|
mapInstance: Ref<Map | undefined, Map | undefined>;
|
|
11
12
|
initMap: () => void;
|
|
12
13
|
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
13
14
|
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;
|
|
14
|
-
renderTrack: (
|
|
15
|
+
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
15
16
|
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
16
17
|
removeTruckIcon: () => void;
|
|
17
18
|
clearAllTruck: () => void;
|
|
18
19
|
closeTrack: () => void;
|
|
19
20
|
closeTruckTrack: () => void;
|
|
21
|
+
resetTrackView: (id?: number | string) => void;
|
|
22
|
+
playTrack: (index: number | string, speed: number) => void;
|
|
20
23
|
clearSelectFeature: () => void;
|
|
21
24
|
findShip: (id: string, shipData?: ShipInfoVo, select?: boolean) => any;
|
|
22
25
|
focusShip: (id: string, shipData?: ShipInfoVo) => void;
|
|
@@ -30,9 +33,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
33
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
31
34
|
setMarkerPosition: (val: string) => void;
|
|
32
35
|
drawPolygonTool: {
|
|
33
|
-
addInteraction: (callback
|
|
36
|
+
addInteraction: (callback?: Function) => void;
|
|
34
37
|
removeInteraction: () => void;
|
|
35
|
-
initFeature: (callback
|
|
38
|
+
initFeature: (callback?: Function) => void;
|
|
36
39
|
reset: () => void;
|
|
37
40
|
};
|
|
38
41
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -42,6 +45,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
45
|
zoom: number | null;
|
|
43
46
|
center: [number, number] | null;
|
|
44
47
|
vehicleMode: "truck" | "ship";
|
|
48
|
+
viewMode: "PC" | "WxMiniprogram" | "APP";
|
|
45
49
|
}>>> & Readonly<{
|
|
46
50
|
onZoomChanged?: ((...args: any[]) => any) | undefined;
|
|
47
51
|
onExtentChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
toolPanel?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
5
|
vehicleMode: "truck" | "ship";
|
|
6
|
+
viewMode: "PC" | "WxMiniprogram" | "APP";
|
|
7
|
+
disableGreenDot: boolean;
|
|
8
|
+
showTrackLayer: boolean;
|
|
3
9
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
10
|
switchGreenDot: (...args: any[]) => void;
|
|
5
11
|
switchMapTile: (...args: any[]) => void;
|
|
6
12
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
13
|
vehicleMode: "truck" | "ship";
|
|
14
|
+
viewMode: "PC" | "WxMiniprogram" | "APP";
|
|
15
|
+
disableGreenDot: boolean;
|
|
16
|
+
showTrackLayer: boolean;
|
|
8
17
|
}>>> & Readonly<{
|
|
9
18
|
onSwitchGreenDot?: ((...args: any[]) => any) | undefined;
|
|
10
19
|
onSwitchMapTile?: ((...args: any[]) => any) | undefined;
|
|
11
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
22
|
export default _default;
|
|
13
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
24
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -19,3 +29,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
19
29
|
required: true;
|
|
20
30
|
};
|
|
21
31
|
};
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -9,7 +9,11 @@ export declare const ZhMap: {
|
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
11
|
vehicleMode: {
|
|
12
|
-
type: import('vue').PropType<"
|
|
12
|
+
type: import('vue').PropType<"ship" | "truck">;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
viewMode: {
|
|
16
|
+
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP">;
|
|
13
17
|
required: true;
|
|
14
18
|
};
|
|
15
19
|
}>> & Readonly<{
|
|
@@ -20,12 +24,14 @@ export declare const ZhMap: {
|
|
|
20
24
|
initMap: () => void;
|
|
21
25
|
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
22
26
|
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;
|
|
23
|
-
renderTrack: (
|
|
27
|
+
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
24
28
|
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
25
29
|
removeTruckIcon: () => void;
|
|
26
30
|
clearAllTruck: () => void;
|
|
27
31
|
closeTrack: () => void;
|
|
28
32
|
closeTruckTrack: () => void;
|
|
33
|
+
resetTrackView: (id?: number | string) => void;
|
|
34
|
+
playTrack: (index: number | string, speed: number) => void;
|
|
29
35
|
clearSelectFeature: () => void;
|
|
30
36
|
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
31
37
|
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo) => void;
|
|
@@ -39,9 +45,9 @@ export declare const ZhMap: {
|
|
|
39
45
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
40
46
|
setMarkerPosition: (val: string) => void;
|
|
41
47
|
drawPolygonTool: {
|
|
42
|
-
addInteraction: (callback
|
|
48
|
+
addInteraction: (callback?: Function) => void;
|
|
43
49
|
removeInteraction: () => void;
|
|
44
|
-
initFeature: (callback
|
|
50
|
+
initFeature: (callback?: Function) => void;
|
|
45
51
|
reset: () => void;
|
|
46
52
|
};
|
|
47
53
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -64,7 +70,11 @@ export declare const ZhMap: {
|
|
|
64
70
|
required: true;
|
|
65
71
|
};
|
|
66
72
|
vehicleMode: {
|
|
67
|
-
type: import('vue').PropType<"
|
|
73
|
+
type: import('vue').PropType<"ship" | "truck">;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
viewMode: {
|
|
77
|
+
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP">;
|
|
68
78
|
required: true;
|
|
69
79
|
};
|
|
70
80
|
}>> & Readonly<{
|
|
@@ -75,12 +85,14 @@ export declare const ZhMap: {
|
|
|
75
85
|
initMap: () => void;
|
|
76
86
|
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
77
87
|
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;
|
|
78
|
-
renderTrack: (
|
|
88
|
+
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
79
89
|
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
80
90
|
removeTruckIcon: () => void;
|
|
81
91
|
clearAllTruck: () => void;
|
|
82
92
|
closeTrack: () => void;
|
|
83
93
|
closeTruckTrack: () => void;
|
|
94
|
+
resetTrackView: (id?: number | string) => void;
|
|
95
|
+
playTrack: (index: number | string, speed: number) => void;
|
|
84
96
|
clearSelectFeature: () => void;
|
|
85
97
|
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
86
98
|
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo) => void;
|
|
@@ -94,9 +106,9 @@ export declare const ZhMap: {
|
|
|
94
106
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
95
107
|
setMarkerPosition: (val: string) => void;
|
|
96
108
|
drawPolygonTool: {
|
|
97
|
-
addInteraction: (callback
|
|
109
|
+
addInteraction: (callback?: Function) => void;
|
|
98
110
|
removeInteraction: () => void;
|
|
99
|
-
initFeature: (callback
|
|
111
|
+
initFeature: (callback?: Function) => void;
|
|
100
112
|
reset: () => void;
|
|
101
113
|
};
|
|
102
114
|
}, {}, {}, {}, {}>;
|
|
@@ -113,7 +125,11 @@ export declare const ZhMap: {
|
|
|
113
125
|
required: true;
|
|
114
126
|
};
|
|
115
127
|
vehicleMode: {
|
|
116
|
-
type: import('vue').PropType<"
|
|
128
|
+
type: import('vue').PropType<"ship" | "truck">;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
viewMode: {
|
|
132
|
+
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP">;
|
|
117
133
|
required: true;
|
|
118
134
|
};
|
|
119
135
|
}>> & Readonly<{
|
|
@@ -124,12 +140,14 @@ export declare const ZhMap: {
|
|
|
124
140
|
initMap: () => void;
|
|
125
141
|
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
126
142
|
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;
|
|
127
|
-
renderTrack: (
|
|
143
|
+
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
128
144
|
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
129
145
|
removeTruckIcon: () => void;
|
|
130
146
|
clearAllTruck: () => void;
|
|
131
147
|
closeTrack: () => void;
|
|
132
148
|
closeTruckTrack: () => void;
|
|
149
|
+
resetTrackView: (id?: number | string) => void;
|
|
150
|
+
playTrack: (index: number | string, speed: number) => void;
|
|
133
151
|
clearSelectFeature: () => void;
|
|
134
152
|
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
135
153
|
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo) => void;
|
|
@@ -143,9 +161,9 @@ export declare const ZhMap: {
|
|
|
143
161
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
144
162
|
setMarkerPosition: (val: string) => void;
|
|
145
163
|
drawPolygonTool: {
|
|
146
|
-
addInteraction: (callback
|
|
164
|
+
addInteraction: (callback?: Function) => void;
|
|
147
165
|
removeInteraction: () => void;
|
|
148
|
-
initFeature: (callback
|
|
166
|
+
initFeature: (callback?: Function) => void;
|
|
149
167
|
reset: () => void;
|
|
150
168
|
};
|
|
151
169
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -2,4 +2,5 @@ import { Style } from 'ol/style';
|
|
|
2
2
|
import { ShipTrack } from '../../interface';
|
|
3
3
|
|
|
4
4
|
export declare const renderTrackLine: (data: any, id: string, trackColor: string) => void;
|
|
5
|
+
export declare const handlePlay: (index: number) => void;
|
|
5
6
|
export declare const setTrackLabelStyle: (featureData: ShipTrack, trackColor: string) => Style;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare function addInteraction(callback
|
|
1
|
+
declare function addInteraction(callback?: Function): void;
|
|
2
2
|
declare function removeInteraction(): void;
|
|
3
3
|
export declare const drawPolygonTool: {
|
|
4
4
|
addInteraction: typeof addInteraction;
|
|
5
5
|
removeInteraction: typeof removeInteraction;
|
|
6
|
-
initFeature: (callback
|
|
6
|
+
initFeature: (callback?: Function) => void;
|
|
7
7
|
reset: () => void;
|
|
8
8
|
};
|
|
9
9
|
export {};
|
|
@@ -5,9 +5,9 @@ import { TrackExtend } from '../interface';
|
|
|
5
5
|
* 轨迹绘制
|
|
6
6
|
*/
|
|
7
7
|
export declare const showTracks: Ref<TrackExtend[]>;
|
|
8
|
-
export declare const renderTrack: (id: string, list: any[], color: string, unit:
|
|
8
|
+
export declare const renderTrack: (id: string, list: any[], color: string, unit: number, vehicleType?: "ship" | "truck") => void;
|
|
9
9
|
export declare const removeAllTrackLayer: () => void;
|
|
10
10
|
export declare const playTrack: (index: number | string, speed: number) => void;
|
|
11
11
|
export declare const removerLayer: (index: number) => void;
|
|
12
|
-
export declare const resetTrackView: (id
|
|
12
|
+
export declare const resetTrackView: (id?: number | string) => void;
|
|
13
13
|
export declare const trackLayerVisible: (flag: boolean) => void;
|