refactor(effects): 扩展 echarts 类型定义并优化插件配置合并逻辑

- 添加 PieSeriesOption 和 RadarSeriesOption 到 echarts 类型定义
- 添加 LegendComponentOption 和 ToolboxComponentOption 组件选项
- 重构 providePluginsOptions 函数实现深合并逻辑
- 优化 vxe-table 初始化中的表单工厂优先级处理
- 调整 playground 中的 import 语句顺序和格式
This commit is contained in:
Jin Mao
2026-03-25 15:16:24 +08:00
parent 6da3017dcf
commit 87d1593a1f
4 changed files with 51 additions and 18 deletions

View File

@@ -1,20 +1,22 @@
import type { VxeTableGridOptions } from "@vben/plugins/vxe-table";
import { setupVbenVxeTable, useVbenVxeGrid as useGrid } from "@vben/plugins/vxe-table";
import type { Recordable } from "@vben/types";
import type { VxeTableGridOptions } from '@vben/plugins/vxe-table';
import type { Recordable } from '@vben/types';
import type { ComponentType } from "./component";
import type { ComponentType } from './component';
import { h } from "vue";
import { h } from 'vue';
import { IconifyIcon } from "@vben/icons";
import { $te } from "@vben/locales";
import { get, isFunction, isString } from "@vben/utils";
import { IconifyIcon } from '@vben/icons';
import { $te } from '@vben/locales';
import {
setupVbenVxeTable,
useVbenVxeGrid as useGrid,
} from '@vben/plugins/vxe-table';
import { get, isFunction, isString } from '@vben/utils';
import { objectOmit } from "@vueuse/core";
import { Button, Image, Popconfirm, Switch, Tag } from "ant-design-vue";
import { objectOmit } from '@vueuse/core';
import { Button, Image, Popconfirm, Switch, Tag } from 'ant-design-vue';
import { $t } from "#/locales";
import { $t } from '#/locales';
setupVbenVxeTable({
configVxeTable: (vxeUI) => {