161847f8eSopenharmony_ci/*
261847f8eSopenharmony_ci * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
361847f8eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
461847f8eSopenharmony_ci * you may not use this file except in compliance with the License.
561847f8eSopenharmony_ci * You may obtain a copy of the License at
661847f8eSopenharmony_ci *
761847f8eSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
861847f8eSopenharmony_ci *
961847f8eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1061847f8eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1161847f8eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1261847f8eSopenharmony_ci * See the License for the specific language governing permissions and
1361847f8eSopenharmony_ci * limitations under the License.
1461847f8eSopenharmony_ci */
1561847f8eSopenharmony_ci
1661847f8eSopenharmony_ci/**
1761847f8eSopenharmony_ci * @file
1861847f8eSopenharmony_ci * @kit ArkUI
1961847f8eSopenharmony_ci */
2061847f8eSopenharmony_ci
2161847f8eSopenharmony_ci/**
2261847f8eSopenharmony_ci * Column constructor options.
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @interface ColumnOptions
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @crossplatform
2761847f8eSopenharmony_ci * @form
2861847f8eSopenharmony_ci * @atomicservice
2961847f8eSopenharmony_ci * @since 13
3061847f8eSopenharmony_ci */
3161847f8eSopenharmony_ciinterface ColumnOptions {
3261847f8eSopenharmony_ci  /**
3361847f8eSopenharmony_ci   * Vertical layout element spacing
3461847f8eSopenharmony_ci   *
3561847f8eSopenharmony_ci   * @type { ?(string | number) }
3661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
3761847f8eSopenharmony_ci   * @since 7
3861847f8eSopenharmony_ci   */
3961847f8eSopenharmony_ci  /**
4061847f8eSopenharmony_ci   * Vertical layout element spacing.
4161847f8eSopenharmony_ci   *
4261847f8eSopenharmony_ci   * @type { ?(string | number) }
4361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
4461847f8eSopenharmony_ci   * @form
4561847f8eSopenharmony_ci   * @since 9
4661847f8eSopenharmony_ci   */
4761847f8eSopenharmony_ci  /**
4861847f8eSopenharmony_ci   * Vertical layout element spacing.
4961847f8eSopenharmony_ci   *
5061847f8eSopenharmony_ci   * @type { ?(string | number) }
5161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5261847f8eSopenharmony_ci   * @crossplatform
5361847f8eSopenharmony_ci   * @form
5461847f8eSopenharmony_ci   * @since 10
5561847f8eSopenharmony_ci   */
5661847f8eSopenharmony_ci  /**
5761847f8eSopenharmony_ci   * Vertical layout element spacing.
5861847f8eSopenharmony_ci   *
5961847f8eSopenharmony_ci   * @type { ?(string | number) }
6061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6161847f8eSopenharmony_ci   * @crossplatform
6261847f8eSopenharmony_ci   * @form
6361847f8eSopenharmony_ci   * @atomicservice
6461847f8eSopenharmony_ci   * @since 11
6561847f8eSopenharmony_ci   */
6661847f8eSopenharmony_ci  space?: string | number;
6761847f8eSopenharmony_ci}
6861847f8eSopenharmony_ci
6961847f8eSopenharmony_ci/**
7061847f8eSopenharmony_ci * Defines the Column Component.
7161847f8eSopenharmony_ci *
7261847f8eSopenharmony_ci * @interface ColumnInterface
7361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
7461847f8eSopenharmony_ci * @since 7
7561847f8eSopenharmony_ci */
7661847f8eSopenharmony_ci/**
7761847f8eSopenharmony_ci * Defines the Column Component.
7861847f8eSopenharmony_ci *
7961847f8eSopenharmony_ci * @interface ColumnInterface
8061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
8161847f8eSopenharmony_ci * @form
8261847f8eSopenharmony_ci * @since 9
8361847f8eSopenharmony_ci */
8461847f8eSopenharmony_ci/**
8561847f8eSopenharmony_ci * Defines the Column Component.
8661847f8eSopenharmony_ci *
8761847f8eSopenharmony_ci * @interface ColumnInterface
8861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
8961847f8eSopenharmony_ci * @crossplatform
9061847f8eSopenharmony_ci * @form
9161847f8eSopenharmony_ci * @since 10
9261847f8eSopenharmony_ci */
9361847f8eSopenharmony_ci/**
9461847f8eSopenharmony_ci * Defines the Column Component.
9561847f8eSopenharmony_ci *
9661847f8eSopenharmony_ci * @interface ColumnInterface
9761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
9861847f8eSopenharmony_ci * @crossplatform
9961847f8eSopenharmony_ci * @form
10061847f8eSopenharmony_ci * @atomicservice
10161847f8eSopenharmony_ci * @since 11
10261847f8eSopenharmony_ci */
10361847f8eSopenharmony_ciinterface ColumnInterface {
10461847f8eSopenharmony_ci  /**
10561847f8eSopenharmony_ci   * Set the value.
10661847f8eSopenharmony_ci   * useAlign:Use a custom alignment.
10761847f8eSopenharmony_ci   * space: Vertical layout element spacing.
10861847f8eSopenharmony_ci   *
10961847f8eSopenharmony_ci   * @param { object } value
11061847f8eSopenharmony_ci   * @returns { ColumnAttribute }
11161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
11261847f8eSopenharmony_ci   * @since 7
11361847f8eSopenharmony_ci   */
11461847f8eSopenharmony_ci  /**
11561847f8eSopenharmony_ci   * Set the value.
11661847f8eSopenharmony_ci   * useAlign:Use a custom alignment.
11761847f8eSopenharmony_ci   * space: Vertical layout element spacing.
11861847f8eSopenharmony_ci   *
11961847f8eSopenharmony_ci   * @param { object } value
12061847f8eSopenharmony_ci   * @returns { ColumnAttribute }
12161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
12261847f8eSopenharmony_ci   * @form
12361847f8eSopenharmony_ci   * @since 9
12461847f8eSopenharmony_ci   */
12561847f8eSopenharmony_ci  /**
12661847f8eSopenharmony_ci   * Set the value.
12761847f8eSopenharmony_ci   * useAlign:Use a custom alignment.
12861847f8eSopenharmony_ci   * space: Vertical layout element spacing.
12961847f8eSopenharmony_ci   *
13061847f8eSopenharmony_ci   * @param { object } value
13161847f8eSopenharmony_ci   * @returns { ColumnAttribute }
13261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
13361847f8eSopenharmony_ci   * @crossplatform
13461847f8eSopenharmony_ci   * @form
13561847f8eSopenharmony_ci   * @since 10
13661847f8eSopenharmony_ci   */
13761847f8eSopenharmony_ci  /**
13861847f8eSopenharmony_ci   * Set the value.
13961847f8eSopenharmony_ci   * useAlign:Use a custom alignment.
14061847f8eSopenharmony_ci   * space: Vertical layout element spacing.
14161847f8eSopenharmony_ci   *
14261847f8eSopenharmony_ci   * @param { object } value
14361847f8eSopenharmony_ci   * @returns { ColumnAttribute }
14461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
14561847f8eSopenharmony_ci   * @crossplatform
14661847f8eSopenharmony_ci   * @form
14761847f8eSopenharmony_ci   * @atomicservice
14861847f8eSopenharmony_ci   * @since 11
14961847f8eSopenharmony_ci   */
15061847f8eSopenharmony_ci  /**
15161847f8eSopenharmony_ci   * Set the options.
15261847f8eSopenharmony_ci   *
15361847f8eSopenharmony_ci   * @param { ColumnOptions } [options] - column options
15461847f8eSopenharmony_ci   * @returns { ColumnAttribute }
15561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
15661847f8eSopenharmony_ci   * @crossplatform
15761847f8eSopenharmony_ci   * @form
15861847f8eSopenharmony_ci   * @atomicservice
15961847f8eSopenharmony_ci   * @since 13
16061847f8eSopenharmony_ci   */
16161847f8eSopenharmony_ci  (options?: ColumnOptions): ColumnAttribute;
16261847f8eSopenharmony_ci}
16361847f8eSopenharmony_ci
16461847f8eSopenharmony_ci/**
16561847f8eSopenharmony_ci * Defines the Column component attribute functions.
16661847f8eSopenharmony_ci *
16761847f8eSopenharmony_ci * @extends CommonMethod<ColumnAttribute>
16861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
16961847f8eSopenharmony_ci * @since 7
17061847f8eSopenharmony_ci */
17161847f8eSopenharmony_ci/**
17261847f8eSopenharmony_ci * Defines the Column component attribute functions.
17361847f8eSopenharmony_ci *
17461847f8eSopenharmony_ci * @extends CommonMethod<ColumnAttribute>
17561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
17661847f8eSopenharmony_ci * @form
17761847f8eSopenharmony_ci * @since 9
17861847f8eSopenharmony_ci */
17961847f8eSopenharmony_ci/**
18061847f8eSopenharmony_ci * Defines the Column component attribute functions.
18161847f8eSopenharmony_ci *
18261847f8eSopenharmony_ci * @extends CommonMethod<ColumnAttribute>
18361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
18461847f8eSopenharmony_ci * @crossplatform
18561847f8eSopenharmony_ci * @form
18661847f8eSopenharmony_ci * @since 10
18761847f8eSopenharmony_ci */
18861847f8eSopenharmony_ci/**
18961847f8eSopenharmony_ci * Defines the Column component attribute functions.
19061847f8eSopenharmony_ci *
19161847f8eSopenharmony_ci * @extends CommonMethod<ColumnAttribute>
19261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
19361847f8eSopenharmony_ci * @crossplatform
19461847f8eSopenharmony_ci * @form
19561847f8eSopenharmony_ci * @atomicservice
19661847f8eSopenharmony_ci * @since 11
19761847f8eSopenharmony_ci */
19861847f8eSopenharmony_cideclare class ColumnAttribute extends CommonMethod<ColumnAttribute> {
19961847f8eSopenharmony_ci  /**
20061847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the horizontal direction.
20161847f8eSopenharmony_ci   *
20261847f8eSopenharmony_ci   * @param { HorizontalAlign } value
20361847f8eSopenharmony_ci   * @returns { ColumnAttribute }
20461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
20561847f8eSopenharmony_ci   * @since 7
20661847f8eSopenharmony_ci   */
20761847f8eSopenharmony_ci  /**
20861847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the horizontal direction.
20961847f8eSopenharmony_ci   *
21061847f8eSopenharmony_ci   * @param { HorizontalAlign } value
21161847f8eSopenharmony_ci   * @returns { ColumnAttribute }
21261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
21361847f8eSopenharmony_ci   * @form
21461847f8eSopenharmony_ci   * @since 9
21561847f8eSopenharmony_ci   */
21661847f8eSopenharmony_ci  /**
21761847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the horizontal direction.
21861847f8eSopenharmony_ci   *
21961847f8eSopenharmony_ci   * @param { HorizontalAlign } value
22061847f8eSopenharmony_ci   * @returns { ColumnAttribute }
22161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22261847f8eSopenharmony_ci   * @crossplatform
22361847f8eSopenharmony_ci   * @form
22461847f8eSopenharmony_ci   * @since 10
22561847f8eSopenharmony_ci   */
22661847f8eSopenharmony_ci  /**
22761847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the horizontal direction.
22861847f8eSopenharmony_ci   *
22961847f8eSopenharmony_ci   * @param { HorizontalAlign } value
23061847f8eSopenharmony_ci   * @returns { ColumnAttribute }
23161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
23261847f8eSopenharmony_ci   * @crossplatform
23361847f8eSopenharmony_ci   * @form
23461847f8eSopenharmony_ci   * @atomicservice
23561847f8eSopenharmony_ci   * @since 11
23661847f8eSopenharmony_ci   */
23761847f8eSopenharmony_ci  alignItems(value: HorizontalAlign): ColumnAttribute;
23861847f8eSopenharmony_ci
23961847f8eSopenharmony_ci  /**
24061847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the vertical direction.
24161847f8eSopenharmony_ci   *
24261847f8eSopenharmony_ci   * @param { FlexAlign } value
24361847f8eSopenharmony_ci   * @returns { ColumnAttribute }
24461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
24561847f8eSopenharmony_ci   * @since 8
24661847f8eSopenharmony_ci   */
24761847f8eSopenharmony_ci  /**
24861847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the vertical direction.
24961847f8eSopenharmony_ci   *
25061847f8eSopenharmony_ci   * @param { FlexAlign } value
25161847f8eSopenharmony_ci   * @returns { ColumnAttribute }
25261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
25361847f8eSopenharmony_ci   * @form
25461847f8eSopenharmony_ci   * @since 9
25561847f8eSopenharmony_ci   */
25661847f8eSopenharmony_ci  /**
25761847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the vertical direction.
25861847f8eSopenharmony_ci   *
25961847f8eSopenharmony_ci   * @param { FlexAlign } value
26061847f8eSopenharmony_ci   * @returns { ColumnAttribute }
26161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26261847f8eSopenharmony_ci   * @crossplatform
26361847f8eSopenharmony_ci   * @form
26461847f8eSopenharmony_ci   * @since 10
26561847f8eSopenharmony_ci   */
26661847f8eSopenharmony_ci  /**
26761847f8eSopenharmony_ci   * Sets the alignment format of the subassembly in the vertical direction.
26861847f8eSopenharmony_ci   *
26961847f8eSopenharmony_ci   * @param { FlexAlign } value
27061847f8eSopenharmony_ci   * @returns { ColumnAttribute }
27161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
27261847f8eSopenharmony_ci   * @crossplatform
27361847f8eSopenharmony_ci   * @form
27461847f8eSopenharmony_ci   * @atomicservice
27561847f8eSopenharmony_ci   * @since 11
27661847f8eSopenharmony_ci   */
27761847f8eSopenharmony_ci  justifyContent(value: FlexAlign): ColumnAttribute;
27861847f8eSopenharmony_ci  /**
27961847f8eSopenharmony_ci   * Defines the PointLight
28061847f8eSopenharmony_ci   *
28161847f8eSopenharmony_ci   * @param { PointLightStyle } value - The point light style.
28261847f8eSopenharmony_ci   * @returns { ColumnAttribute } The attribute of the column.
28361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
28461847f8eSopenharmony_ci   * @systemapi
28561847f8eSopenharmony_ci   * @since 11
28661847f8eSopenharmony_ci   */
28761847f8eSopenharmony_ci  pointLight(value: PointLightStyle): ColumnAttribute;
28861847f8eSopenharmony_ci  /**
28961847f8eSopenharmony_ci   * Called when the Main-Axis's direction is set reversed or not
29061847f8eSopenharmony_ci   *
29161847f8eSopenharmony_ci   * @param { Optional<boolean> } isReversed - If the main axis is reversed.
29261847f8eSopenharmony_ci   * @returns { ColumnAttribute } The attribute of the column.
29361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
29461847f8eSopenharmony_ci   * @crossplatform
29561847f8eSopenharmony_ci   * @form
29661847f8eSopenharmony_ci   * @atomicservice
29761847f8eSopenharmony_ci   * @since 12
29861847f8eSopenharmony_ci   */
29961847f8eSopenharmony_ci  reverse(isReversed: Optional<boolean>): ColumnAttribute;
30061847f8eSopenharmony_ci}
30161847f8eSopenharmony_ci
30261847f8eSopenharmony_ci/**
30361847f8eSopenharmony_ci * Defines Column Component.
30461847f8eSopenharmony_ci *
30561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
30661847f8eSopenharmony_ci * @since 7
30761847f8eSopenharmony_ci */
30861847f8eSopenharmony_ci/**
30961847f8eSopenharmony_ci * Defines Column Component.
31061847f8eSopenharmony_ci *
31161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
31261847f8eSopenharmony_ci * @form
31361847f8eSopenharmony_ci * @since 9
31461847f8eSopenharmony_ci */
31561847f8eSopenharmony_ci/**
31661847f8eSopenharmony_ci * Defines Column Component.
31761847f8eSopenharmony_ci *
31861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
31961847f8eSopenharmony_ci * @crossplatform
32061847f8eSopenharmony_ci * @form
32161847f8eSopenharmony_ci * @since 10
32261847f8eSopenharmony_ci */
32361847f8eSopenharmony_ci/**
32461847f8eSopenharmony_ci * Defines Column Component.
32561847f8eSopenharmony_ci *
32661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
32761847f8eSopenharmony_ci * @crossplatform
32861847f8eSopenharmony_ci * @form
32961847f8eSopenharmony_ci * @atomicservice
33061847f8eSopenharmony_ci * @since 11
33161847f8eSopenharmony_ci */
33261847f8eSopenharmony_cideclare const Column: ColumnInterface;
33361847f8eSopenharmony_ci
33461847f8eSopenharmony_ci/**
33561847f8eSopenharmony_ci * Defines Column Component instance.
33661847f8eSopenharmony_ci *
33761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
33861847f8eSopenharmony_ci * @since 7
33961847f8eSopenharmony_ci */
34061847f8eSopenharmony_ci/**
34161847f8eSopenharmony_ci * Defines Column Component instance.
34261847f8eSopenharmony_ci *
34361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
34461847f8eSopenharmony_ci * @form
34561847f8eSopenharmony_ci * @since 9
34661847f8eSopenharmony_ci */
34761847f8eSopenharmony_ci/**
34861847f8eSopenharmony_ci * Defines Column Component instance.
34961847f8eSopenharmony_ci *
35061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
35161847f8eSopenharmony_ci * @crossplatform
35261847f8eSopenharmony_ci * @form
35361847f8eSopenharmony_ci * @since 10
35461847f8eSopenharmony_ci */
35561847f8eSopenharmony_ci/**
35661847f8eSopenharmony_ci * Defines Column Component instance.
35761847f8eSopenharmony_ci *
35861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
35961847f8eSopenharmony_ci * @crossplatform
36061847f8eSopenharmony_ci * @form
36161847f8eSopenharmony_ci * @atomicservice
36261847f8eSopenharmony_ci * @since 11
36361847f8eSopenharmony_ci */
36461847f8eSopenharmony_cideclare const ColumnInstance: ColumnAttribute;
365