@daeryun/dr_components 0.3.17 → 0.3.19
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/components/Layout/PageWrapper.d.ts +8 -0
- package/dist/components/Layout/PageWrapper.jsx +31 -0
- package/dist/components/Layout/PageWrapper.tsx +35 -0
- package/dist/components/page/Login/Login.d.ts +6 -0
- package/dist/components/page/Login/Login.jsx +112 -0
- package/dist/components/page/Login/Login.stories.d.ts +6 -0
- package/dist/components/page/Login/Login.stories.jsx +13 -0
- package/dist/components/page/Login/Login.stories.tsx +21 -0
- package/dist/components/page/Login/Login.tsx +167 -0
- package/dist/components/page/Login/LoginComp/LButton.d.ts +9 -0
- package/dist/components/page/Login/LoginComp/LButton.jsx +14 -0
- package/dist/components/page/Login/LoginComp/LButton.tsx +36 -0
- package/dist/components/page/Login/LoginComp/Linput.d.ts +11 -0
- package/dist/components/page/Login/LoginComp/Linput.jsx +10 -0
- package/dist/components/page/Login/LoginComp/Linput.tsx +40 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.d.ts +6 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.jsx +18 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.tsx +40 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.d.ts +10 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.jsx +41 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.tsx +91 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.d.ts +10 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.jsx +37 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.tsx +83 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.d.ts +9 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.jsx +39 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.tsx +70 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.d.ts +14 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.jsx +61 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.tsx +160 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.d.ts +12 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.jsx +32 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.tsx +94 -0
- package/dist/components/page/Login/Sign.d.ts +27 -0
- package/dist/components/page/Login/Sign.jsx +614 -0
- package/dist/components/page/Login/Sign.tsx +941 -0
- package/dist/components/page/Login/_api/completeUser.d.ts +7 -0
- package/dist/components/page/Login/_api/completeUser.js +23 -0
- package/dist/components/page/Login/_api/completeUser.ts +18 -0
- package/dist/components/page/Login/_api/confirmNumber.d.ts +5 -0
- package/dist/components/page/Login/_api/confirmNumber.js +23 -0
- package/dist/components/page/Login/_api/confirmNumber.ts +14 -0
- package/dist/components/page/Login/_api/getLoginStatus.d.ts +12 -0
- package/dist/components/page/Login/_api/getLoginStatus.js +48 -0
- package/dist/components/page/Login/_api/getLoginStatus.ts +42 -0
- package/dist/components/page/Login/_api/logout.d.ts +1 -0
- package/dist/components/page/Login/_api/logout.js +29 -0
- package/dist/components/page/Login/_api/logout.ts +18 -0
- package/dist/components/page/Login/_api/optionalTermAgree.d.ts +6 -0
- package/dist/components/page/Login/_api/optionalTermAgree.js +27 -0
- package/dist/components/page/Login/_api/optionalTermAgree.ts +23 -0
- package/dist/components/page/Login/_api/sendNumber.d.ts +5 -0
- package/dist/components/page/Login/_api/sendNumber.js +24 -0
- package/dist/components/page/Login/_api/sendNumber.ts +15 -0
- package/dist/components/page/Login/_api/token.d.ts +2 -0
- package/dist/components/page/Login/_api/token.js +33 -0
- package/dist/components/page/Login/_api/token.ts +25 -0
- package/dist/components/page/Login/_api/updateUserInfo.d.ts +6 -0
- package/dist/components/page/Login/_api/updateUserInfo.js +26 -0
- package/dist/components/page/Login/_api/updateUserInfo.ts +17 -0
- package/dist/components/page/Login/_api/withdraw.d.ts +5 -0
- package/dist/components/page/Login/_api/withdraw.js +23 -0
- package/dist/components/page/Login/_api/withdraw.ts +14 -0
- package/dist/components/page/Login/_fetch/fetch.d.ts +2 -0
- package/dist/components/page/Login/_fetch/fetch.js +54 -0
- package/dist/components/page/Login/_fetch/fetch.ts +58 -0
- package/dist/components/page/Login/_fetch/serverFetch.d.ts +2 -0
- package/dist/components/page/Login/_fetch/serverFetch.js +37 -0
- package/dist/components/page/Login/_fetch/serverFetch.ts +43 -0
- package/dist/components/page/MyCase/MyCasePage.jsx +1 -0
- package/dist/components/page/MyCase/MyCasePage.tsx +2 -0
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.jsx +1 -0
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +2 -0
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +3 -1
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +3 -1
- package/dist/components/page/MyCase/_fetchers/getCase.js +4 -1
- package/dist/components/page/MyCase/_fetchers/getCase.ts +5 -1
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +3 -1
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +3 -1
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +3 -1
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +3 -1
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +3 -1
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +8 -9
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/index.js +2 -0
- package/dist/components/page/index.ts +2 -0
- package/dist/lib/utils.d.ts +16 -0
- package/dist/lib/utils.js +50 -0
- package/dist/lib/utils.ts +63 -0
- package/dist/styles/globals.css +1200 -31
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
|
|
4
|
+
const RequiredCheckBox = ({
|
|
5
|
+
title,
|
|
6
|
+
isContent,
|
|
7
|
+
name,
|
|
8
|
+
setModal,
|
|
9
|
+
checked,
|
|
10
|
+
index,
|
|
11
|
+
isAll = false,
|
|
12
|
+
handleButton
|
|
13
|
+
}: {
|
|
14
|
+
title: string;
|
|
15
|
+
isContent: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
setModal: () => void;
|
|
18
|
+
index: number;
|
|
19
|
+
checked: boolean;
|
|
20
|
+
isAll?: boolean;
|
|
21
|
+
handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
|
|
22
|
+
}) => {
|
|
23
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
24
|
+
return (
|
|
25
|
+
<div className={'flex w-full flex-row justify-between '}>
|
|
26
|
+
<button
|
|
27
|
+
onClick={handleButton}
|
|
28
|
+
type={'button'}
|
|
29
|
+
name={name}
|
|
30
|
+
data-idx={index}
|
|
31
|
+
className={
|
|
32
|
+
' flex w-[calc(100%-34px)] flex-row items-center gap-[20px] ' +
|
|
33
|
+
' max-lg:w-[calc(100%-31px)] max-lg:gap-[12px] ' +
|
|
34
|
+
' max-sm:w-[calc(100%-24px)] max-sm:gap-[10px] '
|
|
35
|
+
}
|
|
36
|
+
>
|
|
37
|
+
{checked ? (
|
|
38
|
+
<span
|
|
39
|
+
className={
|
|
40
|
+
' flex items-center justify-center ' +
|
|
41
|
+
' h-[24px] w-[24px] rounded-[28px] ' +
|
|
42
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
43
|
+
' max-sm:h-[16px] max-sm:w-[16px] '
|
|
44
|
+
}
|
|
45
|
+
>
|
|
46
|
+
<Image
|
|
47
|
+
src={`${imagePath}/common-login/check box.svg`}
|
|
48
|
+
alt={'check box'}
|
|
49
|
+
height={100}
|
|
50
|
+
width={100}
|
|
51
|
+
className={`h-full w-full`}
|
|
52
|
+
/>
|
|
53
|
+
</span>
|
|
54
|
+
) : (
|
|
55
|
+
<span
|
|
56
|
+
className={
|
|
57
|
+
' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
|
|
58
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
59
|
+
' max-sm:h-[16px] max-sm:w-[16px] '
|
|
60
|
+
}
|
|
61
|
+
></span>
|
|
62
|
+
)}
|
|
63
|
+
<span
|
|
64
|
+
className={
|
|
65
|
+
' text-black ' +
|
|
66
|
+
` ${isAll ? ' body_medium1 ' : ' body_medium2 '} ` +
|
|
67
|
+
` ${isAll ? ' max-lg:body_medium1_tb ' : ' max-lg:body_medium2_tb '} ` +
|
|
68
|
+
` ${isAll ? ' max-sm:body_medium1_mo ' : ' max-sm:body_medium2_mo '} `
|
|
69
|
+
}
|
|
70
|
+
>
|
|
71
|
+
{title}
|
|
72
|
+
</span>
|
|
73
|
+
</button>
|
|
74
|
+
{isContent ? (
|
|
75
|
+
<button
|
|
76
|
+
type={'button'}
|
|
77
|
+
onClick={setModal}
|
|
78
|
+
className={
|
|
79
|
+
' underline-[#606060] text-[#606060] underline underline-offset-2 ' +
|
|
80
|
+
' body_small2 ' +
|
|
81
|
+
' max-lg:body_small2_tb ' +
|
|
82
|
+
' max-sm:body_small2_mo '
|
|
83
|
+
}
|
|
84
|
+
>
|
|
85
|
+
보기
|
|
86
|
+
</button>
|
|
87
|
+
) : (
|
|
88
|
+
<></>
|
|
89
|
+
)}
|
|
90
|
+
</div>
|
|
91
|
+
);
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export default RequiredCheckBox;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RecoilState } from 'recoil';
|
|
3
|
+
export interface IOptionalCheckItem {
|
|
4
|
+
title: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
name: string;
|
|
7
|
+
isContent: boolean;
|
|
8
|
+
cautionTitle: string;
|
|
9
|
+
alarmTypeList: IOptionalCheckAlarm[];
|
|
10
|
+
}
|
|
11
|
+
export interface IOptionalCheckAlarm {
|
|
12
|
+
title: string;
|
|
13
|
+
checked: boolean;
|
|
14
|
+
name: string;
|
|
15
|
+
value: number;
|
|
16
|
+
}
|
|
17
|
+
type props = {
|
|
18
|
+
layoutClassName?: string;
|
|
19
|
+
session_key?: string;
|
|
20
|
+
loginInfoAtom: RecoilState<{
|
|
21
|
+
email: string;
|
|
22
|
+
name: string;
|
|
23
|
+
isLogin: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
};
|
|
26
|
+
declare const Sign: ({ layoutClassName, session_key, loginInfoAtom }: props) => React.JSX.Element;
|
|
27
|
+
export default Sign;
|