umap-project 3.0.0__py3-none-any.whl → 3.0.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.
- umap/__init__.py +1 -1
- umap/static/umap/js/modules/form/builder.js +3 -3
- {umap_project-3.0.0.dist-info → umap_project-3.0.1.dist-info}/METADATA +1 -1
- {umap_project-3.0.0.dist-info → umap_project-3.0.1.dist-info}/RECORD +7 -7
- {umap_project-3.0.0.dist-info → umap_project-3.0.1.dist-info}/WHEEL +0 -0
- {umap_project-3.0.0.dist-info → umap_project-3.0.1.dist-info}/entry_points.txt +0 -0
- {umap_project-3.0.0.dist-info → umap_project-3.0.1.dist-info}/licenses/LICENSE +0 -0
umap/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION = "3.0.
|
|
1
|
+
VERSION = "3.0.1"
|
|
@@ -132,6 +132,9 @@ export class MutatingForm extends Form {
|
|
|
132
132
|
const properties = Object.assign({}, defaults)
|
|
133
133
|
if (properties.type === Array) {
|
|
134
134
|
properties.handler = 'CheckBoxes'
|
|
135
|
+
} else if (properties.type === Boolean) {
|
|
136
|
+
if (properties.nullable) properties.handler = 'NullableChoices'
|
|
137
|
+
else properties.handler = 'Switch'
|
|
135
138
|
} else if (properties.choices) {
|
|
136
139
|
const text_length = properties.choices.reduce(
|
|
137
140
|
(acc, [_, label]) => acc + label.length,
|
|
@@ -145,9 +148,6 @@ export class MutatingForm extends Form {
|
|
|
145
148
|
properties.handler = 'Select'
|
|
146
149
|
properties.selectOptions = properties.choices
|
|
147
150
|
}
|
|
148
|
-
} else if (properties.type === Boolean) {
|
|
149
|
-
if (properties.nullable) properties.handler = 'NullableChoices'
|
|
150
|
-
else properties.handler = 'Switch'
|
|
151
151
|
} else if (properties.type === 'Text') {
|
|
152
152
|
properties.handler = 'Textarea'
|
|
153
153
|
} else if (properties.type === Number) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
umap/__init__.py,sha256=
|
|
1
|
+
umap/__init__.py,sha256=yK7aOUt_pFy8YQaEzXO6v5ZbKRSr9eAB9NpoD7gEyk4,18
|
|
2
2
|
umap/admin.py,sha256=YlK4CgEWb2eFYRKiklsKouxeiQ8z_b-H2Fv2XCaiGFQ,3014
|
|
3
3
|
umap/apps.py,sha256=5ssKqPUuNJlapaBmr4LY_HDb7J1NFCT3wzythxQOOfs,109
|
|
4
4
|
umap/asgi.py,sha256=sJkGqDLgMoPkq2nMRyRE_Hz3ZLJm1X5lgXiQJu6rYt0,660
|
|
@@ -256,7 +256,7 @@ umap/static/umap/js/modules/urls.js,sha256=76cFqycj2O8huuoYYBvxnVt2Fc2UDbgrRsiv6
|
|
|
256
256
|
umap/static/umap/js/modules/utils.js,sha256=hP16vfGAb4aE2XWG0MTVKtHnPcqIVGmNt4BCadMJAC0,15916
|
|
257
257
|
umap/static/umap/js/modules/data/features.js,sha256=PRImf5E9kykrQc0C3XZ_TbISfTe1g8nPG6fh_ye99nQ,33185
|
|
258
258
|
umap/static/umap/js/modules/data/layer.js,sha256=YsazQ0_9ojAtiDO9McdqNr4D0MOXX-xVDA-qN_nb7TY,35940
|
|
259
|
-
umap/static/umap/js/modules/form/builder.js,sha256
|
|
259
|
+
umap/static/umap/js/modules/form/builder.js,sha256=-V3t6L2YZXwICi2ks5VAhh2Iyq2fYxxkV2iYIsaaRaQ,6435
|
|
260
260
|
umap/static/umap/js/modules/form/fields.js,sha256=tnggW6HdcVOPLZo2ZKV0QGMWDctz4tLo4bVhaD1IU8Q,34285
|
|
261
261
|
umap/static/umap/js/modules/importers/banfr.js,sha256=TBwL3GQJdzYtaDtxeHxyPQ7Ycy5zTaQyvzXa55X7n2I,2932
|
|
262
262
|
umap/static/umap/js/modules/importers/cadastrefr.js,sha256=aTMmeMvg1vBcTn8DNFqRohELlOLEhyp9OjD3ymLqPSs,2262
|
|
@@ -576,8 +576,8 @@ umap/tests/integration/test_view_marker.py,sha256=NFCwNez__E_WsE1DuW5RuB0HVKDP4C
|
|
|
576
576
|
umap/tests/integration/test_view_polygon.py,sha256=NMJC6Nt9VpQ8FIU9Pqq2OspHv49xsWlsoXCr8iBa0VA,2060
|
|
577
577
|
umap/tests/integration/test_view_polyline.py,sha256=aJoXKmLhJaN0yhPdDCVskZNGx3q3mLDkjVPhZ30cadA,13959
|
|
578
578
|
umap/tests/integration/test_websocket_sync.py,sha256=iASlErX-nZZWu7zGvSe1KHL68EXnEOTjEL9B6wZK-KQ,28300
|
|
579
|
-
umap_project-3.0.
|
|
580
|
-
umap_project-3.0.
|
|
581
|
-
umap_project-3.0.
|
|
582
|
-
umap_project-3.0.
|
|
583
|
-
umap_project-3.0.
|
|
579
|
+
umap_project-3.0.1.dist-info/METADATA,sha256=eDoWzxUGTaJfl77prZoslkkhlljPkPTgWWwqb7jlCkg,3016
|
|
580
|
+
umap_project-3.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
581
|
+
umap_project-3.0.1.dist-info/entry_points.txt,sha256=gz-KDQfEsMLBae8ABOD3foJsCYGPW1tA4Y394R_1RW8,39
|
|
582
|
+
umap_project-3.0.1.dist-info/licenses/LICENSE,sha256=kQtrtRKgiPhcl7aO0-lmvbrNAXu7WHyiXvPrUk-TD2Q,820
|
|
583
|
+
umap_project-3.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|