import { RequestHttpEnum, SelectHttpTimeNameObj, RequestHttpIntervalEnum } from "../../../../../enums/httpEnum.mjs";
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: RequestHttpEnum.GET,
    value: RequestHttpEnum.GET,
    style: {
      color: "greenyellow",
      fontWeight: "bold"
    }
  },
  {
    label: RequestHttpEnum.POST,
    value: RequestHttpEnum.POST,
    style: {
      color: "skyblue",
      fontWeight: "bold"
    }
  },
  {
    label: RequestHttpEnum.PUT,
    value: RequestHttpEnum.PUT,
    style: {
      color: "goldenrod",
      fontWeight: "bold"
    }
  },
  {
    label: RequestHttpEnum.PATCH,
    value: RequestHttpEnum.PATCH,
    style: {
      color: "violet",
      fontWeight: "bold"
    }
  },
  {
    label: RequestHttpEnum.DELETE,
    value: RequestHttpEnum.DELETE,
    disabled: true,
    style: {
      fontWeight: "bold"
    }
  }
];
const selectTimeOptions = [
  {
    label: SelectHttpTimeNameObj[RequestHttpIntervalEnum.SECOND],
    value: RequestHttpIntervalEnum.SECOND
  },
  {
    label: SelectHttpTimeNameObj[RequestHttpIntervalEnum.MINUTE],
    value: RequestHttpIntervalEnum.MINUTE
  },
  {
    label: SelectHttpTimeNameObj[RequestHttpIntervalEnum.HOUR],
    value: RequestHttpIntervalEnum.HOUR
  },
  {
    label: SelectHttpTimeNameObj[RequestHttpIntervalEnum.DAY],
    value: RequestHttpIntervalEnum.DAY
  }
];
export {
  DataResultEnum,
  SelectCreateDataEnum,
  TimelineTitleEnum,
  selectTimeOptions,
  selectTypeOptions
};
