zhihao-ui 1.3.61 → 1.3.62-alpha.2
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-BMpbILhK.js → BaseInfo-DRE7tqhe.js} +2 -2
- package/dist/es/{BaseItem-DTeBOwt-.js → BaseItem-B9hyAgCm.js} +3 -3
- package/dist/es/{Button-BFA52ivn.js → Button-CSE0Mb4I.js} +2 -2
- package/dist/es/{CascaderLoadMore-C6micaqI.js → CascaderLoadMore-DlIfow9Z.js} +2 -2
- package/dist/es/{DatePicker-CwQySLIQ.js → DatePicker-DRO5YMZ8.js} +3 -3
- package/dist/es/{DetailHeader-Blxh8--w.js → DetailHeader-WPFCQJFq.js} +3 -3
- package/dist/es/{DetailSubTitle-BfIeXh75.js → DetailSubTitle-BWOpKhxk.js} +2 -2
- package/dist/es/{Dialog-BptDzN8n.js → Dialog-CAiA_v3J.js} +3 -3
- package/dist/es/{DiyDataTable-B1qF5iKa.js → DiyDataTable-BXFjTq4h.js} +4 -4
- package/dist/es/{EditInfoPair-Dc0sqM1L.js → EditInfoPair-CZ_m9ph_.js} +3 -3
- package/dist/es/{FileWrapper-D2Lz9uQo.js → FileWrapper-Dk5178uk.js} +4 -4
- package/dist/es/{Grid-CONHwqEB.js → Grid-DXdd3Eqi.js} +2 -2
- package/dist/es/{InfoPair-CkgW5LoN.js → InfoPair-C8tc2XjH.js} +3 -3
- package/dist/es/{Input-FPnMJc-X.js → Input-CCkgPIDm.js} +3 -3
- package/dist/es/{Loading-D1OYqPWU.js → Loading-CtaMdigH.js} +2 -2
- package/dist/es/Map-BTJrG_eT.js +2536 -0
- package/dist/es/{MessageBox-CvwRq0Fw.js → MessageBox-DdmHDM2f.js} +2 -2
- package/dist/es/{MoneyInput-CA9Xlx86.js → MoneyInput-CsELS7YH.js} +5 -5
- package/dist/es/{PageHeadPanel-BV5qQLDj.js → PageHeadPanel-TzAwDM3_.js} +2 -2
- package/dist/es/{Table-GWnpN6Gt.js → Table-DELBhqxN.js} +180 -176
- package/dist/es/{ToolTips-B9Z_U4WM.js → ToolTips-BsqDNvAz.js} +3 -3
- package/dist/es/index.js +23 -23
- package/dist/es/{utils-COxKH46Q.js → utils-SutTRvhl.js} +1 -1
- package/dist/es/{vendor-CbeG2C4c.js → vendor-BnoIpJXx.js} +3 -3
- package/dist/index.css +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +29 -0
- package/dist/types/components/Map/function/port.d.ts +3 -0
- package/dist/types/components/Map/function/ship/index.d.ts +1 -1
- package/dist/types/components/Map/index.d.ts +111 -6
- package/dist/types/components/Map/interface/mapProps.d.ts +3 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +55 -55
- package/package.json +1 -1
- package/dist/es/Map-B7b_QqZC.js +0 -2446
|
@@ -7,6 +7,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
7
7
|
layerType: string;
|
|
8
8
|
showScale: boolean;
|
|
9
9
|
scaleLineUnit: string;
|
|
10
|
+
declutter: boolean;
|
|
10
11
|
mapMoveEnd: () => void;
|
|
11
12
|
selectShip: () => void;
|
|
12
13
|
selectPort: () => void;
|
|
@@ -55,6 +56,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
55
56
|
render: (portList: WharfEntity[], showTitle: boolean) => any;
|
|
56
57
|
clear: () => any;
|
|
57
58
|
selected: (portData?: WharfEntity) => any;
|
|
59
|
+
setRed: (portData?: WharfEntity) => any;
|
|
60
|
+
clearRed: () => any;
|
|
61
|
+
clearNonRed: () => any;
|
|
58
62
|
};
|
|
59
63
|
position: {
|
|
60
64
|
render: (...rest: any[]) => any;
|
|
@@ -81,6 +85,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
81
85
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
82
86
|
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
83
87
|
};
|
|
88
|
+
config: {
|
|
89
|
+
MAP_DEFAULT_CENTER: [number, number];
|
|
90
|
+
MAP_ZOOM: {
|
|
91
|
+
default: number;
|
|
92
|
+
min: number;
|
|
93
|
+
max: number;
|
|
94
|
+
findShipMin: number;
|
|
95
|
+
findShip: number;
|
|
96
|
+
findTruck: number;
|
|
97
|
+
shipGreenDotMax: number;
|
|
98
|
+
truckDefault: number;
|
|
99
|
+
truckStatistics: number;
|
|
100
|
+
shipModelMin: number;
|
|
101
|
+
shipTriggleMin: number;
|
|
102
|
+
shipModelMax: number;
|
|
103
|
+
markerPosition: number;
|
|
104
|
+
scaleNum: number;
|
|
105
|
+
};
|
|
106
|
+
projection: {
|
|
107
|
+
data: string;
|
|
108
|
+
mercator: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
84
111
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
85
112
|
zoom: number;
|
|
86
113
|
center: [number, number];
|
|
@@ -88,6 +115,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
88
115
|
layerType: string;
|
|
89
116
|
showScale: boolean;
|
|
90
117
|
scaleLineUnit: string;
|
|
118
|
+
declutter: boolean;
|
|
91
119
|
mapMoveEnd: () => void;
|
|
92
120
|
selectShip: () => void;
|
|
93
121
|
selectPort: () => void;
|
|
@@ -96,6 +124,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
96
124
|
center: import('ol/coordinate').Coordinate;
|
|
97
125
|
zoom: number;
|
|
98
126
|
layerType: "vector" | "satellite";
|
|
127
|
+
declutter: boolean;
|
|
99
128
|
showGreenLayer: boolean;
|
|
100
129
|
showScale: boolean;
|
|
101
130
|
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
@@ -6,5 +6,8 @@ export declare const usePortManager: (mapInstance: MapOl) => {
|
|
|
6
6
|
render: (portList: WharfEntity[], showTitle?: boolean) => void;
|
|
7
7
|
clear: () => void;
|
|
8
8
|
selected: (portData?: WharfEntity) => void;
|
|
9
|
+
setRed: (portData?: WharfEntity) => void;
|
|
10
|
+
clearRed: () => void;
|
|
11
|
+
clearNonRed: () => void;
|
|
9
12
|
handlePortHover: (portFeature: Feature | null) => void;
|
|
10
13
|
};
|
|
@@ -5,7 +5,7 @@ import { useDrawLineManager } from '../drawLine';
|
|
|
5
5
|
import { useDrawPolygonManager } from '../drawPolygon';
|
|
6
6
|
import { useMapInitializer } from '../map';
|
|
7
7
|
|
|
8
|
-
export declare const useShipManager: (mapInstance: MapOl, propsManager: PropsManager, mapManager: ReturnType<typeof useMapInitializer>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>, drawLineManager: ReturnType<typeof useDrawLineManager
|
|
8
|
+
export declare const useShipManager: (mapInstance: MapOl, propsManager: PropsManager, mapManager: ReturnType<typeof useMapInitializer>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>, drawLineManager: ReturnType<typeof useDrawLineManager>, declutter: boolean) => {
|
|
9
9
|
render: (shipList: ShipInfoVo[]) => void;
|
|
10
10
|
selected: (ship: ShipInfoVo) => void;
|
|
11
11
|
filter: (shipList: ShipInfoVo[]) => void;
|
|
@@ -12,6 +12,11 @@ export declare const ZhMap: {
|
|
|
12
12
|
type: import('vue').PropType<"vector" | "satellite">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
declutter: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
required: true;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
15
20
|
showGreenLayer: {
|
|
16
21
|
type: import('vue').PropType<boolean>;
|
|
17
22
|
default: boolean;
|
|
@@ -40,9 +45,12 @@ export declare const ZhMap: {
|
|
|
40
45
|
default: () => void;
|
|
41
46
|
};
|
|
42
47
|
selectPort: {
|
|
43
|
-
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
48
|
+
type: import('vue').PropType<(id: import('./interface').WharfEntity) => void>;
|
|
44
49
|
default: () => void;
|
|
45
50
|
};
|
|
51
|
+
copyrightImgUrl: {
|
|
52
|
+
type: import('vue').PropType<string>;
|
|
53
|
+
};
|
|
46
54
|
}>> & Readonly<{}>, {
|
|
47
55
|
getZoom: () => any;
|
|
48
56
|
setZoom: (zoom: number) => any;
|
|
@@ -87,6 +95,9 @@ export declare const ZhMap: {
|
|
|
87
95
|
render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
|
|
88
96
|
clear: () => any;
|
|
89
97
|
selected: (portData?: import('./interface').WharfEntity) => any;
|
|
98
|
+
setRed: (portData?: import('./interface').WharfEntity) => any;
|
|
99
|
+
clearRed: () => any;
|
|
100
|
+
clearNonRed: () => any;
|
|
90
101
|
};
|
|
91
102
|
position: {
|
|
92
103
|
render: (...rest: any[]) => any;
|
|
@@ -113,17 +124,41 @@ export declare const ZhMap: {
|
|
|
113
124
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
114
125
|
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
115
126
|
};
|
|
127
|
+
config: {
|
|
128
|
+
MAP_DEFAULT_CENTER: [number, number];
|
|
129
|
+
MAP_ZOOM: {
|
|
130
|
+
default: number;
|
|
131
|
+
min: number;
|
|
132
|
+
max: number;
|
|
133
|
+
findShipMin: number;
|
|
134
|
+
findShip: number;
|
|
135
|
+
findTruck: number;
|
|
136
|
+
shipGreenDotMax: number;
|
|
137
|
+
truckDefault: number;
|
|
138
|
+
truckStatistics: number;
|
|
139
|
+
shipModelMin: number;
|
|
140
|
+
shipTriggleMin: number;
|
|
141
|
+
shipModelMax: number;
|
|
142
|
+
markerPosition: number;
|
|
143
|
+
scaleNum: number;
|
|
144
|
+
};
|
|
145
|
+
projection: {
|
|
146
|
+
data: string;
|
|
147
|
+
mercator: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
116
150
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
117
151
|
center: import('ol/coordinate').Coordinate;
|
|
118
152
|
zoom: number;
|
|
119
153
|
layerType: "vector" | "satellite";
|
|
154
|
+
declutter: boolean;
|
|
120
155
|
showGreenLayer: boolean;
|
|
121
156
|
showScale: boolean;
|
|
122
157
|
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
123
158
|
mapMoveEnd: (zoom: number) => void;
|
|
124
159
|
areaDrawEnd: (area: []) => void;
|
|
125
160
|
selectShip: (id: string) => void;
|
|
126
|
-
selectPort: (id: WharfEntity) => void;
|
|
161
|
+
selectPort: (id: import('./interface').WharfEntity) => void;
|
|
127
162
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
128
163
|
P: {};
|
|
129
164
|
B: {};
|
|
@@ -144,6 +179,11 @@ export declare const ZhMap: {
|
|
|
144
179
|
type: import('vue').PropType<"vector" | "satellite">;
|
|
145
180
|
default: string;
|
|
146
181
|
};
|
|
182
|
+
declutter: {
|
|
183
|
+
type: import('vue').PropType<boolean>;
|
|
184
|
+
required: true;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
147
187
|
showGreenLayer: {
|
|
148
188
|
type: import('vue').PropType<boolean>;
|
|
149
189
|
default: boolean;
|
|
@@ -172,9 +212,12 @@ export declare const ZhMap: {
|
|
|
172
212
|
default: () => void;
|
|
173
213
|
};
|
|
174
214
|
selectPort: {
|
|
175
|
-
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
215
|
+
type: import('vue').PropType<(id: import('./interface').WharfEntity) => void>;
|
|
176
216
|
default: () => void;
|
|
177
217
|
};
|
|
218
|
+
copyrightImgUrl: {
|
|
219
|
+
type: import('vue').PropType<string>;
|
|
220
|
+
};
|
|
178
221
|
}>> & Readonly<{}>, {
|
|
179
222
|
getZoom: () => any;
|
|
180
223
|
setZoom: (zoom: number) => any;
|
|
@@ -219,6 +262,9 @@ export declare const ZhMap: {
|
|
|
219
262
|
render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
|
|
220
263
|
clear: () => any;
|
|
221
264
|
selected: (portData?: import('./interface').WharfEntity) => any;
|
|
265
|
+
setRed: (portData?: import('./interface').WharfEntity) => any;
|
|
266
|
+
clearRed: () => any;
|
|
267
|
+
clearNonRed: () => any;
|
|
222
268
|
};
|
|
223
269
|
position: {
|
|
224
270
|
render: (...rest: any[]) => any;
|
|
@@ -245,17 +291,41 @@ export declare const ZhMap: {
|
|
|
245
291
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
246
292
|
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
247
293
|
};
|
|
294
|
+
config: {
|
|
295
|
+
MAP_DEFAULT_CENTER: [number, number];
|
|
296
|
+
MAP_ZOOM: {
|
|
297
|
+
default: number;
|
|
298
|
+
min: number;
|
|
299
|
+
max: number;
|
|
300
|
+
findShipMin: number;
|
|
301
|
+
findShip: number;
|
|
302
|
+
findTruck: number;
|
|
303
|
+
shipGreenDotMax: number;
|
|
304
|
+
truckDefault: number;
|
|
305
|
+
truckStatistics: number;
|
|
306
|
+
shipModelMin: number;
|
|
307
|
+
shipTriggleMin: number;
|
|
308
|
+
shipModelMax: number;
|
|
309
|
+
markerPosition: number;
|
|
310
|
+
scaleNum: number;
|
|
311
|
+
};
|
|
312
|
+
projection: {
|
|
313
|
+
data: string;
|
|
314
|
+
mercator: string;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
248
317
|
}, {}, {}, {}, {
|
|
249
318
|
center: import('ol/coordinate').Coordinate;
|
|
250
319
|
zoom: number;
|
|
251
320
|
layerType: "vector" | "satellite";
|
|
321
|
+
declutter: boolean;
|
|
252
322
|
showGreenLayer: boolean;
|
|
253
323
|
showScale: boolean;
|
|
254
324
|
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
255
325
|
mapMoveEnd: (zoom: number) => void;
|
|
256
326
|
areaDrawEnd: (area: []) => void;
|
|
257
327
|
selectShip: (id: string) => void;
|
|
258
|
-
selectPort: (id: WharfEntity) => void;
|
|
328
|
+
selectPort: (id: import('./interface').WharfEntity) => void;
|
|
259
329
|
}>;
|
|
260
330
|
__isFragment?: never;
|
|
261
331
|
__isTeleport?: never;
|
|
@@ -273,6 +343,11 @@ export declare const ZhMap: {
|
|
|
273
343
|
type: import('vue').PropType<"vector" | "satellite">;
|
|
274
344
|
default: string;
|
|
275
345
|
};
|
|
346
|
+
declutter: {
|
|
347
|
+
type: import('vue').PropType<boolean>;
|
|
348
|
+
required: true;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
276
351
|
showGreenLayer: {
|
|
277
352
|
type: import('vue').PropType<boolean>;
|
|
278
353
|
default: boolean;
|
|
@@ -301,9 +376,12 @@ export declare const ZhMap: {
|
|
|
301
376
|
default: () => void;
|
|
302
377
|
};
|
|
303
378
|
selectPort: {
|
|
304
|
-
type: import('vue').PropType<(id: WharfEntity) => void>;
|
|
379
|
+
type: import('vue').PropType<(id: import('./interface').WharfEntity) => void>;
|
|
305
380
|
default: () => void;
|
|
306
381
|
};
|
|
382
|
+
copyrightImgUrl: {
|
|
383
|
+
type: import('vue').PropType<string>;
|
|
384
|
+
};
|
|
307
385
|
}>> & Readonly<{}>, {
|
|
308
386
|
getZoom: () => any;
|
|
309
387
|
setZoom: (zoom: number) => any;
|
|
@@ -348,6 +426,9 @@ export declare const ZhMap: {
|
|
|
348
426
|
render: (portList: import('./interface').WharfEntity[], showTitle: boolean) => any;
|
|
349
427
|
clear: () => any;
|
|
350
428
|
selected: (portData?: import('./interface').WharfEntity) => any;
|
|
429
|
+
setRed: (portData?: import('./interface').WharfEntity) => any;
|
|
430
|
+
clearRed: () => any;
|
|
431
|
+
clearNonRed: () => any;
|
|
351
432
|
};
|
|
352
433
|
position: {
|
|
353
434
|
render: (...rest: any[]) => any;
|
|
@@ -374,15 +455,39 @@ export declare const ZhMap: {
|
|
|
374
455
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
375
456
|
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
376
457
|
};
|
|
458
|
+
config: {
|
|
459
|
+
MAP_DEFAULT_CENTER: [number, number];
|
|
460
|
+
MAP_ZOOM: {
|
|
461
|
+
default: number;
|
|
462
|
+
min: number;
|
|
463
|
+
max: number;
|
|
464
|
+
findShipMin: number;
|
|
465
|
+
findShip: number;
|
|
466
|
+
findTruck: number;
|
|
467
|
+
shipGreenDotMax: number;
|
|
468
|
+
truckDefault: number;
|
|
469
|
+
truckStatistics: number;
|
|
470
|
+
shipModelMin: number;
|
|
471
|
+
shipTriggleMin: number;
|
|
472
|
+
shipModelMax: number;
|
|
473
|
+
markerPosition: number;
|
|
474
|
+
scaleNum: number;
|
|
475
|
+
};
|
|
476
|
+
projection: {
|
|
477
|
+
data: string;
|
|
478
|
+
mercator: string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
377
481
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
378
482
|
center: import('ol/coordinate').Coordinate;
|
|
379
483
|
zoom: number;
|
|
380
484
|
layerType: "vector" | "satellite";
|
|
485
|
+
declutter: boolean;
|
|
381
486
|
showGreenLayer: boolean;
|
|
382
487
|
showScale: boolean;
|
|
383
488
|
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
384
489
|
mapMoveEnd: (zoom: number) => void;
|
|
385
490
|
areaDrawEnd: (area: []) => void;
|
|
386
491
|
selectShip: (id: string) => void;
|
|
387
|
-
selectPort: (id: WharfEntity) => void;
|
|
492
|
+
selectPort: (id: import('./interface').WharfEntity) => void;
|
|
388
493
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Coordinate } from 'ol/coordinate';
|
|
2
|
+
import { WharfEntity } from './wharfEntity.ts';
|
|
2
3
|
|
|
3
4
|
export interface Props {
|
|
4
5
|
zoom?: number;
|
|
@@ -12,4 +13,6 @@ export interface Props {
|
|
|
12
13
|
areaDrawEnd?: (area: []) => void;
|
|
13
14
|
selectShip?: (id: string) => void;
|
|
14
15
|
selectPort?: (id: WharfEntity) => void;
|
|
16
|
+
declutter: boolean;
|
|
17
|
+
copyrightImgUrl?: string;
|
|
15
18
|
}
|