diff --git a/apps/fo/AGENTS.md b/apps/fo/AGENTS.md new file mode 100644 index 000000000..7eefb1676 --- /dev/null +++ b/apps/fo/AGENTS.md @@ -0,0 +1,38 @@ +## Project +This repository contains a Next.js web application. + +Main technologies: +- Next.js +- TypeScript +- pnpm workspace +- turborepo + +이 저장소는 pnpm workspace + Turborepo 기반 monorepo이다. + +- 워크스페이스 범위는 `apps/*`, `apps/common/*`, `packages/*`, `packages/common/*` +- 루트 스크립트는 `turbo run build`, `turbo run dev` 를 사용한다 +- `build` 작업은 의존 패키지의 `build` 를 먼저 수행한다 (`dependsOn: ["^build"]`) +- `dev` 는 캐시하지 않는 지속 실행 작업이다 +- 변경 범위만 선택 실행할 수 있으므로, 전체 빌드보다 `--filter` 사용을 우선한다 + +## Encoding +- UTF-8 +- 한글이 깨지지 않도록 주의할 것 + +## 주석 comment +- 한글 주석을 삭제하지 말 것 + +## Monorepo structure +apps/ + _template + as + cm + cs + dc + dm + dm_new + fo + sn + st + wr + diff --git a/apps/wr/app/(with-layout)/matMng/coMat/coMatRvw/page.tsx b/apps/wr/app/(with-layout)/matMng/coMat/coMatRvw/page.tsx index 0551b07a2..bcc168aac 100644 --- a/apps/wr/app/(with-layout)/matMng/coMat/coMatRvw/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMat/coMatRvw/page.tsx @@ -21,7 +21,7 @@ import { getdmdMatFlag, tableData, yearOptions, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import ConCostForm from "@/components/ui/form/coMat/conCostForm/conCostForm"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { @@ -750,3 +750,4 @@ export default function CoMatRvw() { ); } + diff --git a/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx b/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx index d315b2c25..edda29ac6 100644 --- a/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx @@ -3,7 +3,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { ruseUtzType } from "@/app/store/matDmd/ruseCaseMng/headList"; -import { excelDownload, getCity } from "@/components/lib/func/commom"; +import { excelDownload, getCity } from "@/components/lib/func/common"; import RuseCaseMngExcel from "@/components/ui/modal/coMat/ruseCaseMng/ruseCaseMngExcelModal"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { @@ -354,3 +354,4 @@ export default function RuseCaseMng() { ); } + diff --git a/apps/wr/app/(with-layout)/matMng/coMat/ruseRvwHstry/page.tsx b/apps/wr/app/(with-layout)/matMng/coMat/ruseRvwHstry/page.tsx index 782becca9..46f4e9ded 100644 --- a/apps/wr/app/(with-layout)/matMng/coMat/ruseRvwHstry/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMat/ruseRvwHstry/page.tsx @@ -10,7 +10,7 @@ import { getdmdMatFlag, tableData, yearOptions, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -349,3 +349,4 @@ export default function RuseRvwHstry() { ); } + diff --git a/apps/wr/app/(with-layout)/matMng/coMng/coSttn/page.tsx b/apps/wr/app/(with-layout)/matMng/coMng/coSttn/page.tsx index 85d9ef635..86e72ea7f 100644 --- a/apps/wr/app/(with-layout)/matMng/coMng/coSttn/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMng/coSttn/page.tsx @@ -10,7 +10,7 @@ import { formatPhoneNumber, getCity, tableData, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -364,3 +364,4 @@ export default function CoSttn() { ); } + diff --git a/apps/wr/app/(with-layout)/matMng/coMng/drgtSttn/page.tsx b/apps/wr/app/(with-layout)/matMng/coMng/drgtSttn/page.tsx index b4ca64268..1509e2081 100644 --- a/apps/wr/app/(with-layout)/matMng/coMng/drgtSttn/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMng/drgtSttn/page.tsx @@ -3,7 +3,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import type { customDrgt } from "@/app/store/matDmd/drgtSttn"; import { drgtHeadListExport } from "@/app/store/matDmd/drgtSttn/headList"; -import { getCity } from "@/components/lib/func/commom"; +import { getCity } from "@/components/lib/func/common"; import DrgtDetailModal from "@/components/ui/modal/coMat/drgtDetailModal"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, DateMonthPicker, downloadExcel, SearchDiv, SearchFormLeft, SearchFormRight, SelectBox, UiModal, UiTable, type SelectDataType } from "@common/business_components/ui"; @@ -297,3 +297,4 @@ export default function DrgtSttn() { ) } + diff --git a/apps/wr/app/(with-layout)/matMng/coMng/ldrmntCoSttn/page.tsx b/apps/wr/app/(with-layout)/matMng/coMng/ldrmntCoSttn/page.tsx index 13b596b5c..6279d9987 100644 --- a/apps/wr/app/(with-layout)/matMng/coMng/ldrmntCoSttn/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMng/ldrmntCoSttn/page.tsx @@ -9,7 +9,7 @@ import { excelDownload, getCity, tableData -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import CoRegExcel from "@/components/ui/modal/coReg/coRegExcel/coRegExcelModal"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import CoDetailModal from "@/components/ui/modal/sttn/sttnDetailModal/coDatailModal"; @@ -295,3 +295,4 @@ export default function LdrmntCoSttn() { ) } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx index 92abc7d24..acc44571f 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/htdflReg/page.tsx @@ -3,7 +3,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import type { customHtdflBdst } from "@/app/store/ruseFcltMng/fcltReg/htdflReg"; -import { formatArchArea, tableData } from "@/components/lib/func/commom"; +import { formatArchArea, tableData } from "@/components/lib/func/common"; import HtdflRegForm from "@/components/ui/form/fcltReg/htdflReg/htdflRegForm"; import { BdstReg } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { @@ -189,3 +189,4 @@ export default function Home() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx index 7b8cf9427..87dff04fd 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx @@ -30,7 +30,7 @@ import { btnClass } from "@/app/store/common/code"; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@common/components"; import { useCallback, useEffect, useRef, useState } from "react"; import ListDiv from "@common/business_components/ui/list_div"; -import { confirmToast, tableData } from "@/components/lib/func/commom"; +import { confirmToast, tableData } from "@/components/lib/func/common"; import type { customPbnst, fcBizType, @@ -476,3 +476,4 @@ export default function PublicReuseFaciltyInsert() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx index ae6554b34..9dd14c844 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rainReg/page.tsx @@ -1,11 +1,11 @@ -"use client"; +"use client"; import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { rainRegSize, type customRainBdst, } from "@/app/store/ruseFcltMng/fcltReg/rainReg"; -import { formatArchArea, tableData } from "@/components/lib/func/commom"; +import { formatArchArea, tableData } from "@/components/lib/func/common"; import RainRegForm from "@/components/ui/form/fcltReg/rainReg/rainRegForm"; import { BdstReg } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { @@ -205,3 +205,4 @@ export default function Home() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx index 1c7f38926..ec2c7eda8 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/rswtReg/page.tsx @@ -1,11 +1,11 @@ -"use client"; +"use client"; import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { rswtRegSize, type customRswtBdst, } from "@/app/store/ruseFcltMng/fcltReg/rswtReg"; -import { formatArchArea, tableData } from "@/components/lib/func/commom"; +import { formatArchArea, tableData } from "@/components/lib/func/common"; import RswtrRegForm from "@/components/ui/form/fcltReg/rswtrReg/rswtrRegForm"; import { BdstReg } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { @@ -208,3 +208,4 @@ export default function Home() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx index c17b7dca8..1eb3fdbdb 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx @@ -14,7 +14,7 @@ import { formatCommaNumber, getCity, tableData -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import HeadChModal from "@/components/ui/modal/sttn/headChModal/headChModal"; @@ -279,3 +279,4 @@ export default function HtdflSttn() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx index ecedeb426..185af81b9 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx @@ -13,7 +13,7 @@ import { btnClass } from "@/app/store/common/code"; import { prfRegPageSize } from "@/app/store/prfmncReg/pbnstPrfmncReg"; import type { customPbnst } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg/type"; import type { WaterReuseFacility } from "@/app/store/ruseFcltMng/fcltSttn/pbnstSttn/type"; -import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/commom"; +import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import HeadChModal from "@/components/ui/modal/sttn/headChModal/headChModal"; import { PbnstSttnModal } from "@/components/ui/modal/sttn/pbnstSttnModal/pbnstSttnModal"; @@ -273,3 +273,4 @@ export default function PbnstSttn() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx index 750491f8d..781b418fa 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx @@ -12,7 +12,7 @@ import { excelDownloadNumStyle, getCity, tableData, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import HeadChModal from "@/components/ui/modal/sttn/headChModal/headChModal"; @@ -322,3 +322,4 @@ export default function RainSttn() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx index 0392c8f3f..8ddd0cc7c 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx @@ -12,7 +12,7 @@ import { formatCommaNumber, getCity, tableData -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import HeadChModal from "@/components/ui/modal/sttn/headChModal/headChModal"; @@ -282,3 +282,4 @@ export default function RswtSttn() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/chkgdnReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/chkgdnReg/page.tsx index 767bc8beb..28f1e01b2 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/chkgdnReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/chkgdnReg/page.tsx @@ -15,7 +15,7 @@ import { excelArrayDownload, excelDownload, yearOptions, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import ChkgdExcel from "@/components/ui/modal/chkgd/chkgdExcel/chkgdExcel"; import ChkgdModal from "@/components/ui/modal/chkgd/chkgdModal/chkgdModal"; import RainChkgdTable from "@/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable"; @@ -439,3 +439,4 @@ export default function Page() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx index 8f093fea9..4261ab657 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx @@ -14,7 +14,7 @@ import { confirmToast, excelDownload, yearOptions, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { InputTableBody } from "@/components/lib/func/TableData"; import PbnPrfExcelModal from "@/components/ui/modal/chkgd/pbnPrfExcelModal/pbnPrfExcelModal"; import { @@ -386,3 +386,4 @@ export default function PrfmncPrfmncReg() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/chkgdnSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/chkgdnSttn/page.tsx index b5ba8cfff..7d4dc1221 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/chkgdnSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/chkgdnSttn/page.tsx @@ -4,7 +4,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { rainPageSize } from "@/app/store/prfmncReg/chkgdnReg/rainChkgdn"; import { rswtPageSize } from "@/app/store/prfmncReg/chkgdnReg/rswrtChkgdn"; -import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/commom"; +import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import ChkgdModal from "@/components/ui/modal/chkgd/chkgdModal/chkgdModal"; import RainChkgdTable from "@/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable"; @@ -146,13 +146,14 @@ export default function Page() { toast.error(t("excelDownErrMsg")); return; } + // console.log(rainChkSttn.sttnExcelList); const sheetArray: SheetParameter[] = [{ data: rainChkSttn.sttnExcelList, headerNum: 2, headerRange: "A1:Q2", sheetName: 'sheet1', startCol: 'A', - decimalArray0: [5,6,7,9,10,11,12,13,16], // 0부터 시작 + decimalArray0: [5,6,9,10,11,12,13,16], // 0부터 시작 }]; excelDownloadNumStyle( "빗물이용시설 지도점검 현황", @@ -310,3 +311,4 @@ export default function Page() { ); } + diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx index 8165c834d..0754b656f 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx @@ -4,7 +4,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { initValInUsage, initValOutUsage, subTotalObj, totalObj, type FcPrfType, type PrfType } from "@/app/store/prfmncReg/pbnstPrfmncReg/type"; import { excelPrfmncSttnParsing } from "@/app/store/prfmncSttn/pbnstPrfmncSttn/excel"; -import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/commom"; +import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import { InputTableBody } from "@/components/lib/func/TableData"; import { CHART_FORM, ContentsDiv, MainChart, ScrollArea, SearchBaseForm, SearchInput, SelectBox, UiTable, type ChartConfig, type ReturnType } from "@common/business_components"; @@ -727,3 +727,4 @@ export default function PbnstPrfmncSttn() { ) } + diff --git a/apps/wr/app/(with-layout)/stats/rainStat/page.tsx b/apps/wr/app/(with-layout)/stats/rainStat/page.tsx index 2cf0585be..72d339d24 100644 --- a/apps/wr/app/(with-layout)/stats/rainStat/page.tsx +++ b/apps/wr/app/(with-layout)/stats/rainStat/page.tsx @@ -3,7 +3,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import type { RainStatProps } from "@/app/store/stats/rainStat"; -import { excelDownloadNumStyle, tableData, yearOptions } from "@/components/lib/func/commom"; +import { excelDownloadNumStyle, tableData, yearOptions } from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import { downloadExcelFormat } from "@common/business_components"; @@ -293,3 +293,4 @@ export default function RainStat() { ); } + diff --git a/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx b/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx index a2b62fc6a..026c27a62 100644 --- a/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx +++ b/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx @@ -2,7 +2,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import type { RswtStatProps } from "@/app/store/stats/rswtStat"; -import { excelDownloadNumStyle, tableData, yearOptions } from "@/components/lib/func/commom"; +import { excelDownloadNumStyle, tableData, yearOptions } from "@/components/lib/func/common"; import { type SheetParameter } from "@common/business_components/ui"; import { downloadExcelFormat } from "@common/business_components"; import { @@ -302,3 +302,4 @@ export default function RswtStat() { ); } + diff --git a/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx b/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx index 2a4150a30..c9f3fe4f3 100644 --- a/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx +++ b/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx @@ -7,7 +7,7 @@ import { parseRawValue, } from "@/components/lib/func/excelFunc"; import toast from "react-hot-toast"; -import { codeToText, textToCode } from "@/components/lib/func/commom"; +import { codeToText, textToCode } from "@/components/lib/func/common"; export const useTypes = [ "조경용수", "청소화장실용수", @@ -242,3 +242,4 @@ export const excelToRainChkData = (excelData: any, year: string) => { return { rainChkgdData, issues: [] }; }; + diff --git a/apps/wr/app/store/prfmncReg/chkgdnReg/rswrtChkgdn/excel.tsx b/apps/wr/app/store/prfmncReg/chkgdnReg/rswrtChkgdn/excel.tsx index 5edba24b5..fe2d87bc3 100644 --- a/apps/wr/app/store/prfmncReg/chkgdnReg/rswrtChkgdn/excel.tsx +++ b/apps/wr/app/store/prfmncReg/chkgdnReg/rswrtChkgdn/excel.tsx @@ -11,7 +11,7 @@ import { useTypes, type Buildingtype } from "../rainChkgdn/excel"; -import { codeToText, textToCode } from "@/components/lib/func/commom"; +import { codeToText, textToCode } from "@/components/lib/func/common"; export const rswtMakeExcelSample = ( buildings: Buildingtype[], @@ -355,3 +355,4 @@ export const rswtExcelDataCheck = ( } }); }; + diff --git a/apps/wr/components/lib/func/TableData.tsx b/apps/wr/components/lib/func/TableData.tsx index 0c613bed0..54c669b86 100644 --- a/apps/wr/components/lib/func/TableData.tsx +++ b/apps/wr/components/lib/func/TableData.tsx @@ -14,7 +14,7 @@ import { formatCommaNumber, formatYyyymmdd, handleCommaNumberChange -} from "./commom"; +} from "./common"; export const rainChkTableData = (chkData: rainChkZodType[]) => { // 1. chkgdnSn + utztnUsgCd 기준 누계 정보 만들기 @@ -470,3 +470,4 @@ export const InputTableBody = ( ); }; + diff --git a/apps/wr/components/lib/func/commom.tsx b/apps/wr/components/lib/func/common.tsx similarity index 100% rename from apps/wr/components/lib/func/commom.tsx rename to apps/wr/components/lib/func/common.tsx diff --git a/apps/wr/components/lib/func/mapUtil.ts b/apps/wr/components/lib/func/mapUtil.ts index c49dea69f..61b97a679 100644 --- a/apps/wr/components/lib/func/mapUtil.ts +++ b/apps/wr/components/lib/func/mapUtil.ts @@ -1,4 +1,4 @@ -import { formatCommaNumber, formatPhoneNumber } from "./commom"; +import { formatCommaNumber, formatPhoneNumber } from "./common"; const wrLayerList = [ { text: "tb_il_swage_prcs_fclt", val: "bscFctCd" }, //하수처리시설 @@ -229,3 +229,4 @@ export const getOverLayObj = (fclType: string, data: any, code?: any) => { return { title, newObj }; }; + diff --git a/apps/wr/components/ui/form/fcltReg/bdstReg/bdstAdd.tsx b/apps/wr/components/ui/form/fcltReg/bdstReg/bdstAdd.tsx index df5aaca77..b644112b3 100644 --- a/apps/wr/components/ui/form/fcltReg/bdstReg/bdstAdd.tsx +++ b/apps/wr/components/ui/form/fcltReg/bdstReg/bdstAdd.tsx @@ -4,7 +4,7 @@ import { useWrStore } from "@/app/store"; import { numSize } from "@/app/store/common/code/basicCode"; import { selectClass } from "@/app/store/ruseFcltMng/fcltReg/rainReg"; import { formH1Class } from "@/components/lib/class/comClass"; -import { safeDate } from "@/components/lib/func/commom"; +import { safeDate } from "@/components/lib/func/common"; import { DatePicker, FormField, FormUi, SelectBox } from "@common/business_components"; import { Button, Checkbox, Input } from "@common/components"; import { useRef, useState } from "react"; @@ -154,4 +154,4 @@ export default function BdstAdd({ form, readonly }: { form: any; readonly?: bool
) -} \ No newline at end of file +} diff --git a/apps/wr/components/ui/form/fcltReg/htdflReg/htdflRegForm.tsx b/apps/wr/components/ui/form/fcltReg/htdflReg/htdflRegForm.tsx index 72ec5e7e7..55e01174c 100644 --- a/apps/wr/components/ui/form/fcltReg/htdflReg/htdflRegForm.tsx +++ b/apps/wr/components/ui/form/fcltReg/htdflReg/htdflRegForm.tsx @@ -13,7 +13,7 @@ import { formatCommaNumber, handleCommaNumberChange, handleOnlyNumberChange, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { Form, FormField, @@ -922,3 +922,4 @@ export default function HtdflRegForm({ ); } + diff --git a/apps/wr/components/ui/form/fcltReg/pbnstReg/buseReg/bugRegForm.tsx b/apps/wr/components/ui/form/fcltReg/pbnstReg/buseReg/bugRegForm.tsx index 1fffe2cdb..d2281cdd6 100644 --- a/apps/wr/components/ui/form/fcltReg/pbnstReg/buseReg/bugRegForm.tsx +++ b/apps/wr/components/ui/form/fcltReg/pbnstReg/buseReg/bugRegForm.tsx @@ -32,7 +32,7 @@ import { formatCommaNumber, handleCommaNumberChange, safeDate, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import SearchInputText from "@/components/ui/searchInput/searchInput"; import SdmInsertForm from "@common/business_components/ui/sdmInsertForm"; import type { DemandCompType } from "@common/business_components/ui/sdmInsertForm/form"; @@ -815,3 +815,4 @@ export function PbnstBuseForm({ ); } + diff --git a/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegForm.tsx b/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegForm.tsx index d4e7fe940..eef115a5c 100644 --- a/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegForm.tsx +++ b/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegForm.tsx @@ -28,7 +28,7 @@ import RuseMngTableForm from "@/components/ui/table/pbnstReg/ruseMngTableForm/ru import { handleCommaNumberChange, formatCommaNumber, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { numSize, txtSize } from "@/app/store/common/code/basicCode"; export type FilesType = { atflCd: string; @@ -518,3 +518,4 @@ export function PbnstMngForm({ ); } + diff --git a/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegFormDetail/mngRegFormDetail.tsx b/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegFormDetail/mngRegFormDetail.tsx index 554f66daf..4d2f2b904 100644 --- a/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegFormDetail/mngRegFormDetail.tsx +++ b/apps/wr/components/ui/form/fcltReg/pbnstReg/mngReg/mngRegFormDetail/mngRegFormDetail.tsx @@ -3,7 +3,7 @@ import { useWrStore } from "@/app/store"; import { numSize, txtSize } from "@/app/store/common/code/basicCode"; import type { formDetailType } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg/headList"; import { formH1Class } from "@/components/lib/class/comClass"; -import { formatCommaNumber, handleCommaNumberChange, safeDate } from "@/components/lib/func/commom"; +import { formatCommaNumber, handleCommaNumberChange, safeDate } from "@/components/lib/func/common"; import { DatePicker, FormField, @@ -138,3 +138,4 @@ export default function MngRegFormDetail({ ); } + diff --git a/apps/wr/components/ui/form/fcltReg/rainReg/rainRegForm.tsx b/apps/wr/components/ui/form/fcltReg/rainReg/rainRegForm.tsx index f2a9d2f6d..ab941f3b0 100644 --- a/apps/wr/components/ui/form/fcltReg/rainReg/rainRegForm.tsx +++ b/apps/wr/components/ui/form/fcltReg/rainReg/rainRegForm.tsx @@ -11,7 +11,7 @@ import { confirmToast, formatCommaNumber, handleMinusNumberChange, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { DatePicker, FormUi } from "@common/business_components"; import { Form, FormField, SelectBox } from "@common/business_components/ui"; import { Button, Input } from "@common/components/ui"; @@ -643,3 +643,4 @@ export default function RainRegForm({ ); } + diff --git a/apps/wr/components/ui/form/fcltReg/rswtrReg/rswtrRegForm.tsx b/apps/wr/components/ui/form/fcltReg/rswtrReg/rswtrRegForm.tsx index 95b4915be..6363474d4 100644 --- a/apps/wr/components/ui/form/fcltReg/rswtrReg/rswtrRegForm.tsx +++ b/apps/wr/components/ui/form/fcltReg/rswtrReg/rswtrRegForm.tsx @@ -11,7 +11,7 @@ import { confirmToast, formatCommaNumber, handleMinusNumberChange, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { DatePicker, Form, @@ -539,3 +539,4 @@ export default function RswtrRegForm({ ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/CoSttnMap/CoSttnMap.tsx b/apps/wr/components/ui/map/LayerPopUp/CoSttnMap/CoSttnMap.tsx index 13e928506..d73007764 100644 --- a/apps/wr/components/ui/map/LayerPopUp/CoSttnMap/CoSttnMap.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/CoSttnMap/CoSttnMap.tsx @@ -4,7 +4,7 @@ import { formatPhoneNumber, getCity, tableData, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -193,3 +193,4 @@ export function CoSttnMap({ ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/HasuFacilty/HasuFacility.tsx b/apps/wr/components/ui/map/LayerPopUp/HasuFacilty/HasuFacility.tsx index dfeeed2ea..067723ccf 100644 --- a/apps/wr/components/ui/map/LayerPopUp/HasuFacilty/HasuFacility.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/HasuFacilty/HasuFacility.tsx @@ -2,7 +2,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { pbnMapTableSize } from "@/app/store/map/pbnstMap"; import type { pubHasuType } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg/type"; -import { excelDownload, tableData } from "@/components/lib/func/commom"; +import { excelDownload, tableData } from "@/components/lib/func/common"; import { ContentsDiv, SearchBaseForm, @@ -132,3 +132,4 @@ export function HasuFacility({rtnFeature}:{rtnFeature:(feature:any)=>void } ) { ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/HedfFacilty/HtdfFacilty.tsx b/apps/wr/components/ui/map/LayerPopUp/HedfFacilty/HtdfFacilty.tsx index 0e30572f8..f10574148 100644 --- a/apps/wr/components/ui/map/LayerPopUp/HedfFacilty/HtdfFacilty.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/HedfFacilty/HtdfFacilty.tsx @@ -6,7 +6,7 @@ import { excelDownload, getCity, tableData, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -250,3 +250,4 @@ export function HtdflFacility({ ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/LdrmntCoMap/LdrmntCoMap.tsx b/apps/wr/components/ui/map/LayerPopUp/LdrmntCoMap/LdrmntCoMap.tsx index 56e42368f..f9f85d86a 100644 --- a/apps/wr/components/ui/map/LayerPopUp/LdrmntCoMap/LdrmntCoMap.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/LdrmntCoMap/LdrmntCoMap.tsx @@ -1,7 +1,7 @@ import { useWrStore } from "@/app/store"; import { ldrmntMapSize } from "@/app/store/map/ldrmntCoMap"; import type { customLdrmnt } from "@/app/store/matDmd/ldrmntCoSttn"; -import { getCity, tableData } from "@/components/lib/func/commom"; +import { getCity, tableData } from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -187,3 +187,4 @@ export function LdrmntCoMap({ ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/PbnFacility/reuseMngFacility.tsx b/apps/wr/components/ui/map/LayerPopUp/PbnFacility/reuseMngFacility.tsx index 9030493ff..1f3a90dcd 100644 --- a/apps/wr/components/ui/map/LayerPopUp/PbnFacility/reuseMngFacility.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/PbnFacility/reuseMngFacility.tsx @@ -1,5 +1,5 @@ import { useWrStore } from '@/app/store'; -import { tableData, formatPhoneNumber } from '@/components/lib/func/commom'; +import { tableData, formatPhoneNumber } from '@/components/lib/func/common'; import { Title, UiTable } from '@common/business_components/ui'; import type { DemandCompType } from '@common/business_components/ui/sdmInsertForm/form'; import moment from 'moment'; @@ -100,4 +100,4 @@ const ReuseMngFacility = ({seletectedLayerNm, viewMode, onFeatureSelect, onClose ) } -export default ReuseMngFacility \ No newline at end of file +export default ReuseMngFacility diff --git a/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx b/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx index 09ff83774..a980712e9 100644 --- a/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx @@ -1,7 +1,7 @@ import { useWrStore } from "@/app/store"; import { rainMapSize } from "@/app/store/map/rainMap"; import type { customRainBdst } from "@/app/store/ruseFcltMng/fcltReg/rainReg"; -import { excelDownload, getCity, tableData } from "@/components/lib/func/commom"; +import { excelDownload, getCity, tableData } from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -264,3 +264,4 @@ export function RainFacility({ ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/RswtFacilty/RswtFacilty.tsx b/apps/wr/components/ui/map/LayerPopUp/RswtFacilty/RswtFacilty.tsx index 5c3c238d6..6cad8f105 100644 --- a/apps/wr/components/ui/map/LayerPopUp/RswtFacilty/RswtFacilty.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/RswtFacilty/RswtFacilty.tsx @@ -1,7 +1,7 @@ import { useWrStore } from "@/app/store"; import { rainMapSize } from "@/app/store/map/rainMap"; import type { customRswtBdst } from "@/app/store/ruseFcltMng/fcltReg/rswtReg"; -import { excelDownload, getCity, tableData } from "@/components/lib/func/commom"; +import { excelDownload, getCity, tableData } from "@/components/lib/func/common"; import type { objSearchType } from "@/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal"; import { ContentsDiv, @@ -251,3 +251,4 @@ export function RswtFacility({ ); } + diff --git a/apps/wr/components/ui/map/LayerPopUp/RuseFacilty/RuseFacility.tsx b/apps/wr/components/ui/map/LayerPopUp/RuseFacilty/RuseFacility.tsx index 231667898..59a8fcc57 100644 --- a/apps/wr/components/ui/map/LayerPopUp/RuseFacilty/RuseFacility.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/RuseFacilty/RuseFacility.tsx @@ -2,7 +2,7 @@ import { useWrStore } from "@/app/store"; import { btnClass } from "@/app/store/common/code"; import { ruseMapSize } from "@/app/store/map/ruseMap"; import type { WaterReuseFacility } from "@/app/store/ruseFcltMng/fcltSttn/pbnstSttn/type"; -import { excelDownload, yearOptions } from "@/components/lib/func/commom"; +import { excelDownload, yearOptions } from "@/components/lib/func/common"; import { ContentsDiv, SearchBaseForm, @@ -181,3 +181,4 @@ export function RuseFacility({ ); } + diff --git a/apps/wr/components/ui/modal/chkgd/chkgdExcel/chkgdExcel.tsx b/apps/wr/components/ui/modal/chkgd/chkgdExcel/chkgdExcel.tsx index 4b84491a2..ea0060a28 100644 --- a/apps/wr/components/ui/modal/chkgd/chkgdExcel/chkgdExcel.tsx +++ b/apps/wr/components/ui/modal/chkgd/chkgdExcel/chkgdExcel.tsx @@ -8,7 +8,7 @@ import { excelToRswtPolution, rswtExcelDataCheck, } from "@/app/store/prfmncReg/chkgdnReg/rswrtChkgdn/excel"; -import { showConfirmToast } from "@/components/lib/func/commom"; +import { showConfirmToast } from "@/components/lib/func/common"; import { filePicked, filePickedArray, @@ -296,3 +296,4 @@ export default function ChkgdExcel({ ); } + diff --git a/apps/wr/components/ui/modal/chkgd/chkgdModal/chkgdModal.tsx b/apps/wr/components/ui/modal/chkgd/chkgdModal/chkgdModal.tsx index d6f0e3a26..4545100ab 100644 --- a/apps/wr/components/ui/modal/chkgd/chkgdModal/chkgdModal.tsx +++ b/apps/wr/components/ui/modal/chkgd/chkgdModal/chkgdModal.tsx @@ -2,7 +2,7 @@ import { useWrStore } from "@/app/store"; import type { TableUpperProps } from "@/app/store/common/type/header"; import type { splRuseWaterType } from "@/app/store/prfmncReg/chkgdnReg/rainChkgdn/headList"; import type { rswtrPolutionsZode } from "@/app/store/prfmncReg/chkgdnReg/rswrtChkgdn/headList"; -import { codeToText } from "@/components/lib/func/commom"; +import { codeToText } from "@/components/lib/func/common"; import { GuideDetailsTable } from "@/components/ui/table/chkgdTable/guideDetailTable/guideDetailTable"; import { ScrollArea, Title } from "@common/business_components/ui"; import { Button } from "@common/components/ui"; @@ -358,3 +358,4 @@ export default function ChkgdModal({ ); } + diff --git a/apps/wr/components/ui/modal/chkgd/pbnPrfExcelModal/pbnPrfExcelModal.tsx b/apps/wr/components/ui/modal/chkgd/pbnPrfExcelModal/pbnPrfExcelModal.tsx index 8f2446099..3881e5813 100644 --- a/apps/wr/components/ui/modal/chkgd/pbnPrfExcelModal/pbnPrfExcelModal.tsx +++ b/apps/wr/components/ui/modal/chkgd/pbnPrfExcelModal/pbnPrfExcelModal.tsx @@ -4,7 +4,7 @@ import type { FcPrfType, PrfType, } from "@/app/store/prfmncReg/pbnstPrfmncReg/type"; -import { yearOptions } from "@/components/lib/func/commom"; +import { yearOptions } from "@/components/lib/func/common"; import { FormField, FormUi, @@ -190,3 +190,4 @@ export default function PbnPrfExcelModal({ ); } + diff --git a/apps/wr/components/ui/modal/coMat/ruseCaseMng/ruseCaseMngExcelModal.tsx b/apps/wr/components/ui/modal/coMat/ruseCaseMng/ruseCaseMngExcelModal.tsx index 78cbd30ec..bbcc9497b 100644 --- a/apps/wr/components/ui/modal/coMat/ruseCaseMng/ruseCaseMngExcelModal.tsx +++ b/apps/wr/components/ui/modal/coMat/ruseCaseMng/ruseCaseMngExcelModal.tsx @@ -1,7 +1,7 @@ import { useWrStore } from "@/app/store"; import { coRegExcel } from "@/app/store/matDmd/coSttn/headList"; import { mapAndValidateRow, type ruseCaseMngExcelProps } from "@/app/store/matDmd/ruseCaseMng/excel"; -import { showConfirmToast } from "@/components/lib/func/commom"; +import { showConfirmToast } from "@/components/lib/func/common"; import { useAlertStore } from "@/src/shared/lib"; import { filePicked, Title } from "@common/business_components/ui"; import { Form } from "@common/business_components/ui/form"; @@ -192,3 +192,4 @@ export default function RuseCaseMngExcel({setIsExcelOpen}:{setIsExcelOpen: (isOp ); } + diff --git a/apps/wr/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal.tsx b/apps/wr/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal.tsx index 9d349a6dd..89584ad3d 100644 --- a/apps/wr/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal.tsx +++ b/apps/wr/components/ui/modal/fcltReg/bdstRegModal/bdstRegModal.tsx @@ -6,7 +6,7 @@ import { type customRainBdst, } from "@/app/store/ruseFcltMng/fcltReg/rainReg"; import type { customRswtBdst } from "@/app/store/ruseFcltMng/fcltReg/rswtReg"; -import { tableData } from "@/components/lib/func/commom"; +import { tableData } from "@/components/lib/func/common"; import HtdflRegForm from "@/components/ui/form/fcltReg/htdflReg/htdflRegForm"; import RainRegForm from "@/components/ui/form/fcltReg/rainReg/rainRegForm"; import RswtrRegForm from "@/components/ui/form/fcltReg/rswtrReg/rswtrRegForm"; @@ -255,3 +255,4 @@ export function BdstReg({ ); } + diff --git a/apps/wr/components/ui/modal/fcltReg/fcOrgwtsRegModal/fcOrgwtsRegModal.tsx b/apps/wr/components/ui/modal/fcltReg/fcOrgwtsRegModal/fcOrgwtsRegModal.tsx index 7762e96dc..ac79d761a 100644 --- a/apps/wr/components/ui/modal/fcltReg/fcOrgwtsRegModal/fcOrgwtsRegModal.tsx +++ b/apps/wr/components/ui/modal/fcltReg/fcOrgwtsRegModal/fcOrgwtsRegModal.tsx @@ -4,7 +4,7 @@ import type { pubHasuType, fcOrgwtType, } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg/type"; -import { tableData } from "@/components/lib/func/commom"; +import { tableData } from "@/components/lib/func/common"; import RuseMngTable from "@/components/ui/table/pbnstReg/ruseMngTable/ruseMngTable"; import { Title } from "@common/business_components/ui"; import { Label } from "@common/business_components/ui/form/lib/label"; @@ -201,3 +201,4 @@ export default function FcOrgwtsRegModal({ ); } + diff --git a/apps/wr/components/ui/modal/fcltReg/pbnstRegModal/pbnstRegModal.tsx b/apps/wr/components/ui/modal/fcltReg/pbnstRegModal/pbnstRegModal.tsx index ec79dd42b..d8a9a733e 100644 --- a/apps/wr/components/ui/modal/fcltReg/pbnstRegModal/pbnstRegModal.tsx +++ b/apps/wr/components/ui/modal/fcltReg/pbnstRegModal/pbnstRegModal.tsx @@ -18,7 +18,7 @@ import { PbnstBuseForm } from "@/components/ui/form/fcltReg/pbnstReg/buseReg/bug import { type FieldErrors, type UseFormReturn } from "react-hook-form"; import { writeRgtrAndMdfr } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg"; import type { z } from "zod"; -import { confirmToast } from "@/components/lib/func/commom"; +import { confirmToast } from "@/components/lib/func/common"; import { useTranslation } from "react-i18next"; export function PbnstRegModal({ @@ -114,3 +114,4 @@ export function PbnstRegModal({ ); } + diff --git a/apps/wr/components/ui/modal/sttn/sttnDetailModal/coDatailModal.tsx b/apps/wr/components/ui/modal/sttn/sttnDetailModal/coDatailModal.tsx index b23cad340..15fcdd1e2 100644 --- a/apps/wr/components/ui/modal/sttn/sttnDetailModal/coDatailModal.tsx +++ b/apps/wr/components/ui/modal/sttn/sttnDetailModal/coDatailModal.tsx @@ -3,7 +3,7 @@ import { txtSize } from "@/app/store/common/code/basicCode"; import type { customLdrmnt } from "@/app/store/matDmd/ldrmntCoSttn"; import { ldrmntZod } from "@/app/store/matDmd/ldrmntCoSttn/headList"; import { selectClass } from "@/app/store/ruseFcltMng/fcltReg/rainReg"; -import { formatCommaNumber, handleCommaNumberChange } from "@/components/lib/func/commom"; +import { formatCommaNumber, handleCommaNumberChange } from "@/components/lib/func/common"; import { Form, FormField, FormUi, ScrollArea } from "@common/business_components/ui"; import { Button, Input } from "@common/components/ui"; import { zodResolver } from "@hookform/resolvers/zod"; @@ -877,3 +877,4 @@ export default function CoDetailModal({ ); } + diff --git a/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx b/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx index a8ed0608c..9fb84e205 100644 --- a/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx +++ b/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx @@ -4,7 +4,7 @@ import { useWrStore } from "@/app/store"; import type { TableUpperProps } from "@/app/store/common/type/header"; import { rainPageSize, type rainChkZodType } from "@/app/store/prfmncReg/chkgdnReg/rainChkgdn"; import type { chHeadType } from "@/app/store/prfmncReg/chkgdnReg/rainChkgdn/headList"; -import { codeToText, tableData } from "@/components/lib/func/commom"; +import { codeToText, tableData } from "@/components/lib/func/common"; import { chRowspanTable, rainChkTableData @@ -219,3 +219,4 @@ export default function RainChkgdTable({ ); } + diff --git a/apps/wr/components/ui/table/chkgdTable/rswtChkgd/rswtChkgdTable.tsx b/apps/wr/components/ui/table/chkgdTable/rswtChkgd/rswtChkgdTable.tsx index 3a59edb49..080084f93 100644 --- a/apps/wr/components/ui/table/chkgdTable/rswtChkgd/rswtChkgdTable.tsx +++ b/apps/wr/components/ui/table/chkgdTable/rswtChkgd/rswtChkgdTable.tsx @@ -8,12 +8,12 @@ import { type rswtChkZodType, type rswtrChkDetailsZodType, } from "@/app/store/prfmncReg/chkgdnReg/rswrtChkgdn"; -import { tableData } from "@/components/lib/func/commom"; +import { tableData } from "@/components/lib/func/common"; import { chRowspanTable, rswtChkTableData, } from "@/components/lib/func/TableData"; -import { codeToText } from "@/components/lib/func/commom"; +import { codeToText } from "@/components/lib/func/common"; import UiPageNations from "@common/business_components/ui/table/uiPageNations"; import { Table, TableBody, TableHeader } from "@common/components/ui"; import { useCallback, useEffect, useState } from "react"; @@ -171,3 +171,4 @@ export default function RswtChkgdTable({ ); } + diff --git a/apps/wr/components/ui/table/pbnstReg/ruseMngTableForm/ruseMngTableForm.tsx b/apps/wr/components/ui/table/pbnstReg/ruseMngTableForm/ruseMngTableForm.tsx index fb243010e..298c2bf5e 100644 --- a/apps/wr/components/ui/table/pbnstReg/ruseMngTableForm/ruseMngTableForm.tsx +++ b/apps/wr/components/ui/table/pbnstReg/ruseMngTableForm/ruseMngTableForm.tsx @@ -5,7 +5,7 @@ import { selectClass } from "@/app/store/ruseFcltMng/fcltReg/rainReg"; import { formatCommaNumber, handleCommaNumberChange, -} from "@/components/lib/func/commom"; +} from "@/components/lib/func/common"; import { // DatePicker, @@ -225,3 +225,4 @@ const RuseMngTableForm = React.forwardRef( RuseMngTableForm.displayName = "RuseMngTableForm"; export default RuseMngTableForm; +