"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var _exportNames = {
  PageMap: true,
  PageDefaultInitialValues: true
};
exports.PageMap = exports.PageDefaultInitialValues = void 0;
var _templates = require("../../templates");
var _editor = require("./editor");
Object.keys(_editor).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _editor[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _editor[key];
    }
  });
});
var _playground = require("./playground");
Object.keys(_playground).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _playground[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _playground[key];
    }
  });
});
var _renderer = require("./renderer");
Object.keys(_renderer).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _renderer[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _renderer[key];
    }
  });
});
// 全部页面模板
var PageMap = {
  LIST: _templates.ListPage,
  DETAIL: _templates.DetailPage,
  FORM: _templates.FormPage
};
// 全部页面模板默认初始值
exports.PageMap = PageMap;
var PageDefaultInitialValues = {
  LIST: {
    header: {
      title: '页面标题'
    },
    content: {
      header: {
        title: '表格标题'
      },
      columns: [{
        dataIndex: 'instanceName',
        title: '实例ID/实例名称'
      }, {
        dataIndex: 'organizationName',
        title: '组织',
        tooltip: '我这一列是可以被复制的～',
        render: {
          copy: true
        }
      }],
      url: 'https://oneapi.alibaba-inc.com/mock/teamix-pro/api/getTableResource',
      formatResult: {
        data: 'data',
        total: 'pageInfo.total'
      }
    }
  },
  DETAIL: {},
  FORM: {}
};
exports.PageDefaultInitialValues = PageDefaultInitialValues;