From a263ec0961bc475b8bc1797ef8360d36116e5871 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Thu, 27 Mar 2025 15:24:09 +0900 Subject: [PATCH 1/3] =?UTF-8?q?selectbox1=20val=20=ED=83=80=EC=9E=85=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20alert=5Fdialog=5Fui=20=EB=B0=8F=20dialog?= =?UTF-8?q?=5Fui=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/ui/{alert_dialog_ui => dialog_ui}/index.tsx | 0 packages/common/business_components/src/ui/select/index.tsx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/common/business_components/src/ui/{alert_dialog_ui => dialog_ui}/index.tsx (100%) diff --git a/packages/common/business_components/src/ui/alert_dialog_ui/index.tsx b/packages/common/business_components/src/ui/dialog_ui/index.tsx similarity index 100% rename from packages/common/business_components/src/ui/alert_dialog_ui/index.tsx rename to packages/common/business_components/src/ui/dialog_ui/index.tsx diff --git a/packages/common/business_components/src/ui/select/index.tsx b/packages/common/business_components/src/ui/select/index.tsx index 1f1294666..c7fbc5ef0 100644 --- a/packages/common/business_components/src/ui/select/index.tsx +++ b/packages/common/business_components/src/ui/select/index.tsx @@ -5,7 +5,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from ". /** 차트 기본 스타일 */ interface SelectBox1 { text:string, - val:string + val:string|number } const SelectBox = React.forwardRef< From 4856e7fc17433b4bbe9c1bd4be1e477c7863b838 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Thu, 27 Mar 2025 15:38:03 +0900 Subject: [PATCH 2/3] =?UTF-8?q?index=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/common/business_components/src/ui/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/business_components/src/ui/index.ts b/packages/common/business_components/src/ui/index.ts index e224086a0..c3022740d 100644 --- a/packages/common/business_components/src/ui/index.ts +++ b/packages/common/business_components/src/ui/index.ts @@ -16,4 +16,4 @@ export * from "./search_form_right"; export * from "./table_div"; export * from "./list_div"; export * from "./tab"; -export * from "./alert_dialog_ui" \ No newline at end of file +export * from "./dialog_ui" \ No newline at end of file From 4667e535e98e5fb7ddd36db4b504a336971582ba Mon Sep 17 00:00:00 2001 From: leedj312 Date: Thu, 27 Mar 2025 16:10:20 +0900 Subject: [PATCH 3/3] =?UTF-8?q?select=20val=20type=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/business_components/src/ui/select/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/common/business_components/src/ui/select/index.tsx b/packages/common/business_components/src/ui/select/index.tsx index c7fbc5ef0..b03932256 100644 --- a/packages/common/business_components/src/ui/select/index.tsx +++ b/packages/common/business_components/src/ui/select/index.tsx @@ -15,8 +15,8 @@ const SelectBox = React.forwardRef< selectClass:string|undefined, className:string, selectArray:SelectBox1[], - onSelectValue:(val:string)=>void, - value?: string + onSelectValue:(val:string|number)=>void, + value?: string|number } >(({ label, className, selectClass, selectArray, onSelectValue, value }, ref)=>{ const placeHolder = selectArray?.[0]?.text ?? ""; @@ -24,13 +24,13 @@ const SelectBox = React.forwardRef< return (
{label && } - {selectArray.map((selectArray) => ( - {selectArray.text} + {selectArray.text} ))}