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 { echartOptionProfixHandle } from "../../../../public/chart.mjs";
import { PublicConfigClass } from "../../../../public/publicConfig.mjs";
import { WaterPoloConfig } from "./index.mjs";
import cloneDeep from "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.mjs";
const shapes = [
  {
    label: "圆形",
    value: "circle"
  },
  {
    label: "正方形",
    value: "rect"
  },
  {
    label: "带圆角的正方形",
    value: "roundRect"
  },
  {
    label: "正三角形",
    value: "triangle"
  },
  {
    label: "菱形",
    value: "diamond"
  },
  {
    label: "水滴",
    value: "pin"
  },
  {
    label: "箭头",
    value: "arrow"
  }
];
const includes = [];
const option = {
  dataset: 0.5,
  series: [
    {
      type: "liquidFill",
      shape: shapes[0].value,
      radius: "90%",
      data: [0],
      center: ["50%", "50%"],
      color: [
        {
          type: "linear",
          x: 0,
          y: 0,
          x2: 0,
          y2: 1,
          colorStops: [
            {
              offset: 0,
              color: "#446bf5"
            },
            {
              offset: 1,
              color: "#2ca3e2"
            }
          ],
          globalCoord: false
        }
      ],
      backgroundStyle: {
        borderWidth: 1,
        color: "rgba(51, 66, 127, 0.7)"
      },
      label: {
        normal: {
          textStyle: {
            fontSize: 50,
            color: "#fff"
          }
        }
      },
      outline: {
        show: false,
        borderDistance: 10,
        itemStyle: {
          borderWidth: 2,
          borderColor: "#112165"
        }
      }
    }
  ]
};
class Config extends PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", WaterPoloConfig.key);
    __publicField(this, "chartConfig", cloneDeep(WaterPoloConfig));
    __publicField(this, "option", echartOptionProfixHandle(option, includes));
  }
}
export {
  Config as default,
  includes,
  option,
  shapes
};
