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.
Files changed (31) hide show
  1. package/dist/es/{BaseInfo-C-n-23wy.js → BaseInfo-DFEg4oWo.js} +1 -1
  2. package/dist/es/{BaseItem-BmbN3hxP.js → BaseItem-BvdMV2Gu.js} +3 -3
  3. package/dist/es/{Button-DnAj6C7o.js → Button-NgQ5sHIG.js} +2 -2
  4. package/dist/es/{DatePicker-CLuXvVZx.js → DatePicker-B2pu6NJQ.js} +3 -3
  5. package/dist/es/{DetailHeader-CJ49WOPF.js → DetailHeader-DDDbFDig.js} +3 -3
  6. package/dist/es/{DetailSubTitle-BTe5k4Tv.js → DetailSubTitle-IqUKEU6D.js} +2 -2
  7. package/dist/es/{Dialog-Bv42gNoY.js → Dialog-DzTqitsD.js} +3 -3
  8. package/dist/es/{DiyDataTable-DDIkdXF3.js → DiyDataTable-DlgBshaZ.js} +4 -4
  9. package/dist/es/{EditInfoPair-B_1jHWIS.js → EditInfoPair-DQQoCmp8.js} +3 -3
  10. package/dist/es/{FileWrapper-Cyfnbvfq.js → FileWrapper-pzSCoy4C.js} +4 -4
  11. package/dist/es/{Grid-BziKC4j6.js → Grid-D3sfvKjP.js} +2 -2
  12. package/dist/es/{InfoPair-ggIW5r8A.js → InfoPair-O3-tZH-B.js} +3 -3
  13. package/dist/es/{Input-BEYAS5WB.js → Input-m8a-UuQp.js} +3 -3
  14. package/dist/es/{Loading-Dw6qV2j-.js → Loading-5WuhZO5j.js} +2 -2
  15. package/dist/es/{Map-CVB8icRh.js → Map-dW7d39YT.js} +504 -421
  16. package/dist/es/{MessageBox-BqcS3SpW.js → MessageBox-3q9YfNRL.js} +2 -2
  17. package/dist/es/{MoneyInput-BEZxWEKT.js → MoneyInput-DddMW7cV.js} +5 -5
  18. package/dist/es/{PageHeadPanel-DVd4kJnd.js → PageHeadPanel-BLvPIfGZ.js} +2 -2
  19. package/dist/es/{Table-CyPkm0mk.js → Table-iJRuASc3.js} +5 -5
  20. package/dist/es/{ToolTips-ev7cPDVQ.js → ToolTips-Cv8eNWyC.js} +3 -3
  21. package/dist/es/index.js +22 -22
  22. package/dist/es/{utils-B9UlcPnQ.js → utils-DSw1USoH.js} +1 -1
  23. package/dist/es/{vendor-C-yFzCvN.js → vendor-Cc_TVxUO.js} +10 -10
  24. package/dist/index.css +1 -1
  25. package/dist/types/components/Map/Map.vue.d.ts +2 -2
  26. package/dist/types/components/Map/function/shipTrack.d.ts +23 -4
  27. package/dist/types/components/Map/index.d.ts +6 -6
  28. package/dist/types/components/Map/utils/track.d.ts +2 -0
  29. package/dist/umd/index.css +1 -1
  30. package/dist/umd/index.umd.cjs +37 -37
  31. 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: (clearAll?: boolean) => void;
41
- getLength: (trackId: string, unit?: number) => {
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
- export declare const closeTrack: (clearAll?: boolean) => void;
15
- export declare const getTrackLength: (trackId: string, unit?: number) => {
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: (clearAll?: boolean) => void;
77
- getLength: (trackId: string, unit?: number) => {
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: (clearAll?: boolean) => void;
222
- getLength: (trackId: string, unit?: number) => {
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: (clearAll?: boolean) => void;
364
- getLength: (trackId: string, unit?: number) => {
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;