zhihao-ui 1.3.19 → 1.3.21

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.
@@ -49,9 +49,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
49
49
  playTrack: (...rest: any[]) => any;
50
50
  };
51
51
  port: {
52
- render: (portList: WharfEntity[]) => any;
52
+ render: (portList: WharfEntity[], showTitle: boolean) => any;
53
53
  clear: () => any;
54
- selected: (portData: WharfEntity) => any;
54
+ selected: (portData?: WharfEntity) => any;
55
55
  };
56
56
  position: {
57
57
  render: (...rest: any[]) => any;
@@ -4,7 +4,7 @@ import { useMapInitializer } from './map';
4
4
 
5
5
  export declare const PORT_LAYER_CLASS_NAME = "zh-map-port-layer";
6
6
  export declare const usePortManager: (mapManager: ReturnType<typeof useMapInitializer>) => {
7
- render: (portList: WharfEntity[]) => void;
7
+ render: (portList: WharfEntity[], showTitle?: boolean) => void;
8
8
  clear: () => void;
9
9
  selected: (portData?: WharfEntity) => void;
10
10
  handlePortHover: (portFeature: Feature) => void;
@@ -5,7 +5,10 @@ export declare const useShipManager: (mapInstance: any) => {
5
5
  render: (shipList: ShipInfoVo[]) => void;
6
6
  selected: (ship: ShipInfoVo) => void;
7
7
  filter: (shipList: ShipInfoVo[]) => void;
8
- blinking: (ships: Record<string, boolean>, colors: Record<string, boolean>) => void;
8
+ blinking: (ships: Record<string, boolean>, colors: {
9
+ blinkColors: string[];
10
+ shipState: string;
11
+ }) => void;
9
12
  clear: () => void;
10
13
  handleShipMapEvent: import('lodash-es').DebouncedFunc<(shipsFeature: Feature, type: string, callback?: (id: string) => void) => void>;
11
14
  };
@@ -14,8 +14,8 @@ export declare const selectedShipStyle: (mapInstance: any, shipData: ShipInfoVo)
14
14
  * @param shipData
15
15
  */
16
16
  export declare const selectedShipElement: (mapInstance: any, shipData: ShipInfoVo) => HTMLDivElement;
17
- export declare const createLabelStyle: (mapInstance: any, feature: Feature) => void;
18
- export declare const createLabelElement: (feature: Feature) => HTMLDivElement;
17
+ export declare const createLabelStyle: (mapInstance: any, shipData: any) => void;
18
+ export declare const createLabelElement: (shipData: any) => HTMLDivElement;
19
19
  export declare const getRightIcons: (ship: ShipInfoVo) => string[];
20
20
  export declare function getRandomLineDirection(): LineDirection;
21
21
  type LineDirection = 'left-top' | 'left-middle' | 'left-bottom' | 'right-top' | 'right-middle' | 'right-bottom';
@@ -81,9 +81,9 @@ export declare const ZhMap: {
81
81
  playTrack: (...rest: any[]) => any;
82
82
  };
83
83
  port: {
84
- render: (portList: import('./interface').WharfEntity[]) => any;
84
+ render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
85
85
  clear: () => any;
86
- selected: (portData: import('./interface').WharfEntity) => any;
86
+ selected: (portData?: import('./interface').WharfEntity) => any;
87
87
  };
88
88
  position: {
89
89
  render: (...rest: any[]) => any;
@@ -208,9 +208,9 @@ export declare const ZhMap: {
208
208
  playTrack: (...rest: any[]) => any;
209
209
  };
210
210
  port: {
211
- render: (portList: import('./interface').WharfEntity[]) => any;
211
+ render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
212
212
  clear: () => any;
213
- selected: (portData: import('./interface').WharfEntity) => any;
213
+ selected: (portData?: import('./interface').WharfEntity) => any;
214
214
  };
215
215
  position: {
216
216
  render: (...rest: any[]) => any;
@@ -332,9 +332,9 @@ export declare const ZhMap: {
332
332
  playTrack: (...rest: any[]) => any;
333
333
  };
334
334
  port: {
335
- render: (portList: import('./interface').WharfEntity[]) => any;
335
+ render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
336
336
  clear: () => any;
337
- selected: (portData: import('./interface').WharfEntity) => any;
337
+ selected: (portData?: import('./interface').WharfEntity) => any;
338
338
  };
339
339
  position: {
340
340
  render: (...rest: any[]) => any;
@@ -1,7 +1,7 @@
1
1
  export interface ShipOverlayProps {
2
2
  selected: boolean;
3
3
  name: string;
4
- color: string;
4
+ colors: string[];
5
5
  position: [number, number];
6
6
  existDevice?: boolean;
7
7
  existMobile?: boolean;