From b6ed76f243687be3c4171ada577fad171733f31e Mon Sep 17 00:00:00 2001 From: kjs Date: Mon, 19 Jan 2026 16:51:08 +0900 Subject: [PATCH] =?UTF-8?q?V2=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8?= =?UTF-8?q?=EB=A1=9C=EC=9D=98=20=EC=A0=84=ED=99=98=20=EB=B0=8F=20=EA=B8=B0?= =?UTF-8?q?=EC=A1=B4=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=88=A8?= =?UTF-8?q?=EA=B9=80=20=EC=B2=98=EB=A6=AC:=20ComponentsPanel=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EA=B8=B0=EC=A1=B4=20=EC=BB=B4=ED=8F=AC=EB=84=8C?= =?UTF-8?q?=ED=8A=B8=EB=A5=BC=20V2=20=EB=B2=84=EC=A0=84=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EB=8C=80=EC=B2=B4=ED=95=98=EA=B3=A0,=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=EB=93=A4=EC=9D=84=20?= =?UTF-8?q?=ED=8C=A8=EB=84=90=EC=97=90=EC=84=9C=20=EC=88=A8=EA=B9=80=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=ED=95=98=EC=97=AC=20=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=ED=9A=A8=EC=9C=A8=EC=84=B1=EC=9D=84=20=EB=86=92=EC=98=80?= =?UTF-8?q?=EC=8A=B5=EB=8B=88=EB=8B=A4.=20=EA=B0=81=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=EC=9D=98=20=EC=A0=95=EC=9D=98=EC=97=90=20'hi?= =?UTF-8?q?dden'=20=EC=86=8D=EC=84=B1=EC=9D=84=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=ED=95=98=EC=97=AC=20V2=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8?= =?UTF-8?q?=20=EC=82=AC=EC=9A=A9=EC=9D=84=20=EB=AA=85=EC=8B=9C=ED=95=98?= =?UTF-8?q?=EC=98=80=EC=8A=B5=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screen/panels/ComponentsPanel.tsx | 23 +++++++++++++++++-- .../components/aggregation-widget/index.ts | 1 + .../components/button-primary/index.ts | 1 + .../registry/components/card-display/index.ts | 1 + .../registry/components/divider-line/index.ts | 1 + .../location-swap-selector/index.ts | 1 + .../components/numbering-rule/index.ts | 1 + .../pivot-grid/PivotGridRenderer.tsx | 1 + .../components/rack-structure/index.ts | 1 + .../components/repeat-container/index.ts | 1 + .../components/repeat-screen-modal/index.ts | 1 + .../registry/components/section-card/index.ts | 1 + .../components/section-paper/index.ts | 1 + .../components/split-panel-layout/index.ts | 1 + .../registry/components/table-list/index.ts | 1 + .../components/table-search-widget/index.tsx | 1 + .../components/tabs/tabs-component.tsx | 2 ++ .../registry/components/text-display/index.ts | 1 + .../components/unified-repeater/index.ts | 3 +++ 19 files changed, 42 insertions(+), 2 deletions(-) diff --git a/frontend/components/screen/panels/ComponentsPanel.tsx b/frontend/components/screen/panels/ComponentsPanel.tsx index 5e929933..2bc4a214 100644 --- a/frontend/components/screen/panels/ComponentsPanel.tsx +++ b/frontend/components/screen/panels/ComponentsPanel.tsx @@ -58,11 +58,11 @@ export function ComponentsPanel({ // unified-biz 제거 - 개별 컴포넌트(flow-widget, rack-structure, numbering-rule)로 직접 표시 // unified-hierarchy 제거 - 현재 미사용 { - id: "unified-repeater", + id: "v2-unified-repeater", name: "리피터 그리드", description: "행 단위로 데이터를 추가/수정/삭제", category: "data" as ComponentCategory, - tags: ["repeater", "table", "modal", "button", "unified"], + tags: ["repeater", "table", "modal", "button", "unified", "v2"], defaultSize: { width: 600, height: 300 }, }, ] as ComponentDefinition[], @@ -113,6 +113,25 @@ export function ComponentsPanel({ "selected-items-detail-input", // 연관 데이터 버튼 - unified-repeater로 대체 가능 "related-data-buttons", + // ===== V2로 대체된 기존 컴포넌트 (v2 버전만 사용) ===== + "button-primary", // → v2-button-primary + "split-panel-layout", // → v2-split-panel-layout + "aggregation-widget", // → v2-aggregation-widget + "card-display", // → v2-card-display + "table-list", // → v2-table-list + "text-display", // → v2-text-display + "divider-line", // → v2-divider-line + "numbering-rule", // → v2-numbering-rule + "section-paper", // → v2-section-paper + "section-card", // → v2-section-card + "location-swap-selector", // → v2-location-swap-selector + "rack-structure", // → v2-rack-structure + "unified-repeater", // → v2-unified-repeater (아래 unifiedComponents에서 별도 처리) + "repeat-container", // → v2-repeat-container + "repeat-screen-modal", // → v2-repeat-screen-modal + "pivot-grid", // → v2-pivot-grid + "table-search-widget", // → v2-table-search-widget + "tabs", // → v2-tabs ]; return { diff --git a/frontend/lib/registry/components/aggregation-widget/index.ts b/frontend/lib/registry/components/aggregation-widget/index.ts index 97ad5f27..27c99b24 100644 --- a/frontend/lib/registry/components/aggregation-widget/index.ts +++ b/frontend/lib/registry/components/aggregation-widget/index.ts @@ -35,6 +35,7 @@ export const AggregationWidgetDefinition = createComponentDefinition({ tags: ["집계", "합계", "평균", "개수", "통계", "데이터"], version: "1.0.0", author: "개발팀", + hidden: true, // v2-aggregation-widget 사용으로 패널에서 숨김 }); // 타입 내보내기 diff --git a/frontend/lib/registry/components/button-primary/index.ts b/frontend/lib/registry/components/button-primary/index.ts index 7710c338..cd938f77 100644 --- a/frontend/lib/registry/components/button-primary/index.ts +++ b/frontend/lib/registry/components/button-primary/index.ts @@ -36,6 +36,7 @@ export const ButtonPrimaryDefinition = createComponentDefinition({ version: "1.0.0", author: "개발팀", documentation: "https://docs.example.com/components/button-primary", + hidden: true, // v2-button-primary 사용으로 패널에서 숨김 }); // 컴포넌트는 ButtonPrimaryRenderer에서 자동 등록됩니다 diff --git a/frontend/lib/registry/components/card-display/index.ts b/frontend/lib/registry/components/card-display/index.ts index 1caab621..8ffc862b 100644 --- a/frontend/lib/registry/components/card-display/index.ts +++ b/frontend/lib/registry/components/card-display/index.ts @@ -45,6 +45,7 @@ export const CardDisplayDefinition = createComponentDefinition({ author: "개발팀", documentation: "테이블 데이터를 카드 형태로 표시하는 컴포넌트입니다. 레이아웃과 다르게 컴포넌트로서 재사용 가능하며, 다양한 설정이 가능합니다.", + hidden: true, // v2-card-display 사용으로 패널에서 숨김 }); // 컴포넌트는 CardDisplayRenderer에서 자동 등록됩니다 diff --git a/frontend/lib/registry/components/divider-line/index.ts b/frontend/lib/registry/components/divider-line/index.ts index 61f02c36..c9f3291e 100644 --- a/frontend/lib/registry/components/divider-line/index.ts +++ b/frontend/lib/registry/components/divider-line/index.ts @@ -31,6 +31,7 @@ export const DividerLineDefinition = createComponentDefinition({ version: "1.0.0", author: "Developer", documentation: "https://docs.example.com/components/divider-line", + hidden: true, // v2-divider-line 사용으로 패널에서 숨김 }); // 타입 내보내기 diff --git a/frontend/lib/registry/components/location-swap-selector/index.ts b/frontend/lib/registry/components/location-swap-selector/index.ts index 7f7447cf..2fef4f8d 100644 --- a/frontend/lib/registry/components/location-swap-selector/index.ts +++ b/frontend/lib/registry/components/location-swap-selector/index.ts @@ -49,6 +49,7 @@ export const LocationSwapSelectorDefinition = createComponentDefinition({ tags: ["출발지", "도착지", "교환", "스왑", "위치", "모바일"], version: "1.0.0", author: "개발팀", + hidden: true, // v2-location-swap-selector 사용으로 패널에서 숨김 }); // 컴포넌트 내보내기 diff --git a/frontend/lib/registry/components/numbering-rule/index.ts b/frontend/lib/registry/components/numbering-rule/index.ts index 6399ab2a..6503efb6 100644 --- a/frontend/lib/registry/components/numbering-rule/index.ts +++ b/frontend/lib/registry/components/numbering-rule/index.ts @@ -31,6 +31,7 @@ export const NumberingRuleDefinition = createComponentDefinition({ version: "1.0.0", author: "개발팀", documentation: "코드 자동 채번 규칙을 설정합니다. 접두사, 날짜, 순번 등을 조합하여 고유한 코드를 생성할 수 있습니다.", + hidden: true, // v2-numbering-rule 사용으로 패널에서 숨김 }); // 타입 내보내기 diff --git a/frontend/lib/registry/components/pivot-grid/PivotGridRenderer.tsx b/frontend/lib/registry/components/pivot-grid/PivotGridRenderer.tsx index 08b21369..5ee4bac6 100644 --- a/frontend/lib/registry/components/pivot-grid/PivotGridRenderer.tsx +++ b/frontend/lib/registry/components/pivot-grid/PivotGridRenderer.tsx @@ -267,6 +267,7 @@ const PivotGridDefinition = createComponentDefinition({ version: "1.0.0", author: "개발팀", documentation: "", + hidden: true, // v2-pivot-grid 사용으로 패널에서 숨김 }); /** diff --git a/frontend/lib/registry/components/rack-structure/index.ts b/frontend/lib/registry/components/rack-structure/index.ts index a84cc4c6..bfa97b6d 100644 --- a/frontend/lib/registry/components/rack-structure/index.ts +++ b/frontend/lib/registry/components/rack-structure/index.ts @@ -55,6 +55,7 @@ formData에서 다음 필드를 자동으로 읽어옵니다: - location_type / locationType: 위치 유형 - status: 사용 여부 `, + hidden: true, // v2-rack-structure 사용으로 패널에서 숨김 }); // 타입 내보내기 diff --git a/frontend/lib/registry/components/repeat-container/index.ts b/frontend/lib/registry/components/repeat-container/index.ts index 11dab964..962e5504 100644 --- a/frontend/lib/registry/components/repeat-container/index.ts +++ b/frontend/lib/registry/components/repeat-container/index.ts @@ -46,6 +46,7 @@ export const RepeatContainerDefinition = createComponentDefinition({ tags: ["리피터", "반복", "컨테이너", "데이터", "레이아웃", "그리드"], version: "1.0.0", author: "개발팀", + hidden: true, // v2-repeat-container 사용으로 패널에서 숨김 }); // 타입 내보내기 diff --git a/frontend/lib/registry/components/repeat-screen-modal/index.ts b/frontend/lib/registry/components/repeat-screen-modal/index.ts index c4534029..4d60ecad 100644 --- a/frontend/lib/registry/components/repeat-screen-modal/index.ts +++ b/frontend/lib/registry/components/repeat-screen-modal/index.ts @@ -89,6 +89,7 @@ export const RepeatScreenModalDefinition = createComponentDefinition({ tags: ["모달", "폼", "반복", "카드", "그룹핑", "집계", "테이블", "편집", "데이터", "출하계획", "일괄등록", "자유레이아웃"], version: "3.0.0", author: "개발팀", + hidden: true, // v2-repeat-screen-modal 사용으로 패널에서 숨김 }); // 타입 재 export diff --git a/frontend/lib/registry/components/section-card/index.ts b/frontend/lib/registry/components/section-card/index.ts index b93c9d85..d43e225c 100644 --- a/frontend/lib/registry/components/section-card/index.ts +++ b/frontend/lib/registry/components/section-card/index.ts @@ -33,6 +33,7 @@ export const SectionCardDefinition = createComponentDefinition({ tags: ["섹션", "그룹", "카드", "컨테이너", "제목", "card"], version: "1.0.0", author: "WACE", + hidden: true, // v2-section-card 사용으로 패널에서 숨김 }); // 컴포넌트는 SectionCardRenderer에서 자동 등록됩니다 diff --git a/frontend/lib/registry/components/section-paper/index.ts b/frontend/lib/registry/components/section-paper/index.ts index 91e8c5c5..92b4ba34 100644 --- a/frontend/lib/registry/components/section-paper/index.ts +++ b/frontend/lib/registry/components/section-paper/index.ts @@ -30,6 +30,7 @@ export const SectionPaperDefinition = createComponentDefinition({ tags: ["섹션", "그룹", "배경", "컨테이너", "색종이", "paper"], version: "1.0.0", author: "WACE", + hidden: true, // v2-section-paper 사용으로 패널에서 숨김 }); // 컴포넌트는 SectionPaperRenderer에서 자동 등록됩니다 diff --git a/frontend/lib/registry/components/split-panel-layout/index.ts b/frontend/lib/registry/components/split-panel-layout/index.ts index 3771ac65..3b6c65e5 100644 --- a/frontend/lib/registry/components/split-panel-layout/index.ts +++ b/frontend/lib/registry/components/split-panel-layout/index.ts @@ -48,6 +48,7 @@ export const SplitPanelLayoutDefinition = createComponentDefinition({ version: "1.0.0", author: "개발팀", documentation: "https://docs.example.com/components/split-panel-layout", + hidden: true, // v2-split-panel-layout 사용으로 패널에서 숨김 }); // 컴포넌트는 SplitPanelLayoutRenderer에서 자동 등록됩니다 diff --git a/frontend/lib/registry/components/table-list/index.ts b/frontend/lib/registry/components/table-list/index.ts index 34da1fb6..aff8c75b 100644 --- a/frontend/lib/registry/components/table-list/index.ts +++ b/frontend/lib/registry/components/table-list/index.ts @@ -51,6 +51,7 @@ export const TableListDefinition = createComponentDefinition({ autoWidth: true, stickyHeader: false, + hidden: true, // v2-table-list 사용으로 패널에서 숨김 // 가로 스크롤 및 컬럼 고정 설정 horizontalScroll: { enabled: true, diff --git a/frontend/lib/registry/components/table-search-widget/index.tsx b/frontend/lib/registry/components/table-search-widget/index.tsx index 2ab3b882..d243830f 100644 --- a/frontend/lib/registry/components/table-search-widget/index.tsx +++ b/frontend/lib/registry/components/table-search-widget/index.tsx @@ -33,6 +33,7 @@ ComponentRegistry.registerComponent({ configPanel: TableSearchWidgetConfigPanel, version: "1.0.0", author: "WACE", + hidden: true, // v2-table-search-widget 사용으로 패널에서 숨김 }); export { TableSearchWidget } from "./TableSearchWidget"; diff --git a/frontend/lib/registry/components/tabs/tabs-component.tsx b/frontend/lib/registry/components/tabs/tabs-component.tsx index 654a22ef..b90c2a76 100644 --- a/frontend/lib/registry/components/tabs/tabs-component.tsx +++ b/frontend/lib/registry/components/tabs/tabs-component.tsx @@ -55,6 +55,8 @@ ComponentRegistry.registerComponent({ width: 800, height: 600, }, + + hidden: true, // v2-tabs-widget 사용으로 패널에서 숨김 defaultProps: { type: "tabs" as const, diff --git a/frontend/lib/registry/components/text-display/index.ts b/frontend/lib/registry/components/text-display/index.ts index a80537bf..89f71580 100644 --- a/frontend/lib/registry/components/text-display/index.ts +++ b/frontend/lib/registry/components/text-display/index.ts @@ -34,6 +34,7 @@ export const TextDisplayDefinition = createComponentDefinition({ version: "1.0.0", author: "개발팀", documentation: "https://docs.example.com/components/text-display", + hidden: true, // v2-text-display 사용으로 패널에서 숨김 }); // 타입 내보내기 diff --git a/frontend/lib/registry/components/unified-repeater/index.ts b/frontend/lib/registry/components/unified-repeater/index.ts index 24d5b5d2..b6a57fb8 100644 --- a/frontend/lib/registry/components/unified-repeater/index.ts +++ b/frontend/lib/registry/components/unified-repeater/index.ts @@ -92,6 +92,9 @@ export const UnifiedRepeaterDefinition = createComponentDefinition({ // 설정 패널 configPanel: UnifiedRepeaterConfigPanel, + + // v2-unified-repeater 사용으로 패널에서 숨김 + hidden: true, }); export default UnifiedRepeaterDefinition;