zhihao-ui 1.3.38 → 1.3.40
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-BuHDM71l.js +2190 -0
- package/dist/es/index.js +1 -1
- package/dist/types/components/Map/function/ship/style.d.ts +5 -5
- package/dist/umd/index.umd.cjs +40 -40
- package/package.json +1 -1
- package/dist/es/Map-DBGLMSuw.js +0 -2171
package/dist/es/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { Z as B } from "./BaseInfo-BhnEjLKF.js";
|
|
|
17
17
|
import { Z as g } from "./DetailHeader-DaabNj_4.js";
|
|
18
18
|
import { Z as x } from "./DiyDataTable-D-UZVciZ.js";
|
|
19
19
|
import { D as V } from "./DiyDataTable-D-UZVciZ.js";
|
|
20
|
-
import { Z as G } from "./Map-
|
|
20
|
+
import { Z as G } from "./Map-BuHDM71l.js";
|
|
21
21
|
import { Z as M } from "./Table-B_3YA1mb.js";
|
|
22
22
|
import { Z as $ } from "./BaseItem-C4NJy1i4.js";
|
|
23
23
|
const A = [
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ShipInfoVo } from '../../interface';
|
|
2
2
|
import { SHIP_DIRECT } from '../../meta/ship';
|
|
3
|
-
import { Feature, Overlay } from 'ol';
|
|
3
|
+
import { Feature, Map as MapOl, Overlay } 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;
|
|
7
7
|
type ShipType = 'ship' | 'triangle';
|
|
8
8
|
export declare const createShipStyle: (mapInstance: any, feature: Feature) => Style;
|
|
9
|
-
export declare const getShipType: (mapInstance:
|
|
10
|
-
export declare const getShipScale: (mapInstance:
|
|
11
|
-
export declare const selectedShipStyle: (mapInstance:
|
|
9
|
+
export declare const getShipType: (mapInstance: MapOl) => ShipType;
|
|
10
|
+
export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
|
|
11
|
+
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Overlay;
|
|
12
12
|
/**
|
|
13
13
|
* 生成船只元素
|
|
14
14
|
* @param shipData
|
|
15
15
|
*/
|
|
16
|
-
export declare const selectedShipElement: (mapInstance:
|
|
16
|
+
export declare const selectedShipElement: (mapInstance: MapOl, shipData: ShipInfoVo) => HTMLDivElement;
|
|
17
17
|
export declare const createLabelStyle: (mapInstance: any, shipData: any) => void;
|
|
18
18
|
export declare const createLabelElement: (shipData: any) => HTMLDivElement;
|
|
19
19
|
export declare const getRightIcons: (ship: ShipInfoVo) => string[];
|