diff --git a/src/assets/images/chart/decorates/Pipeline_H.png b/src/assets/images/chart/decorates/Pipeline_H.png new file mode 100644 index 00000000..f28bac9a Binary files /dev/null and b/src/assets/images/chart/decorates/Pipeline_H.png differ diff --git a/src/assets/images/chart/decorates/Pipeline_V.png b/src/assets/images/chart/decorates/Pipeline_V.png new file mode 100644 index 00000000..cffc5d8d Binary files /dev/null and b/src/assets/images/chart/decorates/Pipeline_V.png differ diff --git a/src/packages/components/Decorates/Mores/PipelineH/config.ts b/src/packages/components/Decorates/Mores/PipelineH/config.ts new file mode 100644 index 00000000..6df11312 --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineH/config.ts @@ -0,0 +1,19 @@ +import { PublicConfigClass } from '@/packages/public' +import { CreateComponentType } from '@/packages/index.d' +import { chartInitConfig } from '@/settings/designSetting' +import { PipelineHConfig } from './index' +import cloneDeep from 'lodash/cloneDeep' + +export const option = { + color_type: 1, + o_color: '#0a7ae2', + i_color: '#119bfa', + line_class: 'svg_ani_flow' +} + +export default class Config extends PublicConfigClass implements CreateComponentType { + public key = PipelineHConfig.key + public attr = { ...chartInitConfig, w: 500, h: 15, zIndex: -1 } + public chartConfig = cloneDeep(PipelineHConfig) + public option = cloneDeep(option) +} diff --git a/src/packages/components/Decorates/Mores/PipelineH/config.vue b/src/packages/components/Decorates/Mores/PipelineH/config.vue new file mode 100644 index 00000000..bc039e8e --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineH/config.vue @@ -0,0 +1,77 @@ + + + diff --git a/src/packages/components/Decorates/Mores/PipelineH/index.ts b/src/packages/components/Decorates/Mores/PipelineH/index.ts new file mode 100644 index 00000000..5f612871 --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineH/index.ts @@ -0,0 +1,13 @@ +import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d' +import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d' + +export const PipelineHConfig: ConfigType = { + key: 'PipelineH', + chartKey: 'VPipelineH', + conKey: 'VCPipelineH', + title: '管道-横向', + category: ChatCategoryEnum.MORE, + categoryName: ChatCategoryEnumName.MORE, + package: PackagesCategoryEnum.DECORATES, + image: 'Pipeline_H.png' +} diff --git a/src/packages/components/Decorates/Mores/PipelineH/index.vue b/src/packages/components/Decorates/Mores/PipelineH/index.vue new file mode 100644 index 00000000..15da8449 --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineH/index.vue @@ -0,0 +1,141 @@ + + + + + diff --git a/src/packages/components/Decorates/Mores/PipelineV/config.ts b/src/packages/components/Decorates/Mores/PipelineV/config.ts new file mode 100644 index 00000000..e3029751 --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineV/config.ts @@ -0,0 +1,19 @@ +import { PublicConfigClass } from '@/packages/public' +import { CreateComponentType } from '@/packages/index.d' +import { chartInitConfig } from '@/settings/designSetting' +import { PipelineVConfig } from './index' +import cloneDeep from 'lodash/cloneDeep' + +export const option = { + color_type: 1, + o_color: '#0a7ae2', + i_color: '#119bfa', + line_class: 'svg_ani_flow' +} + +export default class Config extends PublicConfigClass implements CreateComponentType { + public key = PipelineVConfig.key + public attr = { ...chartInitConfig, w: 15, h: 500, zIndex: -1 } + public chartConfig = cloneDeep(PipelineVConfig) + public option = cloneDeep(option) +} diff --git a/src/packages/components/Decorates/Mores/PipelineV/config.vue b/src/packages/components/Decorates/Mores/PipelineV/config.vue new file mode 100644 index 00000000..bc039e8e --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineV/config.vue @@ -0,0 +1,77 @@ + + + diff --git a/src/packages/components/Decorates/Mores/PipelineV/index.ts b/src/packages/components/Decorates/Mores/PipelineV/index.ts new file mode 100644 index 00000000..e99f81a1 --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineV/index.ts @@ -0,0 +1,14 @@ +import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d' +import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d' + +export const PipelineVConfig: ConfigType = { + key: 'PipelineV', + chartKey: 'VPipelineV', + conKey: 'VCPipelineV', + title: '管道-纵向', + category: ChatCategoryEnum.MORE, + categoryName: ChatCategoryEnumName.MORE, + package: PackagesCategoryEnum.DECORATES, + image: 'Pipeline_V.png' +} + diff --git a/src/packages/components/Decorates/Mores/PipelineV/index.vue b/src/packages/components/Decorates/Mores/PipelineV/index.vue new file mode 100644 index 00000000..108a3c1f --- /dev/null +++ b/src/packages/components/Decorates/Mores/PipelineV/index.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/packages/components/Decorates/Mores/index.ts b/src/packages/components/Decorates/Mores/index.ts index 855f6e27..7223832b 100644 --- a/src/packages/components/Decorates/Mores/index.ts +++ b/src/packages/components/Decorates/Mores/index.ts @@ -3,5 +3,7 @@ import { TimeCommonConfig } from './TimeCommon/index' import { ClockConfig } from './Clock/index' import { CountDownConfig } from './CountDown/index' import { FlipperNumberConfig } from './FlipperNumber' +import { PipelineHConfig } from './PipelineH/index' +import { PipelineVConfig } from './PipelineV/index' -export default [NumberConfig, FlipperNumberConfig, TimeCommonConfig, CountDownConfig, ClockConfig] +export default [NumberConfig, FlipperNumberConfig, TimeCommonConfig, CountDownConfig, ClockConfig, PipelineHConfig, PipelineVConfig]