phanterpwa 13.13.18__py3-none-any.whl → 13.13.20__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/auth_user.py +2 -2
- phanterpwa/frontend/components/widgets.py +0 -1
- phanterpwa/frontend/fmasks.py +3 -1
- phanterpwa/frontend/helpers.py +1 -1
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/METADATA +1 -1
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/RECORD +12 -12
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/LICENSE +0 -0
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/WHEEL +0 -0
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/dependency_links.txt +0 -0
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/entry_points.txt +0 -0
- {phanterpwa-13.13.18.dist-info → phanterpwa-13.13.20.dist-info}/top_level.txt +0 -0
phanterpwa/__init__.py
CHANGED
|
@@ -199,7 +199,7 @@ class AuthUser(application.Component):
|
|
|
199
199
|
first_name,
|
|
200
200
|
last_name
|
|
201
201
|
)
|
|
202
|
-
if jQuery("#toggle-cmp-bar_user").
|
|
202
|
+
if jQuery("#toggle-cmp-bar_user").length == 1:
|
|
203
203
|
jQuery("#user_first_and_last_name_login").text(complete_name)
|
|
204
204
|
jQuery("#user_role_login").html(role)
|
|
205
205
|
src_image = jQuery("#url_image_user").attr("src")
|
|
@@ -2770,7 +2770,7 @@ class Profile(gatehandler.Handler):
|
|
|
2770
2770
|
"afterCut": lambda: self.submit()
|
|
2771
2771
|
}
|
|
2772
2772
|
)
|
|
2773
|
-
if not jQuery("#phanterpwa-component-left_bar-url-imagem-user").
|
|
2773
|
+
if not jQuery("#phanterpwa-component-left_bar-url-imagem-user").length == 0:
|
|
2774
2774
|
jQuery("#phanterpwa-component-left_bar-url-imagem-user").attr(
|
|
2775
2775
|
"src", user_image)
|
|
2776
2776
|
jQuery("#url_image_user").attr("src", user_image)
|
|
@@ -330,7 +330,6 @@ class Input(Widget):
|
|
|
330
330
|
masks.Mask(target.find("input").select(), lambda val: masks.maskFone(val))
|
|
331
331
|
elif self._mask == "real":
|
|
332
332
|
v = masks.Currency(target.find("input").select(), icurrency="R$")
|
|
333
|
-
console.log(v)
|
|
334
333
|
elif self._mask == "dolar":
|
|
335
334
|
masks.Currency(target.find("input").select(), separador_decimal=".", separador_milhar=",", icurrency="$")
|
|
336
335
|
else:
|
phanterpwa/frontend/fmasks.py
CHANGED
|
@@ -540,6 +540,7 @@ def stringForceToFloatstring(value, force_dot=False, localeBR=True):
|
|
|
540
540
|
if isNotEmpty(value):
|
|
541
541
|
value = str(value)
|
|
542
542
|
if localeBR:
|
|
543
|
+
value = value.replace(".", "")
|
|
543
544
|
value = value.replace(",", ".")
|
|
544
545
|
value = stringFilter(value, ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "."])
|
|
545
546
|
value = justSearchedCaracter(value)
|
|
@@ -560,7 +561,8 @@ def stringForceToFloatstring(value, force_dot=False, localeBR=True):
|
|
|
560
561
|
def stringToFloatstringLimitDecimals(value, casas_decimais=2, localeBR=True):
|
|
561
562
|
value = str(value)
|
|
562
563
|
if isNotEmpty(value):
|
|
563
|
-
if
|
|
564
|
+
if localeBR:
|
|
565
|
+
value = value.replace(".", "")
|
|
564
566
|
value = value.replace(",", ".")
|
|
565
567
|
value = stringFilter(value, ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "."])
|
|
566
568
|
value = justSearchedCaracter(value)
|
phanterpwa/frontend/helpers.py
CHANGED
|
@@ -96,7 +96,7 @@ class XmlConstructor():
|
|
|
96
96
|
def insert_to(self, selector, position=0):
|
|
97
97
|
self.xml()
|
|
98
98
|
target = jQuery(selector)
|
|
99
|
-
last_index = target.children().
|
|
99
|
+
last_index = target.children().length
|
|
100
100
|
if position < 0:
|
|
101
101
|
position = max(0, last_index + 1 + position)
|
|
102
102
|
target.append(self.__jquery_object)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
phanterpwa/__init__.py,sha256=
|
|
1
|
+
phanterpwa/__init__.py,sha256=3HX00SgctuO0PW8TAmWxJ7OxgARta645RLztwBwks7M,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
|
|
@@ -85,11 +85,11 @@ phanterpwa/components/preloaders/squares.sass,sha256=kH1I89qEfmbvYxCtKFVNcxP5bWI
|
|
|
85
85
|
phanterpwa/frontend/__init__.py,sha256=KjlnaINX8_d_4AFmWE_ZRzG8_rcxJXqUcf-FVy3fv_E,142
|
|
86
86
|
phanterpwa/frontend/application.py,sha256=6EoTCcbl03gRbRTRYYIxjWEdLYvyfpq7qeNeKQfFpOY,57208
|
|
87
87
|
phanterpwa/frontend/decorators.py,sha256=Qrwqnk8-4N5xZCpDrcya6H1b5yFEHhUMOWT3H63p4KQ,4042
|
|
88
|
-
phanterpwa/frontend/fmasks.py,sha256=
|
|
88
|
+
phanterpwa/frontend/fmasks.py,sha256=SgjJUlwFP927GYNeVaGPeZuH8p8KN8ipQzn-DKZd-6w,42522
|
|
89
89
|
phanterpwa/frontend/forms.py,sha256=eoAkZRQm7nJweTA1_4YZ5r4YvpJUvWisgwQqxwtCK5g,42588
|
|
90
90
|
phanterpwa/frontend/gallery.py,sha256=9r3WlnQgRnDDWT74Gl03avQAR4MWWHonvjXUnZuEUA4,33833
|
|
91
91
|
phanterpwa/frontend/gatehandler.py,sha256=KjM4LRstq6P4COEfe3ZptNFQKxHoIEC-LtaFGzoe7wY,14753
|
|
92
|
-
phanterpwa/frontend/helpers.py,sha256=
|
|
92
|
+
phanterpwa/frontend/helpers.py,sha256=8XLVDPPz8ugyT84cAUqskqST-t9qH08zPvbFG2x8ncE,9861
|
|
93
93
|
phanterpwa/frontend/i18n.py,sha256=L_z3L5J4_6BMVkXtv4SLEUuk_Sr9WS1YgHPQgNXTedQ,4593
|
|
94
94
|
phanterpwa/frontend/initializer.py,sha256=spkM6I9-cUXZAABsYticGjzmt9nojmOqGqLnWVbc4lo,41699
|
|
95
95
|
phanterpwa/frontend/preloaders.py,sha256=FUGp7AyWvT5FVJPlGYfZtu9O-lK80Er0uSKOWvfJCKI,4927
|
|
@@ -100,7 +100,7 @@ phanterpwa/frontend/validations.py,sha256=_9ors0oNyqvdOxI-2uwA-8JvAt-YPg_i6CZS7U
|
|
|
100
100
|
phanterpwa/frontend/websocket.py,sha256=AqM1HiWTjHWLKXYXjzgEsNROgKKTZwfUgCKmpIGpIJQ,4381
|
|
101
101
|
phanterpwa/frontend/components/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
102
102
|
phanterpwa/frontend/components/admin.py,sha256=nSUxhLm1Ow5mrSHyvFBk4msHnfWwajyqEKj0_Guv0es,69794
|
|
103
|
-
phanterpwa/frontend/components/auth_user.py,sha256=
|
|
103
|
+
phanterpwa/frontend/components/auth_user.py,sha256=x96WK8cVmzOfiGc5HDyy-wmYTw1e63KAl8QAMiw_cus,172952
|
|
104
104
|
phanterpwa/frontend/components/datetimepicker.py,sha256=3di9qAg1FEhaUeayQTzq3QEuwHxfuhYT3fWTjFkhW7U,57394
|
|
105
105
|
phanterpwa/frontend/components/events.py,sha256=w2Si1G5x-R8oy7bcETFrZHjIkdFC1jXV-SxVsEBKV-Q,3726
|
|
106
106
|
phanterpwa/frontend/components/gallery.py,sha256=4iUsqqfyfOf0Fl8Wasg7R9IjvQrbWMUMzjUx9noXPs4,34075
|
|
@@ -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=X1WGu4tcUxt5taR8tL9b-whTg6mw-B-o_er35m1XY08,233739
|
|
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=PN5jJyLvJjgFvfEznb7uOqH5ISIrHn8BNWcQ548Cjtw,7220
|
|
@@ -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.13.
|
|
439
|
-
phanterpwa-13.13.
|
|
440
|
-
phanterpwa-13.13.
|
|
441
|
-
phanterpwa-13.13.
|
|
442
|
-
phanterpwa-13.13.
|
|
443
|
-
phanterpwa-13.13.
|
|
444
|
-
phanterpwa-13.13.
|
|
438
|
+
phanterpwa-13.13.20.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
|
|
439
|
+
phanterpwa-13.13.20.dist-info/METADATA,sha256=Rku88k-uHBRUf2_2dKmVCOB15CtF1v-HFDeRuBY77P8,1940
|
|
440
|
+
phanterpwa-13.13.20.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
441
|
+
phanterpwa-13.13.20.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
|
|
442
|
+
phanterpwa-13.13.20.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
|
|
443
|
+
phanterpwa-13.13.20.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
|
|
444
|
+
phanterpwa-13.13.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|