@panoramax/web-viewer 3.2.3-develop-e277ccb9 → 3.2.3-develop-dbce84df

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 (42) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/build/index.css +1 -1
  3. package/build/index.css.map +1 -1
  4. package/build/index.html +1 -1
  5. package/build/index.js +29 -25
  6. package/build/index.js.map +1 -1
  7. package/build/photo.html +1 -0
  8. package/config/paths.js +1 -0
  9. package/config/webpack.config.js +26 -0
  10. package/docs/03_URL_settings.md +4 -1
  11. package/docs/09_Develop.md +1 -1
  12. package/docs/images/class_diagram.drawio +37 -22
  13. package/docs/images/class_diagram.jpg +0 -0
  14. package/docs/index.md +15 -1
  15. package/docs/reference/components/core/PhotoViewer.md +256 -0
  16. package/docs/reference/components/core/Viewer.md +47 -49
  17. package/docs/reference/components/menus/MapLegend.md +1 -1
  18. package/docs/reference/components/ui/Photo.md +8 -0
  19. package/docs/reference/components/ui/widgets/Legend.md +7 -1
  20. package/docs/reference.md +3 -2
  21. package/docs/tutorials/custom_widgets.md +6 -11
  22. package/docs/tutorials/migrate_v4.md +2 -0
  23. package/mkdocs.yml +1 -0
  24. package/package.json +1 -1
  25. package/public/index.html +14 -9
  26. package/public/photo.html +55 -0
  27. package/src/components/core/PhotoViewer.css +65 -0
  28. package/src/components/core/PhotoViewer.js +441 -0
  29. package/src/components/core/Viewer.js +71 -306
  30. package/src/components/core/index.js +1 -0
  31. package/src/components/menus/MapLegend.js +1 -21
  32. package/src/components/ui/Photo.js +13 -3
  33. package/src/components/ui/widgets/Legend.js +32 -1
  34. package/src/index.js +1 -0
  35. package/src/translations/nl.json +105 -5
  36. package/src/utils/API.js +2 -2
  37. package/src/utils/InitParameters.js +29 -16
  38. package/src/utils/URLHandler.js +11 -5
  39. package/src/utils/map.js +2 -2
  40. package/tests/components/ui/Photo.test.js +6 -6
  41. package/tests/utils/InitParameters.test.js +1 -0
  42. package/tests/utils/URLHandler.test.js +16 -6
package/build/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><title>Panoramax JS Library</title><style>body{font-family:sans-serif;text-align:center}.allViews{display:flex;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;gap:10px}.oneView{text-align:center;flex-grow:1;flex-shrink:1;min-width:30%}iframe{width:100%;height:300px;border:none}</style><script defer="defer" src="index.js"></script><link href="index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><h1>Panoramax JavaScript Client</h1><p>Panoramax JS library offers different views to suit your needs.<br/>You can also give a look at the <a href="./widgets.html">widgets test page</a>.</p><div class="allViews"><div class="oneView"><h2 id="viewer">Viewer</h2><p>General-purpose map and picture display.<br/><a href="./viewer.html">Full page</a> | <a href="https://gitlab.com/panoramax/clients/web-viewer/-/blob/develop/docs/02_Usage.md#viewer">Docs</a></p><iframe src="./viewer.html?server=meta"></iframe></div><div class="oneView"><h2 id="map">Coverage Map</h2><p>A map-only view, to locate sequences and pictures.<br/><a href="./map.html">Full page</a> | <a href="https://gitlab.com/panoramax/clients/web-viewer/-/blob/develop/docs/02_Usage.md#CoverageMap">Docs</a></p><iframe src="./map.html"></iframe></div><div class="oneView"><h2 id="editor">Editor</h2><p>A map and picture view, focused around metadata editing.<br/><a href="./editor.html">Full page</a> | <a href="https://gitlab.com/panoramax/clients/web-viewer/-/blob/develop/docs/02_Usage.md#editor">Docs</a></p><iframe src="./editor.html"></iframe></div></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><title>Panoramax JS Library</title><style>body{font-family:sans-serif;text-align:center}.allViews{display:flex;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;gap:10px}.oneView{text-align:center;flex:1;min-width:400px}iframe{width:100%;height:300px;border:none}</style><script defer="defer" src="index.js"></script><link href="index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><h1>Panoramax JavaScript Client</h1><p>Panoramax JS library offers different views to suit your needs.<br/>You can also give a look at the <a href="./widgets.html">widgets test page</a>.</p><div class="allViews"><div class="oneView"><h2>Viewer</h2><p>General-purpose map and picture display.<br/><a href="./viewer.html">Full page</a> | <a href="https://viewer.geovisio.fr/docs/reference/components/core/Viewer/">Docs</a></p><iframe src="./viewer.html?server=meta"></iframe></div><div class="oneView"><h2>Photo Viewer</h2><p>Picture-only display.<br/><a href="./photo.html">Full page</a> | <a href="https://viewer.geovisio.fr/docs/reference/components/core/PhotoViewer/">Docs</a></p><iframe src="./photo.html?server=meta"></iframe></div><div class="oneView"><h2>Coverage Map</h2><p>A map-only view, to locate sequences and pictures.<br/><a href="./map.html">Full page</a> | <a href="https://viewer.geovisio.fr/docs/reference/components/core/CoverageMap/">Docs</a></p><iframe src="./map.html"></iframe></div><div class="oneView"><h2>Editor</h2><p>A map and picture view, focused around metadata editing.<br/><a href="./editor.html">Full page</a> | <a href="https://viewer.geovisio.fr/docs/reference/components/core/Editor/">Docs</a></p><iframe src="./editor.html"></iframe></div></div></body></html>