umap-project 2.1.3__py3-none-any.whl → 2.2.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.

Potentially problematic release.


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

Files changed (200) hide show
  1. umap/__init__.py +1 -1
  2. umap/context_processors.py +1 -0
  3. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/en/LC_MESSAGES/django.po +32 -32
  5. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  6. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  7. umap/locale/ms/LC_MESSAGES/django.mo +0 -0
  8. umap/migrations/0020_alter_tilelayer_url_template.py +19 -0
  9. umap/migrations/0021_remove_map_description.py +16 -0
  10. umap/models.py +8 -6
  11. umap/settings/base.py +1 -0
  12. umap/static/umap/base.css +43 -156
  13. umap/static/umap/content.css +7 -25
  14. umap/static/umap/css/icon.css +112 -0
  15. umap/static/umap/css/panel.css +140 -0
  16. umap/static/umap/img/16-white.svg +5 -1
  17. umap/static/umap/img/16.svg +7 -4
  18. umap/static/umap/img/24-white.svg +3 -1
  19. umap/static/umap/img/24.svg +3 -4
  20. umap/static/umap/img/source/16-white.svg +176 -940
  21. umap/static/umap/img/source/16.svg +8 -5
  22. umap/static/umap/img/source/24-white.svg +5 -3
  23. umap/static/umap/img/source/24.svg +6 -7
  24. umap/static/umap/js/modules/browser.js +97 -73
  25. umap/static/umap/js/modules/dompurify.js +12 -0
  26. umap/static/umap/js/modules/facets.js +149 -0
  27. umap/static/umap/js/modules/global.js +9 -1
  28. umap/static/umap/js/modules/i18n.js +7 -0
  29. umap/static/umap/js/modules/orderable.js +84 -0
  30. umap/static/umap/js/modules/panel.js +76 -0
  31. umap/static/umap/js/modules/request.js +0 -1
  32. umap/static/umap/js/modules/schema.js +324 -223
  33. umap/static/umap/js/modules/urls.js +1 -16
  34. umap/static/umap/js/modules/utils.js +340 -0
  35. umap/static/umap/js/umap.autocomplete.js +40 -25
  36. umap/static/umap/js/umap.controls.js +227 -369
  37. umap/static/umap/js/umap.core.js +77 -366
  38. umap/static/umap/js/umap.datalayer.permissions.js +1 -1
  39. umap/static/umap/js/umap.features.js +62 -42
  40. umap/static/umap/js/umap.forms.js +128 -36
  41. umap/static/umap/js/umap.icon.js +11 -4
  42. umap/static/umap/js/umap.importer.js +78 -57
  43. umap/static/umap/js/umap.js +179 -156
  44. umap/static/umap/js/umap.layer.js +79 -40
  45. umap/static/umap/js/umap.permissions.js +13 -9
  46. umap/static/umap/js/umap.popup.js +26 -30
  47. umap/static/umap/js/umap.share.js +12 -9
  48. umap/static/umap/js/umap.tableeditor.js +4 -6
  49. umap/static/umap/js/umap.ui.js +10 -60
  50. umap/static/umap/locale/am_ET.js +243 -227
  51. umap/static/umap/locale/am_ET.json +21 -9
  52. umap/static/umap/locale/ar.js +243 -227
  53. umap/static/umap/locale/ar.json +21 -9
  54. umap/static/umap/locale/ast.js +243 -227
  55. umap/static/umap/locale/ast.json +21 -9
  56. umap/static/umap/locale/bg.js +243 -227
  57. umap/static/umap/locale/bg.json +21 -9
  58. umap/static/umap/locale/br.js +253 -237
  59. umap/static/umap/locale/br.json +25 -13
  60. umap/static/umap/locale/ca.js +243 -227
  61. umap/static/umap/locale/ca.json +21 -9
  62. umap/static/umap/locale/cs_CZ.js +243 -227
  63. umap/static/umap/locale/cs_CZ.json +21 -9
  64. umap/static/umap/locale/da.js +243 -227
  65. umap/static/umap/locale/da.json +21 -9
  66. umap/static/umap/locale/de.js +243 -227
  67. umap/static/umap/locale/de.json +21 -9
  68. umap/static/umap/locale/el.js +243 -227
  69. umap/static/umap/locale/el.json +21 -9
  70. umap/static/umap/locale/en.js +243 -234
  71. umap/static/umap/locale/en.json +22 -10
  72. umap/static/umap/locale/en_US.json +21 -9
  73. umap/static/umap/locale/es.js +243 -227
  74. umap/static/umap/locale/es.json +21 -9
  75. umap/static/umap/locale/et.js +243 -227
  76. umap/static/umap/locale/et.json +21 -9
  77. umap/static/umap/locale/eu.js +227 -199
  78. umap/static/umap/locale/eu.json +1 -1
  79. umap/static/umap/locale/fa_IR.js +243 -227
  80. umap/static/umap/locale/fa_IR.json +21 -9
  81. umap/static/umap/locale/fi.js +243 -227
  82. umap/static/umap/locale/fi.json +21 -9
  83. umap/static/umap/locale/fr.js +243 -234
  84. umap/static/umap/locale/fr.json +21 -9
  85. umap/static/umap/locale/gl.js +243 -227
  86. umap/static/umap/locale/gl.json +21 -9
  87. umap/static/umap/locale/he.js +243 -227
  88. umap/static/umap/locale/he.json +21 -9
  89. umap/static/umap/locale/hr.js +243 -227
  90. umap/static/umap/locale/hr.json +21 -9
  91. umap/static/umap/locale/hu.js +243 -234
  92. umap/static/umap/locale/hu.json +21 -9
  93. umap/static/umap/locale/id.js +243 -227
  94. umap/static/umap/locale/id.json +21 -9
  95. umap/static/umap/locale/is.js +243 -227
  96. umap/static/umap/locale/is.json +21 -9
  97. umap/static/umap/locale/it.js +243 -234
  98. umap/static/umap/locale/it.json +21 -9
  99. umap/static/umap/locale/ja.js +243 -227
  100. umap/static/umap/locale/ja.json +21 -9
  101. umap/static/umap/locale/ko.js +243 -227
  102. umap/static/umap/locale/ko.json +21 -9
  103. umap/static/umap/locale/lt.js +243 -227
  104. umap/static/umap/locale/lt.json +21 -9
  105. umap/static/umap/locale/ms.js +243 -234
  106. umap/static/umap/locale/ms.json +22 -10
  107. umap/static/umap/locale/nl.js +246 -230
  108. umap/static/umap/locale/nl.json +21 -9
  109. umap/static/umap/locale/no.js +243 -227
  110. umap/static/umap/locale/no.json +21 -9
  111. umap/static/umap/locale/pl.js +243 -227
  112. umap/static/umap/locale/pl.json +21 -9
  113. umap/static/umap/locale/pl_PL.json +21 -9
  114. umap/static/umap/locale/pt.js +243 -227
  115. umap/static/umap/locale/pt.json +21 -9
  116. umap/static/umap/locale/pt_BR.js +243 -227
  117. umap/static/umap/locale/pt_BR.json +21 -9
  118. umap/static/umap/locale/pt_PT.js +243 -227
  119. umap/static/umap/locale/pt_PT.json +21 -9
  120. umap/static/umap/locale/ro.js +243 -227
  121. umap/static/umap/locale/ro.json +21 -9
  122. umap/static/umap/locale/ru.js +243 -227
  123. umap/static/umap/locale/ru.json +21 -9
  124. umap/static/umap/locale/si.js +1 -1
  125. umap/static/umap/locale/si.json +1 -1
  126. umap/static/umap/locale/sk_SK.js +243 -227
  127. umap/static/umap/locale/sk_SK.json +21 -9
  128. umap/static/umap/locale/sl.js +243 -227
  129. umap/static/umap/locale/sl.json +21 -9
  130. umap/static/umap/locale/sr.js +243 -227
  131. umap/static/umap/locale/sr.json +21 -9
  132. umap/static/umap/locale/sv.js +243 -227
  133. umap/static/umap/locale/sv.json +21 -9
  134. umap/static/umap/locale/th_TH.js +243 -227
  135. umap/static/umap/locale/th_TH.json +21 -9
  136. umap/static/umap/locale/tr.js +243 -227
  137. umap/static/umap/locale/tr.json +21 -9
  138. umap/static/umap/locale/uk_UA.js +243 -227
  139. umap/static/umap/locale/uk_UA.json +21 -9
  140. umap/static/umap/locale/vi.js +243 -227
  141. umap/static/umap/locale/vi.json +21 -9
  142. umap/static/umap/locale/vi_VN.json +21 -9
  143. umap/static/umap/locale/zh.js +243 -227
  144. umap/static/umap/locale/zh.json +21 -9
  145. umap/static/umap/locale/zh_CN.json +21 -9
  146. umap/static/umap/locale/zh_TW.Big5.json +21 -9
  147. umap/static/umap/locale/zh_TW.js +243 -234
  148. umap/static/umap/locale/zh_TW.json +21 -9
  149. umap/static/umap/map.css +124 -264
  150. umap/static/umap/test/DataLayer.js +463 -0
  151. umap/static/umap/test/Feature.js +0 -226
  152. umap/static/umap/test/TableEditor.js +104 -0
  153. umap/static/umap/test/Util.js +0 -521
  154. umap/static/umap/test/index.html +0 -1
  155. umap/static/umap/unittests/URLs.js +1 -1
  156. umap/static/umap/unittests/utils.js +610 -0
  157. umap/static/umap/vars.css +9 -0
  158. umap/static/umap/vendors/dompurify/purify.es.mjs +1525 -0
  159. umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +1 -0
  160. umap/static/umap/vendors/iconlayers/iconLayers.js +1 -1
  161. umap/templates/umap/css.html +2 -0
  162. umap/templates/umap/js.html +0 -1
  163. umap/templates/umap/map_detail.html +4 -0
  164. umap/templates/umap/map_table.html +12 -10
  165. umap/templatetags/umap_tags.py +5 -0
  166. umap/tests/integration/conftest.py +12 -1
  167. umap/tests/integration/test_anonymous_owned_map.py +27 -5
  168. umap/tests/integration/test_basics.py +21 -0
  169. umap/tests/integration/test_browser.py +12 -25
  170. umap/tests/integration/test_choropleth.py +1 -1
  171. umap/tests/integration/test_dashboard.py +10 -0
  172. umap/tests/integration/test_datalayer.py +8 -6
  173. umap/tests/integration/test_edit_datalayer.py +24 -19
  174. umap/tests/integration/test_edit_map.py +189 -2
  175. umap/tests/integration/test_edit_marker.py +120 -0
  176. umap/tests/integration/test_edit_polygon.py +122 -0
  177. umap/tests/integration/test_facets_browser.py +104 -14
  178. umap/tests/integration/test_import.py +72 -20
  179. umap/tests/integration/test_map.py +19 -17
  180. umap/tests/integration/test_map_list.py +28 -0
  181. umap/tests/integration/test_owned_map.py +10 -10
  182. umap/tests/integration/test_picto.py +5 -5
  183. umap/tests/integration/test_querystring.py +9 -15
  184. umap/tests/integration/test_slideshow.py +0 -5
  185. umap/tests/integration/test_statics.py +3 -2
  186. umap/tests/integration/test_tableeditor.py +1 -5
  187. umap/tests/integration/test_tilelayer.py +10 -0
  188. umap/tests/integration/test_view_marker.py +64 -0
  189. umap/tests/integration/test_view_polygon.py +59 -0
  190. umap/tests/integration/test_view_polyline.py +51 -0
  191. umap/tests/test_map_views.py +13 -0
  192. {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/METADATA +12 -12
  193. {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/RECORD +198 -182
  194. {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/WHEEL +1 -1
  195. umap/static/umap/vendors/dompurify/purify.min.js +0 -3
  196. umap/static/umap/vendors/dompurify/purify.min.js.map +0 -1
  197. /umap/tests/integration/{test_polygon.py → test_draw_polygon.py} +0 -0
  198. /umap/tests/integration/{test_polyline.py → test_draw_polyline.py} +0 -0
  199. {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/entry_points.txt +0 -0
  200. {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -82,12 +82,10 @@
82
82
  "collapsed": "collapsed",
83
83
  "color": "color",
84
84
  "Comma separated list of numbers, including min and max values.": "Comma separated list of numbers, including min and max values.",
85
- "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
86
85
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
87
86
  "Comma separated list of properties to use when filtering features": "Comma separated list of properties to use when filtering features",
88
87
  "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the begining of the header, case insensitive. All other column are imported as properties.": "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the begining of the header, case insensitive. All other column are imported as properties.",
89
88
  "Congratulations, your map has been created!": "Congratulations, your map has been created!",
90
- "Continue line (Ctrl+Click)": "Continue line (Ctrl+Click)",
91
89
  "Continue line": "Continue line",
92
90
  "Coordinates": "Coordinates",
93
91
  "Copy link": "Copy link",
@@ -152,7 +150,6 @@
152
150
  "Dynamic properties": "Dynamic properties",
153
151
  "Dynamic": "Dynamic",
154
152
  "Edit feature's layer": "Edit feature's layer",
155
- "Edit map properties": "Edit map properties",
156
153
  "Edit properties in a table": "Edit properties in a table",
157
154
  "Edit the title of the map": "Edit the title of the map",
158
155
  "Edit this feature": "Edit this feature",
@@ -165,7 +162,6 @@
165
162
  "Equidistant": "Equidistant",
166
163
  "Error in the overlay URL": "Error in the overlay URL",
167
164
  "Error in the tilelayer URL": "Error in the tilelayer URL",
168
- "Example: key1,key2,key3": "Example: key1,key2,key3",
169
165
  "Exit Fullscreen": "Exit Fullscreen",
170
166
  "expanded": "expanded",
171
167
  "Extract shape to separate feature": "Extract shape to separate feature",
@@ -173,7 +169,6 @@
173
169
  "Facet search": "Facet search",
174
170
  "Feature identifier key": "Feature identifier key",
175
171
  "Feature properties": "Feature properties",
176
- "Features in this layer: {count}": "Features in this layer: {count}",
177
172
  "Fetch data each time map view changes.": "Fetch data each time map view changes.",
178
173
  "fill color": "fill color",
179
174
  "fill opacity": "fill opacity",
@@ -334,8 +329,7 @@
334
329
  "Search": "Search",
335
330
  "Secret edit link copied to clipboard!": "Secret edit link copied to clipboard!",
336
331
  "Secret edit link:": "Secret edit link:",
337
- "See all": "See all",
338
- "See data layers": "See data layers",
332
+ "See layers": "See layers",
339
333
  "See full screen": "See full screen",
340
334
  "See on OpenStreetMap": "See on OpenStreetMap",
341
335
  "Select data": "Select data",
@@ -365,7 +359,6 @@
365
359
  "stroke": "stroke",
366
360
  "Supported scheme": "Supported scheme",
367
361
  "Supported variables that will be dynamically replaced": "Supported variables that will be dynamically replaced",
368
- "Switch to edit mode": "Switch to edit mode",
369
362
  "Symbol": "Symbol",
370
363
  "Table": "Table",
371
364
  "Text color for the cluster label": "Text color for the cluster label",
@@ -435,5 +428,24 @@
435
428
  "{distance} m": "{distance} m",
436
429
  "{distance} miles": "{distance} miles",
437
430
  "{distance} NM": "{distance} NM",
438
- "{distance} yd": "{distance} yd"
439
- }
431
+ "{distance} yd": "{distance} yd",
432
+ "Edit map name and caption": "Edit map name and caption",
433
+ "Map advanced properties": "Map advanced properties",
434
+ "Edit map details": "Edit map details",
435
+ "Back to browser": "Back to browser",
436
+ "Toggle size": "Toggle size",
437
+ "Layers": "Layers",
438
+ "Display the caption control": "Display the caption control",
439
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.",
440
+ "<empty value>": "<empty value>",
441
+ "Min": "Min",
442
+ "Max": "Max",
443
+ "From": "From",
444
+ "Until": "Until",
445
+ "Example: key1,key2|Label 2,key3|Label 3|checkbox": "Example: key1,key2|Label 2,key3|Label 3|checkbox",
446
+ "Edit in OpenStreetMap": "Edit in OpenStreetMap",
447
+ "Cannot determine latitude and longitude columns.": "Cannot determine latitude and longitude columns.",
448
+ "Back to layers": "Back to layers",
449
+ "Data": "Data",
450
+ "Filters": "Filters"
451
+ }
@@ -82,12 +82,10 @@
82
82
  "collapsed": "collapsed",
83
83
  "color": "color",
84
84
  "Comma separated list of numbers, including min and max values.": "Comma separated list of numbers, including min and max values.",
85
- "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
86
85
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
87
86
  "Comma separated list of properties to use when filtering features": "Comma separated list of properties to use when filtering features",
88
87
  "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the begining of the header, case insensitive. All other column are imported as properties.": "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the begining of the header, case insensitive. All other column are imported as properties.",
89
88
  "Congratulations, your map has been created!": "Congratulations, your map has been created!",
90
- "Continue line (Ctrl+Click)": "Continue line (Ctrl+Click)",
91
89
  "Continue line": "Continue line",
92
90
  "Coordinates": "Coordinates",
93
91
  "Copy link": "Copy link",
@@ -152,7 +150,6 @@
152
150
  "Dynamic properties": "Dynamic properties",
153
151
  "Dynamic": "Dynamic",
154
152
  "Edit feature's layer": "Layer properties",
155
- "Edit map properties": "Map properties",
156
153
  "Edit properties in a table": "Edit properties in a table",
157
154
  "Edit the title of the map": "Edit the title of the map",
158
155
  "Edit this feature": "Edit this feature",
@@ -165,7 +162,6 @@
165
162
  "Equidistant": "Equidistant",
166
163
  "Error in the overlay URL": "Error in the overlay URL",
167
164
  "Error in the tilelayer URL": "Error in the tilelayer URL",
168
- "Example: key1,key2,key3": "Example: key1,key2,key3",
169
165
  "Exit Fullscreen": "Exit Fullscreen",
170
166
  "expanded": "expanded",
171
167
  "Extract shape to separate feature": "Extract shape to separate feature",
@@ -173,7 +169,6 @@
173
169
  "Facet search": "Facet search",
174
170
  "Feature identifier key": "Feature identifier key",
175
171
  "Feature properties": "Feature properties",
176
- "Features in this layer: {count}": "Features in this layer: {count}",
177
172
  "Fetch data each time map view changes.": "Fetch data each time map view changes.",
178
173
  "fill color": "fill color",
179
174
  "fill opacity": "fill opacity",
@@ -334,8 +329,7 @@
334
329
  "Search": "Search",
335
330
  "Secret edit link copied to clipboard!": "Secret edit link copied to clipboard!",
336
331
  "Secret edit link:": "Secret edit link:",
337
- "See all": "See all",
338
- "See data layers": "See data layers",
332
+ "See layers": "See layers",
339
333
  "See full screen": "See full screen",
340
334
  "See on OpenStreetMap": "See on OpenStreetMap",
341
335
  "Select data": "Select data",
@@ -365,7 +359,6 @@
365
359
  "stroke": "stroke",
366
360
  "Supported scheme": "Supported scheme",
367
361
  "Supported variables that will be dynamically replaced": "Supported variables that will be dynamically replaced",
368
- "Switch to edit mode": "Switch to edit mode",
369
362
  "Symbol": "Symbol",
370
363
  "Table": "Table",
371
364
  "Text color for the cluster label": "Text color for the cluster label",
@@ -435,5 +428,24 @@
435
428
  "{distance}&#8239;m": "{distance} m",
436
429
  "{distance}&#8239;miles": "{distance} miles",
437
430
  "{distance}&#8239;NM": "{distance} NM",
438
- "{distance}&#8239;yd": "{distance} yd"
431
+ "{distance}&#8239;yd": "{distance} yd",
432
+ "Edit map name and caption": "Edit map name and caption",
433
+ "Map advanced properties": "Map advanced properties",
434
+ "Edit map details": "Edit map details",
435
+ "Back to browser": "Back to browser",
436
+ "Toggle size": "Toggle size",
437
+ "Layers": "Layers",
438
+ "Display the caption control": "Display the caption control",
439
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.",
440
+ "<empty value>": "<empty value>",
441
+ "Min": "Min",
442
+ "Max": "Max",
443
+ "From": "From",
444
+ "Until": "Until",
445
+ "Example: key1,key2|Label 2,key3|Label 3|checkbox": "Example: key1,key2|Label 2,key3|Label 3|checkbox",
446
+ "Edit in OpenStreetMap": "Edit in OpenStreetMap",
447
+ "Cannot determine latitude and longitude columns.": "Cannot determine latitude and longitude columns.",
448
+ "Back to layers": "Back to layers",
449
+ "Data": "Data",
450
+ "Filters": "Filters"
439
451
  }