@idmwx/idmui-gl4 0.0.4 → 0.0.6

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.
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
- const watch: {};
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,79 +23,70 @@ declare namespace _sfc_main {
23
23
  const _default: number;
24
24
  export { _default as default };
25
25
  }
26
- namespace layerToggle {
27
- const type_5: BooleanConstructor;
26
+ namespace menuToggle {
27
+ const type_5: ObjectConstructor;
28
28
  export { type_5 as type };
29
- const _default_1: boolean;
29
+ const _default_1: {};
30
30
  export { _default_1 as default };
31
31
  }
32
- namespace toggleVersion {
33
- const type_6: NumberConstructor;
34
- export { type_6 as type };
35
- }
36
32
  namespace isLogin {
37
- const type_7: BooleanConstructor;
38
- export { type_7 as type };
33
+ const type_6: BooleanConstructor;
34
+ export { type_6 as type };
39
35
  const _default_2: undefined;
40
36
  export { _default_2 as default };
41
37
  }
42
38
  namespace showWindFeather {
43
- const type_8: BooleanConstructor;
44
- export { type_8 as type };
39
+ const type_7: BooleanConstructor;
40
+ export { type_7 as type };
45
41
  const _default_3: undefined;
46
42
  export { _default_3 as default };
47
43
  }
48
44
  namespace showWindParticle {
49
- const type_9: BooleanConstructor;
50
- export { type_9 as type };
45
+ const type_8: BooleanConstructor;
46
+ export { type_8 as type };
51
47
  const _default_4: undefined;
52
48
  export { _default_4 as default };
53
49
  }
54
50
  namespace showCurrentIsoband {
55
- const type_10: BooleanConstructor;
56
- export { type_10 as type };
51
+ const type_9: BooleanConstructor;
52
+ export { type_9 as type };
57
53
  const _default_5: undefined;
58
54
  export { _default_5 as default };
59
55
  }
60
56
  namespace showCurrentParticle {
61
- const type_11: BooleanConstructor;
62
- export { type_11 as type };
57
+ const type_10: BooleanConstructor;
58
+ export { type_10 as type };
63
59
  const _default_6: undefined;
64
60
  export { _default_6 as default };
65
61
  }
66
62
  namespace forecastModel {
67
- const type_12: StringConstructor;
68
- export { type_12 as type };
63
+ const type_11: StringConstructor;
64
+ export { type_11 as type };
69
65
  }
70
66
  }
71
67
  const emits: string[];
