zhihao-ui 1.2.1 → 1.2.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 (70) hide show
  1. package/dist/es/{BaseInfo-DqxHM6sE.js → BaseInfo-DSoB7lXu.js} +1 -1
  2. package/dist/es/Button-CSkwolvy.js +32 -0
  3. package/dist/es/{DatePicker-D8LPaPf6.js → DatePicker-BuM1QvvJ.js} +15 -15
  4. package/dist/es/{DetailHeader-Bzo3r_rs.js → DetailHeader-DLWS2a6d.js} +3 -3
  5. package/dist/es/{DetailSubTitle-C5pVYJhX.js → DetailSubTitle-Bohm33lU.js} +2 -2
  6. package/dist/es/{Dialog-DrsOxk4u.js → Dialog-dbO52Pj0.js} +3 -3
  7. package/dist/es/{EditInfoPair-CM5piQwT.js → EditInfoPair-sJNaUadM.js} +3 -3
  8. package/dist/es/{FileWrapper-DN-KKB9p.js → FileWrapper-BQgaAu1K.js} +4 -4
  9. package/dist/es/{Grid-Ds-Jy0Mn.js → Grid-P-t8UiMv.js} +1 -1
  10. package/dist/es/{InfoPair-CnBR3fy9.js → InfoPair-BNypeCJn.js} +3 -3
  11. package/dist/es/{Input-C1s8JqmI.js → Input-DpsLV8LI.js} +3 -3
  12. package/dist/es/{Loading-DELLXz7f.js → Loading-DXdxoKLU.js} +2 -2
  13. package/dist/es/Map-BchE1ZDm.js +1183 -0
  14. package/dist/es/{MessageBox-B5ibisN4.js → MessageBox-DRwBLDiG.js} +6 -6
  15. package/dist/es/{MoneyInput-Dt_ZE-zv.js → MoneyInput-E6oSL6tO.js} +8 -8
  16. package/dist/es/{PageHeadPanel-CdohXWA9.js → PageHeadPanel-fhMuGUkI.js} +2 -2
  17. package/dist/es/{ToolTips-CxyQMewg.js → ToolTips-lv_GNnZo.js} +5 -5
  18. package/dist/es/index.js +24 -21
  19. package/dist/es/{utils-DBdiSe6_.js → utils-BMWHW3o7.js} +1 -1
  20. package/dist/es/vendor-BXx3MaXc.js +42114 -0
  21. package/dist/index.css +1 -1
  22. package/dist/types/components/Button/Button.vue.d.ts +8 -13
  23. package/dist/types/components/Button/index.d.ts +15 -24
  24. package/dist/types/components/Map/Map.vue.d.ts +36 -0
  25. package/dist/types/components/Map/components/copyright.vue.d.ts +2 -0
  26. package/dist/types/components/Map/components/fullscreen.vue.d.ts +14 -0
  27. package/dist/types/components/Map/components/measure.vue.d.ts +15 -0
  28. package/dist/types/components/Map/components/scaleLine.vue.d.ts +4 -0
  29. package/dist/types/components/Map/components/toolPanel.vue.d.ts +21 -0
  30. package/dist/types/components/Map/components/zoomControl.vue.d.ts +10 -0
  31. package/dist/types/components/Map/config.d.ts +26 -0
  32. package/dist/types/components/Map/enum/car.d.ts +5 -0
  33. package/dist/types/components/Map/enum/device.d.ts +8 -0
  34. package/dist/types/components/Map/enum/index.d.ts +4 -0
  35. package/dist/types/components/Map/enum/openLayers.d.ts +10 -0
  36. package/dist/types/components/Map/index.d.ts +91 -0
  37. package/dist/types/components/Map/interface/common/BaseEntity.d.ts +29 -0
  38. package/dist/types/components/Map/interface/common/page.d.ts +34 -0
  39. package/dist/types/components/Map/interface/entity/dashboard.d.ts +16 -0
  40. package/dist/types/components/Map/interface/entity/map.d.ts +36 -0
  41. package/dist/types/components/Map/interface/entity/queryLicenseResponse.d.ts +197 -0
  42. package/dist/types/components/Map/interface/entity/ship.d.ts +361 -0
  43. package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +186 -0
  44. package/dist/types/components/Map/interface/entity/shipMapData.d.ts +22 -0
  45. package/dist/types/components/Map/interface/entity/shipMarker.d.ts +8 -0
  46. package/dist/types/components/Map/interface/entity/shipTrack.d.ts +60 -0
  47. package/dist/types/components/Map/interface/entity/vehicle.d.ts +174 -0
  48. package/dist/types/components/Map/interface/index.d.ts +11 -0
  49. package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +6 -0
  50. package/dist/types/components/Map/render/canvasRender/geometry.d.ts +19 -0
  51. package/dist/types/components/Map/render/canvasRender/renderShipStyle.d.ts +3 -0
  52. package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +5 -0
  53. package/dist/types/components/Map/render/canvasRender/renderTruckStyle.d.ts +3 -0
  54. package/dist/types/components/Map/render/renderDashboard.d.ts +10 -0
  55. package/dist/types/components/Map/render/renderShip.d.ts +10 -0
  56. package/dist/types/components/Map/render/renderTrack.d.ts +13 -0
  57. package/dist/types/components/Map/render/renderTruck.d.ts +4 -0
  58. package/dist/types/components/Map/types.d.ts +9 -0
  59. package/dist/types/components/Map/utils/common.d.ts +24 -0
  60. package/dist/types/components/Map/utils/format.d.ts +16 -0
  61. package/dist/types/components/Map/utils/store.d.ts +18 -0
  62. package/dist/types/components/Map/utils/transform.d.ts +33 -0
  63. package/dist/types/components/MessageBox/MessageBox.vue.d.ts +6 -6
  64. package/dist/types/components/MessageBox/index.d.ts +9 -9
  65. package/dist/types/components/index.d.ts +1 -0
  66. package/dist/umd/index.css +1 -1
  67. package/dist/umd/index.umd.cjs +625 -22
  68. package/package.json +1 -1
  69. package/dist/es/Button-Q7GkKwFF.js +0 -22
  70. package/dist/es/vendor-mKFy0Hb6.js +0 -12409
