@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.
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/page/Login/_api/logout.d.ts +2 -1
- package/dist/components/page/Login/_api/logout.js +2 -1
- package/dist/components/page/Login/_api/logout.ts +3 -1
- package/dist/components/page/Login/_hooks/useLogout.js +1 -1
- package/dist/components/page/Login/_hooks/useLogout.ts +1 -1
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +24 -30
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +24 -30
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.jsx +1 -1
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +1 -1
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +2 -2
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +2 -2
- package/dist/components/page/MyCase/_fetchers/getCase.js +2 -2
- package/dist/components/page/MyCase/_fetchers/getCase.ts +1 -1
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +2 -2
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +1 -1
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +2 -2
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +1 -1
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +2 -2
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +1 -1
- package/dist/components/page/MyCase/_fetchers/getMyFileList.js +2 -2
- package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +1 -1
- package/dist/components/page/MyCase/_fetchers/getTimeLine.js +2 -2
- package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +1 -1
- package/dist/components/page/MyCase/_type/type.d.ts +9 -7
- package/dist/components/page/MyCase/_type/type.ts +11 -7
- package/dist/components/page/index.d.ts +1 -0
- package/dist/components/page/index.js +1 -0
- package/dist/components/page/index.ts +1 -0
- package/dist/styles/globals.css +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const HeaderLayout = ({ children }) => {
|
|
2
|
-
return <div className="mt-[
|
|
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-[
|
|
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
|
-
|
|
19
|
-
|
|
18
|
+
// 'Content-Type': 'application/json',
|
|
19
|
+
// Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
// 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
|
-
|
|
19
|
-
|
|
18
|
+
// 'Content-Type': 'application/json',
|
|
19
|
+
// Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
// 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
|
-
|
|
19
|
-
|
|
18
|
+
// 'Content-Type': 'application/json',
|
|
19
|
+
// Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
// 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
|
-
|
|
19
|
-
|
|
18
|
+
// 'Content-Type': 'application/json',
|
|
19
|
+
// Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
// 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
|
-
|
|
19
|
-
|
|
18
|
+
// 'Content-Type': 'application/json',
|
|
19
|
+
// Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
// 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
|
-
|
|
19
|
-
|
|
18
|
+
// 'Content-Type': 'application/json',
|
|
19
|
+
// Authorization: `${jwt}`
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
// if (!response.ok) {
|
|
@@ -54,15 +54,17 @@ export interface FileList {
|
|
|
54
54
|
created_at: string;
|
|
55
55
|
}
|
|
56
56
|
export type Payment = {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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: '
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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: '
|
|
71
|
-
|
|
72
|
-
|
|
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';
|
package/dist/styles/globals.css
CHANGED
|
@@ -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
|
}
|