@daeryun/dr_components 0.3.0 → 0.3.1

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 (155) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/banner/TopBanner.jsx +2 -34
  3. package/dist/components/banner/TopBanner.tsx +1 -37
  4. package/dist/components/page/index.d.ts +0 -4
  5. package/dist/components/page/index.js +4 -4
  6. package/dist/components/page/index.ts +4 -4
  7. package/dist/styles/globals.css +115 -2077
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/package.json +1 -1
  10. package/dist/components/page/MyCase/MyCase.stories.d.ts +0 -6
  11. package/dist/components/page/MyCase/MyCase.stories.jsx +0 -17
  12. package/dist/components/page/MyCase/MyCase.stories.tsx +0 -25
  13. package/dist/components/page/MyCase/MyCaseApp.d.ts +0 -2
  14. package/dist/components/page/MyCase/MyCaseApp.jsx +0 -19
  15. package/dist/components/page/MyCase/MyCaseApp.tsx +0 -32
  16. package/dist/components/page/MyCase/MyCasePage.d.ts +0 -3
  17. package/dist/components/page/MyCase/MyCasePage.jsx +0 -21
  18. package/dist/components/page/MyCase/MyCasePage.tsx +0 -32
  19. package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.d.ts +0 -6
  20. package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.jsx +0 -17
  21. package/dist/components/page/MyCase/[id]/MyCaseDetail.stories.tsx +0 -25
  22. package/dist/components/page/MyCase/[id]/MyCaseDetailApp.d.ts +0 -3
  23. package/dist/components/page/MyCase/[id]/MyCaseDetailApp.jsx +0 -66
  24. package/dist/components/page/MyCase/[id]/MyCaseDetailApp.tsx +0 -159
  25. package/dist/components/page/MyCase/[id]/MyCaseDetailPage.d.ts +0 -3
  26. package/dist/components/page/MyCase/[id]/MyCaseDetailPage.jsx +0 -65
  27. package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +0 -157
  28. package/dist/components/page/MyCase/[id]/_component/ContactInfo.d.ts +0 -2
  29. package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +0 -79
  30. package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +0 -102
  31. package/dist/components/page/MyCase/[id]/_component/DetailInfo.d.ts +0 -6
  32. package/dist/components/page/MyCase/[id]/_component/DetailInfo.jsx +0 -44
  33. package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +0 -94
  34. package/dist/components/page/MyCase/[id]/_component/TimeLine.d.ts +0 -6
  35. package/dist/components/page/MyCase/[id]/_component/TimeLine.jsx +0 -46
  36. package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +0 -72
  37. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.d.ts +0 -11
  38. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +0 -80
  39. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +0 -188
  40. package/dist/components/page/MyCase/[id]/_component/_document/Document.d.ts +0 -6
  41. package/dist/components/page/MyCase/[id]/_component/_document/Document.jsx +0 -35
  42. package/dist/components/page/MyCase/[id]/_component/_document/Document.tsx +0 -59
  43. package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.d.ts +0 -6
  44. package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +0 -76
  45. package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +0 -94
  46. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.d.ts +0 -7
  47. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.jsx +0 -107
  48. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +0 -150
  49. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.d.ts +0 -7
  50. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.jsx +0 -25
  51. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.tsx +0 -55
  52. package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.d.ts +0 -7
  53. package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.jsx +0 -26
  54. package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.tsx +0 -39
  55. package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.d.ts +0 -7
  56. package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.jsx +0 -4
  57. package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.tsx +0 -24
  58. package/dist/components/page/MyCase/_actions/action.d.ts +0 -35
  59. package/dist/components/page/MyCase/_actions/action.js +0 -145
  60. package/dist/components/page/MyCase/_actions/action.ts +0 -165
  61. package/dist/components/page/MyCase/_component/CaseAppContainer.d.ts +0 -2
  62. package/dist/components/page/MyCase/_component/CaseAppContainer.jsx +0 -117
  63. package/dist/components/page/MyCase/_component/CaseAppContainer.tsx +0 -255
  64. package/dist/components/page/MyCase/_component/CasePageContainer.d.ts +0 -2
  65. package/dist/components/page/MyCase/_component/CasePageContainer.jsx +0 -106
  66. package/dist/components/page/MyCase/_component/CasePageContainer.tsx +0 -244
  67. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.d.ts +0 -7
  68. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.jsx +0 -47
  69. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuApp.tsx +0 -77
  70. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.d.ts +0 -8
  71. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.jsx +0 -47
  72. package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenuPage.tsx +0 -77
  73. package/dist/components/page/MyCase/_component/_button/Badge.d.ts +0 -14
  74. package/dist/components/page/MyCase/_component/_button/Badge.jsx +0 -16
  75. package/dist/components/page/MyCase/_component/_button/Badge.tsx +0 -22
  76. package/dist/components/page/MyCase/_component/_button/SubColor1Button.d.ts +0 -7
  77. package/dist/components/page/MyCase/_component/_button/SubColor1Button.jsx +0 -9
  78. package/dist/components/page/MyCase/_component/_button/SubColor1Button.tsx +0 -33
  79. package/dist/components/page/MyCase/_component/_button/SubMenuButton.d.ts +0 -7
  80. package/dist/components/page/MyCase/_component/_button/SubMenuButton.jsx +0 -9
  81. package/dist/components/page/MyCase/_component/_button/SubMenuButton.tsx +0 -31
  82. package/dist/components/page/MyCase/_component/_empty/EmptyTable.d.ts +0 -6
  83. package/dist/components/page/MyCase/_component/_empty/EmptyTable.jsx +0 -75
  84. package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +0 -85
  85. package/dist/components/page/MyCase/_component/_layout/CaseLayout.d.ts +0 -7
  86. package/dist/components/page/MyCase/_component/_layout/CaseLayout.jsx +0 -11
  87. package/dist/components/page/MyCase/_component/_layout/CaseLayout.tsx +0 -29
  88. package/dist/components/page/MyCase/_component/_layout/CaseWrapper.d.ts +0 -12
  89. package/dist/components/page/MyCase/_component/_layout/CaseWrapper.jsx +0 -25
  90. package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +0 -41
  91. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.d.ts +0 -4
  92. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.jsx +0 -4
  93. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +0 -5
  94. package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.d.ts +0 -10
  95. package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.jsx +0 -29
  96. package/dist/components/page/MyCase/_component/_layout/IntroAppWrapper.tsx +0 -80
  97. package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.d.ts +0 -10
  98. package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.jsx +0 -31
  99. package/dist/components/page/MyCase/_component/_layout/IntroPageWrapper.tsx +0 -81
  100. package/dist/components/page/MyCase/_component/_loading/Loading.d.ts +0 -2
  101. package/dist/components/page/MyCase/_component/_loading/Loading.jsx +0 -89
  102. package/dist/components/page/MyCase/_component/_loading/Loading.tsx +0 -92
  103. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.d.ts +0 -10
  104. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.jsx +0 -82
  105. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.tsx +0 -137
  106. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.d.ts +0 -10
  107. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.jsx +0 -81
  108. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.tsx +0 -135
  109. package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.d.ts +0 -9
  110. package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.jsx +0 -65
  111. package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +0 -79
  112. package/dist/components/page/MyCase/_component/_table/CaseTable.d.ts +0 -9
  113. package/dist/components/page/MyCase/_component/_table/CaseTable.jsx +0 -63
  114. package/dist/components/page/MyCase/_component/_table/CaseTable.tsx +0 -94
  115. package/dist/components/page/MyCase/_component/_table/CaseTableMo.d.ts +0 -9
  116. package/dist/components/page/MyCase/_component/_table/CaseTableMo.jsx +0 -11
  117. package/dist/components/page/MyCase/_component/_table/CaseTableMo.tsx +0 -28
  118. package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.d.ts +0 -5
  119. package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.jsx +0 -35
  120. package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.tsx +0 -43
  121. package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.d.ts +0 -9
  122. package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.jsx +0 -11
  123. package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.tsx +0 -28
  124. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.d.ts +0 -6
  125. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +0 -31
  126. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +0 -22
  127. package/dist/components/page/MyCase/_fetchers/getCase.d.ts +0 -5
  128. package/dist/components/page/MyCase/_fetchers/getCase.js +0 -30
  129. package/dist/components/page/MyCase/_fetchers/getCase.ts +0 -21
  130. package/dist/components/page/MyCase/_fetchers/getCaseList.d.ts +0 -7
  131. package/dist/components/page/MyCase/_fetchers/getCaseList.js +0 -30
  132. package/dist/components/page/MyCase/_fetchers/getCaseList.ts +0 -24
  133. package/dist/components/page/MyCase/_fetchers/getCourtFileList.d.ts +0 -5
  134. package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +0 -30
  135. package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +0 -21
  136. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.d.ts +0 -7
  137. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +0 -30
  138. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +0 -24
  139. package/dist/components/page/MyCase/_fetchers/getMyFileList.d.ts +0 -5
  140. package/dist/components/page/MyCase/_fetchers/getMyFileList.js +0 -30
  141. package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +0 -21
  142. package/dist/components/page/MyCase/_fetchers/getTimeLine.d.ts +0 -5
  143. package/dist/components/page/MyCase/_fetchers/getTimeLine.js +0 -30
  144. package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +0 -21
  145. package/dist/components/page/MyCase/_lib/catagoryMenuName.d.ts +0 -8
  146. package/dist/components/page/MyCase/_lib/catagoryMenuName.js +0 -8
  147. package/dist/components/page/MyCase/_lib/catagoryMenuName.ts +0 -11
  148. package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.d.ts +0 -7
  149. package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.js +0 -8
  150. package/dist/components/page/MyCase/_lib/catagoryMenuNameApp.ts +0 -11
  151. package/dist/components/page/MyCase/_lib/pagination/locale/ko_KR.d.ts +0 -15
  152. package/dist/components/page/MyCase/_lib/pagination/locale/ko_KR.js +0 -21
  153. package/dist/components/page/MyCase/_type/type.d.ts +0 -73
  154. package/dist/components/page/MyCase/_type/type.js +0 -1
  155. package/dist/components/page/MyCase/_type/type.ts +0 -81
