@daeryun/dr_components 0.8.92 → 0.8.94
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Daeryuntalk/ChatConversation.jsx +33 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- 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 +0 -3
- package/dist/asset/images/categoryMenu/HouseWhite.svg +0 -3
- package/dist/asset/images/categoryMenu/right_arrow.svg +0 -3
- 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 +0 -16
- 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 +0 -5
- 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 +0 -5
- package/dist/asset/images/daeryuntalk/daeryun-logo.svg +0 -5
- 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 +0 -5
- package/dist/asset/images/daeryuntalk/empty_message.svg +0 -8
- package/dist/asset/images/daeryuntalk/firstGo.svg +0 -5
- package/dist/asset/images/daeryuntalk/history.svg +0 -6
- package/dist/asset/images/daeryuntalk/home.svg +0 -4
- package/dist/asset/images/daeryuntalk/home_bg_logo.png +0 -0
- package/dist/asset/images/daeryuntalk/info.svg +0 -5
- package/dist/asset/images/daeryuntalk/link_right.svg +0 -11
- package/dist/asset/images/daeryuntalk/minus.svg +0 -4
- package/dist/asset/images/daeryuntalk/notice-icon.svg +0 -4
- package/dist/asset/images/daeryuntalk/notice.svg +0 -6
- package/dist/asset/images/daeryuntalk/objectBack.svg +0 -4
- package/dist/asset/images/daeryuntalk/plus.svg +0 -4
- package/dist/asset/images/daeryuntalk/prev.svg +0 -3
- package/dist/asset/images/daeryuntalk/re_send.svg +0 -11
- package/dist/asset/images/daeryuntalk/send.svg +0 -11
- package/dist/asset/images/daeryuntalk/time.svg +0 -3
- package/dist/asset/images/daeryuntalk/viewer/close.svg +0 -4
- package/dist/asset/images/daeryuntalk/viewer/gray-download.svg +0 -7
- package/dist/asset/images/daeryuntalk/viewer/move-button.svg +0 -4
- package/dist/asset/images/daeryuntalk/viewer/rotate.svg +0 -17
- package/dist/asset/images/daeryuntalk/viewer/zoom-in.svg +0 -5
- package/dist/asset/images/daeryuntalk/viewer/zoom-out.svg +0 -4
- 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 +0 -3
- package/dist/asset/images/faq/vector_stroke.svg +0 -3
- 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 +0 -13
- 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 +0 -3
- 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 +0 -38
- package/dist/asset/images/header/military_w.svg +0 -38
- 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 +0 -19
- package/dist/asset/images/lawfirm/certified.svg +0 -33
- package/dist/asset/images/lawfirm/checkbox.svg +0 -11
- package/dist/asset/images/lawfirm/document.svg +0 -23
- package/dist/asset/images/lawfirm/downArrow.svg +0 -5
- package/dist/asset/images/lawfirm/picture.svg +0 -12
- 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 +0 -37
- package/dist/asset/images/mark/court.svg +0 -41
- package/dist/asset/images/mark/customs.svg +0 -12
- package/dist/asset/images/mark/military.svg +0 -932
- package/dist/asset/images/mark/patent.svg +0 -3258
- package/dist/asset/images/mark/police.svg +0 -24
- package/dist/asset/images/mark/prosecution.svg +0 -34
- package/dist/asset/images/mark/tax.svg +0 -10
- package/dist/asset/images/mark/trial.svg +0 -30
- 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 +0 -8
- 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 +0 -16
- 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 +0 -3
- package/dist/asset/images/myCaseManage/background.svg +0 -8
- package/dist/asset/images/myCaseManage/header_arrow.svg +0 -3
- package/dist/asset/images/myCaseManage/home.svg +0 -16
- package/dist/asset/images/myCaseManage/home.webp +0 -0
- package/dist/asset/images/myCaseManage/icon/case_icon1.svg +0 -4
- package/dist/asset/images/myCaseManage/icon/case_icon2.svg +0 -6
- package/dist/asset/images/myCaseManage/icon/case_icon3.svg +0 -3
- package/dist/asset/images/myCaseManage/icon/case_lookup_linkout.svg +0 -5
- package/dist/asset/images/myCaseManage/icon/check_circle.svg +0 -3
- package/dist/asset/images/myCaseManage/icon/check_circle2.svg +0 -3
- package/dist/asset/images/myCaseManage/icon/client.svg +0 -14
- package/dist/asset/images/myCaseManage/icon/daeryun.svg +0 -7
- package/dist/asset/images/myCaseManage/icon/download.svg +0 -3
- package/dist/asset/images/myCaseManage/icon/jpg.svg +0 -15
- package/dist/asset/images/myCaseManage/icon/pdf.svg +0 -9
- package/dist/asset/images/myCaseManage/icon/png.svg +0 -25
- package/dist/asset/images/myCaseManage/icon/word.svg +0 -11
- package/dist/asset/images/myCaseManage/icon/xls.svg +0 -18
- package/dist/asset/images/myCaseManage/nav_arr.webp +0 -0
- package/dist/asset/images/pagination/small_arrow.svg +0 -3
- package/dist/asset/images/pdfPrintCopyLink/pdf.svg +0 -17
- package/dist/asset/images/pdfPrintCopyLink/print.svg +0 -19
- package/dist/asset/images/pdfPrintCopyLink/share.svg +0 -15
- package/dist/asset/images/seo/Arrow_Right_MD.svg +0 -3
- 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 +0 -34
- package/dist/asset/images/seo/rec_02.svg +0 -41
- package/dist/asset/images/seo/rec_03.svg +0 -16
- 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 +0 -36
- 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 +0 -3
- package/dist/asset/images/seo/seoAddLink/youtubeSmall_ico.svg +0 -4
- package/dist/asset/images/seo/seoYoutube/youtube_ico.svg +0 -7
- package/dist/asset/images/seo/seoYoutube/youtube_txt.svg +0 -3
- package/dist/asset/images/seo/successCase/dia_dot.svg +0 -3
- package/dist/asset/images/seo/successCase/right_arrow.svg +0 -4
- package/dist/asset/images/seo/successCase/up_right.svg +0 -3
- 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 +0 -13
- package/dist/asset/images/success_new/arrow_full.webp +0 -0
- package/dist/asset/images/success_new/arrow_line.svg +0 -3
- package/dist/asset/images/success_new/arrow_line.webp +0 -0
- package/dist/asset/images/success_new/dia_dot.svg +0 -3
- package/dist/asset/images/success_new/field_icon.webp +0 -0
- package/dist/asset/images/success_new/label.svg +0 -10
- 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 +0 -4
- package/dist/asset/images/success_new/up_right.svg +0 -3
- package/dist/asset/images/system/svg/Arrow_Right_LG.svg +0 -3
- package/dist/asset/images/system/svg/arrow_system.svg +0 -3
- 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 +0 -11
- package/dist/asset/images/viewMoreSection/search.svg +0 -15
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_01a.svg +0 -18
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_02a.svg +0 -23
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_03a.svg +0 -25
- package/dist/asset/images/viewMoreSection/searchIconSVG/section12_icon_04a.svg +0 -24
- 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 +0 -24
- package/dist/components/BrochureBtn/BrochureBtn.stories.jsx +0 -25
- package/dist/components/BrochureBtn/BrochureBtn.stories.tsx +0 -33
- package/dist/components/BrochureBtn/BrochureBtn.tsx +0 -83
- package/dist/components/BrochureBtn/MedicalBrochureBtn.tsx +0 -88
- package/dist/components/CategoryMenu/CategoryMenuForPage.tsx +0 -81
- package/dist/components/ChannelTalk/ChannelTalk.tsx +0 -47
- package/dist/components/CountingSection/CountingSection.stories.d.ts +0 -8
- package/dist/components/CountingSection/CountingSection.stories.jsx +0 -22
- package/dist/components/CountingSection/CountingSection.stories.tsx +0 -30
- package/dist/components/CountingSection/CountingSection.tsx +0 -192
- package/dist/components/Daeryuntalk/ChatButton.tsx +0 -124
- package/dist/components/Daeryuntalk/ChatConversation.tsx +0 -328
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +0 -59
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +0 -232
- package/dist/components/Daeryuntalk/ChatInput.tsx +0 -79
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +0 -228
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +0 -21
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +0 -128
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +0 -25
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +0 -45
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +0 -20
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.tsx +0 -38
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.tsx +0 -31
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +0 -36
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +0 -232
- package/dist/components/Daeryuntalk/ChatMessage.tsx +0 -287
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +0 -65
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +0 -28
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +0 -183
- package/dist/components/Daeryuntalk/ChatWidget.tsx +0 -114
- package/dist/components/Daeryuntalk/DaeryuntalkContext.tsx +0 -286
- package/dist/components/Daeryuntalk/DateSeparator.tsx +0 -23
- package/dist/components/Daeryuntalk/FixedErrorBox.tsx +0 -73
- package/dist/components/Daeryuntalk/History/AuthForm.tsx +0 -204
- package/dist/components/Daeryuntalk/HistoryView.tsx +0 -158
- package/dist/components/Daeryuntalk/HomeView.tsx +0 -216
- package/dist/components/Daeryuntalk/NavigationFooter.tsx +0 -90
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +0 -44
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.tsx +0 -182
- package/dist/components/Daeryuntalk/Toast/DaeryuntalkToastProvider.tsx +0 -70
- package/dist/components/Daeryuntalk/Toast/Toast.tsx +0 -94
- package/dist/components/Daeryuntalk/Toast/ToastRender.tsx +0 -30
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.tsx +0 -147
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +0 -168
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +0 -232
- package/dist/components/Daeryuntalk/ViewportHandler.tsx +0 -49
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.ts +0 -1060
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.ts +0 -153
- package/dist/components/Daeryuntalk/_api/index.ts +0 -7
- package/dist/components/Daeryuntalk/_enums/ask-status.ts +0 -25
- package/dist/components/Daeryuntalk/_enums/error.ts +0 -292
- package/dist/components/Daeryuntalk/_enums/message_type.ts +0 -13
- package/dist/components/Daeryuntalk/_enums/sender_type.ts +0 -16
- package/dist/components/Daeryuntalk/_enums/socket_type.ts +0 -44
- package/dist/components/Daeryuntalk/_enums/template.ts +0 -81
- package/dist/components/Daeryuntalk/_enums/work_flow_object_expose.ts +0 -69
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +0 -539
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHistory.ts +0 -1
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useFullURL.tsx +0 -22
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.ts +0 -143
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +0 -395
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useViewerHook.ts +0 -23
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useWorkFlow.ts +0 -122
- package/dist/components/Daeryuntalk/_hooks/useScrollShadow.ts +0 -34
- package/dist/components/Daeryuntalk/_hooks/useWindowSize.ts +0 -30
- package/dist/components/Daeryuntalk/_hooks/view/useChatSocketState.ts +0 -43
- package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.ts +0 -93
- package/dist/components/Daeryuntalk/_hooks/view/useHomeView.ts +0 -65
- package/dist/components/Daeryuntalk/_lib/index.ts +0 -140
- package/dist/components/Daeryuntalk/_lib/utils.ts +0 -113
- package/dist/components/Daeryuntalk/_types/message.ts +0 -155
- package/dist/components/Daeryuntalk/_types/message_object.ts +0 -21
- package/dist/components/Daeryuntalk/_types/socket/message.ts +0 -0
- package/dist/components/Daeryuntalk/_types/socket/workflow.ts +0 -15
- package/dist/components/Daeryuntalk/_ui/ShadowBox.tsx +0 -14
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.tsx +0 -28
- package/dist/components/Daeryuntalk/_ui/buttons/Button2.tsx +0 -28
- package/dist/components/Daeryuntalk/_ui/buttons/Button3.tsx +0 -29
- package/dist/components/Daeryuntalk/_ui/inputs/Input1.tsx +0 -39
- package/dist/components/Daeryuntalk/_ui/inputs/Input2.tsx +0 -43
- package/dist/components/Daeryuntalk/index.tsx +0 -125
- package/dist/components/FieldNew/RelatedGroup.stories.d.ts +0 -12
- package/dist/components/FieldNew/RelatedGroup.stories.jsx +0 -15
- package/dist/components/FieldNew/RelatedGroup.stories.tsx +0 -23
- package/dist/components/FieldNew/RelatedGroup.tsx +0 -41
- package/dist/components/Fix/Fix.stories.d.ts +0 -15
- package/dist/components/Fix/Fix.stories.jsx +0 -19
- package/dist/components/Fix/Fix.stories.tsx +0 -27
- package/dist/components/Fix/index.module.css +0 -316
- package/dist/components/Fix/index.tsx +0 -719
- package/dist/components/Footer/Footer.stories.d.ts +0 -10
- package/dist/components/Footer/Footer.stories.jsx +0 -76
- package/dist/components/Footer/Footer.stories.tsx +0 -92
- package/dist/components/Footer/FooterV2.tsx +0 -764
- package/dist/components/Footer/IFooterTypes.ts +0 -347
- package/dist/components/Footer/TopBtn.tsx +0 -31
- package/dist/components/Footer/_actions/action.ts +0 -17
- package/dist/components/Footer/_backup/index.tsx +0 -747
- package/dist/components/Footer/_fetchers/getFooterTermList.ts +0 -5
- package/dist/components/Footer/_type/termType.ts +0 -15
- package/dist/components/Footer/index.tsx +0 -676
- package/dist/components/Header/HeaderWrapper.tsx +0 -22
- package/dist/components/Header/MobileHeader.stories.d.ts +0 -7
- package/dist/components/Header/MobileHeader.stories.jsx +0 -28
- package/dist/components/Header/MobileHeader.stories.tsx +0 -36
- package/dist/components/Header/MobileHeader.tsx +0 -102
- package/dist/components/Header/PcHeader.stories.d.ts +0 -7
- package/dist/components/Header/PcHeader.stories.jsx +0 -27
- package/dist/components/Header/PcHeader.stories.tsx +0 -35
- package/dist/components/Header/PcHeader.tsx +0 -229
- package/dist/components/Layout/PageWrapper.tsx +0 -35
- package/dist/components/Layout/Wrapper.tsx +0 -38
- package/dist/components/Loader/Loader.stories.d.ts +0 -9
- package/dist/components/Loader/Loader.stories.jsx +0 -22
- package/dist/components/Loader/Loader.stories.tsx +0 -32
- package/dist/components/Loader/Loader.tsx +0 -18
- package/dist/components/LogoSection/LogoSection.stories.d.ts +0 -8
- package/dist/components/LogoSection/LogoSection.stories.jsx +0 -15
- package/dist/components/LogoSection/LogoSection.stories.tsx +0 -23
- package/dist/components/LogoSection/LogoSection.tsx +0 -159
- package/dist/components/MapFix/AreaImage.tsx +0 -95
- package/dist/components/MapFix/MapFix.stories.d.ts +0 -7
- package/dist/components/MapFix/MapFix.stories.jsx +0 -20
- package/dist/components/MapFix/MapFix.stories.tsx +0 -30
- package/dist/components/MapFix/MapFix.tsx +0 -170
- package/dist/components/MapSection/Map.tsx +0 -340
- package/dist/components/MapSection/MapSection.stories.d.ts +0 -8
- package/dist/components/MapSection/MapSection.stories.jsx +0 -38
- package/dist/components/MapSection/MapSection.stories.tsx +0 -64
- package/dist/components/MapSection/MapSection.tsx +0 -144
- package/dist/components/Mark/Mark.stories.d.ts +0 -6
- package/dist/components/Mark/Mark.stories.jsx +0 -24
- package/dist/components/Mark/Mark.stories.tsx +0 -31
- package/dist/components/Mark/Mark.tsx +0 -112
- package/dist/components/Menu/IMenuTypes.ts +0 -13
- package/dist/components/Menu/Menu.stories.d.ts +0 -7
- package/dist/components/Menu/Menu.stories.jsx +0 -162
- package/dist/components/Menu/Menu.stories.tsx +0 -170
- package/dist/components/Menu/Menu.tsx +0 -15
- package/dist/components/Menu/MobileMenu.tsx +0 -285
- package/dist/components/Menu/MyCase.tsx +0 -47
- package/dist/components/Menu/PCMenu.tsx +0 -236
- package/dist/components/Model/YoutubeLawyerModal.tsx +0 -64
- package/dist/components/PageTitleBox/ImgTypes.ts +0 -12
- package/dist/components/PageTitleBox/PageTitleBox.stories.d.ts +0 -6
- package/dist/components/PageTitleBox/PageTitleBox.stories.jsx +0 -19
- package/dist/components/PageTitleBox/PageTitleBox.stories.tsx +0 -26
- package/dist/components/PageTitleBox/PageTitleBox.tsx +0 -141
- package/dist/components/Pagination/Pagination.tsx +0 -79
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.stories.d.ts +0 -8
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.stories.jsx +0 -16
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.stories.tsx +0 -24
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.tsx +0 -176
- package/dist/components/SearchBar/SearchBar.stories.d.ts +0 -6
- package/dist/components/SearchBar/SearchBar.stories.jsx +0 -21
- package/dist/components/SearchBar/SearchBar.stories.tsx +0 -28
- package/dist/components/SearchBar/SearchBar.tsx +0 -173
- package/dist/components/SelectBox/SelectBox.tsx +0 -80
- package/dist/components/Seo/FieldCase.tsx +0 -95
- package/dist/components/Seo/Lawyer.tsx +0 -151
- package/dist/components/Seo/SeoAdditionalLink.stories.d.ts +0 -19
- package/dist/components/Seo/SeoAdditionalLink.stories.jsx +0 -34
- package/dist/components/Seo/SeoAdditionalLink.stories.tsx +0 -41
- package/dist/components/Seo/SeoAdditionalLink.tsx +0 -144
- package/dist/components/Seo/SeoConsulting.tsx +0 -271
- package/dist/components/Seo/SeoStrength.stories.d.ts +0 -12
- package/dist/components/Seo/SeoStrength.stories.jsx +0 -15
- package/dist/components/Seo/SeoStrength.stories.tsx +0 -22
- package/dist/components/Seo/SeoStrength.tsx +0 -96
- package/dist/components/Seo/SeoYoutube.stories.d.ts +0 -19
- package/dist/components/Seo/SeoYoutube.stories.jsx +0 -34
- package/dist/components/Seo/SeoYoutube.stories.tsx +0 -41
- package/dist/components/Seo/SeoYoutube.tsx +0 -191
- package/dist/components/Seo/SuccessCase.tsx +0 -97
- package/dist/components/Seo/right_arrow.svg +0 -4
- package/dist/components/SubPage/SubPageTitle.tsx +0 -113
- package/dist/components/TuiViewer/TuiViewer.tsx +0 -14
- package/dist/components/ViewMoreSection/SearchIcon.tsx +0 -29
- package/dist/components/ViewMoreSection/ViewMoreSection.stories.d.ts +0 -8
- package/dist/components/ViewMoreSection/ViewMoreSection.stories.jsx +0 -50
- package/dist/components/ViewMoreSection/ViewMoreSection.stories.tsx +0 -61
- package/dist/components/ViewMoreSection/ViewMoreSection.tsx +0 -283
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.stories.d.ts +0 -8
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.stories.jsx +0 -15
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.stories.tsx +0 -23
- package/dist/components/VisitReservationLawyer/VisitReservationLawyer.tsx +0 -469
- package/dist/components/YoutubeModal/YoutubeModal.tsx +0 -57
- package/dist/components/banner/TopBanner.module.css +0 -111
- package/dist/components/banner/TopBanner.stories.d.ts +0 -10
- package/dist/components/banner/TopBanner.stories.jsx +0 -22
- package/dist/components/banner/TopBanner.stories.tsx +0 -29
- package/dist/components/banner/TopBanner.tsx +0 -425
- package/dist/components/categoryView/CategoryComponent.tsx +0 -185
- package/dist/components/categoryView/CategoryView.stories.d.ts +0 -16
- package/dist/components/categoryView/CategoryView.stories.jsx +0 -4772
- package/dist/components/categoryView/CategoryView.stories.tsx +0 -4779
- package/dist/components/categoryView/CategoryView.tsx +0 -138
- package/dist/components/categoryView/CenterComponent.tsx +0 -194
- package/dist/components/categoryView/ICategoryViewTypes.ts +0 -11
- package/dist/components/common/data/index.ts +0 -2088
- package/dist/components/common/hook/index.ts +0 -3
- package/dist/components/common/hook/useBrowser.ts +0 -52
- package/dist/components/common/hook/useCountNum.tsx +0 -28
- package/dist/components/common/hook/useElementObserve.ts +0 -44
- package/dist/components/common/index.ts +0 -3
- package/dist/components/common/initialData/index.ts +0 -65
- package/dist/components/common/integrate/index.tsx +0 -107
- package/dist/components/common/strength/index.ts +0 -219
- package/dist/components/common/system/index.tsx +0 -40
- package/dist/components/common/types/faq/index.ts +0 -11
- package/dist/components/common/types/index.ts +0 -55
- package/dist/components/common/types/seo/index.ts +0 -40
- package/dist/components/hook/useBrowser.ts +0 -60
- package/dist/components/hook/useCountNum.tsx +0 -30
- package/dist/components/hook/useScrollRestoration.ts +0 -82
- package/dist/components/hook/useScrollRestorationException.ts +0 -32
- package/dist/components/index.ts +0 -45
- package/dist/components/myCase/MyCase.tsx +0 -48
- package/dist/components/page/Choice/Choice.stories.d.ts +0 -6
- package/dist/components/page/Choice/Choice.stories.jsx +0 -14
- package/dist/components/page/Choice/Choice.stories.tsx +0 -22
- package/dist/components/page/Choice/Choice.tsx +0 -975
- package/dist/components/page/ConsultComplete/ConsultComplete.stories.d.ts +0 -6
- package/dist/components/page/ConsultComplete/ConsultComplete.stories.jsx +0 -13
- package/dist/components/page/ConsultComplete/ConsultComplete.stories.tsx +0 -21
- package/dist/components/page/ConsultComplete/ConsultComplete.tsx +0 -220
- package/dist/components/page/ConsultComplete/complete.module.css +0 -142
- package/dist/components/page/Consulting/Consulting.stories.d.ts +0 -6
- package/dist/components/page/Consulting/Consulting.stories.jsx +0 -13
- package/dist/components/page/Consulting/Consulting.stories.tsx +0 -21
- package/dist/components/page/Consulting/Consulting.tsx +0 -770
- package/dist/components/page/Consulting/IConsultingTypes.tsx +0 -25
- package/dist/components/page/Faq/Detail/FaqDetail.tsx +0 -300
- package/dist/components/page/Faq/Detail/FaqList.stories.d.ts +0 -6
- package/dist/components/page/Faq/Detail/FaqList.stories.jsx +0 -133
- package/dist/components/page/Faq/Detail/FaqList.stories.tsx +0 -155
- package/dist/components/page/Faq/FaqList.stories.d.ts +0 -6
- package/dist/components/page/Faq/FaqList.stories.jsx +0 -76
- package/dist/components/page/Faq/FaqList.stories.tsx +0 -93
- package/dist/components/page/Faq/FaqList.tsx +0 -207
- package/dist/components/page/Faq/GroupList.tsx +0 -63
- package/dist/components/page/Faq/GroupSelectBox.tsx +0 -126
- package/dist/components/page/FieldNew/FieldNew.tsx +0 -351
- package/dist/components/page/FieldNew/FieldNewTypes.ts +0 -30
- package/dist/components/page/FieldNew/FieldNewView.tsx +0 -326
- package/dist/components/page/FieldNew/FieldWrapper.tsx +0 -36
- package/dist/components/page/Integrate/AiSearch.stories.d.ts +0 -6
- package/dist/components/page/Integrate/AiSearch.stories.jsx +0 -13
- package/dist/components/page/Integrate/AiSearch.stories.tsx +0 -21
- package/dist/components/page/Integrate/AiSearch.tsx +0 -114
- package/dist/components/page/Integrate/Broadcast.tsx +0 -268
- package/dist/components/page/Integrate/Field.tsx +0 -136
- package/dist/components/page/Integrate/LawInfo.tsx +0 -155
- package/dist/components/page/Integrate/Lawyer.tsx +0 -413
- package/dist/components/page/Integrate/Map.tsx +0 -273
- package/dist/components/page/Integrate/MenuTab.tsx +0 -68
- package/dist/components/page/Integrate/NoResult.tsx +0 -21
- package/dist/components/page/Integrate/Reply.tsx +0 -186
- package/dist/components/page/Integrate/SearchData.tsx +0 -300
- package/dist/components/page/Integrate/Success.tsx +0 -193
- package/dist/components/page/Integrate/Title.tsx +0 -68
- package/dist/components/page/Integrate/ViewMore.tsx +0 -63
- package/dist/components/page/Integrate/index.module.css +0 -915
- package/dist/components/page/Integrate/integrateType.ts +0 -171
- package/dist/components/page/LawInfoNew/LawInfoNew.tsx +0 -437
- package/dist/components/page/LawInfoNew/LawInfoNewTypes.ts +0 -30
- package/dist/components/page/LawInfoNew/LawInfoNewView.tsx +0 -405
- package/dist/components/page/LawInfoNew/LawInfoWrapper.tsx +0 -36
- package/dist/components/page/Lawfirm/CardSection1.tsx +0 -101
- package/dist/components/page/Lawfirm/CardSection3.tsx +0 -132
- package/dist/components/page/Lawfirm/CardSection5.tsx +0 -38
- package/dist/components/page/Lawfirm/CardSection7.tsx +0 -46
- package/dist/components/page/Lawfirm/Lawfirm.stories.d.ts +0 -6
- package/dist/components/page/Lawfirm/Lawfirm.stories.jsx +0 -14
- package/dist/components/page/Lawfirm/Lawfirm.stories.tsx +0 -21
- package/dist/components/page/Lawfirm/Lawfirm.tsx +0 -34
- package/dist/components/page/Lawfirm/Section1.tsx +0 -221
- package/dist/components/page/Lawfirm/Section2.tsx +0 -121
- package/dist/components/page/Lawfirm/Section3.tsx +0 -274
- package/dist/components/page/Lawfirm/Section4.tsx +0 -75
- package/dist/components/page/Lawfirm/Section5.tsx +0 -174
- package/dist/components/page/Lawfirm/Section6.tsx +0 -66
- package/dist/components/page/Lawfirm/Section7.tsx +0 -201
- package/dist/components/page/Lawfirm/Section8.tsx +0 -145
- package/dist/components/page/Lawfirm/Section9.tsx +0 -70
- package/dist/components/page/Lawfirm/lawfirm.module.css +0 -541
- package/dist/components/page/LawyerDetail/ILawyerDetailTypes.tsx +0 -55
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.d.ts +0 -7
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.jsx +0 -4621
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.tsx +0 -4642
- package/dist/components/page/LawyerDetail/LawyerDetail.tsx +0 -212
- package/dist/components/page/LawyerDetail/component/BasicInfo.tsx +0 -374
- package/dist/components/page/LawyerDetail/component/CareerList.tsx +0 -550
- package/dist/components/page/LawyerDetail/component/Introduce.tsx +0 -58
- package/dist/components/page/LawyerDetail/component/MobileRelatedPage.tsx +0 -115
- package/dist/components/page/LawyerDetail/component/MobileSpeciality.tsx +0 -130
- package/dist/components/page/LawyerDetail/component/MobileTabButton.tsx +0 -35
- package/dist/components/page/LawyerDetail/component/PcTabButton.tsx +0 -180
- package/dist/components/page/LawyerDetail/detail.module.css +0 -602
- package/dist/components/page/Login/AppHeaderContainer.tsx +0 -84
- package/dist/components/page/Login/Login.stories.d.ts +0 -6
- package/dist/components/page/Login/Login.stories.jsx +0 -13
- package/dist/components/page/Login/Login.stories.tsx +0 -21
- package/dist/components/page/Login/Login.tsx +0 -50
- package/dist/components/page/Login/LoginComp/LButton.tsx +0 -36
- package/dist/components/page/Login/LoginComp/Linput.tsx +0 -40
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.tsx +0 -40
- package/dist/components/page/Login/LoginComp/LoginContainer.tsx +0 -171
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.tsx +0 -94
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.tsx +0 -85
- package/dist/components/page/Login/LoginComp/Modal/TermModal.tsx +0 -67
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.tsx +0 -148
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.tsx +0 -94
- package/dist/components/page/Login/LoginComp/SignContainer.tsx +0 -1018
- package/dist/components/page/Login/LoginComp/Update/MyPageOptionalCheckBox.tsx +0 -211
- package/dist/components/page/Login/LoginComp/Withdraw/WithdrawCheckBox.tsx +0 -59
- package/dist/components/page/Login/LoginShareCheckContainer.tsx +0 -213
- package/dist/components/page/Login/Personal.tsx +0 -929
- package/dist/components/page/Login/Sign.tsx +0 -41
- package/dist/components/page/Login/Withdraw.tsx +0 -240
- package/dist/components/page/Login/_api/_server/appLoginInfo.ts +0 -26
- package/dist/components/page/Login/_api/checkThirdPartyCookie.ts +0 -22
- package/dist/components/page/Login/_api/completeUser.ts +0 -18
- package/dist/components/page/Login/_api/confirmNumber.ts +0 -14
- package/dist/components/page/Login/_api/createTokenAndFetchUser.ts +0 -14
- package/dist/components/page/Login/_api/fetchAuthCallback.ts +0 -12
- package/dist/components/page/Login/_api/fetchUserData.ts +0 -19
- package/dist/components/page/Login/_api/getLoginStatus.ts +0 -42
- package/dist/components/page/Login/_api/logout.ts +0 -39
- package/dist/components/page/Login/_api/optionalTermAgree.ts +0 -19
- package/dist/components/page/Login/_api/sendNumber.ts +0 -15
- package/dist/components/page/Login/_api/signRedirect.ts +0 -13
- package/dist/components/page/Login/_api/token.ts +0 -25
- package/dist/components/page/Login/_api/updateUserInfo.ts +0 -17
- package/dist/components/page/Login/_api/withdraw.ts +0 -25
- package/dist/components/page/Login/_fetch/fetch.ts +0 -57
- package/dist/components/page/Login/_fetch/serverFetch.ts +0 -43
- package/dist/components/page/Login/_hooks/useAppLoginDetect.ts +0 -97
- package/dist/components/page/Login/_hooks/useLogout.ts +0 -15
- package/dist/components/page/Login/_hooks/useModalScroll.ts +0 -15
- package/dist/components/page/Login/_lib/goToAIDaeryun.ts +0 -17
- package/dist/components/page/Login/_types/login.ts +0 -7
- package/dist/components/page/Login/_types/termType.ts +0 -16
- package/dist/components/page/MyCase/MyCasePage.tsx +0 -37
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +0 -14
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +0 -143
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +0 -97
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.tsx +0 -185
- package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +0 -79
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +0 -214
- package/dist/components/page/MyCase/[id]/_component/_document/Document.tsx +0 -63
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +0 -95
- package/dist/components/page/MyCase/[id]/_component/_document/FileDropZone.tsx +0 -65
- package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.ts +0 -49
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +0 -155
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.tsx +0 -59
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.tsx +0 -69
- package/dist/components/page/MyCase/[id]/_component/_modal/FileSuccessModal.tsx +0 -42
- package/dist/components/page/MyCase/[id]/_component/_modal/FileUploadModal.tsx +0 -134
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +0 -39
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +0 -24
- package/dist/components/page/MyCase/_actions/action.ts +0 -205
- package/dist/components/page/MyCase/_component/CaseContainer.tsx +0 -251
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenu.tsx +0 -85
- package/dist/components/page/MyCase/_component/_button/Badge.tsx +0 -25
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +0 -33
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.tsx +0 -36
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +0 -104
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +0 -29
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +0 -41
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +0 -5
- package/dist/components/page/MyCase/_component/_layout/IntroWrapper.tsx +0 -72
- package/dist/components/page/MyCase/_component/_loading/Loading.tsx +0 -92
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponent.tsx +0 -133
- package/dist/components/page/MyCase/_component/_table/CaseLine.tsx +0 -129
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +0 -79
- package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +0 -97
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +0 -31
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.tsx +0 -69
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +0 -26
- package/dist/components/page/MyCase/_fetchers/addMyFileUpload.ts +0 -28
- package/dist/components/page/MyCase/_fetchers/getCase.ts +0 -25
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +0 -35
- package/dist/components/page/MyCase/_fetchers/getContact.ts +0 -23
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +0 -25
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +0 -25
- package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +0 -25
- package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +0 -25
- package/dist/components/page/MyCase/_lib/catagoryMenuName.ts +0 -13
- package/dist/components/page/MyCase/_type/type.ts +0 -94
- package/dist/components/page/Strength/Strength.stories.d.ts +0 -6
- package/dist/components/page/Strength/Strength.stories.jsx +0 -17
- package/dist/components/page/Strength/Strength.stories.tsx +0 -24
- package/dist/components/page/Strength/Strength.tsx +0 -15
- package/dist/components/page/Strength/StrengthIntro.tsx +0 -357
- package/dist/components/page/Strength/StrengthList.tsx +0 -223
- package/dist/components/page/SuccessNew/SuccessNew.tsx +0 -479
- package/dist/components/page/SuccessNew/SuccessNewType.ts +0 -155
- package/dist/components/page/SuccessNew/SuccessNewView.tsx +0 -400
- package/dist/components/page/SuccessNew/components/ContentList.tsx +0 -151
- package/dist/components/page/SuccessNew/components/FieldCase.tsx +0 -101
- package/dist/components/page/SuccessNew/components/H2Contents.tsx +0 -49
- package/dist/components/page/SuccessNew/components/H3Contents.tsx +0 -58
- package/dist/components/page/SuccessNew/components/LawInfoContentList.tsx +0 -106
- package/dist/components/page/SuccessNew/components/Lawyer.tsx +0 -150
- package/dist/components/page/SuccessNew/components/SeoAdditionalLink.tsx +0 -140
- package/dist/components/page/SuccessNew/components/SuccessCase.tsx +0 -105
- package/dist/components/page/SuccessNew/components/SuccessWrapper.tsx +0 -36
- package/dist/components/page/System/AllocationSystem.tsx +0 -97
- package/dist/components/page/System/ConsultNow.tsx +0 -113
- package/dist/components/page/System/ConsultationSystem.tsx +0 -174
- package/dist/components/page/System/PostSystem.tsx +0 -79
- package/dist/components/page/System/System.stories.d.ts +0 -6
- package/dist/components/page/System/System.stories.jsx +0 -14
- package/dist/components/page/System/System.stories.tsx +0 -21
- package/dist/components/page/System/SystemLayout.tsx +0 -89
- package/dist/components/page/System/SystemPage.tsx +0 -20
- package/dist/components/page/System/SystemTextBox.tsx +0 -35
- package/dist/components/page/System/SystemTitle.tsx +0 -177
- package/dist/components/page/System/SystemWrapper.tsx +0 -38
- package/dist/components/page/index.ts +0 -18
- package/dist/components/routes/gnb.tsx +0 -106
- package/dist/index.ts +0 -2
- package/dist/lib/categoryMenuName.ts +0 -141
- package/dist/lib/conversion.ts +0 -25
- package/dist/lib/index.ts +0 -6
- package/dist/lib/pagination/locale/en_US.js +0 -23
- package/dist/lib/pagination/locale/ko_KR.js +0 -23
- package/dist/lib/powerlink.ts +0 -147
- package/dist/lib/share.ts +0 -61
- package/dist/lib/utils.ts +0 -492
- package/dist/styles/font_style.css +0 -238
- package/dist/styles/observe.module.css +0 -30
|
@@ -1,69 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,539 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const useChatHistory = () => {};
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|