phanterpwa 13.14.9__py3-none-any.whl → 13.14.11__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 +7 -0
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/METADATA +1 -1
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/RECORD +9 -9
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/LICENSE +0 -0
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/WHEEL +0 -0
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/dependency_links.txt +0 -0
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/entry_points.txt +0 -0
- {phanterpwa-13.14.9.dist-info → phanterpwa-13.14.11.dist-info}/top_level.txt +0 -0
phanterpwa/__init__.py
CHANGED
|
@@ -3024,6 +3024,8 @@ class Inert(Widget):
|
|
|
3024
3024
|
self._wear = parameters.get("wear", "material")
|
|
3025
3025
|
self._form = parameters.get("form", None)
|
|
3026
3026
|
self._kind = parameters.get("kind", "text")
|
|
3027
|
+
self._icon = parameters.get("icon", None)
|
|
3028
|
+
self._icon_on_click = parameters.get("icon_on_click", None)
|
|
3027
3029
|
wrapper_attr = {
|
|
3028
3030
|
"_class": "phanterpwa-widget-wrapper its_disabled phanterpwa-widget-wear-{0} {1}".format(
|
|
3029
3031
|
self._wear,
|
|
@@ -3058,6 +3060,10 @@ class Inert(Widget):
|
|
|
3058
3060
|
if self._value is not "":
|
|
3059
3061
|
wrapper_attr["_class"] = "{0}{1}".format(wrapper_attr["_class"], " has_value")
|
|
3060
3062
|
|
|
3063
|
+
if self._icon is not None:
|
|
3064
|
+
xml_icon = DIV(self._icon, _class="phanterpwa-widget-icon-wrapper icon_button wave_on_click")
|
|
3065
|
+
wrapper_attr["_class"] = "{0}{1}".format(wrapper_attr["_class"], " has_icon")
|
|
3066
|
+
|
|
3061
3067
|
html = DIV(
|
|
3062
3068
|
INPUT(**{
|
|
3063
3069
|
"_id": "phanterpwa-widget-inert-input-{0}".format(identifier),
|
|
@@ -3069,6 +3075,7 @@ class Inert(Widget):
|
|
|
3069
3075
|
}),
|
|
3070
3076
|
HR(_class="material-widgets-animation-offfocus"),
|
|
3071
3077
|
label,
|
|
3078
|
+
xml_icon,
|
|
3072
3079
|
**wrapper_attr
|
|
3073
3080
|
)
|
|
3074
3081
|
Widget.__init__(self, identifier, html, **parameters)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
phanterpwa/__init__.py,sha256
|
|
1
|
+
phanterpwa/__init__.py,sha256=-5p8_sd6NlOWeQjO44xS17iubJi0kfMlxxzJPKE2uA0,398
|
|
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=O0IO5rf-hwFNdBjcz94OF-fqXKTWbqPElTsfS5V2beY,26327
|
|
@@ -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=oFAK1kHCfvvuM3uoddmx12jNqYFCvAIjJ5U6xMPjrfg,263543
|
|
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
|
|
@@ -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-13.14.
|
|
439
|
-
phanterpwa-13.14.
|
|
440
|
-
phanterpwa-13.14.
|
|
441
|
-
phanterpwa-13.14.
|
|
442
|
-
phanterpwa-13.14.
|
|
443
|
-
phanterpwa-13.14.
|
|
444
|
-
phanterpwa-13.14.
|
|
438
|
+
phanterpwa-13.14.11.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
|
|
439
|
+
phanterpwa-13.14.11.dist-info/METADATA,sha256=ehFtvGZ2-GaQ4m4f_C5Zrunaymu25nCAzhLaQcOLecs,1940
|
|
440
|
+
phanterpwa-13.14.11.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
441
|
+
phanterpwa-13.14.11.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
|
|
442
|
+
phanterpwa-13.14.11.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
|
|
443
|
+
phanterpwa-13.14.11.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
|
|
444
|
+
phanterpwa-13.14.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|