{"version":3,"sources":["webpack:///./src/admin/languages/en.yaml","webpack:///./src/admin/languages/ja.yaml","webpack:///./src/admin/languages/ko.yaml","webpack:///./src/admin/languages/zh.yaml","webpack:///./src/admin/plugins/i18n.js","webpack:///./src/models/model.js"],"names":["common","actions","ok","save","cancel","reset","search","copyLink","download","enums","YES","NO","Y","N","filters","user","email","userId","EMAIL","ID","country","KR","JP","EN","certification","batch","columns","errorMessage","userIdOrEmail","userName","certificationUserName","curriculumLevel","curriculumCategoryId","curriculumVersion","examTurn","examLanguage","alerts","finish","prompts","file","title","message","errors","required","invalid","curriculum","expired","unMatched","create","syncTest","syncPayment","open","close","props","userEmail","certificationName","level","version","code","expireYear","logo","passScore","introduce","expirationPeriod","codeInternal","codeExternal","examCode","curriculumCode","curriculumDescription","examId","state","discountAmount","discountCode","discountCodeDesc","discountReason","certificationCode","issuedCount","validIssuedCount","manage","createdAt","ESSENTIAL","ASSOCIATE","PROFESSIONAL","status","DISABLE","ENABLE","language","KO","confirms","saveComplete","deleteComplete","update","updateComplete","constraints","userCountry","register","note1","note2","detail","note","exam","examName","startAt","finishAt","manageNo","link","applicantCount","openState","candidateView","examFee","capacity","OPEN","HIDDEN","DRAFT","ANNOUNCED","CLOSED","PREPARED","DROPPED","IN_PROGRESS","WAITING_COMPLETION","FINISHED","hide","examToday","examTime","examFinish","applicant","list","name","examNumber","transactionAt","totalAmount","progressState","score","result","SCHEDULED","CANCELED","COMPLETED","PASSED","FAILED","NOT_ATTENDED","payment","REQUESTED","CREDIT","pgTransactionId","uuid","paymentType","isDiscounted","transactionStartAt","transactionFinishAt","discount","creatorId","used","usedAt","usedStartAt","usedFinishAt","syncOntest","success","lecture","id","method","practice","creditCampaignId","attenderCapacity","attenderCount","target","approveState","price","announcedAt","modifiedAt","modifierId","materialFileId","dropReason","meetingUrl","lectureDays","canceledCount","completedCount","size","ONLINE","OFFLINE","BASIC","INTERMEDIATE","ADVANCE","PAUSED","NORMAL","PARTNER","APPROVED","FREE","noticed","NONE","FIRST","SECOND","announce","prepare","drop","notice","complete","pause","unpause","dropReasonTitle","copyOnlineMeetingUrlSuccess","copyOnlineMeetingUrlFail","pauseNotice","unPauseNotice","unPause","dropNotice","completeNotice","warnings","description","lectureId","locale","statistics","total","countPerTarget","countPerLevel","countPerMethod","totalCount","partner","normal","online","offline","basic","intermediate","advance","attender","type","purpose","companyName","applyState","canceledAt","creditResult","modifierName","appliedAt","reattend","incomplete","notAttended","MEMBER","NONMEMBER","PARTNER_MEMBER","APPLIED","PAID","applyStateGroup","ATTENDED","WAITING_FINISH","INTRODUCE_TRANSFER","KNOWLEDGE_NHNCLOUD","KNOWLEDGE_PERSONAL","THIRD_PARTY_CSP","ETC","INCOMPLETE","SUCCESS","FAILURE","blacklist","reportedCount","restrictStartAt","restrictFinishAt","states","fromCreatedAt","toCreatedAt","REPORTED","RESTRICTED","EXPIRED","terms","typeId","enforcedAt","fixedAt","fixerId","find","fix","importAll","exportAll","importSend","termsId","markdown","html","FIXED","locales","ko_KR","en_US","ja_JP","zh_CN","dialog","iso8601","future","requestAttender","requestLectureDays","i18n","createI18n","Locale","getLanguage","fallbackLocale","getDefaultLanguage","messages","en","ja","ko","zh","snapshotSymbol","Symbol","errorsSymbol","errorSymbol","Model","this","value","a","options","validatorOptions","_","titles","validateTitles","validate","$errors","forEach","key","length","error","property","$error","assign","snapshot","equals","reduce","acc","data","b","Sort","field","dir","Error","toUpperCase","sorts","qs","stringify","map","s","o","arrayFormat","queryString","parsed","parse","sort","array","sorters","fields","dirs","sorter","push","getField","getDir","toLowerCase","I18nEnumify","i18nKey","global","t","enumValues","e","enumKey","label","keyProperty","labelProperty","str","Enumify"],"mappings":"g7PAAe,OCAA,OCAA,GAACA,OAAO,CAACC,QAAQ,CAACC,GAAG,KAAKC,KAAK,KAAKC,OAAO,KAAKC,MAAM,MAAMC,OAAO,KAAKC,SAAS,QAAQC,SAAS,QAAQC,MAAM,CAAC,YAAY,CAACC,IAAI,IAAIC,GAAG,OAAO,SAAS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CE,SAAYc,EAAOC,GACjB,GAAIA,GAAWA,EAAQ5B,OAAQ,CAC7B,IAAM6B,EAAS,GACTC,EAAO,GAKb,OAJAF,EAAQ9B,SAAQ,SAACiC,GACfF,EAAOG,KAAKD,EAAOE,YACnBH,EAAKE,KAAKD,EAAOG,SAASC,kBAErB1C,aAAUkC,EAAOE,EAAQC,GAElC,OAAO,eAAIH,OAvDf,K,cAkEaS,EAAb,wDAOE,WAAYC,GAAS,oCACnB,eADmB,+DAEnB,mCAAaA,GAFM,EAPvB,0CAGE,WACE,OAAOjE,OAAKkE,OAAOC,EAAZ,eAAcnD,KAAd,OAJX,yBAYE,WACE,IAAM+B,EAAM,GAKZ,OAJA/B,KAAKoD,WAAW1C,SAAQ,SAAC2C,GAEvBtB,EAAIsB,EAAEC,SAAWD,EAAEE,SAEdxB,IAlBX,0BAqBE,WAAoE,IAAhDyB,EAAgD,uDAAlC,QAASC,EAAyB,uDAAT,QAEzD,OAAOzD,KAAKoD,WAAWrB,KAAI,SAACsB,GAAD,mCACxBG,EAAcH,EAAEC,SADQ,iBAExBG,EAAgBJ,EAAEE,OAFM,OAvB/B,yBAkCE,SAAmBG,GACjB,OAAO,+DAAkBA,OAnC7B,GAAiCC","file":"js/admin~index.3dfd5c05.js","sourcesContent":["export default null;","export default null;","export default {common:{actions:{ok:'확인',save:'저장',cancel:'취소',reset:'초기화',search:'조회',copyLink:'링크 복사',download:'다운로드'},enums:{'yes-or-no':{YES:'예',NO:'아니오'},'y-or-n':{Y:'Y',N:'N'}},filters:{'page-size':'페이지당 노출 개수'}},user:{filters:{email:'이메일',userId:'UUID'},enums:{'filter-type':{EMAIL:'이메일',ID:'UUID'},country:{KR:'KR',JP:'JP',EN:'EN'}}},certification:{batch:{columns:{errorMessage:'에러메세지',userIdOrEmail:'Member Email/id',userName:'Member Name',certificationUserName:'English Name',curriculumLevel:'Certification Level',curriculumCategoryId:'Certification Subject',curriculumVersion:'Test Version',examTurn:'Test Turn',examLanguage:'Language'},alerts:{finish:'파일 등록이 완료 되었습니다.
대상 건 수: {totalCount}개
성공 건 수: {successCount}개
실패 건 수: {failureCount}개
\\n'},prompts:{file:{title:'자격증 업로드',message:'파일을 업로드 해주세요.'}},errors:{curriculumLevel:{required:'버전은 필수 입니다.',invalid:'유효하지 않은 버전 입니다.'},curriculum:{required:'과정은 필수 입니다.',invalid:'유효하지 않은 과정 입니다.'},certificationUserName:{required:'영문명은 필수 입니다.',invalid:'유효하지 않은 영문명 입니다.'},examLanguage:{required:'시험 언어는 필수 입니다.',invalid:'유효하지 않은 시험 언어 입니다.'},userIdOrEmail:{required:'아이디 또는 이메일은 필수 입니다.',invalid:'유효하지 않은 아이디 또는 이메일 입니다.'},examTurn:{required:'시험회차는 필수 입니다.',invalid:'유효하지 않은 시험회차 입니다.',expired:'만료된 시험회차 압니다.'},curriculumVersion:{required:'시험 버전은 필수 입니다.',invalid:'유효하지 않은 시험버전 입니다.'},userName:{unMatched:'사용자 이름이 사용자 정보와 일치하지 않습니다.'}}},actions:{create:'등록','delete':'삭제',syncTest:'온테스트 시험 정보 동기화',syncPayment:'온테스트 결제 정보 동기화',open:'공개',close:'비공개'},props:{userName:'이름',userEmail:'이메일',certificationName:'자격증 명',level:'자격증 레벨',version:'자격증 버전',code:'자격증 코드',expireYear:'만료기간',logo:'자격 로고',passScore:'합격 점수',introduce:'자격증 설명',expirationPeriod:'만료기간',codeInternal:'자격증 코드 (내부)',codeExternal:'자격증 코드 (외부)',examCode:'자격증 시험 코드 (내부)',curriculumCode:'자격증 시험 코드 (외부)',curriculumDescription:'자격증 과정',curriculumVersion:'시험 버전',examId:'시험 회차',state:'자격증 상태',discountAmount:'할인 금액',discountCode:'할인 코드',discountCodeDesc:'(등록시 자동 생성됩니다.)',discountReason:'할인 설명'},filters:{level:'자격증 레벨',state:'자격증 상태',certificationName:'자격증 이름',certificationCode:'자격증 코드'},columns:{certificationName:'자격증 이름',version:'자격증 버전',code:'자격증 코드',expirationPeriod:'만료기간',issuedCount:'자격증 취득 수',validIssuedCount:'자격증 활성 개수',state:'자격증 상태',manage:'관리',createdAt:'생성일'},enums:{level:{ESSENTIAL:'Essential',ASSOCIATE:'Associate',PROFESSIONAL:'Professional'},status:{DISABLE:'비활성화',ENABLE:'활성화'},language:{KO:'ko'}},confirms:{save:'등록 시 자격증이 발급됩니다.
등록하시겠습니까?',saveComplete:'자격증 등록 및 발급이 완료되었습니다.','delete':'삭제한 후에는 복구할 수 없습니다. 삭제하시겠습니까?',deleteComplete:'자격증이 삭제되었습니다.',update:'자격증 정보를 수정하시겠습니까?',updateComplete:'자격증 정보 수정이 완료되었습니다.'},constraints:{userCountry:'허용되지 않은 국가의 사용자입니다.',certificationName:'자격증 명은 영문, 숫자, 공백 포함 최대 100자까지 입력 가능합니다.'},register:{title:'신규 자격증 등록',note1:'자격증 코드는 자격증 최종 등록 시 자동으로 생성됩니다.',note2:'자격증 로고는 jpg 또는 png만 등록하시기 바랍니다.'},detail:{title:'자격증 상세 보기',note:'이 자격증을 보유(활성화) 중인 회원이 존재하는 경우 폐기 또는 삭제가 불가능하며 수정은 설명만 가능합니다.'},exam:{filters:{examName:'시험이름',certificationCode:'자격증 코드',examCode:'관리번호',startAt:'시작일시',finishAt:'종료일시',state:'상태'},columns:{examName:'시험이름',certificationCode:'자격증코드',manageNo:'관리번호',startAt:'시작일시',finishAt:'종료일시',link:'시험링크',applicantCount:'접수/마감인원',openState:'공개여부',state:'상태',candidateView:'응시자 명단',detail:'상세보기'},props:{examName:'시험이름',certificationCode:'자격증 코드',startAt:'시작 일시',finishAt:'종료 일시',examFee:'응시료',capacity:'응시인원',state:'시험상태',openState:'공개여부',open:'공개',close:'비공개'},enums:{ENABLE:'활성화',DISABLE:'비활성화',OPEN:'공개',HIDDEN:'비공개',state:{DRAFT:'접수 대기',ANNOUNCED:'접수 중',CLOSED:'접수 완료',PREPARED:'시험 예정',DROPPED:'시험 취소',IN_PROGRESS:'시험 중',WAITING_COMPLETION:'시험 완료 대기',FINISHED:'시험 완료'}},confirms:{update:'시험 정보를 수정하시겠습니까?',updateComplete:'시험 정보 수정이 완료되었습니다.',open:'시험을 공개 하시겠습니까?',hide:'시험을 비공개 하시겠습니까?'},alerts:{open:'시험이 공개 되었습니다.',hide:'시험이 비공개 되었습니다.'},detail:{title:'시험 상세 정보',note:'시험에 대한 상세 설정은 onTEST 관리자 페이지에서 가능하며, NCA는 시험의 응시 인원과 응시료, 공개 여부만 변경 가능합니다.'},examToday:'오늘 시험',examTime:'시험중',examFinish:'시험 종료'},applicant:{list:'응시자 명단',columns:{userId:'사용자 아이디',name:'이름',examNumber:'응시번호',transactionAt:'결제일시',discountCode:'할인코드적용 여부',totalAmount:'결제금액',progressState:'진행상태',score:'점수',result:'시험결과'},filters:{name:'이름',progressState:'진행상태',result:'시험결과'},enums:{DRAFT:'접수 대기',SCHEDULED:'진행 예정',CANCELED:'취소 완료',DROPPED:'시험 취소',IN_PROGRESS:'진행중',COMPLETED:'완료',PASSED:'합격',FAILED:'불합격',NOT_ATTENDED:'불참'}},payment:{enums:{REQUESTED:'결제요청',COMPLETED:'결제완료',CANCELED:'결제취소',CREDIT:'카드결제'},columns:{pgTransactionId:'결제번호',uuid:'UUID',name:'이름',examName:'시험이름',examCode:'시험코드',startAt:'시험일시',paymentType:'결제수단',transactionAt:'결제일시',isDiscounted:'할인유무',totalAmount:'결제금액',state:'상태'},filters:{pgTransactionId:'결제번호',userName:'이름',examName:'시험이름',examCode:'시험코드',transactionStartAt:'결제일시(from)',transactionFinishAt:'결제일시(to)',state:'상태'}},discount:{columns:{discountCode:'할인코드',creatorId:'코드 생성 UUID',createdAt:'생성일시',discountAmount:'할인금액',used:'사용유무',usedAt:'사용일시',userId:'사용 UUID',examName:'적용 시험이름',detail:'상세보기'},filters:{discountCode:'할인코드',usedStartAt:'사용일시(from)',usedFinishAt:'사용일시(to)',examName:'적용 시험이름'},confirms:{create:'할인코드를 생성하시겠습니까?',update:'할인코드를 수정하시겠습니까?',saveComplete:'할인코드가 생성되었습니다.',updateComplete:'할인코드가 수정되었습니다.','delete':'삭제한 후에는 복구할 수 없습니다. 삭제하시겠습니까?',deleteComplete:'할인코드가 삭제되었습니다.'},detail:{note:'응시료 할인 코드 생성 전 내부기안, 결재 등 할인에 대해 근거 작성은 필수입니다.'}},syncOntest:{success:'온테스트 정보 동기화가 완료되었습니다.'}},lecture:{props:{id:'아이디',code:'코드',startAt:'시작일시',finishAt:'종료일시',method:'방식',level:'레벨',state:'상태',practice:'실습 유무',creditCampaignId:'크레딧 캠페인 아이디',attenderCapacity:'수강인원',attenderCount:'신청인원',target:'대상',approveState:'승인 상태',price:'가격',paymentType:'결제유형',announcedAt:'공개일시',createdAt:'생성일시',modifiedAt:'수정일시',modifierId:'수정자 아이디',creatorId:'생성자 아이디',materialFileId:'교육 자료',dropReason:'교육 취소 사유',detail:{meetingUrl:'온라인 교육 링크'},lectureDays:'강의 일자'},columns:{title:'교육명',code:'코드',startAt:'시작일시',finishAt:'종료일시',state:'교육상태',method:'교육방식',level:'교육레벨',target:'교육대상',practice:'실습 유무',creditCampaignId:'크레딧 캠페인 아이디',meetingUrl:'온라인 교육 링크',attenderCapacity:'총 모집 인원',attenderCount:'신청 인원',canceledCount:'취소 인원',completedCount:'수료 인원'},filters:{title:'교육명',state:'교육상태',level:'교육레벨',target:'교육대상',startAt:'시작 일시',finishAt:'종료 일시',size:'페이지당 노출 개수'},enums:{method:{ONLINE:'온라인',OFFLINE:'오프라인'},level:{BASIC:'Basic',INTERMEDIATE:'Intermediate',ADVANCE:'Advance'},state:{DRAFT:'모집 전',ANNOUNCED:'모집 중',CLOSED:'모집 완료',PAUSED:'모집 중지',PREPARED:'교육 전',COMPLETED:'교육 완료',DROPPED:'교육 취소',WAITING_COMPLETION:'교육 완료 대기',IN_PROGRESS:'교육 중'},target:{NORMAL:'일반',PARTNER:'파트너'},approveState:{DRAFT:'작성중',REQUESTED:'승인요청',APPROVED:'승인완료',PAUSED:'승인보류'},paymentType:{FREE:'무료'},noticed:{NONE:'없음',FIRST:'1차',SECOND:'2차'},practice:{NONE:'N',NORMAL:'Y'}},actions:{save:'저장',announce:'모집시작(게재)','delete':'삭제',prepare:'신청마감',drop:'교육 취소',notice:'알림',complete:'수료 여부 확정',pause:'모집 중지',unpause:'모집 시작'},confirms:{save:'저장 하시겠습니까?',announce:'모집시작(게재)를 진행하시겠습니까?','delete':'삭제 하시겠습니까?',prepare:'신청마감 하시겠습니까?',drop:'강의를 취소 하시겠습니까?',pause:'모집 중지 하시겠습니까?',unpause:'모집 시작 시 모집 중지 상태가 해제됩니다.
모집을 시작하시겠습니까?',notice:'{0} 알림을 전송 하시겠습니까?'},alerts:{'delete':'삭제 되었습니다',drop:'교육이 취소 되었습니다',dropReasonTitle:'취소 사유(필수 입력)',notice:'{0} 알림이 전송 되었습니다',copyOnlineMeetingUrlSuccess:'온라인 교육 링크를 복사하였습니다.',copyOnlineMeetingUrlFail:'온라인 교육 링크 복사를 실패하였습니다.',pauseNotice:'모집 중지 시 교육 신청이 제한되며,
신청자 교육 취소는 가능합니다.
모집을 중지하시겠습니까?',pause:'모집이 중지되었습니다.',unPauseNotice:'모집 시작 시 모집 중지 상태가 해제됩니다.
모집을 시작하시겠습니까?',unPause:'모집 중지가 해지되었습니다.',dropNotice:'교육 취소 시 다시 복원할 수 없으며,
신청자가 있는 경우 취소 이메일이 발송됩니다.
교육을 취소하시겠습니까?',complete:'교육 수료 여부가 확정되었습니다.',completeNotice:'수료 여부 확정 시 변경할 수 없으며,
수료/미수료인 경우는 크레딧이 즉시 발급됩니다.
(실습이 없는 교육은 크레딧이 발급되지 않습니다.)
수료 여부를 확정하시겠습니까?'},warnings:{'exists-cannot-delete':'삭제 할 수 없는 강의가 존재합니다.'},constraints:{creditCampaignId:'크레딧 캠페인 아이디가 유효하지 않습니다.'},description:{props:{lectureId:'강의 아이디',locale:'지역코드',title:'제목',introduce:'소개 내용',createdAt:'생성일시',modifiedAt:'수정일시',modifierId:'수정자 아이디',creatorId:'생성자 아이디'}},statistics:{columns:{total:'교육 과정 수',countPerTarget:'교육 대상별 교육 과정 수',countPerLevel:'교육 레벨별 교육 과정 수',countPerMethod:'교육 방식별 교육 과정 수',totalCount:'전체',partner:'파트너',normal:'일반',online:'온라인',offline:'오프라인',basic:'Basic',intermediate:'Intermediate',advance:'Advance'}},attender:{props:{id:'아이디',lectureId:'강의 아이디',name:'이름',email:'이메일',type:'신청 대상',purpose:'신청 목적',companyName:'회사명',applyState:'신청 상태',progressState:'교육 상태',createdAt:'신청일',canceledAt:'취소일',modifierId:'수정자',result:'수료 여부',creditResult:'크레딧 지급 여부'},filters:{name:'이름',lectureId:'강의 아이디',type:'신청대상',applyState:'신청상태',result:'수료여부',creditResult:'크레딧 지급 여부'},columns:{id:'아이디',name:'이름',email:'이메일',type:'신청 대상',createdAt:'신청일',canceledAt:'취소일',modifierName:'수정자',applyState:'신청 상태',progressState:'교육 상태',state:'교육 상태',appliedAt:'신청 일시',result:'수료 여부',creditResult:'크레딧 지급 여부'},actions:{reattend:'재신청',cancel:'신청 취소',complete:'수료',incomplete:'미수료',notAttended:'불참'},alerts:{cancel:'신청이 취소 되었습니다',reattend:'재신청 되었습니다',complete:'수강 완료 되었습니다',incomplete:'미수료로 처리 되었습니다',notAttended:'불참으로 처리 되었습니다'},confirms:{save:'저장 하시겠습니까?',cancel:'신청 취소 하시겠습니까?',reattend:'재신청 하시겠습니까?',complete:'수강 완료 하시겠습니까?',incomplete:'미수료로 처리 하시겠습니까?',notAttended:'불참으로 처리 하시겠습니까?'},enums:{type:{MEMBER:'회원',PARTNER:'파트너',NONMEMBER:'비회원',PARTNER_MEMBER:'파트너(멤버)'},applyState:{APPLIED:'지원완료',PAID:'신청완료',COMPLETED:'완료',CANCELED:'취소완료',DROPPED:'교육취소'},applyStateGroup:{ATTENDED:'신청 완료',CANCELED:'신청 취소'},progressState:{SCHEDULED:'진행예정',CANCELED:'취소완료',PREPARED:'교육전',COMPLETED:'완료',NOT_ATTENDED:'미참석',DROPPED:'교육취소',IN_PROGRESS:'교육중',WAITING_FINISH:'교육완료대기',FINISHED:'교육완료'},purpose:{INTRODUCE_TRANSFER:'클라우드 도입 혹은 이전 고려',KNOWLEDGE_NHNCLOUD:'NHN Cloud 서비스에 대한 전반적인 지식 습득',KNOWLEDGE_PERSONAL:'개인적인 업무 능력 및 지식 습득',THIRD_PARTY_CSP:'타사 CSP 비교',ETC:'기타'},result:{COMPLETED:'수료',INCOMPLETE:'미수료',NOT_ATTENDED:'불참',CANCELED:'-'},creditResult:{NONE:'N',SUCCESS:'Y',FAILURE:'N'}},statistics:{columns:{attenderCapacity:'총 모집 인원 수',attenderCount:'신청 인원 수',canceledCount:'취소 인원 수',completedCount:'수료 인원 수'}}},blacklist:{props:{name:'이름',email:'이메일',state:'패널티 여부',reportedCount:'불참 횟수',restrictStartAt:'패널티 시작 일시',restrictFinishAt:'패널티 종료 일시'},filters:{name:'이름',email:'이메일',states:'패널티 여부',restrictStartAt:'패널티 시작 일시',restrictFinishAt:'패널티 종료 일시',fromCreatedAt:'생성 일시(from)',toCreatedAt:'생성 일시(to)'},columns:{id:'아이디',name:'이름',email:'이메일',reportedCount:'불참 횟수',state:'패널티 여부',restrictStartAt:'패널티 시작 일시',restrictFinishAt:'패널티 종료 일시',createdAt:'생성일시'},enums:{state:{REPORTED:'아니오',RESTRICTED:'예',EXPIRED:'만료'}}}},terms:{props:{id:'아이디',typeId:'약관 유형',version:'버전',state:'상태',announcedAt:'공고일시',enforcedAt:'시행일시',createdAt:'생성일시',modifiedAt:'수정일시',fixedAt:'확정일시',modifierId:'수정자 아이디',creatorId:'생성자 아이디',fixerId:'확정자 아이디'},actions:{find:'조회',create:'등록',save:'저장',fix:'확정','delete':'삭제',importAll:'import',exportAll:'export',importSend:'전송'},confirms:{save:'저장 하시겠습니까?',fix:'확정 하시겠습니까?','delete':'삭제 하시겠습니까?'},alerts:{'delete':'삭제 되었습니다',importSend:'전송이 완료 되었습니다'},columns:{version:'버전',state:'상태',announcedAt:'공고일자',enforcedAt:'시행일자',createdAt:'생성일시',modifiedAt:'수정일시',fixedAt:'확정일시',modifierId:'수정자 아이디',creatorId:'생성자 아이디',fixerId:'확정자 아이디'},filters:{typeId:'약관 유형'},description:{props:{termsId:'약관 아이디',language:'언어',title:'제목',markdown:'약관 내용',html:'약관 내용(html)',createdAt:'생성일시',modifiedAt:'수정일시',modifierId:'수정자 아이디',creatorId:'생성자 아이디'}},enums:{state:{DRAFT:'작성중',FIXED:'확정'}}},locales:{ko_KR:'한국어(ko)',en_US:'영어(en)',ja_JP:'일어(ja)',zh_CN:'중국어(zh)'},dialog:{notice:'알림',actions:{ok:'확인',cancel:'취소','delete':'삭제',update:'수정',close:'닫기'}},constraints:{iso8601:{future:'미래 일시여야 합니다','before-than':'{0} 보다 이전 일시여야 합니다','after-than':'{0} 보다 이후 일시여야 합니다','period-limit':'{0}년이 넘는 기간을 선택할 수 없습니다.'},requestAttender:'{0} 이 {1} 보다 적을 수 없습니다.',requestLectureDays:'{0}는 {1}와 {2} 차이 일 수 보다 클 수 없습니다.'}};","export default null;","import { createI18n } from 'vue-i18n'\nimport { Locale } from '@/models/locale'\nimport en from '@/admin/languages/en.yaml'\nimport ja from '@/admin/languages/ja.yaml'\nimport ko from '@/admin/languages/ko.yaml'\nimport zh from '@/admin/languages/zh.yaml'\n\nconst i18n = createI18n({\n locale: Locale.getLanguage(),\n fallbackLocale: Locale.getDefaultLanguage(),\n messages: {\n en, ja, ko, zh\n }\n})\n\nexport default i18n;\n","import * as _ from 'lodash'\nimport { validate } from 'class-validator-multi-lang'\nimport qs from 'qs'\nimport i18n from '@/admin/plugins/i18n'\nimport { Enumify } from 'enumify'\n\nconst snapshotSymbol = Symbol('snapshot')\nconst errorsSymbol = Symbol('errors')\nconst errorSymbol = Symbol('error')\n\nexport class Model {\n get $errors() {\n return this[errorsSymbol]\n }\n\n set $errors(value) {\n this[errorsSymbol] = value\n }\n\n get $error() {\n return this[errorSymbol]\n }\n\n set $error(value) {\n this[errorSymbol] = value\n }\n\n get validateTitles() {\n return {}\n }\n\n /**\n *\n * @returns {Promise} 유효성 체크 결과 true:유효 false:유효하지 않음\n */\n async validate(options = {}) {\n const validatorOptions = _.assign(\n {\n titles: this.validateTitles,\n },\n options\n )\n const errors = await validate(this, validatorOptions)\n _.keys(this.$errors).forEach((key) => _.unset(this.$errors, key))\n if (errors.length) {\n for (const error of errors) {\n this.$errors[error.property] = _.values(error.constraints)[0]\n //this.$errors[error.property] = _.values(error.constraints).join('')\n }\n this.$error = true\n return false\n }\n this.$error = false\n return true\n }\n\n snapshot() {\n this[snapshotSymbol] = _.cloneDeep(this)\n }\n\n getSnapshot() {\n return this[snapshotSymbol]\n }\n\n rollback(property) {\n if (property) {\n this[property] = this[snapshotSymbol][property]\n } else {\n this.assign(this[snapshotSymbol])\n }\n }\n\n hasChanged(property) {\n const snapshot = this[snapshotSymbol]\n if (property) {\n return !this.equals(snapshot[property], this[property])\n }\n return !_.keys(snapshot).reduce(\n (acc, key) => acc && this.equals(snapshot[key], this[key]),\n true\n )\n }\n\n initialize(data) {\n this.$errors = {}\n this.$error = false\n _.assign(this, data)\n\n this.snapshot()\n }\n\n equals(a, b) {\n return _.isEqual(a, b)\n }\n\n assign(data) {\n _.assign(this, data)\n }\n}\n\nexport async function exists(axios, url, data) {\n try {\n let response = await axios.get(url, {\n data: data,\n preventDefault: true,\n })\n return !!response.data\n } catch (e) {\n if (e.response.status == 404) {\n return false\n } else {\n typeof e.resumePreventDefault === 'function' && e.resumePreventDefault()\n throw e\n }\n }\n}\n\nexport class Sort {\n constructor(field, dir = 'ASC') {\n if (!field) {\n throw new Error('field is null')\n }\n this.field = field\n this.dir = dir.toUpperCase()\n }\n\n static toQueryString(sorts) {\n return qs.stringify(\n sorts.map((s) => {\n let o = {}\n o[s.field] = s.dir\n return o\n }),\n {\n arrayFormat: 'repeat',\n }\n )\n }\n\n static parseQueryString(queryString) {\n let parsed = qs.parse(queryString)\n return _.values(parsed).map((o) => {\n let sort\n _.forIn(o, (value, key) => {\n sort = new Sort(key, value)\n })\n return sort\n })\n }\n\n static createSort(field, dir) {\n return new Sort(field, dir)\n }\n\n getField() {\n return this.field\n }\n\n getDir() {\n return this.dir\n }\n\n static sort(array, sorters) {\n if (sorters && sorters.length) {\n const fields = []\n const dirs = []\n sorters.forEach((sorter) => {\n fields.push(sorter.getField())\n dirs.push(sorter.getDir().toLowerCase())\n })\n return _.orderBy(array, fields, dirs)\n }\n return [...array]\n }\n}\n\nexport class DefaultModel extends Model {\n constructor(data) {\n super()\n this.initialize(data)\n }\n}\n\nexport class I18nEnumify extends Enumify {\n #i18n\n\n get label() {\n return i18n.global.t(this.#i18n)\n }\n\n constructor(i18nKey) {\n super()\n this.#i18n = i18nKey\n }\n\n static toLabelMap() {\n const map = {}\n this.enumValues.forEach((e) => {\n // noinspection JSUnresolvedVariable\n map[e.enumKey] = e.label\n })\n return map\n }\n\n static toLabelArray(keyProperty = 'value', labelProperty = 'label') {\n // noinspection JSUnresolvedVariable\n return this.enumValues.map((e) => ({\n [keyProperty]: e.enumKey,\n [labelProperty]: e.label,\n }))\n }\n\n /**\n *\n * @param str\n * @returns {}\n */\n static enumValueOf(str) {\n return super.enumValueOf(str)\n }\n}\n"],"sourceRoot":""}