// 유틸리티가 더 많이 쌓이면
import ErrProtecter from "./errProtect";
import isEmpty from "./isEmptyData";
import autoHypen, { autoComma, numberStr, toNumber } from "./autoFormat";
import {
  JDMonthTextChanger,
  JDWeekChanger,
  applyDaysToArr,
  arrToApplyDays,
  dayarrEnToBooleanArr
} from "./dayOfweeks";
import {
  isEmail,
  isPhone,
  isName,
  isUrl,
  isMaxOver,
  isYYYYMMDD,
  isPassword,
  isNumberMinMax
} from "./inputValidations";
import { getCookie, setCookie } from "./cookies";
import { textAlignClass, colorClass } from "./autoClasses";
import { showError } from "./errorMessage";
import onCompletedMessage from "./onCompletedMessage";
import queryDataFormater from "./queryFormater";
import setMidNight from "./setMidNight";
import removeNullOfObject from "./removeNullOfObject";
import s4 from "./keyGen";
import randomIntFromInterval from "./randomNumber";
import muResult from "./mutationResultSafty";
import instanceOfA from "./interfaceMatch";
import JDscrollTo from "./scrollTo";
import targetBlink from "./targetBlink";
import mergeObject from "./mergeObject";
import jsonString from "./jsonString";
import getGenderIcon from "./getGenderIcon";
import isLast from "./isLast";

const JDutils = {
  ErrProtecter,
  targetBlink,
  isEmpty,
  isEmail,
  isPhone,
  isUrl,
  isName,
  isMaxOver,
  isPassword,
  textAlignClass,
  colorClass,
  getCookie,
  JDscrollTo,
  setCookie,
  randomIntFromInterval,
  JDMonthTextChanger,
  autoHypen,
  onCompletedMessage,
  queryDataFormater,
  setMidNight,
  applyDaysToArr,
  arrToApplyDays,
  autoComma,
  dayarrEnToBooleanArr,
  isLast,
  isYYYYMMDD,
  getGenderIcon,
  numberStr,
  toNumber,
  isNumberMinMax,
  muResult,
  removeNullOfObject,
  jsonString,
  instanceOfA,
  mergeObject,
  s4
};

export default JDutils;
export {
  onCompletedMessage,
  JDMonthTextChanger,
  instanceOfA,
  jsonString,
  JDWeekChanger,
  isEmpty,
  textAlignClass,
  colorClass,
  ErrProtecter,
  removeNullOfObject,
  autoHypen,
  dayarrEnToBooleanArr,
  getGenderIcon,
  showError,
  queryDataFormater,
  mergeObject,
  setMidNight,
  JDscrollTo,
  applyDaysToArr,
  randomIntFromInterval,
  arrToApplyDays,
  targetBlink,
  autoComma,
  numberStr,
  muResult,
  toNumber,
  isYYYYMMDD,
  s4
};
