umap-project 3.4.2__py3-none-any.whl → 3.6.0__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.
Files changed (168) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  3. umap/locale/br/LC_MESSAGES/django.po +71 -57
  4. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/de/LC_MESSAGES/django.po +20 -16
  6. umap/locale/en/LC_MESSAGES/django.po +14 -14
  7. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  8. umap/locale/hu/LC_MESSAGES/django.po +20 -16
  9. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  10. umap/locale/pl/LC_MESSAGES/django.po +32 -27
  11. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  12. umap/locale/zh_TW/LC_MESSAGES/django.po +20 -16
  13. umap/management/commands/clean_tilelayer.py +0 -1
  14. umap/management/commands/search_maps.py +95 -0
  15. umap/settings/__init__.py +9 -1
  16. umap/settings/base.py +7 -6
  17. umap/static/umap/css/icon.css +8 -0
  18. umap/static/umap/img/16-white.svg +5 -2
  19. umap/static/umap/img/16.svg +1 -1
  20. umap/static/umap/img/source/16-white.svg +7 -4
  21. umap/static/umap/img/source/16.svg +1 -1
  22. umap/static/umap/js/modules/autocomplete.js +1 -9
  23. umap/static/umap/js/modules/browser.js +27 -10
  24. umap/static/umap/js/modules/data/features.js +3 -2
  25. umap/static/umap/js/modules/data/fields.js +12 -2
  26. umap/static/umap/js/modules/data/layer.js +13 -9
  27. umap/static/umap/js/modules/domutils.js +4 -0
  28. umap/static/umap/js/modules/filters.js +11 -10
  29. umap/static/umap/js/modules/form/builder.js +17 -16
  30. umap/static/umap/js/modules/form/fields.js +16 -16
  31. umap/static/umap/js/modules/permissions.js +10 -2
  32. umap/static/umap/js/modules/rendering/controls.js +202 -9
  33. umap/static/umap/js/modules/rendering/layers/classified.js +1 -1
  34. umap/static/umap/js/modules/rendering/map.js +45 -35
  35. umap/static/umap/js/modules/rendering/template.js +12 -6
  36. umap/static/umap/js/modules/ui/bar.js +2 -1
  37. umap/static/umap/js/modules/ui/hash.js +36 -0
  38. umap/static/umap/js/modules/ui/loader.js +26 -0
  39. umap/static/umap/js/modules/ui/panel.js +7 -0
  40. umap/static/umap/js/modules/umap.js +6 -0
  41. umap/static/umap/js/modules/utils.js +5 -4
  42. umap/static/umap/js/umap.controls.js +0 -182
  43. umap/static/umap/locale/am_ET.js +2 -5
  44. umap/static/umap/locale/am_ET.json +2 -5
  45. umap/static/umap/locale/ar.js +2 -5
  46. umap/static/umap/locale/ar.json +2 -5
  47. umap/static/umap/locale/ast.js +2 -5
  48. umap/static/umap/locale/ast.json +2 -5
  49. umap/static/umap/locale/bg.js +2 -5
  50. umap/static/umap/locale/bg.json +2 -5
  51. umap/static/umap/locale/br.js +40 -43
  52. umap/static/umap/locale/br.json +40 -43
  53. umap/static/umap/locale/ca.js +2 -5
  54. umap/static/umap/locale/ca.json +2 -5
  55. umap/static/umap/locale/cs_CZ.js +0 -3
  56. umap/static/umap/locale/cs_CZ.json +0 -3
  57. umap/static/umap/locale/da.js +1 -4
  58. umap/static/umap/locale/da.json +1 -4
  59. umap/static/umap/locale/de.js +27 -30
  60. umap/static/umap/locale/de.json +27 -30
  61. umap/static/umap/locale/el.js +0 -3
  62. umap/static/umap/locale/el.json +0 -3
  63. umap/static/umap/locale/en.js +0 -3
  64. umap/static/umap/locale/en.json +0 -3
  65. umap/static/umap/locale/en_US.json +2 -5
  66. umap/static/umap/locale/es.js +0 -3
  67. umap/static/umap/locale/es.json +0 -3
  68. umap/static/umap/locale/et.js +0 -3
  69. umap/static/umap/locale/et.json +0 -3
  70. umap/static/umap/locale/eu.js +0 -3
  71. umap/static/umap/locale/eu.json +0 -3
  72. umap/static/umap/locale/fa_IR.js +0 -3
  73. umap/static/umap/locale/fa_IR.json +0 -3
  74. umap/static/umap/locale/fi.js +2 -5
  75. umap/static/umap/locale/fi.json +2 -5
  76. umap/static/umap/locale/fr.js +3 -6
  77. umap/static/umap/locale/fr.json +3 -6
  78. umap/static/umap/locale/gl.js +0 -3
  79. umap/static/umap/locale/gl.json +0 -3
  80. umap/static/umap/locale/he.js +2 -5
  81. umap/static/umap/locale/he.json +2 -5
  82. umap/static/umap/locale/hr.js +2 -5
  83. umap/static/umap/locale/hr.json +2 -5
  84. umap/static/umap/locale/hu.js +7 -10
  85. umap/static/umap/locale/hu.json +7 -10
  86. umap/static/umap/locale/id.js +2 -5
  87. umap/static/umap/locale/id.json +2 -5
  88. umap/static/umap/locale/is.js +0 -3
  89. umap/static/umap/locale/is.json +0 -3
  90. umap/static/umap/locale/it.js +0 -3
  91. umap/static/umap/locale/it.json +0 -3
  92. umap/static/umap/locale/ja.js +2 -5
  93. umap/static/umap/locale/ja.json +2 -5
  94. umap/static/umap/locale/ko.js +2 -5
  95. umap/static/umap/locale/ko.json +2 -5
  96. umap/static/umap/locale/lt.js +2 -5
  97. umap/static/umap/locale/lt.json +2 -5
  98. umap/static/umap/locale/ms.js +0 -3
  99. umap/static/umap/locale/ms.json +0 -3
  100. umap/static/umap/locale/nl.js +0 -3
  101. umap/static/umap/locale/nl.json +0 -3
  102. umap/static/umap/locale/no.js +2 -5
  103. umap/static/umap/locale/no.json +2 -5
  104. umap/static/umap/locale/pl.js +2 -5
  105. umap/static/umap/locale/pl.json +2 -5
  106. umap/static/umap/locale/pl_PL.json +2 -5
  107. umap/static/umap/locale/pt.js +0 -3
  108. umap/static/umap/locale/pt.json +0 -3
  109. umap/static/umap/locale/pt_BR.js +2 -5
  110. umap/static/umap/locale/pt_BR.json +2 -5
  111. umap/static/umap/locale/pt_PT.js +2 -5
  112. umap/static/umap/locale/pt_PT.json +2 -5
  113. umap/static/umap/locale/ro.js +2 -5
  114. umap/static/umap/locale/ro.json +2 -5
  115. umap/static/umap/locale/ru.js +2 -5
  116. umap/static/umap/locale/ru.json +2 -5
  117. umap/static/umap/locale/sk_SK.js +2 -5
  118. umap/static/umap/locale/sk_SK.json +2 -5
  119. umap/static/umap/locale/sl.js +2 -5
  120. umap/static/umap/locale/sl.json +2 -5
  121. umap/static/umap/locale/sr.js +2 -5
  122. umap/static/umap/locale/sr.json +2 -5
  123. umap/static/umap/locale/sv.js +2 -5
  124. umap/static/umap/locale/sv.json +2 -5
  125. umap/static/umap/locale/th_TH.js +2 -5
  126. umap/static/umap/locale/th_TH.json +2 -5
  127. umap/static/umap/locale/tr.js +2 -5
  128. umap/static/umap/locale/tr.json +2 -5
  129. umap/static/umap/locale/uk_UA.js +2 -5
  130. umap/static/umap/locale/uk_UA.json +2 -5
  131. umap/static/umap/locale/vi.js +2 -5
  132. umap/static/umap/locale/vi.json +2 -5
  133. umap/static/umap/locale/vi_VN.json +2 -5
  134. umap/static/umap/locale/zh.js +2 -5
  135. umap/static/umap/locale/zh.json +2 -5
  136. umap/static/umap/locale/zh_CN.json +2 -5
  137. umap/static/umap/locale/zh_TW.Big5.json +2 -5
  138. umap/static/umap/locale/zh_TW.js +1 -4
  139. umap/static/umap/locale/zh_TW.json +1 -4
  140. umap/static/umap/map.css +1 -17
  141. umap/static/umap/vendors/locatecontrol/L.Control.Locate.esm.js +942 -0
  142. umap/static/umap/vendors/photon/leaflet.photon.esm.js +472 -0
  143. umap/sync/app.py +4 -1
  144. umap/templates/umap/css.html +0 -2
  145. umap/templates/umap/js.html +0 -5
  146. umap/templates/umap/team_form.html +2 -1
  147. umap/tests/integration/test_edit_map.py +2 -0
  148. umap/tests/integration/test_filters.py +24 -0
  149. umap/tests/integration/test_import.py +26 -23
  150. umap/tests/integration/test_map.py +1 -1
  151. umap/tests/integration/test_optimistic_merge.py +7 -1
  152. umap/tests/integration/test_remote_data.py +1 -1
  153. umap/tests/test_search_maps_command.py +44 -0
  154. umap/utils.py +9 -3
  155. umap/views.py +17 -4
  156. {umap_project-3.4.2.dist-info → umap_project-3.6.0.dist-info}/METADATA +24 -18
  157. {umap_project-3.4.2.dist-info → umap_project-3.6.0.dist-info}/RECORD +160 -162
  158. {umap_project-3.4.2.dist-info → umap_project-3.6.0.dist-info}/WHEEL +1 -1
  159. umap/static/umap/vendors/hash/leaflet-hash.js +0 -162
  160. umap/static/umap/vendors/loading/Control.Loading.css +0 -26
  161. umap/static/umap/vendors/loading/Control.Loading.js +0 -351
  162. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css +0 -1
  163. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css.map +0 -1
  164. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js +0 -4
  165. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js.map +0 -1
  166. umap/static/umap/vendors/photon/leaflet.photon.js +0 -487
  167. {umap_project-3.4.2.dist-info → umap_project-3.6.0.dist-info}/entry_points.txt +0 -0
  168. {umap_project-3.4.2.dist-info → umap_project-3.6.0.dist-info}/licenses/LICENSE +0 -0
