config_tools: Add vue-json-schema-form and advanced custom component for IVSHMEM field

1. add Vue devtools support
2. update project dependencies
3. refactor configurator source code tree for private library hook
4. fix build issue
5. dynamic load scenario JSON schema(fix cache issue)
6. add vjsf 1.12.2 (latest) for private package dependencies
7. remove vjsf unnecessary files
8. use private vjsf as configurator dependencies
9. Add custom IVSHMEM_REGION widget
10. add a script to populate default values
11. get default values before export scenario xml
12. specify widgets in XML schema
13. add missing vjsf license file
14. populate default values to empty nodes
15. when user clicks save button, update formData with each field default value
16. fix when the user clicks the save button will collapse configFom
17. add success message for saving scenario XML

vue-json-schema-form 1.12.2 (latest)link: b30ea7c2d6/packages/lib

Tracked-On: #6691
Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
Weiyi-Feng
2022-04-28 23:49:23 +08:00
committed by acrnsi-robot
parent e36b615fe1
commit 06b942f5eb
154 changed files with 7977 additions and 490 deletions

View File

@@ -5,7 +5,18 @@ import json
import xmltodict
from . import convert_result, nuc11_scenario, scenario_json_schema
from . import convert_result, nuc11_scenario, IS_WEB
if IS_WEB:
# load js function from
# misc/config_tools/configurator/packages/configurator/src/pyodide.js
# by pyodide js library
# noinspection PyUnresolvedReferences
from js import __dynamic__load__scenario__from__pyodide__
scenario_json_schema = __dynamic__load__scenario__from__pyodide__()
else:
from . import scenario_json_schema
def get_array_and_int_keys():