diff --git a/api/@ohos.arkui.modifier.d.ets b/api/@ohos.arkui.modifier.d.ets index a534dadb71429d295e5e26a1154a88f448bb6c3d..25439a2dc010a6a8a2751252fcb118c8ed5f3364 100644 --- a/api/@ohos.arkui.modifier.d.ets +++ b/api/@ohos.arkui.modifier.d.ets @@ -42,6 +42,102 @@ export { CommonModifier } from './arkui/CommonModifier'; */ export { AttributeUpdater } from './arkui/AttributeUpdater'; +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { BlankModifier } from './arkui/BlankModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { ColumnModifier } from './arkui/ColumnModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { ColumnSplitModifier } from './arkui/ColumnSplitModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { DividerModifier } from './arkui/DividerModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { FlexModifier } from './arkui/FlexModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { FolderStackModifier } from './arkui/FolderStackModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { GridColModifier } from './arkui/GridColModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { GridRowModifier } from './arkui/GridRowModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { RelativeContainerModifier } from './arkui/RelativeContainerModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { RowModifier } from './arkui/RowModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { RowSplitModifier } from './arkui/RowSplitModifier'; + +/** + * Export AttributeUpdater, which is used to update attributes to native side. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 20 + */ +export { StackModifier } from './arkui/StackModifier'; + /** * Export GridModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full @@ -122,7 +218,6 @@ export { ButtonModifier } from './arkui/ButtonModifier'; */ export { SymbolGlyphModifier } from './arkui/SymbolGlyphModifier'; - /** * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/arkui/BlankModifier.static.d.ets b/api/arkui/BlankModifier.static.d.ets index a201adbc71919b8bb3cf19344780d210eb4e7dec..9ce7ba4eaf83065bcaa79a8b3d9479515872622f 100644 --- a/api/arkui/BlankModifier.static.d.ets +++ b/api/arkui/BlankModifier.static.d.ets @@ -1,33 +1,33 @@ -/* - * Copyright (c) 2025 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 { AttributeModifier } from './component/common'; -import { BlankAttribute } from './component/blank'; - -/** - * Defines Blank Modifier - * - * @extends BlankAttribute - * @implements AttributeModifier - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 - */ -export declare class BlankModifier extends BlankAttribute implements AttributeModifier {} +/* + * Copyright (c) 2025 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 { AttributeModifier } from './component/common'; +import { BlankAttribute } from './component/blank'; + +/** + * Defines Blank Modifier + * + * @extends BlankAttribute + * @implements AttributeModifier + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ +export declare class BlankModifier implements BlankAttribute, AttributeModifier {} \ No newline at end of file diff --git a/api/arkui/FlexModifier.static.d.ets b/api/arkui/FlexModifier.static.d.ets new file mode 100644 index 0000000000000000000000000000000000000000..f3328cf0bbf279e2ce704a33abae194856201b80 --- /dev/null +++ b/api/arkui/FlexModifier.static.d.ets @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2025 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 { AttributeModifier } from './component/common'; +import { FlexAttribute } from './component/flex'; + +/** + * Defines Flex Modifier + * + * @implements FlexAttribute, AttributeModifier + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 +*/ +export declare class FlexModifier implements FlexAttribute, AttributeModifier {} diff --git a/api/arkui/FolderStackModifier.static.d.ets b/api/arkui/FolderStackModifier.static.d.ets new file mode 100644 index 0000000000000000000000000000000000000000..8d93d297fb3f88c8597a883c61d8a6f65371cdff --- /dev/null +++ b/api/arkui/FolderStackModifier.static.d.ets @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2025 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 { AttributeModifier } from './component/common'; +import { FolderStackAttribute } from './component/folderStack'; + +/** + * Defines FolderStack Modifier + * + * @implements FolderStackAttribute, AttributeModifier + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 +*/ +export declare class FolderStackModifier implements FolderStackAttribute, AttributeModifier {} diff --git a/api/arkui/RelativeContainerModifier.static.d.ets b/api/arkui/RelativeContainerModifier.static.d.ets new file mode 100644 index 0000000000000000000000000000000000000000..c3d56722a3f84800e1c59918a9a6f309c5deb5a0 --- /dev/null +++ b/api/arkui/RelativeContainerModifier.static.d.ets @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2025 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 { AttributeModifier } from './component/common'; +import { RelativeContainerAttribute } from './component/relativeContainer'; + +/** + * Defines RelativeContainer Modifier + * + * @implements RelativeContainerAttribute, AttributeModifier + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 +*/ +export declare class RelativeContainerModifier implements RelativeContainerAttribute, + AttributeModifier {} diff --git a/api/arkui/component/blank.static.d.ets b/api/arkui/component/blank.static.d.ets index e24bec2130fff6360bb8f13b3c08e31d92e6a757..8e0cb5898b14851a6b86e1cf4d1dfcd351eecd5e 100644 --- a/api/arkui/component/blank.static.d.ets +++ b/api/arkui/component/blank.static.d.ets @@ -30,8 +30,8 @@ export declare interface BlankAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - color(value: ResourceColor | undefined): this; - attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; + default color(value: ResourceColor | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } @memo diff --git a/api/arkui/component/column.static.d.ets b/api/arkui/component/column.static.d.ets index f671d77ca3da4ef77c78e5a3bac70c69f1c913d6..fead0a10d64ddb98a84be7b69a23afe308907214 100644 --- a/api/arkui/component/column.static.d.ets +++ b/api/arkui/component/column.static.d.ets @@ -20,7 +20,7 @@ import { HorizontalAlign, FlexAlign } from './enums'; import { Resource } from './../../global/resource'; import { memo, ComponentBuilder } from './../stateManagement/runtime'; -import { Optional, AttributeModifier, CommonMethod } from './common'; +import { CommonMethod, Optional, AttributeModifier, PointLightStyle } from './common'; /** * Defines the space property with string, number and resource unit. * @@ -72,7 +72,7 @@ export declare interface ColumnAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - alignItems(value: HorizontalAlign | undefined): this; + default alignItems(value: HorizontalAlign | undefined): this; /** * Sets the alignment format of the subassembly in the vertical direction. * @@ -81,7 +81,16 @@ export declare interface ColumnAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - justifyContent(value: FlexAlign | undefined): this; + default justifyContent(value: FlexAlign | undefined): this; + /** + * Defines the PointLight + * + * @param { PointLightStyle } value - The point light style. + * @returns { ColumnAttribute } The attribute of the column. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + default pointLight(value: PointLightStyle): this; /** * Called when the Main-Axis's direction is set reversed or not * @@ -90,8 +99,8 @@ export declare interface ColumnAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - reverse(isReversed: boolean | undefined): this; - attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; + default reverse(isReversed: boolean | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } @memo diff --git a/api/arkui/component/columnSplit.static.d.ets b/api/arkui/component/columnSplit.static.d.ets index ac8b369f6c910873fa6688c347a28555a47e2122..9c54f5d986012758465f552af9097e34e2b20d33 100644 --- a/api/arkui/component/columnSplit.static.d.ets +++ b/api/arkui/component/columnSplit.static.d.ets @@ -56,7 +56,7 @@ export declare interface ColumnSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - resizeable(value: boolean | undefined): this; + default resizeable(value: boolean | undefined): this; /** * Called when the ColumnSplit split line style is set. * @param { ColumnSplitDividerStyle | null } value - indicates the style of the indicator. @@ -65,8 +65,8 @@ export declare interface ColumnSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - divider(value: ColumnSplitDividerStyle | null | undefined): this; - attributeModifier(modifier: AttributeModifier + default divider(value: ColumnSplitDividerStyle | null | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } diff --git a/api/arkui/component/divider.static.d.ets b/api/arkui/component/divider.static.d.ets index 262817f90ffcef07eac577d12a58eee422da5db7..976918aa93fc981e511f62708673ca4426e2b294 100644 --- a/api/arkui/component/divider.static.d.ets +++ b/api/arkui/component/divider.static.d.ets @@ -31,7 +31,7 @@ export declare interface DividerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - vertical(value: boolean | undefined): this; + default vertical(value: boolean | undefined): this; /** * Sets the color of the divider line. * @@ -40,7 +40,7 @@ export declare interface DividerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - color(value: ResourceColor | undefined): this; + default color(value: ResourceColor | undefined): this; /** * Sets the width of the dividing line. * @@ -49,7 +49,7 @@ export declare interface DividerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - strokeWidth(value: number | string | undefined): this; + default strokeWidth(value: number | string | undefined): this; /** * Sets the end style of the split line. The default value is Butt. * @@ -58,8 +58,8 @@ export declare interface DividerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - lineCap(value: LineCapStyle | undefined): this; - attributeModifier(modifier: AttributeModifier + default lineCap(value: LineCapStyle | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } diff --git a/api/arkui/component/flex.static.d.ets b/api/arkui/component/flex.static.d.ets index 88258695216c35b2192d20584907994385fe194a..ccfdeb5d4197f1c488e1c803e3db196f78eced58 100644 --- a/api/arkui/component/flex.static.d.ets +++ b/api/arkui/component/flex.static.d.ets @@ -20,7 +20,7 @@ import { LengthMetrics } from '../Graphics'; import { FlexWrap, FlexDirection, ItemAlign, FlexAlign } from './enums'; import { memo, ComponentBuilder } from './../stateManagement/runtime'; -import { AttributeModifier, CommonMethod } from './common'; +import { AttributeModifier, CommonMethod, PointLightStyle } from './common'; /** * Describes the layout and alignment of child components within the Flex component. * @@ -111,7 +111,17 @@ export declare interface FlexSpaceOptions { cross?: LengthMetrics; } export declare interface FlexAttribute extends CommonMethod { - attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; + /** + * Defines the PointLight + * + * @param { PointLightStyle } value - The point light style. + * @returns { FlexAttribute } The attribute of the flex. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + default pointLight(value: PointLightStyle): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo diff --git a/api/arkui/component/folderStack.static.d.ets b/api/arkui/component/folderStack.static.d.ets index 072c9a2837ab76aee1779d12d22bd93e56aad53c..0297089ea3992a5e74a7563a577fc756f726092d 100644 --- a/api/arkui/component/folderStack.static.d.ets +++ b/api/arkui/component/folderStack.static.d.ets @@ -94,7 +94,7 @@ export declare interface FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - alignContent(value: Alignment | undefined): this; + default alignContent(value: Alignment | undefined): this; /** * Callback folderState when the folderState changes * @@ -104,7 +104,7 @@ export declare interface FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - onFolderStateChange(callback: OnFoldStatusChangeCallback | undefined): this; + default onFolderStateChange(callback: OnFoldStatusChangeCallback | undefined): this; /** * Callback hoverStatus|folderStatus|rotation|windowMode when the hoverStatus changes * @@ -114,7 +114,7 @@ export declare interface FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - onHoverStatusChange(handler: OnHoverStatusChangeCallback | undefined): this; + default onHoverStatusChange(handler: OnHoverStatusChangeCallback | undefined): this; /** * Enable the animation of folderStack. * @@ -123,7 +123,7 @@ export declare interface FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - enableAnimation(value: boolean | undefined): this; + default enableAnimation(value: boolean | undefined): this; /** * Enable auto halfFolder when orientation. * @@ -132,8 +132,8 @@ export declare interface FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - autoHalfFold(value: boolean | undefined): this; - attributeModifier(modifier: AttributeModifier + default autoHalfFold(value: boolean | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; } /** diff --git a/api/arkui/component/gridCol.static.d.ets b/api/arkui/component/gridCol.static.d.ets index 48d4559cd3553c1a009ec446e0574a549afa7f21..361aa6a0d056c997e7d925caab68c280f74f595b 100644 --- a/api/arkui/component/gridCol.static.d.ets +++ b/api/arkui/component/gridCol.static.d.ets @@ -118,7 +118,7 @@ export declare interface GridColAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - span(value: number | GridColColumnOption | undefined): this; + default span(value: number | GridColColumnOption | undefined): this; /** * Sets the offset of current gird-container item. * @@ -127,7 +127,7 @@ export declare interface GridColAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - gridColOffset(value: number | GridColColumnOption | undefined): this; + default gridColOffset(value: number | GridColColumnOption | undefined): this; /** * Sets the order of current gird-container item. * @@ -136,9 +136,9 @@ export declare interface GridColAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - order(value: number | GridColColumnOption | undefined): this; - attributeModifier(modifier: AttributeModifier - | AttributeModifier | undefined): this; + default order(value: number | GridColColumnOption | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo diff --git a/api/arkui/component/gridRow.static.d.ets b/api/arkui/component/gridRow.static.d.ets index 100797cd56d5e097e353e3cf36ca99c53e339770..3e7cf0291874a22731908a24138d838ead686cff 100644 --- a/api/arkui/component/gridRow.static.d.ets +++ b/api/arkui/component/gridRow.static.d.ets @@ -281,7 +281,7 @@ export declare interface GridRowAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - onBreakpointChange(callback: ((breakpoints: string) => void) | undefined): this; + default onBreakpointChange(callback: ((breakpoints: string) => void) | undefined): this; /** * Cross axis alignment of each line in GridRow. * @@ -290,9 +290,9 @@ export declare interface GridRowAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - alignItems(value: ItemAlign | undefined): this; - attributeModifier(modifier: AttributeModifier - | AttributeModifier | undefined): this; + default alignItems(value: ItemAlign | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo diff --git a/api/arkui/component/relativeContainer.static.d.ets b/api/arkui/component/relativeContainer.static.d.ets index 1314dee55d678e60234dfd8505d6f6ab6e6ec311..1a1791a8ec1767a100cdae5260dfe9355e08ea0e 100644 --- a/api/arkui/component/relativeContainer.static.d.ets +++ b/api/arkui/component/relativeContainer.static.d.ets @@ -228,7 +228,7 @@ export declare interface RelativeContainerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - guideLine(value: Array | undefined): this; + default guideLine(value: Array | undefined): this; /** * Specifies barriers of relativeContainer * @@ -237,7 +237,7 @@ export declare interface RelativeContainerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - barrier(value: Array | undefined): this; + default barrier(value: Array | undefined): this; /** * Specifies barriers of relativeContainer * @@ -246,9 +246,9 @@ export declare interface RelativeContainerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - barrier(barrierStyle: Array | undefined): this; - attributeModifier(modifier: AttributeModifier - | AttributeModifier | undefined): this; + default barrier(barrierStyle: Array | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo diff --git a/api/arkui/component/row.static.d.ets b/api/arkui/component/row.static.d.ets index 60a463cf7ad62da146490064762faf8996245d54..19e9591a9c6f8ae062729c402c6d103ce06e5e85 100644 --- a/api/arkui/component/row.static.d.ets +++ b/api/arkui/component/row.static.d.ets @@ -20,7 +20,7 @@ import { VerticalAlign, FlexAlign } from './enums'; import { SpaceType } from './column'; import { memo, ComponentBuilder } from './../stateManagement/runtime'; -import { Optional, AttributeModifier, CommonMethod } from './common'; +import { Optional, AttributeModifier, CommonMethod, PointLightStyle } from './common'; /** * Define options used to construct a row. * @@ -65,7 +65,7 @@ export declare interface RowAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - alignItems(value: VerticalAlign | undefined): this; + default alignItems(value: VerticalAlign | undefined): this; /** * Called when the horizontal alignment is set. * @@ -74,7 +74,16 @@ export declare interface RowAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - justifyContent(value: FlexAlign | undefined): this; + default justifyContent(value: FlexAlign | undefined): this; + /** + * Defines the PointLight + * + * @param { PointLightStyle } value - The point light style. + * @returns { RowAttribute } The attribute of the row. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + default pointLight(value: PointLightStyle): this; /** * Called when the Main-Axis's direction is set reversed or not * @@ -83,8 +92,9 @@ export declare interface RowAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - reverse(isReversed: boolean | undefined): this; - attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; + default reverse(isReversed: boolean | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo diff --git a/api/arkui/component/rowSplit.static.d.ets b/api/arkui/component/rowSplit.static.d.ets index be4d267aa345b1079a93be72d9ba82d72e1d6f8c..89b9903c08da3f00f00447e991c4fc873346e144 100644 --- a/api/arkui/component/rowSplit.static.d.ets +++ b/api/arkui/component/rowSplit.static.d.ets @@ -28,9 +28,9 @@ export declare interface RowSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - resizeable(value: boolean | undefined): this; - attributeModifier(modifier: AttributeModifier - | AttributeModifier | undefined): this; + default resizeable(value: boolean | undefined): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo diff --git a/api/arkui/component/stack.static.d.ets b/api/arkui/component/stack.static.d.ets index 8988b78a9c7e441431098b4bbc871c8c9d9d654a..0dcff10fbe088a790a593ee6839665c3a1955f73 100644 --- a/api/arkui/component/stack.static.d.ets +++ b/api/arkui/component/stack.static.d.ets @@ -19,7 +19,7 @@ */ import { Alignment } from './enums'; import { memo, ComponentBuilder } from './../stateManagement/runtime'; -import { AttributeModifier, CommonMethod } from './common'; +import { AttributeModifier, CommonMethod, PointLightStyle } from './common'; /** * Options used to construct the stack. * @@ -48,8 +48,18 @@ export declare interface StackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - alignContent(value: Alignment | undefined): this; - attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this; + default alignContent(value: Alignment | undefined): this; + /** + * Defines the PointLight + * + * @param { PointLightStyle } value - The point light style. + * @returns { StackAttribute } The attribute of the stack. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + default pointLight(value: PointLightStyle): this; + default attributeModifier(modifier: AttributeModifier | AttributeModifier + | undefined): this; } @memo