"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" } });
require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js");
require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.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");
var WritingModeEnum = /* @__PURE__ */ ((WritingModeEnum2) => {
  WritingModeEnum2["HORIZONTAL"] = "水平";
  WritingModeEnum2["VERTICAL"] = "垂直";
  return WritingModeEnum2;
})(WritingModeEnum || {});
const WritingModeObject = {
  [
    "水平"
    /* HORIZONTAL */
  ]: "horizontal-tb",
  [
    "垂直"
    /* VERTICAL */
  ]: "vertical-rl"
};
var FontWeightEnum = /* @__PURE__ */ ((FontWeightEnum2) => {
  FontWeightEnum2["NORMAL"] = "常规";
  FontWeightEnum2["BOLD"] = "加粗";
  return FontWeightEnum2;
})(FontWeightEnum || {});
const FontWeightObject = {
  [
    "常规"
    /* NORMAL */
  ]: "normal",
  [
    "加粗"
    /* BOLD */
  ]: "bold"
};
const option = {
  link: "",
  linkHead: "http://",
  dataset: "我是文本",
  fontSize: 20,
  fontColor: "#ffffff",
  paddingX: 10,
  paddingY: 10,
  textAlign: "center",
  // 水平对齐方式
  fontWeight: "normal",
  // 边框
  borderWidth: 0,
  borderColor: "#ffffff",
  borderRadius: 5,
  // 字间距
  letterSpacing: 5,
  writingMode: "horizontal-tb",
  backgroundColor: "#00000000"
};
class Config extends publicConfig.PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", index.TextCommonConfig.key);
    __publicField(this, "chartConfig", cloneDeep.default(index.TextCommonConfig));
    __publicField(this, "option", cloneDeep.default(option));
  }
}
exports.FontWeightEnum = FontWeightEnum;
exports.FontWeightObject = FontWeightObject;
exports.WritingModeEnum = WritingModeEnum;
exports.WritingModeObject = WritingModeObject;
exports.default = Config;
exports.option = option;
