zhihao-ui 1.3.58-alpha.9 → 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-D-Mw1tTN.js → BaseInfo-DaDoreNB.js} +2 -2
- package/dist/es/{BaseItem-BbqMOHus.js → BaseItem-DHr6xiRz.js} +3 -3
- package/dist/es/{Button-CeZhW1QC.js → Button--IRouC-m.js} +2 -2
- package/dist/es/{CascaderLoadMore-CCflOhPX.js → CascaderLoadMore-DW1quv56.js} +2 -2
- package/dist/es/{DatePicker-DMtsF75M.js → DatePicker-B7GaL7D8.js} +3 -3
- package/dist/es/{DetailHeader-Cny3MSRT.js → DetailHeader-D_uT7fLw.js} +3 -3
- package/dist/es/{DetailSubTitle-BaYkpGpn.js → DetailSubTitle-DPfEUhER.js} +2 -2
- package/dist/es/{Dialog-wslff2i5.js → Dialog-BKeaywfZ.js} +3 -3
- package/dist/es/{DiyDataTable-DxhbDTeX.js → DiyDataTable-D4X3Ixq_.js} +4 -4
- package/dist/es/{EditInfoPair-BjkWUWdC.js → EditInfoPair-CN6A_w7j.js} +3 -3
- package/dist/es/{FileWrapper-CACEIzz1.js → FileWrapper-8wV_GgkE.js} +4 -4
- package/dist/es/{Grid-DUbA9lXj.js → Grid-CsgjlECD.js} +2 -2
- package/dist/es/{InfoPair-Cc7jd_QY.js → InfoPair-B6bcuiFb.js} +3 -3
- package/dist/es/{Input-CPgzYhQB.js → Input-Ci9uGpQw.js} +3 -3
- package/dist/es/{Loading-C6gDlpzy.js → Loading-DQaaQvum.js} +2 -2
- package/dist/es/Map-Xk0dJths.js +2961 -0
- package/dist/es/{MessageBox-C7mSYITB.js → MessageBox-ChxrBE84.js} +2 -2
- package/dist/es/{MoneyInput-3Er5p9I5.js → MoneyInput-5A8-HgJE.js} +5 -5
- package/dist/es/{PageHeadPanel-BUKAi2go.js → PageHeadPanel-B6UefYlT.js} +2 -2
- package/dist/es/{Table-C2uGAC4q.js → Table-BaAiw6Qx.js} +6 -6
- package/dist/es/{ToolTips-CDOUTy7Q.js → ToolTips-DfVGMM7i.js} +3 -3
- package/dist/es/index.js +23 -23
- package/dist/es/{utils-mwRDbm3z.js → utils-Bmap-qTk.js} +1 -1
- package/dist/es/{vendor-BcKYsh5g.js → vendor-CCGasbEJ.js} +29 -28
- package/dist/index.css +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +16 -0
- 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/renderPolygon.d.ts +2 -1
- package/dist/types/components/Map/index.d.ts +60 -0
- package/dist/types/components/Map/interface/mapProps.d.ts +2 -0
- package/dist/types/components/Map/utils/animation.d.ts +3 -2
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +56 -56
- package/package.json +2 -2
- package/dist/es/Map-DWbVaRRC.js +0 -2451
|
@@ -11,6 +11,8 @@ 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;
|
|
@@ -76,6 +78,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
76
78
|
close: () => any;
|
|
77
79
|
reset: () => any;
|
|
78
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
|
+
};
|
|
79
91
|
utils: {
|
|
80
92
|
getCalculateExtent: (...reset: any[]) => any;
|
|
81
93
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -92,6 +104,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
92
104
|
selectShip: () => void;
|
|
93
105
|
selectPort: () => void;
|
|
94
106
|
areaDrawEnd: () => void;
|
|
107
|
+
selectPath: () => void;
|
|
108
|
+
deletePolygon: () => void;
|
|
95
109
|
}>>> & Readonly<{}>, {
|
|
96
110
|
center: import('ol/coordinate').Coordinate;
|
|
97
111
|
zoom: number;
|
|
@@ -103,6 +117,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
103
117
|
areaDrawEnd: (area: []) => void;
|
|
104
118
|
selectShip: (id: string) => void;
|
|
105
119
|
selectPort: (id: WharfEntity) => void;
|
|
120
|
+
selectPath: (data: any) => void;
|
|
121
|
+
deletePolygon: (id: string) => void;
|
|
106
122
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
107
123
|
export default _default;
|
|
108
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;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Feature, Map } from 'ol';
|
|
2
|
+
import { PropsManager } from './props';
|
|
2
3
|
|
|
3
4
|
interface Coordinate {
|
|
4
5
|
lng: number;
|
|
@@ -14,7 +15,7 @@ interface PolygonOptions {
|
|
|
14
15
|
radius: number;
|
|
15
16
|
isEdit: boolean;
|
|
16
17
|
}
|
|
17
|
-
export declare const useRenderPolygonManager: (mapInstance: Map) => {
|
|
18
|
+
export declare const useRenderPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
|
|
18
19
|
createPolygon: (polygonData: PolygonOptions, options: styleOptions) => void;
|
|
19
20
|
createCircle: (polygonData: PolygonOptions, options: StyleOptions) => Feature;
|
|
20
21
|
deletePolygon: (id: string) => void;
|
|
@@ -43,6 +43,14 @@ 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;
|
|
@@ -108,6 +116,16 @@ export declare const ZhMap: {
|
|
|
108
116
|
close: () => any;
|
|
109
117
|
reset: () => any;
|
|
110
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
|
+
};
|
|
111
129
|
utils: {
|
|
112
130
|
getCalculateExtent: (...reset: any[]) => any;
|
|
113
131
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -124,6 +142,8 @@ export declare const ZhMap: {
|
|
|
124
142
|
areaDrawEnd: (area: []) => void;
|
|
125
143
|
selectShip: (id: string) => void;
|
|
126
144
|
selectPort: (id: WharfEntity) => void;
|
|
145
|
+
selectPath: (data: any) => void;
|
|
146
|
+
deletePolygon: (id: string) => void;
|
|
127
147
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
128
148
|
P: {};
|
|
129
149
|
B: {};
|
|
@@ -175,6 +195,14 @@ export declare const ZhMap: {
|
|
|
175
195
|
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
176
196
|
default: () => void;
|
|
177
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
|
+
};
|
|
178
206
|
}>> & Readonly<{}>, {
|
|
179
207
|
getZoom: () => any;
|
|
180
208
|
setZoom: (zoom: number) => any;
|
|
@@ -240,6 +268,16 @@ export declare const ZhMap: {
|
|
|
240
268
|
close: () => any;
|
|
241
269
|
reset: () => any;
|
|
242
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
|
+
};
|
|
243
281
|
utils: {
|
|
244
282
|
getCalculateExtent: (...reset: any[]) => any;
|
|
245
283
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -256,6 +294,8 @@ export declare const ZhMap: {
|
|
|
256
294
|
areaDrawEnd: (area: []) => void;
|
|
257
295
|
selectShip: (id: string) => void;
|
|
258
296
|
selectPort: (id: WharfEntity) => void;
|
|
297
|
+
selectPath: (data: any) => void;
|
|
298
|
+
deletePolygon: (id: string) => void;
|
|
259
299
|
}>;
|
|
260
300
|
__isFragment?: never;
|
|
261
301
|
__isTeleport?: never;
|
|
@@ -304,6 +344,14 @@ export declare const ZhMap: {
|
|
|
304
344
|
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
305
345
|
default: () => void;
|
|
306
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
|
+
};
|
|
307
355
|
}>> & Readonly<{}>, {
|
|
308
356
|
getZoom: () => any;
|
|
309
357
|
setZoom: (zoom: number) => any;
|
|
@@ -369,6 +417,16 @@ export declare const ZhMap: {
|
|
|
369
417
|
close: () => any;
|
|
370
418
|
reset: () => any;
|
|
371
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
|
+
};
|
|
372
430
|
utils: {
|
|
373
431
|
getCalculateExtent: (...reset: any[]) => any;
|
|
374
432
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -385,4 +443,6 @@ export declare const ZhMap: {
|
|
|
385
443
|
areaDrawEnd: (area: []) => void;
|
|
386
444
|
selectShip: (id: string) => void;
|
|
387
445
|
selectPort: (id: WharfEntity) => void;
|
|
446
|
+
selectPath: (data: any) => void;
|
|
447
|
+
deletePolygon: (id: string) => void;
|
|
388
448
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
2
|
-
import { Overlay } from 'ol';
|
|
2
|
+
import { Feature, Overlay } from 'ol';
|
|
3
3
|
|
|
4
4
|
export declare class BlinkAnimation {
|
|
5
5
|
private animationId;
|
|
6
6
|
private interval;
|
|
7
7
|
private routeLayer;
|
|
8
8
|
private routeOverlay;
|
|
9
|
-
|
|
9
|
+
private features;
|
|
10
|
+
constructor(routeLayer: VectorLayer, overlays: Overlay[], feature: Feature, interval?: number);
|
|
10
11
|
start(): void;
|
|
11
12
|
stop(): void;
|
|
12
13
|
private toggleVisibility;
|