@signalk/charts-plugin 3.7.0 → 3.8.1
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/.prettierignore +1 -0
- package/CHANGELOG.md +109 -0
- package/README.md +72 -0
- package/docs/screenshots/1_overview.png +0 -0
- package/docs/screenshots/2_region.png +0 -0
- package/docs/screenshots/3_jobs.png +0 -0
- package/package.json +16 -11
- package/plugin/cacheLayout.d.ts +72 -0
- package/plugin/cacheLayout.d.ts.map +1 -0
- package/plugin/cacheLayout.js +243 -0
- package/plugin/cacheLayout.js.map +1 -0
- package/plugin/chartDownloader.d.ts +122 -29
- package/plugin/chartDownloader.d.ts.map +1 -1
- package/plugin/chartDownloader.js +491 -314
- package/plugin/chartDownloader.js.map +1 -1
- package/plugin/chartDownloaderMBTilesHelpers.d.ts +10 -0
- package/plugin/chartDownloaderMBTilesHelpers.d.ts.map +1 -0
- package/plugin/chartDownloaderMBTilesHelpers.js +202 -0
- package/plugin/chartDownloaderMBTilesHelpers.js.map +1 -0
- package/plugin/chartDownloaderTileHelpers.d.ts +30 -0
- package/plugin/chartDownloaderTileHelpers.d.ts.map +1 -0
- package/plugin/chartDownloaderTileHelpers.js +277 -0
- package/plugin/chartDownloaderTileHelpers.js.map +1 -0
- package/plugin/charts.d.ts.map +1 -1
- package/plugin/charts.js +24 -39
- package/plugin/charts.js.map +1 -1
- package/plugin/constants.d.ts.map +1 -1
- package/plugin/index.d.ts.map +1 -1
- package/plugin/index.js +564 -47
- package/plugin/index.js.map +1 -1
- package/plugin/pluginStatus.js.map +1 -1
- package/plugin/projection.js.map +1 -1
- package/plugin/tileServer.d.ts +4 -2
- package/plugin/tileServer.d.ts.map +1 -1
- package/plugin/tileServer.js +37 -8
- package/plugin/tileServer.js.map +1 -1
- package/plugin/tokenProvider.d.ts +63 -0
- package/plugin/tokenProvider.d.ts.map +1 -0
- package/plugin/tokenProvider.js +258 -0
- package/plugin/tokenProvider.js.map +1 -0
- package/plugin/types.d.ts +37 -2
- package/plugin/types.d.ts.map +1 -1
- package/public/images/jobs.png +0 -0
- package/public/images/overview.png +0 -0
- package/public/images/region.png +0 -0
- package/public/index.html +392 -113
- package/public/js/index.js +620 -0
- package/public/leaflet/images/downloads.png +0 -0
- package/public/leaflet/images/layers-2x.png +0 -0
- package/public/leaflet/images/layers.png +0 -0
- package/public/leaflet/images/lifebuoy.png +0 -0
- package/public/leaflet/images/spritesheet-2x.png +0 -0
- package/public/leaflet/images/spritesheet.svg +156 -0
- package/public/leaflet/leaflet.css +677 -0
- package/public/leaflet/leaflet.draw.css +253 -0
- package/public/leaflet/leaflet.draw.js +2957 -0
- package/public/leaflet/leaflet.js +7467 -0
- package/public/style.css +351 -37
- package/docs/screenshots/1_placeholder.png +0 -0
- package/public/index.js +0 -349
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
.leaflet-draw-section {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.leaflet-draw-toolbar {
|
|
5
|
+
margin-top: 12px;
|
|
6
|
+
}
|
|
7
|
+
.leaflet-draw-toolbar-top {
|
|
8
|
+
margin-top: 0;
|
|
9
|
+
}
|
|
10
|
+
.leaflet-draw-toolbar-notop a:first-child {
|
|
11
|
+
border-top-right-radius: 0;
|
|
12
|
+
}
|
|
13
|
+
.leaflet-draw-toolbar-nobottom a:last-child {
|
|
14
|
+
border-bottom-right-radius: 0;
|
|
15
|
+
}
|
|
16
|
+
.leaflet-draw-toolbar a {
|
|
17
|
+
background-image: url('images/spritesheet.png');
|
|
18
|
+
background-image:
|
|
19
|
+
linear-gradient(transparent, transparent), url('images/spritesheet.svg');
|
|
20
|
+
background-repeat: no-repeat;
|
|
21
|
+
background-size: 300px 30px;
|
|
22
|
+
background-clip: padding-box;
|
|
23
|
+
}
|
|
24
|
+
.leaflet-retina .leaflet-draw-toolbar a {
|
|
25
|
+
background-image: url('images/spritesheet-2x.png');
|
|
26
|
+
background-image:
|
|
27
|
+
linear-gradient(transparent, transparent), url('images/spritesheet.svg');
|
|
28
|
+
}
|
|
29
|
+
.leaflet-draw a {
|
|
30
|
+
display: block;
|
|
31
|
+
text-align: center;
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
}
|
|
34
|
+
.leaflet-draw a .sr-only {
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 1px;
|
|
37
|
+
height: 1px;
|
|
38
|
+
padding: 0;
|
|
39
|
+
margin: -1px;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
clip: rect(0, 0, 0, 0);
|
|
42
|
+
border: 0;
|
|
43
|
+
}
|
|
44
|
+
.leaflet-draw-actions {
|
|
45
|
+
display: none;
|
|
46
|
+
list-style: none;
|
|
47
|
+
margin: 0;
|
|
48
|
+
padding: 0;
|
|
49
|
+
position: absolute;
|
|
50
|
+
left: 26px;
|
|
51
|
+
top: 0;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
}
|
|
54
|
+
.leaflet-touch .leaflet-draw-actions {
|
|
55
|
+
left: 32px;
|
|
56
|
+
}
|
|
57
|
+
.leaflet-right .leaflet-draw-actions {
|
|
58
|
+
right: 26px;
|
|
59
|
+
left: auto;
|
|
60
|
+
}
|
|
61
|
+
.leaflet-touch .leaflet-right .leaflet-draw-actions {
|
|
62
|
+
right: 32px;
|
|
63
|
+
left: auto;
|
|
64
|
+
}
|
|
65
|
+
.leaflet-draw-actions li {
|
|
66
|
+
display: inline-block;
|
|
67
|
+
}
|
|
68
|
+
.leaflet-draw-actions li:first-child a {
|
|
69
|
+
border-left: 0;
|
|
70
|
+
}
|
|
71
|
+
.leaflet-draw-actions li:last-child a {
|
|
72
|
+
-webkit-border-radius: 0 4px 4px 0;
|
|
73
|
+
border-radius: 0 4px 4px 0;
|
|
74
|
+
}
|
|
75
|
+
.leaflet-right .leaflet-draw-actions li:last-child a {
|
|
76
|
+
-webkit-border-radius: 0;
|
|
77
|
+
border-radius: 0;
|
|
78
|
+
}
|
|
79
|
+
.leaflet-right .leaflet-draw-actions li:first-child a {
|
|
80
|
+
-webkit-border-radius: 4px 0 0 4px;
|
|
81
|
+
border-radius: 4px 0 0 4px;
|
|
82
|
+
}
|
|
83
|
+
.leaflet-draw-actions a {
|
|
84
|
+
background-color: #919187;
|
|
85
|
+
border-left: 1px solid #aaa;
|
|
86
|
+
color: #fff;
|
|
87
|
+
font:
|
|
88
|
+
11px/19px 'Helvetica Neue',
|
|
89
|
+
Arial,
|
|
90
|
+
Helvetica,
|
|
91
|
+
sans-serif;
|
|
92
|
+
line-height: 28px;
|
|
93
|
+
text-decoration: none;
|
|
94
|
+
padding-left: 10px;
|
|
95
|
+
padding-right: 10px;
|
|
96
|
+
height: 28px;
|
|
97
|
+
}
|
|
98
|
+
.leaflet-touch .leaflet-draw-actions a {
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
line-height: 30px;
|
|
101
|
+
height: 30px;
|
|
102
|
+
}
|
|
103
|
+
.leaflet-draw-actions-bottom {
|
|
104
|
+
margin-top: 0;
|
|
105
|
+
}
|
|
106
|
+
.leaflet-draw-actions-top {
|
|
107
|
+
margin-top: 1px;
|
|
108
|
+
}
|
|
109
|
+
.leaflet-draw-actions-top a,
|
|
110
|
+
.leaflet-draw-actions-bottom a {
|
|
111
|
+
height: 27px;
|
|
112
|
+
line-height: 27px;
|
|
113
|
+
}
|
|
114
|
+
.leaflet-draw-actions a:hover {
|
|
115
|
+
background-color: #a0a098;
|
|
116
|
+
}
|
|
117
|
+
.leaflet-draw-actions-top.leaflet-draw-actions-bottom a {
|
|
118
|
+
height: 26px;
|
|
119
|
+
line-height: 26px;
|
|
120
|
+
}
|
|
121
|
+
.leaflet-draw-toolbar .leaflet-draw-draw-polyline {
|
|
122
|
+
background-position: -2px -2px;
|
|
123
|
+
}
|
|
124
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline {
|
|
125
|
+
background-position: 0 -1px;
|
|
126
|
+
}
|
|
127
|
+
.leaflet-draw-toolbar .leaflet-draw-draw-polygon {
|
|
128
|
+
background-position: -31px -2px;
|
|
129
|
+
}
|
|
130
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon {
|
|
131
|
+
background-position: -29px -1px;
|
|
132
|
+
}
|
|
133
|
+
.leaflet-draw-toolbar .leaflet-draw-draw-rectangle {
|
|
134
|
+
background-position: -62px -2px;
|
|
135
|
+
}
|
|
136
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle {
|
|
137
|
+
background-position: -60px -1px;
|
|
138
|
+
}
|
|
139
|
+
.leaflet-draw-toolbar .leaflet-draw-draw-circle {
|
|
140
|
+
background-position: -92px -2px;
|
|
141
|
+
}
|
|
142
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle {
|
|
143
|
+
background-position: -90px -1px;
|
|
144
|
+
}
|
|
145
|
+
.leaflet-draw-toolbar .leaflet-draw-draw-marker {
|
|
146
|
+
background-position: -122px -2px;
|
|
147
|
+
}
|
|
148
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker {
|
|
149
|
+
background-position: -120px -1px;
|
|
150
|
+
}
|
|
151
|
+
.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker {
|
|
152
|
+
background-position: -273px -2px;
|
|
153
|
+
}
|
|
154
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker {
|
|
155
|
+
background-position: -271px -1px;
|
|
156
|
+
}
|
|
157
|
+
.leaflet-draw-toolbar .leaflet-draw-edit-edit {
|
|
158
|
+
background-position: -152px -2px;
|
|
159
|
+
}
|
|
160
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit {
|
|
161
|
+
background-position: -150px -1px;
|
|
162
|
+
}
|
|
163
|
+
.leaflet-draw-toolbar .leaflet-draw-edit-remove {
|
|
164
|
+
background-position: -182px -2px;
|
|
165
|
+
}
|
|
166
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove {
|
|
167
|
+
background-position: -180px -1px;
|
|
168
|
+
}
|
|
169
|
+
.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled {
|
|
170
|
+
background-position: -212px -2px;
|
|
171
|
+
}
|
|
172
|
+
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled {
|
|
173
|
+
background-position: -210px -1px;
|
|
174
|
+
}
|
|
175
|
+
.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled {
|
|
176
|
+
background-position: -242px -2px;
|
|
177
|
+
}
|
|
178
|
+
.leaflet-touch
|
|
179
|
+
.leaflet-draw-toolbar
|
|
180
|
+
.leaflet-draw-edit-remove.leaflet-disabled {
|
|
181
|
+
background-position: -240px -2px;
|
|
182
|
+
}
|
|
183
|
+
.leaflet-mouse-marker {
|
|
184
|
+
background-color: #fff;
|
|
185
|
+
cursor: crosshair;
|
|
186
|
+
}
|
|
187
|
+
.leaflet-draw-tooltip {
|
|
188
|
+
background: #363636;
|
|
189
|
+
background: rgba(0, 0, 0, 0.5);
|
|
190
|
+
border: 1px solid transparent;
|
|
191
|
+
-webkit-border-radius: 4px;
|
|
192
|
+
border-radius: 4px;
|
|
193
|
+
color: #fff;
|
|
194
|
+
font:
|
|
195
|
+
12px/18px 'Helvetica Neue',
|
|
196
|
+
Arial,
|
|
197
|
+
Helvetica,
|
|
198
|
+
sans-serif;
|
|
199
|
+
margin-left: 20px;
|
|
200
|
+
margin-top: -21px;
|
|
201
|
+
padding: 4px 8px;
|
|
202
|
+
position: absolute;
|
|
203
|
+
visibility: hidden;
|
|
204
|
+
white-space: nowrap;
|
|
205
|
+
z-index: 6;
|
|
206
|
+
}
|
|
207
|
+
.leaflet-draw-tooltip:before {
|
|
208
|
+
border-right: 6px solid black;
|
|
209
|
+
border-right-color: rgba(0, 0, 0, 0.5);
|
|
210
|
+
border-top: 6px solid transparent;
|
|
211
|
+
border-bottom: 6px solid transparent;
|
|
212
|
+
content: '';
|
|
213
|
+
position: absolute;
|
|
214
|
+
top: 7px;
|
|
215
|
+
left: -7px;
|
|
216
|
+
}
|
|
217
|
+
.leaflet-error-draw-tooltip {
|
|
218
|
+
background-color: #f2dede;
|
|
219
|
+
border: 1px solid #e6b6bd;
|
|
220
|
+
color: #b94a48;
|
|
221
|
+
}
|
|
222
|
+
.leaflet-error-draw-tooltip:before {
|
|
223
|
+
border-right-color: #e6b6bd;
|
|
224
|
+
}
|
|
225
|
+
.leaflet-draw-tooltip-single {
|
|
226
|
+
margin-top: -12px;
|
|
227
|
+
}
|
|
228
|
+
.leaflet-draw-tooltip-subtext {
|
|
229
|
+
color: #f8d5e4;
|
|
230
|
+
}
|
|
231
|
+
.leaflet-draw-guide-dash {
|
|
232
|
+
font-size: 1%;
|
|
233
|
+
opacity: 0.6;
|
|
234
|
+
position: absolute;
|
|
235
|
+
width: 5px;
|
|
236
|
+
height: 5px;
|
|
237
|
+
}
|
|
238
|
+
.leaflet-edit-marker-selected {
|
|
239
|
+
background-color: rgba(254, 87, 161, 0.1);
|
|
240
|
+
border: 4px dashed rgba(254, 87, 161, 0.6);
|
|
241
|
+
-webkit-border-radius: 4px;
|
|
242
|
+
border-radius: 4px;
|
|
243
|
+
box-sizing: content-box;
|
|
244
|
+
}
|
|
245
|
+
.leaflet-edit-move {
|
|
246
|
+
cursor: move;
|
|
247
|
+
}
|
|
248
|
+
.leaflet-edit-resize {
|
|
249
|
+
cursor: pointer;
|
|
250
|
+
}
|
|
251
|
+
.leaflet-oldie .leaflet-draw-toolbar {
|
|
252
|
+
border: 1px solid #999;
|
|
253
|
+
}
|