gridviz 2.0.45 → 2.0.46

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.
Files changed (53) hide show
  1. package/README.md +119 -119
  2. package/dist/gridviz.js +6937 -6937
  3. package/package.json +76 -76
  4. package/src/App.js +668 -668
  5. package/src/BackgroundLayer.js +182 -182
  6. package/src/BackgroundLayerWMS.js +131 -131
  7. package/src/Dataset.js +76 -76
  8. package/src/DatasetComponent.js +101 -101
  9. package/src/GeoCanvas.js +420 -420
  10. package/src/LabelLayer.js +190 -190
  11. package/src/Layer.js +92 -92
  12. package/src/Legend.js +86 -86
  13. package/src/LineLayer.js +150 -150
  14. package/src/Style.js +114 -114
  15. package/src/Tooltip.js +172 -172
  16. package/src/dataset/COGeo.js +24 -24
  17. package/src/dataset/CSVGrid.js +104 -104
  18. package/src/dataset/GeoTIFF.js +127 -127
  19. package/src/dataset/GridTile.js +41 -41
  20. package/src/dataset/TiledGrid.js +264 -264
  21. package/src/index.js +177 -176
  22. package/src/legend/ColorCategoryLegend.js +124 -124
  23. package/src/legend/ColorDiscreteLegend.js +103 -103
  24. package/src/legend/ColorLegend.js +124 -124
  25. package/src/legend/SegmentOrientationLegend.js +87 -87
  26. package/src/legend/SegmentWidthLegend.js +97 -97
  27. package/src/legend/SizeLegend.js +141 -141
  28. package/src/style/CompositionStyle.js +300 -300
  29. package/src/style/ContourStyle.js +54 -54
  30. package/src/style/DotDensityStyle.js +156 -156
  31. package/src/style/JoyPlotStyle.js +135 -135
  32. package/src/style/LegoStyle.js +112 -112
  33. package/src/style/MosaicStyle.js +107 -107
  34. package/src/style/NinjaStarStyle.js +124 -124
  35. package/src/style/PillarStyle.js +230 -230
  36. package/src/style/SegmentStyle.js +142 -142
  37. package/src/style/ShapeColorSizeStyle.js +126 -126
  38. package/src/style/SideCatStyle.js +172 -172
  39. package/src/style/SideStyle.js +218 -218
  40. package/src/style/SquareColorCatWGLStyle.js +120 -120
  41. package/src/style/SquareColorWGLStyle.js +146 -146
  42. package/src/style/StrokeStyle.js +131 -131
  43. package/src/style/TanakaStyle.js +160 -160
  44. package/src/style/TextStyle.js +132 -132
  45. package/src/utils/Utils.js +35 -35
  46. package/src/utils/WebGLRectangleColoring.js +106 -106
  47. package/src/utils/WebGLSquareColoring.js +118 -118
  48. package/src/utils/WebGLSquareColoringAdvanced.js +230 -230
  49. package/src/utils/WebGLSquareColoringCatAdvanced.js +133 -133
  50. package/src/utils/WebGLSquareColoringKS.js +153 -153
  51. package/src/utils/stretching.js +131 -131
  52. package/src/utils/webGLUtils.js +71 -71
  53. package/src/utils/zoomUtils.js +142 -142
