var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
  return value;
};
import { ab as PublicConfigClass, av as TablesBasicConfig, ac as chartInitConfig, I as cloneDeep } from "./index-67bc0910.js";
import "vue";
const dimensions$1 = [
  {
    title: "产品名称",
    key: "productName"
  },
  {
    title: "产品销量（万）",
    key: "totalSum"
  },
  {
    title: "销售额（万）",
    key: "totalAmount"
  }
];
const source$1 = [
  {
    key: 0,
    productName: "产品A1",
    totalSum: 10,
    totalAmount: 10
  },
  {
    key: 1,
    productName: "产品B1",
    totalSum: 10,
    totalAmount: 10
  },
  {
    key: 2,
    productName: "产品C1",
    totalSum: 10,
    totalAmount: 10
  },
  {
    key: 3,
    productName: "产品D1",
    totalSum: 10,
    totalAmount: 10
  },
  {
    key: 4,
    productName: "产品A2",
    totalSum: 10,
    totalAmount: 10
  },
  {
    key: 5,
    productName: "产品D2",
    totalSum: 10,
    totalAmount: 10
  },
  {
    key: 6,
    productName: "产品A3",
    totalSum: 10,
    totalAmount: 10
  }
];
const dataJson = {
  dimensions: dimensions$1,
  source: source$1
};
const { dimensions, source } = dataJson;
const option = {
  dataset: { dimensions, source },
  pagination: {
    page: 1,
    pageSize: 5
  },
  align: "center",
  style: {
    border: "on",
    singleColumn: "off",
    singleLine: "off",
    bottomBordered: "on",
    striped: "on",
    fontSize: 16,
    borderWidth: 0,
    borderColor: "black",
    borderStyle: "solid"
  },
  inputShow: "none"
};
class Config extends PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", TablesBasicConfig.key);
    __publicField(this, "attr", { ...chartInitConfig, w: 600, h: 300, zIndex: -1 });
    __publicField(this, "chartConfig", cloneDeep(TablesBasicConfig));
    __publicField(this, "option", cloneDeep(option));
  }
}
export {
  Config as default,
  option
};
