pywebexec 2.0.16__py3-none-any.whl → 2.0.18__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.
- pywebexec/static/css/form.css +1 -1
- pywebexec/static/js/schemaform.js +8 -3
- pywebexec/version.py +2 -2
- {pywebexec-2.0.16.dist-info → pywebexec-2.0.18.dist-info}/METADATA +1 -1
- {pywebexec-2.0.16.dist-info → pywebexec-2.0.18.dist-info}/RECORD +9 -9
- {pywebexec-2.0.16.dist-info → pywebexec-2.0.18.dist-info}/LICENSE +0 -0
- {pywebexec-2.0.16.dist-info → pywebexec-2.0.18.dist-info}/WHEEL +0 -0
- {pywebexec-2.0.16.dist-info → pywebexec-2.0.18.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.0.16.dist-info → pywebexec-2.0.18.dist-info}/top_level.txt +0 -0
pywebexec/static/css/form.css
CHANGED
@@ -11,11 +11,16 @@ function adjustInputWidth(input) {
|
|
11
11
|
function formInputHandle() {
|
12
12
|
schemaForm.querySelectorAll('input[type="text"], input[type="number"]').forEach(input => {
|
13
13
|
if (! inputHandlers.includes(input)) {
|
14
|
-
|
15
|
-
|
14
|
+
val = input.value || input.placeholder;
|
15
|
+
if (val) {
|
16
|
+
size = Math.max(val.length - 2, 2)
|
17
|
+
if (input.type== 'number') {
|
18
|
+
size += 2;
|
19
|
+
}
|
16
20
|
} else {
|
17
|
-
|
21
|
+
size = 12;
|
18
22
|
}
|
23
|
+
input.setAttribute('size', size);
|
19
24
|
input.addEventListener('input', () => adjustInputWidth(input));
|
20
25
|
inputHandlers.push(input);
|
21
26
|
}
|
pywebexec/version.py
CHANGED
@@ -2,8 +2,8 @@ pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
|
|
2
2
|
pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
|
3
3
|
pywebexec/pywebexec.py,sha256=z_ri7z0r2jrpf1yeih1TEFaBnH39y40zfmuZY2UIu5c,42061
|
4
4
|
pywebexec/swagger.yaml,sha256=j-KZnU4rGR-Fsk8y_EbqYzqVgtAZ8EjZIKAqZSxyyc0,5858
|
5
|
-
pywebexec/version.py,sha256=
|
6
|
-
pywebexec/static/css/form.css,sha256=
|
5
|
+
pywebexec/version.py,sha256=e-tkRgNzxgUutWzhKP9ag6f9Qtd-2rtdKqumFuRQbTk,513
|
6
|
+
pywebexec/static/css/form.css,sha256=Zek0sCsO6CEP5fqss2C8P-OLg9FysP8r-90xwxwSWRk,4471
|
7
7
|
pywebexec/static/css/markdown.css,sha256=3RzUnpVBdF6cQuB_NXV7hMTc0quYU8sfyuZcpsREj6A,1939
|
8
8
|
pywebexec/static/css/style.css,sha256=ynccbEDzK07rurLm-UirUs5j_hVfXlIgaHeUIq9WvA0,9969
|
9
9
|
pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
|
@@ -35,7 +35,7 @@ pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_q
|
|
35
35
|
pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVaSXifIkoU0,2117
|
36
36
|
pywebexec/static/js/executables.js,sha256=3HfOsrrurtnVd-AAHpkAtvnbJDB8k7nxRwtZXRQTzuI,11767
|
37
37
|
pywebexec/static/js/popup.js,sha256=0fr3pp4j9D2fXEVnHyQrx2bPWFHfgbb336dbewgH1d8,9023
|
38
|
-
pywebexec/static/js/schemaform.js,sha256=
|
38
|
+
pywebexec/static/js/schemaform.js,sha256=ll6V2SqPsGKrjzJ2K4tE8mto_Q9A4xFaqhn_vUABl-s,3188
|
39
39
|
pywebexec/static/js/script.js,sha256=fwTo9Iz4xsl6wGs-Nm8-Ng8aXzDfvews5cHfzhSfg_0,17987
|
40
40
|
pywebexec/static/js/swagger-form.js,sha256=uTRGKrcyBqq910RLmdlV-HpFri3RaAXpqUPSQSyoe6o,3806
|
41
41
|
pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
|
@@ -66,9 +66,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
66
66
|
pywebexec/templates/index.html,sha256=KeNLBH9PN_ZuGhzwrjvRTj2oBtbINv_SbwGQpOahNWo,3820
|
67
67
|
pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
|
68
68
|
pywebexec/templates/swagger_ui.html,sha256=9ngyldkyEdLonBjl97mbIZUlVk-jxwcHrvFzMSrveyU,1067
|
69
|
-
pywebexec-2.0.
|
70
|
-
pywebexec-2.0.
|
71
|
-
pywebexec-2.0.
|
72
|
-
pywebexec-2.0.
|
73
|
-
pywebexec-2.0.
|
74
|
-
pywebexec-2.0.
|
69
|
+
pywebexec-2.0.18.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
70
|
+
pywebexec-2.0.18.dist-info/METADATA,sha256=Vrzwf22hE2ctVTZvR6Rd-Cl16lfs1xzT4OlUWmqUnCU,11645
|
71
|
+
pywebexec-2.0.18.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
72
|
+
pywebexec-2.0.18.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
73
|
+
pywebexec-2.0.18.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
74
|
+
pywebexec-2.0.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|