@daeryun/dr_components 0.3.83 → 0.3.86

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 (25) hide show
  1. package/dist/components/page/Login/LoginShareCheckContainer.jsx +28 -2
  2. package/dist/components/page/Login/LoginShareCheckContainer.tsx +30 -0
  3. package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +24 -30
  4. package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +24 -30
  5. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.jsx +1 -1
  6. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.tsx +1 -1
  7. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +2 -2
  8. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +2 -2
  9. package/dist/components/page/MyCase/_fetchers/getCase.js +2 -2
  10. package/dist/components/page/MyCase/_fetchers/getCase.ts +1 -1
  11. package/dist/components/page/MyCase/_fetchers/getCaseList.js +2 -2
  12. package/dist/components/page/MyCase/_fetchers/getCaseList.ts +1 -1
  13. package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +2 -2
  14. package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +1 -1
  15. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +2 -2
  16. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +1 -1
  17. package/dist/components/page/MyCase/_fetchers/getMyFileList.js +2 -2
  18. package/dist/components/page/MyCase/_fetchers/getMyFileList.ts +1 -1
  19. package/dist/components/page/MyCase/_fetchers/getTimeLine.js +2 -2
  20. package/dist/components/page/MyCase/_fetchers/getTimeLine.ts +1 -1
  21. package/dist/components/page/MyCase/_type/type.d.ts +9 -7
  22. package/dist/components/page/MyCase/_type/type.ts +11 -7
  23. package/dist/styles/globals.css +8 -0
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/package.json +1 -1
@@ -152,6 +152,32 @@ const LoginShareCheckContainer = ({ children, setUserInfo }) => {
152
152
  });
153
153
  /** 초기 유저 정보 세팅 */
