@idmwx/idmui-gl4 0.0.4 → 0.0.5
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/index.js +41431 -11893
- package/dist/index.umd.cjs +15 -13
- package/dist/light-map.png +0 -0
- package/dist/mapbox/src/components/map/index.vue.d.ts +12 -2
- package/dist/mapbox/src/components/{layer.vue.d.ts → meteoLayer.vue.d.ts} +40 -52
- package/dist/mapbox/src/components/other/alertZone.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/chinaRoute.vue.d.ts +3 -3
- package/dist/mapbox/src/components/other/ecaZone.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/gmdssArea.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/latLng.vue.d.ts +10 -3
- package/dist/mapbox/src/components/other/loadLines.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/port.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/specialArea.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/terminator.vue.d.ts +10 -2
- package/dist/mapbox/src/components/other/timezone.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/vra.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/warZone.vue.d.ts +1 -0
- package/dist/mapbox/src/components/other/world12nm.vue.d.ts +3 -3
- package/dist/mapbox/src/components/other/worldMarine.vue.d.ts +3 -3
- package/dist/mapbox/src/components/otherLayer.vue.d.ts +100 -0
- package/dist/mapbox/src/helper.d.ts +3 -4
- package/dist/mapbox/src/index.vue.d.ts +0 -18
- package/dist/satellite-map.png +0 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/mapbox/src/components/other/enc.vue.d.ts +0 -59
|
Binary file
|
|
@@ -8,6 +8,12 @@ declare namespace _sfc_main {
|
|
|
8
8
|
const _default: string;
|
|
9
9
|
export { _default as default };
|
|
10
10
|
}
|
|
11
|
+
namespace mapFeather {
|
|
12
|
+
const type_1: StringConstructor;
|
|
13
|
+
export { type_1 as type };
|
|
14
|
+
const _default_1: string;
|
|
15
|
+
export { _default_1 as default };
|
|
16
|
+
}
|
|
11
17
|
}
|
|
12
18
|
const emits: string[];
|
|
13
19
|
function data(): {
|
|
@@ -16,10 +22,14 @@ declare namespace _sfc_main {
|
|
|
16
22
|
helper: undefined;
|
|
17
23
|
};
|
|
18
24
|
const computed: {};
|
|
19
|
-
|
|
25
|
+
namespace watch {
|
|
26
|
+
export namespace mapFeather_1 {
|
|
27
|
+
function handler(): void;
|
|
28
|
+
}
|
|
29
|
+
export { mapFeather_1 as mapFeather };
|
|
30
|
+
}
|
|
20
31
|
function mounted(): void;
|
|
21
32
|
namespace methods {
|
|
22
33
|
function initOnlineMap(): Promise<void>;
|
|
23
|
-
function initOfflineMap(): Promise<void>;
|
|
24
34
|
}
|
|
25
35
|
}
|
|
@@ -23,10 +23,10 @@ declare namespace _sfc_main {
|
|
|
23
23
|
const _default: number;
|
|
24
24
|
export { _default as default };
|
|
25
25
|
}
|
|
26
|
-
namespace
|
|
27
|
-
const type_5:
|
|
26
|
+
namespace menuToggle {
|
|
27
|
+
const type_5: ObjectConstructor;
|
|
28
28
|
export { type_5 as type };
|
|
29
|
-
const _default_1:
|
|
29
|
+
const _default_1: {};
|
|
30
30
|
export { _default_1 as default };
|
|
31
31
|
}
|
|
32
32
|
namespace toggleVersion {
|
|
@@ -70,32 +70,27 @@ declare namespace _sfc_main {
|
|
|
70
70
|
}
|
|
71
71
|
const emits: string[];
|
|
72
72
|
function data(): {
|
|
73
|
+
right: number;
|
|
74
|
+
toggle: boolean;
|
|
73
75
|
autoActive: boolean;
|
|
74
|
-
|
|
75
|
-
weather: any[];
|
|
76
|
-
other: any[];
|
|
77
|
-
};
|
|
76
|
+
tagLayers: any[];
|
|
78
77
|
activeWeatherLayers: never[];
|
|
79
78
|
activeWeatherLayersCollected: never[];
|
|
80
|
-
activeOtherLayers: never[];
|
|
81
|
-
autoActiveCache: string;
|
|
82
|
-
activeWeatherLayersCache: string;
|
|
83
|
-
activeOtherLayersCache: string;
|
|
84
|
-
collectedLayerCache: string;
|
|
85
|
-
sourceCache: string;
|
|
86
|
-
windFeatherCollectedCache: string;
|
|
87
|
-
currentIsobandCollectedCache: string;
|
|
88
|
-
showCoord: boolean;
|
|
89
79
|
showMeasure: boolean;
|
|
90
80
|
showPoint: boolean;
|
|
91
81
|
show3d: boolean;
|
|
92
|
-
|
|
82
|
+
cache: {
|
|
93
83
|
v: string;
|
|
94
|
-
|
|
84
|
+
versionKey: string;
|
|
85
|
+
forecastModelKey: string;
|
|
86
|
+
autoActiveKey: string;
|
|
87
|
+
activeLayersKey: string;
|
|
88
|
+
collectedLayersKey: string;
|
|
89
|
+
windFeatherCollectedKey: string;
|
|
90
|
+
currentIsobandCollectedKey: string;
|
|
95
91
|
};
|
|
96
92
|
source: string;
|
|
97
93
|
sourceList: never[];
|
|
98
|
-
right: number;
|
|
99
94
|
rampColorLayers: string[];
|
|
100
95
|
showWindParticleCollected: boolean;
|
|
101
96
|
showWindFeatherCollected: boolean;
|
|
@@ -108,34 +103,32 @@ declare namespace _sfc_main {
|
|
|
108
103
|
function computeDateZ(): (time: any) => string;
|
|
109
104
|
function sourceCode(): any;
|
|
110
105
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
export { showCurrentIsoband_1 as showCurrentIsoband };
|
|
138
|
-
}
|
|
106
|
+
const watch: {
|
|
107
|
+
toggleVersion: {
|
|
108
|
+
handler(): void;
|
|
109
|
+
};
|
|
110
|
+
'menuToggle.v': {
|
|
111
|
+
handler(): void;
|
|
112
|
+
};
|
|
113
|
+
source: {
|
|
114
|
+
handler(newV: any, oldV: any): void;
|
|
115
|
+
};
|
|
116
|
+
activeWeatherLayers: {
|
|
117
|
+
handler(newV: any, oldV: any): void;
|
|
118
|
+
};
|
|
119
|
+
showWindParticle: {
|
|
120
|
+
handler(newV: any, oldV: any): void;
|
|
121
|
+
};
|
|
122
|
+
showWindFeather: {
|
|
123
|
+
handler(newV: any, oldV: any): void;
|
|
124
|
+
};
|
|
125
|
+
showCurrentParticle: {
|
|
126
|
+
handler(newV: any, oldV: any): void;
|
|
127
|
+
};
|
|
128
|
+
showCurrentIsoband: {
|
|
129
|
+
handler(newV: any, oldV: any): void;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
139
132
|
function mounted(): Promise<void>;
|
|
140
133
|
namespace methods {
|
|
141
134
|
function fetchMeteoSource(): Promise<void>;
|
|
@@ -150,12 +143,7 @@ declare namespace _sfc_main {
|
|
|
150
143
|
function handleToggleCurrentIsoband(): void;
|
|
151
144
|
function handleToggleSigWaveRamp(): void;
|
|
152
145
|
function handleToggleSigWaveHeight(): void;
|
|
153
|
-
function handleOtherLayerPick(layer: any): void;
|
|
154
146
|
function handleMenuToggle(): void;
|
|
155
147
|
function toggleAutoActive(): void;
|
|
156
|
-
function handleCoordToggle(): void;
|
|
157
|
-
function handlePointToggle(): void;
|
|
158
|
-
function handleMeasureToggle(): void;
|
|
159
|
-
function handle3DToggle(): void;
|
|
160
148
|
}
|
|
161
149
|
}
|
|
@@ -5,7 +5,7 @@ declare namespace _sfc_main {
|
|
|
5
5
|
namespace map {
|
|
6
6
|
const type: ObjectConstructor;
|
|
7
7
|
}
|
|
8
|
-
namespace
|
|
8
|
+
namespace show {
|
|
9
9
|
const type_1: BooleanConstructor;
|
|
10
10
|
export { type_1 as type };
|
|
11
11
|
}
|
|
@@ -16,11 +16,11 @@ declare namespace _sfc_main {
|
|
|
16
16
|
fillLayer: string;
|
|
17
17
|
};
|
|
18
18
|
namespace watch {
|
|
19
|
-
export namespace
|
|
19
|
+
export namespace show_1 {
|
|
20
20
|
function handler(): void;
|
|
21
21
|
const immediate: boolean;
|
|
22
22
|
}
|
|
23
|
-
export {
|
|
23
|
+
export { show_1 as show };
|
|
24
24
|
}
|
|
25
25
|
namespace methods {
|
|
26
26
|
function handleRender(): void;
|
|
@@ -9,15 +9,19 @@ declare namespace _sfc_main {
|
|
|
9
9
|
const type_1: BooleanConstructor;
|
|
10
10
|
export { type_1 as type };
|
|
11
11
|
}
|
|
12
|
-
namespace
|
|
12
|
+
namespace mapFeather {
|
|
13
13
|
const type_2: StringConstructor;
|
|
14
14
|
export { type_2 as type };
|
|
15
|
+
}
|
|
16
|
+
namespace bottom {
|
|
17
|
+
const type_3: StringConstructor;
|
|
18
|
+
export { type_3 as type };
|
|
15
19
|
const _default: string;
|
|
16
20
|
export { _default as default };
|
|
17
21
|
}
|
|
18
22
|
namespace toggleVersion {
|
|
19
|
-
const
|
|
20
|
-
export {
|
|
23
|
+
const type_4: NumberConstructor;
|
|
24
|
+
export { type_4 as type };
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
function data(): {
|
|
@@ -27,6 +31,9 @@ declare namespace _sfc_main {
|
|
|
27
31
|
labelLayer: string;
|
|
28
32
|
right: number;
|
|
29
33
|
};
|
|
34
|
+
namespace computed {
|
|
35
|
+
function lineColor(): any;
|
|
36
|
+
}
|
|
30
37
|
namespace watch {
|
|
31
38
|
export namespace show_1 {
|
|
32
39
|
function handler(): void;
|
|
@@ -5,18 +5,26 @@ declare namespace _sfc_main {
|
|
|
5
5
|
namespace map {
|
|
6
6
|
const type: ObjectConstructor;
|
|
7
7
|
}
|
|
8
|
-
namespace
|
|
9
|
-
const type_1:
|
|
8
|
+
namespace mapFeather {
|
|
9
|
+
const type_1: StringConstructor;
|
|
10
10
|
export { type_1 as type };
|
|
11
11
|
}
|
|
12
|
+
namespace area {
|
|
13
|
+
const type_2: ObjectConstructor;
|
|
14
|
+
export { type_2 as type };
|
|
15
|
+
}
|
|
12
16
|
}
|
|
13
17
|
function data(): {
|
|
14
18
|
source: string;
|
|
15
19
|
layer: string;
|
|
16
20
|
};
|
|
21
|
+
namespace computed {
|
|
22
|
+
function layerColor(): any;
|
|
23
|
+
}
|
|
17
24
|
namespace watch {
|
|
18
25
|
export namespace area_1 {
|
|
19
26
|
function handler(): void;
|
|
27
|
+
const immediate: boolean;
|
|
20
28
|
}
|
|
21
29
|
export { area_1 as area };
|
|
22
30
|
}
|
|
@@ -5,7 +5,7 @@ declare namespace _sfc_main {
|
|
|
5
5
|
namespace map {
|
|
6
6
|
const type: ObjectConstructor;
|
|
7
7
|
}
|
|
8
|
-
namespace
|
|
8
|
+
namespace show {
|
|
9
9
|
const type_1: BooleanConstructor;
|
|
10
10
|
export { type_1 as type };
|
|
11
11
|
}
|
|
@@ -44,11 +44,11 @@ declare namespace _sfc_main {
|
|
|
44
44
|
layer: string;
|
|
45
45
|
};
|
|
46
46
|
namespace watch {
|
|
47
|
-
export namespace
|
|
47
|
+
export namespace show_1 {
|
|
48
48
|
function handler(): void;
|
|
49
49
|
const immediate: boolean;
|
|
50
50
|
}
|
|
51
|
-
export {
|
|
51
|
+
export { show_1 as show };
|
|
52
52
|
}
|
|
53
53
|
namespace methods {
|
|
54
54
|
function handleRender(): void;
|
|
@@ -5,7 +5,7 @@ declare namespace _sfc_main {
|
|
|
5
5
|
namespace map {
|
|
6
6
|
const type: ObjectConstructor;
|
|
7
7
|
}
|
|
8
|
-
namespace
|
|
8
|
+
namespace show {
|
|
9
9
|
const type_1: BooleanConstructor;
|
|
10
10
|
export { type_1 as type };
|
|
11
11
|
}
|
|
@@ -15,11 +15,11 @@ declare namespace _sfc_main {
|
|
|
15
15
|
lineLayer: string;
|
|
16
16
|
};
|
|
17
17
|
namespace watch {
|
|
18
|
-
export namespace
|
|
18
|
+
export namespace show_1 {
|
|
19
19
|
function handler(): void;
|
|
20
20
|
const immediate: boolean;
|
|
21
21
|
}
|
|
22
|
-
export {
|
|
22
|
+
export { show_1 as show };
|
|
23
23
|
}
|
|
24
24
|
namespace methods {
|
|
25
25
|
function handleRender(): void;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
const components: undefined;
|
|
5
|
+
namespace props {
|
|
6
|
+
namespace map {
|
|
7
|
+
const type: ObjectConstructor;
|
|
8
|
+
}
|
|
9
|
+
namespace token {
|
|
10
|
+
const type_1: StringConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
}
|
|
13
|
+
namespace defaultMeteoToken {
|
|
14
|
+
const type_2: StringConstructor;
|
|
15
|
+
export { type_2 as type };
|
|
16
|
+
}
|
|
17
|
+
namespace gateway {
|
|
18
|
+
const type_3: StringConstructor;
|
|
19
|
+
export { type_3 as type };
|
|
20
|
+
}
|
|
21
|
+
namespace assistGateway {
|
|
22
|
+
const type_4: ArrayConstructor;
|
|
23
|
+
export { type_4 as type };
|
|
24
|
+
const _default: never[];
|
|
25
|
+
export { _default as default };
|
|
26
|
+
}
|
|
27
|
+
namespace top {
|
|
28
|
+
const type_5: NumberConstructor;
|
|
29
|
+
export { type_5 as type };
|
|
30
|
+
const _default_1: number;
|
|
31
|
+
export { _default_1 as default };
|
|
32
|
+
}
|
|
33
|
+
namespace menuToggle {
|
|
34
|
+
const type_6: ObjectConstructor;
|
|
35
|
+
export { type_6 as type };
|
|
36
|
+
const _default_2: {};
|
|
37
|
+
export { _default_2 as default };
|
|
38
|
+
}
|
|
39
|
+
namespace toggleVersion {
|
|
40
|
+
const type_7: NumberConstructor;
|
|
41
|
+
export { type_7 as type };
|
|
42
|
+
}
|
|
43
|
+
namespace ts {
|
|
44
|
+
const type_8: StringConstructor;
|
|
45
|
+
export { type_8 as type };
|
|
46
|
+
}
|
|
47
|
+
namespace forecastModel {
|
|
48
|
+
const type_9: StringConstructor;
|
|
49
|
+
export { type_9 as type };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
const emits: string[];
|
|
53
|
+
function data(): {
|
|
54
|
+
right: number;
|
|
55
|
+
toggle: boolean;
|
|
56
|
+
tagLayers: any[];
|
|
57
|
+
layerWeight: number;
|
|
58
|
+
otherLayers: {};
|
|
59
|
+
activeOtherLayers: never[];
|
|
60
|
+
cache: {
|
|
61
|
+
v: string;
|
|
62
|
+
versionKey: string;
|
|
63
|
+
layersKey: string;
|
|
64
|
+
mapFeatherKey: string;
|
|
65
|
+
};
|
|
66
|
+
mapFeathers: {
|
|
67
|
+
name: string;
|
|
68
|
+
value: string;
|
|
69
|
+
icon: string;
|
|
70
|
+
}[];
|
|
71
|
+
};
|
|
72
|
+
namespace computed {
|
|
73
|
+
function computeLayerClass(): (layer: any, layers: any) => string;
|
|
74
|
+
}
|
|
75
|
+
const watch: {
|
|
76
|
+
toggleVersion: {
|
|
77
|
+
handler(): void;
|
|
78
|
+
};
|
|
79
|
+
'menuToggle.v': {
|
|
80
|
+
handler(): void;
|
|
81
|
+
immediate: boolean;
|
|
82
|
+
};
|
|
83
|
+
ts: {
|
|
84
|
+
handler(newV: any, oldV: any): void;
|
|
85
|
+
immediate: boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
function mounted(): Promise<void>;
|
|
89
|
+
namespace methods {
|
|
90
|
+
function fetchCache(): void;
|
|
91
|
+
function handleMenuToggle(): void;
|
|
92
|
+
function handleToggleMapFeather(f: any): void;
|
|
93
|
+
function fetchOtherLayers(options?: {
|
|
94
|
+
all: boolean;
|
|
95
|
+
dayNight: boolean;
|
|
96
|
+
}): Promise<void>;
|
|
97
|
+
function handleOtherLayerPick(layer: any): void;
|
|
98
|
+
function handleLayersChange(layers: any): void;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -164,12 +164,11 @@ export declare class ParticleSchema {
|
|
|
164
164
|
* Mapbox辅助图层
|
|
165
165
|
*/
|
|
166
166
|
export declare class MapboxHelper {
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
originStyle: any;
|
|
168
|
+
mapboxStyle: any;
|
|
169
169
|
i4: any;
|
|
170
170
|
hi: any;
|
|
171
171
|
td: any;
|
|
172
172
|
windy: any;
|
|
173
|
-
|
|
174
|
-
constructor(token?: string);
|
|
173
|
+
constructor(token?: string, type?: string);
|
|
175
174
|
}
|
|
@@ -36,9 +36,6 @@ declare namespace _sfc_main {
|
|
|
36
36
|
weatherLayers: {};
|
|
37
37
|
activeWeatherLayers: never[];
|
|
38
38
|
weatherWeight: number;
|
|
39
|
-
otherLayers: {};
|
|
40
|
-
otherWeight: number;
|
|
41
|
-
showCoord: boolean;
|
|
42
39
|
showMeasure: boolean;
|
|
43
40
|
showPoint: boolean;
|
|
44
41
|
show3d: boolean;
|
|
@@ -58,7 +55,6 @@ declare namespace _sfc_main {
|
|
|
58
55
|
toggleCurrentParticeVersion: number;
|
|
59
56
|
showCurrentIsoband: boolean;
|
|
60
57
|
showCurrentParticle: boolean;
|
|
61
|
-
enc: string;
|
|
62
58
|
defaultMeteoToken: string;
|
|
63
59
|
helper: MapboxHelper;
|
|
64
60
|
};
|
|
@@ -74,9 +70,6 @@ declare namespace _sfc_main {
|
|
|
74
70
|
export { immediate_1 as immediate };
|
|
75
71
|
}
|
|
76
72
|
export { map_1 as map };
|
|
77
|
-
export namespace enc {
|
|
78
|
-
function handler(newV: any, oldV: any): void;
|
|
79
|
-
}
|
|
80
73
|
export namespace activeWeatherLayers {
|
|
81
74
|
export function handler(): false | undefined;
|
|
82
75
|
const immediate_2: boolean;
|
|
@@ -90,14 +83,6 @@ declare namespace _sfc_main {
|
|
|
90
83
|
function fetchWeatherLayers(options?: {
|
|
91
84
|
tropicals: boolean;
|
|
92
85
|
}): Promise<void>;
|
|
93
|
-
function fetchOtherLayers(options?: {
|
|
94
|
-
all: boolean;
|
|
95
|
-
dayNight: boolean;
|
|
96
|
-
enc: boolean;
|
|
97
|
-
world12nm: boolean;
|
|
98
|
-
worldMarine: boolean;
|
|
99
|
-
chinaRoute: boolean;
|
|
100
|
-
}): Promise<void>;
|
|
101
86
|
function handleRampColorState(): void;
|
|
102
87
|
function handleRampColorInitial(): void;
|
|
103
88
|
function handleDrawWeather4Json(): void;
|
|
@@ -109,10 +94,7 @@ declare namespace _sfc_main {
|
|
|
109
94
|
tropicals: boolean;
|
|
110
95
|
}): void;
|
|
111
96
|
function handleWeatherLayerChange(activeLayers: any, source: any): void;
|
|
112
|
-
function handleOtherLayerChange(layers: any): void;
|
|
113
|
-
function handle3dToggle(show3d: any): void;
|
|
114
97
|
function handleParticle(row: any): void;
|
|
115
|
-
function handleToggleVersion(): void;
|
|
116
98
|
}
|
|
117
99
|
}
|
|
118
100
|
import { MapboxHelper } from './helper.ts';
|
|
Binary file
|