@daeryun/dr_components 0.2.75 → 0.2.77

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 (57) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/BrochureBtn/BrochureBtn.d.ts +0 -1
  3. package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +5 -6
  4. package/dist/components/BrochureBtn/MedicalBrochureBtn.d.ts +0 -1
  5. package/dist/components/Fix/Fix.stories.d.ts +2 -3
  6. package/dist/components/Footer/TopBtn.d.ts +0 -1
  7. package/dist/components/MapSection/Map.d.ts +0 -1
  8. package/dist/components/MapSection/MapSection.d.ts +1 -1
  9. package/dist/components/Mark/Mark.d.ts +0 -1
  10. package/dist/components/SelectBox/SelectBox.d.ts +8 -8
  11. package/dist/components/Seo/SeoStrength.stories.d.ts +0 -1
  12. package/dist/components/ViewMoreSection/SearchIcon.d.ts +0 -1
  13. package/dist/components/banner/TopBanner.d.ts +0 -1
  14. package/dist/components/banner/TopBanner.stories.d.ts +0 -1
  15. package/dist/components/categoryView/CategoryComponent.d.ts +1 -1
  16. package/dist/components/page/Choice/Choice.d.ts +1 -1
  17. package/dist/components/page/MyCase/[id]/_component/ContactInfo.d.ts +0 -1
  18. package/dist/components/page/MyCase/[id]/_component/DetailInfo.d.ts +0 -1
  19. package/dist/components/page/MyCase/[id]/_component/TimeLine.d.ts +0 -1
  20. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.d.ts +0 -1
  21. package/dist/components/page/MyCase/[id]/_component/_document/Document.d.ts +0 -1
  22. package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.d.ts +0 -1
  23. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.d.ts +0 -1
  24. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.jsx +10 -10
  25. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +10 -10
  26. package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.d.ts +0 -1
  27. package/dist/components/page/MyCase/[id]/_component/_modal/ModalCotainer.d.ts +0 -1
  28. package/dist/components/page/MyCase/[id]/_component/_textarea/TextArea.d.ts +0 -1
  29. package/dist/components/page/MyCase/_actions/action.d.ts +2 -2
  30. package/dist/components/page/MyCase/_component/CaseAppContainer.d.ts +0 -1
  31. package/dist/components/page/MyCase/_component/CasePageContainer.d.ts +0 -1
  32. package/dist/components/page/MyCase/_component/_button/Badge.d.ts +0 -1
  33. package/dist/components/page/MyCase/_component/_button/SubColor1Button.d.ts +1 -2
  34. package/dist/components/page/MyCase/_component/_button/SubMenuButton.d.ts +1 -2
  35. package/dist/components/page/MyCase/_component/_empty/EmptyTable.d.ts +1 -2
  36. package/dist/components/page/MyCase/_component/_layout/CaseLayout.d.ts +3 -4
  37. package/dist/components/page/MyCase/_component/_layout/HeaderLayout.d.ts +0 -1
  38. package/dist/components/page/MyCase/_component/_layout/IntroWrapper.d.ts +6 -7
  39. package/dist/components/page/MyCase/_component/_loading/Loading.d.ts +0 -1
  40. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentApp.d.ts +1 -1
  41. package/dist/components/page/MyCase/_component/_pagination/PaginationComponentPage.d.ts +1 -1
  42. package/dist/components/page/MyCase/_component/_table/CaseTable.d.ts +0 -1
  43. package/dist/components/page/MyCase/_component/_table/CaseTableMo.d.ts +0 -1
  44. package/dist/components/page/MyCase/_component/_table/CaseTableMoBox.d.ts +0 -1
  45. package/dist/components/page/MyCase/_component/_table/CaseTableMoPage.d.ts +0 -1
  46. package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +1 -1
  47. package/dist/components/page/MyCase/_fetchers/getCase.js +1 -1
  48. package/dist/components/page/MyCase/_fetchers/getCaseList.js +1 -1
  49. package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +1 -1
  50. package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +1 -1
  51. package/dist/components/page/MyCase/_fetchers/getMyFileList.js +1 -1
  52. package/dist/components/page/MyCase/_fetchers/getTimeLine.js +1 -1
  53. package/dist/components/page/Strength/Strength.d.ts +0 -1
  54. package/dist/lib/utils.js +4 -4
  55. package/dist/styles/globals.css +133 -133
  56. package/dist/tsconfig.tsbuildinfo +1 -1
  57. package/package.json +9 -8
