pywebexec 2.4.22__py3-none-any.whl → 2.4.24__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 +10 -0
- pywebexec/static/jsonform/lib/jsonform.js +7 -4
- pywebexec/version.py +2 -2
- {pywebexec-2.4.22.dist-info → pywebexec-2.4.24.dist-info}/METADATA +1 -1
- {pywebexec-2.4.22.dist-info → pywebexec-2.4.24.dist-info}/RECORD +9 -9
- {pywebexec-2.4.22.dist-info → pywebexec-2.4.24.dist-info}/WHEEL +0 -0
- {pywebexec-2.4.22.dist-info → pywebexec-2.4.24.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.4.22.dist-info → pywebexec-2.4.24.dist-info}/licenses/LICENSE +0 -0
- {pywebexec-2.4.22.dist-info → pywebexec-2.4.24.dist-info}/top_level.txt +0 -0
pywebexec/static/css/form.css
CHANGED
@@ -397,6 +397,16 @@
|
|
397
397
|
}
|
398
398
|
.tab-pane > div {
|
399
399
|
display: flex;
|
400
|
+
gap: 5px;
|
401
|
+
}
|
402
|
+
.ace_editor {
|
403
|
+
resize: horizontal;
|
404
|
+
overflow: hidden;
|
405
|
+
}
|
406
|
+
.ace_placeholder {
|
407
|
+
opacity: 0.4;
|
408
|
+
font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "Source Code Pro", "source-code-pro", monospace;
|
409
|
+
font-size: 12px;
|
400
410
|
}
|
401
411
|
}
|
402
412
|
|
@@ -372,7 +372,7 @@ jsonform.elementTypes = {
|
|
372
372
|
'<%= (node.schemaElement && node.schemaElement.minLength ? " minlength=\'" + node.schemaElement.minLength + "\'" : "") %>' +
|
373
373
|
'<%= (node.schemaElement && node.schemaElement.maxLength ? " maxlength=\'" + node.schemaElement.maxLength + "\'" : "") %>' +
|
374
374
|
'<%= (node.schemaElement && node.schemaElement.required ? " required=\'required\'" : "") %>' +
|
375
|
-
'<%= (node.placeholder? " placeholder=" + \'"\' + escape(node.placeholder) + \'"\' : "")%>' +
|
375
|
+
'<%= (node.placeholder? " placeholder=" + \'"\' + escape(node.placeholder) + \'"\' : "")||(node.schemaElement && node.schemaElement.example ? " placeholder=" + \'"\' + escape(node.schemaElement.example) + \'"\' : "")%>' +
|
376
376
|
'><%= value %></textarea>',
|
377
377
|
'fieldtemplate': true,
|
378
378
|
'inputfield': true
|
@@ -386,7 +386,7 @@ jsonform.elementTypes = {
|
|
386
386
|
'<%= (node.schemaElement && node.schemaElement.minLength ? " minlength=\'" + node.schemaElement.minLength + "\'" : "") %>' +
|
387
387
|
'<%= (node.schemaElement && node.schemaElement.maxLength ? " maxlength=\'" + node.schemaElement.maxLength + "\'" : "") %>' +
|
388
388
|
'<%= (node.schemaElement && node.schemaElement.required ? " required=\'required\'" : "") %>' +
|
389
|
-
'<%= (node.placeholder? " placeholder=" + \'"\' + escape(node.placeholder) + \'"\' : "")%>' +
|
389
|
+
'<%= (node.placeholder? " placeholder=" + \'"\' + escape(node.placeholder) + \'"\' : "")||(node.schemaElement && node.schemaElement.example ? " placeholder=" + \'"\' + escape(node.schemaElement.example) + \'"\' : "")%>' +
|
390
390
|
'><%= value %></textarea>',
|
391
391
|
'fieldtemplate': true,
|
392
392
|
'inputfield': true,
|
@@ -428,7 +428,7 @@ jsonform.elementTypes = {
|
|
428
428
|
}
|
429
429
|
},
|
430
430
|
'ace':{
|
431
|
-
'template':'<div id="<%= id %>" style="position:relative;height:<%= elt.height || "300px" %>;"><div id="<%= id %>__ace" style="width:<%= elt.width || "100%" %>;height:<%= elt.height || "300px" %>;"></div><input type="hidden" name="<%= node.name %>" id="<%= id %>__hidden" value="<%= escape(value) %>"/></div>',
|
431
|
+
'template':'<div id="<%= id %>" style="position:relative;min-height:<%= elt.height || "300px" %>;"><div id="<%= id %>__ace" style="min-width:<%= elt.width || "100%" %>;min-height:<%= elt.height || "300px" %>;"></div><input type="hidden" name="<%= node.name %>" id="<%= id %>__hidden" value="<%= escape(value) %>"/></div>',
|
432
432
|
'fieldtemplate': true,
|
433
433
|
'inputfield': true,
|
434
434
|
'onInsert': function (evt, node) {
|
@@ -442,7 +442,10 @@ jsonform.elementTypes = {
|
|
442
442
|
editor.getSession().setNewLineMode('unix');
|
443
443
|
editor.renderer.setShowPrintMargin(false);
|
444
444
|
editor.setTheme("ace/theme/"+(formElement.aceTheme||"twilight"));
|
445
|
-
|
445
|
+
editor.setOptions({
|
446
|
+
placeholder: formElement.placeholder || '',
|
447
|
+
maxLines: 30,
|
448
|
+
})
|
446
449
|
if (formElement.aceMode) {
|
447
450
|
editor.getSession().setMode("ace/mode/"+formElement.aceMode);
|
448
451
|
}
|
pywebexec/version.py
CHANGED
@@ -2,8 +2,8 @@ pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
|
|
2
2
|
pywebexec/host_ip.py,sha256=oiCMlo2o3AkkgXDarUSx8T3FWXKI0vk1-EPnx5FGBd8,1332
|
3
3
|
pywebexec/pywebexec.py,sha256=avBfvbhLbjvrJ168bBmQVrm-DjbjGJoAapHHIEAD6V4,48515
|
4
4
|
pywebexec/swagger.yaml,sha256=I_oLpp7Hqel8SDEEykvpmCT-Gv3ytGlziq9bvQOrtZY,7598
|
5
|
-
pywebexec/version.py,sha256=
|
6
|
-
pywebexec/static/css/form.css,sha256=
|
5
|
+
pywebexec/version.py,sha256=ZHck3vyPntoncYCjlmKctnogu5bDXN1XQTNQZKPkszA,513
|
6
|
+
pywebexec/static/css/form.css,sha256=Vu-u0STHTc1PW0W02aFRgXGQlmxRmKpx7obYL-OkVdI,8957
|
7
7
|
pywebexec/static/css/markdown.css,sha256=br4-iK9wigTs54N2KHtjgZ4KLH0THVSvJo-XZAdMHiE,1970
|
8
8
|
pywebexec/static/css/style.css,sha256=TX60M-mzIPTGVDmaypRCOcyxc8A7dOjx-p1_bpJ6t9M,11772
|
9
9
|
pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
|
@@ -71,14 +71,14 @@ pywebexec/static/jsonform/deps/ace/theme-github_light_default.js,sha256=4-_JXMA3
|
|
71
71
|
pywebexec/static/jsonform/deps/ace/theme-twilight.js,sha256=3FCPUePtyW8RjnVAC51dgwKyNVpB7liV9AjEy4uEP8c,3474
|
72
72
|
pywebexec/static/jsonform/deps/ace/worker-json.js,sha256=FalZfSbOglLQIOUYUprFqETrljooqsGwM5Tey7vhbxs,24390
|
73
73
|
pywebexec/static/jsonform/deps/img/glyphicons-halflings.png,sha256=hpJM0AbbMLnU8UGOBs172D7vK-dooQ8n0s_ybml3zO0,13826
|
74
|
-
pywebexec/static/jsonform/lib/jsonform.js,sha256=
|
74
|
+
pywebexec/static/jsonform/lib/jsonform.js,sha256=nHBZ1DqjRAKhPQRdplifXfQhr_SPmKrFoM2cU0NmJf0,140356
|
75
75
|
pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
76
76
|
pywebexec/templates/index.html,sha256=sTytur1jHuEAMTvuNqMEB3i3NNFoJRbYQgfmvDrAuJQ,4286
|
77
77
|
pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
|
78
78
|
pywebexec/templates/swagger_ui.html,sha256=MAPr-z96VERAecDvX37V8q2Nxph-O0fNDBul1x2w9SI,1147
|
79
|
-
pywebexec-2.4.
|
80
|
-
pywebexec-2.4.
|
81
|
-
pywebexec-2.4.
|
82
|
-
pywebexec-2.4.
|
83
|
-
pywebexec-2.4.
|
84
|
-
pywebexec-2.4.
|
79
|
+
pywebexec-2.4.24.dist-info/licenses/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
80
|
+
pywebexec-2.4.24.dist-info/METADATA,sha256=5ZC0jxna4NOsOFD1EyG0L6dXZVtcmCVgjYaK-V4lVEs,13016
|
81
|
+
pywebexec-2.4.24.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
82
|
+
pywebexec-2.4.24.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
83
|
+
pywebexec-2.4.24.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
84
|
+
pywebexec-2.4.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|