154
154
  const initializeUser = () => __awaiter(void 0, void 0, void 0, function* () {
155
+ var _a, _b, _c, _d;
156
+ // 우선은 세션 스토리지로 담고 시작
157
+ if (typeof window !== 'undefined') {
158
+ setUserInfo({
159
+ email: typeof window !== 'undefined'
160
+ ? sessionStorage.getItem(SESSION_KEY)
161
+ ? ((_a = JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')) === null || _a === void 0 ? void 0 : _a.email) || ''
162
+ : ''
163
+ : '',
164
+ name: typeof window !== 'undefined'
165
+ ? sessionStorage.getItem(SESSION_KEY)
166
+ ? ((_b = JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')) === null || _b === void 0 ? void 0 : _b.name) || ''
167
+ : ''
168
+ : '',
169
+ provider: typeof window !== 'undefined'
170
+ ? sessionStorage.getItem(SESSION_KEY)
171
+ ? ((_c = JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')) === null || _c === void 0 ? void 0 : _c.provider) || ''
172
+ : ''
173
+ : '',
174
+ isLogin: typeof window !== 'undefined'
175
+ ? sessionStorage.getItem(SESSION_KEY)
176
+ ? ((_d = JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')) === null || _d === void 0 ? void 0 : _d.isLogin) || false
177
+ : false
178
+ : false
179
+ });
180
+ }
155
181
  const isCookieAllowed = yield checkThirdPartyCookie();
156
182
  if (isCookieAllowed) {
157
183
  const storedUser = sessionStorage.getItem(SESSION_KEY);
@@ -166,7 +192,7 @@ const LoginShareCheckContainer = ({ children, setUserInfo }) => {
166
192
  return;
167
193
  }
168
194
  }
169
- catch (_a) {
195
+ catch (_e) {
170
196
  sessionStorage.removeItem(SESSION_KEY);
171
197
  }
172
198
  }
@@ -185,7 +211,7 @@ const LoginShareCheckContainer = ({ children, setUserInfo }) => {
185
211
  return;
186
212
  }
187
213
  }
188
- catch (_b) {
214
+ catch (_f) {
189
215
  sessionStorage.removeItem(SESSION_KEY);
190
216
  }
191
217
  }
@@ -160,6 +160,36 @@ const LoginShareCheckContainer = ({ children, setUserInfo }: Props) => {
160
160
 
161
161
  /** 초기 유저 정보 세팅 */
162
162
  const initializeUser = async () => {
163
+ // 우선은 세션 스토리지로 담고 시작
164
+ if (typeof window !== 'undefined') {
165
+ setUserInfo({
166
+ email:
167
+ typeof window !== 'undefined'
168
+ ? sessionStorage.getItem(SESSION_KEY)
169
+ ? JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')?.email || ''
170
+ : ''
171
+ : '',
172
+ name:
173
+ typeof window !== 'undefined'
174
+ ? sessionStorage.getItem(SESSION_KEY)
175
+ ? JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')?.name || ''
176
+ : ''
177
+ : '',
178
+ provider:
179
+ typeof window !== 'undefined'
180
+ ? sessionStorage.getItem(SESSION_KEY)
181
+ ? JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')?.provider || ''
182
+ : ''
183
+ : '',
184
+ isLogin:
185
+ typeof window !== 'undefined'
186
+ ? sessionStorage.getItem(SESSION_KEY)
187
+ ? JSON.parse(sessionStorage.getItem(SESSION_KEY) || '')?.isLogin || false
188
+ : false
189
+ : false
190
+ });
191
+ }
192
+
163
193
  const isCookieAllowed = await checkThirdPartyCookie();
164
194
 
165
195
  if (isCookieAllowed) {
@@ -12,38 +12,32 @@ const Label = ({ title, status }) => {
12
12
  };
13
13
  const LineBox = ({ children, title }) => {
14
14
  return (<div className=" border-b-[1px] border-solid border-grayScale6 pb-[8px] pt-[24px] sm-top:py-[24px]">
15
- {title && <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{title}</p>}
15
+ {title && <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">{title}</p>}
16
16
  <div className="flex flex-row items-center justify-between">{children}</div>
17
17
  </div>);
18
18
  };
19
19
  const ContactInfo = () => {
20
20
  const list = {
21
- payment_status: 'partial', //일부납/완납
22
- deposit_amount: 10000000, // 착수금
23
- remaining_amount: 4500000, // 잔여금액
21
+ payment_status: '완납',
22
+ price: '11200000',
23
+ balance: '2000',
24
24
  payments: [
25
25
  {
26
- title: '상담비',
27
- created_at: '2025-02-18 14:53:14',
28
- amount: 110000,
29
- method: '신용카드 - 현대카드 (일시불)'
30
- },
31
- {
32
- title: '수임료',
33
- created_at: '2025-02-19 14:53:14',
34
- amount: 3290000,
35
- method: '신용카드 - 롯데카드 (03개월 할부)'
36
- },
37
- { title: '수임료', created_at: '2025-02-20 14:53:14', amount: 1600000, method: '계좌이체 - 신한은행' },
38
- { title: '수임료', created_at: '2025-02-21 14:53:14', amount: 500000, method: '계좌이체 - 현대카드' }
26
+ pay_type: '수임료',
27
+ card_name: '롯데카드',
28
+ money: '11200000',
29
+ pay_date: '2025-03-10T00:00:00.000Z',
30
+ img_name: '25.03.10 천은유 영수증.pdf',
31
+ img_path: 'https://d6robzfync7d.cloudfront.net/consult/20250310105625220.pdf'
32
+ }
39
33
  ]
40
34
  };
41
35
  const [isOpen, setIsOpen] = useState(false);
42
36
  return (<CaseLayout isMobilePadding={false} outerClassName="mt-[35px] sm-top:mt-[24px] lg:mt-[40px] " innerClassName={'pt-[32px] px-[20px] pb-[40px] 2sm:px-[40px] sm-top:mt-[24px] sm-top:px-[50px] sm-top:pb-[60px] sm-top:pt-[56px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'}>
43
37
  <div className="flex flex-row items-center justify-between">
44
38
  <div className="flex flex-row gap-[12px] sm-top:gap-[28px] lg:gap-[32px]">
45
- <Label title="일부납" status={list.payment_status === 'partial'}/>
46
- <Label title="완납" status={list.payment_status !== 'partial'}/>
39
+ <Label title="일부납" status={list.payment_status !== '완납'}/>
40
+ <Label title="완납" status={list.payment_status === '완납'}/>
47
41
  </div>
48
42
  <button className={`flex h-[26px] w-[66px] items-center justify-center rounded-[13px] border border-solid border-black sm-top:h-[39px] sm-top:w-[96px] sm-top:rounded-[20px] lg:h-[41px] lg:w-[95px] lg:rounded-[21px]`} onClick={() => setIsOpen(!isOpen)}>
49
43
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2">내 약정서</p>
@@ -52,34 +46,34 @@ const ContactInfo = () => {
52
46
 
53
47
  <div className={'mt-[16px] sm-top:mt-[28px] lg:mt-[26px]'}>
54
48
  <LineBox>
55
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">착수금</p>
56
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">
57
- {list.deposit_amount.toLocaleString()}원
49
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">착수금</p>
50
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
51
+ {Number(list.price).toLocaleString()}원
58
52
  </p>
59
53
  </LineBox>
60
54
 
61
55
  {list.payments.map((item, index) => (<LineBox key={index} title={index === 0 ? '입금액' : ''}>
62
56
  <div className={`${index === 0 ? 'mt-[13px] sm-top:mt-[16px] lg:mt-[25px] ' : ''} flex flex-col gap-[8px] sm-top:gap-[12px] lg:gap-[8px]`}>
63
57
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
64
- {item.title}
58
+ {item.pay_type}
65
59
  </p>
66
60
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
67
- {dayjs(item.created_at).format('YYYY.MM.DD HH:mm')}
61
+ {dayjs(item.pay_date).format('YYYY.MM.DD HH:mm')}
68
62
  </p>
69
63
  </div>
70
64
  <div className="flex flex-col items-end gap-[8px] sm-top:gap-[12px] lg:gap-[8px]">
71
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">
72
- {item.amount.toLocaleString()}원
65
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
66
+ {Number(item.money).toLocaleString()}원
73
67
  </p>
74
68
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
75
- {item.method}
69
+ {item.card_name}
76
70
  </p>
77
71
  </div>
78
72
  </LineBox>))}
79
73
  <LineBox>
80
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">잔여금액</p>
81
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">
82
- {list.remaining_amount.toLocaleString()}원
74
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">잔여금액</p>
75
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
76
+ {Number(list.balance).toLocaleString()}원
83
77
  </p>
84
78
  </LineBox>
85
79
  </div>
@@ -21,31 +21,25 @@ const Label = ({ title, status }: { title: string; status: boolean }) => {
21
21
  const LineBox = ({ children, title }: { children: React.ReactNode; title?: string }) => {
22
22
  return (
23
23
  <div className=" border-b-[1px] border-solid border-grayScale6 pb-[8px] pt-[24px] sm-top:py-[24px]">
24
- {title && <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{title}</p>}
24
+ {title && <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">{title}</p>}
25
25
  <div className="flex flex-row items-center justify-between">{children}</div>
26
26
  </div>
27
27
  );
28
28
  };
29
29
  const ContactInfo = () => {
30
30
  const list: PaymentList = {
31
- payment_status: 'partial', //일부납/완납
32
- deposit_amount: 10000000, // 착수금
33
- remaining_amount: 4500000, // 잔여금액
31
+ payment_status: '완납',
32
+ price: '11200000',
33
+ balance: '2000',
34
34
  payments: [
35
35
  {
36
- title: '상담비',
37
- created_at: '2025-02-18 14:53:14',
38
- amount: 110000,
39
- method: '신용카드 - 현대카드 (일시불)'
40
- },
41
- {
42
- title: '수임료',
43
- created_at: '2025-02-19 14:53:14',
44
- amount: 3290000,
45
- method: '신용카드 - 롯데카드 (03개월 할부)'
46
- },
47
- { title: '수임료', created_at: '2025-02-20 14:53:14', amount: 1600000, method: '계좌이체 - 신한은행' },
48
- { title: '수임료', created_at: '2025-02-21 14:53:14', amount: 500000, method: '계좌이체 - 현대카드' }
36
+ pay_type: '수임료',
37
+ card_name: '롯데카드',
38
+ money: '11200000',
39
+ pay_date: '2025-03-10T00:00:00.000Z',
40
+ img_name: '25.03.10 천은유 영수증.pdf',
41
+ img_path: 'https://d6robzfync7d.cloudfront.net/consult/20250310105625220.pdf'
42
+ }
49
43
  ]
50
44
  };
51
45
  const [isOpen, setIsOpen] = useState(false);
@@ -59,8 +53,8 @@ const ContactInfo = () => {
59
53
  >
60
54
  <div className="flex flex-row items-center justify-between">
61
55
  <div className="flex flex-row gap-[12px] sm-top:gap-[28px] lg:gap-[32px]">
62
- <Label title="일부납" status={list.payment_status === 'partial'} />
63
- <Label title="완납" status={list.payment_status !== 'partial'} />
56
+ <Label title="일부납" status={list.payment_status !== '완납'} />
57
+ <Label title="완납" status={list.payment_status === '완납'} />
64
58
  </div>
65
59
  <button
66
60
  className={`flex h-[26px] w-[66px] items-center justify-center rounded-[13px] border border-solid border-black sm-top:h-[39px] sm-top:w-[96px] sm-top:rounded-[20px] lg:h-[41px] lg:w-[95px] lg:rounded-[21px]`}
@@ -72,9 +66,9 @@ const ContactInfo = () => {
72
66
 
73
67
  <div className={'mt-[16px] sm-top:mt-[28px] lg:mt-[26px]'}>
74
68
  <LineBox>
75
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">착수금</p>
76
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">
77
- {list.deposit_amount.toLocaleString()}원
69
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">착수금</p>
70
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
71
+ {Number(list.price).toLocaleString()}원
78
72
  </p>
79
73
  </LineBox>
80
74
 
@@ -84,26 +78,26 @@ const ContactInfo = () => {
84
78
  className={`${index === 0 ? 'mt-[13px] sm-top:mt-[16px] lg:mt-[25px] ' : ''} flex flex-col gap-[8px] sm-top:gap-[12px] lg:gap-[8px]`}
85
79
  >
86
80
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
87
- {item.title}
81
+ {item.pay_type}
88
82
  </p>
89
83
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
90
- {dayjs(item.created_at).format('YYYY.MM.DD HH:mm')}
84
+ {dayjs(item.pay_date).format('YYYY.MM.DD HH:mm')}
91
85
  </p>
92
86
  </div>
93
87
  <div className="flex flex-col items-end gap-[8px] sm-top:gap-[12px] lg:gap-[8px]">
94
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">
95
- {item.amount.toLocaleString()}원
88
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
89
+ {Number(item.money).toLocaleString()}원
96
90
  </p>
97
91
  <p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
98
- {item.method}
92
+ {item.card_name}
99
93
  </p>
100
94
  </div>
101
95
  </LineBox>
102
96
  ))}
103
97
  <LineBox>
104
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">잔여금액</p>
105
- <p className="text-black body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">
106
- {list.remaining_amount.toLocaleString()}원
98
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">잔여금액</p>
99
+ <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
100
+ {Number(list.balance).toLocaleString()}원
107
101
  </p>
108
102
  </LineBox>
109
103
  </div>
@@ -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
 
@@ -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
  }