import DataSourcePanePlugin from '@ali/lowcode-plugin-datasource-pane';
export var dataSourcePaneRegistry = function dataSourcePaneRegistry(ctx) {
  return {
    name: "data-source-registry",
    init: function init() {
      // 注册 JS / CSS 面板
      ctx.skeleton.add({
        area: 'leftArea',
        name: 'dataSourcePane',
        type: 'PanelDock',
        props: {
          align: 'top',
          icon: 'shujuyuan',
          description: '数据源'
        },
        content: DataSourcePanePlugin,
        contentProps: {
          importPlugins: [],
          dataSourceTypes: [{
            type: 'fetch'
          }, {
            type: 'jsonp'
          }]
        }
      });
    }
  };
};
dataSourcePaneRegistry.pluginName = 'dataSourcePaneRegistry';
export default dataSourcePaneRegistry;