package/package.json CHANGED
@@ -1,76 +1,76 @@
1
- {
2
- "name": "gridviz",
3
- "version": "2.0.45",
4
- "description": "Visualization tool for gridded statistics",
5
- "keywords": [
6
- "statistics",
7
- "grid",
8
- "gridded",
9
- "grids",
10
- "gridded statistics",
11
- "dataviz",
12
- "csv",
13
- "GIS",
14
- "WebGL",
15
- "d3",
16
- "cartography",
17
- "bertin"
18
- ],
19
- "homepage": "https://github.com/eurostat/gridviz",
20
- "author": "Joseph Davies, Julien Gaffuri",
21
- "license": "EUPL-1.2",
22
- "repository": {
23
- "type": "git",
24
- "url": "https://github.com/eurostat/gridviz.git"
25
- },
26
- "bugs": {
27
- "url": "https://github.com/eurostat/gridviz/issues",
28
- "email": "Joseph.DAVIES@ext.ec.europa.eu"
29
- },
30
- "type": "module",
31
- "main": "dist/gridviz.min.js",
32
- "module": "dist/gridviz.min.js",
33
- "exports": {
34
- "umd": "./dist/gridviz.min.js",
35
- "default": "./src/index.js"
36
- },
37
- "scripts": {
38
- "start": "export NODE_OPTIONS=--openssl-legacy-provider && webpack --config webpack.config.dev.cjs",
39
- "start-dev": "webpack --config webpack.config.dev.cjs",
40
- "server": "webpack serve -c webpack.config.dev.js --static ./",
41
- "doc": "./node_modules/.bin/jsdoc src/ src/dataset src/legend src/style -d docs/jsdoc",
42
- "build-prod": "webpack --config webpack.config.prod.cjs",
43
- "test": "jest"
44
- },
45
- "files": [
46
- "dist/**/*.js",
47
- "src/**/*.js"
48
- ],
49
- "dependencies": {
50
- "d3-color": "^3.1.0",
51
- "d3-fetch": "^3.0.1",
52
- "d3-format": "^3.1.0",
53
- "d3-geo": "^3.0.1",
54
- "d3-random": "^3.0.1",
55
- "d3-selection": "^3.0.0",
56
- "d3-zoom": "^3.0.0"
57
- },
58
- "devDependencies": {
59
- "@babel/core": "^7.9.0",
60
- "@babel/plugin-transform-runtime": "^7.12.1",
61
- "@babel/preset-env": "^7.9.0",
62
- "@babel/runtime": "^7.12.1",
63
- "babel-loader": "^8.1.0",
64
- "jest": "^26.6.1",
65
- "jshint": "^2.12.0",
66
- "prettier": "2.8.8",
67
- "puppeteer": "^9.1.1",
68
- "webpack": "^5.75.0",
69
- "webpack-cli": "^5.0.0",
70
- "webpack-dev-server": "^4.11.1",
71
- "webpack-livereload-plugin": "^3.0.2"
72
- },
73
- "engines": {
74
- "node": ">=14"
75
- }
76
- }
1
+ {
2
+ "name": "gridviz",
3
+ "version": "2.0.46",
4
+ "description": "Visualization tool for gridded statistics",
5
+ "keywords": [
6
+ "statistics",
7
+ "grid",
8
+ "gridded",
9
+ "grids",
10
+ "gridded statistics",
11
+ "dataviz",
12
+ "csv",
13
+ "GIS",
14
+ "WebGL",
15
+ "d3",
16
+ "cartography",
17
+ "bertin"
18
+ ],
19
+ "homepage": "https://github.com/eurostat/gridviz",
20
+ "author": "Joseph Davies, Julien Gaffuri",
21
+ "license": "EUPL-1.2",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/eurostat/gridviz.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/eurostat/gridviz/issues",
28
+ "email": "Joseph.DAVIES@ext.ec.europa.eu"
29
+ },
30
+ "type": "module",
31
+ "main": "dist/gridviz.min.js",
32
+ "module": "dist/gridviz.min.js",
33
+ "exports": {
34
+ "umd": "./dist/gridviz.min.js",
35
+ "default": "./src/index.js"
36
+ },
37
+ "scripts": {
38
+ "start": "export NODE_OPTIONS=--openssl-legacy-provider && webpack --config webpack.config.dev.cjs",
39
+ "start-dev": "webpack --config webpack.config.dev.cjs",
40
+ "server": "webpack serve -c webpack.config.dev.js --static ./",
41
+ "doc": "./node_modules/.bin/jsdoc src/ src/dataset src/legend src/style -d docs/jsdoc",
42
+ "build-prod": "webpack --config webpack.config.prod.cjs",
43
+ "test": "jest"
44
+ },
45
+ "files": [
46
+ "dist/**/*.js",
47
+ "src/**/*.js"
48
+ ],
49
+ "dependencies": {
50
+ "d3-color": "^3.1.0",
51
+ "d3-fetch": "^3.0.1",
52
+ "d3-format": "^3.1.0",
53
+ "d3-geo": "^3.0.1",
54
+ "d3-random": "^3.0.1",
55
+ "d3-selection": "^3.0.0",
56
+ "d3-zoom": "^3.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@babel/core": "^7.9.0",
60
+ "@babel/plugin-transform-runtime": "^7.12.1",
61
+ "@babel/preset-env": "^7.9.0",
62
+ "@babel/runtime": "^7.12.1",
63
+ "babel-loader": "^8.1.0",
64
+ "jest": "^26.6.1",
65
+ "jshint": "^2.12.0",
66
+ "prettier": "2.8.8",
67
+ "puppeteer": "^9.1.1",
68
+ "webpack": "^5.75.0",
69
+ "webpack-cli": "^5.0.0",
70
+ "webpack-dev-server": "^4.11.1",
71
+ "webpack-livereload-plugin": "^3.0.2"
72
+ },
73
+ "engines": {
74
+ "node": ">=14"
75
+ }
76
+ }