From 90974860e50ae1fda9dc46996ef5b798ec8bf595 Mon Sep 17 00:00:00 2001 From: luoxi Date: Thu, 28 Aug 2025 14:32:20 +0800 Subject: [PATCH 1/2] remove atomicservice tag Signed-off-by: luoxi --- api/@ohos.arkui.advanced.MultiNavigation.static.d.ets | 1 - 1 file changed, 1 deletion(-) diff --git a/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets b/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets index 19432c86c6..254cb2d92a 100644 --- a/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets +++ b/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets @@ -126,7 +126,6 @@ export declare struct MultiNavigation { /** * The method to build multiNavigation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice * @since 20 */ @Builder -- Gitee From 0d230d66bb70412575c48c381fe60f01df3a5949 Mon Sep 17 00:00:00 2001 From: luoxi Date: Fri, 29 Aug 2025 16:58:07 +0800 Subject: [PATCH 2/2] number to int Signed-off-by: luoxi --- ...rkui.advanced.MultiNavigation.static.d.ets | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets b/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets index 254cb2d92a..ab4b8ba617 100644 --- a/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets +++ b/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets @@ -237,22 +237,22 @@ export declare class MultiNavPathStack extends NavPathStack { /** * Remove the specified NavDestinations by indexes. * - * @param { Array } indexes - Indicates the indexes of the NavDestinations to be removed. - * @returns { number } Returns the number of removed pages. Invalid indexes will be ignored. + * @param { Array } indexes - Indicates the indexes of the NavDestinations to be removed. + * @returns { int } Returns the number of removed pages. Invalid indexes will be ignored. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - removeByIndexes(indexes: Array): number; + removeByIndexes(indexes: Array): int; /** * Remove the specified NavDestination by name. * * @param { string } name - Indicates the name of the NavDestination to be removed. - * @returns { number } Returns the number of removed NavDestinations. + * @returns { int } Returns the number of removed NavDestinations. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - removeByName(name: string): number; + removeByName(name: string): int; /** * Pop the top NavDestination of the stack. @@ -284,11 +284,11 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { string } name - Name of the NavDestination. * @param { boolean } [animated] - Indicates whether the transition is animated. - * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. + * @returns { int } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - popToName(name: string, animated?: boolean): number; + popToName(name: string, animated?: boolean): int; /** * Pop to the NavDestination of specified name. Always the first one @@ -297,32 +297,32 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { string } name - Name of the NavDestination. * @param { Object } result - Page Customization processing results. * @param { boolean } [animated] - Indicates whether the transition is animated. - * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. + * @returns { int } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - popToName(name: string, result: Object, animated?: boolean): number; + popToName(name: string, result: Object, animated?: boolean): int; /** * Pop to the NavDestination of specified index. Do nothing if index is invalid. * - * @param { number } index - The index of NavDestination page. + * @param { int } index - The index of NavDestination page. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - popToIndex(index: number, animated?: boolean): void; + popToIndex(index: int, animated?: boolean): void; /** * Pop to the NavDestination of specified index. Do nothing if index is invalid. * - * @param { number } index - The index of NavDestination page. + * @param { int } index - The index of NavDestination page. * @param { Object } result - Page Customization processing results. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - popToIndex(index: number, result: Object, animated?: boolean): void; + popToIndex(index: int, result: Object, animated?: boolean): void; /** * Move the first NavDestination of specified name to the top of the stack. Always the first one @@ -330,21 +330,21 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { string } name - Indicates the name of the NavDestination to be moved to the top. * @param { boolean } [animated] - Indicates whether the transition is animated. - * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. + * @returns { int } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - moveToTop(name: string, animated?: boolean): number; + moveToTop(name: string, animated?: boolean): int; /** * Move the first NavDestination of specified index to the top of the stack. * - * @param { number } index - Indicates the index of the NavDestination to be moved to the top. + * @param { int } index - Indicates the index of the NavDestination to be moved to the top. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - moveIndexToTop(index: number, animated?: boolean): void; + moveIndexToTop(index: int, animated?: boolean): void; /** * Clear the stack. When keepBottomPage sets true, the page at the bottom of the @@ -368,13 +368,13 @@ export declare class MultiNavPathStack extends NavPathStack { /** * Obtains parameter information of the NavDestination page specified by index. * - * @param { number } index - The index of NavDestination page. + * @param { int } index - The index of NavDestination page. * @returns { Object | undefined } Returns the detailed parameter of the NavDestination * if it exists in the stack, otherwise returns undefined. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - getParamByIndex(index: number): Object | undefined; + getParamByIndex(index: int): Object | undefined; /** * Obtains parameter information of all NavDestination pages specified by name. @@ -390,20 +390,20 @@ export declare class MultiNavPathStack extends NavPathStack { * Obtains the index of all NavDestination pages specified by name. * * @param { string } name - Indicates the name of the NavDestination. - * @returns { Array } Returns the index of all the NavDestinations. + * @returns { Array } Returns the index of all the NavDestinations. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - getIndexByName(name: string): Array; + getIndexByName(name: string): Array; /** * Obtains the size of the stack. * - * @returns { number } Returns the size of the stack. + * @returns { int } Returns the size of the stack. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - size(): number; + size(): int; /** * disable or enable all transition animation in this MultiNavigation. -- Gitee