zhihao-ui 1.3.59-alpha.1 → 1.3.59

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