@cainiaofe/cn-ui-charts
Version:
22 lines • 1.74 kB
JavaScript
var _window, _window$CN_UI_LOWCODE, _window$CN_UI_LOWCODE2, _window$CN_UI_LOWCODE3;
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();
var bundle = [CnTilePrototypeView, CnStatisticCardPrototypeView, CnColumnChartPrototypeView, CnLineChartPrototypeView, CnPieChartPrototypeView, CnChartPrototypeView, CnProgressPrototypeView, CnDynamicChartPrototypeView];
var CnLayoutPage = (_window = window) === null || _window === void 0 ? void 0 : (_window$CN_UI_LOWCODE = _window.CN_UI_LOWCODE) === null || _window$CN_UI_LOWCODE === void 0 ? void 0 : (_window$CN_UI_LOWCODE2 = _window$CN_UI_LOWCODE["default"]) === null || _window$CN_UI_LOWCODE2 === void 0 ? void 0 : (_window$CN_UI_LOWCODE3 = _window$CN_UI_LOWCODE2.find) === null || _window$CN_UI_LOWCODE3 === void 0 ? void 0 : _window$CN_UI_LOWCODE3.call(_window$CN_UI_LOWCODE2, function (item) {
return (item === null || item === void 0 ? void 0 : item.displayName) === 'CnLayoutPage';
});
if (!CnLayoutPage) {
bundle = [].concat(bundle, CnLayoutBundle);
}
window['cn-ui-charts'] = bundle;
export default bundle;