zhihao-ui 1.3.2 → 1.3.4

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 (44) hide show
  1. package/dist/es/{BaseInfo-DZ0pUsfS.js → BaseInfo-CB5pi10k.js} +1 -1
  2. package/dist/es/{BaseItem-C_JbnRPH.js → BaseItem-DbPihwWe.js} +3 -3
  3. package/dist/es/{Button-CydCp4hf.js → Button-CJChwHqo.js} +2 -2
  4. package/dist/es/{DatePicker-C__sA0-h.js → DatePicker-Bi2YRkEQ.js} +3 -3
  5. package/dist/es/{DetailHeader-bEliAoL-.js → DetailHeader-Cg9d2H5f.js} +3 -3
  6. package/dist/es/{DetailSubTitle-COsgdEV-.js → DetailSubTitle-B9uSbcqf.js} +2 -2
  7. package/dist/es/{Dialog-D-vnJqtW.js → Dialog-ChaUWYYq.js} +3 -3
  8. package/dist/es/{DiyDataTable-DTMKwxu9.js → DiyDataTable-efSdnkmN.js} +4 -4
  9. package/dist/es/{EditInfoPair-C4vN_b9E.js → EditInfoPair-aOPlWuK8.js} +3 -3
  10. package/dist/es/{FileWrapper-D7KcyVg2.js → FileWrapper-COcVCdaZ.js} +4 -4
  11. package/dist/es/{Grid-BE-CLeGr.js → Grid-C3UnYvww.js} +2 -2
  12. package/dist/es/{InfoPair-T3_TncEu.js → InfoPair-IXHMv1Kk.js} +3 -3
  13. package/dist/es/{Input-C0UdD80I.js → Input-B7Evxgt1.js} +3 -3
  14. package/dist/es/{Loading-QlWiWU_L.js → Loading-BakBqvVD.js} +2 -2
  15. package/dist/es/{Map-DMb_YG1p.js → Map-jdOYsS3c.js} +555 -615
  16. package/dist/es/{MessageBox-B42XuRHh.js → MessageBox-PjdMGQ7t.js} +2 -2
  17. package/dist/es/{MoneyInput-BsulLCsJ.js → MoneyInput-BNU6fyAq.js} +7 -7
  18. package/dist/es/{PageHeadPanel-BlFg_TvH.js → PageHeadPanel-CMbeIqJT.js} +2 -2
  19. package/dist/es/{Table-Oo-hQWGa.js → Table-NPgbmzKK.js} +5 -5
  20. package/dist/es/{ToolTips-YgMKfoQ0.js → ToolTips-CvmvEbTS.js} +5 -5
  21. package/dist/es/index.js +22 -22
  22. package/dist/es/{utils-CU-8DWnA.js → utils-BoEvcCS_.js} +1 -1
  23. package/dist/es/{vendor-1zIwhmRg.js → vendor-Tp_GZLnZ.js} +35 -33
  24. package/dist/index.css +1 -1
  25. package/dist/types/components/Map/Map.vue.d.ts +12 -16
  26. package/dist/types/components/Map/config/global.d.ts +1 -0
  27. package/dist/types/components/Map/config/index.d.ts +0 -41
  28. package/dist/types/components/Map/config/map.d.ts +0 -3
  29. package/dist/types/components/Map/function/drawPolygon.d.ts +1 -1
  30. package/dist/types/components/Map/function/port.d.ts +1 -2
  31. package/dist/types/components/Map/function/ship/index.d.ts +22 -0
  32. package/dist/types/components/Map/function/ship/style.d.ts +6 -0
  33. package/dist/types/components/Map/function/shipTrack.d.ts +5 -1
  34. package/dist/types/components/Map/index.d.ts +36 -48
  35. package/dist/types/components/Map/meta/index.d.ts +0 -5
  36. package/dist/types/components/Map/utils/overlay.d.ts +2 -1
  37. package/dist/types/components/Map/utils/track.d.ts +42 -0
  38. package/dist/types/components/Map/utils/util.d.ts +42 -0
  39. package/dist/umd/index.css +1 -1
  40. package/dist/umd/index.umd.cjs +16 -14
  41. package/package.json +1 -1
  42. package/dist/types/components/Map/function/label.d.ts +0 -9
  43. package/dist/types/components/Map/function/ship.d.ts +0 -34
  44. package/dist/types/components/Map/function/shipLabel.d.ts +0 -25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zhihao-ui",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "components",
