feat: EditModal에서 채번 규칙 할당 로직 병렬 처리 최적화
- allocateCode 호출 시 Promise.all을 사용하여 여러 채번 필드를 병렬로 처리하도록 개선하였습니다. - 채번 규칙 할당 실패 시 사용자에게 명확한 오류 메시지를 제공하도록 로깅을 강화하였습니다. - 코드 할당 결과를 보다 효율적으로 처리하여 성능을 향상시켰습니다.
This commit is contained in:
@@ -544,3 +544,28 @@ export const LEGACY_TO_V2_MAP: Record<string, V2ComponentType> = {
|
||||
// Button (Input의 버튼 모드)
|
||||
"button-primary": "V2Input",
|
||||
};
|
||||
|
||||
// ===== 조건부 레이어 시스템 =====
|
||||
|
||||
/**
|
||||
* 레이어 조건 설정
|
||||
* 특정 필드값에 따라 레이어 활성화 여부를 결정
|
||||
*/
|
||||
export interface LayerCondition {
|
||||
field: string; // 트리거 필드 (columnName 또는 탭ID)
|
||||
operator: "=" | "!=" | "in" | "notIn" | "isEmpty" | "isNotEmpty";
|
||||
value: string | string[]; // 비교값
|
||||
}
|
||||
|
||||
/**
|
||||
* 레이어 설정
|
||||
* 특정 조건이 충족될 때 표시되는 컴포넌트들의 그룹
|
||||
*/
|
||||
export interface LayerConfig {
|
||||
layerId: string; // 고유 ID
|
||||
layerName: string; // 표시명 (설정용)
|
||||
conditions: LayerCondition[]; // 조건 목록
|
||||
conditionLogic?: "AND" | "OR"; // 조건 조합 방식 (기본: AND)
|
||||
targetComponents: string[]; // 표시할 컴포넌트 ID 목록
|
||||
alwaysVisible?: boolean; // 항상 표시 (조건 무시)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user