zhihao-ui 1.2.35 → 1.2.37

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 (42) hide show
  1. package/dist/es/{BaseInfo-C4sgm12k.js → BaseInfo-BjqSNfhB.js} +1 -1
  2. package/dist/es/{BaseItem-DwoIxH38.js → BaseItem-Da1CQtVm.js} +3 -3
  3. package/dist/es/{Button-BbUxF68h.js → Button-CKHqdHWj.js} +2 -2
  4. package/dist/es/{DatePicker-BkfvEDok.js → DatePicker-BOkpRWph.js} +3 -3
  5. package/dist/es/{DetailHeader-CmvLT5jU.js → DetailHeader-CL5Fin_g.js} +3 -3
  6. package/dist/es/{DetailSubTitle-BXjqx7Gl.js → DetailSubTitle-Derdb7AV.js} +2 -2
  7. package/dist/es/{Dialog-CiO2p3lS.js → Dialog-CGN6pFzA.js} +3 -3
  8. package/dist/es/{DiyDataTable-02Fvx4gj.js → DiyDataTable-CUbUe8NL.js} +4 -4
  9. package/dist/es/{EditInfoPair-2lOiJK1x.js → EditInfoPair-Dd_u_yvQ.js} +3 -3
  10. package/dist/es/{FileWrapper-oSb83fz-.js → FileWrapper-CGoXaXk9.js} +4 -4
  11. package/dist/es/{Grid-CHKAGBr9.js → Grid-Dr8kPvc8.js} +2 -2
  12. package/dist/es/{InfoPair-CDbyplp2.js → InfoPair-B2VzU1pL.js} +3 -3
  13. package/dist/es/{Input-CWfFyiHL.js → Input-DbqCWZ3K.js} +3 -3
  14. package/dist/es/{Loading-nlPpGN-L.js → Loading-Dimy_7_w.js} +2 -2
  15. package/dist/es/{Map-Cgw7AB3i.js → Map-BLVl3XBl.js} +1122 -1060
  16. package/dist/es/{MessageBox-DJR9qhIT.js → MessageBox-B54tNjcZ.js} +2 -2
  17. package/dist/es/{MoneyInput-BGmF3L2m.js → MoneyInput-uw4tR9WE.js} +8 -8
  18. package/dist/es/{PageHeadPanel-Bw6wb6jF.js → PageHeadPanel-CgR9a7c6.js} +2 -2
  19. package/dist/es/{Table-D8EshRWb.js → Table-BdySjJta.js} +5 -5
  20. package/dist/es/{ToolTips-Beib4mGU.js → ToolTips-BHQkWmMR.js} +6 -6
  21. package/dist/es/index.js +23 -23
  22. package/dist/es/{utils-hD_p7bGY.js → utils-DUHqvTHl.js} +1 -1
  23. package/dist/es/{vendor-Bonn9k5m.js → vendor-B7FHttiN.js} +229 -228
  24. package/dist/index.css +1 -1
  25. package/dist/types/components/Map/components/copyright.vue.d.ts +3 -1
  26. package/dist/types/components/Map/components/scaleLine.vue.d.ts +2 -2
  27. package/dist/types/components/Map/components/toolPanel.vue.d.ts +2 -2
  28. package/dist/types/components/Map/interface/entity/render.d.ts +1 -1
  29. package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +1 -0
  30. package/dist/types/components/Map/render/canvasRender/renderCustomOverlay.d.ts +3 -3
  31. package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +2 -3
  32. package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +1 -2
  33. package/dist/types/components/Map/render/drawPolygon.d.ts +1 -2
  34. package/dist/types/components/Map/render/renderDashboard.d.ts +1 -2
  35. package/dist/types/components/Map/render/renderMarker.d.ts +1 -1
  36. package/dist/types/components/Map/render/renderShip.d.ts +5 -5
  37. package/dist/types/components/Map/render/renderTrack.d.ts +1 -1
  38. package/dist/types/components/Map/render/renderTruck.d.ts +1 -2
  39. package/dist/types/components/Map/utils/store.d.ts +3 -2
  40. package/dist/umd/index.css +1 -1
  41. package/dist/umd/index.umd.cjs +22 -22
  42. package/package.json +1 -1
