ERP-node/frontend/lib/registry/components/split-panel-layout2/config.ts

58 lines
1.3 KiB
TypeScript
Raw Normal View History

/**
* SplitPanelLayout2
*/
import { SplitPanelLayout2Config } from "./types";
/**
*
*/
export const defaultConfig: Partial<SplitPanelLayout2Config> = {
leftPanel: {
title: "목록",
tableName: "",
displayColumns: [],
showSearch: true,
showAddButton: false,
},
rightPanel: {
title: "상세",
tableName: "",
displayColumns: [],
showSearch: true,
showAddButton: true,
addButtonLabel: "추가",
showEditButton: true,
showDeleteButton: true,
displayMode: "card",
emptyMessage: "좌측에서 항목을 선택해주세요",
},
joinConfig: {
leftColumn: "",
rightColumn: "",
},
dataTransferFields: [],
splitRatio: 30,
resizable: true,
minLeftWidth: 250,
minRightWidth: 400,
autoLoad: true,
};
/**
*
*/
export const componentMeta = {
id: "split-panel-layout2",
name: "분할 패널 레이아웃 v2",
nameEng: "Split Panel Layout v2",
description: "마스터-디테일 패턴의 좌우 분할 레이아웃 (데이터 전달 기능 포함)",
category: "layout",
webType: "container",
icon: "LayoutPanelLeft",
tags: ["레이아웃", "분할", "마스터", "디테일", "패널", "부서", "사원"],
version: "2.0.0",
author: "개발팀",
};