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 * Enum for the mode of the tab bar when selected.
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @enum { number }
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @crossplatform
2761847f8eSopenharmony_ci * @since 10
2861847f8eSopenharmony_ci */
2961847f8eSopenharmony_ci/**
3061847f8eSopenharmony_ci * Enum for the mode of the tab bar when selected.
3161847f8eSopenharmony_ci *
3261847f8eSopenharmony_ci * @enum { number }
3361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
3461847f8eSopenharmony_ci * @crossplatform
3561847f8eSopenharmony_ci * @atomicservice
3661847f8eSopenharmony_ci * @since 11
3761847f8eSopenharmony_ci */
3861847f8eSopenharmony_cideclare enum SelectedMode {
3961847f8eSopenharmony_ci  /**
4061847f8eSopenharmony_ci   * The value of indicator
4161847f8eSopenharmony_ci   *
4261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
4361847f8eSopenharmony_ci   * @crossplatform
4461847f8eSopenharmony_ci   * @since 10
4561847f8eSopenharmony_ci   */
4661847f8eSopenharmony_ci  /**
4761847f8eSopenharmony_ci   * The value of indicator
4861847f8eSopenharmony_ci   *
4961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5061847f8eSopenharmony_ci   * @crossplatform
5161847f8eSopenharmony_ci   * @atomicservice
5261847f8eSopenharmony_ci   * @since 11
5361847f8eSopenharmony_ci   */
5461847f8eSopenharmony_ci  INDICATOR,
5561847f8eSopenharmony_ci
5661847f8eSopenharmony_ci  /**
5761847f8eSopenharmony_ci   * The value of board
5861847f8eSopenharmony_ci   *
5961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6061847f8eSopenharmony_ci   * @crossplatform
6161847f8eSopenharmony_ci   * @since 10
6261847f8eSopenharmony_ci   */
6361847f8eSopenharmony_ci  /**
6461847f8eSopenharmony_ci   * The value of board
6561847f8eSopenharmony_ci   *
6661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6761847f8eSopenharmony_ci   * @crossplatform
6861847f8eSopenharmony_ci   * @atomicservice
6961847f8eSopenharmony_ci   * @since 11
7061847f8eSopenharmony_ci   */
7161847f8eSopenharmony_ci  BOARD
7261847f8eSopenharmony_ci}
7361847f8eSopenharmony_ci
7461847f8eSopenharmony_ci/**
7561847f8eSopenharmony_ci * Enum for the layout mode of the content in the tab bar.
7661847f8eSopenharmony_ci *
7761847f8eSopenharmony_ci * @enum { number }
7861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
7961847f8eSopenharmony_ci * @crossplatform
8061847f8eSopenharmony_ci * @since 10
8161847f8eSopenharmony_ci */
8261847f8eSopenharmony_ci/**
8361847f8eSopenharmony_ci * Enum for the layout mode of the content in the tab bar.
8461847f8eSopenharmony_ci *
8561847f8eSopenharmony_ci * @enum { number }
8661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
8761847f8eSopenharmony_ci * @crossplatform
8861847f8eSopenharmony_ci * @atomicservice
8961847f8eSopenharmony_ci * @since 11
9061847f8eSopenharmony_ci */
9161847f8eSopenharmony_cideclare enum LayoutMode {
9261847f8eSopenharmony_ci
9361847f8eSopenharmony_ci  /**
9461847f8eSopenharmony_ci   * The the content is laid vertically or horizontally, according to its width.
9561847f8eSopenharmony_ci   *
9661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
9761847f8eSopenharmony_ci   * @crossplatform
9861847f8eSopenharmony_ci   * @since 10
9961847f8eSopenharmony_ci   */
10061847f8eSopenharmony_ci  /**
10161847f8eSopenharmony_ci   * The the content is laid vertically or horizontally, according to its width.
10261847f8eSopenharmony_ci   *
10361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
10461847f8eSopenharmony_ci   * @crossplatform
10561847f8eSopenharmony_ci   * @atomicservice
10661847f8eSopenharmony_ci   * @since 11
10761847f8eSopenharmony_ci   */
10861847f8eSopenharmony_ci  AUTO = 0,
10961847f8eSopenharmony_ci  /**
11061847f8eSopenharmony_ci   * The the content is laid vertically
11161847f8eSopenharmony_ci   *
11261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
11361847f8eSopenharmony_ci   * @crossplatform
11461847f8eSopenharmony_ci   * @since 10
11561847f8eSopenharmony_ci   */
11661847f8eSopenharmony_ci  /**
11761847f8eSopenharmony_ci   * The the content is laid vertically
11861847f8eSopenharmony_ci   *
11961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
12061847f8eSopenharmony_ci   * @crossplatform
12161847f8eSopenharmony_ci   * @atomicservice
12261847f8eSopenharmony_ci   * @since 11
12361847f8eSopenharmony_ci   */
12461847f8eSopenharmony_ci  VERTICAL = 1,
12561847f8eSopenharmony_ci
12661847f8eSopenharmony_ci  /**
12761847f8eSopenharmony_ci   * The the content is laid horizontally
12861847f8eSopenharmony_ci   *
12961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
13061847f8eSopenharmony_ci   * @crossplatform
13161847f8eSopenharmony_ci   * @since 10
13261847f8eSopenharmony_ci   */
13361847f8eSopenharmony_ci  /**
13461847f8eSopenharmony_ci   * The the content is laid horizontally
13561847f8eSopenharmony_ci   *
13661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
13761847f8eSopenharmony_ci   * @crossplatform
13861847f8eSopenharmony_ci   * @atomicservice
13961847f8eSopenharmony_ci   * @since 11
14061847f8eSopenharmony_ci   */
14161847f8eSopenharmony_ci  HORIZONTAL = 2
14261847f8eSopenharmony_ci}
14361847f8eSopenharmony_ci
14461847f8eSopenharmony_ci
14561847f8eSopenharmony_ci/**
14661847f8eSopenharmony_ci * Provide an interface for the style of an indicator including color, height, width, border radius
14761847f8eSopenharmony_ci * and margin top
14861847f8eSopenharmony_ci *
14961847f8eSopenharmony_ci * @interface IndicatorStyle
15061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
15161847f8eSopenharmony_ci * @crossplatform
15261847f8eSopenharmony_ci * @since 10
15361847f8eSopenharmony_ci */
15461847f8eSopenharmony_ci/**
15561847f8eSopenharmony_ci * Provide an interface for the style of an indicator including color, height, width, border radius
15661847f8eSopenharmony_ci * and margin top
15761847f8eSopenharmony_ci *
15861847f8eSopenharmony_ci * @interface IndicatorStyle
15961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
16061847f8eSopenharmony_ci * @crossplatform
16161847f8eSopenharmony_ci * @atomicservice
16261847f8eSopenharmony_ci * @since 11
16361847f8eSopenharmony_ci */
16461847f8eSopenharmony_ciinterface IndicatorStyle {
16561847f8eSopenharmony_ci  /**
16661847f8eSopenharmony_ci   * Define the color of the indicator
16761847f8eSopenharmony_ci   *
16861847f8eSopenharmony_ci   * @type { ?ResourceColor }
16961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
17061847f8eSopenharmony_ci   * @crossplatform
17161847f8eSopenharmony_ci   * @since 10
17261847f8eSopenharmony_ci   */
17361847f8eSopenharmony_ci  /**
17461847f8eSopenharmony_ci   * Define the color of the indicator
17561847f8eSopenharmony_ci   *
17661847f8eSopenharmony_ci   * @type { ?ResourceColor }
17761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
17861847f8eSopenharmony_ci   * @crossplatform
17961847f8eSopenharmony_ci   * @atomicservice
18061847f8eSopenharmony_ci   * @since 11
18161847f8eSopenharmony_ci   */
18261847f8eSopenharmony_ci  color?: ResourceColor;
18361847f8eSopenharmony_ci
18461847f8eSopenharmony_ci  /**
18561847f8eSopenharmony_ci   * Define the height of the indicator
18661847f8eSopenharmony_ci   *
18761847f8eSopenharmony_ci   * @type { ?Length }
18861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18961847f8eSopenharmony_ci   * @crossplatform
19061847f8eSopenharmony_ci   * @since 10
19161847f8eSopenharmony_ci   */
19261847f8eSopenharmony_ci  /**
19361847f8eSopenharmony_ci   * Define the height of the indicator
19461847f8eSopenharmony_ci   *
19561847f8eSopenharmony_ci   * @type { ?Length }
19661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
19761847f8eSopenharmony_ci   * @crossplatform
19861847f8eSopenharmony_ci   * @atomicservice
19961847f8eSopenharmony_ci   * @since 11
20061847f8eSopenharmony_ci   */
20161847f8eSopenharmony_ci  height?: Length;
20261847f8eSopenharmony_ci
20361847f8eSopenharmony_ci  /**
20461847f8eSopenharmony_ci   * Define the width of the indicator.
20561847f8eSopenharmony_ci   * If it is 0, the width will be equal to the width of the content
20661847f8eSopenharmony_ci   *
20761847f8eSopenharmony_ci   * @type { ?Length }
20861847f8eSopenharmony_ci   * @default 0
20961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
21061847f8eSopenharmony_ci   * @crossplatform
21161847f8eSopenharmony_ci   * @since 10
21261847f8eSopenharmony_ci   */
21361847f8eSopenharmony_ci  /**
21461847f8eSopenharmony_ci   * Define the width of the indicator.
21561847f8eSopenharmony_ci   * If it is 0, the width will be equal to the width of the content
21661847f8eSopenharmony_ci   *
21761847f8eSopenharmony_ci   * @type { ?Length }
21861847f8eSopenharmony_ci   * @default 0
21961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22061847f8eSopenharmony_ci   * @crossplatform
22161847f8eSopenharmony_ci   * @atomicservice
22261847f8eSopenharmony_ci   * @since 11
22361847f8eSopenharmony_ci   */
22461847f8eSopenharmony_ci  width?: Length;
22561847f8eSopenharmony_ci
22661847f8eSopenharmony_ci  /**
22761847f8eSopenharmony_ci   * Define the border radius of the indicator
22861847f8eSopenharmony_ci   *
22961847f8eSopenharmony_ci   * @type { ?Length }
23061847f8eSopenharmony_ci   * @default 0
23161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
23261847f8eSopenharmony_ci   * @crossplatform
23361847f8eSopenharmony_ci   * @since 10
23461847f8eSopenharmony_ci   */
23561847f8eSopenharmony_ci  /**
23661847f8eSopenharmony_ci   * Define the border radius of the indicator
23761847f8eSopenharmony_ci   *
23861847f8eSopenharmony_ci   * @type { ?Length }
23961847f8eSopenharmony_ci   * @default 0
24061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
24161847f8eSopenharmony_ci   * @crossplatform
24261847f8eSopenharmony_ci   * @atomicservice
24361847f8eSopenharmony_ci   * @since 11
24461847f8eSopenharmony_ci   */
24561847f8eSopenharmony_ci  borderRadius?: Length;
24661847f8eSopenharmony_ci
24761847f8eSopenharmony_ci  /**
24861847f8eSopenharmony_ci   * Define the margin top of the indicator
24961847f8eSopenharmony_ci   *
25061847f8eSopenharmony_ci   * @type { ?Length }
25161847f8eSopenharmony_ci   * @default 8
25261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
25361847f8eSopenharmony_ci   * @crossplatform
25461847f8eSopenharmony_ci   * @since 10
25561847f8eSopenharmony_ci   */
25661847f8eSopenharmony_ci  /**
25761847f8eSopenharmony_ci   * Define the margin top of the indicator
25861847f8eSopenharmony_ci   *
25961847f8eSopenharmony_ci   * @type { ?Length }
26061847f8eSopenharmony_ci   * @default 8
26161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26261847f8eSopenharmony_ci   * @crossplatform
26361847f8eSopenharmony_ci   * @atomicservice
26461847f8eSopenharmony_ci   * @since 11
26561847f8eSopenharmony_ci   */
26661847f8eSopenharmony_ci  marginTop?: Length;
26761847f8eSopenharmony_ci}
26861847f8eSopenharmony_ci
26961847f8eSopenharmony_ci/**
27061847f8eSopenharmony_ci * Provide an interface for the style of an indicator including border radius
27161847f8eSopenharmony_ci *
27261847f8eSopenharmony_ci * @interface BoardStyle
27361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
27461847f8eSopenharmony_ci * @crossplatform
27561847f8eSopenharmony_ci * @since 10
27661847f8eSopenharmony_ci */
27761847f8eSopenharmony_ci/**
27861847f8eSopenharmony_ci * Provide an interface for the style of an indicator including border radius
27961847f8eSopenharmony_ci *
28061847f8eSopenharmony_ci * @interface BoardStyle
28161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
28261847f8eSopenharmony_ci * @crossplatform
28361847f8eSopenharmony_ci * @atomicservice
28461847f8eSopenharmony_ci * @since 11
28561847f8eSopenharmony_ci */
28661847f8eSopenharmony_ciinterface BoardStyle {
28761847f8eSopenharmony_ci  /**
28861847f8eSopenharmony_ci   * Define the border radius of the board
28961847f8eSopenharmony_ci   *
29061847f8eSopenharmony_ci   * @type { ?Length }
29161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
29261847f8eSopenharmony_ci   * @crossplatform
29361847f8eSopenharmony_ci   * @since 10
29461847f8eSopenharmony_ci   */
29561847f8eSopenharmony_ci  /**
29661847f8eSopenharmony_ci   * Define the border radius of the board
29761847f8eSopenharmony_ci   *
29861847f8eSopenharmony_ci   * @type { ?Length }
29961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
30061847f8eSopenharmony_ci   * @crossplatform
30161847f8eSopenharmony_ci   * @atomicservice
30261847f8eSopenharmony_ci   * @since 11
30361847f8eSopenharmony_ci   */
30461847f8eSopenharmony_ci  borderRadius?: Length;
30561847f8eSopenharmony_ci}
30661847f8eSopenharmony_ci
30761847f8eSopenharmony_ci/**
30861847f8eSopenharmony_ci * LabelStyle object.
30961847f8eSopenharmony_ci *
31061847f8eSopenharmony_ci * @interface LabelStyle
31161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
31261847f8eSopenharmony_ci * @crossplatform
31361847f8eSopenharmony_ci * @since 10
31461847f8eSopenharmony_ci */
31561847f8eSopenharmony_ci/**
31661847f8eSopenharmony_ci * LabelStyle object.
31761847f8eSopenharmony_ci *
31861847f8eSopenharmony_ci * @interface LabelStyle
31961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
32061847f8eSopenharmony_ci * @crossplatform
32161847f8eSopenharmony_ci * @atomicservice
32261847f8eSopenharmony_ci * @since 11
32361847f8eSopenharmony_ci */
32461847f8eSopenharmony_cideclare interface LabelStyle {
32561847f8eSopenharmony_ci  /**
32661847f8eSopenharmony_ci   * overflow mode.
32761847f8eSopenharmony_ci   *
32861847f8eSopenharmony_ci   * @type { ?TextOverflow }
32961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
33061847f8eSopenharmony_ci   * @crossplatform
33161847f8eSopenharmony_ci   * @since 10
33261847f8eSopenharmony_ci   */
33361847f8eSopenharmony_ci  /**
33461847f8eSopenharmony_ci   * overflow mode.
33561847f8eSopenharmony_ci   *
33661847f8eSopenharmony_ci   * @type { ?TextOverflow }
33761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
33861847f8eSopenharmony_ci   * @crossplatform
33961847f8eSopenharmony_ci   * @atomicservice
34061847f8eSopenharmony_ci   * @since 11
34161847f8eSopenharmony_ci   */
34261847f8eSopenharmony_ci  overflow?: TextOverflow;
34361847f8eSopenharmony_ci
34461847f8eSopenharmony_ci  /**
34561847f8eSopenharmony_ci   * Label max lines.
34661847f8eSopenharmony_ci   *
34761847f8eSopenharmony_ci   * @type { ?number }
34861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
34961847f8eSopenharmony_ci   * @crossplatform
35061847f8eSopenharmony_ci   * @since 10
35161847f8eSopenharmony_ci   */
35261847f8eSopenharmony_ci  /**
35361847f8eSopenharmony_ci   * Label max lines.
35461847f8eSopenharmony_ci   *
35561847f8eSopenharmony_ci   * @type { ?number }
35661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
35761847f8eSopenharmony_ci   * @crossplatform
35861847f8eSopenharmony_ci   * @atomicservice
35961847f8eSopenharmony_ci   * @since 11
36061847f8eSopenharmony_ci   */
36161847f8eSopenharmony_ci  maxLines?: number;
36261847f8eSopenharmony_ci
36361847f8eSopenharmony_ci  /**
36461847f8eSopenharmony_ci   * Min font size for adapted height.
36561847f8eSopenharmony_ci   *
36661847f8eSopenharmony_ci   * @type { ?(number | ResourceStr) }
36761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
36861847f8eSopenharmony_ci   * @crossplatform
36961847f8eSopenharmony_ci   * @since 10
37061847f8eSopenharmony_ci   */
37161847f8eSopenharmony_ci  /**
37261847f8eSopenharmony_ci   * Min font size for adapted height.
37361847f8eSopenharmony_ci   *
37461847f8eSopenharmony_ci   * @type { ?(number | ResourceStr) }
37561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
37661847f8eSopenharmony_ci   * @crossplatform
37761847f8eSopenharmony_ci   * @atomicservice
37861847f8eSopenharmony_ci   * @since 11
37961847f8eSopenharmony_ci   */
38061847f8eSopenharmony_ci  minFontSize?: number | ResourceStr;
38161847f8eSopenharmony_ci
38261847f8eSopenharmony_ci  /**
38361847f8eSopenharmony_ci   * Max font size for adapted height.
38461847f8eSopenharmony_ci   *
38561847f8eSopenharmony_ci   * @type { ?(number | ResourceStr) }
38661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
38761847f8eSopenharmony_ci   * @crossplatform
38861847f8eSopenharmony_ci   * @since 10
38961847f8eSopenharmony_ci   */
39061847f8eSopenharmony_ci  /**
39161847f8eSopenharmony_ci   * Max font size for adapted height.
39261847f8eSopenharmony_ci   *
39361847f8eSopenharmony_ci   * @type { ?(number | ResourceStr) }
39461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
39561847f8eSopenharmony_ci   * @crossplatform
39661847f8eSopenharmony_ci   * @atomicservice
39761847f8eSopenharmony_ci   * @since 11
39861847f8eSopenharmony_ci   */
39961847f8eSopenharmony_ci  maxFontSize?: number | ResourceStr;
40061847f8eSopenharmony_ci
40161847f8eSopenharmony_ci  /**
40261847f8eSopenharmony_ci   * Adapt text height option.
40361847f8eSopenharmony_ci   *
40461847f8eSopenharmony_ci   * @type { ?TextHeightAdaptivePolicy }
40561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
40661847f8eSopenharmony_ci   * @crossplatform
40761847f8eSopenharmony_ci   * @since 10
40861847f8eSopenharmony_ci   */
40961847f8eSopenharmony_ci  /**
41061847f8eSopenharmony_ci   * Adapt text height option.
41161847f8eSopenharmony_ci   *
41261847f8eSopenharmony_ci   * @type { ?TextHeightAdaptivePolicy }
41361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
41461847f8eSopenharmony_ci   * @crossplatform
41561847f8eSopenharmony_ci   * @atomicservice
41661847f8eSopenharmony_ci   * @since 11
41761847f8eSopenharmony_ci   */
41861847f8eSopenharmony_ci  heightAdaptivePolicy?: TextHeightAdaptivePolicy;
41961847f8eSopenharmony_ci
42061847f8eSopenharmony_ci  /**
42161847f8eSopenharmony_ci   * Font style.
42261847f8eSopenharmony_ci   *
42361847f8eSopenharmony_ci   * @type { ?Font }
42461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42561847f8eSopenharmony_ci   * @crossplatform
42661847f8eSopenharmony_ci   * @since 10
42761847f8eSopenharmony_ci   */
42861847f8eSopenharmony_ci  /**
42961847f8eSopenharmony_ci   * Font style.
43061847f8eSopenharmony_ci   *
43161847f8eSopenharmony_ci   * @type { ?Font }
43261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
43361847f8eSopenharmony_ci   * @crossplatform
43461847f8eSopenharmony_ci   * @atomicservice
43561847f8eSopenharmony_ci   * @since 11
43661847f8eSopenharmony_ci   */
43761847f8eSopenharmony_ci  font?: Font;
43861847f8eSopenharmony_ci
43961847f8eSopenharmony_ci  /**
44061847f8eSopenharmony_ci   * The text color of the selected tab bar.
44161847f8eSopenharmony_ci   *
44261847f8eSopenharmony_ci   * @type { ?ResourceColor }
44361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
44461847f8eSopenharmony_ci   * @crossplatform
44561847f8eSopenharmony_ci   * @atomicservice
44661847f8eSopenharmony_ci   * @since 12
44761847f8eSopenharmony_ci   */
44861847f8eSopenharmony_ci  selectedColor?: ResourceColor;
44961847f8eSopenharmony_ci
45061847f8eSopenharmony_ci  /**
45161847f8eSopenharmony_ci   * The text color of the unselected tab bar.
45261847f8eSopenharmony_ci   *
45361847f8eSopenharmony_ci   * @type { ?ResourceColor }
45461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
45561847f8eSopenharmony_ci   * @crossplatform
45661847f8eSopenharmony_ci   * @atomicservice
45761847f8eSopenharmony_ci   * @since 12
45861847f8eSopenharmony_ci   */
45961847f8eSopenharmony_ci  unselectedColor?: ResourceColor;
46061847f8eSopenharmony_ci}
46161847f8eSopenharmony_ci
46261847f8eSopenharmony_ci/**
46361847f8eSopenharmony_ci * TabBarIconStyle object.
46461847f8eSopenharmony_ci *
46561847f8eSopenharmony_ci * @interface TabBarIconStyle
46661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
46761847f8eSopenharmony_ci * @crossplatform
46861847f8eSopenharmony_ci * @atomicservice
46961847f8eSopenharmony_ci * @since 12
47061847f8eSopenharmony_ci */
47161847f8eSopenharmony_cideclare interface TabBarIconStyle {
47261847f8eSopenharmony_ci  /**
47361847f8eSopenharmony_ci   * The icon color of the selected tab bar.
47461847f8eSopenharmony_ci   *
47561847f8eSopenharmony_ci   * @type { ?ResourceColor }
47661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
47761847f8eSopenharmony_ci   * @crossplatform
47861847f8eSopenharmony_ci   * @atomicservice
47961847f8eSopenharmony_ci   * @since 12
48061847f8eSopenharmony_ci   */
48161847f8eSopenharmony_ci  selectedColor?: ResourceColor;
48261847f8eSopenharmony_ci
48361847f8eSopenharmony_ci  /**
48461847f8eSopenharmony_ci   * The icon color of the unselected tab bar.
48561847f8eSopenharmony_ci   *
48661847f8eSopenharmony_ci   * @type { ?ResourceColor }
48761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
48861847f8eSopenharmony_ci   * @crossplatform
48961847f8eSopenharmony_ci   * @atomicservice
49061847f8eSopenharmony_ci   * @since 12
49161847f8eSopenharmony_ci   */
49261847f8eSopenharmony_ci  unselectedColor?: ResourceColor;
49361847f8eSopenharmony_ci}
49461847f8eSopenharmony_ci
49561847f8eSopenharmony_ci/**
49661847f8eSopenharmony_ci * TabBarSymbol object.
49761847f8eSopenharmony_ci *
49861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
49961847f8eSopenharmony_ci * @crossplatform
50061847f8eSopenharmony_ci * @atomicservice
50161847f8eSopenharmony_ci * @since 12
50261847f8eSopenharmony_ci */
50361847f8eSopenharmony_cideclare class TabBarSymbol {
50461847f8eSopenharmony_ci  /**
50561847f8eSopenharmony_ci   * The properties of the symbol icon in the tab bar need to be unselected. 
50661847f8eSopenharmony_ci   *
50761847f8eSopenharmony_ci   * @type { SymbolGlyphModifier }
50861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
50961847f8eSopenharmony_ci   * @crossplatform
51061847f8eSopenharmony_ci   * @atomicservice
51161847f8eSopenharmony_ci   * @since 12
51261847f8eSopenharmony_ci   */
51361847f8eSopenharmony_ci  normal: SymbolGlyphModifier;
51461847f8eSopenharmony_ci
51561847f8eSopenharmony_ci  /**
51661847f8eSopenharmony_ci   * The properties of the symbol icon in the tab bar need to be selected. 
51761847f8eSopenharmony_ci   *
51861847f8eSopenharmony_ci   * @type { ?SymbolGlyphModifier }
51961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
52061847f8eSopenharmony_ci   * @crossplatform
52161847f8eSopenharmony_ci   * @atomicservice
52261847f8eSopenharmony_ci   * @since 12
52361847f8eSopenharmony_ci   */
52461847f8eSopenharmony_ci  selected?: SymbolGlyphModifier;
52561847f8eSopenharmony_ci}
52661847f8eSopenharmony_ci/**
52761847f8eSopenharmony_ci * Define SubTabBarStyle, the style is text and underline.
52861847f8eSopenharmony_ci *
52961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
53061847f8eSopenharmony_ci * @since 9
53161847f8eSopenharmony_ci */
53261847f8eSopenharmony_ci/**
53361847f8eSopenharmony_ci * Define SubTabBarStyle, the style is text and underline.
53461847f8eSopenharmony_ci *
53561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
53661847f8eSopenharmony_ci * @crossplatform
53761847f8eSopenharmony_ci * @since 10
53861847f8eSopenharmony_ci */
53961847f8eSopenharmony_ci/**
54061847f8eSopenharmony_ci * Define SubTabBarStyle, the style is text and underline.
54161847f8eSopenharmony_ci *
54261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
54361847f8eSopenharmony_ci * @crossplatform
54461847f8eSopenharmony_ci * @atomicservice
54561847f8eSopenharmony_ci * @since 11
54661847f8eSopenharmony_ci */
54761847f8eSopenharmony_cideclare class SubTabBarStyle {
54861847f8eSopenharmony_ci  /**
54961847f8eSopenharmony_ci   * constructor.
55061847f8eSopenharmony_ci   *
55161847f8eSopenharmony_ci   * @param { ResourceStr } content - indicates the content of the sub tab bar
55261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
55361847f8eSopenharmony_ci   * @since 9
55461847f8eSopenharmony_ci   */
55561847f8eSopenharmony_ci  /**
55661847f8eSopenharmony_ci   * constructor.
55761847f8eSopenharmony_ci   *
55861847f8eSopenharmony_ci   * @param { ResourceStr } content - indicates the content of the sub tab bar
55961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56061847f8eSopenharmony_ci   * @crossplatform
56161847f8eSopenharmony_ci   * @since 10
56261847f8eSopenharmony_ci   */
56361847f8eSopenharmony_ci  /**
56461847f8eSopenharmony_ci   * constructor.
56561847f8eSopenharmony_ci   *
56661847f8eSopenharmony_ci   * @param { ResourceStr } content - indicates the content of the sub tab bar
56761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56861847f8eSopenharmony_ci   * @crossplatform
56961847f8eSopenharmony_ci   * @atomicservice
57061847f8eSopenharmony_ci   * @since 11
57161847f8eSopenharmony_ci   */
57261847f8eSopenharmony_ci  constructor(content: ResourceStr);
57361847f8eSopenharmony_ci  /**
57461847f8eSopenharmony_ci   * constructor.
57561847f8eSopenharmony_ci   *
57661847f8eSopenharmony_ci   * @param { ResourceStr | ComponentContent } content - indicates the content of the sub tab bar
57761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
57861847f8eSopenharmony_ci   * @crossplatform
57961847f8eSopenharmony_ci   * @atomicservice
58061847f8eSopenharmony_ci   * @since 12
58161847f8eSopenharmony_ci   */
58261847f8eSopenharmony_ci  constructor(content: ResourceStr | ComponentContent);
58361847f8eSopenharmony_ci
58461847f8eSopenharmony_ci  /**
58561847f8eSopenharmony_ci   * constructor
58661847f8eSopenharmony_ci   *
58761847f8eSopenharmony_ci   * @param { ResourceStr } content - indicates the content of the sub tab bar
58861847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
58961847f8eSopenharmony_ci   * @static
59061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
59161847f8eSopenharmony_ci   * @crossplatform
59261847f8eSopenharmony_ci   * @since 10
59361847f8eSopenharmony_ci   */
59461847f8eSopenharmony_ci  /**
59561847f8eSopenharmony_ci   * constructor
59661847f8eSopenharmony_ci   *
59761847f8eSopenharmony_ci   * @param { ResourceStr } content - indicates the content of the sub tab bar
59861847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
59961847f8eSopenharmony_ci   * @static
60061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
60161847f8eSopenharmony_ci   * @crossplatform
60261847f8eSopenharmony_ci   * @atomicservice
60361847f8eSopenharmony_ci   * @since 11
60461847f8eSopenharmony_ci   */
60561847f8eSopenharmony_ci  static of(content: ResourceStr): SubTabBarStyle;
60661847f8eSopenharmony_ci  /**
60761847f8eSopenharmony_ci   * Create a content object of the sub tab bar 
60861847f8eSopenharmony_ci   *
60961847f8eSopenharmony_ci   * @param { ResourceStr | ComponentContent } content - indicates the content of the sub tab bar
61061847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
61161847f8eSopenharmony_ci   * @static
61261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
61361847f8eSopenharmony_ci   * @crossplatform
61461847f8eSopenharmony_ci   * @atomicservice
61561847f8eSopenharmony_ci   * @since 12
61661847f8eSopenharmony_ci   */
61761847f8eSopenharmony_ci  static of(content: ResourceStr | ComponentContent): SubTabBarStyle;
61861847f8eSopenharmony_ci
61961847f8eSopenharmony_ci  /**
62061847f8eSopenharmony_ci   * Set the style of the indicator when selected
62161847f8eSopenharmony_ci   *
62261847f8eSopenharmony_ci   * @param { IndicatorStyle } value - indicates the indicator style of the sub tab bar
62361847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
62461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
62561847f8eSopenharmony_ci   * @crossplatform
62661847f8eSopenharmony_ci   * @since 10
62761847f8eSopenharmony_ci   */
62861847f8eSopenharmony_ci  /**
62961847f8eSopenharmony_ci   * Set the style of the indicator when selected
63061847f8eSopenharmony_ci   *
63161847f8eSopenharmony_ci   * @param { IndicatorStyle } value - indicates the indicator style of the sub tab bar
63261847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
63361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
63461847f8eSopenharmony_ci   * @crossplatform
63561847f8eSopenharmony_ci   * @atomicservice
63661847f8eSopenharmony_ci   * @since 11
63761847f8eSopenharmony_ci   */
63861847f8eSopenharmony_ci  indicator(value: IndicatorStyle): SubTabBarStyle;
63961847f8eSopenharmony_ci
64061847f8eSopenharmony_ci  /**
64161847f8eSopenharmony_ci   * Set the mode of the indicator when selected
64261847f8eSopenharmony_ci   *
64361847f8eSopenharmony_ci   * @param { SelectedMode } value - indicates the selected mode of the sub tab bar
64461847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
64561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
64661847f8eSopenharmony_ci   * @crossplatform
64761847f8eSopenharmony_ci   * @since 10
64861847f8eSopenharmony_ci   */
64961847f8eSopenharmony_ci  /**
65061847f8eSopenharmony_ci   * Set the mode of the indicator when selected
65161847f8eSopenharmony_ci   *
65261847f8eSopenharmony_ci   * @param { SelectedMode } value - indicates the selected mode of the sub tab bar
65361847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
65461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
65561847f8eSopenharmony_ci   * @crossplatform
65661847f8eSopenharmony_ci   * @atomicservice
65761847f8eSopenharmony_ci   * @since 11
65861847f8eSopenharmony_ci   */
65961847f8eSopenharmony_ci  selectedMode(value: SelectedMode): SubTabBarStyle;
66061847f8eSopenharmony_ci
66161847f8eSopenharmony_ci  /**
66261847f8eSopenharmony_ci   * Set the style of the board when selected
66361847f8eSopenharmony_ci   *
66461847f8eSopenharmony_ci   * @param { BoardStyle } value - indicates the board style of the sub tab bar
66561847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
66661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
66761847f8eSopenharmony_ci   * @crossplatform
66861847f8eSopenharmony_ci   * @since 10
66961847f8eSopenharmony_ci   */
67061847f8eSopenharmony_ci  /**
67161847f8eSopenharmony_ci   * Set the style of the board when selected
67261847f8eSopenharmony_ci   *
67361847f8eSopenharmony_ci   * @param { BoardStyle } value - indicates the board style of the sub tab bar
67461847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
67561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
67661847f8eSopenharmony_ci   * @crossplatform
67761847f8eSopenharmony_ci   * @atomicservice
67861847f8eSopenharmony_ci   * @since 11
67961847f8eSopenharmony_ci   */
68061847f8eSopenharmony_ci  board(value: BoardStyle): SubTabBarStyle;
68161847f8eSopenharmony_ci
68261847f8eSopenharmony_ci  /**
68361847f8eSopenharmony_ci   * Set the label style of the indicator
68461847f8eSopenharmony_ci   *
68561847f8eSopenharmony_ci   * @param { LabelStyle } value - indicates the label style of the sub tab bar
68661847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
68761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
68861847f8eSopenharmony_ci   * @crossplatform
68961847f8eSopenharmony_ci   * @since 10
69061847f8eSopenharmony_ci   */
69161847f8eSopenharmony_ci  /**
69261847f8eSopenharmony_ci   * Set the label style of the indicator
69361847f8eSopenharmony_ci   *
69461847f8eSopenharmony_ci   * @param { LabelStyle } value - indicates the label style of the sub tab bar
69561847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
69661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
69761847f8eSopenharmony_ci   * @crossplatform
69861847f8eSopenharmony_ci   * @atomicservice
69961847f8eSopenharmony_ci   * @since 11
70061847f8eSopenharmony_ci   */
70161847f8eSopenharmony_ci  labelStyle(value: LabelStyle): SubTabBarStyle;
70261847f8eSopenharmony_ci
70361847f8eSopenharmony_ci  /**
70461847f8eSopenharmony_ci   * Set the padding of the sub tab bar
70561847f8eSopenharmony_ci   *
70661847f8eSopenharmony_ci   * @param { Padding | Dimension } value - indicates the padding of the sub tab bar
70761847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
70861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
70961847f8eSopenharmony_ci   * @crossplatform
71061847f8eSopenharmony_ci   * @since 10
71161847f8eSopenharmony_ci   */
71261847f8eSopenharmony_ci  /**
71361847f8eSopenharmony_ci   * Set the padding of the sub tab bar
71461847f8eSopenharmony_ci   *
71561847f8eSopenharmony_ci   * @param { Padding | Dimension } value - indicates the padding of the sub tab bar
71661847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
71761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
71861847f8eSopenharmony_ci   * @crossplatform
71961847f8eSopenharmony_ci   * @atomicservice
72061847f8eSopenharmony_ci   * @since 11
72161847f8eSopenharmony_ci   */
72261847f8eSopenharmony_ci  padding(value: Padding | Dimension): SubTabBarStyle;
72361847f8eSopenharmony_ci
72461847f8eSopenharmony_ci  /**
72561847f8eSopenharmony_ci   * Set the padding of the sub tab bar
72661847f8eSopenharmony_ci   *
72761847f8eSopenharmony_ci   * @param { LocalizedPadding } padding - indicates the padding of the sub tab bar
72861847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
72961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
73061847f8eSopenharmony_ci   * @crossplatform
73161847f8eSopenharmony_ci   * @atomicservice
73261847f8eSopenharmony_ci   * @since 12
73361847f8eSopenharmony_ci   */
73461847f8eSopenharmony_ci  padding(padding: LocalizedPadding): SubTabBarStyle;
73561847f8eSopenharmony_ci
73661847f8eSopenharmony_ci  /**
73761847f8eSopenharmony_ci   * Set an id to the sub tab bar to identify it
73861847f8eSopenharmony_ci   *
73961847f8eSopenharmony_ci   * @param { string } value - id of the sub tab bar to identify it
74061847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
74161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
74261847f8eSopenharmony_ci   * @crossplatform
74361847f8eSopenharmony_ci   * @since 11
74461847f8eSopenharmony_ci   */
74561847f8eSopenharmony_ci  /**
74661847f8eSopenharmony_ci   * Set an id to the sub tab bar to identify it
74761847f8eSopenharmony_ci   *
74861847f8eSopenharmony_ci   * @param { string } value - id of the sub tab bar to identify it
74961847f8eSopenharmony_ci   * @returns { SubTabBarStyle } the style of the sub tab bar
75061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
75161847f8eSopenharmony_ci   * @crossplatform
75261847f8eSopenharmony_ci   * @atomicservice
75361847f8eSopenharmony_ci   * @since 12
75461847f8eSopenharmony_ci   */
75561847f8eSopenharmony_ci  id(value: string): SubTabBarStyle;
75661847f8eSopenharmony_ci}
75761847f8eSopenharmony_ci
75861847f8eSopenharmony_ci/**
75961847f8eSopenharmony_ci * Define BottomTabBarStyle, the style is icon and text.
76061847f8eSopenharmony_ci *
76161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
76261847f8eSopenharmony_ci * @since 9
76361847f8eSopenharmony_ci */
76461847f8eSopenharmony_ci/**
76561847f8eSopenharmony_ci * Define BottomTabBarStyle, the style is icon and text.
76661847f8eSopenharmony_ci *
76761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
76861847f8eSopenharmony_ci * @crossplatform
76961847f8eSopenharmony_ci * @since 10
77061847f8eSopenharmony_ci */
77161847f8eSopenharmony_ci/**
77261847f8eSopenharmony_ci * Define BottomTabBarStyle, the style is icon and text.
77361847f8eSopenharmony_ci *
77461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
77561847f8eSopenharmony_ci * @crossplatform
77661847f8eSopenharmony_ci * @atomicservice
77761847f8eSopenharmony_ci * @since 11
77861847f8eSopenharmony_ci */
77961847f8eSopenharmony_cideclare class BottomTabBarStyle {
78061847f8eSopenharmony_ci  /**
78161847f8eSopenharmony_ci   * constructor.
78261847f8eSopenharmony_ci   *
78361847f8eSopenharmony_ci   * @param { ResourceStr } icon - indicates the icon of the bottom tab bar
78461847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
78561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
78661847f8eSopenharmony_ci   * @since 9
78761847f8eSopenharmony_ci   */
78861847f8eSopenharmony_ci  /**
78961847f8eSopenharmony_ci   * constructor.
79061847f8eSopenharmony_ci   *
79161847f8eSopenharmony_ci   * @param { ResourceStr } icon - indicates the icon of the bottom tab bar
79261847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
79361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
79461847f8eSopenharmony_ci   * @crossplatform
79561847f8eSopenharmony_ci   * @since 10
79661847f8eSopenharmony_ci   */
79761847f8eSopenharmony_ci  /**
79861847f8eSopenharmony_ci   * constructor.
79961847f8eSopenharmony_ci   *
80061847f8eSopenharmony_ci   * @param { ResourceStr } icon - indicates the icon of the bottom tab bar
80161847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
80261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
80361847f8eSopenharmony_ci   * @crossplatform
80461847f8eSopenharmony_ci   * @atomicservice
80561847f8eSopenharmony_ci   * @since 11
80661847f8eSopenharmony_ci   */
80761847f8eSopenharmony_ci  /**
80861847f8eSopenharmony_ci   * constructor.
80961847f8eSopenharmony_ci   *
81061847f8eSopenharmony_ci   * @param { ResourceStr | TabBarSymbol } icon - indicates the icon of the bottom tab bar
81161847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
81261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
81361847f8eSopenharmony_ci   * @crossplatform
81461847f8eSopenharmony_ci   * @atomicservice
81561847f8eSopenharmony_ci   * @since 12
81661847f8eSopenharmony_ci   */
81761847f8eSopenharmony_ci  constructor(icon: ResourceStr | TabBarSymbol, text: ResourceStr);
81861847f8eSopenharmony_ci
81961847f8eSopenharmony_ci  /**
82061847f8eSopenharmony_ci   * of.
82161847f8eSopenharmony_ci   *
82261847f8eSopenharmony_ci   * @param { ResourceStr } icon - indicates the icon of the bottom tab bar
82361847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
82461847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
82561847f8eSopenharmony_ci   * @static
82661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
82761847f8eSopenharmony_ci   * @crossplatform
82861847f8eSopenharmony_ci   * @since 10
82961847f8eSopenharmony_ci   */
83061847f8eSopenharmony_ci  /**
83161847f8eSopenharmony_ci   * of.
83261847f8eSopenharmony_ci   *
83361847f8eSopenharmony_ci   * @param { ResourceStr } icon - indicates the icon of the bottom tab bar
83461847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
83561847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
83661847f8eSopenharmony_ci   * @static
83761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
83861847f8eSopenharmony_ci   * @crossplatform
83961847f8eSopenharmony_ci   * @atomicservice
84061847f8eSopenharmony_ci   * @since 11
84161847f8eSopenharmony_ci   */
84261847f8eSopenharmony_ci  /**
84361847f8eSopenharmony_ci   * of.
84461847f8eSopenharmony_ci   *
84561847f8eSopenharmony_ci   * @param { ResourceStr | TabBarSymbol } icon - indicates the icon of the bottom tab bar
84661847f8eSopenharmony_ci   * @param { ResourceStr } text - indicates the text of the bottom tab bar
84761847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
84861847f8eSopenharmony_ci   * @static
84961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
85061847f8eSopenharmony_ci   * @crossplatform
85161847f8eSopenharmony_ci   * @atomicservice
85261847f8eSopenharmony_ci   * @since 12
85361847f8eSopenharmony_ci   */
85461847f8eSopenharmony_ci  static of(icon: ResourceStr | TabBarSymbol, text: ResourceStr): BottomTabBarStyle;
85561847f8eSopenharmony_ci
85661847f8eSopenharmony_ci  /**
85761847f8eSopenharmony_ci   * Set the label style of the indicator
85861847f8eSopenharmony_ci   *
85961847f8eSopenharmony_ci   * @param { LabelStyle } value - indicates the label style of the bottom tab bar
86061847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
86161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
86261847f8eSopenharmony_ci   * @crossplatform
86361847f8eSopenharmony_ci   * @since 10
86461847f8eSopenharmony_ci   */
86561847f8eSopenharmony_ci  /**
86661847f8eSopenharmony_ci   * Set the label style of the indicator
86761847f8eSopenharmony_ci   *
86861847f8eSopenharmony_ci   * @param { LabelStyle } value - indicates the label style of the bottom tab bar
86961847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
87061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
87161847f8eSopenharmony_ci   * @crossplatform
87261847f8eSopenharmony_ci   * @atomicservice
87361847f8eSopenharmony_ci   * @since 11
87461847f8eSopenharmony_ci   */
87561847f8eSopenharmony_ci  labelStyle(value: LabelStyle): BottomTabBarStyle;
87661847f8eSopenharmony_ci
87761847f8eSopenharmony_ci  /**
87861847f8eSopenharmony_ci   * Set the padding of the bottom tab bar
87961847f8eSopenharmony_ci   *
88061847f8eSopenharmony_ci   * @param { Padding | Dimension } value - indicates the padding of the bottom tab bar
88161847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
88261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
88361847f8eSopenharmony_ci   * @crossplatform
88461847f8eSopenharmony_ci   * @since 10
88561847f8eSopenharmony_ci   */
88661847f8eSopenharmony_ci  /**
88761847f8eSopenharmony_ci   * Set the padding of the bottom tab bar
88861847f8eSopenharmony_ci   *
88961847f8eSopenharmony_ci   * @param { Padding | Dimension } value - indicates the padding of the bottom tab bar
89061847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
89161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
89261847f8eSopenharmony_ci   * @crossplatform
89361847f8eSopenharmony_ci   * @atomicservice
89461847f8eSopenharmony_ci   * @since 11
89561847f8eSopenharmony_ci   */
89661847f8eSopenharmony_ci  /**
89761847f8eSopenharmony_ci   * Set the padding of the bottom tab bar
89861847f8eSopenharmony_ci   *
89961847f8eSopenharmony_ci   * @param { Padding | Dimension | LocalizedPadding } value - indicates the padding of the bottom tab bar
90061847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
90161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
90261847f8eSopenharmony_ci   * @crossplatform
90361847f8eSopenharmony_ci   * @atomicservice
90461847f8eSopenharmony_ci   * @since 12
90561847f8eSopenharmony_ci   */
90661847f8eSopenharmony_ci  padding(value: Padding | Dimension | LocalizedPadding): BottomTabBarStyle;
90761847f8eSopenharmony_ci
90861847f8eSopenharmony_ci  /**
90961847f8eSopenharmony_ci   * Set the layout mode of the bottom tab bar
91061847f8eSopenharmony_ci   *
91161847f8eSopenharmony_ci   * @param { LayoutMode } value - indicates the layout mode of the bottom tab bar
91261847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
91361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
91461847f8eSopenharmony_ci   * @crossplatform
91561847f8eSopenharmony_ci   * @since 10
91661847f8eSopenharmony_ci   */
91761847f8eSopenharmony_ci  /**
91861847f8eSopenharmony_ci   * Set the layout mode of the bottom tab bar
91961847f8eSopenharmony_ci   *
92061847f8eSopenharmony_ci   * @param { LayoutMode } value - indicates the layout mode of the bottom tab bar
92161847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
92261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
92361847f8eSopenharmony_ci   * @crossplatform
92461847f8eSopenharmony_ci   * @atomicservice
92561847f8eSopenharmony_ci   * @since 11
92661847f8eSopenharmony_ci   */
92761847f8eSopenharmony_ci  layoutMode(value: LayoutMode): BottomTabBarStyle;
92861847f8eSopenharmony_ci
92961847f8eSopenharmony_ci  /**
93061847f8eSopenharmony_ci   * Set the vertical alignment style of the bottom tab bar
93161847f8eSopenharmony_ci   *
93261847f8eSopenharmony_ci   * @param { VerticalAlign } value - indicates the vertical alignment of the bottom tab bar
93361847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
93461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
93561847f8eSopenharmony_ci   * @crossplatform
93661847f8eSopenharmony_ci   * @since 10
93761847f8eSopenharmony_ci   */
93861847f8eSopenharmony_ci  /**
93961847f8eSopenharmony_ci   * Set the vertical alignment style of the bottom tab bar
94061847f8eSopenharmony_ci   *
94161847f8eSopenharmony_ci   * @param { VerticalAlign } value - indicates the vertical alignment of the bottom tab bar
94261847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
94361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
94461847f8eSopenharmony_ci   * @crossplatform
94561847f8eSopenharmony_ci   * @atomicservice
94661847f8eSopenharmony_ci   * @since 11
94761847f8eSopenharmony_ci   */
94861847f8eSopenharmony_ci  verticalAlign(value: VerticalAlign): BottomTabBarStyle;
94961847f8eSopenharmony_ci
95061847f8eSopenharmony_ci  /**
95161847f8eSopenharmony_ci   * Set the symmetric extensible of the bottom tab bar
95261847f8eSopenharmony_ci   *
95361847f8eSopenharmony_ci   * @param { boolean } value - indicates whether the bottom tab bar is extensible
95461847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
95561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
95661847f8eSopenharmony_ci   * @crossplatform
95761847f8eSopenharmony_ci   * @since 10
95861847f8eSopenharmony_ci   */
95961847f8eSopenharmony_ci  /**
96061847f8eSopenharmony_ci   * Set the symmetric extensible of the bottom tab bar
96161847f8eSopenharmony_ci   *
96261847f8eSopenharmony_ci   * @param { boolean } value - indicates whether the bottom tab bar is extensible
96361847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
96461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
96561847f8eSopenharmony_ci   * @crossplatform
96661847f8eSopenharmony_ci   * @atomicservice
96761847f8eSopenharmony_ci   * @since 11
96861847f8eSopenharmony_ci   */
96961847f8eSopenharmony_ci  symmetricExtensible(value: boolean): BottomTabBarStyle;
97061847f8eSopenharmony_ci
97161847f8eSopenharmony_ci  /**
97261847f8eSopenharmony_ci   * Set an id to the bottom tab bar to identify it
97361847f8eSopenharmony_ci   *
97461847f8eSopenharmony_ci   * @param { string } value - id of the bottom tab bar to identify it
97561847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
97661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
97761847f8eSopenharmony_ci   * @crossplatform
97861847f8eSopenharmony_ci   * @since 11
97961847f8eSopenharmony_ci   */
98061847f8eSopenharmony_ci  /**
98161847f8eSopenharmony_ci   * Set an id to the bottom tab bar to identify it
98261847f8eSopenharmony_ci   *
98361847f8eSopenharmony_ci   * @param { string } value - id of the bottom tab bar to identify it
98461847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
98561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
98661847f8eSopenharmony_ci   * @crossplatform
98761847f8eSopenharmony_ci   * @atomicservice
98861847f8eSopenharmony_ci   * @since 12
98961847f8eSopenharmony_ci   */
99061847f8eSopenharmony_ci  id(value: string): BottomTabBarStyle;
99161847f8eSopenharmony_ci
99261847f8eSopenharmony_ci  /**
99361847f8eSopenharmony_ci   * Set the icon style of the bottom tab bar
99461847f8eSopenharmony_ci   *
99561847f8eSopenharmony_ci   * @param { TabBarIconStyle } style - indicates the icon style of the bottom tab bar
99661847f8eSopenharmony_ci   * @returns { BottomTabBarStyle } the style of the bottom tab bar
99761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
99861847f8eSopenharmony_ci   * @crossplatform
99961847f8eSopenharmony_ci   * @atomicservice
100061847f8eSopenharmony_ci   * @since 12
100161847f8eSopenharmony_ci   */
100261847f8eSopenharmony_ci  iconStyle(style: TabBarIconStyle): BottomTabBarStyle;
100361847f8eSopenharmony_ci}
100461847f8eSopenharmony_ci
100561847f8eSopenharmony_ci/**
100661847f8eSopenharmony_ci * Provides an interface for switching the content view on a tab page.
100761847f8eSopenharmony_ci *
100861847f8eSopenharmony_ci * @interface TabContentInterface
100961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
101061847f8eSopenharmony_ci * @since 7
101161847f8eSopenharmony_ci */
101261847f8eSopenharmony_ci/**
101361847f8eSopenharmony_ci * Provides an interface for switching the content view on a tab page.
101461847f8eSopenharmony_ci *
101561847f8eSopenharmony_ci * @interface TabContentInterface
101661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
101761847f8eSopenharmony_ci * @crossplatform
101861847f8eSopenharmony_ci * @since 10
101961847f8eSopenharmony_ci */
102061847f8eSopenharmony_ci/**
102161847f8eSopenharmony_ci * Provides an interface for switching the content view on a tab page.
102261847f8eSopenharmony_ci *
102361847f8eSopenharmony_ci * @interface TabContentInterface
102461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
102561847f8eSopenharmony_ci * @crossplatform
102661847f8eSopenharmony_ci * @atomicservice
102761847f8eSopenharmony_ci * @since 11
102861847f8eSopenharmony_ci */
102961847f8eSopenharmony_ciinterface TabContentInterface {
103061847f8eSopenharmony_ci  /**
103161847f8eSopenharmony_ci   * Called when the content view of the switch tab is set.
103261847f8eSopenharmony_ci   *
103361847f8eSopenharmony_ci   * @returns { TabContentAttribute }
103461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
103561847f8eSopenharmony_ci   * @since 7
103661847f8eSopenharmony_ci   */
103761847f8eSopenharmony_ci  /**
103861847f8eSopenharmony_ci   * Called when the content view of the switch tab is set.
103961847f8eSopenharmony_ci   *
104061847f8eSopenharmony_ci   * @returns { TabContentAttribute }
104161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
104261847f8eSopenharmony_ci   * @crossplatform
104361847f8eSopenharmony_ci   * @since 10
104461847f8eSopenharmony_ci   */
104561847f8eSopenharmony_ci  /**
104661847f8eSopenharmony_ci   * Called when the content view of the switch tab is set.
104761847f8eSopenharmony_ci   *
104861847f8eSopenharmony_ci   * @returns { TabContentAttribute }
104961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
105061847f8eSopenharmony_ci   * @crossplatform
105161847f8eSopenharmony_ci   * @atomicservice
105261847f8eSopenharmony_ci   * @since 11
105361847f8eSopenharmony_ci   */
105461847f8eSopenharmony_ci  (): TabContentAttribute;
105561847f8eSopenharmony_ci}
105661847f8eSopenharmony_ci
105761847f8eSopenharmony_ci/**
105861847f8eSopenharmony_ci * Defines the attribute functions of TabContent.
105961847f8eSopenharmony_ci *
106061847f8eSopenharmony_ci * @extends CommonMethod<TabContentAttribute>
106161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
106261847f8eSopenharmony_ci * @since 7
106361847f8eSopenharmony_ci */
106461847f8eSopenharmony_ci/**
106561847f8eSopenharmony_ci * Defines the attribute functions of TabContent.
106661847f8eSopenharmony_ci *
106761847f8eSopenharmony_ci * @extends CommonMethod<TabContentAttribute>
106861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
106961847f8eSopenharmony_ci * @crossplatform
107061847f8eSopenharmony_ci * @since 10
107161847f8eSopenharmony_ci */
107261847f8eSopenharmony_ci/**
107361847f8eSopenharmony_ci * Defines the attribute functions of TabContent.
107461847f8eSopenharmony_ci *
107561847f8eSopenharmony_ci * @extends CommonMethod<TabContentAttribute>
107661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
107761847f8eSopenharmony_ci * @crossplatform
107861847f8eSopenharmony_ci * @atomicservice
107961847f8eSopenharmony_ci * @since 11
108061847f8eSopenharmony_ci */
108161847f8eSopenharmony_cideclare class TabContentAttribute extends CommonMethod<TabContentAttribute> {
108261847f8eSopenharmony_ci  /**
108361847f8eSopenharmony_ci   * Called when tabbar is entered.
108461847f8eSopenharmony_ci   *
108561847f8eSopenharmony_ci   * @param { string | Resource | { icon?: string | Resource; text?: string | Resource } } value
108661847f8eSopenharmony_ci   * @returns { TabContentAttribute }
108761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
108861847f8eSopenharmony_ci   * @since 7
108961847f8eSopenharmony_ci   */
109061847f8eSopenharmony_ci  /**
109161847f8eSopenharmony_ci   * Called when tabbar is entered.
109261847f8eSopenharmony_ci   *
109361847f8eSopenharmony_ci   * @param { string | Resource | CustomBuilder | { icon?: string | Resource; text?: string | Resource } } value
109461847f8eSopenharmony_ci   * @returns { TabContentAttribute }
109561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
109661847f8eSopenharmony_ci   * @since 8
109761847f8eSopenharmony_ci   */
109861847f8eSopenharmony_ci  /**
109961847f8eSopenharmony_ci   * Called when tabbar is entered.
110061847f8eSopenharmony_ci   *
110161847f8eSopenharmony_ci   * @param { string | Resource | CustomBuilder | { icon?: string | Resource; text?: string | Resource } } value
110261847f8eSopenharmony_ci   * @returns { TabContentAttribute }
110361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
110461847f8eSopenharmony_ci   * @crossplatform
110561847f8eSopenharmony_ci   * @since 10
110661847f8eSopenharmony_ci   */
110761847f8eSopenharmony_ci  /**
110861847f8eSopenharmony_ci   * Called when tabbar is entered.
110961847f8eSopenharmony_ci   *
111061847f8eSopenharmony_ci   * @param { string | Resource | CustomBuilder | { icon?: string | Resource; text?: string | Resource } } value
111161847f8eSopenharmony_ci   * @returns { TabContentAttribute }
111261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
111361847f8eSopenharmony_ci   * @crossplatform
111461847f8eSopenharmony_ci   * @atomicservice
111561847f8eSopenharmony_ci   * @since 11
111661847f8eSopenharmony_ci   */
111761847f8eSopenharmony_ci  tabBar(value: string | Resource | CustomBuilder |
111861847f8eSopenharmony_ci  { icon?: string | Resource; text?: string | Resource }): TabContentAttribute;
111961847f8eSopenharmony_ci
112061847f8eSopenharmony_ci  /**
112161847f8eSopenharmony_ci   * Called when tabbar is entered.
112261847f8eSopenharmony_ci   *
112361847f8eSopenharmony_ci   * @param { SubTabBarStyle | BottomTabBarStyle } value
112461847f8eSopenharmony_ci   * @returns { TabContentAttribute }
112561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
112661847f8eSopenharmony_ci   * @since 9
112761847f8eSopenharmony_ci   */
112861847f8eSopenharmony_ci  /**
112961847f8eSopenharmony_ci   * Called when tabbar is entered.
113061847f8eSopenharmony_ci   *
113161847f8eSopenharmony_ci   * @param { SubTabBarStyle | BottomTabBarStyle } value
113261847f8eSopenharmony_ci   * @returns { TabContentAttribute }
113361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
113461847f8eSopenharmony_ci   * @crossplatform
113561847f8eSopenharmony_ci   * @since 10
113661847f8eSopenharmony_ci   */
113761847f8eSopenharmony_ci  /**
113861847f8eSopenharmony_ci   * Called when tabbar is entered.
113961847f8eSopenharmony_ci   *
114061847f8eSopenharmony_ci   * @param { SubTabBarStyle | BottomTabBarStyle } value
114161847f8eSopenharmony_ci   * @returns { TabContentAttribute }
114261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
114361847f8eSopenharmony_ci   * @crossplatform
114461847f8eSopenharmony_ci   * @atomicservice
114561847f8eSopenharmony_ci   * @since 11
114661847f8eSopenharmony_ci   */
114761847f8eSopenharmony_ci  tabBar(value: SubTabBarStyle | BottomTabBarStyle): TabContentAttribute;
114861847f8eSopenharmony_ci
114961847f8eSopenharmony_ci  /**
115061847f8eSopenharmony_ci   * Called when the tab content will show.
115161847f8eSopenharmony_ci   * @param { VoidCallback  } event
115261847f8eSopenharmony_ci   * @returns { TabContentAttribute }
115361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
115461847f8eSopenharmony_ci   * @crossplatform
115561847f8eSopenharmony_ci   * @atomicservice
115661847f8eSopenharmony_ci   * @since 12
115761847f8eSopenharmony_ci   */
115861847f8eSopenharmony_ci  onWillShow(event: VoidCallback): TabContentAttribute;
115961847f8eSopenharmony_ci
116061847f8eSopenharmony_ci  /**
116161847f8eSopenharmony_ci   * Called when the tab content will hide.
116261847f8eSopenharmony_ci   * @param { VoidCallback  } event
116361847f8eSopenharmony_ci   * @returns { TabContentAttribute }
116461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
116561847f8eSopenharmony_ci   * @crossplatform
116661847f8eSopenharmony_ci   * @atomicservice
116761847f8eSopenharmony_ci   * @since 12
116861847f8eSopenharmony_ci   */
116961847f8eSopenharmony_ci  onWillHide(event: VoidCallback): TabContentAttribute;
117061847f8eSopenharmony_ci}
117161847f8eSopenharmony_ci
117261847f8eSopenharmony_ci/**
117361847f8eSopenharmony_ci * Defines TabContent Component.
117461847f8eSopenharmony_ci *
117561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
117661847f8eSopenharmony_ci * @since 7
117761847f8eSopenharmony_ci */
117861847f8eSopenharmony_ci/**
117961847f8eSopenharmony_ci * Defines TabContent Component.
118061847f8eSopenharmony_ci *
118161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
118261847f8eSopenharmony_ci * @crossplatform
118361847f8eSopenharmony_ci * @since 10
118461847f8eSopenharmony_ci */
118561847f8eSopenharmony_ci/**
118661847f8eSopenharmony_ci * Defines TabContent Component.
118761847f8eSopenharmony_ci *
118861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
118961847f8eSopenharmony_ci * @crossplatform
119061847f8eSopenharmony_ci * @atomicservice
119161847f8eSopenharmony_ci * @since 11
119261847f8eSopenharmony_ci */
119361847f8eSopenharmony_cideclare const TabContent: TabContentInterface;
119461847f8eSopenharmony_ci
119561847f8eSopenharmony_ci/**
119661847f8eSopenharmony_ci * Defines TabContent Component instance.
119761847f8eSopenharmony_ci *
119861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
119961847f8eSopenharmony_ci * @since 7
120061847f8eSopenharmony_ci */
120161847f8eSopenharmony_ci/**
120261847f8eSopenharmony_ci * Defines TabContent Component instance.
120361847f8eSopenharmony_ci *
120461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
120561847f8eSopenharmony_ci * @crossplatform
120661847f8eSopenharmony_ci * @since 10
120761847f8eSopenharmony_ci */
120861847f8eSopenharmony_ci/**
120961847f8eSopenharmony_ci * Defines TabContent Component instance.
121061847f8eSopenharmony_ci *
121161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
121261847f8eSopenharmony_ci * @crossplatform
121361847f8eSopenharmony_ci * @atomicservice
121461847f8eSopenharmony_ci * @since 11
121561847f8eSopenharmony_ci */
121661847f8eSopenharmony_cideclare const TabContentInstance: TabContentAttribute;
1217