zhihao-ui 1.3.44-alpha.1 → 1.3.44
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/Map-CsuCg0hw.js +2267 -0
- package/dist/es/index.js +1 -1
- package/dist/types/components/Map/function/port.d.ts +2 -2
- package/dist/types/components/Map/function/ship/style.d.ts +2 -3
- package/dist/umd/index.umd.cjs +48 -48
- package/package.json +1 -1
- package/dist/es/Map-DKkSq-bX.js +0 -2267
package/dist/es/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { Z as B } from "./BaseInfo-DjMoCl6q.js";
|
|
|
17
17
|
import { Z as g } from "./DetailHeader-RmOylZsk.js";
|
|
18
18
|
import { Z as x } from "./DiyDataTable-DEjYnC6P.js";
|
|
19
19
|
import { D as V } from "./DiyDataTable-DEjYnC6P.js";
|
|
20
|
-
import { Z as G } from "./Map-
|
|
20
|
+
import { Z as G } from "./Map-CsuCg0hw.js";
|
|
21
21
|
import { Z as M } from "./Table-DXSMi34f.js";
|
|
22
22
|
import { Z as $ } from "./BaseItem-4-tfe2b_.js";
|
|
23
23
|
const A = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WharfEntity } from '../interface';
|
|
2
|
-
import { Feature, Map } from 'ol';
|
|
2
|
+
import { Feature, Map as MapOl } from 'ol';
|
|
3
3
|
|
|
4
4
|
export declare const PORT_LAYER_CLASS_NAME = "zh-map-port-layer";
|
|
5
|
-
export declare const usePortManager: (mapInstance:
|
|
5
|
+
export declare const usePortManager: (mapInstance: MapOl) => {
|
|
6
6
|
render: (portList: WharfEntity[], showTitle?: boolean) => void;
|
|
7
7
|
clear: () => void;
|
|
8
8
|
selected: (portData?: WharfEntity) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShipInfoVo } from '../../interface';
|
|
2
2
|
import { SHIP_DIRECT } from '../../meta/ship';
|
|
3
|
-
import { Feature, Map as MapOl
|
|
3
|
+
import { Feature, Map as MapOl } from 'ol';
|
|
4
4
|
import { Style } from 'ol/style';
|
|
5
5
|
|
|
6
6
|
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
|
|
@@ -8,12 +8,11 @@ type ShipType = 'ship' | 'triangle';
|
|
|
8
8
|
export declare const createShipStyle: (mapInstance: MapOl, feature: Feature) => Style;
|
|
9
9
|
export declare const getShipType: (mapInstance: MapOl) => ShipType;
|
|
10
10
|
export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
|
|
11
|
-
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Overlay;
|
|
12
11
|
/**
|
|
13
12
|
* 生成船只元素
|
|
14
13
|
* @param shipData
|
|
15
14
|
*/
|
|
16
|
-
export declare const
|
|
15
|
+
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Style;
|
|
17
16
|
export declare const createLabelStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => void;
|
|
18
17
|
export declare const createLabelElement: (shipData: ShipInfoVo) => HTMLDivElement;
|
|
19
18
|
export declare const getRightIcons: (ship: ShipInfoVo) => string[];
|