// 유틸리티가 더 많이 쌓이면
import isEmpty from './isEmptyData';
import autoHypen, {
  autoComma,
  numberStr,
  toNumber,
  card_space,
  dateRangeFormat,
  removeSpecialChar,
} from './autoFormat';
import { share } from './share';
import { getFromUrl, getAllFromUrl, getFullHost, getUrlParams } from './getFromUrl';
import copytoClipboard from './copyToClipboard';
import insideRedirect from './insideRedirect';
import dataURLtoFile from './dataURLtoFile';
import { textAlignClass, JDatomClasses } from './autoClasses';
import searchListFormat from './searchListFormater';
import queryDataFormater, { getFromResult } from './queryFormater';
import setMidNight, { to4YMMDD } from './setMidNight';
import removeNullOfObject from './removeNullOfObject';
import s4 from './keyGen';
import {
  getScrollParent,
  parentScrollMove,
  parentScrollMoveToElement,
  focusWithScroll,
  foucs,
} from './parentScroll';
import focusById from "./focus";
import validate, { Validater } from "./validate";
import { fromToRender } from './fromToRender';
import randomIntFromInterval from './randomNumber';
import muResult from './mutationResultSafty';
import instanceOfA from './interfaceMatch';
import jsonString from './jsonString';
import { selectOpCreater, enumToOption } from './selectOptionCreater';
import isLast from './isLast';
import { arraySum, getAverage, getByteLength } from './elses';
import onCompletedMessage from './onCompletedMessage';
import { eraseCookie, getCookie, setCookie } from './cookies';
import { updateURLParameter } from './updateURLParameter';
import {
  isDomain,
  isEmail,
  isNumber,
  isYYYYMMDD,
  isPhone,
  isName,
  isUrl,
  isMaxOver,
  isPassword,
  isNumberMinMax,
  isLengthIn,
  isHaveScharacter,
  isHaveNumber,
  isIncludeSpecialChar,
} from './validater';
import { toOps, opFind } from "./toOps";
import { LocalManager } from './localManager';
import { printRecipt } from './printRecipt';
import { getRefetch } from './api';
import { deepCopy, cloneObject } from './clone';
import { arrayEqual } from './arrayEqual';

const JDutils = {
  eraseCookie,
  getRefetch,
  getCookie,
  setCookie,
  LocalManager,
  printRecipt,
  dataURLtoFile,
  getUrlParams,
  toOps, opFind,
  enumToOption,
  card_space,
  textAlignClass,
  arraySum,
  selectOpCreater,
  randomIntFromInterval,
  searchListFormat,
  autoHypen,
  getScrollParent,
  parentScrollMove,
  parentScrollMoveToElement,
  focusWithScroll,
  queryDataFormater,
  onCompletedMessage,
  setMidNight,
  autoComma,
  numberStr,
  fromToRender,
  toNumber,
  muResult,
  removeNullOfObject,
  jsonString,
  insideRedirect,
  instanceOfA,
  s4,
  JDatomClasses,
  getFromResult,
  removeSpecialChar,
  dateRangeFormat,
  share,
  isLast,
  isEmpty,
  isEmail,
  isDomain,
  isNumber,
  isYYYYMMDD,
  isPhone,
  isName,
  isUrl,
  isMaxOver,
  isPassword,
  isNumberMinMax,
  isLengthIn,
  isHaveScharacter,
  isHaveNumber,
  isIncludeSpecialChar,
  to4YMMDD,
  getFromUrl,
  getAllFromUrl,
  copytoClipboard,
  updateURLParameter,
  deepCopy,
  cloneObject,
  getFullHost,
  getByteLength,
  arrayEqual
};



export {
  getFullHost,
  isEmpty,
  card_space,
  textAlignClass,
  arraySum,
  getUrlParams,
  getRefetch,
  dataURLtoFile,
  randomIntFromInterval,
  searchListFormat,
  autoHypen,
  foucs,
  deepCopy,
  cloneObject,
  queryDataFormater,
  onCompletedMessage,
  setMidNight,
  toOps, opFind,
  autoComma,
  enumToOption,
  isLast,
  numberStr,
  fromToRender,
  getByteLength,
  toNumber,
  muResult,
  removeNullOfObject,
  jsonString,
  insideRedirect,
  instanceOfA,
  s4,
  getFromResult,
  isEmail,
  isDomain,
  removeSpecialChar,
  dateRangeFormat,
  isNumber,
  isYYYYMMDD,
  selectOpCreater,
  isPhone,
  LocalManager,
  JDatomClasses,
  updateURLParameter,
  getFromUrl,
  copytoClipboard,
  getAverage,
  isName,
  validate,
  Validater,
  focusById,
  getAllFromUrl,
  isUrl,
  isMaxOver,
  to4YMMDD,
  isPassword,
  isNumberMinMax,
  isLengthIn,
  isHaveScharacter,
  isHaveNumber,
  isIncludeSpecialChar,
  share,
  parentScrollMove,
  parentScrollMoveToElement,
  focusWithScroll,
  arrayEqual
};
export default JDutils;