@@ -1,18 +1,13 @@
1
- import { ButtonProps } from './types';
2
-
3
- declare function __VLS_template(): Readonly<Record<string, any>> & Record<string, any>;
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ click: (event: MouseEvent) => void;
6
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
+ onClick?: ((event: MouseEvent) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
9
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
10
  export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
16
11
  type __VLS_WithTemplateSlots<T, S> = T & {
17
12
  new (): {
18
13
  $slots: S;
@@ -1,36 +1,27 @@
1
1
  export declare const ZhButton: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
- type: {
4
- type: import('vue').PropType<import('./types').ButtonType>;
5
- };
6
- size: {
7
- type: import('vue').PropType<import('./types').ButtonSize>;
8
- };
9
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
3
+ onClick?: ((event: MouseEvent) => any) | undefined;
4
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ click: (event: MouseEvent) => void;
6
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
10
7
  P: {};
11
8
  B: {};
12
9
  D: {};
13
10
  C: {};
14
11
  M: {};
15
12
  Defaults: {};
16
- }, Readonly<import('vue').ExtractPropTypes<{
17
- type: {
18
- type: import('vue').PropType<import('./types').ButtonType>;
19
- };
20
- size: {
21
- type: import('vue').PropType<import('./types').ButtonSize>;
22
- };
23
- }>> & Readonly<{}>, {}, {}, {}, {}, {}>;
13
+ }, Readonly<{}> & Readonly<{
14
+ onClick?: ((event: MouseEvent) => any) | undefined;
15
+ }>, {}, {}, {}, {}, {}>;
24
16
  __isFragment?: never;
25
17
  __isTeleport?: never;
26
18
  __isSuspense?: never;
27
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
28
- type: {
29
- type: import('vue').PropType<import('./types').ButtonType>;
19
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
20
+ onClick?: ((event: MouseEvent) => any) | undefined;
21
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ click: (event: MouseEvent) => void;
23
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
24
+ $slots: {
25
+ default?(_: {}): any;
30
26
  };
31
- size: {
32
- type: import('vue').PropType<import('./types').ButtonSize>;
33
- };
34
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
35
- $slots: Readonly<Record<string, any>> & Record<string, any>;
36
27
  }) & import('vue').Plugin;
