@daeryun/dr_components 0.4.0 → 0.4.2
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/LoginComp/SignContainer.d.ts +1 -1
- package/dist/components/page/Login/LoginComp/SignContainer.jsx +2 -2
- package/dist/components/page/Login/LoginComp/SignContainer.tsx +3 -3
- package/dist/components/page/Login/Personal.d.ts +1 -1
- package/dist/components/page/Login/Personal.jsx +1 -1
- package/dist/components/page/Login/Personal.tsx +2 -2
- package/dist/components/page/Login/Sign.d.ts +1 -1
- package/dist/components/page/Login/Sign.tsx +1 -1
- package/dist/components/page/Login/Withdraw.d.ts +1 -1
- package/dist/components/page/Login/Withdraw.jsx +1 -1
- package/dist/components/page/Login/Withdraw.tsx +2 -2
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +6 -6
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +3 -2
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.d.ts +3 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.jsx +6 -4
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.tsx +16 -4
- package/dist/components/page/MyCase/_type/type.d.ts +5 -0
- package/dist/components/page/MyCase/_type/type.ts +6 -0
- package/dist/styles/globals.css +22 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4,8 +4,9 @@ import ModalContainer from './ModalCotainer';
|
|
|
4
4
|
import { useEffect, useState } from 'react';
|
|
5
5
|
|
|
6
6
|
import close from '../../../../../../asset/images/myCase/icon/close.webp';
|
|
7
|
+
import { ContractImage } from '../../../_type/type';
|
|
7
8
|
|
|
8
|
-
const ContractModal = ({ isOpen, onClose }: { isOpen: boolean; onClose: () => void }) => {
|
|
9
|
+
const ContractModal = ({ isOpen, onClose, data }: { isOpen: boolean; onClose: () => void; data: ContractImage[] }) => {
|
|
9
10
|
// const [value, setValue] = useState('');
|
|
10
11
|
// const [isCheck, setIsCheck] = useState(false);
|
|
11
12
|
const [isOpenConfirm, setIsOpenConfirm] = useState(false);
|
|
@@ -21,7 +22,7 @@ const ContractModal = ({ isOpen, onClose }: { isOpen: boolean; onClose: () => vo
|
|
|
21
22
|
}}
|
|
22
23
|
>
|
|
23
24
|
<div
|
|
24
|
-
className="absolute
|
|
25
|
+
className="absolute flex h-full w-full flex-col overflow-y-hidden rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:rounded-[32px] sm-top:p-[52px] lg:h-full lg:max-h-[800px] lg:w-full lg:max-w-[1000px] "
|
|
25
26
|
onClick={e => e.stopPropagation()}
|
|
26
27
|
>
|
|
27
28
|
<div className="flex flex-row items-center justify-between">
|
|
@@ -37,8 +38,19 @@ const ContractModal = ({ isOpen, onClose }: { isOpen: boolean; onClose: () => vo
|
|
|
37
38
|
className="h-[16px] w-[16px] cursor-pointer sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"
|
|
38
39
|
/>
|
|
39
40
|
</div>
|
|
40
|
-
<div className="mt-[12px] h-
|
|
41
|
-
|
|
41
|
+
<div className="mt-[12px] h-full w-full overflow-hidden overflow-y-auto rounded-[8px] border border-solid border-grayScale1 sm-top:mt-[20px] lg:h-[836px]">
|
|
42
|
+
{data?.map((item, index) => (
|
|
43
|
+
<div key={index}>
|
|
44
|
+
<Image
|
|
45
|
+
src={item.path}
|
|
46
|
+
alt={item.name}
|
|
47
|
+
width={3000}
|
|
48
|
+
height={3000}
|
|
49
|
+
unoptimized
|
|
50
|
+
className="h-auto w-full"
|
|
51
|
+
/>
|
|
52
|
+
</div>
|
|
53
|
+
))}
|
|
42
54
|
</div>
|
|
43
55
|
|
|
44
56
|
{/* {isLoading ? (
|
|
@@ -66,6 +66,7 @@ export type PaymentList = {
|
|
|
66
66
|
price: string;
|
|
67
67
|
balance: string;
|
|
68
68
|
payments: Payment[];
|
|
69
|
+
contractImages: ContractImage[];
|
|
69
70
|
};
|
|
70
71
|
export type Question = {
|
|
71
72
|
idx: number;
|
|
@@ -74,3 +75,7 @@ export type Question = {
|
|
|
74
75
|
answer: string;
|
|
75
76
|
answer_at: string;
|
|
76
77
|
};
|
|
78
|
+
export type ContractImage = {
|
|
79
|
+
name: string;
|
|
80
|
+
path: string;
|
|
81
|
+
};
|
|
@@ -75,6 +75,7 @@ export type PaymentList = {
|
|
|
75
75
|
balance: string; // 잔여 금액
|
|
76
76
|
// remaining_amount: number; // 잔여금액
|
|
77
77
|
payments: Payment[];
|
|
78
|
+
contractImages: ContractImage[];
|
|
78
79
|
};
|
|
79
80
|
|
|
80
81
|
export type Question = {
|
|
@@ -84,3 +85,8 @@ export type Question = {
|
|
|
84
85
|
answer: string;
|
|
85
86
|
answer_at: string;
|
|
86
87
|
};
|
|
88
|
+
|
|
89
|
+
export type ContractImage = {
|
|
90
|
+
name: string;
|
|
91
|
+
path: string;
|
|
92
|
+
};
|
package/dist/styles/globals.css
CHANGED
|
@@ -1641,10 +1641,6 @@ video {
|
|
|
1641
1641
|
height: 43px;
|
|
1642
1642
|
}
|
|
1643
1643
|
|
|
1644
|
-
.h-\[453px\] {
|
|
1645
|
-
height: 453px;
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
1644
|
.h-\[460px\] {
|
|
1649
1645
|
height: 460px;
|
|
1650
1646
|
}
|
|
@@ -2670,6 +2666,10 @@ video {
|
|
|
2670
2666
|
overflow-y: auto;
|
|
2671
2667
|
}
|
|
2672
2668
|
|
|
2669
|
+
.overflow-y-hidden {
|
|
2670
|
+
overflow-y: hidden;
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
2673
|
.overflow-y-scroll {
|
|
2674
2674
|
overflow-y: scroll;
|
|
2675
2675
|
}
|
|
@@ -5265,6 +5265,11 @@ body {
|
|
|
5265
5265
|
border-color: rgb(185 185 185 / var(--tw-border-opacity, 1));
|
|
5266
5266
|
}
|
|
5267
5267
|
|
|
5268
|
+
.disabled\:border-\[\#DBDBDB\]:disabled {
|
|
5269
|
+
--tw-border-opacity: 1;
|
|
5270
|
+
border-color: rgb(219 219 219 / var(--tw-border-opacity, 1));
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5268
5273
|
.disabled\:bg-\[\#F5F5F5\]:disabled {
|
|
5269
5274
|
--tw-bg-opacity: 1;
|
|
5270
5275
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
@@ -5285,6 +5290,11 @@ body {
|
|
|
5285
5290
|
color: rgb(185 185 185 / var(--tw-text-opacity, 1));
|
|
5286
5291
|
}
|
|
5287
5292
|
|
|
5293
|
+
.disabled\:text-\[\#DBDBDB\]:disabled {
|
|
5294
|
+
--tw-text-opacity: 1;
|
|
5295
|
+
color: rgb(219 219 219 / var(--tw-text-opacity, 1));
|
|
5296
|
+
}
|
|
5297
|
+
|
|
5288
5298
|
.group\/category:hover .group-hover\/category\:translate-x-\[5px\] {
|
|
5289
5299
|
--tw-translate-x: 5px;
|
|
5290
5300
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -9037,10 +9047,6 @@ body {
|
|
|
9037
9047
|
height: 52px;
|
|
9038
9048
|
}
|
|
9039
9049
|
|
|
9040
|
-
.sm-top\:h-\[605px\] {
|
|
9041
|
-
height: 605px;
|
|
9042
|
-
}
|
|
9043
|
-
|
|
9044
9050
|
.sm-top\:h-\[60px\] {
|
|
9045
9051
|
height: 60px;
|
|
9046
9052
|
}
|
|
@@ -9675,6 +9681,14 @@ body {
|
|
|
9675
9681
|
height: 88px;
|
|
9676
9682
|
}
|
|
9677
9683
|
|
|
9684
|
+
.lg\:h-full {
|
|
9685
|
+
height: 100%;
|
|
9686
|
+
}
|
|
9687
|
+
|
|
9688
|
+
.lg\:max-h-\[800px\] {
|
|
9689
|
+
max-height: 800px;
|
|
9690
|
+
}
|
|
9691
|
+
|
|
9678
9692
|
.lg\:w-3\/5 {
|
|
9679
9693
|
width: 60%;
|
|
9680
9694
|
}
|