@daeryun/dr_components 1.0.22 → 1.0.24

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.
Files changed (51) hide show
  1. package/dist/components/Seo/SeoConsulting.jsx +3 -2
  2. package/dist/components/Seo/SeoConsulting.tsx +3 -2
  3. package/dist/components/common/strength/index.js +1 -1
  4. package/dist/components/common/strength/index.ts +1 -1
  5. package/dist/components/page/Login/Login.tsx +2 -5
  6. package/dist/components/page/Login/LoginComp/LoginContainer.jsx +1 -1
  7. package/dist/components/page/Login/LoginComp/LoginContainer.tsx +2 -1
  8. package/dist/components/page/Login/LoginComp/SignContainer.jsx +9 -1
  9. package/dist/components/page/Login/LoginComp/SignContainer.tsx +9 -3
  10. package/dist/components/page/Login/LoginComp/Update/MyPageOptionalCheckBox.tsx +1 -0
  11. package/dist/components/page/Login/LoginShareCheckContainer.jsx +1 -1
  12. package/dist/components/page/Login/LoginShareCheckContainer.tsx +1 -1
  13. package/dist/components/page/Login/Sign.tsx +1 -1
  14. package/dist/components/page/Login/_api/logout.ts +0 -2
  15. package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +1 -1
  16. package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +1 -1
  17. package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +1 -1
  18. package/dist/components/page/MyCase/[id]/_component/DetailInfo.jsx +6 -6
  19. package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +6 -7
  20. package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.jsx +1 -1
  21. package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.tsx +4 -6
  22. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +1 -1
  23. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +2 -1
  24. package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +1 -1
  25. package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +1 -1
  26. package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.js +1 -1
  27. package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.ts +1 -1
  28. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +2 -1
  29. package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.tsx +1 -1
  30. package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.jsx +1 -1
  31. package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +2 -1
  32. package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.jsx +1 -1
  33. package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +1 -1
  34. package/dist/components/page/MyCase/_actions/action.d.ts +1 -1
  35. package/dist/components/page/MyCase/_actions/action.ts +1 -1
  36. package/dist/components/page/MyCase/_component/CaseContainer.jsx +1 -1
  37. package/dist/components/page/MyCase/_component/CaseContainer.tsx +1 -2
  38. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenu.tsx +1 -0
  39. package/dist/components/page/MyCase/_component/_button/SubColor1Button.jsx +2 -2
  40. package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +2 -2
  41. package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +1 -0
  42. package/dist/components/page/MyCase/_component/_layout/CaseLayout.jsx +1 -1
  43. package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +2 -2
  44. package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +1 -0
  45. package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +1 -1
  46. package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +1 -0
  47. package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +0 -2
  48. package/dist/components/page/Strength/StrengthIntro.jsx +1 -1
  49. package/dist/components/page/Strength/StrengthIntro.tsx +1 -1
  50. package/dist/tsconfig.tsbuildinfo +1 -1
  51. package/package.json +1 -1
