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

62 lines
1.1 KiB
TypeScript
Raw Normal View History

2025-09-10 18:36:28 +09:00
/**
* card-layout
*/
export const CardLayoutConfig = {
2025-09-10 18:36:28 +09:00
defaultConfig: {
"card-layout": {
2025-09-10 18:36:28 +09:00
},
},
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": {
2025-09-10 18:36:28 +09:00
type: "object",
properties: {
},
additionalProperties: false,
},
},
required: ["card-layout"],
},
};