Compare commits

..

No commits in common. 'next' and 'main' have entirely different histories.
next ... main

  1. 75
      package.json
  2. 2036
      pnpm-lock.yaml
  3. 2
      src/packages/base-widgets/index.ts
  4. 4
      src/packages/container-component/index.ts
  5. 2
      src/visual-editor/components/header/preview.vue
  6. 5
      src/visual-editor/components/left-aside/components/data-source/data-fetch.vue
  7. 4
      src/visual-editor/components/left-aside/components/index.ts
  8. 3
      src/visual-editor/components/right-attribute-panel/components/attr-editor/components/prop-config/index.tsx

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

File diff suppressed because it is too large Load Diff

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

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

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

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

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

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

Loading…
Cancel
Save