umap/static/umap/map.css CHANGED
@@ -155,7 +155,6 @@ html[dir="rtl"] .leaflet-tooltip-pane>* {
155
155
  }
156
156
 
157
157
  .leaflet-measure-control a,
158
- .leaflet-control-locate a,
159
158
  .umap-control a,
160
159
  .umap-control [type="button"] {
161
160
  display: block;
@@ -168,8 +167,7 @@ html[dir="rtl"] .leaflet-tooltip-pane>* {
168
167
  padding: 0;
169
168
  }
170
169
 
171
- .leaflet-measure-control a,
172
- .leaflet-control-locate a {
170
+ .leaflet-measure-control a{
173
171
  background-position: 50% 50%;
174
172
  background-repeat: no-repeat;
175
173
  background-image: url('./img/24.svg');
@@ -205,16 +203,6 @@ html[dir="rtl"] .leaflet-tooltip-pane>* {
205
203
  background-position: -122px -82px;
206
204
  }
207
205
 
208
- .leaflet-control-locate a {
209
- background-position: 0 -108px;
210
- }
211
-
212
- .leaflet-control-locate.active a,
213
- .leaflet-control-locate.requesting a {
214
- background-position: -72px -144px;
215
- box-shadow: 0 0 4px 0 black inset;
216
- }
217
-
218
206
  .leaflet-control-search [type="button"] {
219
207
  background-position: -36px -108px;
220
208
  display: block;
@@ -493,10 +481,6 @@ ul.photon-autocomplete {
493
481
  vertical-align: middle;
494
482
  }
495
483
 
496
- .leaflet-control-locate-location circle {
497
- animation: none;
498
- }
499
-
500
484
 
501
485
 
502
486
  /* ********************************* */