umap-project 1.3.7__py3-none-any.whl → 1.4.1__py3-none-any.whl

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.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (134) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/am_ET/LC_MESSAGES/django.mo +0 -0
  3. umap/locale/am_ET/LC_MESSAGES/django.po +79 -30
  4. umap/locale/ar/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/ar/LC_MESSAGES/django.po +166 -96
  6. umap/locale/bg/LC_MESSAGES/django.mo +0 -0
  7. umap/locale/bg/LC_MESSAGES/django.po +79 -30
  8. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  9. umap/locale/br/LC_MESSAGES/django.po +460 -0
  10. umap/locale/ca/LC_MESSAGES/django.mo +0 -0
  11. umap/locale/ca/LC_MESSAGES/django.po +95 -45
  12. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  13. umap/locale/cs_CZ/LC_MESSAGES/django.po +80 -31
  14. umap/locale/da/LC_MESSAGES/django.mo +0 -0
  15. umap/locale/da/LC_MESSAGES/django.po +80 -31
  16. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  17. umap/locale/de/LC_MESSAGES/django.po +80 -31
  18. umap/locale/el/LC_MESSAGES/django.mo +0 -0
  19. umap/locale/el/LC_MESSAGES/django.po +87 -38
  20. umap/locale/en/LC_MESSAGES/django.po +75 -26
  21. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  22. umap/locale/es/LC_MESSAGES/django.po +80 -31
  23. umap/locale/et/LC_MESSAGES/django.mo +0 -0
  24. umap/locale/et/LC_MESSAGES/django.po +80 -31
  25. umap/locale/eu/LC_MESSAGES/django.mo +0 -0
  26. umap/locale/eu/LC_MESSAGES/django.po +457 -0
  27. umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
  28. umap/locale/fa_IR/LC_MESSAGES/django.po +80 -31
  29. umap/locale/fi/LC_MESSAGES/django.mo +0 -0
  30. umap/locale/fi/LC_MESSAGES/django.po +79 -30
  31. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  32. umap/locale/fr/LC_MESSAGES/django.po +82 -33
  33. umap/locale/gl/LC_MESSAGES/django.mo +0 -0
  34. umap/locale/gl/LC_MESSAGES/django.po +80 -31
  35. umap/locale/he/LC_MESSAGES/django.mo +0 -0
  36. umap/locale/he/LC_MESSAGES/django.po +80 -31
  37. umap/locale/hr/LC_MESSAGES/django.mo +0 -0
  38. umap/locale/hr/LC_MESSAGES/django.po +77 -28
  39. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  40. umap/locale/hu/LC_MESSAGES/django.po +80 -31
  41. umap/locale/is/LC_MESSAGES/django.mo +0 -0
  42. umap/locale/is/LC_MESSAGES/django.po +80 -31
  43. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  44. umap/locale/it/LC_MESSAGES/django.po +80 -31
  45. umap/locale/ja/LC_MESSAGES/django.mo +0 -0
  46. umap/locale/ja/LC_MESSAGES/django.po +80 -31
  47. umap/locale/ko/LC_MESSAGES/django.mo +0 -0
  48. umap/locale/ko/LC_MESSAGES/django.po +80 -31
  49. umap/locale/lt/LC_MESSAGES/django.mo +0 -0
  50. umap/locale/lt/LC_MESSAGES/django.po +79 -30
  51. umap/locale/ms/LC_MESSAGES/django.mo +0 -0
  52. umap/locale/ms/LC_MESSAGES/django.po +85 -36
  53. umap/locale/nl/LC_MESSAGES/django.mo +0 -0
  54. umap/locale/nl/LC_MESSAGES/django.po +80 -31
  55. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  56. umap/locale/pl/LC_MESSAGES/django.po +80 -31
  57. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  58. umap/locale/pt/LC_MESSAGES/django.po +80 -31
  59. umap/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
  60. umap/locale/pt_BR/LC_MESSAGES/django.po +80 -31
  61. umap/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
  62. umap/locale/pt_PT/LC_MESSAGES/django.po +80 -31
  63. umap/locale/ru/LC_MESSAGES/django.mo +0 -0
  64. umap/locale/ru/LC_MESSAGES/django.po +80 -31
  65. umap/locale/si/LC_MESSAGES/django.mo +0 -0
  66. umap/locale/si/LC_MESSAGES/django.po +456 -0
  67. umap/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
  68. umap/locale/sk_SK/LC_MESSAGES/django.po +79 -30
  69. umap/locale/sl/LC_MESSAGES/django.mo +0 -0
  70. umap/locale/sl/LC_MESSAGES/django.po +79 -30
  71. umap/locale/sr/LC_MESSAGES/django.mo +0 -0
  72. umap/locale/sr/LC_MESSAGES/django.po +80 -31
  73. umap/locale/sv/LC_MESSAGES/django.mo +0 -0
  74. umap/locale/sv/LC_MESSAGES/django.po +80 -31
  75. umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
  76. umap/locale/th_TH/LC_MESSAGES/django.po +80 -31
  77. umap/locale/tr/LC_MESSAGES/django.mo +0 -0
  78. umap/locale/tr/LC_MESSAGES/django.po +80 -31
  79. umap/locale/uk_UA/LC_MESSAGES/django.mo +0 -0
  80. umap/locale/uk_UA/LC_MESSAGES/django.po +80 -31
  81. umap/locale/vi/LC_MESSAGES/django.mo +0 -0
  82. umap/locale/vi/LC_MESSAGES/django.po +79 -30
  83. umap/locale/zh/LC_MESSAGES/django.mo +0 -0
  84. umap/locale/zh/LC_MESSAGES/django.po +79 -30
  85. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  86. umap/locale/zh_TW/LC_MESSAGES/django.po +94 -45
  87. umap/models.py +7 -7
  88. umap/settings/base.py +3 -1
  89. umap/static/umap/content.css +23 -0
  90. umap/static/umap/img/16-white.svg +6 -4
  91. umap/static/umap/img/16.svg +5 -3
  92. umap/static/umap/img/source/16-white.svg +7 -5
  93. umap/static/umap/img/source/16.svg +6 -4
  94. umap/static/umap/js/umap.controls.js +55 -52
  95. umap/static/umap/js/umap.features.js +14 -0
  96. umap/static/umap/js/umap.js +6 -7
  97. umap/static/umap/js/umap.layer.js +2 -2
  98. umap/static/umap/js/umap.permissions.js +3 -3
  99. umap/static/umap/js/umap.ui.js +1 -1
  100. umap/static/umap/locale/br.js +404 -0
  101. umap/static/umap/locale/br.json +402 -0
  102. umap/static/umap/locale/{si_LK.js → eu.js} +18 -18
  103. umap/static/umap/locale/{si_LK.json → eu.json} +16 -16
  104. umap/static/umap/locale/ms.js +5 -5
  105. umap/static/umap/locale/ms.json +5 -5
  106. umap/static/umap/locale/si.js +404 -0
  107. umap/static/umap/locale/si.json +402 -0
  108. umap/static/umap/locale/zh_TW.js +35 -35
  109. umap/static/umap/locale/zh_TW.json +35 -35
  110. umap/static/umap/map.css +6 -6
  111. umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +6 -5
  112. umap/static/umap/vendors/leaflet/leaflet-src.esm.js +1964 -1323
  113. umap/static/umap/vendors/leaflet/leaflet-src.esm.js.map +1 -1
  114. umap/static/umap/vendors/leaflet/leaflet-src.js +14478 -13836
  115. umap/static/umap/vendors/leaflet/leaflet-src.js.map +1 -1
  116. umap/static/umap/vendors/leaflet/leaflet.css +70 -44
  117. umap/static/umap/vendors/leaflet/leaflet.js +4 -3
  118. umap/static/umap/vendors/leaflet/leaflet.js.map +1 -1
  119. umap/templates/umap/login_popup_end.html +1 -1
  120. umap/templates/umap/map_table.html +41 -0
  121. umap/templates/umap/navigation.html +1 -1
  122. umap/templates/umap/search.html +1 -1
  123. umap/templates/umap/search_bar.html +5 -3
  124. umap/templates/umap/user_dashboard.html +23 -0
  125. umap/tests/test_views.py +21 -0
  126. umap/urls.py +5 -0
  127. umap/views.py +55 -42
  128. {umap_project-1.3.7.dist-info → umap_project-1.4.1.dist-info}/METADATA +1 -1
  129. {umap_project-1.3.7.dist-info → umap_project-1.4.1.dist-info}/RECORD +132 -122
  130. umap/locale/si_LK/LC_MESSAGES/django.mo +0 -0
  131. umap/locale/si_LK/LC_MESSAGES/django.po +0 -376
  132. {umap_project-1.3.7.dist-info → umap_project-1.4.1.dist-info}/WHEEL +0 -0
  133. {umap_project-1.3.7.dist-info → umap_project-1.4.1.dist-info}/entry_points.txt +0 -0
  134. {umap_project-1.3.7.dist-info → umap_project-1.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -25,6 +25,10 @@
25
25
  user-select: none;
26
26
  -webkit-user-drag: none;
27
27
  }
