@daeryun/dr_components 0.2.74 → 0.2.76
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/BrochureBtn/BrochureBtn.d.ts +0 -1
- package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +5 -6
- package/dist/components/BrochureBtn/MedicalBrochureBtn.d.ts +0 -1
- package/dist/components/Fix/Fix.stories.d.ts +2 -3
- package/dist/components/Footer/TopBtn.d.ts +0 -1
- package/dist/components/MapSection/Map.d.ts +0 -1
- package/dist/components/MapSection/MapSection.d.ts +1 -1
- package/dist/components/Mark/Mark.d.ts +0 -1
- package/dist/components/SelectBox/SelectBox.d.ts +8 -8
- package/dist/components/Seo/SeoStrength.stories.d.ts +0 -1
- package/dist/components/ViewMoreSection/SearchIcon.d.ts +0 -1
- package/dist/components/banner/TopBanner.d.ts +0 -1
- package/dist/components/banner/TopBanner.stories.d.ts +0 -1
- package/dist/components/categoryView/CategoryComponent.d.ts +1 -1
- package/dist/components/page/Choice/Choice.d.ts +1 -1
- package/dist/components/page/MyCase/MyCaseApp.d.ts +2 -2
- package/dist/components/page/MyCase/MyCaseApp.jsx +6 -3
- package/dist/components/page/MyCase/MyCaseApp.tsx +8 -2
- package/dist/components/page/MyCase/MyCasePage.d.ts +2 -2
- package/dist/components/page/MyCase/MyCasePage.jsx +2 -2
- package/dist/components/page/MyCase/MyCasePage.tsx +2 -2
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/TimeLine.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_document/Document.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.jsx +10 -10
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +10 -10
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.d.ts +0 -1
- package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.d.ts +0 -1
- package/dist/components/page/MyCase/_actions/action.d.ts +2 -2
- package/dist/components/page/MyCase/_component/CaseAppContainer.d.ts +0 -1
- package/dist/components/page/MyCase/_component/CasePageContainer.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_button/Badge.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_button/SubColor1Button.d.ts +1 -2
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.d.ts +1 -2
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.d.ts +1 -2
- package/dist/components/page/MyCase/_component/_layout/CaseLayout.d.ts +3 -4
- package/dist/components/page/MyCase/_component/_layout/HeaderLayout.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_layout/IntroWrapper.d.ts +7 -7
- package/dist/components/page/MyCase/_component/_layout/IntroWrapper.tsx +4 -4
- package/dist/components/page/MyCase/_component/_loading/Loading.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.d.ts +1 -1
- package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.d.ts +1 -1
- package/dist/components/page/MyCase/_component/_table/CaseTable.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_table/CaseTableMo.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.d.ts +0 -1
- package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.d.ts +0 -1
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +1 -1
- package/dist/components/page/MyCase/_fetchers/getCase.js +1 -1
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +1 -1
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +1 -1
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +1 -1
- package/dist/components/page/MyCase/_fetchers/getMyFileList.js +1 -1
- package/dist/components/page/MyCase/_fetchers/getTimeLine.js +1 -1
- package/dist/components/page/Strength/Strength.d.ts +0 -1
- package/dist/lib/utils.js +4 -4
- package/dist/styles/globals.css +133 -133
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -8
|
@@ -27,7 +27,7 @@ const CaseInquiryAddModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
27
27
|
setIsCheck(false);
|
|
28
28
|
onClose();
|
|
29
29
|
}}>
|
|
30
|
-
<div className="border-grayScale4 bg-grayScale8 sm-top:max-h-[786px] sm-top:w-[calc(100%-60px)] sm-top:max-w-[780px]
|
|
30
|
+
<div className="absolute h-full max-h-[568px] w-[calc(100%-40px)] overflow-y-auto rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:max-h-[786px] sm-top:w-[calc(100%-60px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:p-[52px] lg:h-full lg:max-h-[1000px] lg:w-full lg:max-w-[1000px] " onClick={e => e.stopPropagation()}>
|
|
31
31
|
<div className="flex flex-row items-center justify-between">
|
|
32
32
|
<p className="title_medium_mo sm-top:title_medium_tb lg:title_medium text-black">
|
|
33
33
|
사건문의 작성
|
|
@@ -36,13 +36,13 @@ const CaseInquiryAddModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
36
36
|
setValue('');
|
|
37
37
|
setIsCheck(false);
|
|
38
38
|
onClose();
|
|
39
|
-
}} className="sm-top:h-[20px] sm-top:w-[20px]
|
|
39
|
+
}} className="h-[16px] w-[16px] cursor-pointer sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"/>
|
|
40
40
|
</div>
|
|
41
|
-
<div className="sm-top:mt-[20px]
|
|
42
|
-
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 max-sm-top:hidden
|
|
41
|
+
<div className="mt-[12px] sm-top:mt-[20px]">
|
|
42
|
+
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 text-black max-sm-top:hidden">
|
|
43
43
|
본 사건에 대해 궁금하신 점이 있다면 작성해 주세요.
|
|
44
44
|
</p>
|
|
45
|
-
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 max-sm-top:hidden
|
|
45
|
+
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 text-black max-sm-top:hidden">
|
|
46
46
|
담당자가 확인하여 성심껏 답변해 드리겠습니다!
|
|
47
47
|
</p>
|
|
48
48
|
<p className="body_large2_mo sm-top:hidden">
|
|
@@ -51,7 +51,7 @@ const CaseInquiryAddModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
51
51
|
</p>
|
|
52
52
|
</div>
|
|
53
53
|
<div className="mt-[16px] flex flex-row items-center justify-between">
|
|
54
|
-
<div className="
|
|
54
|
+
<div className="flex flex-row items-center justify-center gap-[4px] sm-top:gap-[8px]">
|
|
55
55
|
<p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
|
|
56
56
|
문의내용
|
|
57
57
|
</p>
|
|
@@ -65,7 +65,7 @@ const CaseInquiryAddModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
65
65
|
</p>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
-
<div className="sm-top:mt-[15px]
|
|
68
|
+
<div className="mt-[12px] sm-top:mt-[15px] lg:mt-[18px]">
|
|
69
69
|
<TextArea placeholder="문의내용을 입력해 주세요." value={value} onChange={e => setValue(e.target.value)} isCheck={isCheck}/>
|
|
70
70
|
</div>
|
|
71
71
|
{isCheck && (<div className=" mt-[8px]">
|
|
@@ -78,9 +78,9 @@ const CaseInquiryAddModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
78
78
|
<Loading />
|
|
79
79
|
</div>) : (<></>)}
|
|
80
80
|
<div className={`${isCheck
|
|
81
|
-
? 'sm-top:mt-[20px]
|
|
82
|
-
: 'sm-top:mt-[55px]
|
|
83
|
-
<button className={`
|
|
81
|
+
? 'mt-[21px] sm-top:mt-[20px] lg:mt-[16px]'
|
|
82
|
+
: 'mt-[50px] sm-top:mt-[55px] lg:mt-[53px]'}`}>
|
|
83
|
+
<button className={`flex h-[48px] w-full items-center justify-center rounded-[4px] sm-top:h-[60px] sm-top:w-full sm-top:rounded-[8px] lg:h-[72px] lg:w-[896px] lg:rounded-[16px] ${value.length >= 30 ? ' bg-grayScale1 text-white' : 'bg-grayScale6 text-grayScale3 '}`} onClick={() => __awaiter(void 0, void 0, void 0, function* () {
|
|
84
84
|
if (value.length >= 30) {
|
|
85
85
|
setIsCheck(false);
|
|
86
86
|
const result = yield mutateAsync();
|
|
@@ -34,7 +34,7 @@ const CaseInquiryAddModal = ({
|
|
|
34
34
|
}}
|
|
35
35
|
>
|
|
36
36
|
<div
|
|
37
|
-
className="border-grayScale4 bg-grayScale8 sm-top:max-h-[786px] sm-top:w-[calc(100%-60px)] sm-top:max-w-[780px]
|
|
37
|
+
className="absolute h-full max-h-[568px] w-[calc(100%-40px)] overflow-y-auto rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:max-h-[786px] sm-top:w-[calc(100%-60px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:p-[52px] lg:h-full lg:max-h-[1000px] lg:w-full lg:max-w-[1000px] "
|
|
38
38
|
onClick={e => e.stopPropagation()}
|
|
39
39
|
>
|
|
40
40
|
<div className="flex flex-row items-center justify-between">
|
|
@@ -51,14 +51,14 @@ const CaseInquiryAddModal = ({
|
|
|
51
51
|
setIsCheck(false);
|
|
52
52
|
onClose();
|
|
53
53
|
}}
|
|
54
|
-
className="sm-top:h-[20px] sm-top:w-[20px]
|
|
54
|
+
className="h-[16px] w-[16px] cursor-pointer sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"
|
|
55
55
|
/>
|
|
56
56
|
</div>
|
|
57
|
-
<div className="sm-top:mt-[20px]
|
|
58
|
-
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 max-sm-top:hidden
|
|
57
|
+
<div className="mt-[12px] sm-top:mt-[20px]">
|
|
58
|
+
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 text-black max-sm-top:hidden">
|
|
59
59
|
본 사건에 대해 궁금하신 점이 있다면 작성해 주세요.
|
|
60
60
|
</p>
|
|
61
|
-
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 max-sm-top:hidden
|
|
61
|
+
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 text-black max-sm-top:hidden">
|
|
62
62
|
담당자가 확인하여 성심껏 답변해 드리겠습니다!
|
|
63
63
|
</p>
|
|
64
64
|
<p className="body_large2_mo sm-top:hidden">
|
|
@@ -67,7 +67,7 @@ const CaseInquiryAddModal = ({
|
|
|
67
67
|
</p>
|
|
68
68
|
</div>
|
|
69
69
|
<div className="mt-[16px] flex flex-row items-center justify-between">
|
|
70
|
-
<div className="
|
|
70
|
+
<div className="flex flex-row items-center justify-center gap-[4px] sm-top:gap-[8px]">
|
|
71
71
|
<p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-black">
|
|
72
72
|
문의내용
|
|
73
73
|
</p>
|
|
@@ -81,7 +81,7 @@ const CaseInquiryAddModal = ({
|
|
|
81
81
|
</p>
|
|
82
82
|
</div>
|
|
83
83
|
</div>
|
|
84
|
-
<div className="sm-top:mt-[15px]
|
|
84
|
+
<div className="mt-[12px] sm-top:mt-[15px] lg:mt-[18px]">
|
|
85
85
|
<TextArea
|
|
86
86
|
placeholder="문의내용을 입력해 주세요."
|
|
87
87
|
value={value}
|
|
@@ -107,12 +107,12 @@ const CaseInquiryAddModal = ({
|
|
|
107
107
|
<div
|
|
108
108
|
className={`${
|
|
109
109
|
isCheck
|
|
110
|
-
? 'sm-top:mt-[20px]
|
|
111
|
-
: 'sm-top:mt-[55px]
|
|
110
|
+
? 'mt-[21px] sm-top:mt-[20px] lg:mt-[16px]'
|
|
111
|
+
: 'mt-[50px] sm-top:mt-[55px] lg:mt-[53px]'
|
|
112
112
|
}`}
|
|
113
113
|
>
|
|
114
114
|
<button
|
|
115
|
-
className={`
|
|
115
|
+
className={`flex h-[48px] w-full items-center justify-center rounded-[4px] sm-top:h-[60px] sm-top:w-full sm-top:rounded-[8px] lg:h-[72px] lg:w-[896px] lg:rounded-[16px] ${
|
|
116
116
|
value.length >= 30 ? ' bg-grayScale1 text-white' : 'bg-grayScale6 text-grayScale3 '
|
|
117
117
|
}`}
|
|
118
118
|
onClick={async () => {
|
|
@@ -27,9 +27,9 @@ export declare const useGetMyFileList: (id: string) => {
|
|
|
27
27
|
export declare const useGetMyCaseQuestion: (id: string, page: number, pageSize: number) => {
|
|
28
28
|
data: FetchType<Question[]> | undefined;
|
|
29
29
|
isLoading: boolean;
|
|
30
|
-
refetch: (options?: import("@tanstack/query
|
|
30
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<FetchType<Question[]>, Error>>;
|
|
31
31
|
};
|
|
32
32
|
export declare const usePostMyCaseQuestion: (id: string, content: string) => {
|
|
33
|
-
mutateAsync: import("@tanstack/react-query
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FetchType<Question[]>, Error, void, unknown>;
|
|
34
34
|
isLoading: boolean;
|
|
35
35
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SubColor1Button: ({ title, onClick, isSelected, outerClassName }: {
|
|
3
2
|
title: string;
|
|
4
3
|
onClick: () => void;
|
|
5
4
|
isSelected: boolean;
|
|
6
|
-
outerClassName?: string
|
|
5
|
+
outerClassName?: string;
|
|
7
6
|
}) => import("react").JSX.Element;
|
|
8
7
|
export default SubColor1Button;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SubMenuButton: ({ onClick, title, isSelected, outerClassName }: {
|
|
3
2
|
onClick: () => void;
|
|
4
3
|
title: string;
|
|
5
4
|
isSelected: boolean;
|
|
6
|
-
outerClassName?: string
|
|
5
|
+
outerClassName?: string;
|
|
7
6
|
}) => import("react").JSX.Element;
|
|
8
7
|
export default SubMenuButton;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const CaseLayout: ({ outerClassName, innerClassName, children, isMobilePadding }: {
|
|
3
|
-
outerClassName?: string
|
|
4
|
-
innerClassName?: string
|
|
2
|
+
outerClassName?: string;
|
|
3
|
+
innerClassName?: string;
|
|
5
4
|
children: React.ReactNode;
|
|
6
|
-
isMobilePadding?: boolean
|
|
5
|
+
isMobilePadding?: boolean;
|
|
7
6
|
}) => import("react").JSX.Element;
|
|
8
7
|
export default CaseLayout;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { StaticImageData } from 'next/image';
|
|
2
2
|
declare const IntroWrapper: ({ backgroundImage, backgroundImageTb, backgroundImageMo, outerClassName, title, subTitle }: {
|
|
3
|
-
backgroundImage?: string |
|
|
4
|
-
backgroundImageTb?: string |
|
|
5
|
-
backgroundImageMo?: string |
|
|
6
|
-
outerClassName?: string
|
|
7
|
-
title?: string
|
|
8
|
-
subTitle?: string
|
|
3
|
+
backgroundImage?: string | StaticImageData;
|
|
4
|
+
backgroundImageTb?: string | StaticImageData;
|
|
5
|
+
backgroundImageMo?: string | StaticImageData;
|
|
6
|
+
outerClassName?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
subTitle?: string;
|
|
9
9
|
}) => import("react").JSX.Element;
|
|
10
10
|
export default IntroWrapper;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import Image from 'next/image';
|
|
2
|
+
import Image, { StaticImageData } from 'next/image';
|
|
3
3
|
import Wrapper from '../../../../Layout/Wrapper';
|
|
4
4
|
import CategoryMenuPage from '../_breadCrumble/CategoryMenuPage';
|
|
5
5
|
import { useTranslation } from 'next-i18next';
|
|
@@ -13,9 +13,9 @@ const IntroWrapper = ({
|
|
|
13
13
|
title,
|
|
14
14
|
subTitle
|
|
15
15
|
}: {
|
|
16
|
-
backgroundImage?: string;
|
|
17
|
-
backgroundImageTb?: string;
|
|
18
|
-
backgroundImageMo?: string;
|
|
16
|
+
backgroundImage?: string | StaticImageData;
|
|
17
|
+
backgroundImageTb?: string | StaticImageData;
|
|
18
|
+
backgroundImageMo?: string | StaticImageData;
|
|
19
19
|
outerClassName?: string;
|
|
20
20
|
title?: string;
|
|
21
21
|
subTitle?: string;
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const addMyCaseQuestion = (
|
|
10
|
+
const addMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id, content }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/inquiry`, {
|
|
13
13
|
method: 'POST',
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const getCase = (
|
|
10
|
+
const getCase = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/info`, {
|
|
13
13
|
method: 'GET',
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const getCaseList = (
|
|
10
|
+
const getCaseList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, size, state, page }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case?size=${size}&state=${state}&page=${page}`, {
|
|
13
13
|
method: 'GET',
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const getCourtFileList = (
|
|
10
|
+
const getCourtFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs/court`, {
|
|
13
13
|
method: 'GET',
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const getMyCaseQuestion = (
|
|
10
|
+
const getMyCaseQuestion = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id, page, size }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/inquiry?page=${page}&size=${size}`, {
|
|
13
13
|
method: 'GET',
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const getMyFileList = (
|
|
10
|
+
const getMyFileList = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/docs/my`, {
|
|
13
13
|
method: 'GET',
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
const getTimeLine = (
|
|
10
|
+
const getTimeLine = (_a) => __awaiter(void 0, [_a], void 0, function* ({ jwt, id }) {
|
|
11
11
|
try {
|
|
12
12
|
const response = yield fetch(`https://aegis.daeryunlaw.com/api/app/case/${id}/progress`, {
|
|
13
13
|
method: 'GET',
|
package/dist/lib/utils.js
CHANGED
|
@@ -54,8 +54,8 @@ export function numComma(x) {
|
|
|
54
54
|
}
|
|
55
55
|
return ('' + x).replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
56
56
|
}
|
|
57
|
-
export function bodyFetch(
|
|
58
|
-
return __awaiter(this,
|
|
57
|
+
export function bodyFetch(url_1, sendData_1, processFn_1) {
|
|
58
|
+
return __awaiter(this, arguments, void 0, function* (url, sendData, processFn, method = 'POST') {
|
|
59
59
|
const myHeaders = new Headers();
|
|
60
60
|
myHeaders.append('Content-Type', 'application/json');
|
|
61
61
|
let parsedJson;
|
|
@@ -85,8 +85,8 @@ export function bodyFetch(url, sendData, processFn, method = 'POST') {
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
export function paramFetch(
|
|
89
|
-
return __awaiter(this,
|
|
88
|
+
export function paramFetch(url_1, sendData_1, processFn_1) {
|
|
89
|
+
return __awaiter(this, arguments, void 0, function* (url, sendData, processFn, method = 'POST') {
|
|
90
90
|
const myHeaders = new Headers();
|
|
91
91
|
let sendParam = '';
|
|
92
92
|
for (const key in sendData) {
|