From 6e278f050b67b22bda2e2172811b316491f10d3e Mon Sep 17 00:00:00 2001 From: x00484220 Date: Tue, 18 Mar 2025 10:03:48 +0800 Subject: [PATCH 1/3] =?UTF-8?q?string=E4=BF=AE=E6=94=B9=E4=B8=BAresourcest?= =?UTF-8?q?r=20Signed-off-by:=20xuyinjie=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.arkui.advanced.ProgressButton.d.ets | 10 ++++++++- api/@ohos.arkui.advanced.SubHeader.d.ets | 10 ++++++++- api/@ohos.arkui.advanced.SubHeaderV2.d.ets | 22 +++++++++++++++++-- api/@ohos.arkui.advanced.SwipeRefresher.d.ets | 10 ++++++++- 4 files changed, 47 insertions(+), 5 deletions(-) diff --git a/api/@ohos.arkui.advanced.ProgressButton.d.ets b/api/@ohos.arkui.advanced.ProgressButton.d.ets index 82307edadf..af29895244 100644 --- a/api/@ohos.arkui.advanced.ProgressButton.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButton.d.ets @@ -59,7 +59,15 @@ export declare struct ProgressButton { * @atomicservice * @since 11 */ - @Prop content: string; + /** + * Sets the ProgressButton content. + * @type { ResourceStr }. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + @Prop content: ResourceStr; /** * Sets the ProgressButton progressButtonWidth. diff --git a/api/@ohos.arkui.advanced.SubHeader.d.ets b/api/@ohos.arkui.advanced.SubHeader.d.ets index 3bc64397e0..d6fa37687e 100644 --- a/api/@ohos.arkui.advanced.SubHeader.d.ets +++ b/api/@ohos.arkui.advanced.SubHeader.d.ets @@ -314,7 +314,15 @@ export declare class SelectOptions { * @atomicservice * @since 18 */ - value?: string; + /** + * The default text value. + * @type { ResourceStr }. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + value?: ResourceStr; /** * Callback when the select is selected. diff --git a/api/@ohos.arkui.advanced.SubHeaderV2.d.ets b/api/@ohos.arkui.advanced.SubHeaderV2.d.ets index 10872122ab..fbc8463724 100644 --- a/api/@ohos.arkui.advanced.SubHeaderV2.d.ets +++ b/api/@ohos.arkui.advanced.SubHeaderV2.d.ets @@ -187,7 +187,16 @@ export interface SubHeaderV2SelectOptions { * @atomicservice * @since 18 */ - selectedContent?: string; + /** + * Sets the selected content of the SubHeaderV2SelectOptions. + * + * @type { ?ResourceStr } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + selectedContent?: ResourceStr; /** * Sets the onSelect of the SubHeaderV2SelectOptions. * @@ -248,7 +257,16 @@ export declare class SubHeaderV2Select { * @atomicservice * @since 18 */ - @Trace selectedContent?: string; + /** + * Sets the selected content of the SubHeaderV2SelectOptions. + * + * @type { ?ResourceStr } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + @Trace selectedContent?: ResourceStr; /** * Sets the onSelect of the SubHeaderV2SelectOptions. * diff --git a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets index 25e3b6a78d..40d760063c 100644 --- a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets +++ b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets @@ -44,7 +44,15 @@ export declare struct SwipeRefresher { * @atomicservice * @since 11 */ - @Prop content?: string; + /** + * Sets the content when loading. + * @type { ResourceStr } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + @Prop content?: ResourceStr; /** * Whether the component is loading. -- Gitee From f298408676fa48ca9aefe3c6b3aac578a5cc7234 Mon Sep 17 00:00:00 2001 From: x00484220 Date: Tue, 18 Mar 2025 10:27:03 +0800 Subject: [PATCH 2/3] =?UTF-8?q?string=E4=BF=AE=E6=94=B9=E4=B8=BAresourcest?= =?UTF-8?q?r=20Signed-off-by:=20xuyinjie=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.arkui.advanced.SubHeader.d.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.arkui.advanced.SubHeader.d.ets b/api/@ohos.arkui.advanced.SubHeader.d.ets index d6fa37687e..59333deced 100644 --- a/api/@ohos.arkui.advanced.SubHeader.d.ets +++ b/api/@ohos.arkui.advanced.SubHeader.d.ets @@ -316,7 +316,7 @@ export declare class SelectOptions { */ /** * The default text value. - * @type { ResourceStr }. + * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -- Gitee From 2e1d8994b4a8e28a94632f2d5eeac883e0b0a14b Mon Sep 17 00:00:00 2001 From: x00484220 Date: Tue, 18 Mar 2025 10:27:47 +0800 Subject: [PATCH 3/3] =?UTF-8?q?string=E4=BF=AE=E6=94=B9=E4=B8=BAresourcest?= =?UTF-8?q?r=20Signed-off-by:=20xuyinjie=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.arkui.advanced.SwipeRefresher.d.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets index 40d760063c..c34bf82e9c 100644 --- a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets +++ b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets @@ -46,7 +46,7 @@ export declare struct SwipeRefresher { */ /** * Sets the content when loading. - * @type { ResourceStr } + * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -- Gitee