* Copyright (c) Huawei Device Co., Ltd. 2024-2025. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const formLayoutInfo: iFormLayout = {
formLayoutDimension1X2:
{
id: 0,
layout: '1X2',
name: '1X2',
row: 1,
column: 2,
area: [1, 2],
checked: false
},
formLayoutDimension2X2:
{
id: 1,
layout: '2X2',
name: '2X2',
row: 2,
column: 2,
checked: false
},
formLayoutDimension2X4:
{
id: 2,
layout: '2X4',
name: '2X4',
row: 2,
column: 4,
checked: false
},
formLayoutDimension4X4:
{
id: 3,
layout: '4X4',
name: '4X4',
row: 4,
column: 4,
checked: false
}
};
export interface iFormLayout {
formLayoutDimension1X2: iFormInfo,
formLayoutDimension2X2: iFormInfo,
formLayoutDimension2X4: iFormInfo,
formLayoutDimension4X4: iFormInfo
}
export interface iFormInfo {
id: number,
layout: string,
name: string,
row: number,
column: number,
area?: number[],
checked: boolean
}