"use strict";
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;
};
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const chart = require("../../../../public/chart.js");
const publicConfig = require("../../../../public/publicConfig.js");
const index = require("./index.js");
const cloneDeep = require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.js");
const includes = [];
const option = {
  backgroundColor: "#0E1327",
  dataset: 70,
  series: [
    {
      type: "gauge",
      data: [{
        value: 70,
        itemStyle: {
          // 指针样式
          color: "#2AF4FF"
        }
      }],
      min: 0,
      //最小刻度
      max: 100,
      //最大刻度
      splitNumber: 10,
      //刻度数量
      center: ["50%", "55%"],
      radius: "80%",
      axisLine: {
        lineStyle: {
          color: [
            [0, "rgba(0,212,230,0.5)"],
            [1, "rgba(28,128,245,0)"]
          ],
          width: 170
        }
      },
      axisLabel: {
        // 文字样式
        color: "#eee",
        fontSize: 14
      },
      axisTick: {
        show: false
      },
      splitLine: {
        show: false
      },
      detail: {
        show: false
      },
      pointer: {
        length: "80%",
        width: 4
      },
      animationDuration: 2e3
    },
    {
      name: "外部刻度",
      type: "gauge",
      center: ["50%", "55%"],
      radius: "90%",
      axisLine: {
        show: true,
        lineStyle: {
          width: 25,
          color: [
            // 表盘外部颜色
            [0, "#1369E380"],
            [1, "#1369E380"]
          ]
        }
      },
      axisLabel: {
        show: false
      },
      axisTick: {
        splitNumber: 5,
        lineStyle: {
          //刻度颜色
          color: "#42E5FB",
          width: 2
        }
      },
      splitLine: {
        length: 15,
        lineStyle: {
          color: "#42E5FB"
        }
      }
    }
  ]
};
class Config extends publicConfig.PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", index.DialConfig.key);
    __publicField(this, "chartConfig", cloneDeep.default(index.DialConfig));
    // 图表配置项
    __publicField(this, "option", chart.echartOptionProfixHandle(option, includes));
  }
}
exports.default = Config;
exports.includes = includes;
