gridviz 2.0.38 → 2.0.40

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 (58) hide show
  1. package/README.md +119 -119
  2. package/dist/gridviz.js +7945 -8887
  3. package/dist/gridviz.min.js +1 -1
  4. package/package.json +77 -78
  5. package/src/App.js +698 -698
  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 +103 -103
  10. package/src/GeoCanvas.js +419 -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/ParquetGrid.js +122 -122
  22. package/src/dataset/TiledGrid.js +296 -296
  23. package/src/index.js +174 -177
  24. package/src/legend/ColorCategoryLegend.js +124 -124
  25. package/src/legend/ColorDiscreteLegend.js +105 -105
  26. package/src/legend/ColorLegend.js +125 -125
  27. package/src/legend/SegmentOrientationLegend.js +87 -87
  28. package/src/legend/SegmentWidthLegend.js +97 -97
  29. package/src/legend/SizeLegend.js +141 -141
  30. package/src/style/CompositionStyle.js +300 -300
  31. package/src/style/ContourStyle.js +54 -54
  32. package/src/style/DotDensityStyle.js +156 -156
  33. package/src/style/JoyPlotStyle.js +135 -135
  34. package/src/style/LegoStyle.js +112 -112
  35. package/src/style/MosaicStyle.js +107 -107
  36. package/src/style/NinjaStarStyle.js +124 -124
  37. package/src/style/PillarStyle.js +230 -230
  38. package/src/style/SegmentStyle.js +142 -142
  39. package/src/style/ShapeColorSizeStyle.js +126 -126
  40. package/src/style/SideCatStyle.js +172 -172
  41. package/src/style/SideStyle.js +218 -218
  42. package/src/style/SquareColorCatWGLStyle.js +120 -120
  43. package/src/style/SquareColorWGLStyle.js +146 -146
  44. package/src/style/StrokeStyle.js +131 -131
  45. package/src/style/TanakaStyle.js +160 -160
  46. package/src/style/TextStyle.js +132 -132
  47. package/src/utils/Utils.js +35 -35
  48. package/src/utils/WebGLRectangleColoring.js +106 -106
  49. package/src/utils/WebGLSquareColoring.js +118 -118
  50. package/src/utils/WebGLSquareColoringAdvanced.js +230 -230
  51. package/src/utils/WebGLSquareColoringCatAdvanced.js +133 -133
  52. package/src/utils/WebGLSquareColoringKS.js +153 -153
  53. package/src/utils/stretching.js +131 -131
  54. package/src/utils/webGLUtils.js +71 -71
  55. package/src/utils/zoomUtils.js +142 -142
  56. package/src/style/KernelSmoothingOldStyle.js +0 -221
  57. package/src/style/KernelSmoothingStyle.js +0 -115
  58. package/src/style/KernelSmoothingWGLStyle.js +0 -130
package/package.json CHANGED
@@ -1,78 +1,77 @@
1
- {
2
- "name": "gridviz",
3
- "version": "2.0.38",
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
- "apache-arrow": "^10.0.1",
51
- "d3-color": "^3.1.0",
52
- "d3-fetch": "^3.0.1",
53
- "d3-format": "^3.1.0",
54
- "d3-geo": "^3.0.1",
55
- "d3-random": "^3.0.1",
56
- "d3-selection": "^3.0.0",
57
- "d3-zoom": "^3.0.0",
58
- "fast-kde": "^0.2.1"
59
- },
60
- "devDependencies": {
61
- "@babel/core": "^7.9.0",
62
- "@babel/plugin-transform-runtime": "^7.12.1",
63
- "@babel/preset-env": "^7.9.0",
64
- "@babel/runtime": "^7.12.1",
65
- "babel-loader": "^8.1.0",
66
- "jest": "^26.6.1",
67
- "jshint": "^2.12.0",
68
- "prettier": "2.8.8",
69
- "puppeteer": "^9.1.1",
70
- "webpack": "^5.75.0",
71
- "webpack-cli": "^5.0.0",
72
- "webpack-dev-server": "^4.11.1",
73
- "webpack-livereload-plugin": "^3.0.2"
74
- },
75
- "engines": {
76
- "node": ">=14"
77
- }
78
- }
1
+ {
2
+ "name": "gridviz",
3
+ "version": "2.0.40",
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
+ "apache-arrow": "^10.0.1",
51
+ "d3-color": "^3.1.0",
52
+ "d3-fetch": "^3.0.1",
53
+ "d3-format": "^3.1.0",
54
+ "d3-geo": "^3.0.1",
55
+ "d3-random": "^3.0.1",
56
+ "d3-selection": "^3.0.0",
57
+ "d3-zoom": "^3.0.0"
58
+ },
59
+ "devDependencies": {
60
+ "@babel/core": "^7.9.0",
61
+ "@babel/plugin-transform-runtime": "^7.12.1",
62
+ "@babel/preset-env": "^7.9.0",
63
+ "@babel/runtime": "^7.12.1",
64
+ "babel-loader": "^8.1.0",
65
+ "jest": "^26.6.1",
66
+ "jshint": "^2.12.0",
67
+ "prettier": "2.8.8",
68
+ "puppeteer": "^9.1.1",
69
+ "webpack": "^5.75.0",
70
+ "webpack-cli": "^5.0.0",
71
+ "webpack-dev-server": "^4.11.1",
72
+ "webpack-livereload-plugin": "^3.0.2"
73
+ },
74
+ "engines": {
75
+ "node": ">=14"
76
+ }
77
+ }