@daeryun/dr_components 0.5.77 → 0.5.78
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/components/page/MyCase/_component/_table/CaseTable.jsx +16 -15
- package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +16 -15
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.jsx +2 -1
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.tsx +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4,57 +4,58 @@ import Badge from '../_button/Badge';
|
|
|
4
4
|
import PaginationComponent from '../_pagination/PaginationComponent';
|
|
5
5
|
import dayjs from 'dayjs';
|
|
6
6
|
import { Suspense } from 'react';
|
|
7
|
+
import arrowRight from '../../../../../asset/images/myCase/arrow_right.webp';
|
|
7
8
|
const CaseTable = ({ list, totalLength, pageSize, pageNumber, onChange }) => {
|
|
8
9
|
return (<div className="max-sm-top:hidden">
|
|
9
|
-
<div className="sm-top:px-[50px]
|
|
10
|
-
<div className="
|
|
11
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1
|
|
10
|
+
<div className="w-full sm-top:px-[50px] lg:px-[60px]">
|
|
11
|
+
<div className="flex flex-row border-y-[1px] border-solid border-grayScale5 ">
|
|
12
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg-mid:w-[17.43%] flex-shrink-0 text-left sm-top:w-[22.47%] sm-top:py-[24px] md2:w-[112px] lg:w-[15.93%] lg:py-[28px] lg:text-[22px] lg2:w-[19.43%] 3xl:text-[]">
|
|
12
13
|
사건 시작일
|
|
13
14
|
</div>
|
|
14
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1
|
|
15
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg-mid:w-[17.43%] flex-shrink-0 text-left sm-top:w-[24.82%] sm-top:py-[24px] md2:w-[128px] lg:w-[15.93%] lg:py-[28px] lg:text-[22px] lg2:w-[18.43%] xl:w-[19.43%] xxl:w-[21.43%]">
|
|
15
16
|
사건번호
|
|
16
17
|
</div>
|
|
17
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1 lg:[17%]
|
|
18
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg:[17%] lg-mid:w-[18%] flex-shrink-0 text-left max-md2:hidden sm-top:w-[16.47%] sm-top:py-[24px] md2:w-[112px] lg:py-[28px] lg:text-[22px] lg2:w-[20%] xl:w-[21%] xxl:w-[23%] 6xl:w-[27.71%]">
|
|
18
19
|
사건명
|
|
19
20
|
</div>
|
|
20
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1 sm-top:w-full
|
|
21
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg-mid:w-[46.14%] text-left sm-top:w-full sm-top:py-[24px] lg:w-[49.14%] lg:py-[28px] lg:text-[22px] lg2:w-[42.14%] xl:w-[40.14%] xxl:w-[36.14%] 6xl:w-[31.43%]">
|
|
21
22
|
진행상황
|
|
22
23
|
</div>
|
|
23
24
|
</div>
|
|
24
25
|
</div>
|
|
25
26
|
{list.map((item, key) => {
|
|
26
|
-
return (<Link key={key} href={`/mycase/${item.idx}`} className={'
|
|
27
|
-
<div className=" group-hover:bg-grayScale7
|
|
28
|
-
<div className=" sm-top:body_medium2_tb
|
|
27
|
+
return (<Link key={key} href={`/mycase/${item.idx}`} className={'group relative cursor-pointer overflow-hidden bg-red-500 hover:bg-grayScale7 '}>
|
|
28
|
+
<div className=" relative flex flex-row items-center bg-transparent group-hover:bg-grayScale7 sm-top:px-[50px] lg:px-[60px] ">
|
|
29
|
+
<div className=" sm-top:body_medium2_tb lg-mid:w-[17.43%] flex-shrink-0 bg-transparent text-left sm-top:w-[22.47%] sm-top:py-[31px] md2:w-[112px] lg:w-[15.93%] lg:py-[33px] lg2:w-[19.43%] ">
|
|
29
30
|
<p className=" lg:body_medium2 line-clamp-1 lg:text-[20px] 3xl:text-[24px]">
|
|
30
31
|
{(item === null || item === void 0 ? void 0 : item.accept_date) ? dayjs(item === null || item === void 0 ? void 0 : item.accept_date).format('YYYY.MM.DD') : ''}
|
|
31
32
|
</p>
|
|
32
33
|
</div>
|
|
33
|
-
<div className="sm-top:body_medium2_tb
|
|
34
|
+
<div className="sm-top:body_medium2_tb lg-mid:w-[17.43%] line-clamp-1 flex-shrink-0 bg-transparent text-left sm-top:w-[24.82%] sm-top:py-[24px] md2:w-[128px] lg:w-[15.93%] lg:py-[33px] lg2:w-[18.43%] xl:w-[19.43%] xxl:w-[21.43%]">
|
|
34
35
|
<p className="lg:body_medium2 line-clamp-1 pr-[10px] lg:text-[20px] 3xl:text-[24px] ">
|
|
35
36
|
{item.case_number}
|
|
36
37
|
</p>
|
|
37
38
|
</div>
|
|
38
|
-
<div className="sm-top:body_medium2_tb
|
|
39
|
+
<div className="sm-top:body_medium2_tb lg-mid:w-[18%] line-clamp-1 flex-shrink-0 bg-transparent text-left max-md2:hidden sm-top:w-[16.47%] sm-top:py-[24px] md2:w-[112px] lg:w-[17%] lg:py-[33px] lg2:w-[20%] xl:w-[23%] 6xl:w-[27.71%]">
|
|
39
40
|
<p className=" lg:body_medium2 line-clamp-1 lg:text-[20px] 3xl:text-[24px]">
|
|
40
41
|
{item.title}
|
|
41
42
|
</p>
|
|
42
43
|
</div>
|
|
43
|
-
<div className="sm-top:body_medium2_tb
|
|
44
|
+
<div className="sm-top:body_medium2_tb lg-mid:w-[48.14%] line-clamp-1 flex gap-[10px] bg-transparent text-left sm-top:w-full sm-top:py-[24px] lg:w-[49.14%] lg:py-[33px] lg2:w-[42.14%] xl:w-[40.14%] xxl:w-[36.14%] 6xl:w-[31.43%]">
|
|
44
45
|
<Badge title={item.state}/>
|
|
45
46
|
{item.is_deferred && <Badge title="보류"/>}
|
|
46
47
|
</div>
|
|
47
|
-
<div className="sm-top:top-[32px]
|
|
48
|
+
<div className="absolute right-[50px] sm-top:top-[32px] lg:right-[60px] lg:top-[40px]">
|
|
48
49
|
<div className="group flex flex-row items-center justify-center gap-[12px] lg:transition-all lg:duration-300 lg:group-hover:gap-[32px] ">
|
|
49
50
|
<p className="sm-top:body_small2_tb lg:body_small2 group-hover:underline max-md2:hidden lg:text-[20px] ">
|
|
50
51
|
사건상세
|
|
51
52
|
</p>
|
|
52
|
-
<Image src=
|
|
53
|
+
<Image src={arrowRight} alt="arrow_right" width={10} height={16} className="sm-top:h-[13.33px] sm-top:w-[8px] lg:h-[16px] lg:w-[10px]"/>
|
|
53
54
|
</div>
|
|
54
55
|
</div>
|
|
55
56
|
</div>
|
|
56
57
|
|
|
57
|
-
<div className="
|
|
58
|
+
<div className="z-[25] mx-[50px] h-[1px] w-[calc(100%-100px)] bg-grayScale5 lg:mx-[60px] lg:w-[calc(100%-120px)]"></div>
|
|
58
59
|
</Link>);
|
|
59
60
|
})}
|
|
60
61
|
<Suspense>
|
|
@@ -6,6 +6,7 @@ import Badge from '../_button/Badge';
|
|
|
6
6
|
import PaginationComponent from '../_pagination/PaginationComponent';
|
|
7
7
|
import dayjs from 'dayjs';
|
|
8
8
|
import { Suspense } from 'react';
|
|
9
|
+
import arrowRight from '../../../../../asset/images/myCase/arrow_right.webp';
|
|
9
10
|
const CaseTable = ({
|
|
10
11
|
list,
|
|
11
12
|
totalLength,
|
|
@@ -21,18 +22,18 @@ const CaseTable = ({
|
|
|
21
22
|
}) => {
|
|
22
23
|
return (
|
|
23
24
|
<div className="max-sm-top:hidden">
|
|
24
|
-
<div className="sm-top:px-[50px]
|
|
25
|
-
<div className="
|
|
26
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1
|
|
25
|
+
<div className="w-full sm-top:px-[50px] lg:px-[60px]">
|
|
26
|
+
<div className="flex flex-row border-y-[1px] border-solid border-grayScale5 ">
|
|
27
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg-mid:w-[17.43%] flex-shrink-0 text-left sm-top:w-[22.47%] sm-top:py-[24px] md2:w-[112px] lg:w-[15.93%] lg:py-[28px] lg:text-[22px] lg2:w-[19.43%] 3xl:text-[]">
|
|
27
28
|
사건 시작일
|
|
28
29
|
</div>
|
|
29
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1
|
|
30
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg-mid:w-[17.43%] flex-shrink-0 text-left sm-top:w-[24.82%] sm-top:py-[24px] md2:w-[128px] lg:w-[15.93%] lg:py-[28px] lg:text-[22px] lg2:w-[18.43%] xl:w-[19.43%] xxl:w-[21.43%]">
|
|
30
31
|
사건번호
|
|
31
32
|
</div>
|
|
32
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1 lg:[17%]
|
|
33
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg:[17%] lg-mid:w-[18%] flex-shrink-0 text-left max-md2:hidden sm-top:w-[16.47%] sm-top:py-[24px] md2:w-[112px] lg:py-[28px] lg:text-[22px] lg2:w-[20%] xl:w-[21%] xxl:w-[23%] 6xl:w-[27.71%]">
|
|
33
34
|
사건명
|
|
34
35
|
</div>
|
|
35
|
-
<div className="sm-top:body_medium1_tb lg:body_medium1 sm-top:w-full
|
|
36
|
+
<div className="sm-top:body_medium1_tb lg:body_medium1 lg-mid:w-[46.14%] text-left sm-top:w-full sm-top:py-[24px] lg:w-[49.14%] lg:py-[28px] lg:text-[22px] lg2:w-[42.14%] xl:w-[40.14%] xxl:w-[36.14%] 6xl:w-[31.43%]">
|
|
36
37
|
진행상황
|
|
37
38
|
</div>
|
|
38
39
|
</div>
|
|
@@ -43,36 +44,36 @@ const CaseTable = ({
|
|
|
43
44
|
key={key}
|
|
44
45
|
href={`/mycase/${item.idx}`}
|
|
45
46
|
className={
|
|
46
|
-
'
|
|
47
|
+
'group relative cursor-pointer overflow-hidden bg-red-500 hover:bg-grayScale7 '
|
|
47
48
|
}
|
|
48
49
|
>
|
|
49
|
-
<div className=" group-hover:bg-grayScale7
|
|
50
|
-
<div className=" sm-top:body_medium2_tb
|
|
50
|
+
<div className=" relative flex flex-row items-center bg-transparent group-hover:bg-grayScale7 sm-top:px-[50px] lg:px-[60px] ">
|
|
51
|
+
<div className=" sm-top:body_medium2_tb lg-mid:w-[17.43%] flex-shrink-0 bg-transparent text-left sm-top:w-[22.47%] sm-top:py-[31px] md2:w-[112px] lg:w-[15.93%] lg:py-[33px] lg2:w-[19.43%] ">
|
|
51
52
|
<p className=" lg:body_medium2 line-clamp-1 lg:text-[20px] 3xl:text-[24px]">
|
|
52
53
|
{item?.accept_date ? dayjs(item?.accept_date).format('YYYY.MM.DD') : ''}
|
|
53
54
|
</p>
|
|
54
55
|
</div>
|
|
55
|
-
<div className="sm-top:body_medium2_tb
|
|
56
|
+
<div className="sm-top:body_medium2_tb lg-mid:w-[17.43%] line-clamp-1 flex-shrink-0 bg-transparent text-left sm-top:w-[24.82%] sm-top:py-[24px] md2:w-[128px] lg:w-[15.93%] lg:py-[33px] lg2:w-[18.43%] xl:w-[19.43%] xxl:w-[21.43%]">
|
|
56
57
|
<p className="lg:body_medium2 line-clamp-1 pr-[10px] lg:text-[20px] 3xl:text-[24px] ">
|
|
57
58
|
{item.case_number}
|
|
58
59
|
</p>
|
|
59
60
|
</div>
|
|
60
|
-
<div className="sm-top:body_medium2_tb
|
|
61
|
+
<div className="sm-top:body_medium2_tb lg-mid:w-[18%] line-clamp-1 flex-shrink-0 bg-transparent text-left max-md2:hidden sm-top:w-[16.47%] sm-top:py-[24px] md2:w-[112px] lg:w-[17%] lg:py-[33px] lg2:w-[20%] xl:w-[23%] 6xl:w-[27.71%]">
|
|
61
62
|
<p className=" lg:body_medium2 line-clamp-1 lg:text-[20px] 3xl:text-[24px]">
|
|
62
63
|
{item.title}
|
|
63
64
|
</p>
|
|
64
65
|
</div>
|
|
65
|
-
<div className="sm-top:body_medium2_tb
|
|
66
|
+
<div className="sm-top:body_medium2_tb lg-mid:w-[48.14%] line-clamp-1 flex gap-[10px] bg-transparent text-left sm-top:w-full sm-top:py-[24px] lg:w-[49.14%] lg:py-[33px] lg2:w-[42.14%] xl:w-[40.14%] xxl:w-[36.14%] 6xl:w-[31.43%]">
|
|
66
67
|
<Badge title={item.state} />
|
|
67
68
|
{item.is_deferred && <Badge title="보류" />}
|
|
68
69
|
</div>
|
|
69
|
-
<div className="sm-top:top-[32px]
|
|
70
|
+
<div className="absolute right-[50px] sm-top:top-[32px] lg:right-[60px] lg:top-[40px]">
|
|
70
71
|
<div className="group flex flex-row items-center justify-center gap-[12px] lg:transition-all lg:duration-300 lg:group-hover:gap-[32px] ">
|
|
71
72
|
<p className="sm-top:body_small2_tb lg:body_small2 group-hover:underline max-md2:hidden lg:text-[20px] ">
|
|
72
73
|
사건상세
|
|
73
74
|
</p>
|
|
74
75
|
<Image
|
|
75
|
-
src=
|
|
76
|
+
src={arrowRight}
|
|
76
77
|
alt="arrow_right"
|
|
77
78
|
width={10}
|
|
78
79
|
height={16}
|
|
@@ -82,7 +83,7 @@ const CaseTable = ({
|
|
|
82
83
|
</div>
|
|
83
84
|
</div>
|
|
84
85
|
|
|
85
|
-
<div className="
|
|
86
|
+
<div className="z-[25] mx-[50px] h-[1px] w-[calc(100%-100px)] bg-grayScale5 lg:mx-[60px] lg:w-[calc(100%-120px)]"></div>
|
|
86
87
|
</Link>
|
|
87
88
|
);
|
|
88
89
|
})}
|
|
@@ -3,6 +3,7 @@ import Badge from '../_button/Badge';
|
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
4
|
import Link from 'next/link';
|
|
5
5
|
import CaseLine from './CaseLine';
|
|
6
|
+
import arrowRight from '../../../../../asset/images/myCase/arrow_right.webp';
|
|
6
7
|
const CaseTableMoBox = ({ item }) => {
|
|
7
8
|
const isRefund = item.state === '환불완료';
|
|
8
9
|
return (<Link href={`/mycase/${item.idx}`} className={`h-fit w-full cursor-pointer rounded-[12px] border-[1px] border-solid border-grayScale5 p-[20px] sm-top:px-[32px] sm-top:py-[36px] lg:px-[48px] lg:py-[40px] ${isRefund ? 'bg-grayScale5' : ''}`}>
|
|
@@ -14,7 +15,7 @@ const CaseTableMoBox = ({ item }) => {
|
|
|
14
15
|
|
|
15
16
|
<div className=" flex flex-row items-center gap-[8px] text-black sm-top:gap-[12px]">
|
|
16
17
|
<p className="body_small2_mo sm-top:body_small2_tb lg:body_small2">사건 상세</p>
|
|
17
|
-
<Image src=
|
|
18
|
+
<Image src={arrowRight} alt="arrow_right" width={8} height={13.5} className="h-[13.5px] w-[8px] lg:h-[16.66px] lg:w-[10px]"/>
|
|
18
19
|
</div>
|
|
19
20
|
</div>
|
|
20
21
|
{(item === null || item === void 0 ? void 0 : item.state) === '환불진행중' && (<div className="mt-[16px] flex flex-row items-center justify-between lg:mt-[24px]">
|
|
@@ -24,7 +24,7 @@ const CaseTableMoBox = ({ item }: { item: Case }) => {
|
|
|
24
24
|
<div className=" flex flex-row items-center gap-[8px] text-black sm-top:gap-[12px]">
|
|
25
25
|
<p className="body_small2_mo sm-top:body_small2_tb lg:body_small2">사건 상세</p>
|
|
26
26
|
<Image
|
|
27
|
-
src=
|
|
27
|
+
src={arrowRight}
|
|
28
28
|
alt="arrow_right"
|
|
29
29
|
width={8}
|
|
30
30
|
height={13.5}
|