UNPKG

@cainiaofe/cn-ui-charts

Version:
23 lines (19 loc) 1.18 kB
import CnTilePrototypeView from './cn-tile/prototypeView'; import CnStatisticCardPrototypeView from './cn-statistic-card/prototypeView'; import CnColumnChartPrototypeView from './cn-column-chart/prototypeView'; import CnLineChartPrototypeView from './cn-line-chart/prototypeView'; import CnPieChartPrototypeView from './cn-pie-chart/prototypeView'; import CnChartPrototypeView from './cn-chart/prototypeView'; import CnProgressPrototypeView from './cn-progress/prototypeView'; import CnDynamicChartPrototypeView from './cn-dynamic-chart/prototypeView'; import CnLayoutBundle from '@cainiaofe/cn-ui-layout/es/lowcode/prototypeView'; import './prototypeView.scss'; import { createOpenUtil } from '@/common/util/util'; createOpenUtil(); let bundle = [CnTilePrototypeView, CnStatisticCardPrototypeView, CnColumnChartPrototypeView, CnLineChartPrototypeView, CnPieChartPrototypeView, CnChartPrototypeView, CnProgressPrototypeView, CnDynamicChartPrototypeView]; const CnLayoutPage = window?.CN_UI_LOWCODE?.default?.find?.(item=>item?.displayName === 'CnLayoutPage') if(!CnLayoutPage) { bundle = [...bundle,...CnLayoutBundle] } window['cn-ui-charts'] = bundle; export default bundle;