• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15/**
16 * @file
17 * @kit ArkUI
18 * @arkts 1.2
19 */
20
21
22// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION!
23
24import { memo, ComponentBuilder, __memo_context_type, __memo_id_type } from './../stateManagement/runtime'
25import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions } from './units'
26import { FontStyle, FontWeight, BorderStyle } from './enums'
27import { Resource } from './../../../api/global/resource'
28export enum SecurityComponentLayoutDirection {
29    HORIZONTAL = 0,
30    VERTICAL = 1
31}
32export interface SecurityComponentMethod {
33    @memo
34    iconSize(value: Dimension): this;
35    @memo
36    layoutDirection(value: SecurityComponentLayoutDirection): this;
37    @memo
38    position(value: Position): this;
39    @memo
40    markAnchor(value: Position): this;
41    @memo
42    offset(value: Position | Edges | LocalizedEdges): this;
43    @memo
44    fontSize(value: Dimension): this;
45    @memo
46    fontStyle(value: FontStyle): this;
47    @memo
48    fontWeight(value: number | FontWeight | string): this;
49    @memo
50    fontFamily(value: string | Resource): this;
51    @memo
52    fontColor(value: ResourceColor): this;
53    @memo
54    iconColor(value: ResourceColor): this;
55    @memo
56    backgroundColor(value: ResourceColor): this;
57    @memo
58    borderStyle(value: BorderStyle): this;
59    @memo
60    borderWidth(value: Dimension): this;
61    @memo
62    borderColor(value: ResourceColor): this;
63    @memo
64    borderRadius(value: Dimension): this;
65    @memo
66    padding(value: Padding | Dimension): this;
67    @memo
68    textIconSpace(value: Dimension): this;
69    @memo
70    key(value: string): this;
71    @memo
72    width(value: Length): this;
73    @memo
74    height(value: Length): this;
75    @memo
76    size(value: SizeOptions): this;
77    @memo
78    constraintSize(value: ConstraintSizeOptions): this;
79}
80