@daeryun/dr_components 0.2.65 → 0.2.66

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 (116) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/BrochureBtn/BrochureBtn.d.ts +0 -1
  3. package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +5 -6
  4. package/dist/components/BrochureBtn/MedicalBrochureBtn.d.ts +0 -1
  5. package/dist/components/Fix/Fix.stories.d.ts +2 -3
  6. package/dist/components/Fix/index.jsx +6 -2
  7. package/dist/components/Fix/index.tsx +14 -4
  8. package/dist/components/Footer/TopBtn.d.ts +0 -1
  9. package/dist/components/MapSection/Map.d.ts +0 -1
  10. package/dist/components/MapSection/MapSection.d.ts +1 -1
  11. package/dist/components/Mark/Mark.d.ts +0 -1
  12. package/dist/components/SelectBox/SelectBox.d.ts +8 -8
  13. package/dist/components/Seo/SeoStrength.stories.d.ts +0 -1
  14. package/dist/components/ViewMoreSection/SearchIcon.d.ts +0 -1
  15. package/dist/components/banner/TopBanner.d.ts +0 -1
  16. package/dist/components/banner/TopBanner.stories.d.ts +0 -1
  17. package/dist/components/categoryView/CategoryComponent.d.ts +1 -1
  18. package/dist/components/hook/useElementObserve.d.ts +2 -2
  19. package/dist/components/page/Choice/Choice.d.ts +1 -1
  20. package/dist/components/page/Strength/Strength.d.ts +0 -1
  21. package/dist/components/page/index.d.ts +0 -3
  22. package/dist/components/page/index.js +0 -3
  23. package/dist/components/page/index.ts +0 -3
  24. package/dist/lib/utils.js +4 -4
  25. package/dist/styles/globals.css +2 -548
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +4 -2
  28. package/dist/components/page/myCaseManage/[id]/_component/ContactInfo.d.ts +0 -3
  29. package/dist/components/page/myCaseManage/[id]/_component/ContactInfo.jsx +0 -65
  30. package/dist/components/page/myCaseManage/[id]/_component/ContactInfo.tsx +0 -76
  31. package/dist/components/page/myCaseManage/[id]/_component/DetailInfo.d.ts +0 -7
  32. package/dist/components/page/myCaseManage/[id]/_component/DetailInfo.jsx +0 -33
  33. package/dist/components/page/myCaseManage/[id]/_component/DetailInfo.tsx +0 -50
  34. package/dist/components/page/myCaseManage/[id]/_component/TimeLine.d.ts +0 -7
  35. package/dist/components/page/myCaseManage/[id]/_component/TimeLine.jsx +0 -41
  36. package/dist/components/page/myCaseManage/[id]/_component/TimeLine.tsx +0 -55
  37. package/dist/components/page/myCaseManage/[id]/_component/_caseInquiry/CaseInquiry.d.ts +0 -3
  38. package/dist/components/page/myCaseManage/[id]/_component/_caseInquiry/CaseInquiry.jsx +0 -90
  39. package/dist/components/page/myCaseManage/[id]/_component/_caseInquiry/CaseInquiry.tsx +0 -143
  40. package/dist/components/page/myCaseManage/[id]/_component/_document/Document.d.ts +0 -6
  41. package/dist/components/page/myCaseManage/[id]/_component/_document/Document.jsx +0 -41
  42. package/dist/components/page/myCaseManage/[id]/_component/_document/Document.tsx +0 -59
  43. package/dist/components/page/myCaseManage/[id]/_component/_document/DocumentLine.d.ts +0 -7
  44. package/dist/components/page/myCaseManage/[id]/_component/_document/DocumentLine.jsx +0 -55
  45. package/dist/components/page/myCaseManage/[id]/_component/_document/DocumentLine.tsx +0 -72
  46. package/dist/components/page/myCaseManage/[id]/index.d.ts +0 -3
  47. package/dist/components/page/myCaseManage/[id]/index.jsx +0 -44
  48. package/dist/components/page/myCaseManage/[id]/index.tsx +0 -85
  49. package/dist/components/page/myCaseManage/_actions/action.d.ts +0 -13
  50. package/dist/components/page/myCaseManage/_actions/action.js +0 -56
  51. package/dist/components/page/myCaseManage/_actions/action.ts +0 -65
  52. package/dist/components/page/myCaseManage/_component/CaseContainer.d.ts +0 -5
  53. package/dist/components/page/myCaseManage/_component/CaseContainer.jsx +0 -99
  54. package/dist/components/page/myCaseManage/_component/CaseContainer.tsx +0 -179
  55. package/dist/components/page/myCaseManage/_component/_breadCrumble/CategoryMenu.d.ts +0 -8
  56. package/dist/components/page/myCaseManage/_component/_breadCrumble/CategoryMenu.jsx +0 -47
  57. package/dist/components/page/myCaseManage/_component/_breadCrumble/CategoryMenu.tsx +0 -76
  58. package/dist/components/page/myCaseManage/_component/_button/Badge.d.ts +0 -15
  59. package/dist/components/page/myCaseManage/_component/_button/Badge.jsx +0 -16
  60. package/dist/components/page/myCaseManage/_component/_button/Badge.tsx +0 -22
  61. package/dist/components/page/myCaseManage/_component/_button/SubColor1Button.d.ts +0 -7
  62. package/dist/components/page/myCaseManage/_component/_button/SubColor1Button.jsx +0 -6
  63. package/dist/components/page/myCaseManage/_component/_button/SubColor1Button.tsx +0 -20
  64. package/dist/components/page/myCaseManage/_component/_button/SubMenuButton.d.ts +0 -7
  65. package/dist/components/page/myCaseManage/_component/_button/SubMenuButton.jsx +0 -6
  66. package/dist/components/page/myCaseManage/_component/_button/SubMenuButton.tsx +0 -12
  67. package/dist/components/page/myCaseManage/_component/_empty/EmptyTable.d.ts +0 -6
  68. package/dist/components/page/myCaseManage/_component/_empty/EmptyTable.jsx +0 -53
  69. package/dist/components/page/myCaseManage/_component/_empty/EmptyTable.tsx +0 -59
  70. package/dist/components/page/myCaseManage/_component/_layout/CaseLayout.d.ts +0 -7
  71. package/dist/components/page/myCaseManage/_component/_layout/CaseLayout.jsx +0 -8
  72. package/dist/components/page/myCaseManage/_component/_layout/CaseLayout.tsx +0 -20
  73. package/dist/components/page/myCaseManage/_component/_layout/CaseWrapper.d.ts +0 -11
  74. package/dist/components/page/myCaseManage/_component/_layout/CaseWrapper.jsx +0 -24
  75. package/dist/components/page/myCaseManage/_component/_layout/CaseWrapper.tsx +0 -36
  76. package/dist/components/page/myCaseManage/_component/_layout/HeaderLayout.d.ts +0 -5
  77. package/dist/components/page/myCaseManage/_component/_layout/HeaderLayout.jsx +0 -4
  78. package/dist/components/page/myCaseManage/_component/_layout/HeaderLayout.tsx +0 -5
  79. package/dist/components/page/myCaseManage/_component/_layout/IntroWrapper.d.ts +0 -8
  80. package/dist/components/page/myCaseManage/_component/_layout/IntroWrapper.jsx +0 -24
  81. package/dist/components/page/myCaseManage/_component/_layout/IntroWrapper.tsx +0 -43
  82. package/dist/components/page/myCaseManage/_component/_loading/Loading.d.ts +0 -3
  83. package/dist/components/page/myCaseManage/_component/_loading/Loading.jsx +0 -90
  84. package/dist/components/page/myCaseManage/_component/_loading/Loading.tsx +0 -94
  85. package/dist/components/page/myCaseManage/_component/_pagination/PaginationComponent.d.ts +0 -10
  86. package/dist/components/page/myCaseManage/_component/_pagination/PaginationComponent.jsx +0 -75
  87. package/dist/components/page/myCaseManage/_component/_pagination/PaginationComponent.tsx +0 -163
  88. package/dist/components/page/myCaseManage/_component/_table/CaseTable.d.ts +0 -10
  89. package/dist/components/page/myCaseManage/_component/_table/CaseTable.jsx +0 -37
  90. package/dist/components/page/myCaseManage/_component/_table/CaseTable.tsx +0 -62
  91. package/dist/components/page/myCaseManage/_fetchers/getCase.d.ts +0 -5
  92. package/dist/components/page/myCaseManage/_fetchers/getCase.js +0 -30
  93. package/dist/components/page/myCaseManage/_fetchers/getCase.ts +0 -21
  94. package/dist/components/page/myCaseManage/_fetchers/getCaseList.d.ts +0 -7
  95. package/dist/components/page/myCaseManage/_fetchers/getCaseList.js +0 -30
  96. package/dist/components/page/myCaseManage/_fetchers/getCaseList.ts +0 -24
  97. package/dist/components/page/myCaseManage/_fetchers/getCourtFileList.d.ts +0 -5
  98. package/dist/components/page/myCaseManage/_fetchers/getCourtFileList.js +0 -30
  99. package/dist/components/page/myCaseManage/_fetchers/getCourtFileList.ts +0 -21
  100. package/dist/components/page/myCaseManage/_fetchers/getTimeLine.d.ts +0 -5
  101. package/dist/components/page/myCaseManage/_fetchers/getTimeLine.js +0 -30
  102. package/dist/components/page/myCaseManage/_fetchers/getTimeLine.ts +0 -21
  103. package/dist/components/page/myCaseManage/_lib/catagoryMenuName.d.ts +0 -8
  104. package/dist/components/page/myCaseManage/_lib/catagoryMenuName.js +0 -8
  105. package/dist/components/page/myCaseManage/_lib/catagoryMenuName.ts +0 -11
  106. package/dist/components/page/myCaseManage/_lib/pagination/locale/ko_KR.d.ts +0 -15
  107. package/dist/components/page/myCaseManage/_lib/pagination/locale/ko_KR.js +0 -21
  108. package/dist/components/page/myCaseManage/_type/type.d.ts +0 -64
  109. package/dist/components/page/myCaseManage/_type/type.js +0 -1
  110. package/dist/components/page/myCaseManage/_type/type.ts +0 -73
  111. package/dist/components/page/myCaseManage/index.d.ts +0 -5
  112. package/dist/components/page/myCaseManage/index.jsx +0 -20
  113. package/dist/components/page/myCaseManage/index.stories.d.ts +0 -6
  114. package/dist/components/page/myCaseManage/index.stories.jsx +0 -17
  115. package/dist/components/page/myCaseManage/index.stories.tsx +0 -28
  116. package/dist/components/page/myCaseManage/index.tsx +0 -30
