diff --git a/ai-json-form/package-lock.json b/ai-json-form/package-lock.json index 21456b5..1285b40 100644 --- a/ai-json-form/package-lock.json +++ b/ai-json-form/package-lock.json @@ -8,6 +8,7 @@ "name": "ai-json-forms", "version": "1.1.3", "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@jsonforms/core": "^3.1.0", "@jsonforms/vue": "^3.1.0", "@jsonforms/vue-vanilla": "^3.1.0", diff --git a/ai-json-form/package.json b/ai-json-form/package.json index d63bf52..ba1e5b2 100644 --- a/ai-json-form/package.json +++ b/ai-json-form/package.json @@ -10,6 +10,7 @@ "preview": "vite preview" }, "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@jsonforms/core": "^3.1.0", "@jsonforms/vue": "^3.1.0", "@jsonforms/vue-vanilla": "^3.1.0", diff --git a/ai-json-form/src/App.vue b/ai-json-form/src/App.vue index 01d5218..59e7a35 100644 --- a/ai-json-form/src/App.vue +++ b/ai-json-form/src/App.vue @@ -18,6 +18,10 @@ import { ElTag, ElDialog } from 'element-plus' +import { + ArrowLeft, + ArrowRight +} from '@element-plus/icons-vue' import { basicSchema } from './configs.js' import { codeMirrorConfig } from './codeMirror.js' import { getVersion } from './axios.js' @@ -48,9 +52,11 @@ const frontendVersion = ref(fontendVersion) const backendVersion = ref('') const imagePreviewDialogVisible = ref(false) const imagePreviewUrl = ref('') +const leftColSpan = ref(12) console.log('Frontend version:', frontendVersion.value) const { SocketIOBackendHandler, FrontendOnlyHandler } = handlers +const leastColSpan = 4; let handler = null let handlerParameters = { inferencing: inferencing, @@ -195,56 +201,36 @@ onMounted(() => {