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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user