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 { HeatmapConfig } from "./index.mjs";
import { l as lodashExports } from "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.mjs";
import dataJson from "./data.json.mjs";
const includes = ["xAxis", "yAxis", "grid"];
const option = {
  dataset: { ...dataJson },
  tooltip: {
    position: "top"
  },
  xAxis: {
    data: dataJson.xAxis
  },
  yAxis: {
    data: dataJson.yAxis
  },
  visualMap: {
    show: true,
    min: 0,
    max: 10,
    itemWidth: 20,
    itemHeight: 140,
    calculable: true,
    orient: "horizontal",
    inRange: {
      // 高 -> 低
      color: ["#4661c2", "#263253"]
    }
  },
  series: [
    {
      name: "",
      type: "heatmap",
      data: dataJson.seriesData,
      label: {
        show: true
      },
      emphasis: {
        itemStyle: {
          borderColor: "#333",
          borderWidth: 1,
          shadowBlur: 10,
          shadowColor: "rgba(0, 0, 0, 0.5)"
        }
      },
      progressive: 1e3,
      animation: false
    }
  ]
};
class Config extends PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", HeatmapConfig.key);
    __publicField(this, "chartConfig", lodashExports.cloneDeep(HeatmapConfig));
    // 图表配置项
    __publicField(this, "option", echartOptionProfixHandle(option, includes));
  }
}
export {
  Config as default,
  includes,
  option
};
