/* * Copyright (c) 2024-2025 Huawei Device Co., Ltd. * 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. */ /** * @file * @kit ArkUI * @arkts 1.2 */ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { memo, ComponentBuilder, __memo_context_type, __memo_id_type } from './../stateManagement/runtime' import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions } from './units' import { FontStyle, FontWeight, BorderStyle } from './enums' import { Resource } from './../../../api/global/resource' export enum SecurityComponentLayoutDirection { HORIZONTAL = 0, VERTICAL = 1 } export interface SecurityComponentMethod { @memo iconSize(value: Dimension): this; @memo layoutDirection(value: SecurityComponentLayoutDirection): this; @memo position(value: Position): this; @memo markAnchor(value: Position): this; @memo offset(value: Position | Edges | LocalizedEdges): this; @memo fontSize(value: Dimension): this; @memo fontStyle(value: FontStyle): this; @memo fontWeight(value: number | FontWeight | string): this; @memo fontFamily(value: string | Resource): this; @memo fontColor(value: ResourceColor): this; @memo iconColor(value: ResourceColor): this; @memo backgroundColor(value: ResourceColor): this; @memo borderStyle(value: BorderStyle): this; @memo borderWidth(value: Dimension): this; @memo borderColor(value: ResourceColor): this; @memo borderRadius(value: Dimension): this; @memo padding(value: Padding | Dimension): this; @memo textIconSpace(value: Dimension): this; @memo key(value: string): this; @memo width(value: Length): this; @memo height(value: Length): this; @memo size(value: SizeOptions): this; @memo constraintSize(value: ConstraintSizeOptions): this; }