feat: Implement layer activation and data transfer enhancements

- Added support for force-activated layer IDs in ScreenViewPage, allowing layers to be activated based on data events.
- Introduced ScreenContextProvider in ScreenModal and EditModal to manage screen-specific data and context.
- Enhanced V2Repeater to register as a DataReceiver, enabling automatic data handling and integration with ScreenContext.
- Improved ButtonPrimaryComponent to support automatic target component discovery and layer activation for data transfers.
- Updated various components to streamline data handling and improve user experience during data transfers and layer management.
This commit is contained in:
kjs
2026-02-25 17:40:17 +09:00
parent 55cbd8778a
commit 863ec614f4
12 changed files with 487 additions and 81 deletions
+1
View File
@@ -181,6 +181,7 @@ export interface V2RepeaterConfig {
// 컴포넌트 Props
export interface V2RepeaterProps {
config: V2RepeaterConfig;
componentId?: string; // ScreenContext DataReceiver 등록용
parentId?: string | number; // 부모 레코드 ID
data?: any[]; // 초기 데이터 (없으면 API로 로드)
onDataChange?: (data: any[]) => void;