28
+ /* Prevents IE11 from highlighting tiles in blue */
29
+ .leaflet-tile::selection {
30
+ background: transparent;
31
+ }
28
32
  /* Safari renders non-retina tile on retina better with this, but Chrome is worse */
29
33
  .leaflet-safari .leaflet-tile {
30
34
  image-rendering: -webkit-optimize-contrast;
@@ -41,7 +45,10 @@
41
45
  }
42
46
  /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
43
47
  /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
44
- .leaflet-container .leaflet-overlay-pane svg,
48
+ .leaflet-container .leaflet-overlay-pane svg {
49
+ max-width: none !important;
50
+ max-height: none !important;
51
+ }
45
52
  .leaflet-container .leaflet-marker-pane img,
46
53
  .leaflet-container .leaflet-shadow-pane img,
47
54
  .leaflet-container .leaflet-tile-pane img,
@@ -49,8 +56,15 @@
49
56
  .leaflet-container .leaflet-tile {
50
57
  max-width: none !important;
51
58
  max-height: none !important;
59
+ width: auto;
60
+ padding: 0;
52
61
  }
53
62
 
63
+ .leaflet-container img.leaflet-tile {
64
+ /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
65
+ mix-blend-mode: plus-lighter;
66
+ }
67
+
54
68
  .leaflet-container.leaflet-touch-zoom {
55
69
  -ms-touch-action: pan-x pan-y;
56
70
  touch-action: pan-x pan-y;
@@ -162,9 +176,6 @@
162
176
 
163
177
  /* zoom and fade animations */
164
178
 
165
- .leaflet-fade-anim .leaflet-tile {
166
- will-change: opacity;
167
- }
168
179
  .leaflet-fade-anim .leaflet-popup {
169
180
  opacity: 0;
170
181
  -webkit-transition: opacity 0.2s linear;
@@ -179,9 +190,10 @@
179
190
  -ms-transform-origin: 0 0;
180
191
  transform-origin: 0 0;
181
192
  }
182
- .leaflet-zoom-anim .leaflet-zoom-animated {
193
+ svg.leaflet-zoom-animated {
183
194
  will-change: transform;
184
- }
195
+ }
196
+
185
197
  .leaflet-zoom-anim .leaflet-zoom-animated {
186
198
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
187
199
  -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
@@ -237,7 +249,8 @@
237
249
 
238
250
  .leaflet-marker-icon.leaflet-interactive,
239
251
  .leaflet-image-layer.leaflet-interactive,
240
- .leaflet-pane > svg path.leaflet-interactive {
252
+ .leaflet-pane > svg path.leaflet-interactive,
253
+ svg.leaflet-image-layer.leaflet-interactive path {
241
254
  pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
242
255
  pointer-events: auto;
243
256
  }
@@ -246,14 +259,11 @@
246
259
 
247
260
  .leaflet-container {
248
261
  background: #ddd;
249
- outline: 0;
262
+ outline-offset: 1px;
250
263
  }
251
264
  .leaflet-container a {
252
265
  color: #0078A8;
253
266
  }
254
- .leaflet-container a.leaflet-active {
255
- outline: 2px solid orange;
256
- }
257
267
  .leaflet-zoom-box {
258
268
  border: 2px dotted #38f;
259
269
  background: rgba(255,255,255,0.5);
@@ -262,7 +272,10 @@
262
272
 
263
273
  /* general typography */
264
274
  .leaflet-container {
265
- font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
275
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
276
+ font-size: 12px;
277
+ font-size: 0.75rem;
278
+ line-height: 1.5;
266
279
  }
267
280
 
268
281
 
@@ -272,8 +285,7 @@
272
285
  box-shadow: 0 1px 5px rgba(0,0,0,0.65);
273
286
  border-radius: 4px;
274
287
  }
275
- .leaflet-bar a,
276
- .leaflet-bar a:hover {
288
+ .leaflet-bar a {
277
289
  background-color: #fff;
278
290
  border-bottom: 1px solid #ccc;
279
291
  width: 26px;
@@ -290,7 +302,8 @@
290
302
  background-repeat: no-repeat;
291
303
  display: block;
292
304
  }
293
- .leaflet-bar a:hover {
305
+ .leaflet-bar a:hover,
306
+ .leaflet-bar a:focus {
294
307
  background-color: #f4f4f4;
295
308
  }
296
309
  .leaflet-bar a:first-child {
@@ -380,6 +393,8 @@
380
393
  }
381
394
  .leaflet-control-layers label {
382
395
  display: block;
396
+ font-size: 13px;
397
+ font-size: 1.08333em;
383
398
  }
384
399
  .leaflet-control-layers-separator {
385
400
  height: 0;
@@ -388,7 +403,7 @@
388
403
  }
389
404
 
390
405
  /* Default icon URLs */
391
- .leaflet-default-icon-path {
406
+ .leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
392
407
  background-image: url(images/marker-icon.png);
393
408
  }
394
409
 
@@ -397,23 +412,27 @@
397
412
 
398
413
  .leaflet-container .leaflet-control-attribution {
399
414
  background: #fff;
400
- background: rgba(255, 255, 255, 0.7);
415
+ background: rgba(255, 255, 255, 0.8);
401
416
  margin: 0;
402
417
  }
403
418
  .leaflet-control-attribution,
404
419
  .leaflet-control-scale-line {
405
420
  padding: 0 5px;
406
421
  color: #333;
422
+ line-height: 1.4;
407
423
  }
408
424
  .leaflet-control-attribution a {
409
425
  text-decoration: none;
410
426
  }
411
- .leaflet-control-attribution a:hover {
427
+ .leaflet-control-attribution a:hover,
428
+ .leaflet-control-attribution a:focus {
412
429
  text-decoration: underline;
413
430
  }
414
- .leaflet-container .leaflet-control-attribution,
415
- .leaflet-container .leaflet-control-scale {
416
- font-size: 11px;
431
+ .leaflet-attribution-flag {
432
+ display: inline !important;
433
+ vertical-align: baseline !important;
434
+ width: 1em;
435
+ height: 0.6669em;
417
436
  }
418
437
  .leaflet-left .leaflet-control-scale {
419
438
  margin-left: 5px;
@@ -426,14 +445,11 @@
426
445
  border-top: none;
427
446
  line-height: 1.1;
428
447
  padding: 2px 5px 1px;
429
- font-size: 11px;
430
448
  white-space: nowrap;
431
- overflow: hidden;
432
449
  -moz-box-sizing: border-box;
433
450
  box-sizing: border-box;
434
-
435
- background: #fff;
436
- background: rgba(255, 255, 255, 0.5);
451
+ background: rgba(255, 255, 255, 0.8);
452
+ text-shadow: 1px 1px #fff;
437
453
  }
438
454
  .leaflet-control-scale-line:not(:first-child) {
439
455
  border-top: 2px solid #777;
@@ -469,17 +485,22 @@
469
485
  border-radius: 12px;
470
486
  }
471
487
  .leaflet-popup-content {
472
- margin: 13px 19px;
473
- line-height: 1.4;
488
+ margin: 13px 24px 13px 20px;
489
+ line-height: 1.3;
490
+ font-size: 13px;
491
+ font-size: 1.08333em;
492
+ min-height: 1px;
474
493
  }
475
494
  .leaflet-popup-content p {
476
- margin: 18px 0;
495
+ margin: 17px 0;
496
+ margin: 1.3em 0;
477
497
  }
478
498
  .leaflet-popup-tip-container {
479
499
  width: 40px;
480
500
  height: 20px;
481
501
  position: absolute;
482
502
  left: 50%;
503
+ margin-top: -1px;
483
504
  margin-left: -20px;
484
505
  overflow: hidden;
485
506
  pointer-events: none;
@@ -490,6 +511,7 @@
490
511
  padding: 1px;
491
512
 
492
513
  margin: -10px auto 0;
514
+ pointer-events: auto;
493
515
 
494
516
  -webkit-transform: rotate(45deg);
495
517
  -moz-transform: rotate(45deg);
@@ -506,28 +528,25 @@
506
528
  position: absolute;
507
529
  top: 0;
508
530
  right: 0;
509
- padding: 4px 4px 0 0;
510
531
  border: none;
511
532
  text-align: center;
512
- width: 18px;
513
- height: 14px;
514
- font: 16px/14px Tahoma, Verdana, sans-serif;
515
- color: #c3c3c3;
533
+ width: 24px;
534
+ height: 24px;
535
+ font: 16px/24px Tahoma, Verdana, sans-serif;
536
+ color: #757575;
516
537
  text-decoration: none;
517
- font-weight: bold;
518
538
  background: transparent;
519
539
  }
520
- .leaflet-container a.leaflet-popup-close-button:hover {
521
- color: #999;
540
+ .leaflet-container a.leaflet-popup-close-button:hover,
541
+ .leaflet-container a.leaflet-popup-close-button:focus {
542
+ color: #585858;
522
543
  }
523
544
  .leaflet-popup-scrolled {
524
545
  overflow: auto;
525
- border-bottom: 1px solid #ddd;
526
- border-top: 1px solid #ddd;
527
546
  }
528
547
 
529
548
  .leaflet-oldie .leaflet-popup-content-wrapper {
530
- zoom: 1;
549
+ -ms-zoom: 1;
531
550
  }
532
551
  .leaflet-oldie .leaflet-popup-tip {
533
552
  width: 24px;
@@ -536,9 +555,6 @@
536
555
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
537
556
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
538
557
  }
539
- .leaflet-oldie .leaflet-popup-tip-container {
540
- margin-top: -1px;
541
- }
542
558
 
543
559
  .leaflet-oldie .leaflet-control-zoom,
544
560
  .leaflet-oldie .leaflet-control-layers,
@@ -573,7 +589,7 @@
573
589
  pointer-events: none;
574
590
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
575
591
  }
576
- .leaflet-tooltip.leaflet-clickable {
592
+ .leaflet-tooltip.leaflet-interactive {
577
593
  cursor: pointer;
578
594
  pointer-events: auto;
579
595
  }
@@ -633,3 +649,13 @@
633
649
  margin-left: -12px;
634
650
  border-right-color: #fff;
635
651
  }
652
+
653
+ /* Printing */
654
+
655
+ @media print {
656
+ /* Prevent printers from removing background-images of controls. */
657
+ .leaflet-control {
658
+ -webkit-print-color-adjust: exact;
659
+ print-color-adjust: exact;
660
+ }
661
+ }