5
5
  "type": "module",
6
6
  "main": "./dist/umd/index.umd.cjs",
@@ -1,9 +0,0 @@
1
- import { ShipLabelData } from '../interface/label';
2
-
3
- /**
4
- * 获取图标编码
5
- * @param unicode
6
- */
7
- export declare function getIconFont(unicode?: string): any;
8
- export declare const clearAll: () => void;
9
- export declare const createLabelRenderer: (ctx: CanvasRenderingContext2D, pixelCoords: [number, number], feature: ShipLabelData) => void;
@@ -1,34 +0,0 @@
1
- import { ShipInfoVo } from '../interface';
2
- import { Feature } from 'ol';
3
-
4
- /**
5
- * 渲染船只图层Feature
6
- * @param shipList
7
- */
8
- export declare const renderShipList: import('lodash-es').DebouncedFunc<(shipList: ShipInfoVo[]) => void>;
9
- /**
10
- * 显示符合条件的船只
11
- * @param shipList
12
- */
13
- export declare const filterShipShow: (shipList: ShipInfoVo[]) => void;
14
- /**
15
- * 生成每艘船名Overlay
16
- * @param feature
17
- */
18
- /**
19
- * 船只事件处理
20
- * @param pixel
21
- * @param type
22
- */
23
- export declare const handleShipMapEvent: import('lodash-es').DebouncedFunc<(shipsFeature: Feature, type: string, callback?: (id: string) => void) => void>;
24
- /**
25
- * 对外船只选中效果
26
- */
27
- export declare const renderShipSelected: (ship?: ShipInfoVo) => void;
28
- export declare const renderShipBlink: (ships: {
29
- [key: string]: boolean;
30
- }, colors: {
31
- [key: string]: string;
32
- }) => void;
33
- export declare const handleShipChange: () => void;
34
- export declare const clearShipList: () => void;
@@ -1,25 +0,0 @@
1
- import { Feature } from 'ol';
2
-
3
- export interface LabelStyle {
4
- width: number;
5
- height: number;
6
- textWidth: number;
7
- }
8
- export declare const calculateTextMetrics: (ctx: CanvasRenderingContext2D, feature: Feature) => LabelStyle;
9
- export interface LabelPosition {
10
- position: 'top' | 'right' | 'bottom' | 'left';
11
- bounds: [number, number, number, number];
12
- connectionPoints: connectionPoints;
13
- }
14
- export declare const calculateBestPosition: (feature: Feature, pixelCoords: [number, number], TextMetrics: LabelStyle) => LabelPosition;
15
- interface connectionPoints {
16
- start: [number, number];
17
- end: [number, number];
18
- }
19
- export declare const drawConnectionLine: (ctx: CanvasRenderingContext2D, start: [number, number], end: [number, number]) => void;
20
- export declare const drawLabelBackground: (ctx: CanvasRenderingContext2D, feature: Feature, bounds: [number, number, number, number], labelStyle: LabelStyle) => void;
21
- export declare const drawLabelContent: (ctx: CanvasRenderingContext2D, feature: Feature, bounds: [number, number, number, number]) => void;
22
- export declare const handleBlinkAnimation: (ctx: CanvasRenderingContext2D, feature: Feature, labelPos: LabelPosition, labelStyle: LabelStyle) => void;
23
- export declare const clearAnimation: (ctx: CanvasRenderingContext2D, feature: Feature, bounds: [number, number, number, number], labelStyle: LabelStyle) => void;
24
- export declare const updateCollisionTree: (feature: Feature, labelPos: LabelPosition) => void;
25
- export {};