Showing
3 changed files
with
21 additions
and
3 deletions
@@ -149,7 +149,9 @@ export enum PackagesCategoryEnum { | @@ -149,7 +149,9 @@ export enum PackagesCategoryEnum { | ||
149 | CHARTS = 'Charts', | 149 | CHARTS = 'Charts', |
150 | TABLES = 'Tables', | 150 | TABLES = 'Tables', |
151 | INFORMATIONS = 'Informations', | 151 | INFORMATIONS = 'Informations', |
152 | - DECORATES = 'Decorates' | 152 | + DECORATES = 'Decorates', |
153 | + ARTOONS = 'Artoons', | ||
154 | + COMPOSES = 'Composes', | ||
153 | } | 155 | } |
154 | 156 | ||
155 | // 包分类名称 | 157 | // 包分类名称 |
@@ -157,7 +159,9 @@ export enum PackagesCategoryName { | @@ -157,7 +159,9 @@ export enum PackagesCategoryName { | ||
157 | CHARTS = '图表', | 159 | CHARTS = '图表', |
158 | TABLES = '列表', | 160 | TABLES = '列表', |
159 | INFORMATIONS = '信息', | 161 | INFORMATIONS = '信息', |
160 | - DECORATES = '小组件' | 162 | + DECORATES = '小组件', |
163 | + ARTOONS='动画组件', | ||
164 | + COMPOSES='组合组件', | ||
161 | } | 165 | } |
162 | 166 | ||
163 | // 获取组件 | 167 | // 获取组件 |
@@ -172,4 +176,6 @@ export type PackagesType = { | @@ -172,4 +176,6 @@ export type PackagesType = { | ||
172 | [PackagesCategoryEnum.INFORMATIONS]: ConfigType[] | 176 | [PackagesCategoryEnum.INFORMATIONS]: ConfigType[] |
173 | [PackagesCategoryEnum.TABLES]: ConfigType[] | 177 | [PackagesCategoryEnum.TABLES]: ConfigType[] |
174 | [PackagesCategoryEnum.DECORATES]: ConfigType[] | 178 | [PackagesCategoryEnum.DECORATES]: ConfigType[] |
179 | + [PackagesCategoryEnum.ARTOONS]: ConfigType[] | ||
180 | + [PackagesCategoryEnum.COMPOSES]: ConfigType[] | ||
175 | } | 181 | } |
@@ -2,6 +2,8 @@ import { ChartList } from '@/packages/components/Charts/index' | @@ -2,6 +2,8 @@ import { ChartList } from '@/packages/components/Charts/index' | ||
2 | import { DecorateList } from '@/packages/components/Decorates/index' | 2 | import { DecorateList } from '@/packages/components/Decorates/index' |
3 | import { InformationList } from '@/packages/components/Informations/index' | 3 | import { InformationList } from '@/packages/components/Informations/index' |
4 | import { TableList } from '@/packages/components/Tables/index' | 4 | import { TableList } from '@/packages/components/Tables/index' |
5 | +import { ArtoonsList } from '@/packages/components/Artoons/index' | ||
6 | +import { ComposesList } from '@/packages/components/Composes/index' | ||
5 | import { PackagesCategoryEnum, PackagesType, ConfigType, FetchComFlagType } from '@/packages/index.d' | 7 | import { PackagesCategoryEnum, PackagesType, ConfigType, FetchComFlagType } from '@/packages/index.d' |
6 | 8 | ||
7 | const configModules = import.meta.globEager('./components/**/config.vue') | 9 | const configModules = import.meta.globEager('./components/**/config.vue') |
@@ -13,7 +15,9 @@ export let packagesList: PackagesType = { | @@ -13,7 +15,9 @@ export let packagesList: PackagesType = { | ||
13 | [PackagesCategoryEnum.CHARTS]: ChartList, | 15 | [PackagesCategoryEnum.CHARTS]: ChartList, |
14 | [PackagesCategoryEnum.INFORMATIONS]: InformationList, | 16 | [PackagesCategoryEnum.INFORMATIONS]: InformationList, |
15 | [PackagesCategoryEnum.TABLES]: TableList, | 17 | [PackagesCategoryEnum.TABLES]: TableList, |
16 | - [PackagesCategoryEnum.DECORATES]: DecorateList | 18 | + [PackagesCategoryEnum.DECORATES]: DecorateList, |
19 | + [PackagesCategoryEnum.ARTOONS]: ArtoonsList, | ||
20 | + [PackagesCategoryEnum.COMPOSES]: ComposesList, | ||
17 | } | 21 | } |
18 | 22 | ||
19 | /** | 23 | /** |
@@ -44,6 +44,14 @@ const packagesListObj = { | @@ -44,6 +44,14 @@ const packagesListObj = { | ||
44 | icon: renderIcon(GraphicalDataFlowIcon), | 44 | icon: renderIcon(GraphicalDataFlowIcon), |
45 | label: PackagesCategoryName.DECORATES, | 45 | label: PackagesCategoryName.DECORATES, |
46 | }, | 46 | }, |
47 | + [PackagesCategoryEnum.ARTOONS]: { | ||
48 | + icon: renderIcon(GraphicalDataFlowIcon), | ||
49 | + label: PackagesCategoryName.ARTOONS, | ||
50 | + }, | ||
51 | + [PackagesCategoryEnum.COMPOSES]: { | ||
52 | + icon: renderIcon(GraphicalDataFlowIcon), | ||
53 | + label: PackagesCategoryName.COMPOSES, | ||
54 | + }, | ||
47 | } | 55 | } |
48 | 56 | ||
49 | // 处理列表 | 57 | // 处理列表 |