@daeryun/dr_components 0.2.96 → 0.2.98
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/index.d.ts +0 -4
- package/dist/components/page/index.js +0 -4
- package/dist/components/page/index.ts +0 -4
- package/dist/styles/globals.css +115 -2077
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/components/page/MyCase/MyCase.stories.d.ts +0 -6
- package/dist/components/page/MyCase/MyCase.stories.jsx +0 -17
- package/dist/components/page/MyCase/MyCase.stories.tsx +0 -25
- package/dist/components/page/MyCase/MyCaseApp.d.ts +0 -2
- package/dist/components/page/MyCase/MyCaseApp.jsx +0 -19
- package/dist/components/page/MyCase/MyCaseApp.tsx +0 -32
- package/dist/components/page/MyCase/MyCasePage.d.ts +0 -3
- package/dist/components/page/MyCase/MyCasePage.jsx +0 -21
- package/dist/components/page/MyCase/MyCasePage.tsx +0 -32
- package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.jsx +0 -17
- package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.tsx +0 -25
- package/dist/components/page/MyCase/[id]/MyCaseDetailApp.d.ts +0 -3
- package/dist/components/page/MyCase/[id]/MyCaseDetailApp.jsx +0 -66
- package/dist/components/page/MyCase/[id]/MyCaseDetailApp.tsx +0 -159
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.d.ts +0 -3
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.jsx +0 -65
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +0 -157
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.d.ts +0 -2
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +0 -79
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +0 -102
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.jsx +0 -44
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +0 -94
- package/dist/components/page/MyCase/[id]/_component/TimeLine.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/TimeLine.jsx +0 -46
- package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +0 -72
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.d.ts +0 -11
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +0 -80
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +0 -188
- package/dist/components/page/MyCase/[id]/_component/_document/Document.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/_document/Document.jsx +0 -35
- package/dist/components/page/MyCase/[id]/_component/_document/Document.tsx +0 -59
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.d.ts +0 -6
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +0 -76
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +0 -94
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.jsx +0 -107
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +0 -150
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.jsx +0 -25
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.tsx +0 -55
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.jsx +0 -26
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +0 -39
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.d.ts +0 -7
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.jsx +0 -4
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +0 -24
- package/dist/components/page/MyCase/_actions/action.d.ts +0 -35
- package/dist/components/page/MyCase/_actions/action.js +0 -145
- package/dist/components/page/MyCase/_actions/action.ts +0 -165
- package/dist/components/page/MyCase/_component/CaseAppContainer.d.ts +0 -2
- package/dist/components/page/MyCase/_component/CaseAppContainer.jsx +0 -117
- package/dist/components/page/MyCase/_component/CaseAppContainer.tsx +0 -255
- package/dist/components/page/MyCase/_component/CasePageContainer.d.ts +0 -2
- package/dist/components/page/MyCase/_component/CasePageContainer.jsx +0 -106
- package/dist/components/page/MyCase/_component/CasePageContainer.tsx +0 -244
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.jsx +0 -47
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.tsx +0 -77
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.d.ts +0 -8
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.jsx +0 -47
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.tsx +0 -77
- package/dist/components/page/MyCase/_component/_button/Badge.d.ts +0 -14
- package/dist/components/page/MyCase/_component/_button/Badge.jsx +0 -16
- package/dist/components/page/MyCase/_component/_button/Badge.tsx +0 -22
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.jsx +0 -9
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +0 -33
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.jsx +0 -9
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.tsx +0 -31
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.d.ts +0 -6
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.jsx +0 -75
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +0 -85
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.d.ts +0 -7
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.jsx +0 -11
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +0 -29
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.d.ts +0 -12
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.jsx +0 -25
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +0 -41
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.d.ts +0 -4
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.jsx +0 -4
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +0 -5
- package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.jsx +0 -29
- package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.tsx +0 -80
- package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.jsx +0 -31
- package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.tsx +0 -81
- package/dist/components/page/MyCase/_component/_loading/Loading.d.ts +0 -2
- package/dist/components/page/MyCase/_component/_loading/Loading.jsx +0 -89
- package/dist/components/page/MyCase/_component/_loading/Loading.tsx +0 -92
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.jsx +0 -82
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.tsx +0 -137
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.d.ts +0 -10
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.jsx +0 -81
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.tsx +0 -135
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.jsx +0 -65
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +0 -79
- package/dist/components/page/MyCase/_component/_table/CaseTable.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTable.jsx +0 -63
- package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +0 -94
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.jsx +0 -11
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +0 -28
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.d.ts +0 -5
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.jsx +0 -35
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.tsx +0 -43
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.d.ts +0 -9
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.jsx +0 -11
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.tsx +0 -28
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.d.ts +0 -6
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +0 -31
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +0 -22
- package/dist/components/page/MyCase/_fetchers/getCase.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getCase.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getCase.ts +0 -21
- package/dist/components/page/MyCase/_fetchers/getCaseList.d.ts +0 -7
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +0 -24
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +0 -21
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.d.ts +0 -7
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +0 -24
- package/dist/components/page/MyCase/_fetchers/getMyFileList.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getMyFileList.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +0 -21
- package/dist/components/page/MyCase/_fetchers/getTimeLine.d.ts +0 -5
- package/dist/components/page/MyCase/_fetchers/getTimeLine.js +0 -30
- package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +0 -21
- package/dist/components/page/MyCase/_lib/catagoryMenuName.d.ts +0 -8
- package/dist/components/page/MyCase/_lib/catagoryMenuName.js +0 -8
- package/dist/components/page/MyCase/_lib/catagoryMenuName.ts +0 -11
- package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.d.ts +0 -7
- package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.js +0 -8
- package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.ts +0 -11
- package/dist/components/page/MyCase/_lib/pagination/locale/ko_KR.d.ts +0 -15
- package/dist/components/page/MyCase/_lib/pagination/locale/ko_KR.js +0 -21
- package/dist/components/page/MyCase/_type/type.d.ts +0 -73
- package/dist/components/page/MyCase/_type/type.js +0 -1
- package/dist/components/page/MyCase/_type/type.ts +0 -81
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
const Loading = () => {
|
|
2
|
-
return (<>
|
|
3
|
-
<style>{`
|
|
4
|
-
.loader {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
width: 48px; /* 전체 너비 */
|
|
9
|
-
height: 48px; /* 전체 높이 */
|
|
10
|
-
position: relative;
|
|
11
|
-
animation: rotate 10s linear infinite; /* 전체 회전 애니메이션 */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.loader-circle {
|
|
15
|
-
width: 9.12px; /* 원의 너비 */
|
|
16
|
-
height: 9.12px; /* 원의 높이 */
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
position: absolute;
|
|
19
|
-
animation: move 1.6s linear infinite; /* 개별 원의 애니메이션 */
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.loader-circle:nth-child(1) {
|
|
23
|
-
background: #ffffff;
|
|
24
|
-
animation-delay: -1.4s;
|
|
25
|
-
}
|
|
26
|
-
.loader-circle:nth-child(2) {
|
|
27
|
-
background: #f5f5f5;
|
|
28
|
-
animation-delay: -1.2s;
|
|
29
|
-
}
|
|
30
|
-
.loader-circle:nth-child(3) {
|
|
31
|
-
background: #ededed;
|
|
32
|
-
animation-delay: -1s;
|
|
33
|
-
}
|
|
34
|
-
.loader-circle:nth-child(4) {
|
|
35
|
-
background: #dbdbdb;
|
|
36
|
-
animation-delay: -0.8s;
|
|
37
|
-
}
|
|
38
|
-
.loader-circle:nth-child(5) {
|
|
39
|
-
background: #b9b9b9;
|
|
40
|
-
animation-delay: -0.6s;
|
|
41
|
-
}
|
|
42
|
-
.loader-circle:nth-child(6) {
|
|
43
|
-
background: #909090;
|
|
44
|
-
animation-delay: -0.4s;
|
|
45
|
-
}
|
|
46
|
-
.loader-circle:nth-child(7) {
|
|
47
|
-
background: #606060;
|
|
48
|
-
animation-delay: -0.2s;
|
|
49
|
-
}
|
|
50
|
-
.loader-circle:nth-child(8) {
|
|
51
|
-
background: #3d3d3d;
|
|
52
|
-
animation-delay: 0s;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@keyframes rotate {
|
|
56
|
-
0% {
|
|
57
|
-
transform: rotate(0deg);
|
|
58
|
-
}
|
|
59
|
-
100% {
|
|
60
|
-
transform: rotate(360deg);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@keyframes move {
|
|
65
|
-
0% {
|
|
66
|
-
transform: rotate(0deg) translate(20px) rotate(0deg);
|
|
67
|
-
opacity: 1;
|
|
68
|
-
}
|
|
69
|
-
100% {
|
|
70
|
-
transform: rotate(360deg) translate(20px) rotate(-360deg);
|
|
71
|
-
opacity: 1;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
`}</style>
|
|
75
|
-
<div className="mx-auto flex h-[200px] items-center justify-center">
|
|
76
|
-
<div className="loader ">
|
|
77
|
-
<div className="loader-circle"></div>
|
|
78
|
-
<div className="loader-circle"></div>
|
|
79
|
-
<div className="loader-circle"></div>
|
|
80
|
-
<div className="loader-circle"></div>
|
|
81
|
-
<div className="loader-circle"></div>
|
|
82
|
-
<div className="loader-circle"></div>
|
|
83
|
-
<div className="loader-circle"></div>
|
|
84
|
-
<div className="loader-circle"></div>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
</>);
|
|
88
|
-
};
|
|
89
|
-
export default Loading;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
const Loading = () => {
|
|
2
|
-
return (
|
|
3
|
-
<>
|
|
4
|
-
<style>{`
|
|
5
|
-
.loader {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
width: 48px; /* 전체 너비 */
|
|
10
|
-
height: 48px; /* 전체 높이 */
|
|
11
|
-
position: relative;
|
|
12
|
-
animation: rotate 10s linear infinite; /* 전체 회전 애니메이션 */
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.loader-circle {
|
|
16
|
-
width: 9.12px; /* 원의 너비 */
|
|
17
|
-
height: 9.12px; /* 원의 높이 */
|
|
18
|
-
border-radius: 50%;
|
|
19
|
-
position: absolute;
|
|
20
|
-
animation: move 1.6s linear infinite; /* 개별 원의 애니메이션 */
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.loader-circle:nth-child(1) {
|
|
24
|
-
background: #ffffff;
|
|
25
|
-
animation-delay: -1.4s;
|
|
26
|
-
}
|
|
27
|
-
.loader-circle:nth-child(2) {
|
|
28
|
-
background: #f5f5f5;
|
|
29
|
-
animation-delay: -1.2s;
|
|
30
|
-
}
|
|
31
|
-
.loader-circle:nth-child(3) {
|
|
32
|
-
background: #ededed;
|
|
33
|
-
animation-delay: -1s;
|
|
34
|
-
}
|
|
35
|
-
.loader-circle:nth-child(4) {
|
|
36
|
-
background: #dbdbdb;
|
|
37
|
-
animation-delay: -0.8s;
|
|
38
|
-
}
|
|
39
|
-
.loader-circle:nth-child(5) {
|
|
40
|
-
background: #b9b9b9;
|
|
41
|
-
animation-delay: -0.6s;
|
|
42
|
-
}
|
|
43
|
-
.loader-circle:nth-child(6) {
|
|
44
|
-
background: #909090;
|
|
45
|
-
animation-delay: -0.4s;
|
|
46
|
-
}
|
|
47
|
-
.loader-circle:nth-child(7) {
|
|
48
|
-
background: #606060;
|
|
49
|
-
animation-delay: -0.2s;
|
|
50
|
-
}
|
|
51
|
-
.loader-circle:nth-child(8) {
|
|
52
|
-
background: #3d3d3d;
|
|
53
|
-
animation-delay: 0s;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@keyframes rotate {
|
|
57
|
-
0% {
|
|
58
|
-
transform: rotate(0deg);
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
transform: rotate(360deg);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@keyframes move {
|
|
66
|
-
0% {
|
|
67
|
-
transform: rotate(0deg) translate(20px) rotate(0deg);
|
|
68
|
-
opacity: 1;
|
|
69
|
-
}
|
|
70
|
-
100% {
|
|
71
|
-
transform: rotate(360deg) translate(20px) rotate(-360deg);
|
|
72
|
-
opacity: 1;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
`}</style>
|
|
76
|
-
<div className="mx-auto flex h-[200px] items-center justify-center">
|
|
77
|
-
<div className="loader ">
|
|
78
|
-
<div className="loader-circle"></div>
|
|
79
|
-
<div className="loader-circle"></div>
|
|
80
|
-
<div className="loader-circle"></div>
|
|
81
|
-
<div className="loader-circle"></div>
|
|
82
|
-
<div className="loader-circle"></div>
|
|
83
|
-
<div className="loader-circle"></div>
|
|
84
|
-
<div className="loader-circle"></div>
|
|
85
|
-
<div className="loader-circle"></div>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
</>
|
|
89
|
-
);
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export default Loading;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import 'rc-pagination/assets/index.css';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const PaginationComponent: (props: {
|
|
4
|
-
onChange: (pageNum: number) => void;
|
|
5
|
-
current: number;
|
|
6
|
-
total: number;
|
|
7
|
-
pageSize: number;
|
|
8
|
-
marginY?: number;
|
|
9
|
-
}) => React.JSX.Element;
|
|
10
|
-
export default PaginationComponent;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import Pagination from 'rc-pagination';
|
|
2
|
-
import 'rc-pagination/assets/index.css';
|
|
3
|
-
import localeInfo from '../../_lib/pagination/locale/ko_KR';
|
|
4
|
-
import Image from 'next/image';
|
|
5
|
-
import React, { useCallback, useEffect, useState } from 'react';
|
|
6
|
-
import { usePathname, useSearchParams } from 'next/navigation';
|
|
7
|
-
import Link from 'next/link';
|
|
8
|
-
import arrowLeftOn from '../../../../../asset/images/myCase/pagination/arrow_l_on.webp';
|
|
9
|
-
import arrowLeftOff from '../../../../../asset/images/myCase/pagination/arrow_l_off.webp';
|
|
10
|
-
import arrowRightOn from '../../../../../asset/images/myCase/pagination/arrow_r_on.webp';
|
|
11
|
-
import arrowRightOff from '../../../../../asset/images/myCase/pagination/arrow_r_off.webp';
|
|
12
|
-
// import { useCompatibleRouter } from '../../_lib/router/useCompatibleRouter';
|
|
13
|
-
const PaginationComponent = (props) => {
|
|
14
|
-
const { onChange, current, total, pageSize, marginY } = props;
|
|
15
|
-
// useEffect(() => {
|
|
16
|
-
// const prevElement = document.querySelector('.rc-pagination-prev')
|
|
17
|
-
// if (prevElement) {
|
|
18
|
-
// prevElement.setAttribute('rel', 'prev')
|
|
19
|
-
// }
|
|
20
|
-
//
|
|
21
|
-
// const nextElement = document.querySelector('.rc-pagination-next')
|
|
22
|
-
// if (nextElement) {
|
|
23
|
-
// nextElement.setAttribute('rel', 'next')
|
|
24
|
-
// }
|
|
25
|
-
// }, [current, total, pageSize, localeInfo])
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
const rcPageCon = document.querySelectorAll('.rc-pagination-item');
|
|
28
|
-
rcPageCon.forEach(i => {
|
|
29
|
-
i.removeAttribute('tabindex');
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
// const { router, pathname, searchParams } = useCompatibleRouter();
|
|
33
|
-
const pathname = usePathname();
|
|
34
|
-
const searchParams = useSearchParams();
|
|
35
|
-
const [query, setQuery] = useState({});
|
|
36
|
-
useEffect(() => {
|
|
37
|
-
const filteredQuery = Object.assign({}, Object.fromEntries(Object.entries(searchParams || {}).filter(([key, value]) => !(key === 'search' && value === '') && !(key === 'page'))));
|
|
38
|
-
setQuery(filteredQuery);
|
|
39
|
-
}, [pathname, searchParams]);
|
|
40
|
-
//페이징 렌더링
|
|
41
|
-
const itemRender = useCallback((page, type, element) => {
|
|
42
|
-
if (type === 'page') {
|
|
43
|
-
if (pathname === '/blog') {
|
|
44
|
-
return (<span className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''} `}>
|
|
45
|
-
{page}
|
|
46
|
-
</span>);
|
|
47
|
-
}
|
|
48
|
-
return (<Link href={{
|
|
49
|
-
pathname: pathname,
|
|
50
|
-
query: Object.assign({ page }, query)
|
|
51
|
-
}} className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''}`} aria-label={current === page ? `${page} 페이지, 현재 페이지 입니다.` : `${page} 페이지로 이동`} style={{ color: current === page ? 'inherit' : 'initial' }} // 폰트 색상 고정
|
|
52
|
-
>
|
|
53
|
-
{page}
|
|
54
|
-
</Link>);
|
|
55
|
-
}
|
|
56
|
-
else if (type === 'prev') {
|
|
57
|
-
if (current === 1) {
|
|
58
|
-
return (<Image src={arrowLeftOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
else if (type === 'next') {
|
|
62
|
-
if (current === 1) {
|
|
63
|
-
return (<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>);
|
|
64
|
-
}
|
|
65
|
-
else if (current >= total / pageSize) {
|
|
66
|
-
return (<Image src={arrowRightOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
return element;
|
|
70
|
-
}, [current, query]);
|
|
71
|
-
// @ts-ignore
|
|
72
|
-
return (<div className={'flex items-center justify-center'} style={{
|
|
73
|
-
marginBlock: (marginY ? marginY : 100) + 'px'
|
|
74
|
-
}}>
|
|
75
|
-
<Pagination onChange={onChange} current={current} total={total} pageSize={pageSize} locale={localeInfo} prevIcon={<Image src={arrowLeftOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>} nextIcon={<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>} jumpPrevIcon={<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
76
|
-
ㆍㆍㆍ
|
|
77
|
-
</span>} jumpNextIcon={<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
78
|
-
ㆍㆍㆍ
|
|
79
|
-
</span>} className={'pagination-data'} itemRender={itemRender}/>
|
|
80
|
-
</div>);
|
|
81
|
-
};
|
|
82
|
-
export default PaginationComponent;
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import Pagination from 'rc-pagination';
|
|
2
|
-
import 'rc-pagination/assets/index.css';
|
|
3
|
-
import localeInfo from '../../_lib/pagination/locale/ko_KR';
|
|
4
|
-
import Image from 'next/image';
|
|
5
|
-
import React, { useCallback, useEffect, useState } from 'react';
|
|
6
|
-
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
|
|
7
|
-
import Link from 'next/link';
|
|
8
|
-
import arrowLeftOn from '../../../../../asset/images/myCase/pagination/arrow_l_on.webp';
|
|
9
|
-
import arrowLeftOff from '../../../../../asset/images/myCase/pagination/arrow_l_off.webp';
|
|
10
|
-
import arrowRightOn from '../../../../../asset/images/myCase/pagination/arrow_r_on.webp';
|
|
11
|
-
import arrowRightOff from '../../../../../asset/images/myCase/pagination/arrow_r_off.webp';
|
|
12
|
-
// import { useCompatibleRouter } from '../../_lib/router/useCompatibleRouter';
|
|
13
|
-
|
|
14
|
-
const PaginationComponent = (props: {
|
|
15
|
-
onChange: (pageNum: number) => void;
|
|
16
|
-
current: number;
|
|
17
|
-
total: number;
|
|
18
|
-
pageSize: number;
|
|
19
|
-
marginY?: number;
|
|
20
|
-
}) => {
|
|
21
|
-
const { onChange, current, total, pageSize, marginY } = props;
|
|
22
|
-
|
|
23
|
-
// useEffect(() => {
|
|
24
|
-
// const prevElement = document.querySelector('.rc-pagination-prev')
|
|
25
|
-
// if (prevElement) {
|
|
26
|
-
// prevElement.setAttribute('rel', 'prev')
|
|
27
|
-
// }
|
|
28
|
-
//
|
|
29
|
-
// const nextElement = document.querySelector('.rc-pagination-next')
|
|
30
|
-
// if (nextElement) {
|
|
31
|
-
// nextElement.setAttribute('rel', 'next')
|
|
32
|
-
// }
|
|
33
|
-
// }, [current, total, pageSize, localeInfo])
|
|
34
|
-
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
const rcPageCon = document.querySelectorAll('.rc-pagination-item');
|
|
37
|
-
rcPageCon.forEach(i => {
|
|
38
|
-
i.removeAttribute('tabindex');
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
// const { router, pathname, searchParams } = useCompatibleRouter();
|
|
43
|
-
|
|
44
|
-
const pathname = usePathname();
|
|
45
|
-
const searchParams = useSearchParams();
|
|
46
|
-
const [query, setQuery] = useState({});
|
|
47
|
-
useEffect(() => {
|
|
48
|
-
const filteredQuery = {
|
|
49
|
-
...Object.fromEntries(
|
|
50
|
-
Object.entries(searchParams || {}).filter(
|
|
51
|
-
([key, value]) => !(key === 'search' && value === '') && !(key === 'page')
|
|
52
|
-
)
|
|
53
|
-
)
|
|
54
|
-
};
|
|
55
|
-
setQuery(filteredQuery);
|
|
56
|
-
}, [pathname, searchParams]);
|
|
57
|
-
|
|
58
|
-
//페이징 렌더링
|
|
59
|
-
const itemRender = useCallback(
|
|
60
|
-
(page: number, type: string, element: React.ReactNode) => {
|
|
61
|
-
if (type === 'page') {
|
|
62
|
-
if (pathname === '/blog') {
|
|
63
|
-
return (
|
|
64
|
-
<span className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''} `}>
|
|
65
|
-
{page}
|
|
66
|
-
</span>
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
return (
|
|
70
|
-
<Link
|
|
71
|
-
href={{
|
|
72
|
-
pathname: pathname,
|
|
73
|
-
query: { page, ...query }
|
|
74
|
-
}}
|
|
75
|
-
className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''}`}
|
|
76
|
-
aria-label={current === page ? `${page} 페이지, 현재 페이지 입니다.` : `${page} 페이지로 이동`}
|
|
77
|
-
style={{ color: current === page ? 'inherit' : 'initial' }} // 폰트 색상 고정
|
|
78
|
-
>
|
|
79
|
-
{page}
|
|
80
|
-
</Link>
|
|
81
|
-
);
|
|
82
|
-
} else if (type === 'prev') {
|
|
83
|
-
if (current === 1) {
|
|
84
|
-
return (
|
|
85
|
-
<Image src={arrowLeftOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
} else if (type === 'next') {
|
|
89
|
-
if (current === 1) {
|
|
90
|
-
return (
|
|
91
|
-
<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />
|
|
92
|
-
);
|
|
93
|
-
} else if (current >= total / pageSize) {
|
|
94
|
-
return (
|
|
95
|
-
<Image src={arrowRightOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return element;
|
|
100
|
-
},
|
|
101
|
-
[current, query]
|
|
102
|
-
);
|
|
103
|
-
|
|
104
|
-
// @ts-ignore
|
|
105
|
-
return (
|
|
106
|
-
<div
|
|
107
|
-
className={'flex items-center justify-center'}
|
|
108
|
-
style={{
|
|
109
|
-
marginBlock: (marginY ? marginY : 100) + 'px'
|
|
110
|
-
}}
|
|
111
|
-
>
|
|
112
|
-
<Pagination
|
|
113
|
-
onChange={onChange}
|
|
114
|
-
current={current}
|
|
115
|
-
total={total}
|
|
116
|
-
pageSize={pageSize}
|
|
117
|
-
locale={localeInfo}
|
|
118
|
-
prevIcon={<Image src={arrowLeftOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />}
|
|
119
|
-
nextIcon={<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />}
|
|
120
|
-
jumpPrevIcon={
|
|
121
|
-
<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
122
|
-
ㆍㆍㆍ
|
|
123
|
-
</span>
|
|
124
|
-
}
|
|
125
|
-
jumpNextIcon={
|
|
126
|
-
<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
127
|
-
ㆍㆍㆍ
|
|
128
|
-
</span>
|
|
129
|
-
}
|
|
130
|
-
className={'pagination-data'}
|
|
131
|
-
itemRender={itemRender}
|
|
132
|
-
/>
|
|
133
|
-
</div>
|
|
134
|
-
);
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
export default PaginationComponent;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import 'rc-pagination/assets/index.css';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const PaginationComponent: (props: {
|
|
4
|
-
onChange: (pageNum: number) => void;
|
|
5
|
-
current: number;
|
|
6
|
-
total: number;
|
|
7
|
-
pageSize: number;
|
|
8
|
-
marginY?: number;
|
|
9
|
-
}) => React.JSX.Element;
|
|
10
|
-
export default PaginationComponent;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import Pagination from 'rc-pagination';
|
|
2
|
-
import 'rc-pagination/assets/index.css';
|
|
3
|
-
import localeInfo from '../../_lib/pagination/locale/ko_KR';
|
|
4
|
-
import Image from 'next/image';
|
|
5
|
-
import React, { useCallback, useEffect, useState } from 'react';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
7
|
-
import Link from 'next/link';
|
|
8
|
-
import arrowLeftOn from '../../../../../asset/images/myCase/pagination/arrow_l_on.webp';
|
|
9
|
-
import arrowLeftOff from '../../../../../asset/images/myCase/pagination/arrow_l_off.webp';
|
|
10
|
-
import arrowRightOn from '../../../../../asset/images/myCase/pagination/arrow_r_on.webp';
|
|
11
|
-
import arrowRightOff from '../../../../../asset/images/myCase/pagination/arrow_r_off.webp';
|
|
12
|
-
// import { useCompatibleRouter } from '../../_lib/router/useCompatibleRouter';
|
|
13
|
-
const PaginationComponent = (props) => {
|
|
14
|
-
const { onChange, current, total, pageSize, marginY } = props;
|
|
15
|
-
const router = useRouter();
|
|
16
|
-
// useEffect(() => {
|
|
17
|
-
// const prevElement = document.querySelector('.rc-pagination-prev')
|
|
18
|
-
// if (prevElement) {
|
|
19
|
-
// prevElement.setAttribute('rel', 'prev')
|
|
20
|
-
// }
|
|
21
|
-
//
|
|
22
|
-
// const nextElement = document.querySelector('.rc-pagination-next')
|
|
23
|
-
// if (nextElement) {
|
|
24
|
-
// nextElement.setAttribute('rel', 'next')
|
|
25
|
-
// }
|
|
26
|
-
// }, [current, total, pageSize, localeInfo])
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
const rcPageCon = document.querySelectorAll('.rc-pagination-item');
|
|
29
|
-
rcPageCon.forEach(i => {
|
|
30
|
-
i.removeAttribute('tabindex');
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
// const { router, pathname, searchParams } = useCompatibleRouter();
|
|
34
|
-
const [query, setQuery] = useState({});
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
const filteredQuery = Object.assign({}, Object.fromEntries(Object.entries(router.query).filter(([key, value]) => !(key === 'search' && value === '') && !(key === 'page'))));
|
|
37
|
-
setQuery(filteredQuery);
|
|
38
|
-
}, [router.asPath]);
|
|
39
|
-
//페이징 렌더링
|
|
40
|
-
const itemRender = useCallback((page, type, element) => {
|
|
41
|
-
if (type === 'page') {
|
|
42
|
-
if (router.pathname === '/mycase') {
|
|
43
|
-
return (<span className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''} `}>
|
|
44
|
-
{page}
|
|
45
|
-
</span>);
|
|
46
|
-
}
|
|
47
|
-
return (<Link href={{
|
|
48
|
-
pathname: router.pathname,
|
|
49
|
-
query: Object.assign({ page }, query)
|
|
50
|
-
}} className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''}`} aria-label={current === page ? `${page} 페이지, 현재 페이지 입니다.` : `${page} 페이지로 이동`} style={{ color: current === page ? 'inherit' : 'initial' }} // 폰트 색상 고정
|
|
51
|
-
>
|
|
52
|
-
{page}
|
|
53
|
-
</Link>);
|
|
54
|
-
}
|
|
55
|
-
else if (type === 'prev') {
|
|
56
|
-
if (current === 1) {
|
|
57
|
-
return (<Image src={arrowLeftOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
else if (type === 'next') {
|
|
61
|
-
if (current === 1) {
|
|
62
|
-
return (<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>);
|
|
63
|
-
}
|
|
64
|
-
else if (current >= total / pageSize) {
|
|
65
|
-
return (<Image src={arrowRightOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return element;
|
|
69
|
-
}, [current, query]);
|
|
70
|
-
// @ts-ignore
|
|
71
|
-
return (<div className={'flex items-center justify-center'} style={{
|
|
72
|
-
marginBlock: (marginY ? marginY : 100) + 'px'
|
|
73
|
-
}}>
|
|
74
|
-
<Pagination onChange={onChange} current={current} total={total} pageSize={pageSize} locale={localeInfo} prevIcon={<Image src={arrowLeftOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>} nextIcon={<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'}/>} jumpPrevIcon={<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
75
|
-
ㆍㆍㆍ
|
|
76
|
-
</span>} jumpNextIcon={<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
77
|
-
ㆍㆍㆍ
|
|
78
|
-
</span>} className={'pagination-data'} itemRender={itemRender}/>
|
|
79
|
-
</div>);
|
|
80
|
-
};
|
|
81
|
-
export default PaginationComponent;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import Pagination from 'rc-pagination';
|
|
2
|
-
import 'rc-pagination/assets/index.css';
|
|
3
|
-
import localeInfo from '../../_lib/pagination/locale/ko_KR';
|
|
4
|
-
import Image from 'next/image';
|
|
5
|
-
import React, { useCallback, useEffect, useState } from 'react';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
7
|
-
import Link from 'next/link';
|
|
8
|
-
import arrowLeftOn from '../../../../../asset/images/myCase/pagination/arrow_l_on.webp';
|
|
9
|
-
import arrowLeftOff from '../../../../../asset/images/myCase/pagination/arrow_l_off.webp';
|
|
10
|
-
import arrowRightOn from '../../../../../asset/images/myCase/pagination/arrow_r_on.webp';
|
|
11
|
-
import arrowRightOff from '../../../../../asset/images/myCase/pagination/arrow_r_off.webp';
|
|
12
|
-
// import { useCompatibleRouter } from '../../_lib/router/useCompatibleRouter';
|
|
13
|
-
|
|
14
|
-
const PaginationComponent = (props: {
|
|
15
|
-
onChange: (pageNum: number) => void;
|
|
16
|
-
current: number;
|
|
17
|
-
total: number;
|
|
18
|
-
pageSize: number;
|
|
19
|
-
marginY?: number;
|
|
20
|
-
}) => {
|
|
21
|
-
const { onChange, current, total, pageSize, marginY } = props;
|
|
22
|
-
const router = useRouter();
|
|
23
|
-
// useEffect(() => {
|
|
24
|
-
// const prevElement = document.querySelector('.rc-pagination-prev')
|
|
25
|
-
// if (prevElement) {
|
|
26
|
-
// prevElement.setAttribute('rel', 'prev')
|
|
27
|
-
// }
|
|
28
|
-
//
|
|
29
|
-
// const nextElement = document.querySelector('.rc-pagination-next')
|
|
30
|
-
// if (nextElement) {
|
|
31
|
-
// nextElement.setAttribute('rel', 'next')
|
|
32
|
-
// }
|
|
33
|
-
// }, [current, total, pageSize, localeInfo])
|
|
34
|
-
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
const rcPageCon = document.querySelectorAll('.rc-pagination-item');
|
|
37
|
-
rcPageCon.forEach(i => {
|
|
38
|
-
i.removeAttribute('tabindex');
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
// const { router, pathname, searchParams } = useCompatibleRouter();
|
|
43
|
-
|
|
44
|
-
const [query, setQuery] = useState({});
|
|
45
|
-
useEffect(() => {
|
|
46
|
-
const filteredQuery = {
|
|
47
|
-
...Object.fromEntries(
|
|
48
|
-
Object.entries(router.query).filter(
|
|
49
|
-
([key, value]) => !(key === 'search' && value === '') && !(key === 'page')
|
|
50
|
-
)
|
|
51
|
-
)
|
|
52
|
-
};
|
|
53
|
-
setQuery(filteredQuery);
|
|
54
|
-
}, [router.asPath]);
|
|
55
|
-
|
|
56
|
-
//페이징 렌더링
|
|
57
|
-
const itemRender = useCallback(
|
|
58
|
-
(page: number, type: string, element: React.ReactNode) => {
|
|
59
|
-
if (type === 'page') {
|
|
60
|
-
if (router.pathname === '/mycase') {
|
|
61
|
-
return (
|
|
62
|
-
<span className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''} `}>
|
|
63
|
-
{page}
|
|
64
|
-
</span>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
return (
|
|
68
|
-
<Link
|
|
69
|
-
href={{
|
|
70
|
-
pathname: router.pathname,
|
|
71
|
-
query: { page, ...query }
|
|
72
|
-
}}
|
|
73
|
-
className={`text-lg max-sm:text-base ${current === page ? 'font-[800]' : ''}`}
|
|
74
|
-
aria-label={current === page ? `${page} 페이지, 현재 페이지 입니다.` : `${page} 페이지로 이동`}
|
|
75
|
-
style={{ color: current === page ? 'inherit' : 'initial' }} // 폰트 색상 고정
|
|
76
|
-
>
|
|
77
|
-
{page}
|
|
78
|
-
</Link>
|
|
79
|
-
);
|
|
80
|
-
} else if (type === 'prev') {
|
|
81
|
-
if (current === 1) {
|
|
82
|
-
return (
|
|
83
|
-
<Image src={arrowLeftOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
} else if (type === 'next') {
|
|
87
|
-
if (current === 1) {
|
|
88
|
-
return (
|
|
89
|
-
<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />
|
|
90
|
-
);
|
|
91
|
-
} else if (current >= total / pageSize) {
|
|
92
|
-
return (
|
|
93
|
-
<Image src={arrowRightOff} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return element;
|
|
98
|
-
},
|
|
99
|
-
[current, query]
|
|
100
|
-
);
|
|
101
|
-
|
|
102
|
-
// @ts-ignore
|
|
103
|
-
return (
|
|
104
|
-
<div
|
|
105
|
-
className={'flex items-center justify-center'}
|
|
106
|
-
style={{
|
|
107
|
-
marginBlock: (marginY ? marginY : 100) + 'px'
|
|
108
|
-
}}
|
|
109
|
-
>
|
|
110
|
-
<Pagination
|
|
111
|
-
onChange={onChange}
|
|
112
|
-
current={current}
|
|
113
|
-
total={total}
|
|
114
|
-
pageSize={pageSize}
|
|
115
|
-
locale={localeInfo}
|
|
116
|
-
prevIcon={<Image src={arrowLeftOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />}
|
|
117
|
-
nextIcon={<Image src={arrowRightOn} width={26} height={26} alt={''} className={'max-sm:scale-[0.8]'} />}
|
|
118
|
-
jumpPrevIcon={
|
|
119
|
-
<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
120
|
-
ㆍㆍㆍ
|
|
121
|
-
</span>
|
|
122
|
-
}
|
|
123
|
-
jumpNextIcon={
|
|
124
|
-
<span className={'mr-[9px] hidden text-lg tracking-[-5px] text-[#aaa] max-sm:text-base'}>
|
|
125
|
-
ㆍㆍㆍ
|
|
126
|
-
</span>
|
|
127
|
-
}
|
|
128
|
-
className={'pagination-data'}
|
|
129
|
-
itemRender={itemRender}
|
|
130
|
-
/>
|
|
131
|
-
</div>
|
|
132
|
-
);
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
export default PaginationComponent;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
interface MobileSwiperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
id: string;
|
|
5
|
-
containerClassName?: string;
|
|
6
|
-
scrollClassName?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const CaseTabSwiper: React.FC<MobileSwiperProps>;
|
|
9
|
-
export default CaseTabSwiper;
|