zhihao-ui 1.2.66 → 1.3.1
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/{BaseInfo-VzgiaCKn.js → BaseInfo-CqPKfZM2.js} +1 -1
- package/dist/es/{BaseItem-BtsARxvz.js → BaseItem-XXH5e7db.js} +3 -3
- package/dist/es/{Button-Dw3i74l2.js → Button-DLAiqJPu.js} +2 -2
- package/dist/es/DatePicker-DNED5PYV.js +57 -0
- package/dist/es/{DetailHeader-C5LjDuTv.js → DetailHeader-BCF-X9k8.js} +3 -3
- package/dist/es/{DetailSubTitle-ak2l4HyV.js → DetailSubTitle-Booxy4wf.js} +2 -2
- package/dist/es/{Dialog-Cw3E3ZU6.js → Dialog-gDiUEFNF.js} +3 -3
- package/dist/es/{DiyDataTable-Cgqys5z_.js → DiyDataTable-CPFSQBiW.js} +4 -4
- package/dist/es/{EditInfoPair-8SWkyWJC.js → EditInfoPair-BeQ_RjRC.js} +3 -3
- package/dist/es/{FileWrapper-BKxBr28L.js → FileWrapper-CyQAOj8M.js} +4 -4
- package/dist/es/{Grid-C8tYH4s7.js → Grid-DAZ59W8l.js} +2 -2
- package/dist/es/{InfoPair-C3obQrjB.js → InfoPair-D2gWOKNY.js} +3 -3
- package/dist/es/{Input-C3HDYWCC.js → Input-DCs9DGvN.js} +3 -3
- package/dist/es/{Loading-DfL7OJvd.js → Loading-tblIiyvu.js} +2 -2
- package/dist/es/Map-CWehCrKQ.js +1610 -0
- package/dist/es/{MessageBox-ByLWEDby.js → MessageBox-Bwv1ICSl.js} +2 -2
- package/dist/es/{MoneyInput-CxngoHAe.js → MoneyInput-BUho-aKW.js} +5 -5
- package/dist/es/{PageHeadPanel-d3ponlDx.js → PageHeadPanel-BBzYKasW.js} +2 -2
- package/dist/es/{Table-BufcZ4Wy.js → Table-m_nv-2IU.js} +41 -41
- package/dist/es/{ToolTips-D0FAOOvm.js → ToolTips-BrpfWKhV.js} +6 -6
- package/dist/es/index.js +60 -74
- package/dist/es/{utils-BSQSj8Ii.js → utils-sJ-t5B4u.js} +1 -1
- package/dist/es/{vendor-DaYdW1_n.js → vendor-BUg4XLGS.js} +25624 -29583
- package/dist/index.css +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +94 -138
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +1 -9
- package/dist/types/components/Map/config/global.d.ts +1 -0
- package/dist/types/components/Map/config/index.d.ts +43 -0
- package/dist/types/components/Map/config/map.d.ts +25 -0
- package/dist/types/components/Map/function/carTrack.d.ts +18 -0
- package/dist/types/components/Map/function/drawLine.d.ts +12 -0
- package/dist/types/components/Map/function/drawPolygon.d.ts +6 -0
- package/dist/types/components/Map/function/label.d.ts +9 -0
- package/dist/types/components/Map/function/layers.d.ts +7 -0
- package/dist/types/components/Map/function/map.d.ts +14 -0
- package/dist/types/components/Map/function/port.d.ts +10 -0
- package/dist/types/components/Map/function/props.d.ts +4 -0
- package/dist/types/components/Map/function/ship/index.d.ts +9 -0
- package/dist/types/components/Map/function/ship/label.d.ts +5 -0
- package/dist/types/components/Map/function/ship/style.d.ts +9 -0
- package/dist/types/components/Map/function/ship.d.ts +34 -0
- package/dist/types/components/Map/function/shipLabel.d.ts +25 -0
- package/dist/types/components/Map/function/shipOverlay.d.ts +12 -0
- package/dist/types/components/Map/function/shipTrack.d.ts +15 -0
- package/dist/types/components/Map/index.d.ts +301 -376
- package/dist/types/components/Map/interface/{entity/queryLicenseResponse.d.ts → carTrack.d.ts} +1 -17
- package/dist/types/components/Map/interface/index.d.ts +5 -13
- package/dist/types/components/Map/interface/label.d.ts +27 -0
- package/dist/types/components/Map/interface/mapProps.d.ts +15 -0
- package/dist/types/components/Map/interface/{entity/shipInfoVo.d.ts → shipInfoVo.d.ts} +17 -15
- package/dist/types/components/Map/interface/{entity/shipTrack.d.ts → shipTrack.d.ts} +2 -1
- package/dist/types/components/Map/interface/wharfEntity.d.ts +20 -0
- package/dist/types/components/Map/meta/index.d.ts +17 -0
- package/dist/types/components/Map/meta/ship.d.ts +26 -0
- package/dist/types/components/Map/types.d.ts +1 -13
- package/dist/types/components/Map/utils/cursor.d.ts +2 -0
- package/dist/types/components/Map/utils/events.d.ts +2 -0
- package/dist/types/components/Map/utils/overlay.d.ts +4 -0
- package/dist/types/components/Map/utils/rbush.d.ts +13 -0
- package/dist/types/components/Map/utils/track.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +113 -583
- package/package.json +1 -1
- package/dist/es/DatePicker-BCvYHlC7.js +0 -73
- package/dist/es/Map-BpqtL7_q.js +0 -2528
- package/dist/types/components/Map/components/copyright.vue.d.ts +0 -36
- package/dist/types/components/Map/components/measure.vue.d.ts +0 -23
- package/dist/types/components/Map/components/toolPanel.vue.d.ts +0 -40
- package/dist/types/components/Map/config.d.ts +0 -32
- package/dist/types/components/Map/enum/car.d.ts +0 -5
- package/dist/types/components/Map/enum/device.d.ts +0 -8
- package/dist/types/components/Map/enum/index.d.ts +0 -5
- package/dist/types/components/Map/enum/openLayers.d.ts +0 -10
- package/dist/types/components/Map/enum/ship.d.ts +0 -50
- package/dist/types/components/Map/interface/common/BaseEntity.d.ts +0 -29
- package/dist/types/components/Map/interface/common/page.d.ts +0 -34
- package/dist/types/components/Map/interface/entity/dashboard.d.ts +0 -16
- package/dist/types/components/Map/interface/entity/map.d.ts +0 -36
- package/dist/types/components/Map/interface/entity/point.d.ts +0 -10
- package/dist/types/components/Map/interface/entity/render.d.ts +0 -57
- package/dist/types/components/Map/interface/entity/ship.d.ts +0 -361
- package/dist/types/components/Map/interface/entity/shipMapData.d.ts +0 -27
- package/dist/types/components/Map/interface/entity/shipMarker.d.ts +0 -8
- package/dist/types/components/Map/interface/entity/vehicle.d.ts +0 -345
- package/dist/types/components/Map/interface/vo/vehicleVo.d.ts +0 -20
- package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +0 -15
- package/dist/types/components/Map/render/canvasRender/geometry.d.ts +0 -22
- package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +0 -5
- package/dist/types/components/Map/render/canvasRender/renderPointStyle.d.ts +0 -10
- package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +0 -5
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +0 -12
- package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +0 -3
- package/dist/types/components/Map/render/drawPolygon.d.ts +0 -10
- package/dist/types/components/Map/render/renderDashboard.d.ts +0 -12
- package/dist/types/components/Map/render/renderMarker.d.ts +0 -7
- package/dist/types/components/Map/render/renderPoint.d.ts +0 -80
- package/dist/types/components/Map/render/renderShip.d.ts +0 -20
- package/dist/types/components/Map/render/renderTrack.d.ts +0 -12
- package/dist/types/components/Map/render/renderTruck.d.ts +0 -10
- package/dist/types/components/Map/utils/common.d.ts +0 -27
- package/dist/types/components/Map/utils/format.d.ts +0 -10
- package/dist/types/components/Map/utils/store.d.ts +0 -32
- package/dist/types/components/Map/utils/transform.d.ts +0 -44
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseMapType, COPY_RIGHT_TYPE } from '../types.ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
type?: number;
|
|
5
|
-
mapTile: number;
|
|
6
|
-
}>, {
|
|
7
|
-
type: COPY_RIGHT_TYPE;
|
|
8
|
-
mapTile: BaseMapType;
|
|
9
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
type?: number;
|
|
11
|
-
mapTile: number;
|
|
12
|
-
}>, {
|
|
13
|
-
type: COPY_RIGHT_TYPE;
|
|
14
|
-
mapTile: BaseMapType;
|
|
15
|
-
}>>> & Readonly<{}>, {
|
|
16
|
-
type: number;
|
|
17
|
-
mapTile: number;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare function removeInteraction(): void;
|
|
2
|
-
declare function addInteraction(): void;
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
visible: import('vue').PropType<boolean>;
|
|
5
|
-
viewMode: {
|
|
6
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
addInteraction: typeof addInteraction;
|
|
11
|
-
removeInteraction: typeof removeInteraction;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
close: (...args: any[]) => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
visible: import('vue').PropType<boolean>;
|
|
16
|
-
viewMode: {
|
|
17
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{
|
|
21
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { BaseMapType } from '../types.ts';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
toolPanel?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
vehicleMode: "truck" | "ship";
|
|
8
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
9
|
-
disableGreenDot: boolean;
|
|
10
|
-
showTrackLayer: boolean;
|
|
11
|
-
mapTileMode: BaseMapType;
|
|
12
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
switchGreenDot: (...args: any[]) => void;
|
|
14
|
-
switchMapTile: (...args: any[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
-
vehicleMode: "truck" | "ship";
|
|
17
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
18
|
-
disableGreenDot: boolean;
|
|
19
|
-
showTrackLayer: boolean;
|
|
20
|
-
mapTileMode: BaseMapType;
|
|
21
|
-
}>>> & Readonly<{
|
|
22
|
-
onSwitchGreenDot?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
onSwitchMapTile?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const CDN_URL = "https://static.zhihaoscm.cn/";
|
|
2
|
-
export declare const tiandituKey = "a6e8f78974f2581f2ca00485b40c948f";
|
|
3
|
-
export declare const zhongkeKey = "15c81cc0a191a232e0a0ca1a51c3ca81";
|
|
4
|
-
export declare const baseMap: {
|
|
5
|
-
tiandituTile: string;
|
|
6
|
-
tiandituTileMark: string;
|
|
7
|
-
tiandituImgTile: string;
|
|
8
|
-
tiandituImgTileMark: string;
|
|
9
|
-
greenTile: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const mapZoom: {
|
|
12
|
-
default: number;
|
|
13
|
-
min: number;
|
|
14
|
-
max: number;
|
|
15
|
-
findShipMin: number;
|
|
16
|
-
findShip: number;
|
|
17
|
-
findTruck: number;
|
|
18
|
-
shipGreenDotMax: number;
|
|
19
|
-
truckDefault: number;
|
|
20
|
-
truckStatistics: number;
|
|
21
|
-
shipModelMin: number;
|
|
22
|
-
shipModelMax: number;
|
|
23
|
-
markerPosition: number;
|
|
24
|
-
};
|
|
25
|
-
export declare const renderShipsLimit = 200;
|
|
26
|
-
export declare const mapDefaultCenter: [number, number];
|
|
27
|
-
export declare const projection: {
|
|
28
|
-
data: string;
|
|
29
|
-
mercator: string;
|
|
30
|
-
};
|
|
31
|
-
export declare const LOG_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
|
32
|
-
export declare const DEFAULT_VALUE = "--";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export declare enum SEARCH_TYPE {
|
|
2
|
-
SEARCH_SHIP = 0,
|
|
3
|
-
SEARCH_PORT = 1,
|
|
4
|
-
SEARCH_CUSTOM = 2
|
|
5
|
-
}
|
|
6
|
-
export declare enum SWITCH_BTN {
|
|
7
|
-
Camera = "camera",
|
|
8
|
-
Mobile = "mobile",
|
|
9
|
-
WaterGauge = "waterGauge"
|
|
10
|
-
}
|
|
11
|
-
export declare enum SHIP_SAIL_STATUS {
|
|
12
|
-
"发动机使用中" = 0,
|
|
13
|
-
"锚泊" = 1,
|
|
14
|
-
"未操作" = 2,
|
|
15
|
-
"操纵能力受限" = 3,
|
|
16
|
-
"吃水受限" = 4,
|
|
17
|
-
"系泊" = 5,
|
|
18
|
-
"搁浅" = 6,
|
|
19
|
-
"从事捕捞" = 7,
|
|
20
|
-
"航行中" = 8,
|
|
21
|
-
"留作将来修正导航状态" = 9,
|
|
22
|
-
"高速船留用" = 10,
|
|
23
|
-
"机动船尾推作业" = 11,
|
|
24
|
-
"机动船顶推或侧推作业" = 12,
|
|
25
|
-
"飞翼船留用" = 13,
|
|
26
|
-
"现行的" = 14,
|
|
27
|
-
"未定义" = 15
|
|
28
|
-
}
|
|
29
|
-
export declare enum SHIP_TYPE {
|
|
30
|
-
"飞翼船" = 1,
|
|
31
|
-
"捕捞船" = 2,
|
|
32
|
-
"拖带船" = 3,
|
|
33
|
-
"帆船" = 4,
|
|
34
|
-
"游艇" = 5,
|
|
35
|
-
"高速船" = 6,
|
|
36
|
-
"领航船" = 7,
|
|
37
|
-
"搜救船" = 8,
|
|
38
|
-
"拖轮" = 9,
|
|
39
|
-
"港口供应" = 10,
|
|
40
|
-
"防污船舶" = 11,
|
|
41
|
-
"执法船" = 12,
|
|
42
|
-
"医疗运输" = 13,
|
|
43
|
-
"特殊船" = 14,
|
|
44
|
-
"客轮" = 15,
|
|
45
|
-
"货轮" = 16,
|
|
46
|
-
"油轮" = 17,
|
|
47
|
-
"集装箱船" = 18,
|
|
48
|
-
"其他" = 19,
|
|
49
|
-
"未知" = 20
|
|
50
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ID为Long类型的数据库实体的基类
|
|
3
|
-
*/
|
|
4
|
-
export interface BaseEntity {
|
|
5
|
-
/**
|
|
6
|
-
* 主键
|
|
7
|
-
*/
|
|
8
|
-
id: number;
|
|
9
|
-
/**
|
|
10
|
-
* 删除标志 0 存在 1 删除
|
|
11
|
-
*/
|
|
12
|
-
del: number;
|
|
13
|
-
/**
|
|
14
|
-
* 创建者 id
|
|
15
|
-
*/
|
|
16
|
-
createdBy: number;
|
|
17
|
-
/**
|
|
18
|
-
* 创建者时间
|
|
19
|
-
*/
|
|
20
|
-
createdTime: string;
|
|
21
|
-
/**
|
|
22
|
-
* 修改者 id
|
|
23
|
-
*/
|
|
24
|
-
updatedBy: number;
|
|
25
|
-
/**
|
|
26
|
-
* 修改者时间
|
|
27
|
-
*/
|
|
28
|
-
updatedTime: string;
|
|
29
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 分页信息泛型接口
|
|
3
|
-
*/
|
|
4
|
-
export interface Page<T> {
|
|
5
|
-
/**
|
|
6
|
-
* 内容
|
|
7
|
-
*/
|
|
8
|
-
list: T[];
|
|
9
|
-
/**
|
|
10
|
-
* 返回的是第几页(从 1 开始计数)
|
|
11
|
-
*/
|
|
12
|
-
currentPage: number;
|
|
13
|
-
/**
|
|
14
|
-
* 每页多少条数据
|
|
15
|
-
*/
|
|
16
|
-
pageSize: number;
|
|
17
|
-
/**
|
|
18
|
-
* 数据总条数
|
|
19
|
-
*/
|
|
20
|
-
total: number;
|
|
21
|
-
/**
|
|
22
|
-
* 总页数
|
|
23
|
-
*/
|
|
24
|
-
totalPage: number;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* 分页查询参数
|
|
28
|
-
* */
|
|
29
|
-
export interface PageRequest {
|
|
30
|
-
page?: number;
|
|
31
|
-
size?: number;
|
|
32
|
-
sortKey?: string;
|
|
33
|
-
sortOrder?: string;
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Feature } from 'ol';
|
|
2
|
-
|
|
3
|
-
export interface TruckMarker {
|
|
4
|
-
name: string;
|
|
5
|
-
lonlat: [number, number];
|
|
6
|
-
feature: Feature;
|
|
7
|
-
}
|
|
8
|
-
export interface CityGroupStatistics extends TruckMarker {
|
|
9
|
-
count: number;
|
|
10
|
-
}
|
|
11
|
-
export interface HighlightTruck {
|
|
12
|
-
vno: string;
|
|
13
|
-
color: number;
|
|
14
|
-
feature: Feature | null;
|
|
15
|
-
icons: number[];
|
|
16
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface MapViewForm {
|
|
2
|
-
id: number;
|
|
3
|
-
/**省市区地址 */
|
|
4
|
-
address: string;
|
|
5
|
-
/**省份 */
|
|
6
|
-
province: string;
|
|
7
|
-
/**地级市 */
|
|
8
|
-
city: string;
|
|
9
|
-
/**县区 */
|
|
10
|
-
region: string;
|
|
11
|
-
/**详细地址 */
|
|
12
|
-
detailAddress: string;
|
|
13
|
-
/**经纬度 */
|
|
14
|
-
lngLat: string;
|
|
15
|
-
areaCode: string[];
|
|
16
|
-
draggable: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare enum FormTypeEnum {
|
|
19
|
-
Add = 1,
|
|
20
|
-
Edit = 2,
|
|
21
|
-
Scan = 3
|
|
22
|
-
}
|
|
23
|
-
export interface TrackExtend {
|
|
24
|
-
id: string;
|
|
25
|
-
mmsi?: string;
|
|
26
|
-
length: string;
|
|
27
|
-
}
|
|
28
|
-
export interface RenderOption {
|
|
29
|
-
font: string;
|
|
30
|
-
labelOutSize: number;
|
|
31
|
-
labelHeight: number;
|
|
32
|
-
labelAlpha: number;
|
|
33
|
-
labelLineStyle: string;
|
|
34
|
-
labelFillStyle: string;
|
|
35
|
-
labelTextColor: string;
|
|
36
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export interface DrawTextOptions {
|
|
2
|
-
center: number[];
|
|
3
|
-
text: string;
|
|
4
|
-
textColor: string;
|
|
5
|
-
leftIcon?: LeftIconOptions;
|
|
6
|
-
rightIcons?: string[];
|
|
7
|
-
font?: string;
|
|
8
|
-
type?: string;
|
|
9
|
-
blinkColors?: string[];
|
|
10
|
-
}
|
|
11
|
-
export interface DrawPolygonOptions {
|
|
12
|
-
points: number[][];
|
|
13
|
-
strokeColor: string;
|
|
14
|
-
fillColor: string;
|
|
15
|
-
shouldClosePath: boolean;
|
|
16
|
-
translation?: number[];
|
|
17
|
-
rotation?: number;
|
|
18
|
-
rotationCenter?: number[];
|
|
19
|
-
scale?: number;
|
|
20
|
-
globalAlpha?: number;
|
|
21
|
-
blinkColors?: string[];
|
|
22
|
-
}
|
|
23
|
-
export interface DrawLabelOptions {
|
|
24
|
-
id: string;
|
|
25
|
-
center: number[];
|
|
26
|
-
text: string;
|
|
27
|
-
color: string;
|
|
28
|
-
textColor: string;
|
|
29
|
-
fill?: string;
|
|
30
|
-
bgColor: string;
|
|
31
|
-
leftIcon?: LeftIconOptions;
|
|
32
|
-
rightIcons?: string[];
|
|
33
|
-
selected?: boolean;
|
|
34
|
-
type?: string;
|
|
35
|
-
blinkColors?: string[];
|
|
36
|
-
}
|
|
37
|
-
export interface LeftIconOptions {
|
|
38
|
-
icon: string;
|
|
39
|
-
color: string;
|
|
40
|
-
}
|
|
41
|
-
export interface DrawLabelFeature {
|
|
42
|
-
center: number[];
|
|
43
|
-
x: number[];
|
|
44
|
-
l: number[];
|
|
45
|
-
r: number[];
|
|
46
|
-
bounds: number[];
|
|
47
|
-
position: number;
|
|
48
|
-
name: string;
|
|
49
|
-
id: string;
|
|
50
|
-
}
|
|
51
|
-
export interface DrawLabelBody {
|
|
52
|
-
font: string;
|
|
53
|
-
labelOutSize: number;
|
|
54
|
-
labelHeight: string;
|
|
55
|
-
shipColor: string;
|
|
56
|
-
lineLength: string;
|
|
57
|
-
}
|