zhihao-ui 1.3.5 → 1.3.6
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-C-n-23wy.js → BaseInfo-DFEg4oWo.js} +1 -1
- package/dist/es/{BaseItem-BmbN3hxP.js → BaseItem-BvdMV2Gu.js} +3 -3
- package/dist/es/{Button-DnAj6C7o.js → Button-NgQ5sHIG.js} +2 -2
- package/dist/es/{DatePicker-CLuXvVZx.js → DatePicker-B2pu6NJQ.js} +3 -3
- package/dist/es/{DetailHeader-CJ49WOPF.js → DetailHeader-DDDbFDig.js} +3 -3
- package/dist/es/{DetailSubTitle-BTe5k4Tv.js → DetailSubTitle-IqUKEU6D.js} +2 -2
- package/dist/es/{Dialog-Bv42gNoY.js → Dialog-DzTqitsD.js} +3 -3
- package/dist/es/{DiyDataTable-DDIkdXF3.js → DiyDataTable-DlgBshaZ.js} +4 -4
- package/dist/es/{EditInfoPair-B_1jHWIS.js → EditInfoPair-DQQoCmp8.js} +3 -3
- package/dist/es/{FileWrapper-Cyfnbvfq.js → FileWrapper-pzSCoy4C.js} +4 -4
- package/dist/es/{Grid-BziKC4j6.js → Grid-D3sfvKjP.js} +2 -2
- package/dist/es/{InfoPair-ggIW5r8A.js → InfoPair-O3-tZH-B.js} +3 -3
- package/dist/es/{Input-BEYAS5WB.js → Input-m8a-UuQp.js} +3 -3
- package/dist/es/{Loading-Dw6qV2j-.js → Loading-5WuhZO5j.js} +2 -2
- package/dist/es/{Map-CVB8icRh.js → Map-dW7d39YT.js} +504 -421
- package/dist/es/{MessageBox-BqcS3SpW.js → MessageBox-3q9YfNRL.js} +2 -2
- package/dist/es/{MoneyInput-BEZxWEKT.js → MoneyInput-DddMW7cV.js} +5 -5
- package/dist/es/{PageHeadPanel-DVd4kJnd.js → PageHeadPanel-BLvPIfGZ.js} +2 -2
- package/dist/es/{Table-CyPkm0mk.js → Table-iJRuASc3.js} +5 -5
- package/dist/es/{ToolTips-ev7cPDVQ.js → ToolTips-Cv8eNWyC.js} +3 -3
- package/dist/es/index.js +22 -22
- package/dist/es/{utils-B9UlcPnQ.js → utils-DSw1USoH.js} +1 -1
- package/dist/es/{vendor-C-yFzCvN.js → vendor-Cc_TVxUO.js} +10 -10
- package/dist/index.css +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +2 -2
- package/dist/types/components/Map/function/shipTrack.d.ts +23 -4
- package/dist/types/components/Map/index.d.ts +6 -6
- package/dist/types/components/Map/utils/track.d.ts +2 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +37 -37
- package/package.json +1 -1
|
@@ -37,8 +37,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
remove: () => void;
|
|
38
38
|
play: (id: number | string, speed: number) => void;
|
|
39
39
|
setCenter: (id?: number | string) => void;
|
|
40
|
-
close: (
|
|
41
|
-
getLength: (
|
|
40
|
+
close: (id?: string) => void;
|
|
41
|
+
getLength: (id: string, unit?: number) => {
|
|
42
42
|
id: string;
|
|
43
43
|
length: string;
|
|
44
44
|
};
|
|
@@ -3,17 +3,36 @@ import { ShipTrack } from '../interface/shipTrack';
|
|
|
3
3
|
|
|
4
4
|
export declare const reRenderTrackLine: () => void;
|
|
5
5
|
export declare const renderTrackLine: (id: string, list: ShipTrack[], color: string, type?: string, threshold?: number) => Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* 悬浮框样式
|
|
8
|
+
* @param trunkFeature
|
|
9
|
+
* @param type
|
|
10
|
+
* @param event
|
|
11
|
+
*/
|
|
6
12
|
export declare const handleTrackMapEvent: (trunkFeature: Feature, type: string, event: MapBrowserEvent<PointerEvent>) => void;
|
|
7
13
|
/**
|
|
8
|
-
*
|
|
14
|
+
* 设置轨迹居中
|
|
9
15
|
* @param id
|
|
10
16
|
*/
|
|
11
17
|
export declare const setTrackViewCenter: (id?: number | string) => void;
|
|
12
|
-
export declare const playShipTrack: (id: number | string, speed: number) => void;
|
|
13
18
|
export declare const removeAllTrackLayer: () => void;
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
/**
|
|
20
|
+
* 关闭轨迹线
|
|
21
|
+
* @param id
|
|
22
|
+
*/
|
|
23
|
+
export declare const closeTrack: (id?: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
* 获取轨迹线长度
|
|
26
|
+
* @param trackId
|
|
27
|
+
* @param unit
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
export declare const getTrackLength: (id: string, unit?: number) => {
|
|
16
31
|
id: string;
|
|
17
32
|
length: string;
|
|
18
33
|
};
|
|
34
|
+
export declare const playShipTrack: (id: number | string, speed: number) => void;
|
|
19
35
|
export declare const stopAnimation: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* 动画相关
|
|
38
|
+
*/
|
|
@@ -73,8 +73,8 @@ export declare const ZhMap: {
|
|
|
73
73
|
remove: () => void;
|
|
74
74
|
play: (id: number | string, speed: number) => void;
|
|
75
75
|
setCenter: (id?: number | string) => void;
|
|
76
|
-
close: (
|
|
77
|
-
getLength: (
|
|
76
|
+
close: (id?: string) => void;
|
|
77
|
+
getLength: (id: string, unit?: number) => {
|
|
78
78
|
id: string;
|
|
79
79
|
length: string;
|
|
80
80
|
};
|
|
@@ -218,8 +218,8 @@ export declare const ZhMap: {
|
|
|
218
218
|
remove: () => void;
|
|
219
219
|
play: (id: number | string, speed: number) => void;
|
|
220
220
|
setCenter: (id?: number | string) => void;
|
|
221
|
-
close: (
|
|
222
|
-
getLength: (
|
|
221
|
+
close: (id?: string) => void;
|
|
222
|
+
getLength: (id: string, unit?: number) => {
|
|
223
223
|
id: string;
|
|
224
224
|
length: string;
|
|
225
225
|
};
|
|
@@ -360,8 +360,8 @@ export declare const ZhMap: {
|
|
|
360
360
|
remove: () => void;
|
|
361
361
|
play: (id: number | string, speed: number) => void;
|
|
362
362
|
setCenter: (id?: number | string) => void;
|
|
363
|
-
close: (
|
|
364
|
-
getLength: (
|
|
363
|
+
close: (id?: string) => void;
|
|
364
|
+
getLength: (id: string, unit?: number) => {
|
|
365
365
|
id: string;
|
|
366
366
|
length: string;
|
|
367
367
|
};
|
|
@@ -41,3 +41,5 @@ export declare const mercatorToLonLat: (center: [number, number], type?: string)
|
|
|
41
41
|
};
|
|
42
42
|
export declare const adjustBounds: (bounds: number[], offsets: number[]) => number[];
|
|
43
43
|
export declare const isOverlapping: (bounds1: number[], bounds2: number[]) => boolean;
|
|
44
|
+
export declare const formatMinutesToDDHHMM: (minutes: number) => string;
|
|
45
|
+
export declare function douglasPeucker(coords: any, tolerance: any): any;
|