diff --git a/api/@internal/component/ets/water_flow.d.ts b/api/@internal/component/ets/water_flow.d.ts index 05823f127d14451bde0c7822aa389ccb91a70e29..d1d99bedc76571f497a3e8b64cdbc0dd3a8e167b 100644 --- a/api/@internal/component/ets/water_flow.d.ts +++ b/api/@internal/component/ets/water_flow.d.ts @@ -18,16 +18,6 @@ * @kit ArkUI */ -/*** if arkts 1.2 */ -import { ScrollableCommonMethod, NestedScrollOptions, CommonMethod, Optional, OnWillScrollCallback, OnScrollCallback } from './common'; -import { CustomBuilder } from './builder' -import { Length, Dimension, Margin, ConstraintSizeOptions, Resource } from './units'; -import { Scroller, OnScrollFrameBeginCallback } from './scroll'; -import { ScrollState } from './list' -import { FlexDirection } from './enums' -import { ComponentContent } from '../../arkui/ComponentContent' -/*** endif */ - /** * function that returns item main size by index. * @@ -37,8 +27,7 @@ import { ComponentContent } from '../../arkui/ComponentContent' * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ declare type GetItemMainSizeByIndex = (index: number) => number; @@ -48,8 +37,7 @@ declare type GetItemMainSizeByIndex = (index: number) => number; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ declare class SectionOptions { /** @@ -60,8 +48,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ itemsCount: number; @@ -74,8 +61,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ crossCount?: number; @@ -96,8 +82,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ onGetItemMainSizeByIndex?: GetItemMainSizeByIndex; @@ -110,8 +95,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ columnsGap?: Dimension; @@ -124,8 +108,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ rowsGap?: Dimension; @@ -137,8 +120,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ margin?: Margin | Dimension; } @@ -149,8 +131,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ declare class WaterFlowSections { /** @@ -159,8 +140,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ constructor(); @@ -184,8 +164,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ splice(start: number, deleteCount?: number, sections?: Array): boolean; @@ -197,8 +176,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ push(section: SectionOptions): boolean; @@ -214,8 +192,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ update(sectionIndex:number, section: SectionOptions): boolean; @@ -226,8 +203,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ values(): Array; @@ -238,8 +214,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ length(): number; } @@ -251,8 +226,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ declare enum WaterFlowLayoutMode { /** @@ -262,8 +236,7 @@ declare enum WaterFlowLayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ ALWAYS_TOP_DOWN = 0, @@ -287,8 +260,7 @@ declare enum WaterFlowLayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ SLIDING_WINDOW = 1, } @@ -315,8 +287,7 @@ declare enum WaterFlowLayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ declare interface WaterFlowOptions { /** @@ -341,8 +312,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ footer?: CustomBuilder; @@ -353,10 +323,9 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 */ - footerContent?: ComponentContent; + footerContent?: ComponentContentBase; /** * Describes the water flow scroller. @@ -384,8 +353,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ scroller?: Scroller; @@ -401,8 +369,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ sections?: WaterFlowSections; @@ -414,8 +381,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ layoutMode?: WaterFlowLayoutMode; } @@ -501,8 +467,7 @@ declare type OnWaterFlowScrollIndexCallback = (first: number, last: number) => v * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ interface WaterFlowInterface { /** @@ -530,8 +495,7 @@ interface WaterFlowInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ (options?: WaterFlowOptions): WaterFlowAttribute; } @@ -558,8 +522,7 @@ interface WaterFlowInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ declare class WaterFlowAttribute extends ScrollableCommonMethod { /** @@ -587,8 +550,7 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod void): WaterFlowAttribute; @@ -978,7 +931,6 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod): WaterFlowAttribute; @@ -991,7 +943,6 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod extends Content { * @since 20 * @arkts 1.2 */ -export declare class ComponentContent extends Content { +export abstract class ComponentContentBase extends Content { + +} + + +/** + * Defines ComponentContent. + * + * @extends ComponentContentBase + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + * @arkts 1.2 + */ +export declare class ComponentContent extends ComponentContentBase { /** * Constructor. * diff --git a/api/arkui/component/waterFlow.d.ets b/api/arkui/component/waterFlow.d.ets new file mode 100644 index 0000000000000000000000000000000000000000..bb547ea187c4538c8285c07a6f9f7de97418908b --- /dev/null +++ b/api/arkui/component/waterFlow.d.ets @@ -0,0 +1,424 @@ +/* + * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * @file + * @kit ArkUI + * @arkts 1.2 + */ +import { ScrollableCommonMethod, NestedScrollOptions, CommonMethod, Optional, OnWillScrollCallback, OnScrollCallback, AttributeModifier } from "./common"; +import { CustomBuilder } from './builder'; +import { Length, Dimension, Margin, ConstraintSizeOptions, Resource } from "./units"; +import { Scroller, OnScrollFrameBeginCallback } from "./scroll"; +import { ScrollState } from "./list"; +import { FlexDirection } from "./enums"; +import { ComponentContent, ComponentContentBase } from '../../arkui/ComponentContent'; +import { memo, ComponentBuilder } from "./../stateManagement/runtime"; +/** + * function that returns item main size by index. + * + * @typedef { function } GetItemMainSizeByIndex + * @param { number } index - the index of FlowItem + * @returns { number } main size of the FlowItem at index + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ +export type GetItemMainSizeByIndex = (index: number) => number; +/** + * Defines the water flow section options. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ +export declare class SectionOptions { + /** + * The number of FlowItems in this section. + * + * @type { number } itemsCount - the number of FlowItems in this section + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + itemsCount: number; + /** + * The columns of this section in vertical layout, or rows in horizontal layout. + * + * @type { ?number } crossCount - cross count of this section + * @default 1 one column in vertical layout, or one row in horizontal layout + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + crossCount?: number; + /** + * Asks the developer for the main size in vp of the flow item with the specified index. + * The water flow layout uses the size measured after the flow item is created if not set. + * + * @type { ?GetItemMainSizeByIndex } onGetItemMainSizeByIndex - function that returns item main size by index + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + onGetItemMainSizeByIndex?: GetItemMainSizeByIndex; + /** + * Set the spacing between columns of this section. + * + * @type { ?Dimension } columnsGap - column gap of this section + * same with columnsGap of WaterFlow if not set + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + columnsGap?: Dimension; + /** + * Set the spacing between rows of this section. + * + * @type { ?Dimension } rowsGap - row gap of this section + * same with rowsGap of WaterFlow if not set + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + rowsGap?: Dimension; + /** + * Outer margin of this section. + * + * @type { ?(Margin | Dimension) } margin - outer margin of this section + * @default {top: 0, right: 0, bottom: 0, left: 0} + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + margin?: Margin | Dimension; +} +/** + * Indicates the sections of WaterFlow. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ +export declare class WaterFlowSections { + /** + * Creates an instance of WaterFlowSections. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + constructor(); + /** + * Changes sections in the WaterFlow by removing or replacing existing elements and/or adding new elements in place. + * + * @param { number } start - Zero-based index at which to start changing the sections. + * @param { number } [deleteCount] - Indicating the number of sections in the WaterFlow to remove from start. + * @param { Array } [sections] - The new sections to add to the WaterFlow, beginning from start. + * @returns { boolean } Whether the splice was successful. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + splice(start: number, deleteCount?: number, sections?: Array): boolean; + /** + * Pushes a new section to the end of WaterFlow. + * + * @param { SectionOptions } section - new section options. + * @returns { boolean } Whether the push was successful. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + push(section: SectionOptions): boolean; + /** + * Updates section at specified section index. + * + * @param { number } sectionIndex - index of section to be updated. + * @param { SectionOptions } section - new section options. + * @returns { boolean } Whether the update was successful. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + update(sectionIndex: number, section: SectionOptions): boolean; + /** + * Obtains all the section options in the WaterFlow. + * + * @returns { Array } Returns all the section options in the WaterFlow. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + values(): Array; + /** + * Obtains the section counts in the WaterFlow. + * + * @returns { number } Returns section counts in the WaterFlow. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + length(): number; +} +/** + * Declare layout modes of WaterFlow. + * + * @enum { number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ +export declare enum WaterFlowLayoutMode { + /** + * Top-down Layout mode. Positions of new items depend on items above. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + ALWAYS_TOP_DOWN = 0, + /** + * Sliding window mode. Only maintains layout information of items currently in viewport. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + SLIDING_WINDOW = 1 +} +/** + * Defines the water flow options. + * + * @interface WaterFlowOptions + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ +export declare interface WaterFlowOptions { + /** + * Describes the water flow footer. + * + * @type { ?CustomBuilder } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + footer?: CustomBuilder; + /** + * Describes the water flow footer. + * + * @type { ?ComponentContentBase } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + footerContent?: ComponentContentBase; + /** + * Describes the water flow scroller. + * + * @type { ?Scroller } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + scroller?: Scroller; + /** + * Describes the sections with different cross count that compose the water flow. + * + * @type { ?WaterFlowSections } sections - sections with different cross count + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + sections?: WaterFlowSections; + /** + * Describes the layout mode. + * + * @type { ?WaterFlowLayoutMode } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + layoutMode?: WaterFlowLayoutMode; +} +export declare interface WaterFlowAttribute extends ScrollableCommonMethod { + /** + * This parameter specifies the number of columns in the current waterflow. + * + * @param { string } value + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + columnsTemplate(value: string | undefined): this; + /** + * This parameter specifies the min or max size of each item. + * + * @param { ConstraintSizeOptions } value + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + itemConstraintSize(value: ConstraintSizeOptions | undefined): this; + /** + * Set the number of rows in the current waterflow. + * + * @param { string } value + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + rowsTemplate(value: string | undefined): this; + /** + * Set the spacing between columns. + * + * @param { Length } value + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + columnsGap(value: Length | undefined): this; + /** + * Set the spacing between rows. + * + * @param { Length } value + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + rowsGap(value: Length | undefined): this; + /** + * Control layout direction of the WaterFlow. + * + * @param { FlexDirection } value + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + layoutDirection(value: FlexDirection | undefined): this; + /** + * Called to set number of flow items to be preloaded (cached) in LazyForEach. + * @param { number } value - number of flow items to be preloaded (cached). + * @returns { WaterFlowAttribute } the attribute of the water flow. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + cachedCount(value: number | undefined): this; + /** + * Called to set number of flow items to be preloaded (cached) in LazyForEach / Repeat. + * @param { number } count - number of flow items to be preloaded (cached). + * @param { boolean } show - if true, cached items are displayed when clip is disabled. + * @returns { WaterFlowAttribute } the attribute of the water flow. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + cachedCount(count: number | undefined, show: boolean | undefined): this; + /** + * Called when scrolling begin each frame. + * Anonymous Object Rectification. + * + * @param { OnScrollFrameBeginCallback } event - callback function, triggered when the scrolling begin each frame. + * @returns { WaterFlowAttribute } the attribute of the water flow. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + onScrollFrameBegin(event: OnScrollFrameBeginCallback | undefined): this; + /** + * Called when the first or last item displayed in the waterflow changes. + * + * @param { function } event - Callback function, triggered when the first or last item + * displayed in the waterflow changes. + * "first": the index of the first item displayed in the waterflow, + * "last": the index of the last item displayed in the waterflow. + * @returns { WaterFlowAttribute } the attribute of the water flow. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + onScrollIndex(event: ((first: number, last: number) => void) | undefined): this; + /** + * Called when the scrollable will scroll. + * + * @param { Optional } handler - callback of scrollable. + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @atomicservice + * @since 20 + */ + onWillScroll(handler: OnWillScrollCallback | undefined): this; + /** + * Called when the scrollable did scroll. + * + * @param { OnScrollCallback } handler - callback of scrollable, + * scrollOffset is offset this frame did scroll, scrollState is current scroll state. + * @returns { WaterFlowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @atomicservice + * @since 20 + */ + onDidScroll(handler: OnScrollCallback | undefined): this; + attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; +} + +@memo +@ComponentBuilder +export declare function WaterFlow( + options?: WaterFlowOptions, + @memo + content_?: () => void, +): WaterFlowAttribute \ No newline at end of file diff --git a/kits/@kit.ArkUI.d.ts b/kits/@kit.ArkUI.d.ts index 9f86bb4439c96f543cc99f5899401201c2008efd..85c6bfe873d962a4e0b23ed1bd208135d71a6810 100644 --- a/kits/@kit.ArkUI.d.ts +++ b/kits/@kit.ArkUI.d.ts @@ -267,7 +267,7 @@ export { ToolBarV2ItemState, ToolBarV2SymbolGlyph, ToolBarV2SymbolGlyphOptions, ToolBarV2ItemText, ToolBarV2ItemTextOptions, ToolBarV2ItemIconType, ToolBarV2ItemImage, ToolBarV2ItemImageOptions, ToolBarV2, ToolBarV2Item, ToolBarV2ItemOptions, ToolBarV2Modifier, ToolBarV2ItemAction, TreeListenerManager, TreeView, UIContext, UIInspector, UIObserver, PageInfo, WindowExtensionAbility, WindowExtensionContext, XComponentNode, - LengthMetrics, LengthUnit, ColorMetrics, LengthMetricsUnit, LayoutConstraint, ComponentContent, NodeContent, Content, + LengthMetrics, LengthUnit, ColorMetrics, LengthMetricsUnit, LayoutConstraint, ComponentContent,ComponentContentBase, NodeContent, Content, componentSnapshot, componentUtils, curves, display, dragController, dragInteraction, font, inspector, matrix4, mediaquery, performanceMonitor, pluginComponentManager, PluginComponentTemplate, prompt, promptAction, router, LevelMode, ImmersiveMode, LevelOrder, AtomicServiceWeb, OnMessageEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnPageBeginEvent, OnPageEndEvent,