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