zhihao-ui 1.3.58 → 1.3.59-alpha.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-DaDoreNB.js +51 -0
- package/dist/es/BaseItem-DHr6xiRz.js +127 -0
- package/dist/es/{Button-DlEYWX3X.js → Button--IRouC-m.js} +2 -2
- package/dist/es/{CascaderLoadMore-DsQfSHJS.js → CascaderLoadMore-DW1quv56.js} +65 -68
- package/dist/es/{DatePicker-Dsu_fuVt.js → DatePicker-B7GaL7D8.js} +3 -3
- package/dist/es/{DetailHeader-DU1bbSjD.js → DetailHeader-D_uT7fLw.js} +3 -3
- package/dist/es/{DetailSubTitle-DFPCx1sq.js → DetailSubTitle-DPfEUhER.js} +2 -2
- package/dist/es/{Dialog-B_Psb_wh.js → Dialog-BKeaywfZ.js} +3 -3
- package/dist/es/{DiyDataTable-Qcs2hktR.js → DiyDataTable-D4X3Ixq_.js} +4 -4
- package/dist/es/{EditInfoPair-3JMSayr1.js → EditInfoPair-CN6A_w7j.js} +3 -3
- package/dist/es/{FileWrapper-B-g_NLuL.js → FileWrapper-8wV_GgkE.js} +4 -4
- package/dist/es/{Grid-C1mkzQ0C.js → Grid-CsgjlECD.js} +35 -34
- package/dist/es/{InfoPair-mbI5s0rV.js → InfoPair-B6bcuiFb.js} +3 -3
- package/dist/es/{Input-DjQtffZg.js → Input-Ci9uGpQw.js} +3 -3
- package/dist/es/{Loading-CDxuHkdt.js → Loading-DQaaQvum.js} +2 -2
- package/dist/es/Map-Xk0dJths.js +2961 -0
- package/dist/es/{MessageBox-kkpNeAii.js → MessageBox-ChxrBE84.js} +2 -2
- package/dist/es/{MoneyInput-Ca8_COsK.js → MoneyInput-5A8-HgJE.js} +5 -5
- package/dist/es/{PageHeadPanel-DsEeXTgj.js → PageHeadPanel-B6UefYlT.js} +2 -2
- package/dist/es/{Table-CZ2AbcN7.js → Table-BaAiw6Qx.js} +155 -155
- package/dist/es/{ToolTips-BRjrysPf.js → ToolTips-DfVGMM7i.js} +3 -3
- package/dist/es/index.js +23 -23
- package/dist/es/{utils-B-n1yx0L.js → utils-Bmap-qTk.js} +1 -1
- package/dist/es/{vendor-DkGhDRdQ.js → vendor-CCGasbEJ.js} +22841 -23666
- package/dist/index.css +1 -1
- package/dist/types/components/BaseInfo/BaseInfo.vue.d.ts +2 -2
- package/dist/types/components/BaseInfo/index.d.ts +33 -33
- package/dist/types/components/BaseItem/BaseItem.vue.d.ts +1 -1
- package/dist/types/components/BaseItem/index.d.ts +24 -24
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +6 -6
- package/dist/types/components/DiyDataTable/index.d.ts +18 -18
- package/dist/types/components/Grid/Grid.vue.d.ts +1 -1
- package/dist/types/components/Grid/index.d.ts +15 -15
- package/dist/types/components/Input/Input.vue.d.ts +6 -6
- package/dist/types/components/Input/index.d.ts +9 -9
- package/dist/types/components/Map/Map.vue.d.ts +20 -2
- package/dist/types/components/Map/function/drawPolygon.d.ts +13 -1
- package/dist/types/components/Map/function/event.d.ts +3 -1
- package/dist/types/components/Map/function/map.d.ts +2 -0
- package/dist/types/components/Map/function/renderPolygon.d.ts +25 -0
- package/dist/types/components/Map/function/ship/index.d.ts +6 -2
- package/dist/types/components/Map/function/ship/style.d.ts +5 -3
- package/dist/types/components/Map/index.d.ts +72 -6
- package/dist/types/components/Map/interface/mapProps.d.ts +2 -0
- package/dist/types/components/Map/meta/index.d.ts +3 -1
- package/dist/types/components/Map/utils/animation.d.ts +14 -0
- package/dist/types/components/Map/utils/shipOverlay.d.ts +1 -0
- package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +4 -4
- package/dist/types/components/MoneyInput/index.d.ts +6 -6
- package/dist/types/components/Table/types.d.ts +2 -2
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +62 -135
- package/package.json +2 -2
- package/dist/es/BaseInfo-ehtLJvVF.js +0 -53
- package/dist/es/BaseItem-NLySOoTL.js +0 -130
- package/dist/es/Map-CmcmvvxF.js +0 -2363
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
declare function __VLS_template(): Partial<Record<import('vue').Slot<any>, (_: any) => any>>;
|
|
3
3
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
5
|
+
style: {
|
|
6
|
+
type: import('vue').PropType<any>;
|
|
7
|
+
};
|
|
5
8
|
class: {
|
|
6
9
|
type: import('vue').PropType<string>;
|
|
7
10
|
default: string;
|
|
8
11
|
};
|
|
9
|
-
style: {
|
|
10
|
-
type: import('vue').PropType<any>;
|
|
11
|
-
};
|
|
12
12
|
size: {
|
|
13
13
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
14
14
|
default: string;
|
|
@@ -18,13 +18,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
18
|
};
|
|
19
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
21
|
+
style: {
|
|
22
|
+
type: import('vue').PropType<any>;
|
|
23
|
+
};
|
|
21
24
|
class: {
|
|
22
25
|
type: import('vue').PropType<string>;
|
|
23
26
|
default: string;
|
|
24
27
|
};
|
|
25
|
-
style: {
|
|
26
|
-
type: import('vue').PropType<any>;
|
|
27
|
-
};
|
|
28
28
|
size: {
|
|
29
29
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
30
30
|
default: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const ZhInput: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
+
style: {
|
|
5
|
+
type: import('vue').PropType<any>;
|
|
6
|
+
};
|
|
4
7
|
class: {
|
|
5
8
|
type: import('vue').PropType<string>;
|
|
6
9
|
default: string;
|
|
7
10
|
};
|
|
8
|
-
style: {
|
|
9
|
-
type: import('vue').PropType<any>;
|
|
10
|
-
};
|
|
11
11
|
size: {
|
|
12
12
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
13
13
|
default: string;
|
|
@@ -27,13 +27,13 @@ export declare const ZhInput: {
|
|
|
27
27
|
Defaults: {};
|
|
28
28
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
29
29
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
30
|
+
style: {
|
|
31
|
+
type: import('vue').PropType<any>;
|
|
32
|
+
};
|
|
30
33
|
class: {
|
|
31
34
|
type: import('vue').PropType<string>;
|
|
32
35
|
default: string;
|
|
33
36
|
};
|
|
34
|
-
style: {
|
|
35
|
-
type: import('vue').PropType<any>;
|
|
36
|
-
};
|
|
37
37
|
size: {
|
|
38
38
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
39
39
|
default: string;
|
|
@@ -50,13 +50,13 @@ export declare const ZhInput: {
|
|
|
50
50
|
__isSuspense?: never;
|
|
51
51
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
52
52
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
53
|
+
style: {
|
|
54
|
+
type: import('vue').PropType<any>;
|
|
55
|
+
};
|
|
53
56
|
class: {
|
|
54
57
|
type: import('vue').PropType<string>;
|
|
55
58
|
default: string;
|
|
56
59
|
};
|
|
57
|
-
style: {
|
|
58
|
-
type: import('vue').PropType<any>;
|
|
59
|
-
};
|
|
60
60
|
size: {
|
|
61
61
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
62
62
|
default: string;
|
|
@@ -11,14 +11,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
selectShip: () => void;
|
|
12
12
|
selectPort: () => void;
|
|
13
13
|
areaDrawEnd: () => void;
|
|
14
|
+
selectPath: () => void;
|
|
15
|
+
deletePolygon: () => void;
|
|
14
16
|
}>>, {
|
|
15
17
|
getZoom: () => any;
|
|
16
18
|
setZoom: (zoom: number) => any;
|
|
17
19
|
getInstall: () => any;
|
|
20
|
+
setMapClick: (...reset: any[]) => any;
|
|
21
|
+
getMapClick: () => any;
|
|
18
22
|
getView: () => any;
|
|
19
23
|
setCenter: (lon: number, lat: number) => any;
|
|
20
24
|
getSize: () => any;
|
|
21
|
-
getCenter: (
|
|
25
|
+
getCenter: () => any;
|
|
22
26
|
layer: {
|
|
23
27
|
setGreenTileVisible: (show: boolean) => any;
|
|
24
28
|
getGreenTileVisible: () => any;
|
|
@@ -70,10 +74,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
74
|
getState: () => any;
|
|
71
75
|
};
|
|
72
76
|
drawPolygon: {
|
|
73
|
-
open: () => any;
|
|
77
|
+
open: (...reset: any[]) => any;
|
|
74
78
|
close: () => any;
|
|
75
79
|
reset: () => any;
|
|
76
80
|
};
|
|
81
|
+
pathLine: {
|
|
82
|
+
render: (...rest: any[]) => any;
|
|
83
|
+
blinking: (...rest: any[]) => any;
|
|
84
|
+
};
|
|
85
|
+
renderPolygon: {
|
|
86
|
+
createPolygon: (...rest: any[]) => any;
|
|
87
|
+
createCircle: (...rest: any[]) => any;
|
|
88
|
+
updatePolygon: (...rest: any[]) => any;
|
|
89
|
+
clear: () => any;
|
|
90
|
+
};
|
|
77
91
|
utils: {
|
|
78
92
|
getCalculateExtent: (...reset: any[]) => any;
|
|
79
93
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -90,6 +104,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
90
104
|
selectShip: () => void;
|
|
91
105
|
selectPort: () => void;
|
|
92
106
|
areaDrawEnd: () => void;
|
|
107
|
+
selectPath: () => void;
|
|
108
|
+
deletePolygon: () => void;
|
|
93
109
|
}>>> & Readonly<{}>, {
|
|
94
110
|
center: import('ol/coordinate').Coordinate;
|
|
95
111
|
zoom: number;
|
|
@@ -101,6 +117,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
101
117
|
areaDrawEnd: (area: []) => void;
|
|
102
118
|
selectShip: (id: string) => void;
|
|
103
119
|
selectPort: (id: WharfEntity) => void;
|
|
120
|
+
selectPath: (data: any) => void;
|
|
121
|
+
deletePolygon: (id: string) => void;
|
|
104
122
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
105
123
|
export default _default;
|
|
106
124
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { Map } from 'ol';
|
|
2
2
|
import { PropsManager } from './props';
|
|
3
3
|
|
|
4
|
+
interface DrawConfig {
|
|
5
|
+
stokeColor: string;
|
|
6
|
+
stokeWidth: number;
|
|
7
|
+
stokeDash: number[];
|
|
8
|
+
fillColor: string;
|
|
9
|
+
circleRadius: number;
|
|
10
|
+
circleFill: string;
|
|
11
|
+
}
|
|
4
12
|
export declare const useDrawPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
|
|
5
|
-
open: (
|
|
13
|
+
open: (config: {
|
|
14
|
+
type: string;
|
|
15
|
+
options: DrawConfig;
|
|
16
|
+
}, callback: () => void) => void;
|
|
6
17
|
close: () => void;
|
|
7
18
|
reset: () => void;
|
|
8
19
|
getState: () => "close" | "open";
|
|
9
20
|
};
|
|
21
|
+
export {};
|
|
@@ -5,5 +5,7 @@ import { useShipManager } from './ship';
|
|
|
5
5
|
import { usePortManager } from './port';
|
|
6
6
|
import { useDrawLineManager } from './drawLine';
|
|
7
7
|
import { useDrawPolygonManager } from './drawPolygon';
|
|
8
|
+
import { useRenderPolygonManager } from './renderPolygon';
|
|
9
|
+
import { useLinePathManager } from './pathLine';
|
|
8
10
|
|
|
9
|
-
export declare const useEventManager: (mapManager: ReturnType<typeof useMapInitializer>, propsManager: PropsManager, trackManager: ReturnType<typeof useTrackManager>, shipManager: ReturnType<typeof useShipManager>, portManager: ReturnType<typeof usePortManager>, drawLineManager: ReturnType<typeof useDrawLineManager>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>) => void;
|
|
11
|
+
export declare const useEventManager: (mapManager: ReturnType<typeof useMapInitializer>, propsManager: PropsManager, trackManager: ReturnType<typeof useTrackManager>, shipManager: ReturnType<typeof useShipManager>, portManager: ReturnType<typeof usePortManager>, drawLineManager: ReturnType<typeof useDrawLineManager>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>, renderPolygonManager: ReturnType<typeof useRenderPolygonManager>, pathManager: ReturnType<typeof useLinePathManager>) => void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Feature, Map } from 'ol';
|
|
2
|
+
import { PropsManager } from './props';
|
|
3
|
+
|
|
4
|
+
interface Coordinate {
|
|
5
|
+
lng: number;
|
|
6
|
+
lat: number;
|
|
7
|
+
}
|
|
8
|
+
interface StyleOptions {
|
|
9
|
+
fillColor: string;
|
|
10
|
+
stokeColor: string;
|
|
11
|
+
}
|
|
12
|
+
interface PolygonOptions {
|
|
13
|
+
id: string;
|
|
14
|
+
coordinates: Coordinate[];
|
|
15
|
+
radius: number;
|
|
16
|
+
isEdit: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const useRenderPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
|
|
19
|
+
createPolygon: (polygonData: PolygonOptions, options: styleOptions) => void;
|
|
20
|
+
createCircle: (polygonData: PolygonOptions, options: StyleOptions) => Feature;
|
|
21
|
+
deletePolygon: (id: string) => void;
|
|
22
|
+
updatePolygon: (polygonData: any) => void;
|
|
23
|
+
clear: () => void;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ShipInfoVo } from '../../interface';
|
|
2
2
|
import { Feature, Map as MapOl } from 'ol';
|
|
3
|
+
import { PropsManager } from '../props';
|
|
4
|
+
import { useDrawLineManager } from '../drawLine';
|
|
5
|
+
import { useDrawPolygonManager } from '../drawPolygon';
|
|
6
|
+
import { useMapInitializer } from '../map';
|
|
3
7
|
|
|
4
|
-
export declare const useShipManager: (mapInstance: MapOl) => {
|
|
8
|
+
export declare const useShipManager: (mapInstance: MapOl, propsManager: PropsManager, mapManager: ReturnType<typeof useMapInitializer>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>, drawLineManager: ReturnType<typeof useDrawLineManager>) => {
|
|
5
9
|
render: (shipList: ShipInfoVo[]) => void;
|
|
6
10
|
selected: (ship: ShipInfoVo) => void;
|
|
7
11
|
filter: (shipList: ShipInfoVo[]) => void;
|
|
@@ -12,5 +16,5 @@ export declare const useShipManager: (mapInstance: MapOl) => {
|
|
|
12
16
|
clear: () => void;
|
|
13
17
|
setLableStatus: (shipStatus: boolean, followStatus: boolean, selectedStatus: boolean) => void;
|
|
14
18
|
handleShipMapEvent: import('lodash-es').DebouncedFunc<(shipsFeature: Feature | null, type: string, callback?: (id: string) => void) => void>;
|
|
15
|
-
changeShipScale: (
|
|
19
|
+
changeShipScale: () => void;
|
|
16
20
|
};
|
|
@@ -3,16 +3,18 @@ import { SHIP_DIRECT } from '../../meta/ship';
|
|
|
3
3
|
import { Feature, Map as MapOl } from 'ol';
|
|
4
4
|
import { Style } from 'ol/style';
|
|
5
5
|
|
|
6
|
-
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
|
|
7
6
|
type ShipType = 'ship' | 'triangle';
|
|
8
|
-
export declare const
|
|
7
|
+
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
|
|
8
|
+
export declare const styleCache: Map<string, Style>;
|
|
9
|
+
export declare const createShipStyle: (mapInstance: MapOl, feature: Feature) => Style | undefined;
|
|
9
10
|
export declare const getShipType: (mapInstance: MapOl) => ShipType;
|
|
10
11
|
export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
|
|
11
12
|
/**
|
|
12
13
|
* 生成船只元素
|
|
13
14
|
* @param shipData
|
|
14
15
|
*/
|
|
15
|
-
export declare const
|
|
16
|
+
export declare const selectedStyleCache: Map<string, Style>;
|
|
17
|
+
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Style | undefined;
|
|
16
18
|
export declare const createLabelStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => void;
|
|
17
19
|
export declare const createLabelElement: (shipData: ShipInfoVo) => HTMLDivElement;
|
|
18
20
|
export declare const getRightIcons: (ship: ShipInfoVo) => string[];
|
|
@@ -43,14 +43,24 @@ export declare const ZhMap: {
|
|
|
43
43
|
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
44
44
|
default: () => void;
|
|
45
45
|
};
|
|
46
|
+
selectPath: {
|
|
47
|
+
type: import('vue').PropType<(data: any) => void>;
|
|
48
|
+
default: () => void;
|
|
49
|
+
};
|
|
50
|
+
deletePolygon: {
|
|
51
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
52
|
+
default: () => void;
|
|
53
|
+
};
|
|
46
54
|
}>> & Readonly<{}>, {
|
|
47
55
|
getZoom: () => any;
|
|
48
56
|
setZoom: (zoom: number) => any;
|
|
49
57
|
getInstall: () => any;
|
|
58
|
+
setMapClick: (...reset: any[]) => any;
|
|
59
|
+
getMapClick: () => any;
|
|
50
60
|
getView: () => any;
|
|
51
61
|
setCenter: (lon: number, lat: number) => any;
|
|
52
62
|
getSize: () => any;
|
|
53
|
-
getCenter: (
|
|
63
|
+
getCenter: () => any;
|
|
54
64
|
layer: {
|
|
55
65
|
setGreenTileVisible: (show: boolean) => any;
|
|
56
66
|
getGreenTileVisible: () => any;
|
|
@@ -102,10 +112,20 @@ export declare const ZhMap: {
|
|
|
102
112
|
getState: () => any;
|
|
103
113
|
};
|
|
104
114
|
drawPolygon: {
|
|
105
|
-
open: () => any;
|
|
115
|
+
open: (...reset: any[]) => any;
|
|
106
116
|
close: () => any;
|
|
107
117
|
reset: () => any;
|
|
108
118
|
};
|
|
119
|
+
pathLine: {
|
|
120
|
+
render: (...rest: any[]) => any;
|
|
121
|
+
blinking: (...rest: any[]) => any;
|
|
122
|
+
};
|
|
123
|
+
renderPolygon: {
|
|
124
|
+
createPolygon: (...rest: any[]) => any;
|
|
125
|
+
createCircle: (...rest: any[]) => any;
|
|
126
|
+
updatePolygon: (...rest: any[]) => any;
|
|
127
|
+
clear: () => any;
|
|
128
|
+
};
|
|
109
129
|
utils: {
|
|
110
130
|
getCalculateExtent: (...reset: any[]) => any;
|
|
111
131
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -122,6 +142,8 @@ export declare const ZhMap: {
|
|
|
122
142
|
areaDrawEnd: (area: []) => void;
|
|
123
143
|
selectShip: (id: string) => void;
|
|
124
144
|
selectPort: (id: WharfEntity) => void;
|
|
145
|
+
selectPath: (data: any) => void;
|
|
146
|
+
deletePolygon: (id: string) => void;
|
|
125
147
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
126
148
|
P: {};
|
|
127
149
|
B: {};
|
|
@@ -173,14 +195,24 @@ export declare const ZhMap: {
|
|
|
173
195
|
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
174
196
|
default: () => void;
|
|
175
197
|
};
|
|
198
|
+
selectPath: {
|
|
199
|
+
type: import('vue').PropType<(data: any) => void>;
|
|
200
|
+
default: () => void;
|
|
201
|
+
};
|
|
202
|
+
deletePolygon: {
|
|
203
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
204
|
+
default: () => void;
|
|
205
|
+
};
|
|
176
206
|
}>> & Readonly<{}>, {
|
|
177
207
|
getZoom: () => any;
|
|
178
208
|
setZoom: (zoom: number) => any;
|
|
179
209
|
getInstall: () => any;
|
|
210
|
+
setMapClick: (...reset: any[]) => any;
|
|
211
|
+
getMapClick: () => any;
|
|
180
212
|
getView: () => any;
|
|
181
213
|
setCenter: (lon: number, lat: number) => any;
|
|
182
214
|
getSize: () => any;
|
|
183
|
-
getCenter: (
|
|
215
|
+
getCenter: () => any;
|
|
184
216
|
layer: {
|
|
185
217
|
setGreenTileVisible: (show: boolean) => any;
|
|
186
218
|
getGreenTileVisible: () => any;
|
|
@@ -232,10 +264,20 @@ export declare const ZhMap: {
|
|
|
232
264
|
getState: () => any;
|
|
233
265
|
};
|
|
234
266
|
drawPolygon: {
|
|
235
|
-
open: () => any;
|
|
267
|
+
open: (...reset: any[]) => any;
|
|
236
268
|
close: () => any;
|
|
237
269
|
reset: () => any;
|
|
238
270
|
};
|
|
271
|
+
pathLine: {
|
|
272
|
+
render: (...rest: any[]) => any;
|
|
273
|
+
blinking: (...rest: any[]) => any;
|
|
274
|
+
};
|
|
275
|
+
renderPolygon: {
|
|
276
|
+
createPolygon: (...rest: any[]) => any;
|
|
277
|
+
createCircle: (...rest: any[]) => any;
|
|
278
|
+
updatePolygon: (...rest: any[]) => any;
|
|
279
|
+
clear: () => any;
|
|
280
|
+
};
|
|
239
281
|
utils: {
|
|
240
282
|
getCalculateExtent: (...reset: any[]) => any;
|
|
241
283
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -252,6 +294,8 @@ export declare const ZhMap: {
|
|
|
252
294
|
areaDrawEnd: (area: []) => void;
|
|
253
295
|
selectShip: (id: string) => void;
|
|
254
296
|
selectPort: (id: WharfEntity) => void;
|
|
297
|
+
selectPath: (data: any) => void;
|
|
298
|
+
deletePolygon: (id: string) => void;
|
|
255
299
|
}>;
|
|
256
300
|
__isFragment?: never;
|
|
257
301
|
__isTeleport?: never;
|
|
@@ -300,14 +344,24 @@ export declare const ZhMap: {
|
|
|
300
344
|
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
301
345
|
default: () => void;
|
|
302
346
|
};
|
|
347
|
+
selectPath: {
|
|
348
|
+
type: import('vue').PropType<(data: any) => void>;
|
|
349
|
+
default: () => void;
|
|
350
|
+
};
|
|
351
|
+
deletePolygon: {
|
|
352
|
+
type: import('vue').PropType<(id: string) => void>;
|
|
353
|
+
default: () => void;
|
|
354
|
+
};
|
|
303
355
|
}>> & Readonly<{}>, {
|
|
304
356
|
getZoom: () => any;
|
|
305
357
|
setZoom: (zoom: number) => any;
|
|
306
358
|
getInstall: () => any;
|
|
359
|
+
setMapClick: (...reset: any[]) => any;
|
|
360
|
+
getMapClick: () => any;
|
|
307
361
|
getView: () => any;
|
|
308
362
|
setCenter: (lon: number, lat: number) => any;
|
|
309
363
|
getSize: () => any;
|
|
310
|
-
getCenter: (
|
|
364
|
+
getCenter: () => any;
|
|
311
365
|
layer: {
|
|
312
366
|
setGreenTileVisible: (show: boolean) => any;
|
|
313
367
|
getGreenTileVisible: () => any;
|
|
@@ -359,10 +413,20 @@ export declare const ZhMap: {
|
|
|
359
413
|
getState: () => any;
|
|
360
414
|
};
|
|
361
415
|
drawPolygon: {
|
|
362
|
-
open: () => any;
|
|
416
|
+
open: (...reset: any[]) => any;
|
|
363
417
|
close: () => any;
|
|
364
418
|
reset: () => any;
|
|
365
419
|
};
|
|
420
|
+
pathLine: {
|
|
421
|
+
render: (...rest: any[]) => any;
|
|
422
|
+
blinking: (...rest: any[]) => any;
|
|
423
|
+
};
|
|
424
|
+
renderPolygon: {
|
|
425
|
+
createPolygon: (...rest: any[]) => any;
|
|
426
|
+
createCircle: (...rest: any[]) => any;
|
|
427
|
+
updatePolygon: (...rest: any[]) => any;
|
|
428
|
+
clear: () => any;
|
|
429
|
+
};
|
|
366
430
|
utils: {
|
|
367
431
|
getCalculateExtent: (...reset: any[]) => any;
|
|
368
432
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -379,4 +443,6 @@ export declare const ZhMap: {
|
|
|
379
443
|
areaDrawEnd: (area: []) => void;
|
|
380
444
|
selectShip: (id: string) => void;
|
|
381
445
|
selectPort: (id: WharfEntity) => void;
|
|
446
|
+
selectPath: (data: any) => void;
|
|
447
|
+
deletePolygon: (id: string) => void;
|
|
382
448
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
2
|
+
import { Feature, Overlay } from 'ol';
|
|
3
|
+
|
|
4
|
+
export declare class BlinkAnimation {
|
|
5
|
+
private animationId;
|
|
6
|
+
private interval;
|
|
7
|
+
private routeLayer;
|
|
8
|
+
private routeOverlay;
|
|
9
|
+
private features;
|
|
10
|
+
constructor(routeLayer: VectorLayer, overlays: Overlay[], feature: Feature, interval?: number);
|
|
11
|
+
start(): void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
private toggleVisibility;
|
|
14
|
+
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
|
|
3
3
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
5
|
-
|
|
5
|
+
style: {
|
|
6
6
|
type: import('vue').PropType<any>;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
class: {
|
|
9
9
|
type: import('vue').PropType<any>;
|
|
10
10
|
};
|
|
11
11
|
showTooltip: {
|
|
@@ -14,10 +14,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
};
|
|
15
15
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
16
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
17
|
-
|
|
17
|
+
style: {
|
|
18
18
|
type: import('vue').PropType<any>;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
class: {
|
|
21
21
|
type: import('vue').PropType<any>;
|
|
22
22
|
};
|
|
23
23
|
showTooltip: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const ZhMoneyInput: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
-
|
|
4
|
+
style: {
|
|
5
5
|
type: import('vue').PropType<any>;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
class: {
|
|
8
8
|
type: import('vue').PropType<any>;
|
|
9
9
|
};
|
|
10
10
|
showTooltip: {
|
|
@@ -22,10 +22,10 @@ export declare const ZhMoneyInput: {
|
|
|
22
22
|
Defaults: {};
|
|
23
23
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
24
24
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
25
|
-
|
|
25
|
+
style: {
|
|
26
26
|
type: import('vue').PropType<any>;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
class: {
|
|
29
29
|
type: import('vue').PropType<any>;
|
|
30
30
|
};
|
|
31
31
|
showTooltip: {
|
|
@@ -40,10 +40,10 @@ export declare const ZhMoneyInput: {
|
|
|
40
40
|
__isSuspense?: never;
|
|
41
41
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
42
42
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
43
|
-
|
|
43
|
+
style: {
|
|
44
44
|
type: import('vue').PropType<any>;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
class: {
|
|
47
47
|
type: import('vue').PropType<any>;
|
|
48
48
|
};
|
|
49
49
|
showTooltip: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode, ComponentPublicInstance, Ref } from 'vue';
|
|
2
2
|
import { TableColumnCtx } from 'element-plus/es/components/table/src/table-column/defaults';
|
|
3
|
-
import { ZhTableProps, default as
|
|
3
|
+
import { ZhTableProps, default as ZhTable } from './Table.vue';
|
|
4
4
|
|
|
5
5
|
export interface EnumProps {
|
|
6
6
|
label?: string;
|
|
@@ -74,7 +74,7 @@ export interface SortChangeEvent {
|
|
|
74
74
|
prop: string;
|
|
75
75
|
order: "ascending" | "descending" | null;
|
|
76
76
|
}
|
|
77
|
-
export type ZhTableInstance = Omit<InstanceType<typeof
|
|
77
|
+
export type ZhTableInstance = Omit<InstanceType<typeof ZhTable>, keyof ComponentPublicInstance | keyof ZhTableProps>;
|
|
78
78
|
export type BreakPoint = "xs" | "sm" | "md" | "lg" | "xl";
|
|
79
79
|
export type Responsive = {
|
|
80
80
|
span?: number;
|