Compare commits

...

1 Commits
main ... next

Author SHA1 Message Date
buqiyuan 2b990f1c38 chore: upgrade deps 2022-10-05 19:05:09 +08:00
8 changed files with 1112 additions and 1029 deletions

View File

@ -31,72 +31,73 @@
"test:br": "npx http-server dist --cors --brotli -c-1"
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.6",
"@vant/touch-emulator": "^1.3.2",
"@vueuse/core": "^8.9.1",
"@vueuse/integrations": "^8.9.1",
"@element-plus/icons-vue": "^2.0.9",
"@vant/touch-emulator": "^1.4.0",
"@vueuse/core": "^9.3.0",
"@vueuse/integrations": "^9.3.0",
"animate.css": "^4.1.1",
"axios": "^0.27.2",
"dayjs": "^1.11.3",
"dayjs": "^1.11.5",
"dexie": "^3.2.2",
"element-plus": "2.2.9",
"element-plus": "2.2.17",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.33.0",
"monaco-editor": "^0.34.0",
"nanoid": "^4.0.0",
"normalize.css": "^8.0.1",
"nprogress": "^1.0.0-1",
"pinia": "^2.0.14",
"qrcode": "^1.5.0",
"pinia": "^2.0.22",
"qrcode": "^1.5.1",
"qs": "^6.11.0",
"vant": "3.5.2",
"vue": "3.2.37",
"vue-router": "^4.0.16",
"vant": "3.6.3",
"vue": "3.2.40",
"vue-router": "^4.1.5",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@vitejs/plugin-legacy": "^1.8.2",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"commitizen": "^4.2.4",
"@types/node": "^18.8.2",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"@vitejs/plugin-legacy": "^2.2.0",
"@vitejs/plugin-vue": "^3.1.2",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"commitizen": "^4.2.5",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.19.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-define-config": "^1.5.1",
"eslint-define-config": "^1.7.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.2.0",
"eslint-plugin-vue": "^9.6.0",
"husky": "^8.0.1",
"lint-staged": "^12.5.0",
"postcss": "^8.4.14",
"postcss": "^8.4.17",
"postcss-html": "^1.5.0",
"postcss-scss": "^4.0.4",
"postcss-scss": "^4.0.5",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"sass": "1.53.0",
"stylelint": "^14.9.1",
"sass": "1.55.0",
"stylelint": "^14.13.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^8.0.0",
"stylelint-config-standard": "^26.0.0",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-standard": "^28.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.3.0",
"terser": "^5.15.0",
"typescript": "^4.7.4",
"unplugin-auto-import": "^0.9.2",
"unplugin-vue-components": "^0.21.1",
"unplugin-auto-import": "^0.11.2",
"unplugin-vue-components": "^0.22.8",
"unplugin-vue-define-options": "^0.6.2",
"vite": "2.9.14",
"vite-plugin-checker": "^0.4.8",
"vite-plugin-windicss": "^1.8.6",
"vue-eslint-parser": "^9.0.3",
"vue-tsc": "^0.38.3",
"vite": "3.1.4",
"vite-plugin-checker": "^0.5.1",
"vite-plugin-windicss": "^1.8.8",
"vue-eslint-parser": "^9.1.0",
"vue-tsc": "^0.40.13",
"windicss": "^3.5.6"
},
"repository": {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
import { VisualEditorComponent } from '@/visual-editor/visual-editor.utils';
const modules = import.meta.globEager('./*/index.tsx');
const modules: Record<string, any> = import.meta.glob('./*/index.tsx', { eager: true });
const components: Record<string, VisualEditorComponent> = {};

View File

@ -1,6 +1,8 @@
import { VisualEditorComponent } from '@/visual-editor/visual-editor.utils';
const modules = import.meta.globEager('./*/index.tsx');
const modules: Record<string, any> = import.meta.glob('./*/index.tsx', {
eager: true,
});
const components: Record<string, VisualEditorComponent> = {};

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="dialogVisible" custom-class="h5-preview" :show-close="false" width="360px">
<el-dialog v-model="dialogVisible" class="h5-preview" :show-close="false" width="360px">
<iframe
v-if="dialogVisible"
:style="{ width: '100%', height: '100%' }"

View File

@ -60,7 +60,6 @@
ElMessage,
ElCascader,
ElIcon,
ExpandTrigger,
} from 'element-plus';
import { cloneDeep } from 'lodash-es';
import { Delete, Edit } from '@element-plus/icons-vue';
@ -171,7 +170,7 @@
children: 'entitys',
label: 'name',
value: 'key',
expandTrigger: ExpandTrigger.HOVER,
expandTrigger: 'hover',
}}
placeholder="请选择绑定的请求数据"
onChange={handleBindChange}
@ -185,7 +184,7 @@
children: 'entitys',
label: 'name',
value: 'key',
expandTrigger: ExpandTrigger.HOVER,
expandTrigger: 'hover',
}}
placeholder="请选择绑定的响应数据"
onChange={handleBindChange}

View File

@ -1,6 +1,8 @@
import { DefineComponent } from 'vue';
const modules = import.meta.globEager('./*/index.(tsx|vue)');
const modules: Record<string, DefineComponent> = import.meta.glob('./*/index.(tsx|vue)', {
eager: true,
});
const components: Record<string, DefineComponent> = {};

View File

@ -19,7 +19,6 @@ import {
ElFormItem,
ElTooltip,
ElIcon,
ExpandTrigger,
} from 'element-plus';
import { cloneDeep } from 'lodash-es';
import { Warning } from '@element-plus/icons-vue';
@ -93,7 +92,7 @@ export const PropConfig = defineComponent({
children: 'entitys',
label: 'name',
value: 'key',
expandTrigger: ExpandTrigger.HOVER,
expandTrigger: 'hover',
}}
placeholder="请选择绑定的请求数据"
v-model={propObj[prop]}