72
68
  function data(): {
69
+ right: number;
70
+ toggle: boolean;
73
71
  autoActive: boolean;
74
- layers: {
75
- weather: any[];
76
- other: any[];
77
- };
72
+ tagLayers: any[];
78
73
  activeWeatherLayers: never[];
79
74
  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
75
  showMeasure: boolean;
90
76
  showPoint: boolean;
91
77
  show3d: boolean;
92
- version: {
78
+ cache: {
93
79
  v: string;
94
- k: string;
80
+ versionKey: string;
81
+ forecastModelKey: string;
82
+ autoActiveKey: string;
83
+ activeLayersKey: string;
84
+ collectedLayersKey: string;
85
+ windFeatherCollectedKey: string;
86
+ currentIsobandCollectedKey: string;
95
87
  };
96
88
  source: string;
97
89
  sourceList: never[];
98
- right: number;
99
90
  rampColorLayers: string[];
100
91
  showWindParticleCollected: boolean;
101
92
  showWindFeatherCollected: boolean;
@@ -108,34 +99,29 @@ declare namespace _sfc_main {
108
99
  function computeDateZ(): (time: any) => string;
109
100
  function sourceCode(): any;
110
101
  }
111
- namespace watch {
112
- export namespace toggleVersion_1 {
113
- function handler(): void;
114
- }
115
- export { toggleVersion_1 as toggleVersion };
116
- export namespace source {
117
- function handler(newV: any, oldV: any): void;
118
- }
119
- export namespace activeWeatherLayers {
120
- function handler(newV: any, oldV: any): void;
121
- }
122
- export namespace showWindParticle_1 {
123
- function handler(newV: any, oldV: any): void;
124
- }
125
- export { showWindParticle_1 as showWindParticle };
126
- export namespace showWindFeather_1 {
127
- function handler(newV: any, oldV: any): void;
128
- }
129
- export { showWindFeather_1 as showWindFeather };
130
- export namespace showCurrentParticle_1 {
131
- function handler(newV: any, oldV: any): void;
132
- }
133
- export { showCurrentParticle_1 as showCurrentParticle };
134
- export namespace showCurrentIsoband_1 {
135
- function handler(newV: any, oldV: any): void;
136
- }
137
- export { showCurrentIsoband_1 as showCurrentIsoband };
138
- }
102
+ const watch: {
103
+ 'menuToggle.v': {
104
+ handler(): void;
105
+ };
106
+ source: {
107
+ handler(newV: any, oldV: any): void;
108
+ };
109
+ activeWeatherLayers: {
110
+ handler(newV: any, oldV: any): void;
111
+ };
112
+ showWindParticle: {
113
+ handler(newV: any, oldV: any): void;
114
+ };
115
+ showWindFeather: {
116
+ handler(newV: any, oldV: any): void;
117
+ };
118
+ showCurrentParticle: {
119
+ handler(newV: any, oldV: any): void;
120
+ };
121
+ showCurrentIsoband: {
122
+ handler(newV: any, oldV: any): void;
123
+ };
124
+ };
139
125
  function mounted(): Promise<void>;
140
126
  namespace methods {
141
127
  function fetchMeteoSource(): Promise<void>;
@@ -150,12 +136,7 @@ declare namespace _sfc_main {
150
136
  function handleToggleCurrentIsoband(): void;
151
137
  function handleToggleSigWaveRamp(): void;
152
138
  function handleToggleSigWaveHeight(): void;
153
- function handleOtherLayerPick(layer: any): void;
154
139
  function handleMenuToggle(): void;
155
140
  function toggleAutoActive(): void;
156
- function handleCoordToggle(): void;
157
- function handlePointToggle(): void;
158
- function handleMeasureToggle(): void;
159
- function handle3DToggle(): void;
160
141
  }
161
142
  }
@@ -27,6 +27,7 @@ declare namespace _sfc_main {
27
27
  namespace watch {
28
28
  export namespace zone_1 {
29
29
  function handler(): void;
30
+ const immediate: boolean;
30
31
  }
31
32
  export { zone_1 as zone };
32
33
  }
@@ -5,7 +5,7 @@ declare namespace _sfc_main {
5
5
  namespace map {
6
6
  const type: ObjectConstructor;
7
7
  }
8
- namespace enabled {
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 enabled_1 {
19
+ export namespace show_1 {
20
20
  function handler(): void;
21
21
  const immediate: boolean;
22
22
  }
23
- export { enabled_1 as enabled };
23
+ export { show_1 as show };
24
24
  }
25
25
  namespace methods {
26
26
  function handleRender(): void;
@@ -26,6 +26,7 @@ declare namespace _sfc_main {
26
26
  namespace watch {
27
27
  export namespace zone_1 {
28
28
  function handler(): void;
29
+ const immediate: boolean;
29
30
  }
30
31
  export { zone_1 as zone };
31
32
  }
@@ -22,6 +22,7 @@ declare namespace _sfc_main {
22
22
  namespace watch {
23
23
  export namespace area_1 {
24
24
  function handler(): void;
25
+ const immediate: boolean;
25
26
  }
26
27
  export { area_1 as area };
27
28
  }
@@ -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 bottom {
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 type_3: NumberConstructor;
20
- export { type_3 as type };
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;
@@ -22,6 +22,7 @@ declare namespace _sfc_main {
22
22
  namespace watch {
23
23
  export namespace line_1 {
24
24
  function handler(): void;
25
+ const immediate: boolean;
25
26
  }
26
27
  export { line_1 as line };
27
28
  }
@@ -33,6 +33,7 @@ declare namespace _sfc_main {
33
33
  namespace watch {
34
34
  export namespace port_1 {
35
35
  function handler(): void;
36
+ const immediate: boolean;
36
37
  }
37
38
  export { port_1 as port };
38
39
  }
@@ -22,6 +22,7 @@ declare namespace _sfc_main {
22
22
  namespace watch {
23
23
  export namespace area_1 {
24
24
  function handler(): void;
25
+ const immediate: boolean;
25
26
  }
26
27
  export { area_1 as area };
27
28
  }
@@ -5,18 +5,26 @@ declare namespace _sfc_main {
5
5
  namespace map {
6
6
  const type: ObjectConstructor;
7
7
  }
8
- namespace area {
9
- const type_1: ObjectConstructor;
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
  }
@@ -22,6 +22,7 @@ declare namespace _sfc_main {
22
22
  namespace watch {
23
23
  export namespace zone_1 {
24
24
  function handler(): void;
25
+ const immediate: boolean;
25
26
  }
26
27
  export { zone_1 as zone };
27
28
  }
@@ -22,6 +22,7 @@ declare namespace _sfc_main {
22
22
  namespace watch {
23
23
  export namespace area_1 {
24
24
  function handler(): void;
25
+ const immediate: boolean;
25
26
  }
26
27
  export { area_1 as area };
27
28
  }
@@ -22,6 +22,7 @@ declare namespace _sfc_main {
22
22
  namespace watch {
23
23
  export namespace zone_1 {
24
24
  function handler(): void;
25
+ const immediate: boolean;
25
26
  }
26
27
  export { zone_1 as zone };
27
28
  }
@@ -5,7 +5,7 @@ declare namespace _sfc_main {
5
5
  namespace map {
6
6
  const type: ObjectConstructor;
7
7
  }
8
- namespace enabled {
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 enabled_1 {
47
+ export namespace show_1 {
48
48
  function handler(): void;
49
49
  const immediate: boolean;
50
50
  }
51
- export { enabled_1 as enabled };
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 enabled {
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 enabled_1 {
18
+ export namespace show_1 {
19
19
  function handler(): void;
20
20
  const immediate: boolean;
21
21
  }
22
- export { enabled_1 as enabled };
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
- token: any;
168
- mapboxCustomer: any;
167
+ originStyle: any;
168
+ mapboxStyle: any;
169
169
  i4: any;
170
170
  hi: any;
171
171
  td: any;
172
172
  windy: any;
173
- mapboxStyle: any;
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