@@ -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 = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, size, state, page }) {
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 = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs/court`, {
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/court`, {
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,7 +0,0 @@
1
- declare const getMyCaseQuestion: ({ jwt, id, page, size }: {
2
- jwt: string;
3
- id: string;
4
- page: number;
5
- size: number;
6
- }) => Promise<any>;
7
- export default getMyCaseQuestion;
@@ -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 getMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id, page, size }) {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/inquiry?page=${page}&size=${size}`, {
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 getMyCaseQuestion;
@@ -1,24 +0,0 @@
1
- const getMyCaseQuestion = async ({ jwt, id, page, size }: { jwt: string; id: string; page: number; size: number }) => {
2
- try {
3
- const response = await fetch(
4
- `https://aegis.daeryunlaw.com/api/app/case/${id}/inquiry?page=${page}&size=${size}`,
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 getMyCaseQuestion;
@@ -1,5 +0,0 @@
1
- declare const getMyFileList: ({ jwt, id }: {
2
- jwt: string;
3
- id: string;
4
- }) => Promise<any>;
5
- export default getMyFileList;
@@ -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 getMyFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
11
- try {
12
- const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs/my`, {
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 getMyFileList;
@@ -1,21 +0,0 @@
1
- const getMyFileList = async ({ jwt, id }: { jwt: string; id: string }) => {
2
- try {
3
- const response = await fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs/my`, {
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 getMyFileList;
@@ -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 = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
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 === null || url === void 0 ? void 0 : 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,7 +0,0 @@
1
- export declare function catagoryMenuNameApp({ url }: {
2
- url: string;
3
- }): {
4
- title: string;
5
- subTitle: string;
6
- address: string;
7
- };
@@ -1,8 +0,0 @@
1
- export function catagoryMenuNameApp({ url }) {
2
- if (url === null || url === void 0 ? void 0 : url.includes('/mycase')) {
3
- return { title: '나의사건현황', subTitle: '나의사건현황', address: 'mycase' };
4
- }
5
- else {
6
- return { title: '', subTitle: '', address: '/' };
7
- }
8
- }
@@ -1,11 +0,0 @@
1
- export function catagoryMenuNameApp({ url }: { url: string }): {
2
- title: string;
3
- subTitle: string;
4
- address: string;
5
- } {
6
- if (url?.includes('/mycase')) {
7
- return { title: '나의사건현황', subTitle: '나의사건현황', 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,73 +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
- accept_date: string;
10
- }
11
- export interface DetailList {
12
- case_number: string;
13
- agency_name: string;
14
- title: string;
15
- state: string;
16
- accept_date: string;
17
- end_date: string;
18
- lawyer: string;
19
- my_info: {
20
- position: string;
21
- name: string;
22
- tel: string;
23
- };
24
- other_info: {
25
- position: string;
26
- name: string;
27
- tel: string;
28
- }[];
29
- }
30
- export type FetchType<T> = {
31
- data: T;
32
- result: boolean;
33
- list: T[];
34
- totalLength: number;
35
- totalPageSize: number;
36
- };
37
- export interface TimeLineType {
38
- idx: number;
39
- state: string;
40
- title: string;
41
- content: string;
42
- is_deferred: boolean;
43
- progress_time: string;
44
- created_at: string;
45
- creator_id: string;
46
- creator: string;
47
- is_highest_court: boolean;
48
- }
49
- export interface FileList {
50
- name: string;
51
- path: string;
52
- size: string;
53
- created_at: string;
54
- }
55
- export type Payment = {
56
- title: string;
57
- created_at: string;
58
- amount: number;
59
- method: string;
60
- };
61
- export type PaymentList = {
62
- payment_status: 'partial' | 'complete';
63
- deposit_amount: number;
64
- remaining_amount: number;
65
- payments: Payment[];
66
- };
67
- export type Question = {
68
- idx: number;
69
- content: string;
70
- created_at: string;
71
- answer: string;
72
- answer_at: string;
73
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,81 +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
- accept_date: string;
11
- }
12
-
13
- export interface DetailList {
14
- case_number: string;
15
- agency_name: string;
16
- title: string;
17
- state: string;
18
- accept_date: string;
19
- end_date: string;
20
- lawyer: string;
21
- my_info: {
22
- position: string;
23
- name: string;
24
- tel: string;
25
- };
26
- other_info: {
27
- position: string;
28
- name: string;
29
- tel: string;
30
- }[];
31
- }
32
-
33
- export type FetchType<T> = {
34
- data: T;
35
- result: boolean;
36
- list: T[];
37
- totalLength: number;
38
- totalPageSize: number;
39
- };
40
-
41
- export interface TimeLineType {
42
- idx: number; // 고유 인덱스
43
- state: string; // 상태 (예: "환불")
44
- title: string; // 제목
45
- content: string; // 내용
46
- is_deferred: boolean; // 연기 여부
47
- progress_time: string; // 진행 시간 (ISO 8601 형식)
48
- created_at: string; // 생성 시간 (ISO 8601 형식)
49
- creator_id: string; // 생성자 ID
50
- creator: string; // 생성자 이름
51
- is_highest_court: boolean; // 최고 법원 여부
52
- }
53
-
54
- export interface FileList {
55
- name: string; // 이미지 이름
56
- path: string; // 이미지 경로 (URL)
57
- size: string; // 파일 크기
58
- created_at: string; // 생성 시간 (ISO 8601 형식)
59
- }
60
-
61
- export type Payment = {
62
- title: string;
63
- created_at: string; // 날짜 형식에 맞게 조정할 수 있습니다.
64
- amount: number;
65
- method: string;
66
- };
67
-
68
- export type PaymentList = {
69
- payment_status: 'partial' | 'complete'; //일부납/완납
70
- deposit_amount: number; // 착수금
71
- remaining_amount: number; // 잔여금액
72
- payments: Payment[];
73
- };
74
-
75
- export type Question = {
76
- idx: number;
77
- content: string;
78
- created_at: string;
79
- answer: string;
80
- answer_at: string;
81
- };