pywebexec 2.4.13__py3-none-any.whl → 2.4.15__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 +11 -0
- pywebexec/static/js/executables.js +1 -1
- pywebexec/static/js/schemaform.js +4 -2
- pywebexec/version.py +2 -2
- {pywebexec-2.4.13.dist-info → pywebexec-2.4.15.dist-info}/METADATA +1 -1
- {pywebexec-2.4.13.dist-info → pywebexec-2.4.15.dist-info}/RECORD +10 -10
- {pywebexec-2.4.13.dist-info → pywebexec-2.4.15.dist-info}/WHEEL +0 -0
- {pywebexec-2.4.13.dist-info → pywebexec-2.4.15.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.4.13.dist-info → pywebexec-2.4.15.dist-info}/licenses/LICENSE +0 -0
- {pywebexec-2.4.13.dist-info → pywebexec-2.4.15.dist-info}/top_level.txt +0 -0
pywebexec/static/css/form.css
CHANGED
@@ -366,6 +366,17 @@
|
|
366
366
|
border-radius: 5px;
|
367
367
|
resize: all;
|
368
368
|
}
|
369
|
+
|
370
|
+
.tabbable {
|
371
|
+
display: flex;
|
372
|
+
gap: 5px;
|
373
|
+
}
|
374
|
+
.tab-content > .tab-pane {
|
375
|
+
display: none;
|
376
|
+
}
|
377
|
+
.tab-content > .active {
|
378
|
+
display: block;
|
379
|
+
}
|
369
380
|
}
|
370
381
|
|
371
382
|
.swagger-ui textarea {
|
@@ -260,9 +260,9 @@ paramsInput.addEventListener('focus', () => {
|
|
260
260
|
const currentCmd = commandInput.value;
|
261
261
|
paramsInput.name = currentCmd;
|
262
262
|
if (gExecutables[currentCmd] && gExecutables[currentCmd].schema && gExecutables[currentCmd].schema.properties && paramsContainer.style.display == 'none') {
|
263
|
-
paramsContainer.style.display = 'none';
|
264
263
|
const schema = gExecutables[currentCmd].schema;
|
265
264
|
jsForm = createSchemaForm($('#schemaForm'), gExecutables[currentCmd].schema, async function (errors, values) {
|
265
|
+
paramsContainer.style.display = 'none';
|
266
266
|
const commandName = commandInput.value;
|
267
267
|
fitAddon.fit();
|
268
268
|
terminal.clear();
|
@@ -211,7 +211,7 @@ function createSchemaForm($form, schema, onSubmit, schemaName) {
|
|
211
211
|
} else {
|
212
212
|
value = {};
|
213
213
|
}
|
214
|
-
|
214
|
+
// recreate form to remove event listeners
|
215
215
|
$form.off();
|
216
216
|
$form.empty();
|
217
217
|
$form.html('');
|
@@ -220,6 +220,9 @@ function createSchemaForm($form, schema, onSubmit, schemaName) {
|
|
220
220
|
$form = $newform;
|
221
221
|
schemaForm = $form[0];
|
222
222
|
if (onSubmit != null) {
|
223
|
+
if (schema_options && schema_options.formext) {
|
224
|
+
formDesc = schema.schema_options.formext;
|
225
|
+
}
|
223
226
|
if (schema_options && schema_options.batch_param) {
|
224
227
|
schema.properties[schema_options.batch_param].required = true;
|
225
228
|
if (!schema.properties.parallel) {
|
@@ -330,7 +333,6 @@ function createSchemaForm($form, schema, onSubmit, schemaName) {
|
|
330
333
|
},
|
331
334
|
]
|
332
335
|
});
|
333
|
-
|
334
336
|
formDesc.push({
|
335
337
|
type: 'actions',
|
336
338
|
items: [
|
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=bNRwzWjTQeWYwJhJDnKwLi3zx6axfgURc0QG62sU-5U,513
|
6
|
+
pywebexec/static/css/form.css,sha256=DhglYtCU-2UHrh-MSV3CAYLnskWQpkEQtAHjHF1vM_o,8346
|
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
|
@@ -34,9 +34,9 @@ pywebexec/static/images/running.svg,sha256=fBCYwYb2O9K4N3waC2nURP25NRwZlqR4PbDZy
|
|
34
34
|
pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_qiD_FU8,489
|
35
35
|
pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVaSXifIkoU0,2117
|
36
36
|
pywebexec/static/js/exceljs.min.js,sha256=fknaaFiOJQ27i7oZDSyqirN4fMAoS9odiy-AXE33Qsk,947702
|
37
|
-
pywebexec/static/js/executables.js,sha256=
|
37
|
+
pywebexec/static/js/executables.js,sha256=pWnEFZcQ-hKHFzwNKs5KFgyT9A_1wx3m2thlOGJwU3g,12052
|
38
38
|
pywebexec/static/js/popup.js,sha256=X-Q__R0jeZFO_I8EWucP1KkUJa9-Atz8bdnyWp6ibzY,11376
|
39
|
-
pywebexec/static/js/schemaform.js,sha256=
|
39
|
+
pywebexec/static/js/schemaform.js,sha256=VXM9QZj1oEC9ORlLDZ8E4zYNXO3Wlyb876Yr1As4mzw,15641
|
40
40
|
pywebexec/static/js/script.js,sha256=2Jys1IpB94ygkjnpFkUvcZdchM-gZrfPOFuS74SxgZI,21508
|
41
41
|
pywebexec/static/js/swagger-form.js,sha256=CLcSHMhk5P4-_2MIRBoJLgEnIj_9keDDSzUugXHZjio,4565
|
42
42
|
pywebexec/static/js/tablefilter.js,sha256=YuFc4Q7OOld6tX3v4HhG5lSToEJczQM9RlU2-pITSms,11099
|
@@ -76,9 +76,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
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.15.dist-info/licenses/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
80
|
+
pywebexec-2.4.15.dist-info/METADATA,sha256=MCmOsulBBqec2NmCAnL1swSNWh6qK9LbI79Ovd0h8fI,13016
|
81
|
+
pywebexec-2.4.15.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
82
|
+
pywebexec-2.4.15.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
83
|
+
pywebexec-2.4.15.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
84
|
+
pywebexec-2.4.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|