@mcp-b/geo-leaflet 0.2.4 → 0.2.7
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/docs/custom-elements.json +60 -46
- package/package.json +16 -16
|
@@ -138,7 +138,10 @@
|
|
|
138
138
|
},
|
|
139
139
|
"default": "\"naturalBreaks\"",
|
|
140
140
|
"description": "Classification algorithm.",
|
|
141
|
-
"attribute": "method"
|
|
141
|
+
"attribute": "method",
|
|
142
|
+
"parsedType": {
|
|
143
|
+
"text": "'equalInterval' | 'quantile' | 'naturalBreaks'"
|
|
144
|
+
}
|
|
142
145
|
},
|
|
143
146
|
{
|
|
144
147
|
"kind": "field",
|
|
@@ -186,7 +189,10 @@
|
|
|
186
189
|
"type": {
|
|
187
190
|
"text": "readonly ChoroplethRow[] | undefined"
|
|
188
191
|
},
|
|
189
|
-
"description": "Optional bounded rows joined onto feature properties before classification."
|
|
192
|
+
"description": "Optional bounded rows joined onto feature properties before classification.",
|
|
193
|
+
"parsedType": {
|
|
194
|
+
"text": "{ }[] | undefined"
|
|
195
|
+
}
|
|
190
196
|
},
|
|
191
197
|
{
|
|
192
198
|
"kind": "field",
|
|
@@ -194,7 +200,10 @@
|
|
|
194
200
|
"type": {
|
|
195
201
|
"text": "AbortController | undefined"
|
|
196
202
|
},
|
|
197
|
-
"privacy": "private"
|
|
203
|
+
"privacy": "private",
|
|
204
|
+
"parsedType": {
|
|
205
|
+
"text": "{ signal: { aborted: boolean, onabort: null | { }, reason: any, throwIfAborted: { }, addEventListener: { }, removeEventListener: { }, dispatchEvent: { } }, abort: { } } | undefined"
|
|
206
|
+
}
|
|
198
207
|
},
|
|
199
208
|
{
|
|
200
209
|
"kind": "field",
|
|
@@ -203,7 +212,10 @@
|
|
|
203
212
|
"text": "GeoJsonFeatureCollection | null"
|
|
204
213
|
},
|
|
205
214
|
"privacy": "private",
|
|
206
|
-
"default": "null"
|
|
215
|
+
"default": "null",
|
|
216
|
+
"parsedType": {
|
|
217
|
+
"text": "null | { type: 'FeatureCollection', features: { type: 'Feature', geometry: { type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon' | 'GeometryCollection', coordinates: unknown }, properties: null | { }, id?: string | number }[] }"
|
|
218
|
+
}
|
|
207
219
|
},
|
|
208
220
|
{
|
|
209
221
|
"kind": "field",
|
|
@@ -322,7 +334,10 @@
|
|
|
322
334
|
},
|
|
323
335
|
"default": "\"naturalBreaks\"",
|
|
324
336
|
"description": "Classification algorithm.",
|
|
325
|
-
"fieldName": "method"
|
|
337
|
+
"fieldName": "method",
|
|
338
|
+
"parsedType": {
|
|
339
|
+
"text": "'equalInterval' | 'quantile' | 'naturalBreaks'"
|
|
340
|
+
}
|
|
326
341
|
},
|
|
327
342
|
{
|
|
328
343
|
"name": "num-classes",
|
|
@@ -375,9 +390,7 @@
|
|
|
375
390
|
"package": "@mcp-b/wc-support/base/sigvelo-element"
|
|
376
391
|
},
|
|
377
392
|
"tagName": "sigvelo-leaflet-choropleth",
|
|
378
|
-
"customElement": true
|
|
379
|
-
"modulePath": "src/components/choropleth/choropleth.ts",
|
|
380
|
-
"definitionPath": "src/components/choropleth/choropleth.ts"
|
|
393
|
+
"customElement": true
|
|
381
394
|
}
|
|
382
395
|
],
|
|
383
396
|
"exports": [
|
|
@@ -549,9 +562,7 @@
|
|
|
549
562
|
"package": "lit"
|
|
550
563
|
},
|
|
551
564
|
"tagName": "sigvelo-leaflet-circle",
|
|
552
|
-
"customElement": true
|
|
553
|
-
"modulePath": "src/components/circle/circle.ts",
|
|
554
|
-
"definitionPath": "src/components/circle/circle.ts"
|
|
565
|
+
"customElement": true
|
|
555
566
|
}
|
|
556
567
|
],
|
|
557
568
|
"exports": [
|
|
@@ -609,9 +620,7 @@
|
|
|
609
620
|
"package": "lit"
|
|
610
621
|
},
|
|
611
622
|
"tagName": "sigvelo-leaflet-control",
|
|
612
|
-
"customElement": true
|
|
613
|
-
"modulePath": "src/components/control/control.ts",
|
|
614
|
-
"definitionPath": "src/components/control/control.ts"
|
|
623
|
+
"customElement": true
|
|
615
624
|
}
|
|
616
625
|
],
|
|
617
626
|
"exports": [
|
|
@@ -693,7 +702,10 @@
|
|
|
693
702
|
"text": "GeoJsonData | null"
|
|
694
703
|
},
|
|
695
704
|
"default": "null",
|
|
696
|
-
"description": "GeoJSON data (Feature or FeatureCollection). Set via property, not attribute."
|
|
705
|
+
"description": "GeoJSON data (Feature or FeatureCollection). Set via property, not attribute.",
|
|
706
|
+
"parsedType": {
|
|
707
|
+
"text": "null | { type: 'Feature', geometry: { type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon' | 'GeometryCollection', coordinates: unknown }, properties: null | { }, id?: string | number } | { type: 'FeatureCollection', features: { type: 'Feature', geometry: { type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon' | 'GeometryCollection', coordinates: unknown }, properties: null | { }, id?: string | number }[] }"
|
|
708
|
+
}
|
|
697
709
|
},
|
|
698
710
|
{
|
|
699
711
|
"kind": "field",
|
|
@@ -743,7 +755,10 @@
|
|
|
743
755
|
},
|
|
744
756
|
"privacy": "public",
|
|
745
757
|
"description": "Access the underlying Leaflet GeoJSON layer.",
|
|
746
|
-
"readonly": true
|
|
758
|
+
"readonly": true,
|
|
759
|
+
"parsedType": {
|
|
760
|
+
"text": "null | GeoJSON"
|
|
761
|
+
}
|
|
747
762
|
},
|
|
748
763
|
{
|
|
749
764
|
"kind": "field",
|
|
@@ -812,7 +827,10 @@
|
|
|
812
827
|
"text": "StyleFunction | null"
|
|
813
828
|
},
|
|
814
829
|
"default": "null",
|
|
815
|
-
"description": "Per-feature style function for choropleth / thematic maps.\nWhen set, each feature is styled by calling this function.\nReturned values override the static style props; omitted keys fall back to them."
|
|
830
|
+
"description": "Per-feature style function for choropleth / thematic maps.\nWhen set, each feature is styled by calling this function.\nReturned values override the static style props; omitted keys fall back to them.",
|
|
831
|
+
"parsedType": {
|
|
832
|
+
"text": "null | { }"
|
|
833
|
+
}
|
|
816
834
|
}
|
|
817
835
|
],
|
|
818
836
|
"events": [
|
|
@@ -927,9 +945,7 @@
|
|
|
927
945
|
"package": "lit"
|
|
928
946
|
},
|
|
929
947
|
"tagName": "sigvelo-leaflet-geojson",
|
|
930
|
-
"customElement": true
|
|
931
|
-
"modulePath": "src/components/geojson/geojson.ts",
|
|
932
|
-
"definitionPath": "src/components/geojson/geojson.ts"
|
|
948
|
+
"customElement": true
|
|
933
949
|
}
|
|
934
950
|
],
|
|
935
951
|
"exports": [
|
|
@@ -1027,7 +1043,10 @@
|
|
|
1027
1043
|
},
|
|
1028
1044
|
"privacy": "public",
|
|
1029
1045
|
"description": "Access the underlying Leaflet map instance (after mapReady resolves).",
|
|
1030
|
-
"readonly": true
|
|
1046
|
+
"readonly": true,
|
|
1047
|
+
"parsedType": {
|
|
1048
|
+
"text": "null | Map"
|
|
1049
|
+
}
|
|
1031
1050
|
},
|
|
1032
1051
|
{
|
|
1033
1052
|
"kind": "method",
|
|
@@ -1104,9 +1123,7 @@
|
|
|
1104
1123
|
"package": "@mcp-b/geo-support/base/geo-map-element"
|
|
1105
1124
|
},
|
|
1106
1125
|
"tagName": "sigvelo-leaflet-map",
|
|
1107
|
-
"customElement": true
|
|
1108
|
-
"modulePath": "src/components/map/map.ts",
|
|
1109
|
-
"definitionPath": "src/components/map/map.ts"
|
|
1126
|
+
"customElement": true
|
|
1110
1127
|
}
|
|
1111
1128
|
],
|
|
1112
1129
|
"exports": [
|
|
@@ -1205,7 +1222,10 @@
|
|
|
1205
1222
|
},
|
|
1206
1223
|
"privacy": "public",
|
|
1207
1224
|
"description": "Access the underlying Leaflet marker instance.",
|
|
1208
|
-
"readonly": true
|
|
1225
|
+
"readonly": true,
|
|
1226
|
+
"parsedType": {
|
|
1227
|
+
"text": "null | Marker"
|
|
1228
|
+
}
|
|
1209
1229
|
},
|
|
1210
1230
|
{
|
|
1211
1231
|
"kind": "field",
|
|
@@ -1307,9 +1327,7 @@
|
|
|
1307
1327
|
"package": "lit"
|
|
1308
1328
|
},
|
|
1309
1329
|
"tagName": "sigvelo-leaflet-marker",
|
|
1310
|
-
"customElement": true
|
|
1311
|
-
"modulePath": "src/components/marker/marker.ts",
|
|
1312
|
-
"definitionPath": "src/components/marker/marker.ts"
|
|
1330
|
+
"customElement": true
|
|
1313
1331
|
}
|
|
1314
1332
|
],
|
|
1315
1333
|
"exports": [
|
|
@@ -1433,9 +1451,7 @@
|
|
|
1433
1451
|
"package": "lit"
|
|
1434
1452
|
},
|
|
1435
1453
|
"tagName": "sigvelo-leaflet-polygon",
|
|
1436
|
-
"customElement": true
|
|
1437
|
-
"modulePath": "src/components/polygon/polygon.ts",
|
|
1438
|
-
"definitionPath": "src/components/polygon/polygon.ts"
|
|
1454
|
+
"customElement": true
|
|
1439
1455
|
}
|
|
1440
1456
|
],
|
|
1441
1457
|
"exports": [
|
|
@@ -1559,9 +1575,7 @@
|
|
|
1559
1575
|
"package": "lit"
|
|
1560
1576
|
},
|
|
1561
1577
|
"tagName": "sigvelo-leaflet-polyline",
|
|
1562
|
-
"customElement": true
|
|
1563
|
-
"modulePath": "src/components/polyline/polyline.ts",
|
|
1564
|
-
"definitionPath": "src/components/polyline/polyline.ts"
|
|
1578
|
+
"customElement": true
|
|
1565
1579
|
}
|
|
1566
1580
|
],
|
|
1567
1581
|
"exports": [
|
|
@@ -1644,9 +1658,7 @@
|
|
|
1644
1658
|
"package": "lit"
|
|
1645
1659
|
},
|
|
1646
1660
|
"tagName": "sigvelo-leaflet-popup",
|
|
1647
|
-
"customElement": true
|
|
1648
|
-
"modulePath": "src/components/popup/popup.ts",
|
|
1649
|
-
"definitionPath": "src/components/popup/popup.ts"
|
|
1661
|
+
"customElement": true
|
|
1650
1662
|
}
|
|
1651
1663
|
],
|
|
1652
1664
|
"exports": [
|
|
@@ -1715,7 +1727,10 @@
|
|
|
1715
1727
|
},
|
|
1716
1728
|
"default": "\"bottomleft\"",
|
|
1717
1729
|
"description": "Position of the control on the map.",
|
|
1718
|
-
"attribute": "position"
|
|
1730
|
+
"attribute": "position",
|
|
1731
|
+
"parsedType": {
|
|
1732
|
+
"text": "'topleft' | 'topright' | 'bottomleft' | 'bottomright'"
|
|
1733
|
+
}
|
|
1719
1734
|
}
|
|
1720
1735
|
],
|
|
1721
1736
|
"attributes": [
|
|
@@ -1753,7 +1768,10 @@
|
|
|
1753
1768
|
},
|
|
1754
1769
|
"default": "\"bottomleft\"",
|
|
1755
1770
|
"description": "Position of the control on the map.",
|
|
1756
|
-
"fieldName": "position"
|
|
1771
|
+
"fieldName": "position",
|
|
1772
|
+
"parsedType": {
|
|
1773
|
+
"text": "'topleft' | 'topright' | 'bottomleft' | 'bottomright'"
|
|
1774
|
+
}
|
|
1757
1775
|
}
|
|
1758
1776
|
],
|
|
1759
1777
|
"superclass": {
|
|
@@ -1761,9 +1779,7 @@
|
|
|
1761
1779
|
"package": "lit"
|
|
1762
1780
|
},
|
|
1763
1781
|
"tagName": "sigvelo-leaflet-scale-control",
|
|
1764
|
-
"customElement": true
|
|
1765
|
-
"modulePath": "src/components/scale-control/scale-control.ts",
|
|
1766
|
-
"definitionPath": "src/components/scale-control/scale-control.ts"
|
|
1782
|
+
"customElement": true
|
|
1767
1783
|
}
|
|
1768
1784
|
],
|
|
1769
1785
|
"exports": [
|
|
@@ -1916,9 +1932,7 @@
|
|
|
1916
1932
|
"package": "lit"
|
|
1917
1933
|
},
|
|
1918
1934
|
"tagName": "sigvelo-leaflet-tilelayer",
|
|
1919
|
-
"customElement": true
|
|
1920
|
-
"modulePath": "src/components/tilelayer/tilelayer.ts",
|
|
1921
|
-
"definitionPath": "src/components/tilelayer/tilelayer.ts"
|
|
1935
|
+
"customElement": true
|
|
1922
1936
|
}
|
|
1923
1937
|
],
|
|
1924
1938
|
"exports": [
|
|
@@ -2045,7 +2059,7 @@
|
|
|
2045
2059
|
"package": {
|
|
2046
2060
|
"name": "@mcp-b/geo-leaflet",
|
|
2047
2061
|
"description": "Leaflet web components for Sigvelo, built with Lit.",
|
|
2048
|
-
"version": "0.2.
|
|
2062
|
+
"version": "0.2.7",
|
|
2049
2063
|
"license": "MIT"
|
|
2050
2064
|
}
|
|
2051
2065
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/geo-leaflet",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Leaflet web components for Sigvelo, built with Lit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"custom-elements",
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@mcp-b/geo-support": "0.2.
|
|
37
|
-
"@mcp-b/wc-support": "0.2.
|
|
36
|
+
"@mcp-b/geo-support": "0.2.4",
|
|
37
|
+
"@mcp-b/wc-support": "0.2.4"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@custom-elements-manifest/analyzer": "^0.10.
|
|
41
|
-
"@storybook/addon-a11y": "^10.5.
|
|
42
|
-
"@storybook/addon-docs": "^10.5.
|
|
43
|
-
"@storybook/addon-vitest": "^10.5.
|
|
44
|
-
"@storybook/web-components-vite": "10.5.
|
|
45
|
-
"@types/leaflet": "^1.9.
|
|
40
|
+
"@custom-elements-manifest/analyzer": "^0.10.10",
|
|
41
|
+
"@storybook/addon-a11y": "^10.5.7",
|
|
42
|
+
"@storybook/addon-docs": "^10.5.7",
|
|
43
|
+
"@storybook/addon-vitest": "^10.5.7",
|
|
44
|
+
"@storybook/web-components-vite": "10.5.7",
|
|
45
|
+
"@types/leaflet": "^1.9.22",
|
|
46
46
|
"@vitest/browser-playwright": "^4.1.10",
|
|
47
47
|
"@vitest/coverage-v8": "^4.1.10",
|
|
48
|
-
"@wc-toolkit/cem-inheritance": "^1.2.
|
|
48
|
+
"@wc-toolkit/cem-inheritance": "^1.2.5",
|
|
49
49
|
"@wc-toolkit/cem-sorter": "^1.0.1",
|
|
50
|
-
"@wc-toolkit/type-parser": "^1.
|
|
51
|
-
"leaflet": "^1.9.
|
|
52
|
-
"playwright": "~1.61.
|
|
53
|
-
"storybook": "^10.5.
|
|
54
|
-
"tinyglobby": "^0.2.
|
|
50
|
+
"@wc-toolkit/type-parser": "^1.3.1",
|
|
51
|
+
"leaflet": "^1.9.4",
|
|
52
|
+
"playwright": "~1.61.1",
|
|
53
|
+
"storybook": "^10.5.7",
|
|
54
|
+
"tinyglobby": "^0.2.17",
|
|
55
55
|
"typescript": "^6.0.3",
|
|
56
56
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.4",
|
|
57
|
-
"vite-plugin-static-copy": "^3.
|
|
57
|
+
"vite-plugin-static-copy": "^3.4.0",
|
|
58
58
|
"vitest": "^4.1.10"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|