@@ -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] sm-top:rounded-[32px] sm-top:p-[52px] absolute h-full max-h-[568px] w-[calc(100%-40px)] overflow-y-auto rounded-[16px] border border-solid p-[32px] lg:h-full lg:max-h-[1000px] lg:w-full lg:max-w-[1000px] "
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] h-[16px] w-[16px] cursor-pointer lg:h-[24px] lg:w-[24px]"
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] mt-[12px]">
58
- <p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 max-sm-top:hidden text-black">
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 text-black">
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="sm-top:gap-[8px] flex flex-row items-center justify-center gap-[4px]">
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] mt-[12px] lg:mt-[18px]">
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] mt-[21px] lg:mt-[16px]'
111
- : 'sm-top:mt-[55px] mt-[50px] lg:mt-[53px]'
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={`sm-top:h-[60px] sm-top:w-full sm-top:rounded-[8px] flex h-[48px] w-full items-center justify-center rounded-[4px] lg:h-[72px] lg:w-[896px] lg:rounded-[16px] ${
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 () => {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const CaseInquiryConfirmModal: ({ isOpen, onClose, id, refetch }: {
3
2
  isOpen: boolean;
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ModalContainerProps {
3
2
  isOpen: boolean;
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const TextArea: ({ placeholder, value, onChange, isCheck }: {
3
2
  placeholder: string;
4
3
  value: string;
@@ -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-core/build/legacy/hydration-k2LfsAVL").aj | undefined) => Promise<import("@tanstack/query-core/build/legacy/hydration-k2LfsAVL").aA<FetchType<Question[]>, Error>>;
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/build/legacy/types").UseMutateAsyncFunction<FetchType<Question[]>, Error, void, unknown>;
33
+ mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FetchType<Question[]>, Error, void, unknown>;
34
34
  isLoading: boolean;
35
35
  };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const CaseContainer: () => import("react").JSX.Element;
3
2
  export default CaseContainer;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const CaseContainer: () => import("react").JSX.Element;
3
2
  export default CaseContainer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const buttonStyle: {
3
2
  사건접수: string;
4
3
  사건검토: string;
@@ -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 | undefined;
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 | undefined;
5
+ outerClassName?: string;
7
6
  }) => import("react").JSX.Element;
8
7
  export default SubMenuButton;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare const EmptyTable: ({ tap, subTap, isMinHeight }: {
3
2
  tap: string;
4
3
  subTap: number;
5
- isMinHeight?: boolean | undefined;
4
+ isMinHeight?: boolean;
6
5
  }) => import("react").JSX.Element;
7
6
  export default EmptyTable;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const CaseLayout: ({ outerClassName, innerClassName, children, isMobilePadding }: {
3
- outerClassName?: string | undefined;
4
- innerClassName?: string | undefined;
2
+ outerClassName?: string;
3
+ innerClassName?: string;
5
4
  children: React.ReactNode;
6
- isMobilePadding?: boolean | undefined;
5
+ isMobilePadding?: boolean;
7
6
  }) => import("react").JSX.Element;
8
7
  export default CaseLayout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const HeaderLayout: ({ children }: {
3
2
  children: React.ReactNode;
4
3
  }) => import("react").JSX.Element;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { StaticImageData } from 'next/image';
3
2
  declare const IntroWrapper: ({ backgroundImage, backgroundImageTb, backgroundImageMo, outerClassName, title, subTitle }: {
4
- backgroundImage?: string | StaticImageData | undefined;
5
- backgroundImageTb?: string | StaticImageData | undefined;
6
- backgroundImageMo?: string | StaticImageData | undefined;
7
- outerClassName?: string | undefined;
8
- title?: string | undefined;
9
- subTitle?: string | undefined;
3
+ backgroundImage?: string | StaticImageData;
4
+ backgroundImageTb?: string | StaticImageData;
5
+ backgroundImageMo?: string | StaticImageData;
6
+ outerClassName?: string;
7
+ title?: string;
8
+ subTitle?: string;
10
9
  }) => import("react").JSX.Element;
11
10
  export default IntroWrapper;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Loading: () => import("react").JSX.Element;
3
2
  export default Loading;
@@ -5,6 +5,6 @@ declare const PaginationComponent: (props: {
5
5
  current: number;
6
6
  total: number;
7
7
  pageSize: number;
8
- marginY?: number | undefined;
8
+ marginY?: number;
9
9
  }) => React.JSX.Element;
10
10
  export default PaginationComponent;
@@ -5,6 +5,6 @@ declare const PaginationComponent: (props: {
5
5
  current: number;
6
6
  total: number;
7
7
  pageSize: number;
8
- marginY?: number | undefined;
8
+ marginY?: number;
9
9
  }) => React.JSX.Element;
10
10
  export default PaginationComponent;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Case } from '../../_type/type';
3
2
  declare const CaseTable: ({ list, totalLength, pageSize, pageNumber, onChange }: {
4
3
  list: Case[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Case } from '../../_type/type';
3
2
  declare const CaseTableMo: ({ list, totalLength, pageSize, pageNumber, onChange }: {
4
3
  list: Case[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Case } from '../../_type/type';
3
2
  declare const CaseTableMoBox: ({ item }: {
4
3
  item: Case;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Case } from '../../_type/type';
3
2
  declare const CaseTableMoPage: ({ list, totalLength, pageSize, pageNumber, onChange }: {
4
3
  list: Case[];
@@ -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 = ({ jwt, id, content }) => __awaiter(void 0, void 0, void 0, function* () {
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 = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
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 = ({ jwt, size, state, page }) => __awaiter(void 0, void 0, void 0, function* () {
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 = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
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 = ({ jwt, id, page, size }) => __awaiter(void 0, void 0, void 0, function* () {
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 = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
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 = ({ jwt, id }) => __awaiter(void 0, void 0, void 0, function* () {
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',
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IInitialDataTypes } from '../../common';
3
2
  declare const Strength: ({ initialData }: {
4
3
  initialData: IInitialDataTypes;
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(url, sendData, processFn, method = 'POST') {
58
- return __awaiter(this, void 0, void 0, function* () {
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(url, sendData, processFn, method = 'POST') {
89
- return __awaiter(this, void 0, void 0, function* () {
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) {