From bf3e0bf1bd203faf60ce4762c8cfe1ab1f1c8299 Mon Sep 17 00:00:00 2001 From: WendongPang Date: Fri, 29 Aug 2025 10:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0sdk=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: WendongPang --- api/arkui/component/blank.static.d.ets | 20 +++++++++++++++++++ api/arkui/component/column.static.d.ets | 20 +++++++++++++++++++ api/arkui/component/columnSplit.static.d.ets | 19 ++++++++++++++++++ api/arkui/component/divider.static.d.ets | 19 ++++++++++++++++++ api/arkui/component/flex.static.d.ets | 20 +++++++++++++++++++ api/arkui/component/folderStack.static.d.ets | 20 +++++++++++++++++++ api/arkui/component/gridCol.static.d.ets | 20 +++++++++++++++++++ api/arkui/component/gridRow.static.d.ets | 20 +++++++++++++++++++ .../component/relativeContainer.static.d.ets | 19 ++++++++++++++++++ api/arkui/component/row.static.d.ets | 20 +++++++++++++++++++ api/arkui/component/rowSplit.static.d.ets | 19 ++++++++++++++++++ api/arkui/component/stack.static.d.ets | 20 +++++++++++++++++++ 12 files changed, 236 insertions(+) diff --git a/api/arkui/component/blank.static.d.ets b/api/arkui/component/blank.static.d.ets index 298e030f53..c779232f7f 100644 --- a/api/arkui/component/blank.static.d.ets +++ b/api/arkui/component/blank.static.d.ets @@ -20,6 +20,16 @@ import { ResourceColor } from './units'; import { memo, ComponentBuilder } from './../stateManagement/runtime'; import { AttributeModifier, CommonMethod } from './common'; + +/** + * The BlankAttribute. + * + * @extends CommonMethod + * @interface BlankAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface BlankAttribute extends CommonMethod { /** * Sets the color to fill the blank.
@@ -42,6 +52,16 @@ export declare interface BlankAttribute extends CommonMethod { default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } +/** + * Defines Blank Component. + * + * @param { number | string } [min] - Blank options. + * @param { function } [content_] - container + * @returns { BlankAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function Blank( diff --git a/api/arkui/component/column.static.d.ets b/api/arkui/component/column.static.d.ets index 73fca940c8..0620888725 100644 --- a/api/arkui/component/column.static.d.ets +++ b/api/arkui/component/column.static.d.ets @@ -63,6 +63,16 @@ export interface ColumnOptionsV2 { */ space?: SpaceType; } + +/** + * The ColumnAttribute. + * + * @extends CommonMethod + * @interface ColumnAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface ColumnAttribute extends CommonMethod { /** * Sets the alignment format of the subassembly in the horizontal direction. @@ -112,6 +122,16 @@ export declare interface ColumnAttribute extends CommonMethod { default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } +/** + * Defines Column Component. + * + * @param { ColumnOptions | ColumnOptions | ColumnOptionsV2 } [options] - Column options. + * @param { function } [content_] - container + * @returns { ColumnAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function Column( diff --git a/api/arkui/component/columnSplit.static.d.ets b/api/arkui/component/columnSplit.static.d.ets index d61effd4f2..b7dc3b5550 100644 --- a/api/arkui/component/columnSplit.static.d.ets +++ b/api/arkui/component/columnSplit.static.d.ets @@ -47,6 +47,16 @@ export interface ColumnSplitDividerStyle { */ endMargin?: Dimension; } + +/** + * The ColumnSplitAttribute. + * + * @extends CommonMethod + * @interface ColumnSplitAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface ColumnSplitAttribute extends CommonMethod { /** * Indicates whether the split line can be dragged. The default value is false. @@ -78,6 +88,15 @@ export declare interface ColumnSplitAttribute extends CommonMethod { | AttributeModifier | undefined): this; } +/** + * Defines ColumnSplit Component. + * + * @param { function } [content_] - container + * @returns { ColumnSplitAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function ColumnSplit( diff --git a/api/arkui/component/divider.static.d.ets b/api/arkui/component/divider.static.d.ets index 0412ef2d74..6d535eb9b8 100644 --- a/api/arkui/component/divider.static.d.ets +++ b/api/arkui/component/divider.static.d.ets @@ -21,6 +21,16 @@ import { ResourceColor } from './units'; import { LineCapStyle } from './enums'; import { memo, ComponentBuilder } from './../stateManagement/runtime'; import { AttributeModifier, CommonMethod } from './common'; + +/** + * The DividerAttribute. + * + * @extends CommonMethod + * @interface DividerAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface DividerAttribute extends CommonMethod { /** * Indicates whether to use a horizontal splitter or a vertical splitter. @@ -71,6 +81,15 @@ export declare interface DividerAttribute extends CommonMethod { | AttributeModifier | undefined): this; } +/** + * Defines Divider Component. + * + * @param { function } [content_] - container + * @returns { DividerAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function Divider( diff --git a/api/arkui/component/flex.static.d.ets b/api/arkui/component/flex.static.d.ets index e10883956e..d3e06c93b8 100644 --- a/api/arkui/component/flex.static.d.ets +++ b/api/arkui/component/flex.static.d.ets @@ -110,6 +110,16 @@ export declare interface FlexSpaceOptions { */ cross?: LengthMetrics; } + +/** + * The FlexAttribute. + * + * @extends CommonMethod + * @interface FlexAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface FlexAttribute extends CommonMethod { /** * Defines the PointLight @@ -133,6 +143,16 @@ export declare interface FlexAttribute extends CommonMethod { | undefined): this; } +/** + * Defines Flex Component. + * + * @param { FlexOptions } [value] - Flex options. + * @param { function } [content_] - container + * @returns { FlexAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function Flex( diff --git a/api/arkui/component/folderStack.static.d.ets b/api/arkui/component/folderStack.static.d.ets index 9e824134e4..6e07ccff76 100644 --- a/api/arkui/component/folderStack.static.d.ets +++ b/api/arkui/component/folderStack.static.d.ets @@ -85,6 +85,16 @@ export type OnFoldStatusChangeCallback = (event: OnFoldStatusChangeInfo) => void * @since 20 */ export type OnHoverStatusChangeCallback = (param: HoverEventParam) => void; + +/** + * The FolderStackAttribute. + * + * @extends CommonMethod + * @interface FolderStackAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface FolderStackAttribute extends CommonMethod { /** * Set the alignment of folderStack. @@ -186,6 +196,16 @@ export declare interface HoverEventParam { windowStatusType: WindowStatusType; } +/** + * Defines FolderStack Component. + * + * @param { FolderStackOptions } [options] - FolderStack options. + * @param { function } [content_] - container + * @returns { FolderStackAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function FolderStack( diff --git a/api/arkui/component/gridCol.static.d.ets b/api/arkui/component/gridCol.static.d.ets index 5332e777a3..3ace0c90e3 100644 --- a/api/arkui/component/gridCol.static.d.ets +++ b/api/arkui/component/gridCol.static.d.ets @@ -109,6 +109,16 @@ export declare interface GridColOptions { */ order?: number | GridColColumnOption; } + +/** + * The GridColAttribute. + * + * @extends CommonMethod + * @interface GridColAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface GridColAttribute extends CommonMethod { /** * Sets the span of current gird-container item. @@ -149,6 +159,16 @@ export declare interface GridColAttribute extends CommonMethod { | undefined): this; } +/** + * Defines GridCol Component. + * + * @param { GridColOptions } [option] - GridCol options. + * @param { function } [content_] - container + * @returns { GridColAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function GridCol( diff --git a/api/arkui/component/gridRow.static.d.ets b/api/arkui/component/gridRow.static.d.ets index 2fc7b120b0..db5e3edeb6 100644 --- a/api/arkui/component/gridRow.static.d.ets +++ b/api/arkui/component/gridRow.static.d.ets @@ -272,6 +272,16 @@ export declare interface GridRowOptions { */ direction?: GridRowDirection; } + +/** + * The GridRowAttribute. + * + * @extends CommonMethod + * @interface GridRowAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface GridRowAttribute extends CommonMethod { /** * Callback triggered when the breakpoint changes, breakpoints value can be xs, sm, md, lg, xl, xxl @@ -303,6 +313,16 @@ export declare interface GridRowAttribute extends CommonMethod { | undefined): this; } +/** + * Defines GridRow Component. + * + * @param { GridRowOptions } [option] - GridRow options. + * @param { function } [content_] - container + * @returns { GridRowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function GridRow( diff --git a/api/arkui/component/relativeContainer.static.d.ets b/api/arkui/component/relativeContainer.static.d.ets index 6dfb46e9a6..fd4ca0433b 100644 --- a/api/arkui/component/relativeContainer.static.d.ets +++ b/api/arkui/component/relativeContainer.static.d.ets @@ -219,6 +219,16 @@ export declare interface LocalizedBarrierStyle { */ referencedId: Array; } + +/** + * The RelativeContainerAttribute. + * + * @extends CommonMethod + * @interface RelativeContainerAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface RelativeContainerAttribute extends CommonMethod { /** * Specifies guideLines of relativeContainer @@ -259,6 +269,15 @@ export declare interface RelativeContainerAttribute extends CommonMethod { | undefined): this; } +/** + * Defines RelativeContainer Component. + * + * @param { function } [content_] - container + * @returns { RelativeContainerAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function RelativeContainer( diff --git a/api/arkui/component/row.static.d.ets b/api/arkui/component/row.static.d.ets index b365f3dc12..5d4a72b94f 100644 --- a/api/arkui/component/row.static.d.ets +++ b/api/arkui/component/row.static.d.ets @@ -56,6 +56,16 @@ export interface RowOptionsV2 { */ space?: SpaceType; } + +/** + * The RowAttribute. + * + * @extends CommonMethod + * @interface RowAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface RowAttribute extends CommonMethod { /** * Called when the vertical alignment is set. @@ -106,6 +116,16 @@ export declare interface RowAttribute extends CommonMethod { | undefined): this; } +/** + * Defines Row Component. + * + * @param { RowOptions | RowOptions | RowOptionsV2 } [options] - Row options. + * @param { function } [content_] - container + * @returns { RowAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function Row( diff --git a/api/arkui/component/rowSplit.static.d.ets b/api/arkui/component/rowSplit.static.d.ets index b9861fc8e3..441c9901b2 100644 --- a/api/arkui/component/rowSplit.static.d.ets +++ b/api/arkui/component/rowSplit.static.d.ets @@ -19,6 +19,16 @@ */ import { memo, ComponentBuilder } from './../stateManagement/runtime'; import { AttributeModifier, CommonMethod } from './common'; + +/** + * The RowSplitAttribute. + * + * @extends CommonMethod + * @interface RowSplitAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface RowSplitAttribute extends CommonMethod { /** * Called when judging whether the split line can be dragged. @@ -41,6 +51,15 @@ export declare interface RowSplitAttribute extends CommonMethod { | undefined): this; } +/** + * Defines RowSplit Component. + * + * @param { function } [content_] - container + * @returns { RowSplitAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function RowSplit( diff --git a/api/arkui/component/stack.static.d.ets b/api/arkui/component/stack.static.d.ets index 168f9d1b68..b294a586e2 100644 --- a/api/arkui/component/stack.static.d.ets +++ b/api/arkui/component/stack.static.d.ets @@ -39,6 +39,16 @@ export declare interface StackOptions { */ alignContent?: Alignment; } + +/** + * The StackAttribute. + * + * @extends CommonMethod + * @interface StackAttribute + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ export declare interface StackAttribute extends CommonMethod { /** * Called when the alignment of items in the container is set. @@ -71,6 +81,16 @@ export declare interface StackAttribute extends CommonMethod { | undefined): this; } +/** + * Defines Stack Component. + * + * @param { StackOptions } [options] - Stack options. + * @param { function } [content_] - container + * @returns { StackAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + * @noninterop + */ @memo @ComponentBuilder export declare function Stack( -- Gitee