- Enhanced the `ScreenManagementService` to include updates for V2 layouts in the `screen_layouts_v2` table. - Implemented logic to remap `screenId`, `targetScreenId`, `modalScreenId`, and other related IDs in layout data. - Added logging for the number of layouts updated in both V1 and V2, improving traceability of the update process. - This update ensures that screen references are correctly maintained across different layout versions, enhancing the overall functionality of the screen management system.
18 lines
496 B
TypeScript
18 lines
496 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
|
|
export interface ActionTabProps {
|
|
config: any;
|
|
onChange: (key: string, value: any) => void;
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
/**
|
|
* 동작 탭: 클릭 이벤트, 네비게이션, 모달 열기, 확인 다이얼로그 등 동작 설정
|
|
* 실제 UI는 메인 ButtonConfigPanel에서 렌더링 후 children으로 전달
|
|
*/
|
|
export const ActionTab: React.FC<ActionTabProps> = ({ children }) => {
|
|
return <div className="space-y-4">{children}</div>;
|
|
};
|