@@ -1,13 +1,15 @@
1
- import { COPY_RIGHT_TYPE } from '../types.ts';
1
+ import { BaseMapType, COPY_RIGHT_TYPE } from '../types.ts';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  type?: number;
5
5
  }>, {
6
6
  type: COPY_RIGHT_TYPE;
7
+ mapTile: typeof BaseMapType;
7
8
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
9
  type?: number;
9
10
  }>, {
10
11
  type: COPY_RIGHT_TYPE;
12
+ mapTile: typeof BaseMapType;
11
13
  }>>> & Readonly<{}>, {
12
14
  type: number;
13
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
- import { Units } from 'ol/proj/Units';
1
+ import { Units } from 'ol/control/ScaleLine';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{}, {
4
- setScaleLine: (units?: Units) => void;
4
+ setScaleLine: (units: Units) => void;
5
5
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
6
  export default _default;
@@ -5,7 +5,7 @@ declare function __VLS_template(): {
5
5
  };
6
6
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
7
  vehicleMode: "truck" | "ship";
8
- viewMode: "PC" | "WxMiniprogram" | "APP";
8
+ viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
9
9
  disableGreenDot: boolean;
10
10
  showTrackLayer: boolean;
11
11
  mapTileMode: BaseMapType;
@@ -14,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
14
14
  switchMapTile: (...args: any[]) => void;
15
15
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
16
  vehicleMode: "truck" | "ship";
17
- viewMode: "PC" | "WxMiniprogram" | "APP";
17
+ viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
18
18
  disableGreenDot: boolean;
19
19
  showTrackLayer: boolean;
20
20
  mapTileMode: BaseMapType;
@@ -26,7 +26,7 @@ export interface DrawLabelOptions {
26
26
  text: string;
27
27
  color: string;
28
28
  textColor: string;
29
- fill: string;
29
+ fill?: string;
30
30
  bgColor: string;
31
31
  leftIcon?: LeftIconOptions;
32
32
  rightIcons?: string[];
@@ -8,3 +8,4 @@ export declare const rotateShapeModel: (model: number[][], angle: number) => num
8
8
  export declare const drawText: (ctx: CanvasRenderingContext2D, options: DrawTextOptions) => void;
9
9
  export declare const drawPolygon: (ctx: CanvasRenderingContext2D, options: DrawPolygonOptions) => void;
10
10
  export declare const drawLabel: (ctx: CanvasRenderingContext2D, options: DrawLabelOptions, labels: DrawLabelFeature[]) => null;
11
+ export declare const clearAllInterval: () => void;
@@ -1,5 +1,5 @@
1
1
  import { Map as MapType, Overlay } from 'ol';
2
- import { Ref } from 'vue';
2
+ import { Positioning } from 'ol/Overlay';
3
3
 
4
- export declare const renderCustomOverlaySetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
5
- export declare const drawCustomContent: (id: string, centerPixel: number[], html: string, positioning?: string, draggable?: boolean) => Overlay | undefined;
4
+ export declare const renderCustomOverlaySetInstance: (instance: MapType) => MapType;
5
+ export declare const drawCustomContent: (id: string, centerPixel: number[], html: string, positioning?: Positioning, draggable?: boolean) => Overlay | undefined;
@@ -1,6 +1,5 @@
1
1
  import { Style } from 'ol/style';
2
- import { Ref } from 'vue';
3
2
  import { Map as MapType } from 'ol';
4
3
 
5
- export declare const renderShipStyleSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
6
- export declare const setShipStyle: (selected: boolean) => Style;
4
+ export declare const renderShipStyleSetInstance: (instance: MapType) => MapType;
5
+ export declare const setShipStyle: (selected: boolean, hover?: boolean) => Style;
@@ -1,9 +1,8 @@
1
1
  import { Style } from 'ol/style';
2
2
  import { Map as MapType } from 'ol';
3
3
  import { ShipTrack } from '../../interface';
4
- import { Ref } from 'vue';
5
4
 
6
- export declare const renderTrackStyleSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
5
+ export declare const renderTrackStyleSetInstance: (instance: MapType) => MapType;
7
6
  export declare const renderTrackLine: (data: {
8
7
  [key: string]: ShipTrack[];
9
8
  }, id: string, trackColor: string) => void;
@@ -1,7 +1,6 @@
1
1
  import { Map as MapType } from 'ol';
2
- import { Ref } from 'vue';
3
2
 
4
- export declare const drawPolygonSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
3
+ export declare const drawPolygonSetInstance: (instance: MapType) => MapType;
5
4
  export declare const drawPolygonTool: {
6
5
  addInteraction: (callback?: Function) => void;
7
6
  removeInteraction: () => void;
@@ -1,10 +1,9 @@
1
1
  import { Map as MapType } from 'ol';
2
2
  import { default as VectorSource } from 'ol/source/Vector';
3
3
  import { default as VectorLayer } from 'ol/layer/Vector';
4
- import { Ref } from 'vue';
5
4
  import { SinoiovVehicleInfo } from '../interface';
6
5
 
7
- export declare const renderDashboardSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
6
+ export declare const renderDashboardSetInstance: (instance: MapType) => MapType;
8
7
  export declare const renderStatisticsMarker: (list: SinoiovVehicleInfo[]) => VectorLayer<VectorSource<any>, any> | undefined;
9
8
  export declare const deleteAllStatisticsMarkers: () => void;
10
9
  export declare const renderTrucksMarker: (list: SinoiovVehicleInfo[]) => VectorLayer<VectorSource<any>, any> | undefined;
@@ -1,7 +1,7 @@
1
1
  import { Map as MapType } from 'ol';
2
2
  import { Ref } from 'vue';
3
3
 
4
- export declare const renderMarkerSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
4
+ export declare const renderMarkerSetInstance: (instance: MapType) => MapType;
5
5
  export declare const markerPosition: Ref<string>;
6
6
  export declare const renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
7
7
  export declare const setMarkerPosition: (val: string) => void;
@@ -2,16 +2,16 @@ import { Feature, Map as MapType } from 'ol';
2
2
  import { Geometry } from 'ol/geom';
3
3
  import { default as VectorSource } from 'ol/source/Vector';
4
4
  import { default as VectorLayer } from 'ol/layer/Vector';
5
- import { ShipInfoVo } from '../interface';
5
+ import { ShipInfoVo, ShipMarker } from '../interface';
6
6
  import { default as WebGLPointsLayer } from 'ol/layer/WebGLPoints';
7
- import { Ref } from 'vue';
8
7
  import { SWITCH_BTN } from '../enum';
9
- import { Source } from 'ol/source';
10
8
 
11
- export declare const renderShipSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
9
+ export declare const renderShipSetInstance: (instance: MapType) => MapType;
10
+ export declare let shipsMarkerList: ShipMarker[];
12
11
  export declare const renderShips: (list: ShipInfoVo[]) => VectorLayer<VectorSource<any>, any> | WebGLPointsLayer<VectorSource<Feature<Geometry>>> | undefined;
12
+ export declare const onShipsMarkerHover: () => void;
13
13
  export declare const deleteAllShipMarkers: () => void;
14
- export declare const setVisibleFeatureById: (source: Source, id: string, visible: boolean) => void;
14
+ export declare const setVisibleFeatureById: (source: VectorSource, id: string, visible: boolean) => void;
15
15
  export declare const findShip: (id: string, shipData?: ShipInfoVo, select?: boolean) => any;
16
16
  export declare const clearSelectFeature: () => void;
17
17
  export declare const hiddenAllShips: () => void;
@@ -2,7 +2,7 @@ import { Ref } from 'vue';
2
2
  import { TrackExtend } from '../interface';
3
3
  import { Map as MapType } from 'ol';
4
4
 
5
- export declare const renderTrackSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
5
+ export declare const renderTrackSetInstance: (instance: MapType) => MapType;
6
6
  export declare const showTracks: Ref<TrackExtend[]>;
7
7
  export declare const renderTrack: (id: string, list: any[], color: string, unit: number, vehicleType?: "ship" | "truck") => void;
8
8
  export declare const removeAllTrackLayer: () => void;
@@ -1,8 +1,7 @@
1
- import { Ref } from 'vue';
2
1
  import { Map as MapType, Overlay } from 'ol';
3
2
  import { VehicleInfo } from '../interface';
4
3
 
5
- export declare const renderTruckSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
4
+ export declare const renderTruckSetInstance: (instance: MapType) => MapType;
6
5
  export declare const findTruck: (vehicleInfo?: VehicleInfo) => Promise<void>;
7
6
  export declare const clearAllTruck: () => void;
8
7
  export declare const drawTruckIcon: (id: string, centerPixel: number[], drc: string) => Overlay | undefined;
@@ -5,13 +5,14 @@ import { default as WebGLPointsLayer } from 'ol/layer/WebGLPoints';
5
5
  import { default as VectorSource } from 'ol/source/Vector';
6
6
  import { Geometry } from 'ol/geom';
7
7
  import { ShipInfoVo, ShipTrack, ShipMapData } from '../interface';
8
+ import { DrawLabelFeature } from '../interface/entity/render.ts';
8
9
 
9
10
  export declare const mapInstance: Ref<MapType | undefined, MapType | undefined>;
10
11
  export declare const shipsLayer: Ref<VectorLayer | undefined>;
11
12
  export declare const largeAmountShipsLayer: Ref<WebGLPointsLayer<VectorSource<Feature<Geometry>>> | undefined>;
12
13
  export declare const selectShipsLayer: Ref<VectorLayer | undefined>;
13
14
  export declare const allShips: Ref<ShipInfoVo[]>;
14
- export declare const selectSingleShipData: Ref<ShipMapData>;
15
+ export declare const selectSingleShipData: Ref<ShipMapData | undefined>;
15
16
  export declare const statisticsLayer: Ref<VectorLayer | undefined>;
16
17
  export declare const trucksLayer: Ref<VectorLayer | undefined>;
17
18
  export declare const shipTrackLineFeatures: Ref<Feature[]>;
@@ -19,7 +20,7 @@ export declare const trackLineVectorSource: Ref<VectorSource<Feature<Geometry>>>
19
20
  export declare const shipTrackVectorLayer: Ref<VectorLayer | undefined>;
20
21
  export declare const trackLabelVectorSource: Ref<VectorSource<Feature<Geometry>>>;
21
22
  export declare const trackLabelLayer: Ref<VectorLayer | undefined>;
22
- export declare const shipLabels: Ref<any>;
23
+ export declare const shipLabels: Ref<DrawLabelFeature[]>;
23
24
  export declare const trackLabels: Ref<any>;
24
25
  export declare const showTrackLayer: Ref<boolean>;
25
26
  export declare const allTracks: Ref<{