ERP-node/frontend/lib/registry/layouts/card-layout/config.ts

69 lines
1.3 KiB
TypeScript

/**
* card-layout 기본 설정
*/
export const Card-layoutLayoutConfig = {
defaultConfig: {
card-layout: {
// TODO: 레이아웃 전용 설정 정의
// 예시:
// spacing: 16,
// orientation: "vertical",
// allowResize: true,
},
},
defaultZones: [
{
id: "zone1",
name: "존 1",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone2",
name: "존 2",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone3",
name: "존 3",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone4",
name: "존 4",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone5",
name: "존 5",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone6",
name: "존 6",
position: {},
size: { width: "100%", height: "100%" },
}
],
// 설정 스키마 (검증용)
configSchema: {
type: "object",
properties: {
card-layout: {
type: "object",
properties: {
// TODO: 설정 스키마 정의
},
additionalProperties: false,
},
},
required: ["card-layout"],
},
};