@@ -0,0 +1,36 @@
1
+ import { Ref } from 'vue';
2
+ import { Map } from 'ol';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ zoom: number | null;
6
+ center: [number, number] | null;
7
+ vehicleMode: "truck" | "ship";
8
+ }>>, {
9
+ mapInstance: Ref<Map | undefined, Map | undefined>;
10
+ initMap: () => void;
11
+ renderTrucksMarker: (list: import('./interface/index.ts').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
12
+ renderShips: (list: import('./interface/index.ts').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
13
+ renderTrack: (id: string, list: any[], color: string, unit: string, vehicleType?: "ship" | "truck") => void;
14
+ closeTrack: () => void;
15
+ findShip: (id: string) => any;
16
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ zoomChanged: (...args: any[]) => void;
18
+ extentChanged: (...args: any[]) => void;
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
20
+ zoom: number | null;
21
+ center: [number, number] | null;
22
+ vehicleMode: "truck" | "ship";
23
+ }>>> & Readonly<{
24
+ onZoomChanged?: ((...args: any[]) => any) | undefined;
25
+ onExtentChanged?: ((...args: any[]) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ pageRef: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ pageRef: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ }>> & Readonly<{}>, {
12
+ pageRef: Record<string, any>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare function removeInteraction(): void;
2
+ declare function addInteraction(): void;
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ visible: import('vue').PropType<boolean>;
5
+ }>, {
6
+ addInteraction: typeof addInteraction;
7
+ removeInteraction: typeof removeInteraction;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ close: (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ visible: import('vue').PropType<boolean>;
12
+ }>> & Readonly<{
13
+ onClose?: ((...args: any[]) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ setScaleLine: () => void;
3
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
@@ -0,0 +1,21 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ vehicleMode: "truck" | "ship";
3
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ switchGreenDot: (...args: any[]) => void;
5
+ switchMapTile: (...args: any[]) => void;
6
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ vehicleMode: "truck" | "ship";
8
+ }>>> & Readonly<{
9
+ onSwitchGreenDot?: ((...args: any[]) => any) | undefined;
10
+ onSwitchMapTile?: ((...args: any[]) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
@@ -0,0 +1,10 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ map: {
3
+ type: ObjectConstructor;
4
+ };
5
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ map: {
7
+ type: ObjectConstructor;
8
+ };
9
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,26 @@
1
+ export declare const CDN_URL = "https://static.zhihaoscm.cn/";
2
+ export declare const tiandituKey = "a6e8f78974f2581f2ca00485b40c948f";
3
+ export declare const baseMap: {
4
+ tiandituTile: string;
5
+ tiandituTileMark: string;
6
+ tiandituImgTile: string;
7
+ tiandituImgTileMark: string;
8
+ greenTile: string;
9
+ };
10
+ export declare const mapZoom: {
11
+ default: number;
12
+ min: number;
13
+ max: number;
14
+ findShip: number;
15
+ findTruck: number;
16
+ shipGreenDotMax: number;
17
+ truckDefault: number;
18
+ truckStatistics: number;
19
+ shipModelMin: number;
20
+ shipModelMax: number;
21
+ };
22
+ export declare const mapDefaultCenter: [number, number];
23
+ export declare const projection: {
24
+ data: string;
25
+ mercator: string;
26
+ };
@@ -0,0 +1,5 @@
1
+ export declare enum CAR_COLOR {
2
+ BLUE = 1,// 蓝色
3
+ YELLOW = 2,// 黄色
4
+ Y_GREEN = 3
5
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum DEVICE_TYPE {
2
+ HOST = 1,//主机
3
+ TALK = 2,//对讲机
4
+ STORAGE = 3,//存储卡
5
+ INTERNET = 4,//物联网卡
6
+ CAMERA = 5,//尾厢摄像机
7
+ LOAD = 6
8
+ }
@@ -0,0 +1,4 @@
1
+ export { CAR_COLOR } from './car';
2
+ export { DEVICE_TYPE } from './device';
3
+ export { LENGTH_UNIT } from './openLayers';
4
+ export { LENGTH_UNIT_LABEL } from './openLayers';
@@ -0,0 +1,10 @@
1
+ export declare enum LENGTH_UNIT {
2
+ M = 1,// m
3
+ KM = 2,// km
4
+ NM = 3
5
+ }
6
+ export declare const LENGTH_UNIT_LABEL: {
7
+ 1: string;
8
+ 2: string;
9
+ 3: string;
10
+ };
@@ -0,0 +1,91 @@
1
+ export declare const ZhMap: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ zoom: {
4
+ type: import('vue').PropType<number | null>;
5
+ required: true;
6
+ };
7
+ center: {
8
+ type: import('vue').PropType<[number, number] | null>;
9
+ required: true;
10
+ };
11
+ vehicleMode: {
12
+ type: import('vue').PropType<"truck" | "ship">;
13
+ required: true;
14
+ };
15
+ }>> & Readonly<{
16
+ onZoomChanged?: ((...args: any[]) => any) | undefined;
17
+ onExtentChanged?: ((...args: any[]) => any) | undefined;
18
+ }>, {
19
+ mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
20
+ initMap: () => void;
21
+ renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
22
+ renderShips: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
23
+ renderTrack: (id: string, list: any[], color: string, unit: string, vehicleType?: "ship" | "truck") => void;
24
+ closeTrack: () => void;
25
+ findShip: (id: string) => any;
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ zoomChanged: (...args: any[]) => void;
28
+ extentChanged: (...args: any[]) => void;
29
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
30
+ P: {};
31
+ B: {};
32
+ D: {};
33
+ C: {};
34
+ M: {};
35
+ Defaults: {};
36
+ }, Readonly<import('vue').ExtractPropTypes<{
37
+ zoom: {
38
+ type: import('vue').PropType<number | null>;
39
+ required: true;
40
+ };
41
+ center: {
42
+ type: import('vue').PropType<[number, number] | null>;
43
+ required: true;
44
+ };
45
+ vehicleMode: {
46
+ type: import('vue').PropType<"truck" | "ship">;
47
+ required: true;
48
+ };
49
+ }>> & Readonly<{
50
+ onZoomChanged?: ((...args: any[]) => any) | undefined;
51
+ onExtentChanged?: ((...args: any[]) => any) | undefined;
52
+ }>, {
53
+ mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
54
+ initMap: () => void;
55
+ renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
56
+ renderShips: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
57
+ renderTrack: (id: string, list: any[], color: string, unit: string, vehicleType?: "ship" | "truck") => void;
58
+ closeTrack: () => void;
59
+ findShip: (id: string) => any;
60
+ }, {}, {}, {}, {}>;
61
+ __isFragment?: never;
62
+ __isTeleport?: never;
63
+ __isSuspense?: never;
64
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
65
+ zoom: {
66
+ type: import('vue').PropType<number | null>;
67
+ required: true;
68
+ };
69
+ center: {
70
+ type: import('vue').PropType<[number, number] | null>;
71
+ required: true;
72
+ };
73
+ vehicleMode: {
74
+ type: import('vue').PropType<"truck" | "ship">;
75
+ required: true;
76
+ };
77
+ }>> & Readonly<{
78
+ onZoomChanged?: ((...args: any[]) => any) | undefined;
79
+ onExtentChanged?: ((...args: any[]) => any) | undefined;
80
+ }>, {
81
+ mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
82
+ initMap: () => void;
83
+ renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
84
+ renderShips: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
85
+ renderTrack: (id: string, list: any[], color: string, unit: string, vehicleType?: "ship" | "truck") => void;
86
+ closeTrack: () => void;
87
+ findShip: (id: string) => any;
88
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
89
+ zoomChanged: (...args: any[]) => void;
90
+ extentChanged: (...args: any[]) => void;
91
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * ID为Long类型的数据库实体的基类
3
+ */
4
+ export interface BaseEntity {
5
+ /**
6
+ * 主键
7
+ */
8
+ id: number;
9
+ /**
10
+ * 删除标志 0 存在 1 删除
11
+ */
12
+ del: number;
13
+ /**
14
+ * 创建者 id
15
+ */
16
+ createdBy: number;
17
+ /**
18
+ * 创建者时间
19
+ */
20
+ createdTime: string;
21
+ /**
22
+ * 修改者 id
23
+ */
24
+ updatedBy: number;
25
+ /**
26
+ * 修改者时间
27
+ */
28
+ updatedTime: string;
29
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * 分页信息泛型接口
3
+ */
4
+ export interface Page<T> {
5
+ /**
6
+ * 内容
7
+ */
8
+ list: T[];
9
+ /**
10
+ * 返回的是第几页(从 1 开始计数)
11
+ */
12
+ currentPage: number;
13
+ /**
14
+ * 每页多少条数据
15
+ */
16
+ pageSize: number;
17
+ /**
18
+ * 数据总条数
19
+ */
20
+ total: number;
21
+ /**
22
+ * 总页数
23
+ */
24
+ totalPage: number;
25
+ }
26
+ /**
27
+ * 分页查询参数
28
+ * */
29
+ export interface PageRequest {
30
+ page?: number;
31
+ size?: number;
32
+ sortKey?: string;
33
+ sortOrder?: string;
34
+ }
@@ -0,0 +1,16 @@
1
+ import { Feature } from 'ol';
2
+
3
+ export interface TruckMarker {
4
+ name: string;
5
+ lonlat: [number, number];
6
+ feature: Feature;
7
+ }
8
+ export interface CityGroupStatistics extends TruckMarker {
9
+ count: number;
10
+ }
11
+ export interface HighlightTruck {
12
+ vno: string;
13
+ color: number;
14
+ feature: Feature | null;
15
+ icons: number[];
16
+ }
@@ -0,0 +1,36 @@
1
+ export interface MapViewForm {
2
+ id: number;
3
+ /**省市区地址 */
4
+ address: string;
5
+ /**省份 */
6
+ province: string;
7
+ /**地级市 */
8
+ city: string;
9
+ /**县区 */
10
+ region: string;
11
+ /**详细地址 */
12
+ detailAddress: string;
13
+ /**经纬度 */
14
+ lngLat: string;
15
+ areaCode: string[];
16
+ draggable: boolean;
17
+ }
18
+ export declare enum FormTypeEnum {
19
+ Add = 1,
20
+ Edit = 2,
21
+ Scan = 3
22
+ }
23
+ export interface TrackExtend {
24
+ id: string;
25
+ mmsi?: string;
26
+ length: string;
27
+ }
28
+ export interface RenderOption {
29
+ font: string;
30
+ labelOutSize: number;
31
+ labelHeight: number;
32
+ labelAlpha: number;
33
+ labelLineStyle: string;
34
+ labelFillStyle: string;
35
+ labelTextColor: string;
36
+ }
@@ -0,0 +1,197 @@
1
+ import { SnayiVehicleInfoResponse } from '@/entity/vehicle';
2
+
3
+ /**
4
+ * 行驶证信息响应实体类
5
+ */
6
+ export interface QueryLicenseResponse {
7
+ /**
8
+ * 外廓尺寸长 (mm)
9
+ */
10
+ vclLng: string;
11
+ /**
12
+ * 外廓尺寸宽 (mm)
13
+ */
14
+ vclWdt: string;
15
+ /**
16
+ * 车轴数
17
+ */
18
+ vehicleAxis: string;
19
+ /**
20
+ * 车辆品牌
21
+ */
22
+ prdCdNm: string;
23
+ /**
24
+ * 行驶证发证日期 (yyyy-MM-dd)
25
+ */
26
+ drvLicDt: string;
27
+ /**
28
+ * 车辆类型
29
+ */
30
+ vclTpNm: string;
31
+ /**
32
+ * 省编码
33
+ */
34
+ province: string;
35
+ /**
36
+ * 市编码
37
+ */
38
+ city: string;
39
+ /**
40
+ * 区县信息
41
+ */
42
+ country: string;
43
+ /**
44
+ * 县编码
45
+ */
46
+ ctyCode: string;
47
+ /**
48
+ * 车辆品牌
49
+ */
50
+ vbrndCdNm: string;
51
+ /**
52
+ * 车主/业户名称
53
+ */
54
+ cmpNm: string;
55
+ /**
56
+ * 车辆识别代码/车架号
57
+ */
58
+ vin: string;
59
+ /**
60
+ * 总质量/准牵引总质量 (kg)
61
+ */
62
+ vclTon: string;
63
+ /**
64
+ * 核定载重量 (kg)
65
+ */
66
+ ldTn: string;
67
+ /**
68
+ * 内廓尺寸长 (mm)
69
+ */
70
+ boxLng: string;
71
+ /**
72
+ * 内廓尺寸宽 (mm)
73
+ */
74
+ boxWdt: string;
75
+ /**
76
+ * 内廓尺寸高 (mm)
77
+ */
78
+ boxHgt: string;
79
+ /**
80
+ * 外廓尺寸高 (mm)
81
+ */
82
+ vclHgt: string;
83
+ /**
84
+ * 行驶证有效期 (yyyy-MM-dd)
85
+ */
86
+ boxVdy: string;
87
+ /**
88
+ * 行驶证有效期 UTC (Unix时间戳)
89
+ */
90
+ drvLicVdy: string;
91
+ /**
92
+ * 联系人姓名
93
+ */
94
+ vclWnrNm: string;
95
+ /**
96
+ * 联系人手机号
97
+ */
98
+ vclWnrPhn: string;
99
+ /**
100
+ * 车牌颜色
101
+ */
102
+ vclColor: number;
103
+ }
104
+ export interface SinoiovVehicleInfo {
105
+ /**
106
+ * 车牌号
107
+ */
108
+ vno: string;
109
+ plateNumber: string;
110
+ /**
111
+ * 状态码
112
+ */
113
+ status: string;
114
+ /**
115
+ * 车辆最后定位经度
116
+ */
117
+ lon: string;
118
+ /**
119
+ * 车辆最后定位纬度
120
+ */
121
+ lat: string;
122
+ /**
123
+ * 车辆地理位置名称
124
+ */
125
+ adr: string;
126
+ /**
127
+ * 车辆定位时间戳
128
+ */
129
+ utc: string;
130
+ /**
131
+ * 速度
132
+ */
133
+ spd: string;
134
+ /**
135
+ * 方向
136
+ */
137
+ drc: string;
138
+ /**
139
+ * 省
140
+ */
141
+ province: string;
142
+ /**
143
+ * 市
144
+ */
145
+ city: string;
146
+ /**
147
+ * 县
148
+ */
149
+ country: string;
150
+ /**
151
+ * 里程
152
+ */
153
+ mil: string;
154
+ /**
155
+ * 离线状态
156
+ */
157
+ offlineState: boolean;
158
+ /**
159
+ * 离线时长
160
+ */
161
+ offlineTime: number;
162
+ /**
163
+ * 车辆已行驶距
164
+ */
165
+ runDistance: string;
166
+ /**
167
+ * 剩余运距
168
+ */
169
+ remainDistance: string;
170
+ /**
171
+ * 预计到达时间
172
+ */
173
+ estimateArriveTime: string;
174
+ /**
175
+ * 车牌颜色
176
+ */
177
+ vclColor?: number;
178
+ /**
179
+ * 地图渲染图标
180
+ */
181
+ icons?: number[];
182
+ }
183
+ export interface VehicleInfoResponse {
184
+ /**
185
+ * 首车查询结果
186
+ */
187
+ firstVcl: SinoiovVehicleInfo;
188
+ /**
189
+ * 其余车辆列表
190
+ */
191
+ others: SinoiovVehicleInfo[];
192
+ }
193
+ export interface SinoiovVehicleSnayiVehicleResponse {
194
+ vehicleInfo: SinoiovVehicleInfo;
195
+ deviceInfo?: SnayiVehicleInfoResponse;
196
+ videoCaptureUrl?: string;
197
+ }