imerss-bioinfo 1.1.0 → 1.2.0
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.
|
@@ -57,8 +57,7 @@
|
|
|
57
57
|
<script src="src/client/js/renderSVG.js"></script>
|
|
58
58
|
<script src="src/client/js/imerss-viz.js"></script>
|
|
59
59
|
<script src="src/client/js/leafletMap.js"></script>
|
|
60
|
-
<script src="src/client/js/
|
|
61
|
-
<script src="src/client/js/leafletMapWithGrid.js"></script>
|
|
60
|
+
<script src="src/client/js/leafletMapWithBareRegions.js"></script>
|
|
62
61
|
<script src="src/client/js/autocomplete.js"></script>
|
|
63
62
|
<script src="src/client/js/tabs.js"></script>
|
|
64
63
|
<script src="src/client/js/checklist.js"></script>
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imerss-bioinfo",
|
|
3
3
|
"description": "Working data of the IMERSS biodiversity informatics working group, together with algorithms",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"author": "Antranig Basman",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"lint": "fluid-lint-all"
|
|
8
8
|
},
|
|
9
|
-
"main":
|
|
9
|
+
"main": "index.js",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"infusion": "4.0.0",
|
|
12
12
|
"kettle": "2.3.0",
|
|
@@ -41,7 +41,13 @@
|
|
|
41
41
|
"url": "https://github.com/IMERSS/imerss-bioinfo"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
|
-
"/src",
|
|
44
|
+
"/src",
|
|
45
|
+
"/test",
|
|
46
|
+
"/index.js",
|
|
47
|
+
"/build.js",
|
|
48
|
+
"/index*.html",
|
|
49
|
+
"/docs/js",
|
|
50
|
+
"/docs/css"
|
|
45
51
|
],
|
|
46
52
|
"engines": {
|
|
47
53
|
"node": ">=14.0.0"
|
|
@@ -23,6 +23,9 @@ fluid.defaults("hortis.leafletMap", {
|
|
|
23
23
|
map: ".fld-imerss-map",
|
|
24
24
|
tooltip: ".fld-imerss-map-tooltip"
|
|
25
25
|
},
|
|
26
|
+
mergePolicy: {
|
|
27
|
+
"members.map": "replace"
|
|
28
|
+
},
|
|
26
29
|
members: {
|
|
27
30
|
toPlot: {}, // General contract from grid map - indexed by "mapBlockId" to "bucket" - contains byTaxonId, count, Lpolygon (colours only used in drawGrid)
|
|
28
31
|
// byTaxonId is hash of rowId to array of obsId as built in hortis.quantiser.indexObs - so count is equal to # of keys
|
|
@@ -252,11 +255,6 @@ fluid.defaults("hortis.scrollyMapLoader", {
|
|
|
252
255
|
selectors: { // The map does not render
|
|
253
256
|
mapHolder: "{sunburstLoader}.container"
|
|
254
257
|
},
|
|
255
|
-
components: {
|
|
256
|
-
map: {
|
|
257
|
-
type: "fluid.emptySubcomponent"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
258
|
markupTemplate: "%resourceBase/html/imerss-viz-map-scrolly.html"
|
|
261
259
|
});
|
|
262
260
|
|
|
@@ -24,6 +24,7 @@ fluid.defaults("hortis.leafletMap.withBareRegions", {
|
|
|
24
24
|
// selectedCommunities: communityKey -> boolean
|
|
25
25
|
},
|
|
26
26
|
members: {
|
|
27
|
+
map: null,
|
|
27
28
|
classes: "{sunburst}.viz.classes",
|
|
28
29
|
communities: "{sunburst}.viz.communities",
|
|
29
30
|
toPlot: "{sunburst}.viz.communities", // For general contract of hortis.mapBlockToFocusedTaxa - rename this field, e.g. selectableRegions
|
|
@@ -39,7 +40,11 @@ fluid.defaults("hortis.leafletMap.withBareRegions", {
|
|
|
39
40
|
listeners: {
|
|
40
41
|
"clearMapSelection.regions": "hortis.clearSelectedRegions({that})",
|
|
41
42
|
// class, community
|
|
42
|
-
"selectRegion.regionSelection": "hortis.leafletMap.regionSelection({that}, {arguments}.0, {arguments}.1)"
|
|
43
|
+
"selectRegion.regionSelection": "hortis.leafletMap.regionSelection({that}, {arguments}.0, {arguments}.1)",
|
|
44
|
+
"buildMap.bindZoom": "fluid.identity",
|
|
45
|
+
"buildMap.fitBounds": "fluid.identity",
|
|
46
|
+
"buildMap.createTooltip": "fluid.identity",
|
|
47
|
+
"buildMap.addTiles": "fluid.identity"
|
|
43
48
|
}
|
|
44
49
|
|
|
45
50
|
});
|