gridviz 2.0.41 → 2.0.43

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 (54) hide show
  1. package/README.md +119 -119
  2. package/dist/gridviz.js +7490 -7499
  3. package/dist/gridviz.min.js +1 -1
  4. package/package.json +76 -76
  5. package/src/App.js +642 -642
  6. package/src/BackgroundLayer.js +182 -182
  7. package/src/BackgroundLayerWMS.js +131 -131
  8. package/src/Dataset.js +76 -76
  9. package/src/DatasetComponent.js +101 -101
  10. package/src/GeoCanvas.js +420 -419
  11. package/src/LabelLayer.js +190 -190
  12. package/src/Layer.js +92 -92
  13. package/src/Legend.js +86 -86
  14. package/src/LineLayer.js +150 -150
  15. package/src/Style.js +114 -114
  16. package/src/Tooltip.js +168 -168
  17. package/src/dataset/COGeo.js +24 -24
  18. package/src/dataset/CSVGrid.js +104 -104
  19. package/src/dataset/GeoTIFF.js +127 -127
  20. package/src/dataset/GridTile.js +41 -41
  21. package/src/dataset/TiledGrid.js +264 -264
  22. package/src/index.js +176 -176
  23. package/src/legend/ColorCategoryLegend.js +124 -124
  24. package/src/legend/ColorDiscreteLegend.js +103 -105
  25. package/src/legend/ColorLegend.js +124 -125
  26. package/src/legend/SegmentOrientationLegend.js +87 -87
  27. package/src/legend/SegmentWidthLegend.js +97 -97
  28. package/src/legend/SizeLegend.js +141 -141
  29. package/src/style/CompositionStyle.js +300 -300
  30. package/src/style/ContourStyle.js +54 -54
  31. package/src/style/DotDensityStyle.js +156 -156
  32. package/src/style/JoyPlotStyle.js +135 -135
  33. package/src/style/LegoStyle.js +112 -112
  34. package/src/style/MosaicStyle.js +107 -107
  35. package/src/style/NinjaStarStyle.js +124 -124
  36. package/src/style/PillarStyle.js +230 -230
  37. package/src/style/SegmentStyle.js +142 -142
  38. package/src/style/ShapeColorSizeStyle.js +126 -126
  39. package/src/style/SideCatStyle.js +172 -172
  40. package/src/style/SideStyle.js +218 -218
  41. package/src/style/SquareColorCatWGLStyle.js +120 -120
  42. package/src/style/SquareColorWGLStyle.js +146 -146
  43. package/src/style/StrokeStyle.js +131 -131
  44. package/src/style/TanakaStyle.js +160 -160
  45. package/src/style/TextStyle.js +132 -132
  46. package/src/utils/Utils.js +35 -35
  47. package/src/utils/WebGLRectangleColoring.js +106 -106
  48. package/src/utils/WebGLSquareColoring.js +118 -118
  49. package/src/utils/WebGLSquareColoringAdvanced.js +230 -230
  50. package/src/utils/WebGLSquareColoringCatAdvanced.js +133 -133
  51. package/src/utils/WebGLSquareColoringKS.js +153 -153
  52. package/src/utils/stretching.js +131 -131
  53. package/src/utils/webGLUtils.js +71 -71
  54. package/src/utils/zoomUtils.js +142 -142
package/package.json CHANGED
@@ -1,76 +1,76 @@
1
- {
2
- "name": "gridviz",
3
- "version": "2.0.41",
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.43",
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
+ }