@@ -79,8 +79,9 @@ const SeoConsulting = ({ tel, customTitle }) => {
79
79
  <p className={'mt-[4px] text-[16px] leading-[1.25] tracking-[-1.1px] ' +
80
80
  //640px
81
81
  'max-sm:hidden '}>
82
- 365일 24시간 상담과
83
- <br className="2sm:hidden"/> 긴급대응 가능
82
+ 365일 24시간
83
+ <br className="2sm:hidden"/>
84
+ 상담접수가능
84
85
  </p>
85
86
  </span>
86
87
  <Image src={CallImg} alt={'전화예약'} width={116} height={116} className={'aspect-square w-[60px] max-w-[60px] ' +
@@ -115,8 +115,9 @@ const SeoConsulting = ({ tel, customTitle }: { tel: string; customTitle?: string
115
115
  'max-sm:hidden '
116
116
  }
117
117
  >
118
- 365일 24시간 상담과
119
- <br className="2sm:hidden" /> 긴급대응 가능
118
+ 365일 24시간
119
+ <br className="2sm:hidden" />
120
+ 상담접수가능
120
121
  </p>
121
122
  </span>
122
123
  <Image
@@ -103,7 +103,7 @@ export const strengthList = [
103
103
  ]
104
104
  },
105
105
  {
106
- subTitle: '전 세계 사무소 *world_office_cnt*+/365일 24시 상담·긴급대응',
106
+ subTitle: '전 세계 사무소 *world_office_cnt*+/365일 24시 상담접수 가능',
107
107
  title: '고객과 가장 가까운 대형로펌\n대륜이 당신 곁에 항상 있겠습니다',
108
108
  list: [
109
109
  {
@@ -104,7 +104,7 @@ export const strengthList: { subTitle: string; title: string; list: { liTitle: s
104
104
  ]
105
105
  },
106
106
  {
107
- subTitle: '전 세계 사무소 *world_office_cnt*+/365일 24시 상담·긴급대응',
107
+ subTitle: '전 세계 사무소 *world_office_cnt*+/365일 24시 상담접수 가능',
108
108
  title: '고객과 가장 가까운 대형로펌\n대륜이 당신 곁에 항상 있겠습니다',
109
109
  list: [
110
110
  {
@@ -1,11 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import React, { Suspense, useEffect } from 'react';
4
- import { usePathname, useSearchParams } from 'next/navigation';
5
- import Image from 'next/image';
6
- import PageWrapper from '../../Layout/PageWrapper';
7
- import { setCookie } from '../../../lib';
8
- import LoginBreadCrumb from './LoginComp/LoginBreadCrumb';
4
+ import { usePathname } from 'next/navigation';
9
5
  import LoginContainer from './LoginComp/LoginContainer';
10
6
  import { ILoginInfo } from './_types/login';
11
7
  import { fetchUserData } from './_api/fetchUserData';
@@ -15,6 +11,7 @@ interface props {
15
11
  state: string;
16
12
  isTestLogin?: boolean;
17
13
  }
14
+
18
15
  const Login = ({
19
16
  layoutClassName = ' relative h-[100vh] max-h-[1200px] min-h-[1000px] w-full overflow-hidden bg-white font-[SUIT] ' +
20
17
  ' max-3xl:max-h-[1080px] max-3xl:min-h-[1000px] ' +
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  import React, { useEffect } from 'react';
12
- import { usePathname, useSearchParams, useRouter } from 'next/navigation';
12
+ import { usePathname, useRouter, useSearchParams } from 'next/navigation';
13
13
  import Image from 'next/image';
14
14
  import PageWrapper from '../../../Layout/PageWrapper';
15
15
  import { setCookie } from '../../../../lib';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import React, { useEffect } from 'react';
4
- import { usePathname, useSearchParams, useRouter } from 'next/navigation';
4
+ import { usePathname, useRouter, useSearchParams } from 'next/navigation';
5
5
  import Image from 'next/image';
6
6
  import PageWrapper from '../../../Layout/PageWrapper';
7
7
  import { setCookie } from '../../../../lib';
@@ -12,6 +12,7 @@ interface props {
12
12
  state: string;
13
13
  isTestLogin?: boolean;
14
14
  }
15
+
15
16
  const LoginContainer = ({
16
17
  layoutClassName = ' relative h-[100vh] max-h-[1200px] min-h-[1000px] w-full overflow-hidden bg-white font-[SUIT] ' +
17
18
  ' max-3xl:max-h-[1080px] max-3xl:min-h-[1000px] ' +
@@ -515,7 +515,7 @@ const SignContainer = ({ layoutClassName = `mt-[47px] py-[128px] max-lg:mt-[40px
515
515
  <div className={' title_small mt-[12px] text-[#000000] ' +
516
516
  ' max-lg:body_medium2 max-lg:mt-[12px] ' +
517
517
  ' max-sm:label_medium2 max-sm:mt-[8px] '}>
518
- 사건 매칭을 위해 대륜과 사건을 진행한 의뢰인의 성함을 정확하게 입력해 주시기 바랍니다.
518
+ 사건 매칭 시 꼭 필요한 정보에요. 의뢰인의 성함을 정확하게 입력해 주시기 바랍니다.
519
519
  </div>
520
520
  </div>
521
521
  <div className={' mt-[116px] ' + ' max-lg:mt-[80px] ' + ' max-sm:mt-[36px] '}>
@@ -605,6 +605,14 @@ const SignContainer = ({ layoutClassName = `mt-[47px] py-[128px] max-lg:mt-[40px
605
605
  <span className={' h-full w-[12px] '}>2.</span>
606
606
  <span>외국인은 외국인등록증에 기재된 영문명으로 입력해 주세요.</span>
607
607
  </p>
608
+ <p className={' flex items-center gap-[2px] '}>
609
+ <span className={' h-full w-[12px] '}>3.</span>
610
+ <span>내국인은 주민등록증에 기재된 한글로 입력해 주세요.</span>
611
+ </p>
612
+ <p className={' flex items-center gap-[2px] '}>
613
+ <span className={' h-full w-[12px] '}>2.</span>
614
+ <span>사건과 매칭하기 위해서는 본명을 유지해 주세요.</span>
615
+ </p>
608
616
  </div>
609
617
  </div>
610
618
  </div>
@@ -28,8 +28,6 @@ import Loader from '../../../Loader/Loader';
28
28
  import { ITermType } from '../_types/termType';
29
29
  import OptionalCheckBox from './Sign/OptionalCheckBox';
30
30
  import { optionalTermAgree } from '../_api/optionalTermAgree';
31
- import createToken from '../_api/createTokenAndFetchUser';
32
- import { signRedirect } from '../_api/signRedirect';
33
31
 
34
32
  interface IUser {
35
33
  name: string;
@@ -657,7 +655,7 @@ const SignContainer = ({
657
655
  ' max-sm:label_medium2 max-sm:mt-[8px] '
658
656
  }
659
657
  >
660
- 사건 매칭을 위해 대륜과 사건을 진행한 의뢰인의 성함을 정확하게 입력해 주시기 바랍니다.
658
+ 사건 매칭 시 꼭 필요한 정보에요. 의뢰인의 성함을 정확하게 입력해 주시기 바랍니다.
661
659
  </div>
662
660
  </div>
663
661
  <div className={' mt-[116px] ' + ' max-lg:mt-[80px] ' + ' max-sm:mt-[36px] '}>
@@ -835,6 +833,14 @@ const SignContainer = ({
835
833
  <span className={' h-full w-[12px] '}>2.</span>
836
834
  <span>외국인은 외국인등록증에 기재된 영문명으로 입력해 주세요.</span>
837
835
  </p>
836
+ <p className={' flex items-center gap-[2px] '}>
837
+ <span className={' h-full w-[12px] '}>3.</span>
838
+ <span>내국인은 주민등록증에 기재된 한글로 입력해 주세요.</span>
839
+ </p>
840
+ <p className={' flex items-center gap-[2px] '}>
841
+ <span className={' h-full w-[12px] '}>2.</span>
842
+ <span>사건과 매칭하기 위해서는 본명을 유지해 주세요.</span>
843
+ </p>
838
844
  </div>
839
845
  </div>
840
846
  </div>
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import Image from 'next/image';
3
3
  import { IOptionalCheckAlarm } from '../../Personal';
4
+
4
5
  const MyPageOptionalCheckBox = ({
5
6
  title,
6
7
  cautionTitle,
@@ -14,7 +14,7 @@ import Fetch from './_fetch/fetch';
14
14
  import checkThirdPartyCookie from './_api/checkThirdPartyCookie';
15
15
  import { fetchAuthCallback } from './_api/fetchAuthCallback';
16
16
  import { fetchUserData } from './_api/fetchUserData';
17
- import { deleteToken } from "./_api/token";
17
+ import { deleteToken } from './_api/token';
18
18
  const LoginShareCheckContainer = ({ children, setUserInfo }) => {
19
19
  const router = useRouter();
20
20
  const pathName = usePathname();
@@ -7,7 +7,7 @@ import { ILoginInfo } from './_types/login';
7
7
  import checkThirdPartyCookie from './_api/checkThirdPartyCookie';
8
8
  import { fetchAuthCallback } from './_api/fetchAuthCallback';
9
9
  import { fetchUserData } from './_api/fetchUserData';
10
- import { deleteToken } from "./_api/token";
10
+ import { deleteToken } from './_api/token';
11
11
 
12
12
  interface Props {
13
13
  children: ReactNode;
@@ -2,7 +2,7 @@
2
2
  import React, { Suspense, useEffect } from 'react';
3
3
  import SignContainer from './LoginComp/SignContainer';
4
4
  import { ILoginInfo } from './_types/login';
5
- import { usePathname, useRouter } from 'next/navigation';
5
+ import { usePathname } from 'next/navigation';
6
6
  import { fetchUserData } from './_api/fetchUserData';
7
7
 
8
8
  type props = {
@@ -1,5 +1,3 @@
1
- import Fetch from '../_fetch/fetch';
2
-
3
1
  const logout = async () => {
4
2
  const SESSION_KEY = process.env.NEXT_PUBLIC_USER_SESSION_STORAGE_KEY || 'loginUser';
5
3
  try {
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import React, { useEffect, useState, Suspense } from 'react';
3
+ import React, { Suspense } from 'react';
4
4
  import MyCaseDetailPageContainer from './_component/MyCaseDetailPageContainer';
5
5
 
6
6
  const MyCaseDetailPage = ({ jwt }: { jwt?: string }) => {
@@ -26,7 +26,7 @@ const ContactInfo = ({ id }) => {
26
26
  const { data: list, isLoading, isFetched } = useActionGetContact(id);
27
27
  return (<CaseLayout isMobilePadding={false} outerClassName="mt-[35px] sm-top:mt-[24px] lg:mt-[40px] " innerClassName={'pt-[32px] px-[20px] pb-[40px] 2sm:px-[40px] sm-top:mt-[24px] sm-top:px-[50px] sm-top:pb-[60px] sm-top:pt-[56px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'}>
28
28
  {isLoading ? (<Loading />) : (<>
29
- {!list && isFetched ? (<div className="mt-[60px] flex flex-col items-center justify-center sm-top:mb-[150px] sm-top:mt-[110px] lg:mt-[126px]">
29
+ {!(list === null || list === void 0 ? void 0 : list.result) && isFetched ? (<div className="mt-[60px] flex flex-col items-center justify-center sm-top:mb-[150px] sm-top:mt-[110px] lg:mt-[126px]">
30
30
  <Image src={contractIcon} alt="contact_empty" width={100} height={100} className="h-[43.63px] w-[36px] sm-top:h-[50.9px] sm-top:w-[42px] lg:h-[63.01px] lg:w-[52px]"/>
31
31
  <div className="mt-[12.38px] sm-top:mt-[24.1px] lg:mt-[40px]">
32
32
  <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-center">
@@ -46,7 +46,7 @@ const ContactInfo = ({ id }: { id: string }) => {
46
46
  <Loading />
47
47
  ) : (
48
48
  <>
49
- {!list && isFetched ? (
49
+ {!list?.result && isFetched ? (
50
50
  <div className="mt-[60px] flex flex-col items-center justify-center sm-top:mb-[150px] sm-top:mt-[110px] lg:mt-[126px]">
51
51
  <Image
52
52
  src={contractIcon}
@@ -16,7 +16,7 @@ const Line = ({ title, content, isFirst = false }) => {
16
16
  </div>);
17
17
  };
18
18
  const DetailInfo = ({ detailList, isLoading }) => {
19
- var _a, _b, _c, _d, _e;
19
+ var _a, _b, _c;
20
20
  return (<CaseLayout isMobilePadding={false} outerClassName="mt-[35px] sm-top:mt-[24px] lg:mt-[40px] " innerClassName={'px-[20px] 2sm:px-[40px] pt-[30px] pb-[40px] sm-top:px-[50px] sm-top:pt-[56px] sm-top:pb-[50px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'}>
21
21
  {isLoading ? (<Loading />) : (<>
22
22
  <Line title="사건번호" content={detailList === null || detailList === void 0 ? void 0 : detailList.case_number} isFirst/>
@@ -25,12 +25,12 @@ const DetailInfo = ({ detailList, isLoading }) => {
25
25
  <Line title="진행단계" content={detailList === null || detailList === void 0 ? void 0 : detailList.state}/>
26
26
  <Line title="사건 시작일" content={detailList === null || detailList === void 0 ? void 0 : detailList.accept_date}/>
27
27
  <Line title="사건 종료일" content={detailList === null || detailList === void 0 ? void 0 : detailList.end_date}/>
28
- <Line title="담당 변호사" content={detailList === null || detailList === void 0 ? void 0 : detailList.lawyer}/>
29
- <Line title="담당 전문가" content={(_a = detailList === null || detailList === void 0 ? void 0 : detailList.specialists) === null || _a === void 0 ? void 0 : _a.map(item => item).join(', ')}/>
30
- <Line title="담당 비서" content={(_b = detailList === null || detailList === void 0 ? void 0 : detailList.assistants) === null || _b === void 0 ? void 0 : _b.map(item => item).join(', ')}/>
31
- <Line title="나의 정보" content={`${(_c = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _c === void 0 ? void 0 : _c.position} / ${(_d = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _d === void 0 ? void 0 : _d.name} / ${(_e = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _e === void 0 ? void 0 : _e.tel}`}/>
28
+ {/* <Line title="담당 변호사" content={detailList?.lawyer} /> */}
29
+ {/* <Line title="담당 전문가" content={detailList?.specialists?.map(item => item).join(', ')} /> */}
30
+ {/* <Line title="담당 비서" content={detailList?.assistants?.map(item => item).join(', ')} /> */}
31
+ <Line title="나의 정보" content={`${(_a = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _a === void 0 ? void 0 : _a.position} / ${(_b = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _b === void 0 ? void 0 : _b.name} / ${(_c = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _c === void 0 ? void 0 : _c.tel}`}/>
32
32
  <Line title="상대방 정보" content={(detailList === null || detailList === void 0 ? void 0 : detailList.other_info.length) > 0
33
- ? detailList === null || detailList === void 0 ? void 0 : detailList.other_info.map((info, index) => `${info.position} / ${info.name} / ${info.tel}`)
33
+ ? detailList === null || detailList === void 0 ? void 0 : detailList.other_info.map((info, index) => { var _a, _b, _c; return `${(_a = info.position) !== null && _a !== void 0 ? _a : '-'} / ${(_b = info.name) !== null && _b !== void 0 ? _b : '-'} / ${(_c = info.tel) !== null && _c !== void 0 ? _c : '-'}`; })
34
34
  : '-'}/>
35
35
  <Link href="https://www.scourt.go.kr/portal/information/events/search/search.jsp" target="_blank" rel="noopener noreferrer" className={'itesm-center top-[16px] mt-[16px] flex w-full justify-end sm-top:mt-[20px]'}>
36
36
  <div className="flex flex-row items-center gap-[8px] lg:gap-[12px]">
@@ -1,12 +1,10 @@
1
- import { useQuery } from 'react-query';
2
- import getCase from '../../_fetchers/getCase';
3
- import { useState } from 'react';
4
1
  import { DetailList } from '../../_type/type';
5
2
  import Image from 'next/image';
6
3
  import Link from 'next/link';
7
4
  import CaseLayout from '../../_component/_layout/CaseLayout';
8
5
  import Loading from '../../_component/_loading/Loading';
9
6
  import caseLookupLinkout from '../../../../../asset/images/myCase/icon/case_lookup_linkout.webp';
7
+
10
8
  const Line = ({
11
9
  title,
12
10
  content,
@@ -52,9 +50,9 @@ const DetailInfo = ({ detailList, isLoading }: { detailList: DetailList; isLoadi
52
50
  <Line title="진행단계" content={detailList?.state} />
53
51
  <Line title="사건 시작일" content={detailList?.accept_date} />
54
52
  <Line title="사건 종료일" content={detailList?.end_date} />
55
- <Line title="담당 변호사" content={detailList?.lawyer} />
56
- <Line title="담당 전문가" content={detailList?.specialists?.map(item => item).join(', ')} />
57
- <Line title="담당 비서" content={detailList?.assistants?.map(item => item).join(', ')} />
53
+ {/* <Line title="담당 변호사" content={detailList?.lawyer} /> */}
54
+ {/* <Line title="담당 전문가" content={detailList?.specialists?.map(item => item).join(', ')} /> */}
55
+ {/* <Line title="담당 비서" content={detailList?.assistants?.map(item => item).join(', ')} /> */}
58
56
  <Line
59
57
  title="나의 정보"
60
58
  content={`${detailList?.my_info?.position} / ${detailList?.my_info?.name} / ${detailList?.my_info?.tel}`}
@@ -64,7 +62,8 @@ const DetailInfo = ({ detailList, isLoading }: { detailList: DetailList; isLoadi
64
62
  content={
65
63
  detailList?.other_info.length > 0
66
64
  ? detailList?.other_info.map(
67
- (info, index) => `${info.position} / ${info.name} / ${info.tel}`
65
+ (info, index) =>
66
+ `${info.position ?? '-'} / ${info.name ?? '-'} / ${info.tel ?? '-'}`
68
67
  )
69
68
  : '-'
70
69
  }
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import React, { useEffect, useState, Suspense } from 'react';
2
+ import React, { Suspense, useEffect, useState } from 'react';
3
3
  import IntroWrapper from '../../_component/_layout/IntroWrapper';
4
4
  import SubMenuButton from '../../_component/_button/SubMenuButton';
5
5
  import HeaderLayout from '../../_component/_layout/HeaderLayout';
@@ -1,15 +1,12 @@
1
1
  'use client';
2
2
 
3
- import React, { useEffect, useState, Suspense } from 'react';
3
+ import React, { Suspense, useEffect, useState } from 'react';
4
4
  import IntroWrapper from '../../_component/_layout/IntroWrapper';
5
- import CaseLayout from '../../_component/_layout/CaseLayout';
6
5
  import SubMenuButton from '../../_component/_button/SubMenuButton';
7
6
  import HeaderLayout from '../../_component/_layout/HeaderLayout';
8
7
  import DetailInfo from './../_component/DetailInfo';
9
- import { useParams, usePathname, useRouter, useSearchParams } from 'next/navigation';
10
- import { useQuery } from 'react-query';
11
- import getCase from '../../_fetchers/getCase';
12
- import { DetailList, FetchType, FileList, Question, TimeLineData } from '../../_type/type';
8
+ import { useParams, useRouter, useSearchParams } from 'next/navigation';
9
+ import { DetailList, FileList, Question, TimeLineData } from '../../_type/type';
13
10
  import {
14
11
  useActionGetCourtFileList,
15
12
  useActionGetDetailList,
@@ -26,6 +23,7 @@ import ContactInfo from './../_component/ContactInfo';
26
23
  import CaseInquiry from './../_component/_caseInquiry/CaseInquiry';
27
24
  import CaseTabSwiper from '../../_component/_table/CaseTabSwiper';
28
25
  import Document from './_document/Document';
26
+
29
27
  const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
30
28
  const [selected, setSelected] = useState<string>('사건 정보');
31
29
  const router = useRouter();
@@ -1,6 +1,6 @@
1
1
  import Image from 'next/image';
2
2
  import CaseLayout from '../../../_component/_layout/CaseLayout';
3
- import { useRef, useState, Suspense } from 'react';
3
+ import { Suspense, useRef, useState } from 'react';
4
4
  import CaseInquiryAddModal from '../_modal/CaseInquiryAddModal';
5
5
  import EmptyTable from '../../../_component/_empty/EmptyTable';
6
6
  import dayjs from 'dayjs';
@@ -1,7 +1,7 @@
1
1
  import Image from 'next/image';
2
2
  import CaseLayout from '../../../_component/_layout/CaseLayout';
3
3
  import { Question } from '../../../_type/type';
4
- import { useEffect, useRef, useState, Suspense } from 'react';
4
+ import { Suspense, useRef, useState } from 'react';
5
5
  import CaseInquiryAddModal from '../_modal/CaseInquiryAddModal';
6
6
  import EmptyTable from '../../../_component/_empty/EmptyTable';
7
7
  import dayjs from 'dayjs';
@@ -11,6 +11,7 @@ import client from '../../../../../../asset/images/myCase/icon/client.webp';
11
11
  import daeryun from '../../../../../../asset/images/myCase/icon/daeryun.webp';
12
12
  import arrowB from '../../../../../../asset/images/myCase/arrow_b.webp';
13
13
  import Loading from '../../../_component/_loading/Loading';
14
+
14
15
  const AnswerBox = ({
15
16
  item,
16
17
  isOpen,
@@ -12,11 +12,11 @@ import dayjs from 'dayjs';
12
12
  import { useEffect, useState } from 'react';
13
13
  import hwp from '../../../../../../asset/images/myCase/icon/hwp.webp';
14
14
  import jpg from '../../../../../../asset/images/myCase/icon/jpg.webp';
15
+ import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
15
16
  import pdf from '../../../../../../asset/images/myCase/icon/pdf.webp';
16
17
  import png from '../../../../../../asset/images/myCase/icon/png.webp';
17
18
  import word from '../../../../../../asset/images/myCase/icon/word.webp';
18
19
  import xls from '../../../../../../asset/images/myCase/icon/xls.webp';
19
- import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
20
20
  import unkown from '../../../../../../asset/images/myCase/icon/defaultIcon.webp';
21
21
  import download from '../../../../../../asset/images/myCase/icon/download.webp';
22
22
  const icon = {
@@ -4,11 +4,11 @@ import { FileList } from '../../../_type/type';
4
4
  import { useEffect, useState } from 'react';
5
5
  import hwp from '../../../../../../asset/images/myCase/icon/hwp.webp';
6
6
  import jpg from '../../../../../../asset/images/myCase/icon/jpg.webp';
7
+ import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
7
8
  import pdf from '../../../../../../asset/images/myCase/icon/pdf.webp';
8
9
  import png from '../../../../../../asset/images/myCase/icon/png.webp';
9
10
  import word from '../../../../../../asset/images/myCase/icon/word.webp';
10
11
  import xls from '../../../../../../asset/images/myCase/icon/xls.webp';
11
- import jpeg from '../../../../../../asset/images/myCase/icon/jpg.webp';
12
12
  import unkown from '../../../../../../asset/images/myCase/icon/defaultIcon.webp';
13
13
  import download from '../../../../../../asset/images/myCase/icon/download.webp';
14
14
 
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { useDropzone } from 'react-dropzone';
11
- import { useState, useCallback } from 'react';
11
+ import { useCallback, useState } from 'react';
12
12
  import { useActionPostMyFileUpload } from '../../../_actions/action';
13
13
  const FileUpload = ({ id, refetch }) => {
14
14
  const [uploadedFiles, setUploadedFiles] = useState([]);
@@ -1,5 +1,5 @@
1
1
  import { useDropzone } from 'react-dropzone';
2
- import { useState, useCallback } from 'react';
2
+ import { useCallback, useState } from 'react';
3
3
  import { useActionPostMyFileUpload } from '../../../_actions/action';
4
4
 
5
5
  const FileUpload = ({ id, refetch }: { id: string; refetch: () => void }) => {
@@ -1,11 +1,12 @@
1
1
  import Image from 'next/image';
2
2
  import ModalContainer from './ModalCotainer';
3
3
  import TextArea from '../_textarea/TextArea';
4
- import { useEffect, useState } from 'react';
4
+ import { useState } from 'react';
5
5
  import { useActionPostMyCaseQuestion } from '../../../_actions/action';
6
6
  import Loading from '../../../_component/_loading/Loading';
7
7
  import CaseInquiryConfirmModal from './CaseInquiryConfirmModal';
8
8
  import close from '../../../../../../asset/images/myCase/icon/close.webp';
9
+
9
10
  const CaseInquiryAddModal = ({
10
11
  isOpen,
11
12
  onClose,
@@ -1,7 +1,7 @@
1
1
  import Image from 'next/image';
2
2
  import ModalContainer from './ModalCotainer';
3
3
 
4
- import { useEffect, useState } from 'react';
4
+ import { useState } from 'react';
5
5
 
6
6
  import close from '../../../../../../asset/images/myCase/icon/close.webp';
7
7
  import { ContractImage } from '../../../_type/type';
@@ -16,7 +16,7 @@ const ModalContainer = ({ isOpen, onClose, children }) => {
16
16
  return ReactDOM.createPortal(isOpen && (<div className="fixed inset-0 z-[9999] flex items-center justify-center bg-[#3D3D3DCC] " // z-index를 높게 설정
17
17
  onClick={onClose} // 배경 클릭 시 모달 닫기
18
18
  >
19
- <div className="flex items-center justify-center w-full h-full z-60" // z-index를 더 높게 설정
19
+ <div className="z-60 flex h-full w-full items-center justify-center" // z-index를 더 높게 설정
20
20
  >
21
21
  {children}
22
22
  </div>
@@ -1,5 +1,6 @@
1
1
  import { useEffect } from 'react';
2
2
  import ReactDOM from 'react-dom';
3
+
3
4
  interface ModalContainerProps {
4
5
  isOpen: boolean; // 모달 열림 상태
5
6
  onClose: () => void; // 모달 닫기 함수
@@ -26,7 +27,7 @@ const ModalContainer: React.FC<ModalContainerProps> = ({ isOpen, onClose, childr
26
27
  onClick={onClose} // 배경 클릭 시 모달 닫기
27
28
  >
28
29
  <div
29
- className="flex items-center justify-center w-full h-full z-60" // z-index를 더 높게 설정
30
+ className="z-60 flex h-full w-full items-center justify-center" // z-index를 더 높게 설정
30
31
  >
31
32
  {children}
32
33
  </div>
@@ -1,4 +1,4 @@
1
1
  const TextArea = ({ placeholder, value, onChange, isCheck }) => {
2
- return (<textarea value={value} className={`body_medium2_mo sm-top:h-[368px] sm-top:p-[32px] sm-top:body_medium2_tb lg:body_medium2 h-[232px] w-full resize-none rounded-[10px] border border-solid p-[16px] placeholder:text-grayScale3 lg:h-[512px] lg:p-[36px] ${isCheck ? 'border-mycaseMainColor' : 'border-grayScale5'}`} placeholder={placeholder} onChange={onChange}/>);
2
+ return (<textarea value={value} className={`body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 h-[232px] w-full resize-none rounded-[10px] border border-solid p-[16px] placeholder:text-grayScale3 sm-top:h-[368px] sm-top:p-[32px] lg:h-[512px] lg:p-[36px] ${isCheck ? 'border-mycaseMainColor' : 'border-grayScale5'}`} placeholder={placeholder} onChange={onChange}/>);
3
3
  };
4
4
  export default TextArea;
@@ -12,7 +12,7 @@ const TextArea = ({
12
12
  return (
13
13
  <textarea
14
14
  value={value}
15
- className={`body_medium2_mo sm-top:h-[368px] sm-top:p-[32px] sm-top:body_medium2_tb lg:body_medium2 h-[232px] w-full resize-none rounded-[10px] border border-solid p-[16px] placeholder:text-grayScale3 lg:h-[512px] lg:p-[36px] ${
15
+ className={`body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 h-[232px] w-full resize-none rounded-[10px] border border-solid p-[16px] placeholder:text-grayScale3 sm-top:h-[368px] sm-top:p-[32px] lg:h-[512px] lg:p-[36px] ${
16
16
  isCheck ? 'border-mycaseMainColor' : 'border-grayScale5'
17
17
  }`}
18
18
  placeholder={placeholder}
@@ -1,4 +1,4 @@
1
- import { FetchType, DetailList, FileList, Question, PaymentList, TimeLineData } from '../_type/type';
1
+ import { DetailList, FetchType, FileList, PaymentList, Question, TimeLineData } from '../_type/type';
2
2
  export declare const useActionGetCaseList: ({ tapState, pageNumber, pageSize }: {
3
3
  tapState: string;
4
4
  pageNumber: number;
@@ -1,5 +1,5 @@
1
1
  import { useMutation, useQuery } from '@tanstack/react-query';
2
- import { FetchType, DetailList, FileList, Question, PaymentList, TimeLineData } from '../_type/type';
2
+ import { DetailList, FetchType, FileList, PaymentList, Question, TimeLineData } from '../_type/type';
3
3
  import getCase from '../_fetchers/getCase';
4
4
  import getTimeLine from '../_fetchers/getTimeLine';
5
5
 
@@ -1,4 +1,4 @@
1
- import { useState, Suspense } from 'react';
1
+ import { Suspense, useState } from 'react';
2
2
  import CaseLayout from './_layout/CaseLayout';
3
3
  import EmptyTable from './_empty/EmptyTable';
4
4
  import { useRouter, useSearchParams } from 'next/navigation';
@@ -1,11 +1,10 @@
1
- import { useState, Suspense } from 'react';
1
+ import { Suspense, useState } from 'react';
2
2
  import CaseLayout from './_layout/CaseLayout';
3
3
 
4
4
  import EmptyTable from './_empty/EmptyTable';
5
5
  import { useRouter, useSearchParams } from 'next/navigation';
6
6
  import Loading from './_loading/Loading';
7
7
  import { useActionGetCaseList } from '../_actions/action';
8
- import CaseTabSwiper from './_table/CaseTabSwiper';
9
8
  import CaseTableMo from './_table/CaseTableMo';
10
9
 
11
10
  const CaseTap = ({
@@ -6,6 +6,7 @@ import Link from 'next/link';
6
6
  import home from '../../../../../asset/images/myCase/home.webp';
7
7
  import navArr from '../../../../../asset/images/myCase/nav_arr.webp';
8
8
  import arrow2 from '../../../../../asset/images/myCase/arrow_2.webp';
9
+
9
10
  type CategoryMenuType = {
10
11
  // t: (key: string) => string;
11
12
  isMargin?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { twMerge } from 'tailwind-merge';
2
2
  const SubColor1Button = ({ title, onClick, isSelected, outerClassName }) => {
3
- return (<button className={twMerge(`swiper-slide max-sm-top:flex-shrink-0 sm-top:h-[39px] sm-top:px-[10px] flex h-[34px] w-fit flex-row items-center justify-center rounded-[24px] px-[16px] transition-colors duration-300 md2:px-[16px] lg:h-[49px] lg:px-[12px] xl:px-[20px] ${isSelected ? 'bg-subColor01 text-white' : 'bg-white text-black'}`, outerClassName)} onClick={onClick}>
4
- <p className={'label_large1_mo sm-top:label_large1_tb sm-top:text-[16px] lg:label_large1 md2:text-[18px] lg:text-[18px] xl:text-[20px] '}>
3
+ return (<button className={twMerge(`swiper-slide flex h-[34px] w-fit flex-row items-center justify-center rounded-[24px] px-[16px] transition-colors duration-300 max-sm-top:flex-shrink-0 sm-top:h-[39px] sm-top:px-[10px] md2:px-[16px] lg:h-[49px] lg:px-[12px] xl:px-[20px] ${isSelected ? 'bg-subColor01 text-white' : 'bg-white text-black'}`, outerClassName)} onClick={onClick}>
4
+ <p className={'label_large1_mo sm-top:label_large1_tb lg:label_large1 sm-top:text-[16px] md2:text-[18px] lg:text-[18px] xl:text-[20px] '}>
5
5
  {title}
6
6
  </p>
7
7
  </button>);
@@ -14,14 +14,14 @@ const SubColor1Button = ({
14
14
  return (
15
15
  <button
16
16
  className={twMerge(
17
- `swiper-slide max-sm-top:flex-shrink-0 sm-top:h-[39px] sm-top:px-[10px] flex h-[34px] w-fit flex-row items-center justify-center rounded-[24px] px-[16px] transition-colors duration-300 md2:px-[16px] lg:h-[49px] lg:px-[12px] xl:px-[20px] ${isSelected ? 'bg-subColor01 text-white' : 'bg-white text-black'}`,
17
+ `swiper-slide flex h-[34px] w-fit flex-row items-center justify-center rounded-[24px] px-[16px] transition-colors duration-300 max-sm-top:flex-shrink-0 sm-top:h-[39px] sm-top:px-[10px] md2:px-[16px] lg:h-[49px] lg:px-[12px] xl:px-[20px] ${isSelected ? 'bg-subColor01 text-white' : 'bg-white text-black'}`,
18
18
  outerClassName
19
19
  )}
20
20
  onClick={onClick}
21
21
  >
22
22
  <p
23
23
  className={
24
- 'label_large1_mo sm-top:label_large1_tb sm-top:text-[16px] lg:label_large1 md2:text-[18px] lg:text-[18px] xl:text-[20px] '
24
+ 'label_large1_mo sm-top:label_large1_tb lg:label_large1 sm-top:text-[16px] md2:text-[18px] lg:text-[18px] xl:text-[20px] '
25
25
  }
26
26
  >
27
27
  {title}
@@ -6,6 +6,7 @@ import caseIcon3 from '../../../../../asset/images/myCase/icon/case_icon3.webp';
6
6
  import caseIcon4 from '../../../../../asset/images/myCase/icon/case_icon4.webp';
7
7
  import caseIcon5 from '../../../../../asset/images/myCase/icon/case_icon5.webp';
8
8
  import caseIcon6 from '../../../../../asset/images/myCase/icon/case_icon6.webp';
9
+
9
10
  const titleList = {
10
11
  ongoing: {
11
12
  0: {
@@ -2,7 +2,7 @@ import { twMerge } from 'tailwind-merge';
2
2
  import CaseWrapper from './CaseWrapper';
3
3
  const CaseLayout = ({ outerClassName, innerClassName, children, isMobilePadding = true }) => {
4
4
  return (<CaseWrapper className={outerClassName} isMobilePadding={isMobilePadding}>
5
- <div className={twMerge('sm-top:rounded-[24px] z-[1] w-full rounded-[12px] bg-grayScale8 lg:rounded-[36px] ' +
5
+ <div className={twMerge('z-[1] w-full rounded-[12px] bg-grayScale8 sm-top:rounded-[24px] lg:rounded-[36px] ' +
6
6
  innerClassName)}>
7
7
  {children}
8
8
  </div>
@@ -1,6 +1,6 @@
1
1
  import { twMerge } from 'tailwind-merge';
2
2
  import CaseWrapper from './CaseWrapper';
3
- import HeaderLayout from './HeaderLayout';
3
+
4
4
  const CaseLayout = ({
5
5
  outerClassName,
6
6
  innerClassName,
@@ -16,7 +16,7 @@ const CaseLayout = ({
16
16
  <CaseWrapper className={outerClassName} isMobilePadding={isMobilePadding}>
17
17
  <div
18
18
  className={twMerge(
19
- 'sm-top:rounded-[24px] z-[1] w-full rounded-[12px] bg-grayScale8 lg:rounded-[36px] ' +
19
+ 'z-[1] w-full rounded-[12px] bg-grayScale8 sm-top:rounded-[24px] lg:rounded-[36px] ' +
20
20
  innerClassName
21
21
  )}
22
22
  >