zhihao-ui 1.3.47 → 1.3.50
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-BQ9mgGZQ.js → BaseInfo-Cu3ME-K_.js} +1 -1
- package/dist/es/{BaseItem-CEFYU-vZ.js → BaseItem-Co7KlYD6.js} +3 -3
- package/dist/es/{Button-BdGo3Kfv.js → Button-Dp3Eoz3O.js} +2 -2
- package/dist/es/DatePicker-BilQVlgi.js +57 -0
- package/dist/es/{DetailHeader-70m7dEou.js → DetailHeader-DTHE-pQa.js} +3 -3
- package/dist/es/{DetailSubTitle-CqcoW7Qc.js → DetailSubTitle-BG-q2NNN.js} +2 -2
- package/dist/es/{Dialog-Cib_m5sM.js → Dialog-B0N_UsO3.js} +3 -3
- package/dist/es/DiyDataTable-BQaaClFf.js +331 -0
- package/dist/es/{EditInfoPair-CIN0LGcX.js → EditInfoPair-DwrwCanm.js} +3 -3
- package/dist/es/{FileWrapper-kRc7s3wS.js → FileWrapper-BDK8YvRB.js} +4 -4
- package/dist/es/{Grid-YHrIHuuu.js → Grid-pVjqXcmJ.js} +2 -2
- package/dist/es/{InfoPair-Dg0qbY3Z.js → InfoPair-lu2zDhpQ.js} +3 -3
- package/dist/es/{Input-uOt745UZ.js → Input-Du4ztfNG.js} +14 -14
- package/dist/es/{Loading-C_6ERpeb.js → Loading-Dc9138dn.js} +2 -2
- package/dist/es/Map-BnrPdkzo.js +2280 -0
- package/dist/es/{MessageBox-h_sFrr4D.js → MessageBox-CJMqwEqr.js} +2 -2
- package/dist/es/{MoneyInput-n52E-q_5.js → MoneyInput-CJxSKPIk.js} +5 -5
- package/dist/es/{PageHeadPanel-DLs1xYME.js → PageHeadPanel-BChW8Tal.js} +2 -2
- package/dist/es/Table-CzNjEPnP.js +1155 -0
- package/dist/es/{ToolTips-CSVL9wbb.js → ToolTips-Y6yG2q7L.js} +3 -3
- package/dist/es/index.js +60 -77
- package/dist/es/{utils-UjENBVnX.js → utils-Co2iJhr8.js} +1 -1
- package/dist/es/{vendor-9390iK3y.js → vendor-Crdostgq.js} +26119 -30625
- package/dist/index.css +1 -1
- package/dist/types/components/BaseItem/BaseItem.vue.d.ts +1 -1
- package/dist/types/components/BaseItem/index.d.ts +10 -10
- package/dist/types/components/BaseItem/types.d.ts +1 -1
- package/dist/types/components/DetailHeader/index.d.ts +3 -3
- package/dist/types/components/DetailHeader/types.d.ts +1 -1
- package/dist/types/components/Dialog/Dialog.vue.d.ts +16 -16
- package/dist/types/components/Dialog/index.d.ts +24 -24
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +1 -386
- package/dist/types/components/DiyDataTable/index.d.ts +0 -1131
- package/dist/types/components/DiyDataTable/type.d.ts +1 -17
- package/dist/types/components/Map/Map.vue.d.ts +101 -138
- package/dist/types/components/Map/components/scaleLine.vue.d.ts +2 -1
- package/dist/types/components/Map/components/zoomControl.vue.d.ts +7 -3
- package/dist/types/components/Map/index.d.ts +324 -390
- package/dist/types/components/Map/interface/index.d.ts +6 -13
- package/dist/types/components/Map/types.d.ts +1 -13
- package/dist/types/components/Table/types.d.ts +0 -1
- package/dist/types/components/ToolTips/index.d.ts +12 -12
- package/dist/types/components/index.d.ts +0 -1
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +118 -604
- package/package.json +1 -1
- package/dist/es/CascaderLoadMore-1ENwzKY8.js +0 -261
- package/dist/es/DatePicker-DvSoaSq9.js +0 -73
- package/dist/es/DiyDataTable-bO--1zPQ.js +0 -366
- package/dist/es/Map-BURr7_36.js +0 -2528
- package/dist/es/Table-Cr4k_o89.js +0 -1167
|
@@ -7,8 +7,7 @@ export declare enum DIY_DATA_TYPE {
|
|
|
7
7
|
/** 格式化文本 */
|
|
8
8
|
FORMAT = "format",
|
|
9
9
|
/** 文本,初始化要传数据,配合isSameData使用 */
|
|
10
|
-
TEXT = "text"
|
|
11
|
-
INDEX = "index"
|
|
10
|
+
TEXT = "text"
|
|
12
11
|
}
|
|
13
12
|
/** 列配置 */
|
|
14
13
|
export type DiyDataTableColumnItem = {
|
|
@@ -52,19 +51,4 @@ export type DiyDataTableColumnItem = {
|
|
|
52
51
|
fixed?: "left" | "right";
|
|
53
52
|
/** 列插槽 */
|
|
54
53
|
slot?: string;
|
|
55
|
-
/** show是否显示列,目前只对序号列 prop:index,生效 */
|
|
56
|
-
isShow?: boolean;
|
|
57
|
-
isNewlyColumn?: boolean;
|
|
58
54
|
};
|
|
59
|
-
/** 增行,增列操作列的配置项 */
|
|
60
|
-
export interface DiytableOperationType {
|
|
61
|
-
isShow?: boolean;
|
|
62
|
-
/** 宽度 */
|
|
63
|
-
width?: number | string;
|
|
64
|
-
/** 最小宽度 */
|
|
65
|
-
minWidth?: number | string;
|
|
66
|
-
customAddRow?: boolean;
|
|
67
|
-
addRowText?: string;
|
|
68
|
-
customAddColumn?: boolean;
|
|
69
|
-
addColumnText?: string;
|
|
70
|
-
}
|
|
@@ -1,144 +1,104 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Map as MapType } from 'ol';
|
|
3
|
-
import { transform } from 'ol/proj';
|
|
4
|
-
import { ShipInfoVo } from './interface';
|
|
5
|
-
import { PointMarkerClass } from './render/renderPoint.ts';
|
|
1
|
+
import { Props, WharfEntity } from './interface';
|
|
6
2
|
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
showToolPanel?: boolean | undefined;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
4
|
+
zoom: number;
|
|
5
|
+
center: [number, number];
|
|
6
|
+
showGreenLayer: boolean;
|
|
7
|
+
layerType: string;
|
|
8
|
+
showScale: boolean;
|
|
9
|
+
scaleLineUnit: string;
|
|
10
|
+
mapMoveEnd: () => void;
|
|
11
|
+
selectShip: () => void;
|
|
12
|
+
selectPort: () => void;
|
|
13
|
+
areaDrawEnd: () => void;
|
|
19
14
|
}>>, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
center: any[];
|
|
56
|
-
} | null;
|
|
57
|
-
setCenter: (lonLat: number[]) => null | undefined;
|
|
58
|
-
deleteLabelFromArray: () => void;
|
|
59
|
-
drawPolygonTool: {
|
|
60
|
-
addInteraction: (callback?: Function) => void;
|
|
61
|
-
removeInteraction: () => void;
|
|
62
|
-
initFeature: (callback?: Function) => void;
|
|
63
|
-
reset: () => void;
|
|
64
|
-
destroy: () => void;
|
|
15
|
+
getZoom: () => any;
|
|
16
|
+
setZoom: (zoom: number) => any;
|
|
17
|
+
getInstall: () => any;
|
|
18
|
+
getView: () => any;
|
|
19
|
+
setCenter: (lon: number, lat: number) => any;
|
|
20
|
+
getSize: () => any;
|
|
21
|
+
getCenter: (lon: number, lat: number) => any;
|
|
22
|
+
layer: {
|
|
23
|
+
setGreenTileVisible: (show: boolean) => any;
|
|
24
|
+
getGreenTileVisible: () => any;
|
|
25
|
+
getShowLayerType: () => any;
|
|
26
|
+
setShowLayerType: (type: Props["layerType"]) => any;
|
|
27
|
+
};
|
|
28
|
+
ship: {
|
|
29
|
+
render: (...rest: any[]) => any;
|
|
30
|
+
selected: (...rest: any[]) => any;
|
|
31
|
+
filter: (...rest: any[]) => any;
|
|
32
|
+
blinking: (...rest: any[]) => any;
|
|
33
|
+
clear: () => any;
|
|
34
|
+
};
|
|
35
|
+
track: {
|
|
36
|
+
render: (...rest: any[]) => any;
|
|
37
|
+
remove: (...rest: any[]) => any;
|
|
38
|
+
play: (...rest: any[]) => any;
|
|
39
|
+
setCenter: (...rest: any[]) => any;
|
|
40
|
+
close: (...rest: any[]) => any;
|
|
41
|
+
getLength: (...rest: any[]) => any;
|
|
42
|
+
};
|
|
43
|
+
carTrack: {
|
|
44
|
+
location: (...rest: any[]) => any;
|
|
45
|
+
remove: (...rest: any[]) => any;
|
|
46
|
+
renderTrack: (...rest: any[]) => any;
|
|
47
|
+
setCenter: (...rest: any[]) => any;
|
|
48
|
+
closeTrack: () => any;
|
|
49
|
+
playTrack: (...rest: any[]) => any;
|
|
65
50
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
51
|
+
port: {
|
|
52
|
+
render: (portList: WharfEntity[], showTitle: boolean) => any;
|
|
53
|
+
clear: () => any;
|
|
54
|
+
selected: (portData?: WharfEntity) => any;
|
|
69
55
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
mercator: string;
|
|
88
|
-
};
|
|
56
|
+
position: {
|
|
57
|
+
render: (...rest: any[]) => any;
|
|
58
|
+
selected: (...rest: any[]) => any;
|
|
59
|
+
clearSelected: (...rest: any[]) => any;
|
|
60
|
+
clear: () => any;
|
|
61
|
+
};
|
|
62
|
+
drawLine: {
|
|
63
|
+
open: () => any;
|
|
64
|
+
close: () => any;
|
|
65
|
+
deleteLine: (id: string) => any;
|
|
66
|
+
setUnit: (unitValue: string) => any;
|
|
67
|
+
getState: () => any;
|
|
68
|
+
};
|
|
69
|
+
drawPolygon: {
|
|
70
|
+
open: () => any;
|
|
71
|
+
close: () => any;
|
|
72
|
+
reset: () => any;
|
|
89
73
|
};
|
|
90
74
|
utils: {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
leftTopPoint: {
|
|
95
|
-
lng: number;
|
|
96
|
-
lat: number;
|
|
97
|
-
};
|
|
98
|
-
rightTopPoint: {
|
|
99
|
-
lng: number;
|
|
100
|
-
lat: number;
|
|
101
|
-
};
|
|
102
|
-
rightBottomPoint: {
|
|
103
|
-
lng: number;
|
|
104
|
-
lat: number;
|
|
105
|
-
};
|
|
106
|
-
leftBottomPoint: {
|
|
107
|
-
lng: number;
|
|
108
|
-
lat: number;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
lonLatToMercator: (center: [number, number]) => number[];
|
|
112
|
-
mercatorToLonLat: (center: [number, number], type?: string) => number[] | {
|
|
113
|
-
lon: number;
|
|
114
|
-
lat: number;
|
|
115
|
-
};
|
|
116
|
-
calculateBoundingBox: (coordinates: [number, number][]) => number[];
|
|
117
|
-
transform: typeof transform;
|
|
118
|
-
};
|
|
119
|
-
format: {
|
|
120
|
-
formatLength: (line: import('ol/geom').LineString, unit: number) => string;
|
|
121
|
-
convertSixHundredThousandToLatLng: (valueX: number | string, valueY: number | string) => [lng: number, lat: number];
|
|
122
|
-
formatArea: (polygon: import('ol/geom').Polygon | import('ol/geom').Geometry, unit: number) => string | undefined;
|
|
123
|
-
};
|
|
75
|
+
getCalculateExtent: (...reset: any[]) => any;
|
|
76
|
+
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
77
|
+
calculateCirclePoints: (center: [number, number], radiusInKilometers: number) => any;
|
|
124
78
|
};
|
|
125
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
79
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
80
|
+
zoom: number;
|
|
81
|
+
center: [number, number];
|
|
82
|
+
showGreenLayer: boolean;
|
|
83
|
+
layerType: string;
|
|
84
|
+
showScale: boolean;
|
|
85
|
+
scaleLineUnit: string;
|
|
86
|
+
mapMoveEnd: () => void;
|
|
87
|
+
selectShip: () => void;
|
|
88
|
+
selectPort: () => void;
|
|
89
|
+
areaDrawEnd: () => void;
|
|
90
|
+
}>>> & Readonly<{}>, {
|
|
91
|
+
center: import('ol/coordinate').Coordinate;
|
|
92
|
+
zoom: number;
|
|
93
|
+
layerType: "vector" | "satellite";
|
|
94
|
+
showGreenLayer: boolean;
|
|
95
|
+
showScale: boolean;
|
|
96
|
+
scaleLineUnit: "metric" | "imperial" | "nautical";
|
|
97
|
+
mapMoveEnd: (zoom: number) => void;
|
|
98
|
+
areaDrawEnd: (area: []) => void;
|
|
99
|
+
selectShip: (id: string) => void;
|
|
100
|
+
selectPort: (id: WharfEntity) => void;
|
|
101
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
142
102
|
export default _default;
|
|
143
103
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
144
104
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -149,8 +109,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
149
109
|
required: true;
|
|
150
110
|
};
|
|
151
111
|
};
|
|
152
|
-
type
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
};
|
|
112
|
+
type __VLS_WithDefaults<P, D> = {
|
|
113
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
114
|
+
default: D[K];
|
|
115
|
+
}> : P[K];
|
|
156
116
|
};
|
|
117
|
+
type __VLS_Prettify<T> = {
|
|
118
|
+
[K in keyof T]: T[K];
|
|
119
|
+
} & {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Units } from 'ol/control/ScaleLine';
|
|
2
|
+
import { Map } from 'ol';
|
|
2
3
|
|
|
3
4
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
4
|
-
setScaleLine: (units: Units) => void;
|
|
5
|
+
setScaleLine: (mapInstall: Map, units: Units) => void;
|
|
5
6
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
7
|
export default _default;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
|
|
2
|
+
mapInstance: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
|
+
default: () => null;
|
|
4
5
|
};
|
|
5
6
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
-
|
|
7
|
+
mapInstance: {
|
|
7
8
|
type: ObjectConstructor;
|
|
9
|
+
default: () => null;
|
|
8
10
|
};
|
|
9
|
-
}>> & Readonly<{}>, {
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
mapInstance: Record<string, any>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
14
|
export default _default;
|