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 * Sets the sidebar style of showing
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @enum { number }
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @since 8
2761847f8eSopenharmony_ci */
2861847f8eSopenharmony_ci/**
2961847f8eSopenharmony_ci * Sets the sidebar style of showing
3061847f8eSopenharmony_ci *
3161847f8eSopenharmony_ci * @enum { number }
3261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
3361847f8eSopenharmony_ci * @crossplatform
3461847f8eSopenharmony_ci * @since 10
3561847f8eSopenharmony_ci */
3661847f8eSopenharmony_ci/**
3761847f8eSopenharmony_ci * Sets the sidebar style of showing
3861847f8eSopenharmony_ci *
3961847f8eSopenharmony_ci * @enum { number }
4061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
4161847f8eSopenharmony_ci * @crossplatform
4261847f8eSopenharmony_ci * @atomicservice
4361847f8eSopenharmony_ci * @since 11
4461847f8eSopenharmony_ci */
4561847f8eSopenharmony_cideclare enum SideBarContainerType {
4661847f8eSopenharmony_ci  /**
4761847f8eSopenharmony_ci   * The sidebar invisible
4861847f8eSopenharmony_ci   *
4961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5061847f8eSopenharmony_ci   * @since 8
5161847f8eSopenharmony_ci   */
5261847f8eSopenharmony_ci  /**
5361847f8eSopenharmony_ci   * The sidebar invisible
5461847f8eSopenharmony_ci   *
5561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5661847f8eSopenharmony_ci   * @crossplatform
5761847f8eSopenharmony_ci   * @since 10
5861847f8eSopenharmony_ci   */
5961847f8eSopenharmony_ci  /**
6061847f8eSopenharmony_ci   * The sidebar invisible
6161847f8eSopenharmony_ci   *
6261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6361847f8eSopenharmony_ci   * @crossplatform
6461847f8eSopenharmony_ci   * @atomicservice
6561847f8eSopenharmony_ci   * @since 11
6661847f8eSopenharmony_ci   */
6761847f8eSopenharmony_ci  Embed,
6861847f8eSopenharmony_ci
6961847f8eSopenharmony_ci  /**
7061847f8eSopenharmony_ci   * The sidebar visible
7161847f8eSopenharmony_ci   *
7261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
7361847f8eSopenharmony_ci   * @since 8
7461847f8eSopenharmony_ci   */
7561847f8eSopenharmony_ci  /**
7661847f8eSopenharmony_ci   * The sidebar visible
7761847f8eSopenharmony_ci   *
7861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
7961847f8eSopenharmony_ci   * @crossplatform
8061847f8eSopenharmony_ci   * @since 10
8161847f8eSopenharmony_ci   */
8261847f8eSopenharmony_ci  /**
8361847f8eSopenharmony_ci   * The sidebar visible
8461847f8eSopenharmony_ci   *
8561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
8661847f8eSopenharmony_ci   * @crossplatform
8761847f8eSopenharmony_ci   * @atomicservice
8861847f8eSopenharmony_ci   * @since 11
8961847f8eSopenharmony_ci   */
9061847f8eSopenharmony_ci  Overlay,
9161847f8eSopenharmony_ci
9261847f8eSopenharmony_ci  /**
9361847f8eSopenharmony_ci   * The sidebar AUTO 
9461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
9561847f8eSopenharmony_ci   * @crossplatform
9661847f8eSopenharmony_ci   * @since 10
9761847f8eSopenharmony_ci   */
9861847f8eSopenharmony_ci  /**
9961847f8eSopenharmony_ci   * The sidebar AUTO 
10061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
10161847f8eSopenharmony_ci   * @crossplatform
10261847f8eSopenharmony_ci   * @atomicservice
10361847f8eSopenharmony_ci   * @since 11
10461847f8eSopenharmony_ci   */
10561847f8eSopenharmony_ci  AUTO,
10661847f8eSopenharmony_ci}
10761847f8eSopenharmony_ci
10861847f8eSopenharmony_ci/**
10961847f8eSopenharmony_ci * Sets the sidebar position of showing
11061847f8eSopenharmony_ci *
11161847f8eSopenharmony_ci * @enum { number }
11261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
11361847f8eSopenharmony_ci * @since 9
11461847f8eSopenharmony_ci */
11561847f8eSopenharmony_ci/**
11661847f8eSopenharmony_ci * Sets the sidebar position of showing
11761847f8eSopenharmony_ci *
11861847f8eSopenharmony_ci * @enum { number }
11961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
12061847f8eSopenharmony_ci * @crossplatform
12161847f8eSopenharmony_ci * @since 10
12261847f8eSopenharmony_ci */
12361847f8eSopenharmony_ci/**
12461847f8eSopenharmony_ci * Sets the sidebar position of showing
12561847f8eSopenharmony_ci *
12661847f8eSopenharmony_ci * @enum { number }
12761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
12861847f8eSopenharmony_ci * @crossplatform
12961847f8eSopenharmony_ci * @atomicservice
13061847f8eSopenharmony_ci * @since 11
13161847f8eSopenharmony_ci */
13261847f8eSopenharmony_cideclare enum SideBarPosition {
13361847f8eSopenharmony_ci  /**
13461847f8eSopenharmony_ci   * The sidebar is on the Start of the container
13561847f8eSopenharmony_ci   *
13661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
13761847f8eSopenharmony_ci   * @since 9
13861847f8eSopenharmony_ci   */
13961847f8eSopenharmony_ci  /**
14061847f8eSopenharmony_ci   * The sidebar is on the Start of the container
14161847f8eSopenharmony_ci   *
14261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
14361847f8eSopenharmony_ci   * @crossplatform
14461847f8eSopenharmony_ci   * @since 10
14561847f8eSopenharmony_ci   */
14661847f8eSopenharmony_ci  /**
14761847f8eSopenharmony_ci   * The sidebar is on the Start of the container
14861847f8eSopenharmony_ci   *
14961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
15061847f8eSopenharmony_ci   * @crossplatform
15161847f8eSopenharmony_ci   * @atomicservice
15261847f8eSopenharmony_ci   * @since 11
15361847f8eSopenharmony_ci   */
15461847f8eSopenharmony_ci  Start,
15561847f8eSopenharmony_ci
15661847f8eSopenharmony_ci  /**
15761847f8eSopenharmony_ci   * The sidebar is on the End of the container
15861847f8eSopenharmony_ci   *
15961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
16061847f8eSopenharmony_ci   * @since 9
16161847f8eSopenharmony_ci   */
16261847f8eSopenharmony_ci  /**
16361847f8eSopenharmony_ci   * The sidebar is on the End of the container
16461847f8eSopenharmony_ci   *
16561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
16661847f8eSopenharmony_ci   * @crossplatform
16761847f8eSopenharmony_ci   * @since 10
16861847f8eSopenharmony_ci   */
16961847f8eSopenharmony_ci  /**
17061847f8eSopenharmony_ci   * The sidebar is on the End of the container
17161847f8eSopenharmony_ci   *
17261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
17361847f8eSopenharmony_ci   * @crossplatform
17461847f8eSopenharmony_ci   * @atomicservice
17561847f8eSopenharmony_ci   * @since 11
17661847f8eSopenharmony_ci   */
17761847f8eSopenharmony_ci  End,
17861847f8eSopenharmony_ci}
17961847f8eSopenharmony_ci
18061847f8eSopenharmony_ci/**
18161847f8eSopenharmony_ci * ButtonStyle icons.
18261847f8eSopenharmony_ci *
18361847f8eSopenharmony_ci * @typedef ButtonStyleIcon
18461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
18561847f8eSopenharmony_ci * @crossplatform
18661847f8eSopenharmony_ci * @atomicservice
18761847f8eSopenharmony_ci * @since 14
18861847f8eSopenharmony_ci */
18961847f8eSopenharmony_cideclare interface ButtonIconOptions {
19061847f8eSopenharmony_ci  /**
19161847f8eSopenharmony_ci   * Defines whether an icon is shown.
19261847f8eSopenharmony_ci   *
19361847f8eSopenharmony_ci   * @type { string | PixelMap | Resource }
19461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
19561847f8eSopenharmony_ci   * @since 8
19661847f8eSopenharmony_ci   */
19761847f8eSopenharmony_ci  /**
19861847f8eSopenharmony_ci   * Defines whether an icon is shown.
19961847f8eSopenharmony_ci   *
20061847f8eSopenharmony_ci   * @type { string | PixelMap | Resource }
20161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
20261847f8eSopenharmony_ci   * @crossplatform
20361847f8eSopenharmony_ci   * @since 10
20461847f8eSopenharmony_ci   */
20561847f8eSopenharmony_ci  /**
20661847f8eSopenharmony_ci   * Defines whether an icon is shown.
20761847f8eSopenharmony_ci   *
20861847f8eSopenharmony_ci   * @type { string | PixelMap | Resource }
20961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
21061847f8eSopenharmony_ci   * @crossplatform
21161847f8eSopenharmony_ci   * @atomicservice
21261847f8eSopenharmony_ci   * @since 11
21361847f8eSopenharmony_ci   */
21461847f8eSopenharmony_ci  shown: string | PixelMap | Resource;
21561847f8eSopenharmony_ci
21661847f8eSopenharmony_ci  /**
21761847f8eSopenharmony_ci   * Defines whether an icon is hidden.
21861847f8eSopenharmony_ci   *
21961847f8eSopenharmony_ci   * @type { string | PixelMap | Resource }
22061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22161847f8eSopenharmony_ci   * @since 8
22261847f8eSopenharmony_ci   */
22361847f8eSopenharmony_ci  /**
22461847f8eSopenharmony_ci   * Defines whether an icon is hidden.
22561847f8eSopenharmony_ci   *
22661847f8eSopenharmony_ci   * @type { string | PixelMap | Resource }
22761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22861847f8eSopenharmony_ci   * @crossplatform
22961847f8eSopenharmony_ci   * @since 10
23061847f8eSopenharmony_ci   */
23161847f8eSopenharmony_ci  /**
23261847f8eSopenharmony_ci   * Defines whether an icon is hidden.
23361847f8eSopenharmony_ci   *
23461847f8eSopenharmony_ci   * @type { string | PixelMap | Resource }
23561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
23661847f8eSopenharmony_ci   * @crossplatform
23761847f8eSopenharmony_ci   * @atomicservice
23861847f8eSopenharmony_ci   * @since 11
23961847f8eSopenharmony_ci   */
24061847f8eSopenharmony_ci  hidden: string | PixelMap | Resource;
24161847f8eSopenharmony_ci
24261847f8eSopenharmony_ci  /**
24361847f8eSopenharmony_ci   * Defines whether an icon is switching.
24461847f8eSopenharmony_ci   *
24561847f8eSopenharmony_ci   * @type { ?(string | PixelMap | Resource) }
24661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
24761847f8eSopenharmony_ci   * @since 8
24861847f8eSopenharmony_ci   */
24961847f8eSopenharmony_ci  /**
25061847f8eSopenharmony_ci   * Defines whether an icon is switching.
25161847f8eSopenharmony_ci   *
25261847f8eSopenharmony_ci   * @type { ?(string | PixelMap | Resource) }
25361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
25461847f8eSopenharmony_ci   * @crossplatform
25561847f8eSopenharmony_ci   * @since 10
25661847f8eSopenharmony_ci   */
25761847f8eSopenharmony_ci  /**
25861847f8eSopenharmony_ci   * Defines whether an icon is switching.
25961847f8eSopenharmony_ci   *
26061847f8eSopenharmony_ci   * @type { ?(string | PixelMap | Resource) }
26161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26261847f8eSopenharmony_ci   * @crossplatform
26361847f8eSopenharmony_ci   * @atomicservice
26461847f8eSopenharmony_ci   * @since 11
26561847f8eSopenharmony_ci   */
26661847f8eSopenharmony_ci  switching?: string | PixelMap | Resource;
26761847f8eSopenharmony_ci}
26861847f8eSopenharmony_ci
26961847f8eSopenharmony_ci/**
27061847f8eSopenharmony_ci * Sets the control button style
27161847f8eSopenharmony_ci *
27261847f8eSopenharmony_ci * @interface ButtonStyle
27361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
27461847f8eSopenharmony_ci * @since 8
27561847f8eSopenharmony_ci */
27661847f8eSopenharmony_ci/**
27761847f8eSopenharmony_ci * Sets the control button style
27861847f8eSopenharmony_ci *
27961847f8eSopenharmony_ci * @interface ButtonStyle
28061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
28161847f8eSopenharmony_ci * @crossplatform
28261847f8eSopenharmony_ci * @since 10
28361847f8eSopenharmony_ci */
28461847f8eSopenharmony_ci/**
28561847f8eSopenharmony_ci * Sets the control button style
28661847f8eSopenharmony_ci *
28761847f8eSopenharmony_ci * @interface ButtonStyle
28861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
28961847f8eSopenharmony_ci * @crossplatform
29061847f8eSopenharmony_ci * @atomicservice
29161847f8eSopenharmony_ci * @since 11
29261847f8eSopenharmony_ci */
29361847f8eSopenharmony_cideclare interface ButtonStyle {
29461847f8eSopenharmony_ci  /**
29561847f8eSopenharmony_ci   * Set the left of control button
29661847f8eSopenharmony_ci   * default value is 16vp.
29761847f8eSopenharmony_ci   *
29861847f8eSopenharmony_ci   * @type { ?number }
29961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
30061847f8eSopenharmony_ci   * @since 8
30161847f8eSopenharmony_ci   */
30261847f8eSopenharmony_ci  /**
30361847f8eSopenharmony_ci   * Set the left of control button
30461847f8eSopenharmony_ci   * default value is 16vp.
30561847f8eSopenharmony_ci   *
30661847f8eSopenharmony_ci   * @type { ?number }
30761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
30861847f8eSopenharmony_ci   * @crossplatform
30961847f8eSopenharmony_ci   * @since 10
31061847f8eSopenharmony_ci   */
31161847f8eSopenharmony_ci  /**
31261847f8eSopenharmony_ci   * Set the left of control button
31361847f8eSopenharmony_ci   * default value is 16vp.
31461847f8eSopenharmony_ci   *
31561847f8eSopenharmony_ci   * @type { ?number }
31661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
31761847f8eSopenharmony_ci   * @crossplatform
31861847f8eSopenharmony_ci   * @atomicservice
31961847f8eSopenharmony_ci   * @since 11
32061847f8eSopenharmony_ci   */
32161847f8eSopenharmony_ci  left?: number;
32261847f8eSopenharmony_ci
32361847f8eSopenharmony_ci  /**
32461847f8eSopenharmony_ci   * Set the top of control button
32561847f8eSopenharmony_ci   * default value is 48vp.
32661847f8eSopenharmony_ci   *
32761847f8eSopenharmony_ci   * @type { ?number }
32861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
32961847f8eSopenharmony_ci   * @since 8
33061847f8eSopenharmony_ci   */
33161847f8eSopenharmony_ci  /**
33261847f8eSopenharmony_ci   * Set the top of control button
33361847f8eSopenharmony_ci   * default value is 48vp.
33461847f8eSopenharmony_ci   *
33561847f8eSopenharmony_ci   * @type { ?number }
33661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
33761847f8eSopenharmony_ci   * @crossplatform
33861847f8eSopenharmony_ci   * @since 10
33961847f8eSopenharmony_ci   */
34061847f8eSopenharmony_ci  /**
34161847f8eSopenharmony_ci   * Set the top of control button
34261847f8eSopenharmony_ci   * default value is 48vp.
34361847f8eSopenharmony_ci   *
34461847f8eSopenharmony_ci   * @type { ?number }
34561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
34661847f8eSopenharmony_ci   * @crossplatform
34761847f8eSopenharmony_ci   * @atomicservice
34861847f8eSopenharmony_ci   * @since 11
34961847f8eSopenharmony_ci   */
35061847f8eSopenharmony_ci  top?: number;
35161847f8eSopenharmony_ci
35261847f8eSopenharmony_ci  /**
35361847f8eSopenharmony_ci   * Set the width of control button
35461847f8eSopenharmony_ci   * default value is 32vp.
35561847f8eSopenharmony_ci   *
35661847f8eSopenharmony_ci   * @type { ?number }
35761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
35861847f8eSopenharmony_ci   * @since 8
35961847f8eSopenharmony_ci   */
36061847f8eSopenharmony_ci  /**
36161847f8eSopenharmony_ci   * Set the width of control button
36261847f8eSopenharmony_ci   * default value is 24vp.
36361847f8eSopenharmony_ci   *
36461847f8eSopenharmony_ci   * @type { ?number }
36561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
36661847f8eSopenharmony_ci   * @crossplatform
36761847f8eSopenharmony_ci   * @since 10
36861847f8eSopenharmony_ci   */
36961847f8eSopenharmony_ci  /**
37061847f8eSopenharmony_ci   * Set the width of control button
37161847f8eSopenharmony_ci   * default value is 24vp.
37261847f8eSopenharmony_ci   *
37361847f8eSopenharmony_ci   * @type { ?number }
37461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
37561847f8eSopenharmony_ci   * @crossplatform
37661847f8eSopenharmony_ci   * @atomicservice
37761847f8eSopenharmony_ci   * @since 11
37861847f8eSopenharmony_ci   */
37961847f8eSopenharmony_ci  width?: number;
38061847f8eSopenharmony_ci
38161847f8eSopenharmony_ci  /**
38261847f8eSopenharmony_ci   * Set the height of control button
38361847f8eSopenharmony_ci   * default value is 32vp.
38461847f8eSopenharmony_ci   *
38561847f8eSopenharmony_ci   * @type { ?number }
38661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
38761847f8eSopenharmony_ci   * @since 8
38861847f8eSopenharmony_ci   */
38961847f8eSopenharmony_ci  /**
39061847f8eSopenharmony_ci   * Set the height of control button
39161847f8eSopenharmony_ci   * default value is 24vp.
39261847f8eSopenharmony_ci   *
39361847f8eSopenharmony_ci   * @type { ?number }
39461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
39561847f8eSopenharmony_ci   * @crossplatform
39661847f8eSopenharmony_ci   * @since 10
39761847f8eSopenharmony_ci   */
39861847f8eSopenharmony_ci  /**
39961847f8eSopenharmony_ci   * Set the height of control button
40061847f8eSopenharmony_ci   * default value is 24vp.
40161847f8eSopenharmony_ci   *
40261847f8eSopenharmony_ci   * @type { ?number }
40361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
40461847f8eSopenharmony_ci   * @crossplatform
40561847f8eSopenharmony_ci   * @atomicservice
40661847f8eSopenharmony_ci   * @since 11
40761847f8eSopenharmony_ci   */
40861847f8eSopenharmony_ci  height?: number;
40961847f8eSopenharmony_ci
41061847f8eSopenharmony_ci  /**
41161847f8eSopenharmony_ci   * Set the button icon when sidebar status has changed
41261847f8eSopenharmony_ci   *
41361847f8eSopenharmony_ci   * @type { ?object }
41461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
41561847f8eSopenharmony_ci   * @since 8
41661847f8eSopenharmony_ci   */
41761847f8eSopenharmony_ci  /**
41861847f8eSopenharmony_ci   * Set the button icon when sidebar status has changed
41961847f8eSopenharmony_ci   *
42061847f8eSopenharmony_ci   * @type { ?object }
42161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42261847f8eSopenharmony_ci   * @crossplatform
42361847f8eSopenharmony_ci   * @since 10
42461847f8eSopenharmony_ci   */
42561847f8eSopenharmony_ci  /**
42661847f8eSopenharmony_ci   * Set the button icon when sidebar status has changed
42761847f8eSopenharmony_ci   *
42861847f8eSopenharmony_ci   * @type { ?object }
42961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
43061847f8eSopenharmony_ci   * @crossplatform
43161847f8eSopenharmony_ci   * @atomicservice
43261847f8eSopenharmony_ci   * @since 11
43361847f8eSopenharmony_ci   */
43461847f8eSopenharmony_ci  /**
43561847f8eSopenharmony_ci   * Set the button icon when sidebar status has changed
43661847f8eSopenharmony_ci   *
43761847f8eSopenharmony_ci   * @type { ?ButtonIconOptions }
43861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
43961847f8eSopenharmony_ci   * @crossplatform
44061847f8eSopenharmony_ci   * @atomicservice
44161847f8eSopenharmony_ci   * @since 14
44261847f8eSopenharmony_ci   */
44361847f8eSopenharmony_ci  icons?: ButtonIconOptions;
44461847f8eSopenharmony_ci}
44561847f8eSopenharmony_ci
44661847f8eSopenharmony_ci/**
44761847f8eSopenharmony_ci * The construct function of sidebar
44861847f8eSopenharmony_ci *
44961847f8eSopenharmony_ci * @interface SideBarContainerInterface
45061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
45161847f8eSopenharmony_ci * @since 8
45261847f8eSopenharmony_ci */
45361847f8eSopenharmony_ci/**
45461847f8eSopenharmony_ci * The construct function of sidebar
45561847f8eSopenharmony_ci *
45661847f8eSopenharmony_ci * @interface SideBarContainerInterface
45761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
45861847f8eSopenharmony_ci * @crossplatform
45961847f8eSopenharmony_ci * @since 10
46061847f8eSopenharmony_ci */
46161847f8eSopenharmony_ci/**
46261847f8eSopenharmony_ci * The construct function of sidebar
46361847f8eSopenharmony_ci *
46461847f8eSopenharmony_ci * @interface SideBarContainerInterface
46561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
46661847f8eSopenharmony_ci * @crossplatform
46761847f8eSopenharmony_ci * @atomicservice
46861847f8eSopenharmony_ci * @since 11
46961847f8eSopenharmony_ci */
47061847f8eSopenharmony_ciinterface SideBarContainerInterface {
47161847f8eSopenharmony_ci  /**
47261847f8eSopenharmony_ci   * Called when showing the sidebar of a block entry.
47361847f8eSopenharmony_ci   *
47461847f8eSopenharmony_ci   * @param { SideBarContainerType } type
47561847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
47661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
47761847f8eSopenharmony_ci   * @since 8
47861847f8eSopenharmony_ci   */
47961847f8eSopenharmony_ci  /**
48061847f8eSopenharmony_ci   * Called when showing the sidebar of a block entry.
48161847f8eSopenharmony_ci   *
48261847f8eSopenharmony_ci   * @param { SideBarContainerType } type
48361847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
48461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
48561847f8eSopenharmony_ci   * @crossplatform
48661847f8eSopenharmony_ci   * @since 10
48761847f8eSopenharmony_ci   */
48861847f8eSopenharmony_ci  /**
48961847f8eSopenharmony_ci   * Called when showing the sidebar of a block entry.
49061847f8eSopenharmony_ci   *
49161847f8eSopenharmony_ci   * @param { SideBarContainerType } type
49261847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
49361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
49461847f8eSopenharmony_ci   * @crossplatform
49561847f8eSopenharmony_ci   * @atomicservice
49661847f8eSopenharmony_ci   * @since 11
49761847f8eSopenharmony_ci   */
49861847f8eSopenharmony_ci  (type?: SideBarContainerType): SideBarContainerAttribute;
49961847f8eSopenharmony_ci}
50061847f8eSopenharmony_ci
50161847f8eSopenharmony_ci/**
50261847f8eSopenharmony_ci * Provides an interface for the style of a divider including stroke width, color, start margin
50361847f8eSopenharmony_ci * and end margin
50461847f8eSopenharmony_ci *
50561847f8eSopenharmony_ci * @interface DividerStyle
50661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
50761847f8eSopenharmony_ci * @crossplatform
50861847f8eSopenharmony_ci * @since 10
50961847f8eSopenharmony_ci */
51061847f8eSopenharmony_ci/**
51161847f8eSopenharmony_ci * Provides an interface for the style of a divider including stroke width, color, start margin
51261847f8eSopenharmony_ci * and end margin
51361847f8eSopenharmony_ci *
51461847f8eSopenharmony_ci * @interface DividerStyle
51561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
51661847f8eSopenharmony_ci * @crossplatform
51761847f8eSopenharmony_ci * @atomicservice
51861847f8eSopenharmony_ci * @since 11
51961847f8eSopenharmony_ci */
52061847f8eSopenharmony_ciinterface DividerStyle {
52161847f8eSopenharmony_ci  /**
52261847f8eSopenharmony_ci   * Define the stroke width of the divider
52361847f8eSopenharmony_ci   *
52461847f8eSopenharmony_ci   * @type { Length }
52561847f8eSopenharmony_ci   * @default 1vp
52661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
52761847f8eSopenharmony_ci   * @crossplatform
52861847f8eSopenharmony_ci   * @since 10
52961847f8eSopenharmony_ci   */
53061847f8eSopenharmony_ci  /**
53161847f8eSopenharmony_ci   * Define the stroke width of the divider
53261847f8eSopenharmony_ci   *
53361847f8eSopenharmony_ci   * @type { Length }
53461847f8eSopenharmony_ci   * @default 1vp
53561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
53661847f8eSopenharmony_ci   * @crossplatform
53761847f8eSopenharmony_ci   * @atomicservice
53861847f8eSopenharmony_ci   * @since 11
53961847f8eSopenharmony_ci   */
54061847f8eSopenharmony_ci  strokeWidth: Length;
54161847f8eSopenharmony_ci
54261847f8eSopenharmony_ci  /**
54361847f8eSopenharmony_ci   * Define the color of the divider
54461847f8eSopenharmony_ci   *
54561847f8eSopenharmony_ci   * @type { ?ResourceColor }
54661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
54761847f8eSopenharmony_ci   * @crossplatform
54861847f8eSopenharmony_ci   * @since 10
54961847f8eSopenharmony_ci   */
55061847f8eSopenharmony_ci  /**
55161847f8eSopenharmony_ci   * Define the color of the divider
55261847f8eSopenharmony_ci   *
55361847f8eSopenharmony_ci   * @type { ?ResourceColor }
55461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
55561847f8eSopenharmony_ci   * @crossplatform
55661847f8eSopenharmony_ci   * @atomicservice
55761847f8eSopenharmony_ci   * @since 11
55861847f8eSopenharmony_ci   */
55961847f8eSopenharmony_ci  color?: ResourceColor;
56061847f8eSopenharmony_ci
56161847f8eSopenharmony_ci  /**
56261847f8eSopenharmony_ci   * Define the start margin of the divider
56361847f8eSopenharmony_ci   *
56461847f8eSopenharmony_ci   * @type { ?Length }
56561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56661847f8eSopenharmony_ci   * @crossplatform
56761847f8eSopenharmony_ci   * @since 10
56861847f8eSopenharmony_ci   */
56961847f8eSopenharmony_ci  /**
57061847f8eSopenharmony_ci   * Define the start margin of the divider
57161847f8eSopenharmony_ci   *
57261847f8eSopenharmony_ci   * @type { ?Length }
57361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
57461847f8eSopenharmony_ci   * @crossplatform
57561847f8eSopenharmony_ci   * @atomicservice
57661847f8eSopenharmony_ci   * @since 11
57761847f8eSopenharmony_ci   */
57861847f8eSopenharmony_ci  startMargin?: Length;
57961847f8eSopenharmony_ci
58061847f8eSopenharmony_ci  /**
58161847f8eSopenharmony_ci   * Define the end margin of the divider
58261847f8eSopenharmony_ci   *
58361847f8eSopenharmony_ci   * @type { ?Length }
58461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
58561847f8eSopenharmony_ci   * @crossplatform
58661847f8eSopenharmony_ci   * @since 10
58761847f8eSopenharmony_ci   */
58861847f8eSopenharmony_ci  /**
58961847f8eSopenharmony_ci   * Define the end margin of the divider
59061847f8eSopenharmony_ci   *
59161847f8eSopenharmony_ci   * @type { ?Length }
59261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
59361847f8eSopenharmony_ci   * @crossplatform
59461847f8eSopenharmony_ci   * @atomicservice
59561847f8eSopenharmony_ci   * @since 11
59661847f8eSopenharmony_ci   */
59761847f8eSopenharmony_ci  endMargin?: Length;
59861847f8eSopenharmony_ci}
59961847f8eSopenharmony_ci
60061847f8eSopenharmony_ci/**
60161847f8eSopenharmony_ci * The attribute function of sidebar
60261847f8eSopenharmony_ci *
60361847f8eSopenharmony_ci * @extends CommonMethod<SideBarContainerAttribute>
60461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
60561847f8eSopenharmony_ci * @since 8
60661847f8eSopenharmony_ci */
60761847f8eSopenharmony_ci/**
60861847f8eSopenharmony_ci * The attribute function of sidebar
60961847f8eSopenharmony_ci *
61061847f8eSopenharmony_ci * @extends CommonMethod<SideBarContainerAttribute>
61161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
61261847f8eSopenharmony_ci * @crossplatform
61361847f8eSopenharmony_ci * @since 10
61461847f8eSopenharmony_ci */
61561847f8eSopenharmony_ci/**
61661847f8eSopenharmony_ci * The attribute function of sidebar
61761847f8eSopenharmony_ci *
61861847f8eSopenharmony_ci * @extends CommonMethod<SideBarContainerAttribute>
61961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
62061847f8eSopenharmony_ci * @crossplatform
62161847f8eSopenharmony_ci * @atomicservice
62261847f8eSopenharmony_ci * @since 11
62361847f8eSopenharmony_ci */
62461847f8eSopenharmony_cideclare class SideBarContainerAttribute extends CommonMethod<SideBarContainerAttribute> {
62561847f8eSopenharmony_ci  /**
62661847f8eSopenharmony_ci   * Callback showControlButton function when setting the status of sidebar
62761847f8eSopenharmony_ci   *
62861847f8eSopenharmony_ci   * @param { boolean } value
62961847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
63061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
63161847f8eSopenharmony_ci   * @since 8
63261847f8eSopenharmony_ci   */
63361847f8eSopenharmony_ci  /**
63461847f8eSopenharmony_ci   * Callback showControlButton function when setting the status of sidebar
63561847f8eSopenharmony_ci   *
63661847f8eSopenharmony_ci   * @param { boolean } value
63761847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
63861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
63961847f8eSopenharmony_ci   * @crossplatform
64061847f8eSopenharmony_ci   * @since 10
64161847f8eSopenharmony_ci   */
64261847f8eSopenharmony_ci  /**
64361847f8eSopenharmony_ci   * Callback showControlButton function when setting the status of sidebar
64461847f8eSopenharmony_ci   *
64561847f8eSopenharmony_ci   * @param { boolean } value
64661847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
64761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
64861847f8eSopenharmony_ci   * @crossplatform
64961847f8eSopenharmony_ci   * @atomicservice
65061847f8eSopenharmony_ci   * @since 11
65161847f8eSopenharmony_ci   */
65261847f8eSopenharmony_ci  showSideBar(value: boolean): SideBarContainerAttribute;
65361847f8eSopenharmony_ci
65461847f8eSopenharmony_ci  /**
65561847f8eSopenharmony_ci   * Callback controlButton function when setting the style of button
65661847f8eSopenharmony_ci   *
65761847f8eSopenharmony_ci   * @param { ButtonStyle } value
65861847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
65961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
66061847f8eSopenharmony_ci   * @since 8
66161847f8eSopenharmony_ci   */
66261847f8eSopenharmony_ci  /**
66361847f8eSopenharmony_ci   * Callback controlButton function when setting the style of button
66461847f8eSopenharmony_ci   *
66561847f8eSopenharmony_ci   * @param { ButtonStyle } value
66661847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
66761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
66861847f8eSopenharmony_ci   * @crossplatform
66961847f8eSopenharmony_ci   * @since 10
67061847f8eSopenharmony_ci   */
67161847f8eSopenharmony_ci  /**
67261847f8eSopenharmony_ci   * Callback controlButton function when setting the style of button
67361847f8eSopenharmony_ci   *
67461847f8eSopenharmony_ci   * @param { ButtonStyle } value
67561847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
67661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
67761847f8eSopenharmony_ci   * @crossplatform
67861847f8eSopenharmony_ci   * @atomicservice
67961847f8eSopenharmony_ci   * @since 11
68061847f8eSopenharmony_ci   */
68161847f8eSopenharmony_ci  controlButton(value: ButtonStyle): SideBarContainerAttribute;
68261847f8eSopenharmony_ci
68361847f8eSopenharmony_ci  /**
68461847f8eSopenharmony_ci   * Callback showControlButton function when setting the status of button
68561847f8eSopenharmony_ci   *
68661847f8eSopenharmony_ci   * @param { boolean } value
68761847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
68861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
68961847f8eSopenharmony_ci   * @since 8
69061847f8eSopenharmony_ci   */
69161847f8eSopenharmony_ci  /**
69261847f8eSopenharmony_ci   * Callback showControlButton function when setting the status of button
69361847f8eSopenharmony_ci   *
69461847f8eSopenharmony_ci   * @param { boolean } value
69561847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
69661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
69761847f8eSopenharmony_ci   * @crossplatform
69861847f8eSopenharmony_ci   * @since 10
69961847f8eSopenharmony_ci   */
70061847f8eSopenharmony_ci  /**
70161847f8eSopenharmony_ci   * Callback showControlButton function when setting the status of button
70261847f8eSopenharmony_ci   *
70361847f8eSopenharmony_ci   * @param { boolean } value
70461847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
70561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
70661847f8eSopenharmony_ci   * @crossplatform
70761847f8eSopenharmony_ci   * @atomicservice
70861847f8eSopenharmony_ci   * @since 11
70961847f8eSopenharmony_ci   */
71061847f8eSopenharmony_ci  showControlButton(value: boolean): SideBarContainerAttribute;
71161847f8eSopenharmony_ci
71261847f8eSopenharmony_ci  /**
71361847f8eSopenharmony_ci   * Trigger callback when sidebar style of showing change finished.
71461847f8eSopenharmony_ci   *
71561847f8eSopenharmony_ci   * @param { function } callback
71661847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
71761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
71861847f8eSopenharmony_ci   * @since 8
71961847f8eSopenharmony_ci   */
72061847f8eSopenharmony_ci  /**
72161847f8eSopenharmony_ci   * Trigger callback when sidebar style of showing change finished.
72261847f8eSopenharmony_ci   *
72361847f8eSopenharmony_ci   * @param { function } callback
72461847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
72561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
72661847f8eSopenharmony_ci   * @crossplatform
72761847f8eSopenharmony_ci   * @since 10
72861847f8eSopenharmony_ci   */
72961847f8eSopenharmony_ci  /**
73061847f8eSopenharmony_ci   * Trigger callback when sidebar style of showing change finished.
73161847f8eSopenharmony_ci   *
73261847f8eSopenharmony_ci   * @param { function } callback
73361847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
73461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
73561847f8eSopenharmony_ci   * @crossplatform
73661847f8eSopenharmony_ci   * @atomicservice
73761847f8eSopenharmony_ci   * @since 11
73861847f8eSopenharmony_ci   */
73961847f8eSopenharmony_ci  onChange(callback: (value: boolean) => void): SideBarContainerAttribute;
74061847f8eSopenharmony_ci
74161847f8eSopenharmony_ci  /**
74261847f8eSopenharmony_ci   * Sets the length of sidebar.
74361847f8eSopenharmony_ci   * default value is 200vp.
74461847f8eSopenharmony_ci   *
74561847f8eSopenharmony_ci   * @param { number } value
74661847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
74761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
74861847f8eSopenharmony_ci   * @since 8
74961847f8eSopenharmony_ci   */
75061847f8eSopenharmony_ci  /**
75161847f8eSopenharmony_ci   * Sets the length of sidebar.
75261847f8eSopenharmony_ci   * default value is 240vp.
75361847f8eSopenharmony_ci   *
75461847f8eSopenharmony_ci   * @param { number } value
75561847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
75661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
75761847f8eSopenharmony_ci   * @crossplatform
75861847f8eSopenharmony_ci   * @since 10
75961847f8eSopenharmony_ci   */
76061847f8eSopenharmony_ci  /**
76161847f8eSopenharmony_ci   * Sets the length of sidebar.
76261847f8eSopenharmony_ci   * default value is 240vp.
76361847f8eSopenharmony_ci   *
76461847f8eSopenharmony_ci   * @param { number } value
76561847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
76661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
76761847f8eSopenharmony_ci   * @crossplatform
76861847f8eSopenharmony_ci   * @atomicservice
76961847f8eSopenharmony_ci   * @since 11
77061847f8eSopenharmony_ci   */
77161847f8eSopenharmony_ci  sideBarWidth(value: number): SideBarContainerAttribute;
77261847f8eSopenharmony_ci
77361847f8eSopenharmony_ci  /**
77461847f8eSopenharmony_ci   * Sets the min length of sidebar.
77561847f8eSopenharmony_ci   * default value is 200vp.
77661847f8eSopenharmony_ci   *
77761847f8eSopenharmony_ci   * @param { number } value
77861847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
77961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
78061847f8eSopenharmony_ci   * @since 8
78161847f8eSopenharmony_ci   */
78261847f8eSopenharmony_ci  /**
78361847f8eSopenharmony_ci   * Sets the min length of sidebar.
78461847f8eSopenharmony_ci   * default value is 240vp.
78561847f8eSopenharmony_ci   *
78661847f8eSopenharmony_ci   * @param { number } value
78761847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
78861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
78961847f8eSopenharmony_ci   * @crossplatform
79061847f8eSopenharmony_ci   * @since 10
79161847f8eSopenharmony_ci   */
79261847f8eSopenharmony_ci  /**
79361847f8eSopenharmony_ci   * Sets the min length of sidebar.
79461847f8eSopenharmony_ci   * default value is 240vp.
79561847f8eSopenharmony_ci   *
79661847f8eSopenharmony_ci   * @param { number } value
79761847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
79861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
79961847f8eSopenharmony_ci   * @crossplatform
80061847f8eSopenharmony_ci   * @atomicservice
80161847f8eSopenharmony_ci   * @since 11
80261847f8eSopenharmony_ci   */
80361847f8eSopenharmony_ci  minSideBarWidth(value: number): SideBarContainerAttribute;
80461847f8eSopenharmony_ci
80561847f8eSopenharmony_ci  /**
80661847f8eSopenharmony_ci   * Sets the max length of sidebar.
80761847f8eSopenharmony_ci   * default value is 280vp.
80861847f8eSopenharmony_ci   *
80961847f8eSopenharmony_ci   * @param { number } value
81061847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
81161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
81261847f8eSopenharmony_ci   * @since 8
81361847f8eSopenharmony_ci   */
81461847f8eSopenharmony_ci  /**
81561847f8eSopenharmony_ci   * Sets the max length of sidebar.
81661847f8eSopenharmony_ci   * default value is 280vp.
81761847f8eSopenharmony_ci   *
81861847f8eSopenharmony_ci   * @param { number } value
81961847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
82061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
82161847f8eSopenharmony_ci   * @crossplatform
82261847f8eSopenharmony_ci   * @since 10
82361847f8eSopenharmony_ci   */
82461847f8eSopenharmony_ci  /**
82561847f8eSopenharmony_ci   * Sets the max length of sidebar.
82661847f8eSopenharmony_ci   * default value is 280vp.
82761847f8eSopenharmony_ci   *
82861847f8eSopenharmony_ci   * @param { number } value
82961847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
83061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
83161847f8eSopenharmony_ci   * @crossplatform
83261847f8eSopenharmony_ci   * @atomicservice
83361847f8eSopenharmony_ci   * @since 11
83461847f8eSopenharmony_ci   */
83561847f8eSopenharmony_ci  maxSideBarWidth(value: number): SideBarContainerAttribute;
83661847f8eSopenharmony_ci
83761847f8eSopenharmony_ci  /**
83861847f8eSopenharmony_ci   * Sets the length of sidebar.
83961847f8eSopenharmony_ci   *
84061847f8eSopenharmony_ci   * @param { Length } value
84161847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
84261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
84361847f8eSopenharmony_ci   * @since 9
84461847f8eSopenharmony_ci   */
84561847f8eSopenharmony_ci  /**
84661847f8eSopenharmony_ci   * Sets the length of sidebar.
84761847f8eSopenharmony_ci   *
84861847f8eSopenharmony_ci   * @param { Length } value
84961847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
85061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
85161847f8eSopenharmony_ci   * @crossplatform
85261847f8eSopenharmony_ci   * @since 10
85361847f8eSopenharmony_ci   */
85461847f8eSopenharmony_ci  /**
85561847f8eSopenharmony_ci   * Sets the length of sidebar.
85661847f8eSopenharmony_ci   *
85761847f8eSopenharmony_ci   * @param { Length } value
85861847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
85961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
86061847f8eSopenharmony_ci   * @crossplatform
86161847f8eSopenharmony_ci   * @atomicservice
86261847f8eSopenharmony_ci   * @since 11
86361847f8eSopenharmony_ci   */
86461847f8eSopenharmony_ci  sideBarWidth(value: Length): SideBarContainerAttribute;
86561847f8eSopenharmony_ci
86661847f8eSopenharmony_ci  /**
86761847f8eSopenharmony_ci   * Sets the min length of sidebar.
86861847f8eSopenharmony_ci   * default value is 200vp.
86961847f8eSopenharmony_ci   *
87061847f8eSopenharmony_ci   * @param { Length } value
87161847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
87261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
87361847f8eSopenharmony_ci   * @since 9
87461847f8eSopenharmony_ci   */
87561847f8eSopenharmony_ci  /**
87661847f8eSopenharmony_ci   * Sets the min length of sidebar.
87761847f8eSopenharmony_ci   * default value is 200vp.
87861847f8eSopenharmony_ci   *
87961847f8eSopenharmony_ci   * @param { Length } value
88061847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
88161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
88261847f8eSopenharmony_ci   * @crossplatform
88361847f8eSopenharmony_ci   * @since 10
88461847f8eSopenharmony_ci   */
88561847f8eSopenharmony_ci  /**
88661847f8eSopenharmony_ci   * Sets the min length of sidebar.
88761847f8eSopenharmony_ci   * default value is 200vp.
88861847f8eSopenharmony_ci   *
88961847f8eSopenharmony_ci   * @param { Length } value
89061847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
89161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
89261847f8eSopenharmony_ci   * @crossplatform
89361847f8eSopenharmony_ci   * @atomicservice
89461847f8eSopenharmony_ci   * @since 11
89561847f8eSopenharmony_ci   */
89661847f8eSopenharmony_ci  minSideBarWidth(value: Length): SideBarContainerAttribute;
89761847f8eSopenharmony_ci
89861847f8eSopenharmony_ci  /**
89961847f8eSopenharmony_ci   * Sets the max length of sidebar.
90061847f8eSopenharmony_ci   * default value is 280vp.
90161847f8eSopenharmony_ci   *
90261847f8eSopenharmony_ci   * @param { Length } value
90361847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
90461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
90561847f8eSopenharmony_ci   * @since 9
90661847f8eSopenharmony_ci   */
90761847f8eSopenharmony_ci  /**
90861847f8eSopenharmony_ci   * Sets the max length of sidebar.
90961847f8eSopenharmony_ci   * default value is 280vp.
91061847f8eSopenharmony_ci   *
91161847f8eSopenharmony_ci   * @param { Length } value
91261847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
91361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
91461847f8eSopenharmony_ci   * @crossplatform
91561847f8eSopenharmony_ci   * @since 10
91661847f8eSopenharmony_ci   */
91761847f8eSopenharmony_ci  /**
91861847f8eSopenharmony_ci   * Sets the max length of sidebar.
91961847f8eSopenharmony_ci   * default value is 280vp.
92061847f8eSopenharmony_ci   *
92161847f8eSopenharmony_ci   * @param { Length } value
92261847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
92361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
92461847f8eSopenharmony_ci   * @crossplatform
92561847f8eSopenharmony_ci   * @atomicservice
92661847f8eSopenharmony_ci   * @since 11
92761847f8eSopenharmony_ci   */
92861847f8eSopenharmony_ci  maxSideBarWidth(value: Length): SideBarContainerAttribute;
92961847f8eSopenharmony_ci
93061847f8eSopenharmony_ci  /**
93161847f8eSopenharmony_ci   * Sets whether to automatically hide when drag sidebar width is less than the minimum width.
93261847f8eSopenharmony_ci   * default value is true.
93361847f8eSopenharmony_ci   *
93461847f8eSopenharmony_ci   * @param { boolean } value
93561847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
93661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
93761847f8eSopenharmony_ci   * @since 9
93861847f8eSopenharmony_ci   */
93961847f8eSopenharmony_ci  /**
94061847f8eSopenharmony_ci   * Sets whether to automatically hide when drag sidebar width is less than the minimum width.
94161847f8eSopenharmony_ci   * default value is true.
94261847f8eSopenharmony_ci   *
94361847f8eSopenharmony_ci   * @param { boolean } value
94461847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
94561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
94661847f8eSopenharmony_ci   * @crossplatform
94761847f8eSopenharmony_ci   * @since 10
94861847f8eSopenharmony_ci   */
94961847f8eSopenharmony_ci  /**
95061847f8eSopenharmony_ci   * Sets whether to automatically hide when drag sidebar width is less than the minimum width.
95161847f8eSopenharmony_ci   * default value is true.
95261847f8eSopenharmony_ci   *
95361847f8eSopenharmony_ci   * @param { boolean } value
95461847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
95561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
95661847f8eSopenharmony_ci   * @crossplatform
95761847f8eSopenharmony_ci   * @atomicservice
95861847f8eSopenharmony_ci   * @since 11
95961847f8eSopenharmony_ci   */
96061847f8eSopenharmony_ci  autoHide(value: boolean): SideBarContainerAttribute;
96161847f8eSopenharmony_ci
96261847f8eSopenharmony_ci  /**
96361847f8eSopenharmony_ci   * Called when determining the location of the sidebar.
96461847f8eSopenharmony_ci   * default value is Start.
96561847f8eSopenharmony_ci   *
96661847f8eSopenharmony_ci   * @param { SideBarPosition } value
96761847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
96861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
96961847f8eSopenharmony_ci   * @since 9
97061847f8eSopenharmony_ci   */
97161847f8eSopenharmony_ci  /**
97261847f8eSopenharmony_ci   * Called when determining the location of the sidebar.
97361847f8eSopenharmony_ci   * default value is Start.
97461847f8eSopenharmony_ci   *
97561847f8eSopenharmony_ci   * @param { SideBarPosition } value
97661847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
97761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
97861847f8eSopenharmony_ci   * @crossplatform
97961847f8eSopenharmony_ci   * @since 10
98061847f8eSopenharmony_ci   */
98161847f8eSopenharmony_ci  /**
98261847f8eSopenharmony_ci   * Called when determining the location of the sidebar.
98361847f8eSopenharmony_ci   * default value is Start.
98461847f8eSopenharmony_ci   *
98561847f8eSopenharmony_ci   * @param { SideBarPosition } value
98661847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
98761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
98861847f8eSopenharmony_ci   * @crossplatform
98961847f8eSopenharmony_ci   * @atomicservice
99061847f8eSopenharmony_ci   * @since 11
99161847f8eSopenharmony_ci   */
99261847f8eSopenharmony_ci  sideBarPosition(value: SideBarPosition): SideBarContainerAttribute;
99361847f8eSopenharmony_ci
99461847f8eSopenharmony_ci  /**
99561847f8eSopenharmony_ci   * Set divider style for sideBarContainer
99661847f8eSopenharmony_ci   *
99761847f8eSopenharmony_ci   * @param { DividerStyle | null } value - indicates the style of the divider or whether to show the divider.
99861847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
99961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
100061847f8eSopenharmony_ci   * @crossplatform
100161847f8eSopenharmony_ci   * @since 10
100261847f8eSopenharmony_ci   */
100361847f8eSopenharmony_ci  /**
100461847f8eSopenharmony_ci   * Set divider style for sideBarContainer
100561847f8eSopenharmony_ci   *
100661847f8eSopenharmony_ci   * @param { DividerStyle | null } value - indicates the style of the divider or whether to show the divider.
100761847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
100861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
100961847f8eSopenharmony_ci   * @crossplatform
101061847f8eSopenharmony_ci   * @atomicservice
101161847f8eSopenharmony_ci   * @since 11
101261847f8eSopenharmony_ci   */
101361847f8eSopenharmony_ci  divider(value: DividerStyle | null): SideBarContainerAttribute;
101461847f8eSopenharmony_ci  
101561847f8eSopenharmony_ci  /**
101661847f8eSopenharmony_ci   * Sets the min length of content.
101761847f8eSopenharmony_ci   * default value is 360vp.
101861847f8eSopenharmony_ci   * 
101961847f8eSopenharmony_ci   * @param { Dimension } value - min length of content.
102061847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
102161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
102261847f8eSopenharmony_ci   * @crossplatform
102361847f8eSopenharmony_ci   * @since 10
102461847f8eSopenharmony_ci   */
102561847f8eSopenharmony_ci  /**
102661847f8eSopenharmony_ci   * Sets the min length of content.
102761847f8eSopenharmony_ci   * default value is 360vp.
102861847f8eSopenharmony_ci   * 
102961847f8eSopenharmony_ci   * @param { Dimension } value - min length of content.
103061847f8eSopenharmony_ci   * @returns { SideBarContainerAttribute }
103161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
103261847f8eSopenharmony_ci   * @crossplatform
103361847f8eSopenharmony_ci   * @atomicservice
103461847f8eSopenharmony_ci   * @since 11
103561847f8eSopenharmony_ci   */
103661847f8eSopenharmony_ci  minContentWidth(value: Dimension): SideBarContainerAttribute;
103761847f8eSopenharmony_ci}
103861847f8eSopenharmony_ci
103961847f8eSopenharmony_ci/**
104061847f8eSopenharmony_ci * Defines SideBarContainer Component.
104161847f8eSopenharmony_ci *
104261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
104361847f8eSopenharmony_ci * @since 8
104461847f8eSopenharmony_ci */
104561847f8eSopenharmony_ci/**
104661847f8eSopenharmony_ci * Defines SideBarContainer Component.
104761847f8eSopenharmony_ci *
104861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
104961847f8eSopenharmony_ci * @crossplatform
105061847f8eSopenharmony_ci * @since 10
105161847f8eSopenharmony_ci */
105261847f8eSopenharmony_ci/**
105361847f8eSopenharmony_ci * Defines SideBarContainer Component.
105461847f8eSopenharmony_ci *
105561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
105661847f8eSopenharmony_ci * @crossplatform
105761847f8eSopenharmony_ci * @atomicservice
105861847f8eSopenharmony_ci * @since 11
105961847f8eSopenharmony_ci */
106061847f8eSopenharmony_cideclare const SideBarContainer: SideBarContainerInterface;
106161847f8eSopenharmony_ci
106261847f8eSopenharmony_ci/**
106361847f8eSopenharmony_ci * Defines SideBarContainer Component instance.
106461847f8eSopenharmony_ci *
106561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
106661847f8eSopenharmony_ci * @since 8
106761847f8eSopenharmony_ci */
106861847f8eSopenharmony_ci/**
106961847f8eSopenharmony_ci * Defines SideBarContainer Component instance.
107061847f8eSopenharmony_ci *
107161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
107261847f8eSopenharmony_ci * @crossplatform
107361847f8eSopenharmony_ci * @since 10
107461847f8eSopenharmony_ci */
107561847f8eSopenharmony_ci/**
107661847f8eSopenharmony_ci * Defines SideBarContainer Component instance.
107761847f8eSopenharmony_ci *
107861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
107961847f8eSopenharmony_ci * @crossplatform
108061847f8eSopenharmony_ci * @atomicservice
108161847f8eSopenharmony_ci * @since 11
108261847f8eSopenharmony_ci */
108361847f8eSopenharmony_cideclare const SideBarContainerInstance: SideBarContainerAttribute;
1084