@daeryun/dr_components 0.8.94 → 0.8.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asset/images/BrochureBtn/download_btn.webp +0 -0
- package/dist/asset/images/PageTitleBox/archive.webp +0 -0
- package/dist/asset/images/PageTitleBox/archive_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/broadcast.webp +0 -0
- package/dist/asset/images/PageTitleBox/broadcast_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/faq.webp +0 -0
- package/dist/asset/images/PageTitleBox/faq_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/field.webp +0 -0
- package/dist/asset/images/PageTitleBox/field_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/info.webp +0 -0
- package/dist/asset/images/PageTitleBox/info_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/lawfirm.webp +0 -0
- package/dist/asset/images/PageTitleBox/lawfirm_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/notice.webp +0 -0
- package/dist/asset/images/PageTitleBox/notice_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/reply.webp +0 -0
- package/dist/asset/images/PageTitleBox/reply_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/success.webp +0 -0
- package/dist/asset/images/PageTitleBox/success_m.webp +0 -0
- package/dist/asset/images/PageTitleBox/trend.webp +0 -0
- package/dist/asset/images/PageTitleBox/trend_m.webp +0 -0
- package/dist/asset/images/SearchBar/search.webp +0 -0
- package/dist/asset/images/cat.png +0 -0
- package/dist/asset/images/categoryMenu/House.svg +3 -0
- package/dist/asset/images/categoryMenu/HouseWhite.svg +3 -0
- package/dist/asset/images/categoryMenu/right_arrow.svg +3 -0
- package/dist/asset/images/categoryView/section9_arrow_01.webp +0 -0
- package/dist/asset/images/categoryView/section9_arrow_02.webp +0 -0
- package/dist/asset/images/categoryView/section9_arrow_03.webp +0 -0
- package/dist/asset/images/categoryView/section9_arrow_04.webp +0 -0
- package/dist/asset/images/categoryView/section9_arrow_05.webp +0 -0
- package/dist/asset/images/categoryView/section9_icon.webp +0 -0
- package/dist/asset/images/choice/choice_call.webp +0 -0
- package/dist/asset/images/choice/choice_kakao.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_01.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_02.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_03.webp +0 -0
- package/dist/asset/images/choice/choice_stepIcon_04.webp +0 -0
- package/dist/asset/images/choice/choice_tri.webp +0 -0
- package/dist/asset/images/choice/mt_icon.svg +16 -0
- package/dist/asset/images/choice/new_choice_consult.webp +0 -0
- package/dist/asset/images/choice/new_choice_consulting.webp +0 -0
- package/dist/asset/images/consult/arrow_icon.svg +5 -0
- package/dist/asset/images/consulting/choice_lock.webp +0 -0
- package/dist/asset/images/consulting/new_choice_consulting.webp +0 -0
- package/dist/asset/images/daeryuntalk/close.svg +5 -0
- package/dist/asset/images/daeryuntalk/daeryun-logo.svg +5 -0
- package/dist/asset/images/daeryuntalk/daeryuntalk-intro.png +0 -0
- package/dist/asset/images/daeryuntalk/daeryuntalk_home_bg.png +0 -0
- package/dist/asset/images/daeryuntalk/download.svg +5 -0
- package/dist/asset/images/daeryuntalk/empty_message.svg +8 -0
- package/dist/asset/images/daeryuntalk/firstGo.svg +5 -0
- package/dist/asset/images/daeryuntalk/history.svg +6 -0
- package/dist/asset/images/daeryuntalk/home.svg +4 -0
- package/dist/asset/images/daeryuntalk/home_bg_logo.png +0 -0
- package/dist/asset/images/daeryuntalk/info.svg +5 -0
- package/dist/asset/images/daeryuntalk/link_right.svg +11 -0
- package/dist/asset/images/daeryuntalk/minus.svg +4 -0
- package/dist/asset/images/daeryuntalk/notice-icon.svg +4 -0
- package/dist/asset/images/daeryuntalk/notice.svg +6 -0
- package/dist/asset/images/daeryuntalk/objectBack.svg +4 -0
- package/dist/asset/images/daeryuntalk/plus.svg +4 -0
- package/dist/asset/images/daeryuntalk/prev.svg +3 -0
- package/dist/asset/images/daeryuntalk/re_send.svg +11 -0
- package/dist/asset/images/daeryuntalk/send.svg +11 -0
- package/dist/asset/images/daeryuntalk/time.svg +3 -0
- package/dist/asset/images/daeryuntalk/viewer/close.svg +4 -0
- package/dist/asset/images/daeryuntalk/viewer/gray-download.svg +7 -0
- package/dist/asset/images/daeryuntalk/viewer/move-button.svg +4 -0
- package/dist/asset/images/daeryuntalk/viewer/rotate.svg +17 -0
- package/dist/asset/images/daeryuntalk/viewer/zoom-in.svg +5 -0
- package/dist/asset/images/daeryuntalk/viewer/zoom-out.svg +4 -0
- package/dist/asset/images/faq/Ellipse.webp +0 -0
- package/dist/asset/images/faq/cal.webp +0 -0
- package/dist/asset/images/faq/check.webp +0 -0
- package/dist/asset/images/faq/down.webp +0 -0
- package/dist/asset/images/faq/eye.webp +0 -0
- package/dist/asset/images/faq/plus.webp +0 -0
- package/dist/asset/images/faq/right.webp +0 -0
- package/dist/asset/images/faq/vector_blu.svg +3 -0
- package/dist/asset/images/faq/vector_stroke.svg +3 -0
- package/dist/asset/images/fieldNew/field_mark.png +0 -0
- package/dist/asset/images/fieldNew/v_arrow.png +0 -0
- package/dist/asset/images/fieldNew/vector_blu.png +0 -0
- package/dist/asset/images/fieldNew/vector_stroke.png +0 -0
- package/dist/asset/images/fix/arrow.webp +0 -0
- package/dist/asset/images/fix/call.webp +0 -0
- package/dist/asset/images/fix/call2.webp +0 -0
- package/dist/asset/images/fix/call_m.webp +0 -0
- package/dist/asset/images/fix/kakao.webp +0 -0
- package/dist/asset/images/fix/kakao_m.webp +0 -0
- package/dist/asset/images/fix/menu_x.webp +0 -0
- package/dist/asset/images/fix/online.webp +0 -0
- package/dist/asset/images/fix/online_m.webp +0 -0
- package/dist/asset/images/footer/footer_daeryun.webp +0 -0
- package/dist/asset/images/footer/ft_icon_arr_2.webp +0 -0
- package/dist/asset/images/footer/icon_arrow_gray.webp +0 -0
- package/dist/asset/images/footer/logo_b.webp +0 -0
- package/dist/asset/images/footer/logo_b_discovery.webp +0 -0
- package/dist/asset/images/footer/sns_01.webp +0 -0
- package/dist/asset/images/footer/sns_02.webp +0 -0
- package/dist/asset/images/footer/sns_03.webp +0 -0
- package/dist/asset/images/footer/sns_04.webp +0 -0
- package/dist/asset/images/footer/sns_05.webp +0 -0
- package/dist/asset/images/footer/top.svg +13 -0
- package/dist/asset/images/header/h_call_line.webp +0 -0
- package/dist/asset/images/header/h_call_line_b.webp +0 -0
- package/dist/asset/images/header/h_icon_g.webp +0 -0
- package/dist/asset/images/header/h_menu.webp +0 -0
- package/dist/asset/images/header/h_menu_b.webp +0 -0
- package/dist/asset/images/header/head_link.svg +3 -0
- package/dist/asset/images/header/header_call.webp +0 -0
- package/dist/asset/images/header/image_b.webp +0 -0
- package/dist/asset/images/header/language.webp +0 -0
- package/dist/asset/images/header/logo_b.webp +0 -0
- package/dist/asset/images/header/logo_s.webp +0 -0
- package/dist/asset/images/header/logo_w.webp +0 -0
- package/dist/asset/images/header/m_right.webp +0 -0
- package/dist/asset/images/header/m_sr.webp +0 -0
- package/dist/asset/images/header/main_img_01.webp +0 -0
- package/dist/asset/images/header/main_img_02.webp +0 -0
- package/dist/asset/images/header/main_img_03.webp +0 -0
- package/dist/asset/images/header/menu.webp +0 -0
- package/dist/asset/images/header/menu_call.webp +0 -0
- package/dist/asset/images/header/menu_sns.webp +0 -0
- package/dist/asset/images/header/menu_sns_01.webp +0 -0
- package/dist/asset/images/header/menu_sns_02.webp +0 -0
- package/dist/asset/images/header/menu_sns_03.webp +0 -0
- package/dist/asset/images/header/menu_sns_04.webp +0 -0
- package/dist/asset/images/header/menu_sns_05.webp +0 -0
- package/dist/asset/images/header/menu_x.webp +0 -0
- package/dist/asset/images/header/military.svg +38 -0
- package/dist/asset/images/header/military_w.svg +38 -0
- package/dist/asset/images/header/online.png +0 -0
- package/dist/asset/images/header/phone.png +0 -0
- package/dist/asset/images/header/search_black.webp +0 -0
- package/dist/asset/images/header/search_white.webp +0 -0
- package/dist/asset/images/header/talk.png +0 -0
- package/dist/asset/images/header/top_icon_01.webp +0 -0
- package/dist/asset/images/header/top_icon_02.webp +0 -0
- package/dist/asset/images/header/top_icon_03.webp +0 -0
- package/dist/asset/images/header/top_icon_04.webp +0 -0
- package/dist/asset/images/lawfirm/balance.svg +19 -0
- package/dist/asset/images/lawfirm/certified.svg +33 -0
- package/dist/asset/images/lawfirm/checkbox.svg +11 -0
- package/dist/asset/images/lawfirm/document.svg +23 -0
- package/dist/asset/images/lawfirm/downArrow.svg +5 -0
- package/dist/asset/images/lawfirm/picture.svg +12 -0
- package/dist/asset/images/lawfirm/section_1_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_1_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_3_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_5.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_5_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_6.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_7.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_8.webp +0 -0
- package/dist/asset/images/lawfirm/section_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_2_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_1_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_1_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_2_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_2_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_3_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_3_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_4_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_4_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_5.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_5_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_5_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_4_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_5.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_6.webp +0 -0
- package/dist/asset/images/lawfirm/section_6.webp +0 -0
- package/dist/asset/images/lawfirm/section_6_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_6_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_7_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_7_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_7_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_9.webp +0 -0
- package/dist/asset/images/lawfirm/section_9_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_9_t.webp +0 -0
- package/dist/asset/images/mark/accounting.svg +37 -0
- package/dist/asset/images/mark/court.svg +41 -0
- package/dist/asset/images/mark/customs.svg +12 -0
- package/dist/asset/images/mark/military.svg +932 -0
- package/dist/asset/images/mark/patent.svg +3258 -0
- package/dist/asset/images/mark/police.svg +24 -0
- package/dist/asset/images/mark/prosecution.svg +34 -0
- package/dist/asset/images/mark/tax.svg +10 -0
- package/dist/asset/images/mark/trial.svg +30 -0
- package/dist/asset/images/myCase/arrow_2.webp +0 -0
- package/dist/asset/images/myCase/arrow_b.webp +0 -0
- package/dist/asset/images/myCase/arrow_b_w.webp +0 -0
- package/dist/asset/images/myCase/arrow_right.webp +0 -0
- package/dist/asset/images/myCase/background.svg +8 -0
- package/dist/asset/images/myCase/background.webp +0 -0
- package/dist/asset/images/myCase/background_mo.webp +0 -0
- package/dist/asset/images/myCase/background_tb.webp +0 -0
- package/dist/asset/images/myCase/home.svg +16 -0
- package/dist/asset/images/myCase/home.webp +0 -0
- package/dist/asset/images/myCase/icon/case_icon1.webp +0 -0
- package/dist/asset/images/myCase/icon/case_icon2.webp +0 -0
- package/dist/asset/images/myCase/icon/case_icon3.webp +0 -0
- package/dist/asset/images/myCase/icon/case_icon4.webp +0 -0
- package/dist/asset/images/myCase/icon/case_icon5.webp +0 -0
- package/dist/asset/images/myCase/icon/case_icon6.webp +0 -0
- package/dist/asset/images/myCase/icon/case_lookup_linkout.webp +0 -0
- package/dist/asset/images/myCase/icon/check box_3.webp +0 -0
- package/dist/asset/images/myCase/icon/check box_red.webp +0 -0
- package/dist/asset/images/myCase/icon/check_box.webp +0 -0
- package/dist/asset/images/myCase/icon/check_box_gray.webp +0 -0
- package/dist/asset/images/myCase/icon/check_circle.webp +0 -0
- package/dist/asset/images/myCase/icon/check_circle2.webp +0 -0
- package/dist/asset/images/myCase/icon/client.webp +0 -0
- package/dist/asset/images/myCase/icon/close copy.webp +0 -0
- package/dist/asset/images/myCase/icon/close.webp +0 -0
- package/dist/asset/images/myCase/icon/contract_icon.webp +0 -0
- package/dist/asset/images/myCase/icon/daeryun.webp +0 -0
- package/dist/asset/images/myCase/icon/defaultIcon.webp +0 -0
- package/dist/asset/images/myCase/icon/docs.webp +0 -0
- package/dist/asset/images/myCase/icon/download.webp +0 -0
- package/dist/asset/images/myCase/icon/file.webp +0 -0
- package/dist/asset/images/myCase/icon/hwp.webp +0 -0
- package/dist/asset/images/myCase/icon/ink_pen.webp +0 -0
- package/dist/asset/images/myCase/icon/jpeg.webp +0 -0
- package/dist/asset/images/myCase/icon/jpg.webp +0 -0
- package/dist/asset/images/myCase/icon/modal_icon.webp +0 -0
- package/dist/asset/images/myCase/icon/pdf.webp +0 -0
- package/dist/asset/images/myCase/icon/png.webp +0 -0
- package/dist/asset/images/myCase/icon/unknown.webp +0 -0
- package/dist/asset/images/myCase/icon/upload.webp +0 -0
- package/dist/asset/images/myCase/icon/word.webp +0 -0
- package/dist/asset/images/myCase/icon/xls.webp +0 -0
- package/dist/asset/images/myCase/nav_arr.webp +0 -0
- package/dist/asset/images/myCase/pagination/arrow_l_off.webp +0 -0
- package/dist/asset/images/myCase/pagination/arrow_l_on.webp +0 -0
- package/dist/asset/images/myCase/pagination/arrow_r_off.webp +0 -0
- package/dist/asset/images/myCase/pagination/arrow_r_on.webp +0 -0
- package/dist/asset/images/myCaseManage/arrow_2.webp +0 -0
- package/dist/asset/images/myCaseManage/arrow_right.svg +3 -0
- package/dist/asset/images/myCaseManage/background.svg +8 -0
- package/dist/asset/images/myCaseManage/header_arrow.svg +3 -0
- package/dist/asset/images/myCaseManage/home.svg +16 -0
- package/dist/asset/images/myCaseManage/home.webp +0 -0
- package/dist/asset/images/myCaseManage/icon/case_icon1.svg +4 -0
- package/dist/asset/images/myCaseManage/icon/case_icon2.svg +6 -0
- package/dist/asset/images/myCaseManage/icon/case_icon3.svg +3 -0
- package/dist/asset/images/myCaseManage/icon/case_lookup_linkout.svg +5 -0
- package/dist/asset/images/myCaseManage/icon/check_circle.svg +3 -0
- package/dist/asset/images/myCaseManage/icon/check_circle2.svg +3 -0
- package/dist/asset/images/myCaseManage/icon/client.svg +14 -0
- package/dist/asset/images/myCaseManage/icon/daeryun.svg +7 -0
- package/dist/asset/images/myCaseManage/icon/download.svg +3 -0
- package/dist/asset/images/myCaseManage/icon/jpg.svg +15 -0
- package/dist/asset/images/myCaseManage/icon/pdf.svg +9 -0
- package/dist/asset/images/myCaseManage/icon/png.svg +25 -0
- package/dist/asset/images/myCaseManage/icon/word.svg +11 -0
- package/dist/asset/images/myCaseManage/icon/xls.svg +18 -0
- package/dist/asset/images/myCaseManage/nav_arr.webp +0 -0
- package/dist/asset/images/pagination/small_arrow.svg +3 -0
- package/dist/asset/images/pdfPrintCopyLink/pdf.svg +17 -0
- package/dist/asset/images/pdfPrintCopyLink/print.svg +19 -0
- package/dist/asset/images/pdfPrintCopyLink/share.svg +15 -0
- package/dist/asset/images/seo/Arrow_Right_MD.svg +3 -0
- package/dist/asset/images/seo/bg_img.webp +0 -0
- package/dist/asset/images/seo/left.webp +0 -0
- package/dist/asset/images/seo/rec_01.svg +34 -0
- package/dist/asset/images/seo/rec_02.svg +41 -0
- package/dist/asset/images/seo/rec_03.svg +16 -0
- package/dist/asset/images/seo/rec_img_01.webp +0 -0
- package/dist/asset/images/seo/rec_img_sm01.webp +0 -0
- package/dist/asset/images/seo/right.webp +0 -0
- package/dist/asset/images/seo/secConsulting/choice_call.webp +0 -0
- package/dist/asset/images/seo/secConsulting/choice_kakao.webp +0 -0
- package/dist/asset/images/seo/secConsulting/online.svg +36 -0
- package/dist/asset/images/seo/seoAddLink/link_arrow.webp +0 -0
- package/dist/asset/images/seo/seoAddLink/link_on.webp +0 -0
- package/dist/asset/images/seo/seoAddLink/logo_youtube.webp +0 -0
- package/dist/asset/images/seo/seoAddLink/ribon.svg +3 -0
- package/dist/asset/images/seo/seoAddLink/youtubeSmall_ico.svg +4 -0
- package/dist/asset/images/seo/seoYoutube/youtube_ico.svg +7 -0
- package/dist/asset/images/seo/seoYoutube/youtube_txt.svg +3 -0
- package/dist/asset/images/seo/successCase/dia_dot.svg +3 -0
- package/dist/asset/images/seo/successCase/right_arrow.svg +4 -0
- package/dist/asset/images/seo/successCase/up_right.svg +3 -0
- package/dist/asset/images/strength/01.webp +0 -0
- package/dist/asset/images/strength/010.webp +0 -0
- package/dist/asset/images/strength/011.webp +0 -0
- package/dist/asset/images/strength/02.webp +0 -0
- package/dist/asset/images/strength/03.webp +0 -0
- package/dist/asset/images/strength/04.webp +0 -0
- package/dist/asset/images/strength/05.webp +0 -0
- package/dist/asset/images/strength/06.webp +0 -0
- package/dist/asset/images/strength/07.webp +0 -0
- package/dist/asset/images/strength/08.webp +0 -0
- package/dist/asset/images/strength/09.webp +0 -0
- package/dist/asset/images/strength/arrow.webp +0 -0
- package/dist/asset/images/strength/bg.webp +0 -0
- package/dist/asset/images/strength/mo.webp +0 -0
- package/dist/asset/images/strength/red_arrow.webp +0 -0
- package/dist/asset/images/strength/tb.webp +0 -0
- package/dist/asset/images/success_new/arrow.svg +13 -0
- package/dist/asset/images/success_new/arrow_full.webp +0 -0
- package/dist/asset/images/success_new/arrow_line.svg +3 -0
- package/dist/asset/images/success_new/arrow_line.webp +0 -0
- package/dist/asset/images/success_new/dia_dot.svg +3 -0
- package/dist/asset/images/success_new/field_icon.webp +0 -0
- package/dist/asset/images/success_new/label.svg +10 -0
- package/dist/asset/images/success_new/left.webp +0 -0
- package/dist/asset/images/success_new/logo.webp +0 -0
- package/dist/asset/images/success_new/right.webp +0 -0
- package/dist/asset/images/success_new/right_arrow.svg +4 -0
- package/dist/asset/images/success_new/up_right.svg +3 -0
- package/dist/asset/images/system/svg/Arrow_Right_LG.svg +3 -0
- package/dist/asset/images/system/svg/arrow_system.svg +3 -0
- package/dist/asset/images/system/system_allocation.webp +0 -0
- package/dist/asset/images/system/system_btn_1.webp +0 -0
- package/dist/asset/images/system/system_btn_2.webp +0 -0
- package/dist/asset/images/system/system_btn_3.webp +0 -0
- package/dist/asset/images/system/system_consult_now.webp +0 -0
- package/dist/asset/images/system/system_consult_now_m.webp +0 -0
- package/dist/asset/images/system/system_consult_now_t.webp +0 -0
- package/dist/asset/images/system/system_consultation.webp +0 -0
- package/dist/asset/images/system/system_consultation_img.webp +0 -0
- package/dist/asset/images/system/system_consultation_img_m.webp +0 -0
- package/dist/asset/images/system/system_consultation_img_t.webp +0 -0
- package/dist/asset/images/system/system_consultation_txt.webp +0 -0
- package/dist/asset/images/system/system_post.webp +0 -0
- package/dist/asset/images/system/system_sec1_bg.webp +0 -0
- package/dist/asset/images/system/system_sec1_bg_m.webp +0 -0
- package/dist/asset/images/system/system_sec1_bg_t.webp +0 -0
- package/dist/asset/images/viewMoreSection/arrow.svg +11 -0
- package/dist/asset/images/viewMoreSection/search.svg +15 -0
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_01a.svg +18 -0
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_02a.svg +23 -0
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_03a.svg +25 -0
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_04a.svg +24 -0
- package/dist/asset/images/youtube_arrow.png +0 -0
- package/dist/asset/images/youtube_logo.png +0 -0
- package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +24 -0
- package/dist/components/BrochureBtn/BrochureBtn.stories.jsx +25 -0
- package/dist/components/BrochureBtn/BrochureBtn.stories.tsx +33 -0
- package/dist/components/BrochureBtn/BrochureBtn.tsx +83 -0
- package/dist/components/BrochureBtn/MedicalBrochureBtn.tsx +88 -0
- package/dist/components/CategoryMenu/CategoryMenuForPage.tsx +81 -0
- package/dist/components/ChannelTalk/ChannelTalk.tsx +47 -0
- package/dist/components/CountingSection/CountingSection.stories.d.ts +8 -0
- package/dist/components/CountingSection/CountingSection.stories.jsx +22 -0
- package/dist/components/CountingSection/CountingSection.stories.tsx +30 -0
- package/dist/components/CountingSection/CountingSection.tsx +192 -0
- package/dist/components/Daeryuntalk/ChatButton.tsx +124 -0
- package/dist/components/Daeryuntalk/ChatConversation.tsx +362 -0
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +59 -0
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +232 -0
- package/dist/components/Daeryuntalk/ChatInput.tsx +79 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +228 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +21 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +128 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +25 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +45 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +20 -0
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.tsx +38 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.tsx +31 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +36 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +232 -0
- package/dist/components/Daeryuntalk/ChatMessage.tsx +287 -0
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +65 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +28 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +183 -0
- package/dist/components/Daeryuntalk/ChatWidget.tsx +114 -0
- package/dist/components/Daeryuntalk/DaeryuntalkContext.tsx +286 -0
- package/dist/components/Daeryuntalk/DateSeparator.tsx +23 -0
- package/dist/components/Daeryuntalk/FixedErrorBox.tsx +73 -0
- package/dist/components/Daeryuntalk/History/AuthForm.tsx +204 -0
- package/dist/components/Daeryuntalk/HistoryView.tsx +158 -0
- package/dist/components/Daeryuntalk/HomeView.tsx +216 -0
- package/dist/components/Daeryuntalk/NavigationFooter.tsx +90 -0
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +44 -0
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.tsx +182 -0
- package/dist/components/Daeryuntalk/Toast/DaeryuntalkToastProvider.tsx +70 -0
- package/dist/components/Daeryuntalk/Toast/Toast.tsx +94 -0
- package/dist/components/Daeryuntalk/Toast/ToastRender.tsx +30 -0
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.tsx +147 -0
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +168 -0
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +232 -0
- package/dist/components/Daeryuntalk/ViewportHandler.tsx +49 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.ts +1060 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.ts +153 -0
- package/dist/components/Daeryuntalk/_api/index.ts +7 -0
- package/dist/components/Daeryuntalk/_enums/ask-status.ts +25 -0
- package/dist/components/Daeryuntalk/_enums/error.ts +292 -0
- package/dist/components/Daeryuntalk/_enums/message_type.ts +13 -0
- package/dist/components/Daeryuntalk/_enums/sender_type.ts +16 -0
- package/dist/components/Daeryuntalk/_enums/socket_type.ts +44 -0
- package/dist/components/Daeryuntalk/_enums/template.ts +81 -0
- package/dist/components/Daeryuntalk/_enums/work_flow_object_expose.ts +69 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +539 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHistory.ts +1 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useFullURL.tsx +22 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.ts +143 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +395 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useViewerHook.ts +23 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useWorkFlow.ts +122 -0
- package/dist/components/Daeryuntalk/_hooks/useScrollShadow.ts +34 -0
- package/dist/components/Daeryuntalk/_hooks/useWindowSize.ts +30 -0
- package/dist/components/Daeryuntalk/_hooks/view/useChatSocketState.ts +43 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.ts +93 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHomeView.ts +65 -0
- package/dist/components/Daeryuntalk/_lib/index.ts +140 -0
- package/dist/components/Daeryuntalk/_lib/utils.ts +113 -0
- package/dist/components/Daeryuntalk/_types/message.ts +155 -0
- package/dist/components/Daeryuntalk/_types/message_object.ts +21 -0
- package/dist/components/Daeryuntalk/_types/socket/message.ts +0 -0
- package/dist/components/Daeryuntalk/_types/socket/workflow.ts +15 -0
- package/dist/components/Daeryuntalk/_ui/ShadowBox.tsx +14 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.tsx +28 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button2.tsx +28 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button3.tsx +29 -0
- package/dist/components/Daeryuntalk/_ui/inputs/Input1.tsx +39 -0
- package/dist/components/Daeryuntalk/_ui/inputs/Input2.tsx +43 -0
- package/dist/components/Daeryuntalk/index.tsx +125 -0
- package/dist/components/FieldNew/RelatedGroup.stories.d.ts +12 -0
- package/dist/components/FieldNew/RelatedGroup.stories.jsx +15 -0
- package/dist/components/FieldNew/RelatedGroup.stories.tsx +23 -0
- package/dist/components/FieldNew/RelatedGroup.tsx +41 -0
- package/dist/components/Fix/Fix.stories.d.ts +15 -0
- package/dist/components/Fix/Fix.stories.jsx +19 -0
- package/dist/components/Fix/Fix.stories.tsx +27 -0
- package/dist/components/Fix/index.module.css +316 -0
- package/dist/components/Fix/index.tsx +719 -0
- package/dist/components/Footer/Footer.stories.d.ts +10 -0
- package/dist/components/Footer/Footer.stories.jsx +76 -0
- package/dist/components/Footer/Footer.stories.tsx +92 -0
- package/dist/components/Footer/FooterV2.tsx +764 -0
- package/dist/components/Footer/IFooterTypes.ts +347 -0
- package/dist/components/Footer/TopBtn.tsx +31 -0
- package/dist/components/Footer/_actions/action.ts +17 -0
- package/dist/components/Footer/_backup/index.tsx +747 -0
- package/dist/components/Footer/_fetchers/getFooterTermList.ts +5 -0
- package/dist/components/Footer/_type/termType.ts +15 -0
- package/dist/components/Footer/index.tsx +676 -0
- package/dist/components/Header/HeaderWrapper.tsx +22 -0
- package/dist/components/Header/MobileHeader.stories.d.ts +7 -0
- package/dist/components/Header/MobileHeader.stories.jsx +28 -0
- package/dist/components/Header/MobileHeader.stories.tsx +36 -0
- package/dist/components/Header/MobileHeader.tsx +102 -0
- package/dist/components/Header/PcHeader.stories.d.ts +7 -0
- package/dist/components/Header/PcHeader.stories.jsx +27 -0
- package/dist/components/Header/PcHeader.stories.tsx +35 -0
- package/dist/components/Header/PcHeader.tsx +229 -0
- package/dist/components/Layout/PageWrapper.tsx +35 -0
- package/dist/components/Layout/Wrapper.tsx +38 -0
- package/dist/components/Loader/Loader.stories.d.ts +9 -0
- package/dist/components/Loader/Loader.stories.jsx +22 -0
- package/dist/components/Loader/Loader.stories.tsx +32 -0
- package/dist/components/Loader/Loader.tsx +18 -0
- package/dist/components/LogoSection/LogoSection.stories.d.ts +8 -0
- package/dist/components/LogoSection/LogoSection.stories.jsx +15 -0
- package/dist/components/LogoSection/LogoSection.stories.tsx +23 -0
- package/dist/components/LogoSection/LogoSection.tsx +159 -0
- package/dist/components/MapFix/AreaImage.tsx +95 -0
- package/dist/components/MapFix/MapFix.stories.d.ts +7 -0
- package/dist/components/MapFix/MapFix.stories.jsx +20 -0
- package/dist/components/MapFix/MapFix.stories.tsx +30 -0
- package/dist/components/MapFix/MapFix.tsx +170 -0
- package/dist/components/MapSection/Map.tsx +340 -0
- package/dist/components/MapSection/MapSection.stories.d.ts +8 -0
- package/dist/components/MapSection/MapSection.stories.jsx +38 -0
- package/dist/components/MapSection/MapSection.stories.tsx +64 -0
- package/dist/components/MapSection/MapSection.tsx +144 -0
- package/dist/components/Mark/Mark.stories.d.ts +6 -0
- package/dist/components/Mark/Mark.stories.jsx +24 -0
- package/dist/components/Mark/Mark.stories.tsx +31 -0
- package/dist/components/Mark/Mark.tsx +112 -0
- package/dist/components/Menu/IMenuTypes.ts +13 -0
- package/dist/components/Menu/Menu.stories.d.ts +7 -0
- package/dist/components/Menu/Menu.stories.jsx +162 -0
- package/dist/components/Menu/Menu.stories.tsx +170 -0
- package/dist/components/Menu/Menu.tsx +15 -0
- package/dist/components/Menu/MobileMenu.tsx +285 -0
- package/dist/components/Menu/MyCase.tsx +47 -0
- package/dist/components/Menu/PCMenu.tsx +236 -0
- package/dist/components/Model/YoutubeLawyerModal.tsx +64 -0
- package/dist/components/PageTitleBox/ImgTypes.ts +12 -0
- package/dist/components/PageTitleBox/PageTitleBox.stories.d.ts +6 -0
- package/dist/components/PageTitleBox/PageTitleBox.stories.jsx +19 -0
- package/dist/components/PageTitleBox/PageTitleBox.stories.tsx +26 -0
- package/dist/components/PageTitleBox/PageTitleBox.tsx +141 -0
- package/dist/components/Pagination/Pagination.tsx +79 -0
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.stories.d.ts +8 -0
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.stories.jsx +16 -0
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.stories.tsx +24 -0
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.tsx +176 -0
- package/dist/components/SearchBar/SearchBar.stories.d.ts +6 -0
- package/dist/components/SearchBar/SearchBar.stories.jsx +21 -0
- package/dist/components/SearchBar/SearchBar.stories.tsx +28 -0
- package/dist/components/SearchBar/SearchBar.tsx +173 -0
- package/dist/components/SelectBox/SelectBox.tsx +80 -0
- package/dist/components/Seo/FieldCase.tsx +95 -0
- package/dist/components/Seo/Lawyer.tsx +151 -0
- package/dist/components/Seo/SeoAdditionalLink.stories.d.ts +19 -0
- package/dist/components/Seo/SeoAdditionalLink.stories.jsx +34 -0
- package/dist/components/Seo/SeoAdditionalLink.stories.tsx +41 -0
- package/dist/components/Seo/SeoAdditionalLink.tsx +144 -0
- package/dist/components/Seo/SeoConsulting.tsx +271 -0
- package/dist/components/Seo/SeoStrength.stories.d.ts +12 -0
- package/dist/components/Seo/SeoStrength.stories.jsx +15 -0
- package/dist/components/Seo/SeoStrength.stories.tsx +22 -0
- package/dist/components/Seo/SeoStrength.tsx +96 -0
- package/dist/components/Seo/SeoYoutube.stories.d.ts +19 -0
- package/dist/components/Seo/SeoYoutube.stories.jsx +34 -0
- package/dist/components/Seo/SeoYoutube.stories.tsx +41 -0
- package/dist/components/Seo/SeoYoutube.tsx +191 -0
- package/dist/components/Seo/SuccessCase.tsx +97 -0
- package/dist/components/Seo/right_arrow.svg +4 -0
- package/dist/components/SubPage/SubPageTitle.tsx +113 -0
- package/dist/components/TuiViewer/TuiViewer.tsx +14 -0
- package/dist/components/ViewMoreSection/SearchIcon.tsx +29 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.stories.d.ts +8 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.stories.jsx +50 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.stories.tsx +61 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.tsx +283 -0
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.stories.d.ts +8 -0
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.stories.jsx +15 -0
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.stories.tsx +23 -0
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.tsx +469 -0
- package/dist/components/YoutubeModal/YoutubeModal.tsx +57 -0
- package/dist/components/banner/TopBanner.module.css +111 -0
- package/dist/components/banner/TopBanner.stories.d.ts +10 -0
- package/dist/components/banner/TopBanner.stories.jsx +22 -0
- package/dist/components/banner/TopBanner.stories.tsx +29 -0
- package/dist/components/banner/TopBanner.tsx +425 -0
- package/dist/components/categoryView/CategoryComponent.tsx +185 -0
- package/dist/components/categoryView/CategoryView.stories.d.ts +16 -0
- package/dist/components/categoryView/CategoryView.stories.jsx +4772 -0
- package/dist/components/categoryView/CategoryView.stories.tsx +4779 -0
- package/dist/components/categoryView/CategoryView.tsx +138 -0
- package/dist/components/categoryView/CenterComponent.tsx +194 -0
- package/dist/components/categoryView/ICategoryViewTypes.ts +11 -0
- package/dist/components/common/data/index.ts +2088 -0
- package/dist/components/common/hook/index.ts +3 -0
- package/dist/components/common/hook/useBrowser.ts +52 -0
- package/dist/components/common/hook/useCountNum.tsx +28 -0
- package/dist/components/common/hook/useElementObserve.ts +44 -0
- package/dist/components/common/index.ts +3 -0
- package/dist/components/common/initialData/index.ts +65 -0
- package/dist/components/common/integrate/index.tsx +107 -0
- package/dist/components/common/strength/index.ts +219 -0
- package/dist/components/common/system/index.tsx +40 -0
- package/dist/components/common/types/faq/index.ts +11 -0
- package/dist/components/common/types/index.ts +55 -0
- package/dist/components/common/types/seo/index.ts +40 -0
- package/dist/components/hook/useBrowser.ts +60 -0
- package/dist/components/hook/useCountNum.tsx +30 -0
- package/dist/components/hook/useScrollRestoration.ts +82 -0
- package/dist/components/hook/useScrollRestorationException.ts +32 -0
- package/dist/components/index.ts +45 -0
- package/dist/components/myCase/MyCase.tsx +48 -0
- package/dist/components/page/Choice/Choice.stories.d.ts +6 -0
- package/dist/components/page/Choice/Choice.stories.jsx +14 -0
- package/dist/components/page/Choice/Choice.stories.tsx +22 -0
- package/dist/components/page/Choice/Choice.tsx +975 -0
- package/dist/components/page/ConsultComplete/ConsultComplete.stories.d.ts +6 -0
- package/dist/components/page/ConsultComplete/ConsultComplete.stories.jsx +13 -0
- package/dist/components/page/ConsultComplete/ConsultComplete.stories.tsx +21 -0
- package/dist/components/page/ConsultComplete/ConsultComplete.tsx +220 -0
- package/dist/components/page/ConsultComplete/complete.module.css +142 -0
- package/dist/components/page/Consulting/Consulting.stories.d.ts +6 -0
- package/dist/components/page/Consulting/Consulting.stories.jsx +13 -0
- package/dist/components/page/Consulting/Consulting.stories.tsx +21 -0
- package/dist/components/page/Consulting/Consulting.tsx +770 -0
- package/dist/components/page/Consulting/IConsultingTypes.tsx +25 -0
- package/dist/components/page/Faq/Detail/FaqDetail.tsx +300 -0
- package/dist/components/page/Faq/Detail/FaqList.stories.d.ts +6 -0
- package/dist/components/page/Faq/Detail/FaqList.stories.jsx +133 -0
- package/dist/components/page/Faq/Detail/FaqList.stories.tsx +155 -0
- package/dist/components/page/Faq/FaqList.stories.d.ts +6 -0
- package/dist/components/page/Faq/FaqList.stories.jsx +76 -0
- package/dist/components/page/Faq/FaqList.stories.tsx +93 -0
- package/dist/components/page/Faq/FaqList.tsx +207 -0
- package/dist/components/page/Faq/GroupList.tsx +63 -0
- package/dist/components/page/Faq/GroupSelectBox.tsx +126 -0
- package/dist/components/page/FieldNew/FieldNew.tsx +351 -0
- package/dist/components/page/FieldNew/FieldNewTypes.ts +30 -0
- package/dist/components/page/FieldNew/FieldNewView.tsx +326 -0
- package/dist/components/page/FieldNew/FieldWrapper.tsx +36 -0
- package/dist/components/page/Integrate/AiSearch.stories.d.ts +6 -0
- package/dist/components/page/Integrate/AiSearch.stories.jsx +13 -0
- package/dist/components/page/Integrate/AiSearch.stories.tsx +21 -0
- package/dist/components/page/Integrate/AiSearch.tsx +114 -0
- package/dist/components/page/Integrate/Broadcast.tsx +268 -0
- package/dist/components/page/Integrate/Field.tsx +136 -0
- package/dist/components/page/Integrate/LawInfo.tsx +155 -0
- package/dist/components/page/Integrate/Lawyer.tsx +413 -0
- package/dist/components/page/Integrate/Map.tsx +273 -0
- package/dist/components/page/Integrate/MenuTab.tsx +68 -0
- package/dist/components/page/Integrate/NoResult.tsx +21 -0
- package/dist/components/page/Integrate/Reply.tsx +186 -0
- package/dist/components/page/Integrate/SearchData.tsx +300 -0
- package/dist/components/page/Integrate/Success.tsx +193 -0
- package/dist/components/page/Integrate/Title.tsx +68 -0
- package/dist/components/page/Integrate/ViewMore.tsx +63 -0
- package/dist/components/page/Integrate/index.module.css +915 -0
- package/dist/components/page/Integrate/integrateType.ts +171 -0
- package/dist/components/page/LawInfoNew/LawInfoNew.tsx +437 -0
- package/dist/components/page/LawInfoNew/LawInfoNewTypes.ts +30 -0
- package/dist/components/page/LawInfoNew/LawInfoNewView.tsx +405 -0
- package/dist/components/page/LawInfoNew/LawInfoWrapper.tsx +36 -0
- package/dist/components/page/Lawfirm/CardSection1.tsx +101 -0
- package/dist/components/page/Lawfirm/CardSection3.tsx +132 -0
- package/dist/components/page/Lawfirm/CardSection5.tsx +38 -0
- package/dist/components/page/Lawfirm/CardSection7.tsx +46 -0
- package/dist/components/page/Lawfirm/Lawfirm.stories.d.ts +6 -0
- package/dist/components/page/Lawfirm/Lawfirm.stories.jsx +14 -0
- package/dist/components/page/Lawfirm/Lawfirm.stories.tsx +21 -0
- package/dist/components/page/Lawfirm/Lawfirm.tsx +34 -0
- package/dist/components/page/Lawfirm/Section1.tsx +221 -0
- package/dist/components/page/Lawfirm/Section2.tsx +121 -0
- package/dist/components/page/Lawfirm/Section3.tsx +274 -0
- package/dist/components/page/Lawfirm/Section4.tsx +75 -0
- package/dist/components/page/Lawfirm/Section5.tsx +174 -0
- package/dist/components/page/Lawfirm/Section6.tsx +66 -0
- package/dist/components/page/Lawfirm/Section7.tsx +201 -0
- package/dist/components/page/Lawfirm/Section8.tsx +145 -0
- package/dist/components/page/Lawfirm/Section9.tsx +70 -0
- package/dist/components/page/Lawfirm/lawfirm.module.css +541 -0
- package/dist/components/page/LawyerDetail/ILawyerDetailTypes.tsx +55 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.d.ts +7 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.jsx +4621 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.tsx +4642 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.tsx +212 -0
- package/dist/components/page/LawyerDetail/component/BasicInfo.tsx +374 -0
- package/dist/components/page/LawyerDetail/component/CareerList.tsx +550 -0
- package/dist/components/page/LawyerDetail/component/Introduce.tsx +58 -0
- package/dist/components/page/LawyerDetail/component/MobileRelatedPage.tsx +115 -0
- package/dist/components/page/LawyerDetail/component/MobileSpeciality.tsx +130 -0
- package/dist/components/page/LawyerDetail/component/MobileTabButton.tsx +35 -0
- package/dist/components/page/LawyerDetail/component/PcTabButton.tsx +180 -0
- package/dist/components/page/LawyerDetail/detail.module.css +602 -0
- package/dist/components/page/Login/AppHeaderContainer.tsx +84 -0
- package/dist/components/page/Login/Login.stories.d.ts +6 -0
- package/dist/components/page/Login/Login.stories.jsx +13 -0
- package/dist/components/page/Login/Login.stories.tsx +21 -0
- package/dist/components/page/Login/Login.tsx +50 -0
- package/dist/components/page/Login/LoginComp/LButton.tsx +36 -0
- package/dist/components/page/Login/LoginComp/Linput.tsx +40 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.tsx +40 -0
- package/dist/components/page/Login/LoginComp/LoginContainer.tsx +171 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.tsx +94 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.tsx +85 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.tsx +67 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.tsx +148 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.tsx +94 -0
- package/dist/components/page/Login/LoginComp/SignContainer.tsx +1018 -0
- package/dist/components/page/Login/LoginComp/Update/MyPageOptionalCheckBox.tsx +211 -0
- package/dist/components/page/Login/LoginComp/Withdraw/WithdrawCheckBox.tsx +59 -0
- package/dist/components/page/Login/LoginShareCheckContainer.tsx +213 -0
- package/dist/components/page/Login/Personal.tsx +929 -0
- package/dist/components/page/Login/Sign.tsx +41 -0
- package/dist/components/page/Login/Withdraw.tsx +240 -0
- package/dist/components/page/Login/_api/_server/appLoginInfo.ts +26 -0
- package/dist/components/page/Login/_api/checkThirdPartyCookie.ts +22 -0
- package/dist/components/page/Login/_api/completeUser.ts +18 -0
- package/dist/components/page/Login/_api/confirmNumber.ts +14 -0
- package/dist/components/page/Login/_api/createTokenAndFetchUser.ts +14 -0
- package/dist/components/page/Login/_api/fetchAuthCallback.ts +12 -0
- package/dist/components/page/Login/_api/fetchUserData.ts +19 -0
- package/dist/components/page/Login/_api/getLoginStatus.ts +42 -0
- package/dist/components/page/Login/_api/logout.ts +39 -0
- package/dist/components/page/Login/_api/optionalTermAgree.ts +19 -0
- package/dist/components/page/Login/_api/sendNumber.ts +15 -0
- package/dist/components/page/Login/_api/signRedirect.ts +13 -0
- package/dist/components/page/Login/_api/token.ts +25 -0
- package/dist/components/page/Login/_api/updateUserInfo.ts +17 -0
- package/dist/components/page/Login/_api/withdraw.ts +25 -0
- package/dist/components/page/Login/_fetch/fetch.ts +57 -0
- package/dist/components/page/Login/_fetch/serverFetch.ts +43 -0
- package/dist/components/page/Login/_hooks/useAppLoginDetect.ts +97 -0
- package/dist/components/page/Login/_hooks/useLogout.ts +15 -0
- package/dist/components/page/Login/_hooks/useModalScroll.ts +15 -0
- package/dist/components/page/Login/_lib/goToAIDaeryun.ts +17 -0
- package/dist/components/page/Login/_types/login.ts +7 -0
- package/dist/components/page/Login/_types/termType.ts +16 -0
- package/dist/components/page/MyCase/MyCasePage.tsx +37 -0
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +14 -0
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +143 -0
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +97 -0
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.tsx +185 -0
- package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +79 -0
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +214 -0
- package/dist/components/page/MyCase/[id]/_component/_document/Document.tsx +63 -0
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +95 -0
- package/dist/components/page/MyCase/[id]/_component/_document/FileDropZone.tsx +65 -0
- package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.ts +49 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +155 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.tsx +59 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.tsx +69 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/FileSuccessModal.tsx +42 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/FileUploadModal.tsx +134 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +39 -0
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +24 -0
- package/dist/components/page/MyCase/_actions/action.ts +205 -0
- package/dist/components/page/MyCase/_component/CaseContainer.tsx +251 -0
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenu.tsx +85 -0
- package/dist/components/page/MyCase/_component/_button/Badge.tsx +25 -0
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +33 -0
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.tsx +36 -0
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +104 -0
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +29 -0
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +41 -0
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +5 -0
- package/dist/components/page/MyCase/_component/_layout/IntroWrapper.tsx +72 -0
- package/dist/components/page/MyCase/_component/_loading/Loading.tsx +92 -0
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponent.tsx +133 -0
- package/dist/components/page/MyCase/_component/_table/CaseLine.tsx +129 -0
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +79 -0
- package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +97 -0
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +31 -0
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.tsx +69 -0
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +26 -0
- package/dist/components/page/MyCase/_fetchers/addMyFileUpload.ts +28 -0
- package/dist/components/page/MyCase/_fetchers/getCase.ts +25 -0
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +35 -0
- package/dist/components/page/MyCase/_fetchers/getContact.ts +23 -0
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +25 -0
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +25 -0
- package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +25 -0
- package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +25 -0
- package/dist/components/page/MyCase/_lib/catagoryMenuName.ts +13 -0
- package/dist/components/page/MyCase/_type/type.ts +94 -0
- package/dist/components/page/Strength/Strength.stories.d.ts +6 -0
- package/dist/components/page/Strength/Strength.stories.jsx +17 -0
- package/dist/components/page/Strength/Strength.stories.tsx +24 -0
- package/dist/components/page/Strength/Strength.tsx +15 -0
- package/dist/components/page/Strength/StrengthIntro.tsx +357 -0
- package/dist/components/page/Strength/StrengthList.tsx +223 -0
- package/dist/components/page/SuccessNew/SuccessNew.tsx +479 -0
- package/dist/components/page/SuccessNew/SuccessNewType.ts +155 -0
- package/dist/components/page/SuccessNew/SuccessNewView.tsx +400 -0
- package/dist/components/page/SuccessNew/components/ContentList.tsx +151 -0
- package/dist/components/page/SuccessNew/components/FieldCase.tsx +101 -0
- package/dist/components/page/SuccessNew/components/H2Contents.tsx +49 -0
- package/dist/components/page/SuccessNew/components/H3Contents.tsx +58 -0
- package/dist/components/page/SuccessNew/components/LawInfoContentList.tsx +106 -0
- package/dist/components/page/SuccessNew/components/Lawyer.tsx +150 -0
- package/dist/components/page/SuccessNew/components/SeoAdditionalLink.tsx +140 -0
- package/dist/components/page/SuccessNew/components/SuccessCase.tsx +105 -0
- package/dist/components/page/SuccessNew/components/SuccessWrapper.tsx +36 -0
- package/dist/components/page/System/AllocationSystem.tsx +97 -0
- package/dist/components/page/System/ConsultNow.tsx +113 -0
- package/dist/components/page/System/ConsultationSystem.tsx +174 -0
- package/dist/components/page/System/PostSystem.tsx +79 -0
- package/dist/components/page/System/System.stories.d.ts +6 -0
- package/dist/components/page/System/System.stories.jsx +14 -0
- package/dist/components/page/System/System.stories.tsx +21 -0
- package/dist/components/page/System/SystemLayout.tsx +89 -0
- package/dist/components/page/System/SystemPage.tsx +20 -0
- package/dist/components/page/System/SystemTextBox.tsx +35 -0
- package/dist/components/page/System/SystemTitle.tsx +177 -0
- package/dist/components/page/System/SystemWrapper.tsx +38 -0
- package/dist/components/page/index.ts +18 -0
- package/dist/components/routes/gnb.tsx +106 -0
- package/dist/index.ts +2 -0
- package/dist/lib/categoryMenuName.ts +141 -0
- package/dist/lib/conversion.ts +25 -0
- package/dist/lib/index.ts +6 -0
- package/dist/lib/pagination/locale/en_US.js +23 -0
- package/dist/lib/pagination/locale/ko_KR.js +23 -0
- package/dist/lib/powerlink.ts +147 -0
- package/dist/lib/share.ts +61 -0
- package/dist/lib/utils.ts +492 -0
- package/dist/styles/font_style.css +238 -0
- package/dist/styles/observe.module.css +30 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// 워크플로우 관련
|
|
2
|
+
|
|
3
|
+
export enum ObjectNumber {
|
|
4
|
+
FIRST_VISIT = 'OB14897658423548P001',
|
|
5
|
+
START_CHAT = 'OB14897658423548P002',
|
|
6
|
+
OTHER_RESERVATION = 'OB14897658423548P003',
|
|
7
|
+
ASK_AI = 'OB14897658423548P004',
|
|
8
|
+
FAQ = 'OB14897658423548P005'
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const ObjectNumberMap: Record<ObjectNumber, string> = {
|
|
12
|
+
[ObjectNumber.FIRST_VISIT]: '대륜에 처음 방문하셨나요?',
|
|
13
|
+
[ObjectNumber.START_CHAT]: '채팅 문의 시작하기',
|
|
14
|
+
[ObjectNumber.OTHER_RESERVATION]: '다른 예약 방법 보기',
|
|
15
|
+
[ObjectNumber.ASK_AI]: 'AI 대륜에게 질문하기',
|
|
16
|
+
[ObjectNumber.FAQ]: '자주 묻는 질문'
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export enum WorkFlowButtonUiCode {
|
|
20
|
+
LEFT_FIT_BUTTON = 'WFL01400001',
|
|
21
|
+
FULL_BUTTON = 'WFL01400002',
|
|
22
|
+
TILE_BUTTON = 'WFL01400003'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const WorkFlowButtonUiCodeMap: Record<WorkFlowButtonUiCode, string> = {
|
|
26
|
+
[WorkFlowButtonUiCode.LEFT_FIT_BUTTON]: '왼쪽 오브젝트 배치',
|
|
27
|
+
[WorkFlowButtonUiCode.FULL_BUTTON]: '가운데 오브젝트 배치',
|
|
28
|
+
[WorkFlowButtonUiCode.TILE_BUTTON]: '타일 오브젝트 배치'
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
// 유형
|
|
32
|
+
export enum WorkFlowObjectUICode {
|
|
33
|
+
BUTTON = 'WFL01000001',
|
|
34
|
+
TEXTBOX = 'WFL01000002',
|
|
35
|
+
UNKNOWN = 'WFL01000003'
|
|
36
|
+
}
|
|
37
|
+
export const WorkFlowObjectUICodeMap: Record<WorkFlowObjectUICode, string> = {
|
|
38
|
+
[WorkFlowObjectUICode.BUTTON]: '버튼형',
|
|
39
|
+
[WorkFlowObjectUICode.TEXTBOX]: '텍스트박스형',
|
|
40
|
+
[WorkFlowObjectUICode.UNKNOWN]: ''
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// 뒤로가기 or 처음으로
|
|
44
|
+
export enum WorkFlowBackOrInit {
|
|
45
|
+
BACK = 'WFL01300001',
|
|
46
|
+
INIT = 'WFL01300002'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const WorkFlowBackOrInitMap: Record<WorkFlowBackOrInit, string> = {
|
|
50
|
+
[WorkFlowBackOrInit.BACK]: '이전단계',
|
|
51
|
+
[WorkFlowBackOrInit.INIT]: '최초단계'
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export enum WorkFlowButtonActionType {
|
|
55
|
+
INTERNAL_LINK = 'WFL00900001', // 내부링크
|
|
56
|
+
EXTERNAL_LINK = 'WFL00900002', // 외부링크
|
|
57
|
+
INPUT = 'WFL00900003', // 입력
|
|
58
|
+
WORKFLOW_CALL = 'WFL00900004', // 워크플로우호출
|
|
59
|
+
PHONE_CALL = 'WFL00900005', // 전화연결
|
|
60
|
+
KAKAO_CONNECT = 'WFL00900006' // 카카오연동
|
|
61
|
+
}
|
|
62
|
+
export const WorkFlowButtonActionMap: Record<WorkFlowButtonActionType, string> = {
|
|
63
|
+
[WorkFlowButtonActionType.INTERNAL_LINK]: '내부링크',
|
|
64
|
+
[WorkFlowButtonActionType.EXTERNAL_LINK]: '외부링크',
|
|
65
|
+
[WorkFlowButtonActionType.INPUT]: '입력',
|
|
66
|
+
[WorkFlowButtonActionType.WORKFLOW_CALL]: '워크플로우호출',
|
|
67
|
+
[WorkFlowButtonActionType.PHONE_CALL]: '전화연결',
|
|
68
|
+
[WorkFlowButtonActionType.KAKAO_CONNECT]: '카카오연동'
|
|
69
|
+
};
|
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction, useCallback } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
attendChatRoomByHistory,
|
|
4
|
+
chatUserUpdate as apiChatUserUpdate,
|
|
5
|
+
chatWorkFlow,
|
|
6
|
+
chatWorkFlowBack,
|
|
7
|
+
generateChatInquiry,
|
|
8
|
+
getChatInquiryDetailNew,
|
|
9
|
+
getChatInquiryMessageList,
|
|
10
|
+
getMessageFileDownloadUrl,
|
|
11
|
+
sendChatMessage
|
|
12
|
+
} from '../../_api';
|
|
13
|
+
import { convertApiMessageObjectToUiMessageObject, convertApiMessageToUiMessage } from '../../_lib';
|
|
14
|
+
import { IChatInquiryMainDataResponse } from '../../_api/daeryuntalk/type/response';
|
|
15
|
+
import { Message } from '../../_types/message';
|
|
16
|
+
import { MessageObject } from '../../_types/message_object';
|
|
17
|
+
import { useDaeryunTalkToast } from '../../Toast/DaeryuntalkToastProvider';
|
|
18
|
+
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
|
|
19
|
+
import { router } from 'next/client';
|
|
20
|
+
import { useFullURL } from './useFullURL';
|
|
21
|
+
import { getErrorMessageMap } from '../../_enums/error';
|
|
22
|
+
interface props {
|
|
23
|
+
setIsLoading: Dispatch<SetStateAction<boolean>>;
|
|
24
|
+
inquiryMainData: IChatInquiryMainDataResponse | null;
|
|
25
|
+
setChatInquiryNumber: Dispatch<SetStateAction<string | null>>;
|
|
26
|
+
setMessages: Dispatch<SetStateAction<Message[]>>;
|
|
27
|
+
setInquiryStatus: Dispatch<SetStateAction<string>>;
|
|
28
|
+
setMessageObject: Dispatch<SetStateAction<MessageObject | null>>;
|
|
29
|
+
chatInquiryNumber: string | null;
|
|
30
|
+
setIsNextPage: Dispatch<SetStateAction<boolean | null>>;
|
|
31
|
+
setWorkFlowStack: Dispatch<SetStateAction<string[]>>;
|
|
32
|
+
setInquiryMainData: Dispatch<SetStateAction<IChatInquiryMainDataResponse | null>>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const useChatHandler = ({
|
|
36
|
+
setIsLoading,
|
|
37
|
+
inquiryMainData,
|
|
38
|
+
setChatInquiryNumber,
|
|
39
|
+
setMessages,
|
|
40
|
+
setInquiryStatus,
|
|
41
|
+
setMessageObject,
|
|
42
|
+
chatInquiryNumber,
|
|
43
|
+
setIsNextPage,
|
|
44
|
+
setWorkFlowStack,
|
|
45
|
+
setInquiryMainData
|
|
46
|
+
}: props) => {
|
|
47
|
+
const toast = useDaeryunTalkToast();
|
|
48
|
+
const fullUrl = useFullURL();
|
|
49
|
+
|
|
50
|
+
const resetData = useCallback(() => {
|
|
51
|
+
setMessages([]);
|
|
52
|
+
setInquiryStatus('');
|
|
53
|
+
setMessageObject(null);
|
|
54
|
+
setIsNextPage(null);
|
|
55
|
+
}, []);
|
|
56
|
+
// const resetData = () => {};
|
|
57
|
+
|
|
58
|
+
// 채팅 시작 (문의하기 버튼 클릭 시)
|
|
59
|
+
const startChat = useCallback(
|
|
60
|
+
async (inquiryNumber?: string) => {
|
|
61
|
+
try {
|
|
62
|
+
setIsLoading(true);
|
|
63
|
+
console.log('[DaeryuntalkContext] 채팅 시작 요청');
|
|
64
|
+
|
|
65
|
+
// 기존 문의가 있는지 확인
|
|
66
|
+
const hasExistingInquiry =
|
|
67
|
+
inquiryMainData?.progress_inquiry_number && inquiryMainData?.progress_inquiry_number.trim() !== '';
|
|
68
|
+
|
|
69
|
+
let currentChatInquiryNumber = '';
|
|
70
|
+
|
|
71
|
+
if (hasExistingInquiry || inquiryNumber) {
|
|
72
|
+
// 기존 문의가 있는 경우, 해당 문의번호 사용
|
|
73
|
+
currentChatInquiryNumber = inquiryNumber
|
|
74
|
+
? inquiryNumber
|
|
75
|
+
: inquiryMainData?.progress_inquiry_number || '';
|
|
76
|
+
console.log('[DaeryuntalkContext] 기존 문의 사용:', currentChatInquiryNumber);
|
|
77
|
+
} else {
|
|
78
|
+
// 새 문의 생성
|
|
79
|
+
console.log('[DaeryuntalkContext] 새 문의 생성 시작');
|
|
80
|
+
const createResponse = await generateChatInquiry(inquiryMainData?.channel_number || '', fullUrl);
|
|
81
|
+
if (
|
|
82
|
+
!(
|
|
83
|
+
createResponse.result_info.result_cd === 'OK' ||
|
|
84
|
+
createResponse.result_info.result_type_cd === 'OK'
|
|
85
|
+
)
|
|
86
|
+
) {
|
|
87
|
+
resetData();
|
|
88
|
+
toast.error(getErrorMessageMap(createResponse));
|
|
89
|
+
return createResponse;
|
|
90
|
+
}
|
|
91
|
+
currentChatInquiryNumber = createResponse.data.chat_inquiry_number;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// 문의 상세 조회
|
|
95
|
+
console.log('[DaeryuntalkContext] 문의 상세 조회 시작:', currentChatInquiryNumber);
|
|
96
|
+
const detailResponse = await getChatInquiryDetailNew(currentChatInquiryNumber);
|
|
97
|
+
if (
|
|
98
|
+
!(
|
|
99
|
+
detailResponse.result_info.result_cd === 'OK' ||
|
|
100
|
+
detailResponse.result_info.result_type_cd === 'OK'
|
|
101
|
+
)
|
|
102
|
+
) {
|
|
103
|
+
resetData();
|
|
104
|
+
toast.error(getErrorMessageMap(detailResponse));
|
|
105
|
+
return detailResponse;
|
|
106
|
+
}
|
|
107
|
+
console.log('[DaeryuntalkContext] 문의 상세 조회 완료:', detailResponse);
|
|
108
|
+
|
|
109
|
+
console.log('[DaeryuntalkContext] 문의 채팅 리스트 조회 시작:', currentChatInquiryNumber);
|
|
110
|
+
const chatList = await getChatInquiryMessageList(currentChatInquiryNumber);
|
|
111
|
+
if (!(chatList.result_info.result_cd === 'OK' || chatList.result_info.result_type_cd === 'OK')) {
|
|
112
|
+
resetData();
|
|
113
|
+
toast.error(getErrorMessageMap(chatList));
|
|
114
|
+
return chatList;
|
|
115
|
+
}
|
|
116
|
+
console.log('[DaeryuntalkContext] 문의 채팅 리스트 조회 완료:', chatList);
|
|
117
|
+
|
|
118
|
+
// 문의 정보 저장
|
|
119
|
+
setChatInquiryNumber(currentChatInquiryNumber);
|
|
120
|
+
|
|
121
|
+
console.log('detailResponse.data.message_list', chatList?.data?.message_list);
|
|
122
|
+
|
|
123
|
+
// 메시지 처리
|
|
124
|
+
// 메세지 리스트 후처리
|
|
125
|
+
if (chatList.data.message_list.length > 0) {
|
|
126
|
+
const uiMessages = chatList.data.message_list
|
|
127
|
+
.sort((a, b) => a.timestamp - b.timestamp) // timestamp 오름차순 (최신이 마지막에)
|
|
128
|
+
.map(convertApiMessageToUiMessage);
|
|
129
|
+
setMessages(uiMessages);
|
|
130
|
+
console.log('[DaeryuntalkContext] 메시지 설정 완료:', uiMessages.length);
|
|
131
|
+
}
|
|
132
|
+
if (chatList.data?.next_page_yn !== null) {
|
|
133
|
+
setIsNextPage(chatList.data.next_page_yn);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// 해당 문의 상태
|
|
137
|
+
if (detailResponse.data?.chat_inquiry_state_code) {
|
|
138
|
+
setInquiryStatus(detailResponse.data.chat_inquiry_state_code);
|
|
139
|
+
}
|
|
140
|
+
// 해당 문의 오브젝트
|
|
141
|
+
if (detailResponse.data?.object_expose_info) {
|
|
142
|
+
const uiObject = convertApiMessageObjectToUiMessageObject(detailResponse.data);
|
|
143
|
+
setMessageObject(uiObject);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// 해당 문의 상태
|
|
147
|
+
if (detailResponse.data?.chat_inquiry_state_code) {
|
|
148
|
+
setInquiryStatus(detailResponse.data.chat_inquiry_state_code);
|
|
149
|
+
}
|
|
150
|
+
// 워크플로우 스택 업데이트
|
|
151
|
+
if (detailResponse.data?.work_flow_progress_stack) {
|
|
152
|
+
setWorkFlowStack(detailResponse.data?.work_flow_progress_stack ?? []);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
return currentChatInquiryNumber;
|
|
156
|
+
} catch (error) {
|
|
157
|
+
toast.error('문의 시작에 실패했습니다.');
|
|
158
|
+
console.error('[DaeryuntalkContext] 채팅 시작 오류:', error);
|
|
159
|
+
return { error }; // 에러를 던지지 않고 그대로 반환
|
|
160
|
+
|
|
161
|
+
// throw error;
|
|
162
|
+
} finally {
|
|
163
|
+
setIsLoading(false);
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
[inquiryMainData, fullUrl]
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
// 선택된 히스토리의 채팅창 시작
|
|
170
|
+
const startSelectedChat = useCallback(
|
|
171
|
+
async (chatInquiryNumber: string) => {
|
|
172
|
+
try {
|
|
173
|
+
setIsLoading(true);
|
|
174
|
+
|
|
175
|
+
// 문의 상세 조회
|
|
176
|
+
const detailResponse = await getChatInquiryDetailNew(chatInquiryNumber);
|
|
177
|
+
if (
|
|
178
|
+
!(
|
|
179
|
+
detailResponse.result_info.result_cd === 'OK' ||
|
|
180
|
+
detailResponse.result_info.result_type_cd === 'OK'
|
|
181
|
+
)
|
|
182
|
+
) {
|
|
183
|
+
resetData();
|
|
184
|
+
toast.error(getErrorMessageMap(detailResponse));
|
|
185
|
+
return detailResponse;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
console.log('[DaeryuntalkContext] 문의 상세 조회 완료:', detailResponse);
|
|
189
|
+
|
|
190
|
+
const chatList = await getChatInquiryMessageList(chatInquiryNumber);
|
|
191
|
+
console.log('[DaeryuntalkContext] 문의 채팅 리스트 조회 완료:', chatList);
|
|
192
|
+
if (!(chatList.result_info.result_cd === 'OK' || chatList.result_info.result_type_cd === 'OK')) {
|
|
193
|
+
resetData();
|
|
194
|
+
toast.error(getErrorMessageMap(chatList));
|
|
195
|
+
return chatList;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
console.log('detailResponse.data.message_list', chatList?.data?.message_list);
|
|
199
|
+
|
|
200
|
+
// 메시지 처리
|
|
201
|
+
// 문의 정보 저장
|
|
202
|
+
setChatInquiryNumber(chatInquiryNumber);
|
|
203
|
+
//
|
|
204
|
+
setInquiryMainData(prev => {
|
|
205
|
+
if (prev) {
|
|
206
|
+
return {
|
|
207
|
+
...prev,
|
|
208
|
+
progress_inquiry_number: chatInquiryNumber
|
|
209
|
+
};
|
|
210
|
+
} else {
|
|
211
|
+
return null;
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
// 메세지 리스트 후처리
|
|
215
|
+
if (chatList.data.message_list.length > 0) {
|
|
216
|
+
const uiMessages = chatList.data.message_list
|
|
217
|
+
.sort((a, b) => a.timestamp - b.timestamp) // timestamp 오름차순 (최신이 마지막에)
|
|
218
|
+
.map(convertApiMessageToUiMessage);
|
|
219
|
+
setMessages(uiMessages);
|
|
220
|
+
|
|
221
|
+
// const uiMessages = chatList.data.message_list.map(convertApiMessageToUiMessage);
|
|
222
|
+
setMessages(uiMessages);
|
|
223
|
+
|
|
224
|
+
console.log('[DaeryuntalkContext] 메시지 설정 완료:', uiMessages.length);
|
|
225
|
+
}
|
|
226
|
+
if (chatList.data?.next_page_yn !== null) {
|
|
227
|
+
setIsNextPage(chatList.data.next_page_yn);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// 해당 문의 상태
|
|
231
|
+
if (detailResponse.data?.chat_inquiry_state_code) {
|
|
232
|
+
setInquiryStatus(detailResponse.data.chat_inquiry_state_code);
|
|
233
|
+
}
|
|
234
|
+
// 해당 문의 오브젝트
|
|
235
|
+
if (detailResponse.data?.object_expose_info) {
|
|
236
|
+
const uiObject = convertApiMessageObjectToUiMessageObject(detailResponse.data);
|
|
237
|
+
setMessageObject(uiObject);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// 해당 문의 상태
|
|
241
|
+
if (detailResponse.data?.chat_inquiry_state_code) {
|
|
242
|
+
setInquiryStatus(detailResponse.data.chat_inquiry_state_code);
|
|
243
|
+
}
|
|
244
|
+
// 워크플로우 스택 업데이트
|
|
245
|
+
if (detailResponse.data?.work_flow_progress_stack) {
|
|
246
|
+
setWorkFlowStack(detailResponse.data?.work_flow_progress_stack ?? []);
|
|
247
|
+
}
|
|
248
|
+
return chatInquiryNumber;
|
|
249
|
+
} catch (error) {
|
|
250
|
+
toast.error('채팅 시작에 실패했습니다.');
|
|
251
|
+
console.error('[DaeryuntalkContext] 채팅 시작 오류:', error);
|
|
252
|
+
throw error;
|
|
253
|
+
} finally {
|
|
254
|
+
setIsLoading(false);
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
[inquiryMainData]
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
// 메시지 전송
|
|
261
|
+
const sendMessage = useCallback(
|
|
262
|
+
async (htmlContent: string, jsonData: any, retry?: boolean) => {
|
|
263
|
+
try {
|
|
264
|
+
setIsLoading?.(true);
|
|
265
|
+
console.log('chatInquiryNumber', chatInquiryNumber);
|
|
266
|
+
const response = await sendChatMessage(chatInquiryNumber as string, htmlContent, jsonData);
|
|
267
|
+
if (!(response.result_info.result_cd === 'OK' || response.result_info.result_type_cd === 'OK')) {
|
|
268
|
+
toast.error(getErrorMessageMap(response));
|
|
269
|
+
}
|
|
270
|
+
return response;
|
|
271
|
+
} catch (error) {
|
|
272
|
+
toast.error('메시지 전송에 실패했습니다.');
|
|
273
|
+
console.error('[DaeryuntalkContext] 메시지 전송 중 오류 발생:', error);
|
|
274
|
+
} finally {
|
|
275
|
+
setIsLoading?.(false);
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
[chatInquiryNumber]
|
|
279
|
+
);
|
|
280
|
+
|
|
281
|
+
// 신규 채팅 문의 생성
|
|
282
|
+
const createNewChat = useCallback(
|
|
283
|
+
async (version?: string) => {
|
|
284
|
+
try {
|
|
285
|
+
if (!inquiryMainData) {
|
|
286
|
+
toast.error('채널이 존재하지 않습니다.');
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
setIsLoading?.(true);
|
|
290
|
+
console.log('chatInquiryNumber', chatInquiryNumber);
|
|
291
|
+
const createResponse = await generateChatInquiry(inquiryMainData?.channel_number || '', fullUrl);
|
|
292
|
+
if (
|
|
293
|
+
!(
|
|
294
|
+
createResponse.result_info.result_cd === 'OK' ||
|
|
295
|
+
createResponse.result_info.result_type_cd === 'OK'
|
|
296
|
+
)
|
|
297
|
+
) {
|
|
298
|
+
toast.error(getErrorMessageMap(createResponse));
|
|
299
|
+
return createResponse;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
console.log('[DaeryuntalkContext] 새 문의 생성 완료:', createResponse);
|
|
303
|
+
const currentChatInquiryNumber = createResponse.data.chat_inquiry_number;
|
|
304
|
+
// 문의 상세 조회
|
|
305
|
+
console.log('[DaeryuntalkContext] 문의 상세 조회 시작:', currentChatInquiryNumber);
|
|
306
|
+
const detailResponse = await getChatInquiryDetailNew(currentChatInquiryNumber);
|
|
307
|
+
console.log('[DaeryuntalkContext] 문의 상세 조회 완료:', detailResponse);
|
|
308
|
+
if (
|
|
309
|
+
!(
|
|
310
|
+
detailResponse.result_info.result_cd === 'OK' ||
|
|
311
|
+
detailResponse.result_info.result_type_cd === 'OK'
|
|
312
|
+
)
|
|
313
|
+
) {
|
|
314
|
+
resetData();
|
|
315
|
+
toast.error(getErrorMessageMap(detailResponse));
|
|
316
|
+
return detailResponse;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
// 메세지 리스트
|
|
320
|
+
console.log('[DaeryuntalkContext] 문의 채팅 리스트 조회 시작:', currentChatInquiryNumber);
|
|
321
|
+
const chatList = await getChatInquiryMessageList(currentChatInquiryNumber);
|
|
322
|
+
console.log('[DaeryuntalkContext] 문의 채팅 리스트 조회 완료:', chatList);
|
|
323
|
+
|
|
324
|
+
if (!(chatList.result_info.result_cd === 'OK' || chatList.result_info.result_type_cd === 'OK')) {
|
|
325
|
+
resetData();
|
|
326
|
+
toast.error(getErrorMessageMap(chatList));
|
|
327
|
+
return chatList;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// 메시지 처리
|
|
331
|
+
setChatInquiryNumber(currentChatInquiryNumber);
|
|
332
|
+
// 메세지 리스트 후처리
|
|
333
|
+
if (chatList.data?.message_list && chatList.data.message_list.length > 0) {
|
|
334
|
+
const uiMessages = chatList.data.message_list
|
|
335
|
+
.sort((a, b) => new Date(a.created_at).getTime() - new Date(b.created_at).getTime())
|
|
336
|
+
.map(convertApiMessageToUiMessage);
|
|
337
|
+
setMessages(uiMessages);
|
|
338
|
+
console.log('[DaeryuntalkContext] 메시지 설정 완료:', uiMessages.length);
|
|
339
|
+
}
|
|
340
|
+
if (chatList.data?.next_page_yn !== null) {
|
|
341
|
+
setIsNextPage(chatList.data.next_page_yn);
|
|
342
|
+
}
|
|
343
|
+
// 해당 문의 상태
|
|
344
|
+
if (detailResponse.data?.chat_inquiry_state_code) {
|
|
345
|
+
setInquiryStatus(detailResponse.data.chat_inquiry_state_code);
|
|
346
|
+
}
|
|
347
|
+
// 워크플로우 스택 업데이트
|
|
348
|
+
if (detailResponse.data?.work_flow_progress_stack) {
|
|
349
|
+
setWorkFlowStack(detailResponse.data?.work_flow_progress_stack ?? []);
|
|
350
|
+
}
|
|
351
|
+
// 해당 문의 오브젝트
|
|
352
|
+
if (detailResponse.data?.object_expose_info) {
|
|
353
|
+
const uiObject = convertApiMessageObjectToUiMessageObject(detailResponse.data);
|
|
354
|
+
setMessageObject(uiObject);
|
|
355
|
+
}
|
|
356
|
+
} catch (error) {
|
|
357
|
+
toast.error('채팅 문의 생성에 실패했습니다.');
|
|
358
|
+
console.error('[DaeryuntalkContext] 신규 채팅문의 생성:', error);
|
|
359
|
+
} finally {
|
|
360
|
+
setIsLoading(false);
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
[inquiryMainData, chatInquiryNumber]
|
|
364
|
+
);
|
|
365
|
+
|
|
366
|
+
const startWorkFlow = useCallback(
|
|
367
|
+
async (data: {
|
|
368
|
+
chatInquiryNumber: string;
|
|
369
|
+
messageNumber: string;
|
|
370
|
+
workFlowNumber: string;
|
|
371
|
+
objectNumber: string;
|
|
372
|
+
}) => {
|
|
373
|
+
const { chatInquiryNumber, messageNumber, workFlowNumber, objectNumber } = data;
|
|
374
|
+
|
|
375
|
+
if (!chatInquiryNumber) {
|
|
376
|
+
toast.error('채팅 문의 번호가 없습니다.');
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
if (!messageNumber) {
|
|
380
|
+
toast.error('메시지 번호가 없습니다.');
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
if (!workFlowNumber) {
|
|
384
|
+
toast.error('워크플로우 번호가 없습니다.');
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
if (!objectNumber) {
|
|
388
|
+
toast.error('오브젝트 번호가 없습니다.');
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
try {
|
|
392
|
+
setIsLoading?.(true);
|
|
393
|
+
const response = await chatWorkFlow(chatInquiryNumber, messageNumber, workFlowNumber, objectNumber);
|
|
394
|
+
if (!(response.result_info.result_cd === 'OK' || response.result_info.result_type_cd === 'OK')) {
|
|
395
|
+
toast.error(getErrorMessageMap(response));
|
|
396
|
+
}
|
|
397
|
+
return response;
|
|
398
|
+
} catch (error) {
|
|
399
|
+
toast.error('워크플로우 생성에 실패했습니다.');
|
|
400
|
+
console.error('[워크 플로우 생성 실패]:', error);
|
|
401
|
+
} finally {
|
|
402
|
+
setIsLoading?.(false);
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
[]
|
|
406
|
+
);
|
|
407
|
+
|
|
408
|
+
const workFlowBack = useCallback(
|
|
409
|
+
async (data: { chatInquiryNumber: string; messageNumber: string; workFlowNavigationCode: string }) => {
|
|
410
|
+
const { chatInquiryNumber, messageNumber, workFlowNavigationCode } = data;
|
|
411
|
+
|
|
412
|
+
if (!chatInquiryNumber) {
|
|
413
|
+
toast.error('채팅 문의 번호가 없습니다.');
|
|
414
|
+
return;
|
|
415
|
+
}
|
|
416
|
+
if (!messageNumber) {
|
|
417
|
+
toast.error('메시지 번호가 없습니다.');
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
if (!workFlowNavigationCode) {
|
|
421
|
+
toast.error('워크플로우 네비게이션 코드가 없습니다.');
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
424
|
+
try {
|
|
425
|
+
setIsLoading?.(true);
|
|
426
|
+
const response = await chatWorkFlowBack(chatInquiryNumber, messageNumber, workFlowNavigationCode);
|
|
427
|
+
if (!(response.result_info.result_cd === 'OK' || response.result_info.result_type_cd === 'OK')) {
|
|
428
|
+
toast.error(getErrorMessageMap(response));
|
|
429
|
+
}
|
|
430
|
+
return response;
|
|
431
|
+
} catch (error) {
|
|
432
|
+
toast.error('동작에 실패했습니다.');
|
|
433
|
+
console.error('[워크 플로우 생성 실패]:', error);
|
|
434
|
+
} finally {
|
|
435
|
+
setIsLoading?.(false);
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
[]
|
|
439
|
+
);
|
|
440
|
+
|
|
441
|
+
const chatUserUpdate = useCallback(
|
|
442
|
+
async (data: { chatInquiryNumber: string; messageNumber: string; name: string; cellPhoneNumber: string }) => {
|
|
443
|
+
const { chatInquiryNumber, messageNumber, name, cellPhoneNumber } = data;
|
|
444
|
+
|
|
445
|
+
if (!chatInquiryNumber) {
|
|
446
|
+
toast.error('채팅 개인 정보 업데이트: 문의 번호가 없음');
|
|
447
|
+
return;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (!messageNumber) {
|
|
451
|
+
toast.error('채팅 개인 정보 업데이트: 메시지 번호 없음');
|
|
452
|
+
return;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
if (!name) {
|
|
456
|
+
toast.error('채팅 개인 정보 업데이트: 이름 없음');
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
if (!cellPhoneNumber) {
|
|
461
|
+
toast.error('채팅 개인 정보 업데이트: 메시지 번호 없음');
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
try {
|
|
466
|
+
setIsLoading?.(true);
|
|
467
|
+
const response = await apiChatUserUpdate(chatInquiryNumber, messageNumber, name, cellPhoneNumber);
|
|
468
|
+
if (!(response.result_info.result_cd === 'OK' || response.result_info.result_type_cd === 'OK')) {
|
|
469
|
+
toast.error(getErrorMessageMap(response));
|
|
470
|
+
}
|
|
471
|
+
return response;
|
|
472
|
+
} catch (error) {
|
|
473
|
+
toast.error('개인정보 업데이트에 실패했습니다.');
|
|
474
|
+
console.error('[워크 플로우 생성 실패]:', error);
|
|
475
|
+
} finally {
|
|
476
|
+
setIsLoading?.(false);
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
[]
|
|
480
|
+
);
|
|
481
|
+
|
|
482
|
+
const getNextMessageList = useCallback(async (chatInquiryNumber: string, standardDateTime: any) => {
|
|
483
|
+
try {
|
|
484
|
+
const response = await getChatInquiryMessageList(chatInquiryNumber, standardDateTime);
|
|
485
|
+
if (response.result_info.result_cd === 'OK' || response.result_info.result_type_cd === 'OK') {
|
|
486
|
+
// 앞에 생성될 여기서는 앞에서부터 채워야함
|
|
487
|
+
const newMessageList = response.data.message_list
|
|
488
|
+
.sort((a, b) => a.timestamp - b.timestamp)
|
|
489
|
+
.map(item => {
|
|
490
|
+
return convertApiMessageToUiMessage(item);
|
|
491
|
+
});
|
|
492
|
+
setIsNextPage(response.data.next_page_yn);
|
|
493
|
+
setMessages(prev => {
|
|
494
|
+
if (newMessageList && newMessageList.length > 0) {
|
|
495
|
+
return [...newMessageList, ...prev];
|
|
496
|
+
} else {
|
|
497
|
+
return [...prev];
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
} else {
|
|
501
|
+
toast.error(getErrorMessageMap(response));
|
|
502
|
+
return;
|
|
503
|
+
}
|
|
504
|
+
} catch (error: any) {
|
|
505
|
+
console.error(`[실패]:`, error);
|
|
506
|
+
toast.error(error?.message || '오류가 발생했습니다.');
|
|
507
|
+
}
|
|
508
|
+
}, []);
|
|
509
|
+
|
|
510
|
+
const attendRoomByHistory = useCallback(
|
|
511
|
+
async (chatInquiryNumber: string) => {
|
|
512
|
+
try {
|
|
513
|
+
const response = await attendChatRoomByHistory({ chatInquiryNumber });
|
|
514
|
+
if (!(response.result_info.result_cd === 'OK' || response.result_info.result_type_cd === 'OK')) {
|
|
515
|
+
toast.error(getErrorMessageMap(response));
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
return response;
|
|
519
|
+
} catch (error: any) {
|
|
520
|
+
console.error(`[실패]:`, error);
|
|
521
|
+
toast.error(error?.message || '오류가 발생했습니다.');
|
|
522
|
+
} finally {
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
[chatInquiryNumber]
|
|
526
|
+
);
|
|
527
|
+
|
|
528
|
+
return {
|
|
529
|
+
attendRoomByHistory,
|
|
530
|
+
startChat,
|
|
531
|
+
sendMessage,
|
|
532
|
+
createNewChat,
|
|
533
|
+
startWorkFlow,
|
|
534
|
+
workFlowBack,
|
|
535
|
+
chatUserUpdate,
|
|
536
|
+
getNextMessageList,
|
|
537
|
+
startSelectedChat
|
|
538
|
+
};
|
|
539
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const useChatHistory = () => {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { usePathname, useSearchParams } from 'next/navigation';
|
|
2
|
+
import { useEffect, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
export function useFullURL() {
|
|
5
|
+
const pathname = usePathname();
|
|
6
|
+
const searchParams = useSearchParams();
|
|
7
|
+
const [fullUrl, setFullUrl] = useState('');
|
|
8
|
+
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
if (typeof window !== 'undefined') {
|
|
11
|
+
const origin = window.location.origin; // https://example.com
|
|
12
|
+
const query = searchParams.toString(); // scrollToMsg=true
|
|
13
|
+
const hash = window.location.hash; // #1234 or ''
|
|
14
|
+
|
|
15
|
+
const fullPath = origin + pathname + (query ? `?${query}` : '') + hash;
|
|
16
|
+
|
|
17
|
+
setFullUrl(fullPath);
|
|
18
|
+
}
|
|
19
|
+
}, [pathname, searchParams]);
|
|
20
|
+
|
|
21
|
+
return fullUrl;
|
|
22
|
+
}
|