@daeryun/dr_components 0.3.82 → 0.3.85

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 (32) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/page/Login/_api/logout.d.ts +2 -1
  3. package/dist/components/page/Login/_api/logout.js +2 -1
  4. package/dist/components/page/Login/_api/logout.ts +3 -1
  5. package/dist/components/page/Login/_hooks/useLogout.js +1 -1
  6. package/dist/components/page/Login/_hooks/useLogout.ts +1 -1
  7. package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +24 -30
  8. package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +24 -30
  9. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.jsx +1 -1
  10. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +1 -1
  11. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +2 -2
  12. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +2 -2
  13. package/dist/components/page/MyCase/_fetchers/getCase.js +2 -2
  14. package/dist/components/page/MyCase/_fetchers/getCase.ts +1 -1
  15. package/dist/components/page/MyCase/_fetchers/getCaseList.js +2 -2
  16. package/dist/components/page/MyCase/_fetchers/getCaseList.ts +1 -1
  17. package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +2 -2
  18. package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +1 -1
  19. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +2 -2
  20. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +1 -1
  21. package/dist/components/page/MyCase/_fetchers/getMyFileList.js +2 -2
  22. package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +1 -1
  23. package/dist/components/page/MyCase/_fetchers/getTimeLine.js +2 -2
  24. package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +1 -1
  25. package/dist/components/page/MyCase/_type/type.d.ts +9 -7
  26. package/dist/components/page/MyCase/_type/type.ts +11 -7
  27. package/dist/components/page/index.d.ts +1 -0
  28. package/dist/components/page/index.js +1 -0
  29. package/dist/components/page/index.ts +1 -0
  30. package/dist/styles/globals.css +8 -0
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  const HeaderLayout = ({ children }) => {
2
- return <div className="mt-[70px] overflow-hidden md:mt-[78px] md2:mt-[88px]">{children}</div>;
2
+ return <div className="mt-[68px] overflow-hidden md:mt-[126px] md2:mt-[128px]">{children}</div>;
3
3
  };
4
4
  export default HeaderLayout;
@@ -1,5 +1,5 @@
1
1
  const HeaderLayout = ({ children }: { children: React.ReactNode }) => {
2
- return <div className="mt-[70px] overflow-hidden md:mt-[78px] md2:mt-[88px]">{children}</div>;
2
+ return <div className="mt-[68px] overflow-hidden md:mt-[126px] md2:mt-[128px]">{children}</div>;
3
3
  };
4
4
 
5
5
  export default HeaderLayout;
@@ -15,8 +15,8 @@ const addMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ j
15
15
  const response = yield Fetch(url, {
16
16
  method: 'POST',
17
17
  headers: {
18
- 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ 'Content-Type': 'application/json'
19
+ // Authorization: `${jwt}`
20
20
  },
21
21
  body: JSON.stringify({ content })
22
22
  });
@@ -7,8 +7,8 @@ const addMyCaseQuestion = async ({ jwt, id, content }: { jwt: string; id: string
7
7
  const response = await Fetch(url, {
8
8
  method: 'POST',
9
9
  headers: {
10
- 'Content-Type': 'application/json',
11
- Authorization: `${jwt}`
10
+ 'Content-Type': 'application/json'
11
+ // Authorization: `${jwt}`
12
12
  },
13
13
  body: JSON.stringify({ content })
14
14
  });
@@ -15,8 +15,8 @@ const getCase = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id })
15
15
  const response = yield Fetch(url, {
16
16
  method: 'GET',
17
17
  headers: {
18
- // 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ // 'Content-Type': 'application/json',
19
+ // Authorization: `${jwt}`
20
20
  }
21
21
  });
22
22
  // if (!response.ok) {
@@ -8,7 +8,7 @@ const getCase = async ({ jwt, id }: { jwt: string; id: string }) => {
8
8
  method: 'GET',
9
9
  headers: {
10
10
  // 'Content-Type': 'application/json',
11
- Authorization: `${jwt}`
11
+ // Authorization: `${jwt}`
12
12
  }
13
13
  });
14
14
  // if (!response.ok) {
@@ -15,8 +15,8 @@ const getCaseList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, si
15
15
  const response = yield Fetch(url, {
16
16
  method: 'GET',
17
17
  headers: {
18
- // 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ // 'Content-Type': 'application/json',
19
+ // Authorization: `${jwt}`
20
20
  }
21
21
  });
22
22
  // if (!response.ok) {
@@ -18,7 +18,7 @@ const getCaseList = async ({
18
18
  method: 'GET',
19
19
  headers: {
20
20
  // 'Content-Type': 'application/json',
21
- Authorization: `${jwt}`
21
+ // Authorization: `${jwt}`
22
22
  }
23
23
  });
24
24
  // if (!response.ok) {
@@ -15,8 +15,8 @@ const getCourtFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jw
15
15
  const response = yield Fetch(url, {
16
16
  method: 'GET',
17
17
  headers: {
18
- // 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ // 'Content-Type': 'application/json',
19
+ // Authorization: `${jwt}`
20
20
  }
21
21
  });
22
22
  // if (!response.ok) {
@@ -8,7 +8,7 @@ const getCourtFileList = async ({ jwt, id }: { jwt: string; id: string }) => {
8
8
  method: 'GET',
9
9
  headers: {
10
10
  // 'Content-Type': 'application/json',
11
- Authorization: `${jwt}`
11
+ // Authorization: `${jwt}`
12
12
  }
13
13
  });
14
14
  // if (!response.ok) {
@@ -15,8 +15,8 @@ const getMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ j
15
15
  const response = yield Fetch(url, {
16
16
  method: 'GET',
17
17
  headers: {
18
- // 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ // 'Content-Type': 'application/json',
19
+ // Authorization: `${jwt}`
20
20
  }
21
21
  });
