zhihao-ui 1.3.20 → 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.
@@ -51,7 +51,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
51
51
  port: {
52
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;
@@ -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';
@@ -83,7 +83,7 @@ export declare const ZhMap: {
83
83
  port: {
84
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;
@@ -210,7 +210,7 @@ export declare const ZhMap: {
210
210
  port: {
211
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;
@@ -334,7 +334,7 @@ export declare const ZhMap: {
334
334
  port: {
335
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;