@@ -1,62 +0,0 @@
1
- import Image from 'next/image';
2
- import Link from 'next/link';
3
- import { useRouter } from 'next/router';
4
- import { Case } from '../../_type/type';
5
- import Badge from '../_button/Badge';
6
- import PaginationComponent from '../_pagination/PaginationComponent';
7
- const CaseTable = ({
8
- list,
9
- totalLength,
10
- pageSize,
11
- pageNumber,
12
- onChange
13
- }: {
14
- list: Case[];
15
- totalLength: number;
16
- pageSize: number;
17
- pageNumber: number;
18
- onChange: (pageNum: number) => void;
19
- }) => {
20
- const router = useRouter();
21
-
22
- return (
23
- <>
24
- <div className="w-full lg:px-[60px]">
25
- <div className="border-grayScale5 flex flex-row border-y-[1px] border-solid ">
26
- <div className="lg:body_medium1 text-left lg:w-[19.43%] lg:py-[28px]">사건 시작일</div>
27
- <div className="lg:body_medium1 text-left lg:w-[21.43%] lg:py-[28px]">사건번호</div>
28
- <div className="lg:body_medium1 text-left lg:w-[27.71%] lg:py-[28px]">사건명</div>
29
- <div className="lg:body_medium1 text-left lg:w-[31.43%] lg:py-[28px]">진행상황</div>
30
- </div>
31
- </div>
32
- {list.map((item, key) => {
33
- return (
34
- <Link
35
- key={key}
36
- href={`/mycase/${item.idx}`}
37
- className={
38
- 'border-grayScale5 hover:bg-grayScale7 group relative flex cursor-pointer flex-row border-b-[1px] border-solid '
39
- }
40
- >
41
- <div className="lg:body_medium2 text-left lg:ml-[60px] lg:w-[19.43%] lg:py-[33px]">없음</div>
42
- <div className="lg:body_medium2 text-left lg:w-[21.43%] lg:py-[33px]">{item.case_number}</div>
43
- <div className="lg:body_medium2 text-left lg:w-[27.71%] lg:py-[33px]">{item.title}</div>
44
- <div className="lg:body_medium2 flex flex-row gap-[20px] text-left lg:mr-[60px] lg:w-[31.43%] lg:py-[33px]">
45
- <Badge title={item.state} />
46
- {item.is_deferred && <Badge title="보류" />}
47
- </div>
48
- <div className="absolute right-[60px] top-[36px]">
49
- <div className="flex flex-row items-center gap-[12px] transition-all duration-300 group-hover:gap-[32px]">
50
- <p className="lg:body_small2">사건상세</p>
51
- <Image src="/images/mycase/arrow_right.svg" alt="arrow_right" width={10} height={16} />
52
- </div>
53
- </div>
54
- </Link>
55
- );
56
- })}
57
- <PaginationComponent pageSize={pageSize} total={totalLength} onChange={onChange} current={pageNumber} />
58
- </>
59
- );
60
- };
61
-
62
- export default CaseTable;
@@ -1,5 +0,0 @@
1
- declare const getCase: ({ jwt, id }: {
2
- jwt: string;
3
- id: string;
4
- }) => Promise<any>;
5
- export default getCase;
@@ -1,30 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- const getCase = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/info`, {
13
- method: 'GET',
14
- headers: {
15
- // 'Content-Type': 'application/json',
16
- Authorization: `${jwt}`
17
- }
18
- });
19
- if (!response.ok) {
20
- throw new Error('Network response was not ok');
21
- }
22
- const data = yield response.json();
23
- return data;
24
- }
25
- catch (error) {
26
- console.error('Failed to fetch case:', error);
27
- throw error;
28
- }
29
- });
30
- export default getCase;
@@ -1,21 +0,0 @@
1
- const getCase = async ({ jwt, id }: { jwt: string; id: string }) => {
2
- try {
3
- const response = await fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/info`, {
4
- method: 'GET',
5
- headers: {
6
- // 'Content-Type': 'application/json',
7
- Authorization: `${jwt}`
8
- }
9
- });
10
- if (!response.ok) {
11
- throw new Error('Network response was not ok');
12
- }
13
- const data = await response.json();
14
- return data;
15
- } catch (error) {
16
- console.error('Failed to fetch case:', error);
17
- throw error;
18
- }
19
- };
20
-
21
- export default getCase;
@@ -1,7 +0,0 @@
1
- declare const getCaseList: ({ jwt, size, state, page }: {
2
- jwt: string;
3
- size: number;
4
- state: string;
5
- page: number;
6
- }) => Promise<any>;
7
- export default getCaseList;
@@ -1,30 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- const getCaseList = ({ jwt, size, state, page }) => __awaiter(void 0, void 0, void 0, function* () {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case?size=${size}&state=${state}&page=${page}`, {
13
- method: 'GET',
14
- headers: {
15
- // 'Content-Type': 'application/json',
16
- Authorization: `${jwt}`
17
- }
18
- });
19
- if (!response.ok) {
20
- throw new Error('Network response was not ok');
21
- }
22
- const data = yield response.json();
23
- return data;
24
- }
25
- catch (error) {
26
- console.error('Failed to fetch case:', error);
27
- throw error;
28
- }
29
- });
30
- export default getCaseList;
@@ -1,24 +0,0 @@
1
- const getCaseList = async ({ jwt, size, state, page }: { jwt: string; size: number; state: string; page: number }) => {
2
- try {
3
- const response = await fetch(
4
- `https://aegis.daeryunlaw.com/api/app/case?size=${size}&state=${state}&page=${page}`,
5
- {
6
- method: 'GET',
7
- headers: {
8
- // 'Content-Type': 'application/json',
9
- Authorization: `${jwt}`
10
- }
11
- }
12
- );
13
- if (!response.ok) {
14
- throw new Error('Network response was not ok');
15
- }
16
- const data = await response.json();
17
- return data;
18
- } catch (error) {
19
- console.error('Failed to fetch case:', error);
20
- throw error;
21
- }
22
- };
23
-
24
- export default getCaseList;
@@ -1,5 +0,0 @@
1
- declare const getCourtFileList: ({ jwt, id }: {
2
- jwt: string;
3
- id: string;
4
- }) => Promise<any>;
5
- export default getCourtFileList;
@@ -1,30 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- const getCourtFileList = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs`, {
13
- method: 'GET',
14
- headers: {
15
- // 'Content-Type': 'application/json',
16
- Authorization: `${jwt}`
17
- }
18
- });
19
- if (!response.ok) {
20
- throw new Error('Network response was not ok');
21
- }
22
- const data = yield response.json();
23
- return data;
24
- }
25
- catch (error) {
26
- console.error('Failed to fetch case:', error);
27
- throw error;
28
- }
29
- });
30
- export default getCourtFileList;
@@ -1,21 +0,0 @@
1
- const getCourtFileList = async ({ jwt, id }: { jwt: string; id: string }) => {
2
- try {
3
- const response = await fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs`, {
4
- method: 'GET',
5
- headers: {
6
- // 'Content-Type': 'application/json',
7
- Authorization: `${jwt}`
8
- }
9
- });
10
- if (!response.ok) {
11
- throw new Error('Network response was not ok');
12
- }
13
- const data = await response.json();
14
- return data;
15
- } catch (error) {
16
- console.error('Failed to fetch case:', error);
17
- throw error;
18
- }
19
- };
20
-
21
- export default getCourtFileList;
@@ -1,5 +0,0 @@
1
- declare const getTimeLine: ({ jwt, id }: {
2
- jwt: string;
3
- id: string;
4
- }) => Promise<any>;
5
- export default getTimeLine;
@@ -1,30 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- const getTimeLine = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/progress`, {
13
- method: 'GET',
14
- headers: {
15
- // 'Content-Type': 'application/json',
16
- Authorization: `${jwt}`
17
- }
18
- });
19
- if (!response.ok) {
20
- throw new Error('Network response was not ok');
21
- }
22
- const data = yield response.json();
23
- return data;
24
- }
25
- catch (error) {
26
- console.error('Failed to fetch case:', error);
27
- throw error;
28
- }
29
- });
30
- export default getTimeLine;
@@ -1,21 +0,0 @@
1
- const getTimeLine = async ({ jwt, id }: { jwt: string; id: string }) => {
2
- try {
3
- const response = await fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/progress`, {
4
- method: 'GET',
5
- headers: {
6
- // 'Content-Type': 'application/json',
7
- Authorization: `${jwt}`
8
- }
9
- });
10
- if (!response.ok) {
11
- throw new Error('Network response was not ok');
12
- }
13
- const data = await response.json();
14
- return data;
15
- } catch (error) {
16
- console.error('Failed to fetch case:', error);
17
- throw error;
18
- }
19
- };
20
-
21
- export default getTimeLine;
@@ -1,8 +0,0 @@
1
- export declare function catagoryMenuName({ url, t }: {
2
- url: string;
3
- t: any;
4
- }): {
5
- title: string;
6
- subTitle: string;
7
- address: string;
8
- };
@@ -1,8 +0,0 @@
1
- export function catagoryMenuName({ url, t }) {
2
- if (url.includes('/mycase')) {
3
- return { title: t('나의사건현황'), subTitle: t('나의사건현황'), address: 'mycase' };
4
- }
5
- else {
6
- return { title: '', subTitle: '', address: '/' };
7
- }
8
- }
@@ -1,11 +0,0 @@
1
- export function catagoryMenuName({ url, t }: { url: string; t: any }): {
2
- title: string;
3
- subTitle: string;
4
- address: string;
5
- } {
6
- if (url.includes('/mycase')) {
7
- return { title: t('나의사건현황'), subTitle: t('나의사건현황'), address: 'mycase' };
8
- } else {
9
- return { title: '', subTitle: '', address: '/' };
10
- }
11
- }
@@ -1,15 +0,0 @@
1
- export const __esModule: boolean;
2
- export default _default;
3
- declare namespace _default {
4
- let items_per_page: string;
5
- let jump_to: string;
6
- let jump_to_confirm: string;
7
- let page: string;
8
- let prev_page: string;
9
- let next_page: string;
10
- let prev_5: string;
11
- let next_5: string;
12
- let prev_3: string;
13
- let next_3: string;
14
- let page_size: string;
15
- }
@@ -1,21 +0,0 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', {
3
- value: true
4
- });
5
- exports.default = void 0;
6
- let _default = {
7
- // Options.jsx
8
- items_per_page: '/ 쪽',
9
- jump_to: '이동하기',
10
- jump_to_confirm: '확인하다',
11
- page: '페이지',
12
- // Pagination.jsx
13
- prev_page: '이전 페이지',
14
- next_page: '다음 페이지',
15
- prev_5: '이전 5 페이지',
16
- next_5: '다음 5 페이지',
17
- prev_3: '이전 3 페이지',
18
- next_3: '다음 3 페이지',
19
- page_size: '페이지 크기'
20
- };
21
- exports.default = _default;
@@ -1,64 +0,0 @@
1
- import { buttonStyle } from '../_component/_button/Badge';
2
- export interface Case {
3
- idx: number;
4
- case_number: string;
5
- title: string;
6
- lawyer: string;
7
- state: keyof typeof buttonStyle;
8
- is_deferred: boolean;
9
- }
10
- export interface DetailList {
11
- case_number: string;
12
- agency_name: string;
13
- title: string;
14
- state: string;
15
- start_date: string;
16
- end_date: string;
17
- lawyer: string;
18
- my_info: string;
19
- }
20
- export type FetchType<T> = {
21
- data: T;
22
- result: boolean;
23
- list: T[];
24
- };
25
- export interface TimeLineType {
26
- idx: number;
27
- state: string;
28
- title: string;
29
- content: string;
30
- is_deferred: boolean;
31
- progress_time: string;
32
- created_at: string;
33
- creator_id: string;
34
- creator: string;
35
- is_highest_court: boolean;
36
- }
37
- export interface FileList {
38
- name: string;
39
- path: string;
40
- size: string;
41
- created_at: string;
42
- }
43
- export type Payment = {
44
- title: string;
45
- created_at: string;
46
- amount: number;
47
- method: string;
48
- };
49
- export type PaymentList = {
50
- payment_status: 'partial' | 'complete';
51
- deposit_amount: number;
52
- remaining_amount: number;
53
- payments: Payment[];
54
- };
55
- export type Answer = {
56
- timestamp: string;
57
- content: string;
58
- };
59
- export type Question = {
60
- idx: string;
61
- timestamp: string;
62
- content: string;
63
- answer?: Answer;
64
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,73 +0,0 @@
1
- import { buttonStyle } from '../_component/_button/Badge';
2
-
3
- export interface Case {
4
- idx: number; // 사건의 고유 인덱스
5
- case_number: string; // 사건 번호
6
- title: string; // 사건 제목
7
- lawyer: string; // 변호사 이름
8
- state: keyof typeof buttonStyle; // 사건 상태
9
- is_deferred: boolean; // 연기 여부
10
- }
11
-
12
- export interface DetailList {
13
- case_number: string;
14
- agency_name: string;
15
- title: string;
16
- state: string;
17
- start_date: string;
18
- end_date: string;
19
- lawyer: string;
20
- my_info: string;
21
- }
22
-
23
- export type FetchType<T> = {
24
- data: T;
25
- result: boolean;
26
- list: T[];
27
- };
28
-
29
- export interface TimeLineType {
30
- idx: number; // 고유 인덱스
31
- state: string; // 상태 (예: "환불")
32
- title: string; // 제목
33
- content: string; // 내용
34
- is_deferred: boolean; // 연기 여부
35
- progress_time: string; // 진행 시간 (ISO 8601 형식)
36
- created_at: string; // 생성 시간 (ISO 8601 형식)
37
- creator_id: string; // 생성자 ID
38
- creator: string; // 생성자 이름
39
- is_highest_court: boolean; // 최고 법원 여부
40
- }
41
-
42
- export interface FileList {
43
- name: string; // 이미지 이름
44
- path: string; // 이미지 경로 (URL)
45
- size: string; // 파일 크기
46
- created_at: string; // 생성 시간 (ISO 8601 형식)
47
- }
48
-
49
- export type Payment = {
50
- title: string;
51
- created_at: string; // 날짜 형식에 맞게 조정할 수 있습니다.
52
- amount: number;
53
- method: string;
54
- };
55
-
56
- export type PaymentList = {
57
- payment_status: 'partial' | 'complete'; //일부납/완납
58
- deposit_amount: number; // 착수금
59
- remaining_amount: number; // 잔여금액
60
- payments: Payment[];
61
- };
62
-
63
- export type Answer = {
64
- timestamp: string; // 답변의 타임스탬프
65
- content: string; // 답변 내용
66
- };
67
-
68
- export type Question = {
69
- idx: string;
70
- timestamp: string; // 질문의 타임스탬프
71
- content: string; // 질문 내용
72
- answer?: Answer; // 답변이 있을 경우 Answer 타입, 없을 경우 빈 객체
73
- };
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare const Intro: ({ jwt }: {
3
- jwt: string;
4
- }) => React.JSX.Element;
5
- export default Intro;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { useTranslation } from 'next-i18next';
3
- import IntroWrapper from './_component/_layout/IntroWrapper';
4
- import CaseContainer from './_component/CaseContainer';
5
- import HeaderLayout from './_component/_layout/HeaderLayout';
6
- import Background from '../../../asset/images/myCaseManage/background.svg';
7
- const Intro = ({ jwt }) => {
8
- const { t } = useTranslation('common');
9
- return (<div className=" mt-[70px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
10
- <IntroWrapper title={'나의 사건 현황'} subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'} backgroundImage={Background} outerClassName="h-[513px]"/>
11
-
12
- <div className={'relative z-[1]'}>
13
- {/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
14
- <HeaderLayout>
15
- <CaseContainer jwt={jwt}/>
16
- </HeaderLayout>
17
- </div>
18
- </div>);
19
- };
20
- export default Intro;
@@ -1,6 +0,0 @@
1
- import MyCaseManage from './index';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- declare const meta: Meta<typeof MyCaseManage>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,17 +0,0 @@
1
- import MyCaseManage from './index';
2
- import { QueryClient, QueryClientProvider } from 'react-query';
3
- const meta = {
4
- component: MyCaseManage,
5
- title: 'myCaseManage'
6
- };
7
- export default meta;
8
- const queryClient = new QueryClient();
9
- export const Default = {
10
- render: () => {
11
- return (<QueryClientProvider client={queryClient}>
12
- <div className={'font-[SUIT]'}>
13
- <MyCaseManage jwt={'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTc0MDAxNDYzOCwiZXhwIjoxNzcxNTcyMjM4fQ.11ra7DkzlOVmBqDjo8SJTQnZDZdRHXjjU3ujK8G3OOY'}/>
14
- </div>
15
- </QueryClientProvider>);
16
- }
17
- };
@@ -1,28 +0,0 @@
1
- import MyCaseManage from './index';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import { QueryClient, QueryClientProvider } from 'react-query';
4
-
5
- const meta: Meta<typeof MyCaseManage> = {
6
- component: MyCaseManage,
7
- title: 'myCaseManage'
8
- };
9
-
10
- export default meta;
11
- const queryClient = new QueryClient();
12
- type Story = StoryObj<typeof meta>;
13
-
14
- export const Default: Story = {
15
- render: () => {
16
- return (
17
- <QueryClientProvider client={queryClient}>
18
- <div className={'font-[SUIT]'}>
19
- <MyCaseManage
20
- jwt={
21
- 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTc0MDAxNDYzOCwiZXhwIjoxNzcxNTcyMjM4fQ.11ra7DkzlOVmBqDjo8SJTQnZDZdRHXjjU3ujK8G3OOY'
22
- }
23
- />
24
- </div>
25
- </QueryClientProvider>
26
- );
27
- }
28
- };
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { useTranslation } from 'next-i18next';
3
- import IntroWrapper from './_component/_layout/IntroWrapper';
4
- import CaseContainer from './_component/CaseContainer';
5
- import HeaderLayout from './_component/_layout/HeaderLayout';
6
- import Background from '../../../asset/images/myCaseManage/background.svg';
7
-
8
- const Intro = ({ jwt }: { jwt: string }) => {
9
- const { t } = useTranslation('common');
10
-
11
- return (
12
- <div className=" mt-[70px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
13
- <IntroWrapper
14
- title={'나의 사건 현황'}
15
- subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'}
16
- backgroundImage={Background}
17
- outerClassName="h-[513px]"
18
- />
19
-
20
- <div className={'relative z-[1]'}>
21
- {/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
22
- <HeaderLayout>
23
- <CaseContainer jwt={jwt} />
24
- </HeaderLayout>
25
- </div>
26
- </div>
27
- );
28
- };
29
-
30
- export default Intro;