phanterpwa 14.1.0__py3-none-any.whl → 14.1.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.
- phanterpwa/__init__.py +1 -1
- phanterpwa/frontend/components/widgets.py +18 -8
- phanterpwa/frontend/forms.py +1 -0
- phanterpwa/usual_sass/components/widgets.sass +2 -2
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/METADATA +1 -1
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/RECORD +11 -11
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/LICENSE +0 -0
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/WHEEL +0 -0
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/dependency_links.txt +0 -0
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/entry_points.txt +0 -0
- {phanterpwa-14.1.0.dist-info → phanterpwa-14.1.1.dist-info}/top_level.txt +0 -0
phanterpwa/__init__.py
CHANGED
@@ -5932,14 +5932,24 @@ class Button(Widget):
|
|
5932
5932
|
default_disabled = None
|
5933
5933
|
if self._disabled is True:
|
5934
5934
|
default_disabled = "disabled"
|
5935
|
-
|
5936
|
-
|
5937
|
-
|
5938
|
-
|
5939
|
-
|
5940
|
-
|
5941
|
-
|
5942
|
-
|
5935
|
+
if parameters.get("use_div_tag", None) is not None:
|
5936
|
+
html = DIV(
|
5937
|
+
label,
|
5938
|
+
DIV(_class="loading1"),
|
5939
|
+
DIV(_class="loading2"),
|
5940
|
+
_class="btn wave_on_click",
|
5941
|
+
_id=self._id_button,
|
5942
|
+
_disabled=default_disabled
|
5943
|
+
)
|
5944
|
+
else:
|
5945
|
+
html = BUTTON(
|
5946
|
+
label,
|
5947
|
+
DIV(_class="loading1"),
|
5948
|
+
DIV(_class="loading2"),
|
5949
|
+
_class="btn wave_on_click",
|
5950
|
+
_id=self._id_button,
|
5951
|
+
_disabled=default_disabled
|
5952
|
+
)
|
5943
5953
|
self._has_href = None
|
5944
5954
|
if "_href" in parameters:
|
5945
5955
|
self._has_href = parameters["_href"]
|
phanterpwa/frontend/forms.py
CHANGED
@@ -272,6 +272,7 @@ class FormButton(helpers.XmlConstructor):
|
|
272
272
|
|
273
273
|
def _update_content(self):
|
274
274
|
attributes = self.button_attributes
|
275
|
+
attributes["use_div_tag"] = True
|
275
276
|
uni = window.PhanterPWA.get_id()
|
276
277
|
self.content = [
|
277
278
|
widgets.Button("button_{}".format(uni), self.label, **attributes)
|
@@ -2242,7 +2242,7 @@ table
|
|
2242
2242
|
|
2243
2243
|
.phanterpwa-widget
|
2244
2244
|
&.phanterpwa-widget-button
|
2245
|
-
button
|
2245
|
+
button, div, a
|
2246
2246
|
.loading2, .loading1
|
2247
2247
|
display: none
|
2248
2248
|
transform: rotate(29deg)
|
@@ -2254,7 +2254,7 @@ table
|
|
2254
2254
|
left: -50%
|
2255
2255
|
|
2256
2256
|
&.loading
|
2257
|
-
button
|
2257
|
+
button, div, a
|
2258
2258
|
&.btn
|
2259
2259
|
background-image: linear-gradient(#9d9d9d, #d0d0d0)
|
2260
2260
|
&:hover
|
@@ -1,4 +1,4 @@
|
|
1
|
-
phanterpwa/__init__.py,sha256=
|
1
|
+
phanterpwa/__init__.py,sha256=gV55QPtxJKIIRicDh1Qzmy-fenDmMRguO5DrTaxYmbM,396
|
2
2
|
phanterpwa/__main__.py,sha256=1vSHtv6-sgAgpZiklf9bwarXX1b-fmKx1rjwJw4h78o,4017
|
3
3
|
phanterpwa/compiler.py,sha256=Je3qtVO_cZ69_PPWcXKyBgnRfQ-Ev-zkZ3UTN-ddOTQ,47478
|
4
4
|
phanterpwa/configer.py,sha256=PFO_nVy9r6yt5iDso1amDIR0Ge2UYYK3h-ae9M0Ezyk,26359
|
@@ -86,7 +86,7 @@ phanterpwa/frontend/__init__.py,sha256=KjlnaINX8_d_4AFmWE_ZRzG8_rcxJXqUcf-FVy3fv
|
|
86
86
|
phanterpwa/frontend/application.py,sha256=6EoTCcbl03gRbRTRYYIxjWEdLYvyfpq7qeNeKQfFpOY,57208
|
87
87
|
phanterpwa/frontend/decorators.py,sha256=Qrwqnk8-4N5xZCpDrcya6H1b5yFEHhUMOWT3H63p4KQ,4042
|
88
88
|
phanterpwa/frontend/fmasks.py,sha256=SgjJUlwFP927GYNeVaGPeZuH8p8KN8ipQzn-DKZd-6w,42522
|
89
|
-
phanterpwa/frontend/forms.py,sha256=
|
89
|
+
phanterpwa/frontend/forms.py,sha256=_NCS6GWsyDU7d4DW3P1joz5LkT9SfPtCDCxAfCFoq2o,42785
|
90
90
|
phanterpwa/frontend/gallery.py,sha256=9r3WlnQgRnDDWT74Gl03avQAR4MWWHonvjXUnZuEUA4,33833
|
91
91
|
phanterpwa/frontend/gatehandler.py,sha256=KjM4LRstq6P4COEfe3ZptNFQKxHoIEC-LtaFGzoe7wY,14753
|
92
92
|
phanterpwa/frontend/helpers.py,sha256=8XLVDPPz8ugyT84cAUqskqST-t9qH08zPvbFG2x8ncE,9861
|
@@ -109,7 +109,7 @@ phanterpwa/frontend/components/modal.py,sha256=q4v2z3HUS58lJ49E6ZWCEkSRVXy7kMiy5
|
|
109
109
|
phanterpwa/frontend/components/pagination.py,sha256=IJIyReYbKRj4OTVsZbNiCMfSOIq7qSLpFTF9qQdPbFM,791
|
110
110
|
phanterpwa/frontend/components/snippets.py,sha256=fm-QPIJ_Mv8fSHsS3UK8Bq8Iw_ziaECwEr-VjcaiPQw,4060
|
111
111
|
phanterpwa/frontend/components/top_slide.py,sha256=ReB0z63I9HjT8iq6ZfNB56KoZLzBxdfcFCIw7QjRQvU,3175
|
112
|
-
phanterpwa/frontend/components/widgets.py,sha256=
|
112
|
+
phanterpwa/frontend/components/widgets.py,sha256=fkX69HpzD2B85j1_DE60jnLWk5r4GsGIunLTCtL9yQ4,264227
|
113
113
|
phanterpwa/frontend/plugins/client.py,sha256=0x1HmGq6-WAap9RGl2szQj1GXClyGVtnznuYMwpUdb8,27481
|
114
114
|
phanterpwa/gallery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
115
|
phanterpwa/gallery/cutter.py,sha256=0-VnFa3aQ5XgNmA4P3BsL-_04IwkjrgHImKIrL3qViM,7789
|
@@ -417,7 +417,7 @@ phanterpwa/usual_sass/components/pseudomodal.sass,sha256=Z6uYVGhdbE5sIvMwLmEEPRI
|
|
417
417
|
phanterpwa/usual_sass/components/run_points.sass,sha256=TOT-nxwirb2bl-s3pXMHPB8YHcpmp0vyihBydqOfAw4,3491
|
418
418
|
phanterpwa/usual_sass/components/sections.sass,sha256=OuicHuoa-OBEfQc-yPROAf-NjNj8IIp62tJ2Lr8FSBM,1536
|
419
419
|
phanterpwa/usual_sass/components/snippet.sass,sha256=jFzpE1G0HvN6Gr74saBS8Me5-9hC1t0XesYoytaEtNY,811
|
420
|
-
phanterpwa/usual_sass/components/widgets.sass,sha256=
|
420
|
+
phanterpwa/usual_sass/components/widgets.sass,sha256=s6TFOQBcAxrTfLjKw6lfstWEduPkj26eN-RtbbGINKM,85574
|
421
421
|
phanterpwa/usual_sass/components/xtable.sass,sha256=veuTpQ_KquwV0JNgG9BoSVo_s8McfCfFU4tIZhgoS2A,5243
|
422
422
|
phanterpwa/usual_sass/display/grid.sass,sha256=3GKRGsdHJuynVxa5sP3Wpo4y0jhT3QeVUIkDNPwAJK0,42388
|
423
423
|
phanterpwa/usual_sass/display/media_print.sass,sha256=OQB6xntrN5NQLaQwcam340MS7WZsldOIHlYW46EG2Mc,3962
|
@@ -435,10 +435,10 @@ phanterpwa/usual_sass/preloaders/indefined_text.sass,sha256=z4JuUtBrzoqH3HuNFXvN
|
|
435
435
|
phanterpwa/usual_sass/preloaders/run_points.sass,sha256=EYl93ljfgAc-ZLJ0VScrCoIlHP7Nr6NLdxj1zk2wm_E,3367
|
436
436
|
phanterpwa/usual_sass/preloaders/square.sass,sha256=TOsh9muP4zkYLUJcw4i1LeRs60NrtgRWBk_1oMt2_58,1348
|
437
437
|
phanterpwa/usual_sass/preloaders/squares.sass,sha256=kH1I89qEfmbvYxCtKFVNcxP5bWIjnqbheXVnyGF0VNo,3862
|
438
|
-
phanterpwa-14.1.
|
439
|
-
phanterpwa-14.1.
|
440
|
-
phanterpwa-14.1.
|
441
|
-
phanterpwa-14.1.
|
442
|
-
phanterpwa-14.1.
|
443
|
-
phanterpwa-14.1.
|
444
|
-
phanterpwa-14.1.
|
438
|
+
phanterpwa-14.1.1.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
|
439
|
+
phanterpwa-14.1.1.dist-info/METADATA,sha256=LOVrqmqYq66yiVdeKzRUegkwWSiYpg9aN3dK4KxTOMI,1938
|
440
|
+
phanterpwa-14.1.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
441
|
+
phanterpwa-14.1.1.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
|
442
|
+
phanterpwa-14.1.1.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
|
443
|
+
phanterpwa-14.1.1.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
|
444
|
+
phanterpwa-14.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|