22
22
  // if (!response.ok) {
@@ -8,7 +8,7 @@ const getMyCaseQuestion = async ({ jwt, id, page, size }: { jwt: string; id: str
8
8
  method: 'GET',
9
9
  headers: {
10
10
  // 'Content-Type': 'application/json',
11
- Authorization: `${jwt}`
11
+ // Authorization: `${jwt}`
12
12
  }
13
13
  });
14
14
  // if (!response.ok) {
@@ -15,8 +15,8 @@ const getMyFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt,
15
15
  const response = yield Fetch(url, {
16
16
  method: 'GET',
17
17
  headers: {
18
- // 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ // 'Content-Type': 'application/json',
19
+ // Authorization: `${jwt}`
20
20
  }
21
21
  });
22
22
  // if (!response.ok) {
@@ -8,7 +8,7 @@ const getMyFileList = async ({ jwt, id }: { jwt: string; id: string }) => {
8
8
  method: 'GET',
9
9
  headers: {
10
10
  // 'Content-Type': 'application/json',
11
- Authorization: `${jwt}`
11
+ // Authorization: `${jwt}`
12
12
  }
13
13
  });
14
14
  // if (!response.ok) {
@@ -15,8 +15,8 @@ const getTimeLine = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id
15
15
  const response = yield Fetch(url, {
16
16
  method: 'GET',
17
17
  headers: {
18
- // 'Content-Type': 'application/json',
19
- Authorization: `${jwt}`
18
+ // 'Content-Type': 'application/json',
19
+ // Authorization: `${jwt}`
20
20
  }
21
21
  });
22
22
  // if (!response.ok) {
@@ -8,7 +8,7 @@ const getTimeLine = async ({ jwt, id }: { jwt: string; id: string }) => {
8
8
  method: 'GET',
9
9
  headers: {
10
10
  // 'Content-Type': 'application/json',
11
- Authorization: `${jwt}`
11
+ // Authorization: `${jwt}`
12
12
  }
13
13
  });
14
14
  // if (!response.ok) {
@@ -54,15 +54,17 @@ export interface FileList {
54
54
  created_at: string;
55
55
  }
56
56
  export type Payment = {
57
- title: string;
58
- created_at: string;
59
- amount: number;
60
- method: string;
57
+ pay_type: string;
58
+ money: string;
59
+ pay_date: string;
60
+ card_name: string;
61
+ img_name: string;
62
+ img_path: string;
61
63
  };
62
64
  export type PaymentList = {
63
- payment_status: 'partial' | 'complete';
64
- deposit_amount: number;
65
- remaining_amount: number;
65
+ payment_status: '완납' | '일부납';
66
+ price: string;
67
+ balance: string;
66
68
  payments: Payment[];
67
69
  };
68
70
  export type Question = {
@@ -60,16 +60,20 @@ export interface FileList {
60
60
  }
61
61
 
62
62
  export type Payment = {
63
- title: string;
64
- created_at: string; // 날짜 형식에 맞게 조정할 수 있습니다.
65
- amount: number;
66
- method: string;
63
+ pay_type: string;
64
+
65
+ money: string;
66
+ pay_date: string;
67
+ card_name: string;
68
+ img_name: string;
69
+ img_path: string;
67
70
  };
68
71
 
69
72
  export type PaymentList = {
70
- payment_status: 'partial' | 'complete'; //일부납/완납
71
- deposit_amount: number; // 착수금
72
- remaining_amount: number; // 잔여금액
73
+ payment_status: '완납' | '일부납'; //일부납/완납
74
+ price: string; // 착수금
75
+ balance: string; // 잔여 금액
76
+ // remaining_amount: number; // 잔여금액
73
77
  payments: Payment[];
74
78
  };
75
79
 
@@ -5,3 +5,4 @@ export { default as MyCasePage } from './MyCase/MyCasePage';
5
5
  export { default as MyCaseDetailPage } from './MyCase/[id]/MyCaseDetailPage';
6
6
  export { default as Login } from './Login/Login';
7
7
  export { default as Sign } from './Login/Sign';
8
+ export { default as logout } from './Login/_api/logout';
@@ -7,3 +7,4 @@ export { default as MyCasePage } from './MyCase/MyCasePage';
7
7
  export { default as MyCaseDetailPage } from './MyCase/[id]/MyCaseDetailPage';
8
8
  export { default as Login } from './Login/Login';
9
9
  export { default as Sign } from './Login/Sign';
10
+ export { default as logout } from './Login/_api/logout';
@@ -7,3 +7,4 @@ export { default as MyCasePage } from './MyCase/MyCasePage';
7
7
  export { default as MyCaseDetailPage } from './MyCase/[id]/MyCaseDetailPage';
8
8
  export { default as Login } from './Login/Login';
9
9
  export { default as Sign } from './Login/Sign';
10
+ export { default as logout } from './Login/_api/logout';
@@ -9377,6 +9377,10 @@ body {
9377
9377
  margin-top: 0.5rem;
9378
9378
  }
9379
9379
 
9380
+ .md\:mt-\[126px\] {
9381
+ margin-top: 126px;
9382
+ }
9383
+
9380
9384
  .md\:mt-\[78px\] {
9381
9385
  margin-top: 78px;
9382
9386
  }
@@ -9417,6 +9421,10 @@ body {
9417
9421
  }
9418
9422
 
9419
9423
  @media (min-width: 900px) {
9424
+ .md2\:mt-\[128px\] {
9425
+ margin-top: 128px;
9426
+ }
9427
+
9420
9428
  .md2\:mt-\[88px\] {
9421
9429
  margin-top: 88px;
9422
9430
  }