"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const httpEnum = require("../../../../../enums/httpEnum.js");
var DataResultEnum = /* @__PURE__ */ ((DataResultEnum2) => {
  DataResultEnum2[DataResultEnum2["NULL"] = 0] = "NULL";
  DataResultEnum2[DataResultEnum2["SUCCESS"] = 1] = "SUCCESS";
  DataResultEnum2[DataResultEnum2["FAILURE"] = 2] = "FAILURE";
  return DataResultEnum2;
})(DataResultEnum || {});
var TimelineTitleEnum = /* @__PURE__ */ ((TimelineTitleEnum2) => {
  TimelineTitleEnum2["FILTER"] = "数据过滤";
  TimelineTitleEnum2["MAPPING"] = "数据映射";
  TimelineTitleEnum2["CONTENT"] = "数据内容";
  return TimelineTitleEnum2;
})(TimelineTitleEnum || {});
var SelectCreateDataEnum = /* @__PURE__ */ ((SelectCreateDataEnum2) => {
  SelectCreateDataEnum2["STATIC"] = "静态数据";
  SelectCreateDataEnum2["AJAX"] = "动态请求";
  SelectCreateDataEnum2["Pond"] = "公共接口";
  return SelectCreateDataEnum2;
})(SelectCreateDataEnum || {});
const selectTypeOptions = [
  {
    label: httpEnum.RequestHttpEnum.GET,
    value: httpEnum.RequestHttpEnum.GET,
    style: {
      color: "greenyellow",
      fontWeight: "bold"
    }
  },
  {
    label: httpEnum.RequestHttpEnum.POST,
    value: httpEnum.RequestHttpEnum.POST,
    style: {
      color: "skyblue",
      fontWeight: "bold"
    }
  },
  {
    label: httpEnum.RequestHttpEnum.PUT,
    value: httpEnum.RequestHttpEnum.PUT,
    style: {
      color: "goldenrod",
      fontWeight: "bold"
    }
  },
  {
    label: httpEnum.RequestHttpEnum.PATCH,
    value: httpEnum.RequestHttpEnum.PATCH,
    style: {
      color: "violet",
      fontWeight: "bold"
    }
  },
  {
    label: httpEnum.RequestHttpEnum.DELETE,
    value: httpEnum.RequestHttpEnum.DELETE,
    disabled: true,
    style: {
      fontWeight: "bold"
    }
  }
];
const selectTimeOptions = [
  {
    label: httpEnum.SelectHttpTimeNameObj[httpEnum.RequestHttpIntervalEnum.SECOND],
    value: httpEnum.RequestHttpIntervalEnum.SECOND
  },
  {
    label: httpEnum.SelectHttpTimeNameObj[httpEnum.RequestHttpIntervalEnum.MINUTE],
    value: httpEnum.RequestHttpIntervalEnum.MINUTE
  },
  {
    label: httpEnum.SelectHttpTimeNameObj[httpEnum.RequestHttpIntervalEnum.HOUR],
    value: httpEnum.RequestHttpIntervalEnum.HOUR
  },
  {
    label: httpEnum.SelectHttpTimeNameObj[httpEnum.RequestHttpIntervalEnum.DAY],
    value: httpEnum.RequestHttpIntervalEnum.DAY
  }
];
exports.DataResultEnum = DataResultEnum;
exports.SelectCreateDataEnum = SelectCreateDataEnum;
exports.TimelineTitleEnum = TimelineTitleEnum;
exports.selectTimeOptions = selectTimeOptions;
exports.selectTypeOptions = selectTypeOptions;
