refactor: (ele,diy-editor)重构组件库结构和功能

- 新增 ComponentContainer、ComponentContainerProperty、ComponentLibrary 组件
- 优化导航栏单元格属性组件,更名为 CellProperty
- 更新优惠券相关组件导出方式
- 删除旧版 ComponentContainer 组件
This commit is contained in:
吃货
2025-08-10 21:17:03 +08:00
parent d7397f28a0
commit b8c66b23f9
97 changed files with 838 additions and 701 deletions

View File

@@ -13,7 +13,7 @@ import type { AxiosProgressEvent } from '#/api/infra/file';
import { nextTick, ref, toRefs, watch } from 'vue';
import { CloudUpload } from '@vben/icons';
import { Plus } from '@vben/icons';
import { $t } from '@vben/locales';
import { isFunction, isObject, isString } from '@vben/utils';
@@ -313,8 +313,7 @@ const triggerEdit = () => {
}"
>
<div class="upload-content flex flex-col items-center justify-center">
<CloudUpload />
<div class="mt-2">{{ $t('ui.upload.imgUpload') }}</div>
<Plus />
</div>
</ElUpload>
</template>