From d257c11e42f0abb424b119fc5c94de53779bd227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E5=80=A9?= Date: Fri, 8 Aug 2025 08:36:57 +0000 Subject: [PATCH 01/36] =?UTF-8?q?fix=EF=BC=9A=E8=B5=84=E6=96=99=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 任倩 --- api/@ohos.pasteboard.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts index c5d0d860fd..13f2832d4d 100644 --- a/api/@ohos.pasteboard.d.ts +++ b/api/@ohos.pasteboard.d.ts @@ -638,7 +638,7 @@ declare namespace pasteboard { * @syscap SystemCapability.MiscServices.Pasteboard * @since 7 * @deprecated since 9 - * @useinstead ohos.pasteboard.pasteboard#convertToTextV9 + * @useinstead ohos.pasteboard.pasteboard#toPlainText */ convertToText(callback: AsyncCallback): void; @@ -648,7 +648,7 @@ declare namespace pasteboard { * @syscap SystemCapability.MiscServices.Pasteboard * @since 7 * @deprecated since 9 - * @useinstead ohos.pasteboard.pasteboard#convertToTextV9 + * @useinstead ohos.pasteboard.pasteboard#toPlainText */ convertToText(): Promise; -- Gitee From 07bb0d9d72714009f397d0e42299b9e5f0dff1f6 Mon Sep 17 00:00:00 2001 From: 2301_76695984 Date: Mon, 11 Aug 2025 17:03:36 +0800 Subject: [PATCH 02/36] update Signed-off-by: 2301_76695984 --- api/@ohos.commonEventManager.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index 4ba551a78f..ca4e805737 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -2637,6 +2637,16 @@ declare namespace commonEventManager { * @arkts 1.1&1.2 */ COMMON_EVENT_CUSTOM_ROAMING_REGION_UPDATED = 'usual.event.CUSTOM_ROAMING_REGION_UPDATED', + + /** + * This common event means that screen capture. + * This is a protected common event that can only be sent by system. + * @syscap SystemCapability.Notification.CommonEvent + * @systemapi + * @since 20 + * @arkts 1.1&1.2 + */ + COMMON_EVENT_SCREEN_CAPTURE = 'usual.event.SCREEN_CAPTURE', } /** -- Gitee From 5b23614a8a24c57daed5e0407b86208c0122df9a Mon Sep 17 00:00:00 2001 From: TingweiCHEN Date: Mon, 11 Aug 2025 10:16:25 +0000 Subject: [PATCH 03/36] update api/@ohos.telephony.esim.d.ts. Signed-off-by: TingweiCHEN --- api/@ohos.telephony.esim.d.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/@ohos.telephony.esim.d.ts b/api/@ohos.telephony.esim.d.ts index 6e30c906c9..b4a3857d74 100644 --- a/api/@ohos.telephony.esim.d.ts +++ b/api/@ohos.telephony.esim.d.ts @@ -465,7 +465,6 @@ declare namespace eSIM { * * @interface AccessRule * @syscap SystemCapability.Telephony.CoreService.Esim - * @systemapi Hide this for inner system use. * @since 18 */ export interface AccessRule { @@ -474,7 +473,6 @@ declare namespace eSIM { * * @type { string } * @syscap SystemCapability.Telephony.CoreService.Esim - * @systemapi Hide this for inner system use. * @since 18 */ certificateHashHexStr: string; @@ -484,7 +482,6 @@ declare namespace eSIM { * * @type { string } * @syscap SystemCapability.Telephony.CoreService.Esim - * @systemapi Hide this for inner system use. * @since 18 */ packageName: string; @@ -494,7 +491,6 @@ declare namespace eSIM { * * @type { number } * @syscap SystemCapability.Telephony.CoreService.Esim - * @systemapi Hide this for inner system use. * @since 18 */ accessType: number; -- Gitee From bae4e813062237c30483dc67b7baafcf6bba9231 Mon Sep 17 00:00:00 2001 From: TingweiCHEN Date: Wed, 13 Aug 2025 01:39:09 +0000 Subject: [PATCH 04/36] update api/@ohos.telephony.esim.d.ts. Signed-off-by: TingweiCHEN --- api/@ohos.telephony.esim.d.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/api/@ohos.telephony.esim.d.ts b/api/@ohos.telephony.esim.d.ts index b4a3857d74..a7f5d255fb 100644 --- a/api/@ohos.telephony.esim.d.ts +++ b/api/@ohos.telephony.esim.d.ts @@ -465,16 +465,32 @@ declare namespace eSIM { * * @interface AccessRule * @syscap SystemCapability.Telephony.CoreService.Esim + * @systemapi Hide this for inner system use. * @since 18 */ + /** + * Establishes a single UICC access rule pursuant to the GlobalPlatform Secure Element Access Control specification. + * + * @interface AccessRule + * @syscap SystemCapability.Telephony.CoreService.Esim + * @since 20 + */ export interface AccessRule { /** * Certificate hash hexadecimal string. * * @type { string } * @syscap SystemCapability.Telephony.CoreService.Esim + * @systemapi Hide this for inner system use. * @since 18 */ + /** + * Certificate hash hexadecimal string. + * + * @type { string } + * @syscap SystemCapability.Telephony.CoreService.Esim + * @since 20 + */ certificateHashHexStr: string; /** @@ -482,8 +498,16 @@ declare namespace eSIM { * * @type { string } * @syscap SystemCapability.Telephony.CoreService.Esim + * @systemapi Hide this for inner system use. * @since 18 */ + /** + * The name of package. + * + * @type { string } + * @syscap SystemCapability.Telephony.CoreService.Esim + * @since 20 + */ packageName: string; /** @@ -491,8 +515,16 @@ declare namespace eSIM { * * @type { number } * @syscap SystemCapability.Telephony.CoreService.Esim + * @systemapi Hide this for inner system use. * @since 18 */ + /** + * The type of access. + * + * @type { number } + * @syscap SystemCapability.Telephony.CoreService.Esim + * @since 20 + */ accessType: number; } -- Gitee From a26e5f451d1baf5c655dd8aeeb84689d7ca47b72 Mon Sep 17 00:00:00 2001 From: zeng Date: Wed, 13 Aug 2025 10:36:35 +0800 Subject: [PATCH 05/36] update share Signed-off-by: zeng --- api/@ohos.commonEventManager.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index ca4e805737..04f0a55d2a 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -2646,7 +2646,7 @@ declare namespace commonEventManager { * @since 20 * @arkts 1.1&1.2 */ - COMMON_EVENT_SCREEN_CAPTURE = 'usual.event.SCREEN_CAPTURE', + COMMON_EVENT_SCREEN_SHARE = 'usual.event.SCREEN_SHARE', } /** -- Gitee From 905241602382513cd2106ceb0226187ba9c2c50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Wed, 13 Aug 2025 14:29:54 +0000 Subject: [PATCH 06/36] =?UTF-8?q?update=EF=BC=9AdeleteEvent=E3=80=81delete?= =?UTF-8?q?Events=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 067e0d955f..bd88ebea10 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -332,6 +332,7 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvent(id: number): Promise; @@ -341,6 +342,7 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvent(id: number, callback: AsyncCallback): void; @@ -350,6 +352,7 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvents(ids: number[]): Promise; @@ -359,6 +362,7 @@ declare namespace calendarManager { * @param { number[] } ids - Indicates the IDs of multiple events. * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvents(ids: number[], callback: AsyncCallback): void; -- Gitee From 7370c93aeb43a480306349c4137c75729995ffc7 Mon Sep 17 00:00:00 2001 From: li-li-wang Date: Thu, 14 Aug 2025 09:30:30 +0800 Subject: [PATCH 07/36] del location button Signed-off-by: li-li-wang --- api/@internal/component/ets/index-full.d.ts | 1 - build-tools/arkui_transformer/config/arkui_config.json | 1 - build-tools/dts_parser/kit.json | 1 - 3 files changed, 3 deletions(-) diff --git a/api/@internal/component/ets/index-full.d.ts b/api/@internal/component/ets/index-full.d.ts index ba50d08873..2423154475 100644 --- a/api/@internal/component/ets/index-full.d.ts +++ b/api/@internal/component/ets/index-full.d.ts @@ -64,7 +64,6 @@ /// /// /// -/// /// /// /// diff --git a/build-tools/arkui_transformer/config/arkui_config.json b/build-tools/arkui_transformer/config/arkui_config.json index 890f2d737f..78b303b561 100644 --- a/build-tools/arkui_transformer/config/arkui_config.json +++ b/build-tools/arkui_transformer/config/arkui_config.json @@ -119,7 +119,6 @@ "WaterFlow", "FlowItem", "ImageSpan", - "LocationButton", "PasteButton", "SaveButton", "UIExtensionComponent", diff --git a/build-tools/dts_parser/kit.json b/build-tools/dts_parser/kit.json index 574dd9748c..0baee0c4ac 100644 --- a/build-tools/dts_parser/kit.json +++ b/build-tools/dts_parser/kit.json @@ -59,7 +59,6 @@ { "filePath": "@internal/component/ets/list_item.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, { "filePath": "@internal/component/ets/list_item_group.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, { "filePath": "@internal/component/ets/loading_progress.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, - { "filePath": "@internal/component/ets/location_button.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, { "filePath": "@internal/component/ets/marquee.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, { "filePath": "@internal/component/ets/matrix2d.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, { "filePath": "@internal/component/ets/media_cached_image.d.ts", "kitName": "ArkUI", "subSystem": "ArkUI开发框架" }, -- Gitee From b931c2f2dc601147bf4f1783e6a6a153738e4009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Thu, 14 Aug 2025 06:15:59 +0000 Subject: [PATCH 08/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 36 ++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index bd88ebea10..06aac2ce56 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -332,9 +332,16 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete a single event. + * @param { number } id - Indicates the ID of an event. + * @returns { Promise } The promise returned by function. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvent(id: number): Promise; /** @@ -342,9 +349,16 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete a single event. + * @param { number } id - Indicates the ID of an event. + * @param {AsyncCallback} callback - The callback of deleteEvent. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvent(id: number, callback: AsyncCallback): void; /** @@ -352,9 +366,16 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete multiple events. + * @param { number[] } ids - The id array of multiple events. + * @returns { Promise } The promise returned by function. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvents(ids: number[]): Promise; /** @@ -362,9 +383,16 @@ declare namespace calendarManager { * @param { number[] } ids - Indicates the IDs of multiple events. * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete multiple events. + * @param { number[] } ids - Indicates the IDs of multiple events. + * @param {AsyncCallback} callback - The callback of deleteEvents. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvents(ids: number[], callback: AsyncCallback): void; /** -- Gitee From ad7224ed0b39060c57d9ce9b2a972b0dcb94fe62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Thu, 14 Aug 2025 11:12:43 +0000 Subject: [PATCH 09/36] update: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 06aac2ce56..3ae09c4db5 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvent(id: number): Promise; @@ -357,7 +357,7 @@ declare namespace calendarManager { * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvent(id: number, callback: AsyncCallback): void; @@ -374,7 +374,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvents(ids: number[]): Promise; @@ -391,7 +391,7 @@ declare namespace calendarManager { * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvents(ids: number[], callback: AsyncCallback): void; -- Gitee From 55a0d65625f67cd32a4a4acbc9b0fceeb91a46b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Fri, 15 Aug 2025 10:29:32 +0800 Subject: [PATCH 10/36] modifier UIContext MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 --- api/@ohos.arkui.UIContext.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 31107f0821..4881309f6f 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -2962,7 +2962,7 @@ export declare class SwiperDynamicSyncScene extends DynamicSyncScene { * @since arkts { '1.1':'14','1.2':'20' } * @arkts 1.1&1.2 */ -export class MarqueeDynamicSyncScene extends DynamicSyncScene { +export declare class MarqueeDynamicSyncScene extends DynamicSyncScene { /** * Type of the MarqueeDynamicSyncSceneType. * @type { MarqueeDynamicSyncSceneType } -- Gitee From 5e3a72e5607352a06effaf0e684d593927022f85 Mon Sep 17 00:00:00 2001 From: wangyifei Date: Fri, 15 Aug 2025 11:16:35 +0800 Subject: [PATCH 11/36] notify Signed-off-by: wangyifei --- api/@ohos.file.photoAccessHelper.d.ts | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 2b7ca4583d..9f5f9c66e7 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -6637,6 +6637,36 @@ declare namespace photoAccessHelper { * @since 20 */ dateTakenMs: number; + + /** + * asset position. + * + * @type { ?PositionType } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @systemapi + * @since 22 + */ + position?: PositionType; + + /** + * Display name of photo asset. + * + * @type { ?string } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @systemapi + * @since 22 + */ + displayName?: string; + + /** + * Size of photo asset. + * + * @type { ?number } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @systemapi + * @since 22 + */ + size?: number; } /** @@ -6851,6 +6881,24 @@ declare namespace photoAccessHelper { * @since 20 */ hiddenCoverInfo?: PhotoAssetChangeInfo; + + /** + * The order section of album asset. + * @type { ?number } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @systemapi + * @since 22 + */ + orderSection?: number; + + /** + * The album order of album asset. + * @type { ?number } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @systemapi + * @since 22 + */ + albumOrder?: number; } /** -- Gitee From 37bc8abdc11478733471d0e21b6f7529ddf2f581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=82=9C=E8=BE=89?= Date: Fri, 15 Aug 2025 16:20:56 +0800 Subject: [PATCH 12/36] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=9C=E7=AB=AF?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E4=B8=8D=E5=8F=AF=E7=94=A8=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈炜辉 --- api/@ohos.file.cloudSync.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/@ohos.file.cloudSync.d.ts b/api/@ohos.file.cloudSync.d.ts index 59e8548976..2f85ed87bb 100644 --- a/api/@ohos.file.cloudSync.d.ts +++ b/api/@ohos.file.cloudSync.d.ts @@ -161,6 +161,14 @@ declare namespace cloudSync { * @arkts 1.1&1.2 */ DEVICE_TEMPERATURE_TOO_HIGH = 7, + /** + * Synchronization aborted due to remote server is abnormal. + * + * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core + * @since 20 + * @arkts 1.1&1.2 + */ + REMOTE_SERVER_ABNORMAL = 8, } -- Gitee From a93bb5af04de9e52a6dbd5db31f1ac436b357077 Mon Sep 17 00:00:00 2001 From: llq0712 Date: Fri, 15 Aug 2025 16:25:32 +0800 Subject: [PATCH 13/36] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: llq0712 --- api/@internal/component/ets/shape.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@internal/component/ets/shape.d.ts b/api/@internal/component/ets/shape.d.ts index 52f08c6535..1f5c17fbac 100644 --- a/api/@internal/component/ets/shape.d.ts +++ b/api/@internal/component/ets/shape.d.ts @@ -913,7 +913,7 @@ declare class ShapeAttribute extends CommonMethod { strokeOpacity(value: number | string | Resource): ShapeAttribute; /** - * Called when the transparency of the border is set. + * Called when the transparency of the fill area is set. * * @param { number | string | Resource } value * @returns { ShapeAttribute } @@ -921,7 +921,7 @@ declare class ShapeAttribute extends CommonMethod { * @since 7 */ /** - * Called when the transparency of the border is set. + * Called when the transparency of the fill area is set. * * @param { number | string | Resource } value * @returns { ShapeAttribute } @@ -930,7 +930,7 @@ declare class ShapeAttribute extends CommonMethod { * @since 9 */ /** - * Called when the transparency of the border is set. + * Called when the transparency of the fill area is set. * * @param { number | string | Resource } value * @returns { ShapeAttribute } @@ -940,7 +940,7 @@ declare class ShapeAttribute extends CommonMethod { * @since 10 */ /** - * Called when the transparency of the border is set. + * Called when the transparency of the fill area is set. * * @param { number | string | Resource } value * @returns { ShapeAttribute } -- Gitee From 8cb7dc18cbf3069d1347b386f95557738100615b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Fri, 15 Aug 2025 10:02:16 +0000 Subject: [PATCH 14/36] =?UTF-8?q?update=EF=BC=9AdeleteEvent=E3=80=81delete?= =?UTF-8?q?Events=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 3ae09c4db5..e0ee268d6a 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -351,14 +351,6 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ - /** - * Delete a single event. - * @param { number } id - Indicates the ID of an event. - * @param {AsyncCallback} callback - The callback of deleteEvent. - * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 20 - */ deleteEvent(id: number, callback: AsyncCallback): void; /** @@ -385,14 +377,6 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ - /** - * Delete multiple events. - * @param { number[] } ids - Indicates the IDs of multiple events. - * @param {AsyncCallback} callback - The callback of deleteEvents. - * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 20 - */ deleteEvents(ids: number[], callback: AsyncCallback): void; /** -- Gitee From b201665e187beb4c9780e403939c0897d1d4a68e Mon Sep 17 00:00:00 2001 From: TingweiCHEN Date: Sat, 16 Aug 2025 01:51:46 +0000 Subject: [PATCH 15/36] update api/@ohos.telephony.esim.d.ts. Signed-off-by: TingweiCHEN --- api/@ohos.telephony.esim.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/@ohos.telephony.esim.d.ts b/api/@ohos.telephony.esim.d.ts index a7f5d255fb..b0469c12b4 100644 --- a/api/@ohos.telephony.esim.d.ts +++ b/api/@ohos.telephony.esim.d.ts @@ -490,6 +490,7 @@ declare namespace eSIM { * @type { string } * @syscap SystemCapability.Telephony.CoreService.Esim * @since 20 + * arkts 1.1&1.2 */ certificateHashHexStr: string; @@ -507,6 +508,7 @@ declare namespace eSIM { * @type { string } * @syscap SystemCapability.Telephony.CoreService.Esim * @since 20 + * arkts 1.1&1.2 */ packageName: string; @@ -517,6 +519,7 @@ declare namespace eSIM { * @syscap SystemCapability.Telephony.CoreService.Esim * @systemapi Hide this for inner system use. * @since 18 + * arkts 1.1&1.2 */ /** * The type of access. @@ -524,6 +527,7 @@ declare namespace eSIM { * @type { number } * @syscap SystemCapability.Telephony.CoreService.Esim * @since 20 + * arkts 1.1&1.2 */ accessType: number; } -- Gitee From 4b113011071d6e740add54ad0ede32238d9edf12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 02:22:04 +0000 Subject: [PATCH 16/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index e0ee268d6a..0fcc3d41a9 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 20 + * @since 19 */ deleteEvent(id: number): Promise; @@ -366,7 +366,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 20 + * @since 19 */ deleteEvents(ids: number[]): Promise; -- Gitee From a41798e894c28e2a54bee88bf83b646f7714d496 Mon Sep 17 00:00:00 2001 From: "yangkuo (A)" <1041733144@qq.com> Date: Sat, 16 Aug 2025 15:34:58 +0800 Subject: [PATCH 17/36] =?UTF-8?q?=E6=94=AF=E6=8C=81L2HC=201.5M=E5=92=8C2.3?= =?UTF-8?q?M=E7=A0=81=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangkuo (A) <1041733144@qq.com> --- api/@ohos.bluetooth.a2dp.d.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/api/@ohos.bluetooth.a2dp.d.ts b/api/@ohos.bluetooth.a2dp.d.ts index 6a64dc35c2..485030b7cb 100644 --- a/api/@ohos.bluetooth.a2dp.d.ts +++ b/api/@ohos.bluetooth.a2dp.d.ts @@ -820,7 +820,21 @@ declare namespace a2dp { * @syscap SystemCapability.Communication.Bluetooth.Core * @since 19 */ - CODEC_BIT_RATE_ABR = 8 + CODEC_BIT_RATE_ABR = 8, + /** + * Codec bit rate 1.5M. + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 21 + */ + CODEC_BIT_RATE_1500000 = 9, + /** + * Codec bit rate 2.3M. + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 21 + */ + CODEC_BIT_RATE_2300000 = 10 } /** * Describes the codec frame length. -- Gitee From 1554fbe6796d3296ed9c543fcc2bc13acf9e3fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 07:43:21 +0000 Subject: [PATCH 18/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 0fcc3d41a9..60439104a2 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,8 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 19 + * @since arkts{'1.1':'19','1.2':'20'} + * @arkts 1.1&1.2 */ deleteEvent(id: number): Promise; @@ -365,8 +366,8 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 19 + * @since arkts{'1.1':'19','1.2':'20'} + * @arkts 1.1&1.2 */ deleteEvents(ids: number[]): Promise; -- Gitee From 02bb5bcdcd2977533393c8406720ba5aaaaec577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:19:06 +0000 Subject: [PATCH 19/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 60439104a2..1d8e07770b 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -341,7 +341,7 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @atomicservice * @since arkts{'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 19 */ deleteEvent(id: number): Promise; @@ -366,8 +366,7 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @since arkts{'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 */ deleteEvents(ids: number[]): Promise; -- Gitee From efebf5fe2ab789d6ed741d22e8bf3b31fa570f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:20:31 +0000 Subject: [PATCH 20/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 1d8e07770b..0fbb2983ce 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,6 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since arkts{'1.1':'19','1.2':'20'} * @arkts 19 */ deleteEvent(id: number): Promise; -- Gitee From d195227a869f44c2c8ca53848edea625204ad9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:23:53 +0000 Subject: [PATCH 21/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 0fbb2983ce..2bfc5c7836 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -365,6 +365,7 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 19 */ deleteEvents(ids: number[]): Promise; -- Gitee From abd1a79340cdc7d09dd12928afd3978193d3fe1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:25:18 +0000 Subject: [PATCH 22/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 2bfc5c7836..0fcc3d41a9 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @arkts 19 + * @since 19 */ deleteEvent(id: number): Promise; -- Gitee From ccb2720b57cc020f509d06824fabc4d417cf65a4 Mon Sep 17 00:00:00 2001 From: TingweiCHEN Date: Mon, 18 Aug 2025 01:34:07 +0000 Subject: [PATCH 23/36] update api/@ohos.telephony.esim.d.ts. Signed-off-by: TingweiCHEN --- api/@ohos.telephony.esim.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.telephony.esim.d.ts b/api/@ohos.telephony.esim.d.ts index b0469c12b4..e6bd3a3264 100644 --- a/api/@ohos.telephony.esim.d.ts +++ b/api/@ohos.telephony.esim.d.ts @@ -474,6 +474,7 @@ declare namespace eSIM { * @interface AccessRule * @syscap SystemCapability.Telephony.CoreService.Esim * @since 20 + * arkts 1.1&1.2 */ export interface AccessRule { /** -- Gitee From e2072f5f69e8399f9cee1708cb8bfcc935ba3526 Mon Sep 17 00:00:00 2001 From: TingweiCHEN Date: Mon, 18 Aug 2025 01:39:36 +0000 Subject: [PATCH 24/36] update api/@ohos.telephony.esim.d.ts. Signed-off-by: TingweiCHEN --- api/@ohos.telephony.esim.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/@ohos.telephony.esim.d.ts b/api/@ohos.telephony.esim.d.ts index e6bd3a3264..ca86c465a0 100644 --- a/api/@ohos.telephony.esim.d.ts +++ b/api/@ohos.telephony.esim.d.ts @@ -520,7 +520,6 @@ declare namespace eSIM { * @syscap SystemCapability.Telephony.CoreService.Esim * @systemapi Hide this for inner system use. * @since 18 - * arkts 1.1&1.2 */ /** * The type of access. -- Gitee From 3843aede1c99bfaec74d4a08920ae259cb01112a Mon Sep 17 00:00:00 2001 From: zeng Date: Mon, 18 Aug 2025 10:16:47 +0800 Subject: [PATCH 25/36] update Signed-off-by: zeng --- api/@ohos.commonEventManager.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index 04f0a55d2a..c381a1b79f 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -2646,7 +2646,7 @@ declare namespace commonEventManager { * @since 20 * @arkts 1.1&1.2 */ - COMMON_EVENT_SCREEN_SHARE = 'usual.event.SCREEN_SHARE', + COMMON_EVENT_SCREEN_SHARE = 'usual.event.SCREEN_SHARE', } /** -- Gitee From f3f365545acfda2571a86f7904eaad033c08a492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Mon, 18 Aug 2025 03:26:11 +0000 Subject: [PATCH 26/36] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 0fcc3d41a9..579a6d245c 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -334,22 +334,22 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ + deleteEvent(id: number): Promise; + /** * Delete a single event. * @param { number } id - Indicates the ID of an event. - * @returns { Promise } The promise returned by function. + * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 19 + * @since 10 */ - deleteEvent(id: number): Promise; - /** * Delete a single event. * @param { number } id - Indicates the ID of an event. * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData - * @since 10 + * @atomicservice + * @since 19 */ deleteEvent(id: number, callback: AsyncCallback): void; @@ -360,22 +360,22 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ + deleteEvents(ids: number[]): Promise; + /** * Delete multiple events. - * @param { number[] } ids - The id array of multiple events. - * @returns { Promise } The promise returned by function. + * @param { number[] } ids - Indicates the IDs of multiple events. + * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 19 + * @since 10 */ - deleteEvents(ids: number[]): Promise; - /** * Delete multiple events. * @param { number[] } ids - Indicates the IDs of multiple events. * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData - * @since 10 + * @atomicservice + * @since 19 */ deleteEvents(ids: number[], callback: AsyncCallback): void; -- Gitee From fde9eca15827b49d1604d60e9f804a4069b964e7 Mon Sep 17 00:00:00 2001 From: DreamLoveJay Date: Mon, 18 Aug 2025 14:44:34 +0800 Subject: [PATCH 27/36] =?UTF-8?q?ArkTS1.2=20Web=20kit=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: DreamLoveJay --- kits/@kit.ArkWeb.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kits/@kit.ArkWeb.d.ts b/kits/@kit.ArkWeb.d.ts index 9ebc9732d7..219e3b278d 100644 --- a/kits/@kit.ArkWeb.d.ts +++ b/kits/@kit.ArkWeb.d.ts @@ -18,7 +18,11 @@ * @kit ArkWeb */ -import webview from '@ohos.web.webview'; import { WebNetErrorList } from '@ohos.web.netErrorList'; +export { WebNetErrorList }; + +/*** if arkts 1.1&1.2 */ +import webview from '@ohos.web.webview'; -export { webview, WebNetErrorList }; +export { webview }; +/*** endif */ -- Gitee From d8027e7c8f7d69a16a2fab16d156c23714df7b71 Mon Sep 17 00:00:00 2001 From: FreemanBao Date: Mon, 18 Aug 2025 14:53:36 +0800 Subject: [PATCH 28/36] =?UTF-8?q?=E3=80=90RichEditor=E3=80=91TextChangeRea?= =?UTF-8?q?son=E5=8E=BB=E9=99=A4=E8=B7=A8=E5=B9=B3=E5=8F=B0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=EF=BC=8C=E6=9E=9A=E4=B8=BE=E6=B7=BB=E5=8A=A0systemapi?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: FreemanBao --- api/@internal/component/ets/rich_editor.d.ts | 1 - api/@internal/component/ets/text_common.d.ts | 30 ++++++++++---------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/api/@internal/component/ets/rich_editor.d.ts b/api/@internal/component/ets/rich_editor.d.ts index 739a46d64d..e9d746f820 100644 --- a/api/@internal/component/ets/rich_editor.d.ts +++ b/api/@internal/component/ets/rich_editor.d.ts @@ -2974,7 +2974,6 @@ declare interface RichEditorChangeValue { * @type { ?TextChangeReason } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @atomicservice * @since 20 */ changeReason?: TextChangeReason; diff --git a/api/@internal/component/ets/text_common.d.ts b/api/@internal/component/ets/text_common.d.ts index 5c12670995..3428691ecb 100644 --- a/api/@internal/component/ets/text_common.d.ts +++ b/api/@internal/component/ets/text_common.d.ts @@ -2055,7 +2055,7 @@ declare enum MaxLinesMode { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ declare enum TextChangeReason { @@ -2063,16 +2063,16 @@ declare enum TextChangeReason { * Default value. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ UNKNOWN = 0, /** - * Reason for input. + * Reason for input from input method. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ INPUT = 1, @@ -2081,7 +2081,7 @@ declare enum TextChangeReason { * Reason for paste. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ PASTE = 2, @@ -2090,7 +2090,7 @@ declare enum TextChangeReason { * Reason for cut. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ CUT = 3, @@ -2099,7 +2099,7 @@ declare enum TextChangeReason { * Reason for drag. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ DRAG = 4, @@ -2108,7 +2108,7 @@ declare enum TextChangeReason { * Reason for auto fill. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ AUTO_FILL = 5, @@ -2117,7 +2117,7 @@ declare enum TextChangeReason { * Reason for ai write. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ AI_WRITE = 6, @@ -2126,7 +2126,7 @@ declare enum TextChangeReason { * Reason for redo. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ REDO = 7, @@ -2135,7 +2135,7 @@ declare enum TextChangeReason { * Reason for undo. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ UNDO = 8, @@ -2144,7 +2144,7 @@ declare enum TextChangeReason { * Reason for controller methods. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ CONTROLLER = 9, @@ -2153,7 +2153,7 @@ declare enum TextChangeReason { * Reason for accessibilty methods. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ ACCESSIBILITY = 10, @@ -2162,7 +2162,7 @@ declare enum TextChangeReason { * Reason for collarboration input. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ COLLABORATION = 11, @@ -2171,7 +2171,7 @@ declare enum TextChangeReason { * Reason for stylus input. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice + * @systemapi * @since 20 */ STYLUS = 12 -- Gitee From c70f0376d694aff064ab7a15bfbb87c1701bcbc4 Mon Sep 17 00:00:00 2001 From: liyujie Date: Mon, 18 Aug 2025 17:18:07 +0800 Subject: [PATCH 29/36] adjust the codes of design repo to align with the code repo. Signed-off-by: liyujie Change-Id: Ic1005aefed289d55e6a121cb5e37f6f5c1dc6d04 --- api/@ohos.arkui.drawableDescriptor.d.ts | 171 ------------------------ 1 file changed, 171 deletions(-) diff --git a/api/@ohos.arkui.drawableDescriptor.d.ts b/api/@ohos.arkui.drawableDescriptor.d.ts index fdfeda525a..6e361e9a73 100644 --- a/api/@ohos.arkui.drawableDescriptor.d.ts +++ b/api/@ohos.arkui.drawableDescriptor.d.ts @@ -20,63 +20,6 @@ import image from './@ohos.multimedia.image'; -/** - * Indicates the return result of the data to be fetched. - * - * @typedef DrawableDescriptorResult - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ -declare interface DrawableDescriptorResult { - /** - * DrawableDescriptor width.The default value is -1. - * - * @type { ?number } - * @readonly - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - readonly width?: number; - - /** - * DrawableDescriptor height.The default value is -1. - * - * @type { ?number } - * @readonly - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - readonly height?: number; -} - -/** - * DrawableDescriptor's option which is used in constructor. - * - * @typedef DrawableDescriptorOptions - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ -declare interface DrawableDescriptorOptions { - /** - * If true, it will fetch the data using the uri when object is constructing.The default value is false. - * - * @type { ?boolean } - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - fetchWhenConstructingWithUri?: boolean; -} - /** * Use the DrawableDescriptor class to get drawable image. * @@ -136,53 +79,6 @@ export declare class DrawableDescriptor { * @arkts 1.1&1.2 */ getPixelMap(): image.PixelMap; - /** - * Get original width of drawable object. - * - * @returns { number } Return the width of the DrawableDescriptor object. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - getOriginalWidth(): number; - - /** - * Get original height of drawable object. - * - * @returns { number } Return the height of the DrawableDescriptor object. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - getOriginalHeight(): number; - - /** - * Fetch the drawable's data whose corresponding uri is passed in constructor.This fetched data can be draw in Image view. - * - * @returns { Promise } Return the promise returned by the funciton. - * @throws { BusinessError } 100001 - Data loading failed. Maybe the uri is invalid. - * @throws { BusinessError } 100002 - Data decoding failed. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - fetch(): Promise; - - /** - * Fetch the drawable's data whose corresponding uri is passed in constructor.This fetched data can be draw in Image view. - * - * @returns { DrawableDescriptorResult } Return the result of the DrawableDescriptor object. - * @throws { BusinessError } 100001 - Data loading failed. Maybe the uri is invalid. - * @throws { BusinessError } 100002 - Data decoding failed. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - fetchSync(): DrawableDescriptorResult; } /** @@ -365,17 +261,6 @@ export declare class PixelMapDrawableDescriptor extends DrawableDescriptor { * @arkts 1.1&1.2 */ constructor(src?: image.PixelMap); - - /** - * Creates a new PixelMapDrawableDescriptor. - * @param { image.PixelMap | ResourceStr } src - Indicates the resource to create PixelMapDrawableDescriptor. - * @param { DrawableDescriptorOptions } options - Indicates the option to create PixelMapDrawableDescriptor. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - constructor(src?: image.PixelMap | ResourceStr, options?: DrawableDescriptorOptions); } /** @@ -411,17 +296,6 @@ export declare interface AnimationOptions { * @arkts 1.1&1.2 */ iterations?: number; - - /** - * If true, it will fetch the data using the uri when object is constructing.The default value is false. - * - * @type { ?boolean } - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - fetchWhenConstructingWithUri?: boolean; } /** @@ -447,49 +321,4 @@ export declare class AnimatedDrawableDescriptor extends DrawableDescriptor { * @arkts 1.1&1.2 */ constructor(pixelMaps: Array, options?: AnimationOptions); - - /** - * Creates a new AnimatedDrawableDescriptor. - * @param { Array | ResourceStr } pixelMaps - Indicates the resource to create AnimatedDrawableDescriptor. - * @param { ?AnimationOptions } [options] - Animation control options. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - constructor(pixelMaps: Array | ResourceStr, options?: AnimationOptions); - - /** - * Get the running status of animation. - * - * @returns { boolean } Return the running status of animation. - * @throws { BusinessError } 100001 - Image data is not ready.Maybe you should fetch the data first. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - isRunning(): boolean; - - /** - * Start the animation. - * - * @throws { BusinessError } 100001 - Image data is not ready.Maybe you should fetch the data first. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - start(): void; - - /** - * Stop the animation. - * - * @throws { BusinessError } 100001 - Image data is not ready.Maybe you should fetch the data first. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ - stop(): void; } -- Gitee From 9572b7f9ca92dbeb26936b2f919da752fcb1f88c Mon Sep 17 00:00:00 2001 From: adelelimi Date: Thu, 14 Aug 2025 10:47:48 +0800 Subject: [PATCH 30/36] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AD=E9=97=B4?= =?UTF-8?q?=E7=8A=B6=E6=80=817=E3=80=81=E5=88=A0=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E8=BF=94=E5=9B=9E=E7=9A=84=E9=94=99=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: adelelimi --- api/@ohos.userIAM.userAuth.d.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/api/@ohos.userIAM.userAuth.d.ts b/api/@ohos.userIAM.userAuth.d.ts index 8e436ec93c..53d88fc11e 100644 --- a/api/@ohos.userIAM.userAuth.d.ts +++ b/api/@ohos.userIAM.userAuth.d.ts @@ -1674,7 +1674,16 @@ declare namespace userAuth { * @atomicservice * @since 20 */ - WIDGET_RELEASED = 6 + WIDGET_RELEASED = 6, + + /** + * Authentication tip for authentication failed which causes authentication frozen. + * + * @syscap SystemCapability.UserIAM.UserAuth.Core + * @atomicservice + * @since 20 + */ + COMPARE_FAILURE_WITH_FROZEN = 7 } /** @@ -1857,16 +1866,13 @@ declare namespace userAuth { *
2. No permission to start authentication from background. * @throws { BusinessError } 401 - Parameter error. Possible causes: *
1. Incorrect parameter types. - * @throws { BusinessError } 12500001 - Authentication failed. * @throws { BusinessError } 12500002 - General operation error. * @throws { BusinessError } 12500003 - Authentication canceled. - * @throws { BusinessError } 12500004 - Authentication timeout. * @throws { BusinessError } 12500005 - The authentication type is not supported. * @throws { BusinessError } 12500006 - The authentication trust level is not supported. - * @throws { BusinessError } 12500007 - Authentication service is busy. * @throws { BusinessError } 12500009 - Authentication is locked out. * @throws { BusinessError } 12500010 - The type of credential has not been enrolled. - * @throws { BusinessError } 12500011 - Switched to the custom authentication process. + * @throws { BusinessError } 12500011 - Switched to the customized authentication process. * @throws { BusinessError } 12500013 - Operation failed because of PIN expired. * @syscap SystemCapability.UserIAM.UserAuth.Core * @atomicservice -- Gitee From ae33e0d215b3b59fcc2055cd3f8bd105aeab3a04 Mon Sep 17 00:00:00 2001 From: linzlinz <2495670683@qq.com> Date: Mon, 18 Aug 2025 22:27:35 +0800 Subject: [PATCH 31/36] add sdk Signed-off-by: linzlinz <2495670683@qq.com> --- api/@ohos.bluetooth.socket.d.ts | 37 ++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/api/@ohos.bluetooth.socket.d.ts b/api/@ohos.bluetooth.socket.d.ts index c44b7866c5..d7a27bc0a0 100644 --- a/api/@ohos.bluetooth.socket.d.ts +++ b/api/@ohos.bluetooth.socket.d.ts @@ -48,6 +48,16 @@ declare namespace socket { */ function sppListen(name: string, options: SppOptions, callback: AsyncCallback): void; + /** + * Get l2cap socket psm. + * + * @param { number } serverSocket - Indicates the server socket ID, returned by {@link sppListen}. + * @returns { number } Returns the l2cap socket psm + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 20 + * @arkts 1.1&1.2 + */ + function getL2capPsm(serverSocket: number): number; /** * Waits for a remote device to connect. * @@ -231,6 +241,15 @@ declare namespace socket { * @since 10 */ type: SppType; + /** + * l2cap protocol service multiplexer + * + * @type { ?number } + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 20 + * @arkts 1.1&1.2 + */ + psm?: number; } /** @@ -247,7 +266,23 @@ declare namespace socket { * @syscap SystemCapability.Communication.Bluetooth.Core * @since 10 */ - SPP_RFCOMM + SPP_RFCOMM = 0, + /** + * L2CAP of the BR type + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 20 + * @arkts 1.1&1.2 + */ + SPP_L2CAP = 1, + /** + * L2CAP of the BLE type + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 20 + * @arkts 1.1&1.2 + */ + SPP_L2CAP_BLE = 2 } } -- Gitee From 842eb46d46e4a55883c27ecb53f32631b4c0689b Mon Sep 17 00:00:00 2001 From: wangzhiyusss Date: Mon, 18 Aug 2025 19:38:12 +0800 Subject: [PATCH 32/36] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangzhiyusss --- build-tools/intToNumber.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build-tools/intToNumber.js b/build-tools/intToNumber.js index 92a43c7f00..00efb38d76 100644 --- a/build-tools/intToNumber.js +++ b/build-tools/intToNumber.js @@ -307,7 +307,6 @@ function applJSDocTransformations(typeExpr, newTypeExpr, tagDataList, isChange) if (finalContent.includes('number') && typeExpr.kind === ts.SyntaxKind.JSDocNullableType && !finalContent.includes('?number') && isChange) { if (typeExpr.type.type && typeExpr.type.type.kind === ts.SyntaxKind.UnionType) { const data = { - isDelete: false, pos: typeExpr.pos, end: typeExpr.end, convertedText: '?' + `(${finalContent})` @@ -315,7 +314,6 @@ function applJSDocTransformations(typeExpr, newTypeExpr, tagDataList, isChange) tagDataList.push(data); } else { const data = { - isDelete: false, pos: typeExpr.pos, end: typeExpr.end, convertedText: '?' + finalContent @@ -324,7 +322,6 @@ function applJSDocTransformations(typeExpr, newTypeExpr, tagDataList, isChange) } } else if (finalContent.includes('number')) { const data = { - isDelete: true, pos: typeExpr.pos, end: typeExpr.end, convertedText: finalContent @@ -344,10 +341,10 @@ function changeContent(tagDataList) { for (const data of tagDataList) { const before = jsDocContent.substring(0, data.pos); const after = jsDocContent.substring(data.end); - if (data.isDelete) { - jsDocContent = before + `${data.convertedText}` + after; - } else { + if (jsDocContent.substring(data.pos, data.pos + 1) === ' ') { jsDocContent = before + ` ${data.convertedText}` + after; + } else { + jsDocContent = before + `${data.convertedText}` + after; } } } -- Gitee From 571370b5b3bab81b2645619e6c1a021980479c61 Mon Sep 17 00:00:00 2001 From: wujinhui Date: Tue, 19 Aug 2025 16:22:31 +0800 Subject: [PATCH 33/36] =?UTF-8?q?=E5=9B=9E=E9=80=80api=2021=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wujinhui --- api/arkui/FrameNode.d.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/api/arkui/FrameNode.d.ts b/api/arkui/FrameNode.d.ts index 2f613b50be..a5b54323d3 100644 --- a/api/arkui/FrameNode.d.ts +++ b/api/arkui/FrameNode.d.ts @@ -1269,21 +1269,6 @@ export declare class FrameNode { * @since 20 */ getNodePropertyValue(property: AnimationPropertyType): number[]; - - /** - * Triggers node updates in the current frame. - * - * When node attributes are modified after the current frame's build phase (i.e., after - * the unified processing of dirty nodes), the node updates will be deferred to the next - * frame. This function forces immediate node updates within the current frame to - * ensure rendering effects are applied synchronously. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 21 - */ - invalidateAttributes(): void; } /** -- Gitee From 96d5f9a20b7fe84789b9cf2c2fcf4422a32aff9c Mon Sep 17 00:00:00 2001 From: yangcan Date: Thu, 12 Jun 2025 14:21:46 +0800 Subject: [PATCH 34/36] =?UTF-8?q?=E5=88=A0=E9=99=A4linearindicator.d.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangcan Change-Id: I17a1a4137efbef5de2184227af1b61645e964f08 --- api/@internal/component/ets/index-full.d.ts | 1 - .../component/ets/linearindicator.d.ts | 325 ------------------ api/@ohos.arkui.component.d.ets | 1 - 3 files changed, 327 deletions(-) delete mode 100644 api/@internal/component/ets/linearindicator.d.ts diff --git a/api/@internal/component/ets/index-full.d.ts b/api/@internal/component/ets/index-full.d.ts index 2423154475..76ab07278c 100644 --- a/api/@internal/component/ets/index-full.d.ts +++ b/api/@internal/component/ets/index-full.d.ts @@ -150,4 +150,3 @@ /// /// /// -/// \ No newline at end of file diff --git a/api/@internal/component/ets/linearindicator.d.ts b/api/@internal/component/ets/linearindicator.d.ts deleted file mode 100644 index 3b548b466a..0000000000 --- a/api/@internal/component/ets/linearindicator.d.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* - * Copyright (c) 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 - */ - -/*** if arkts 1.2 */ -import { CommonMethod, Optional } from './common'; -import { ColorMetrics, LengthMetrics } from './units'; -/*** endif */ - -/** - * Defines the LinearIndicator Controller. - * - * @interface LinearIndicatorController - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ -declare class LinearIndicatorController { - /** - * constructor. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - constructor(); - - /** - * Sets the progress of indicator. - * - * @param { number } index - the index of current indicator, value range: [0, count - 1]. - * If index value is out of range, do nothing. - * @param { number } progress - current indicator progress value, value range: [0, 100]. - * If the progress value is out of range, do nothing. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - setProgress(index: number, progress: number): void; - - /** - * Start indicator auto play. - * - * @param { LinearIndicatorStartOptions } [options] - the options of indicator auto play. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - start(options?: LinearIndicatorStartOptions): void; - - /** - * Pause indicator auto play. - * Start auto play will be resumed from this paused position. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - pause(): void; - - /** - * Stop indicator auto play. - * Start auto play will restart from the very beginning. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - stop(): void; -} - -/** - * Provides options of indicator auto play. - * - * @interface LinearIndicatorAutoPlayOptions - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ -declare interface LinearIndicatorStartOptions { - /** - * The interval between twice auto play. The unit is ms. - * - * @type { ?number } - * @default The default value is 0. if value is less than 0, the value will be 0. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - interval?: number; - - /** - * The animation curve duration. The unit is ms. - * - * @type { ?number } - * @default 4000 - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - duration?: number; -} - -/** - * Provides linear indicator style. - * - * @interface LinearIndicatorStyle - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ -declare interface LinearIndicatorStyle { - /** - * The space of two linear indicator. - * - * @type { ?LengthMetrics } - * @default The default value is 4.0vp. if value is less than 0, the value will be 4.0vp. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - space?: LengthMetrics; - - /** - * Stroke width of the progress indicator. - * - * @type { ?LengthMetrics } - * @default The default value is 2.0vp. if value is less than 0, the value will be 2.0vp. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - strokeWidth?: LengthMetrics; - - /** - * The stroke radius of linear indicator. - * - * @type { ?LengthMetrics } - * @default The default value is 1.0vp. if value is more than strokeWidth/2, the value will be strokeWidth/2. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - strokeRadius?: LengthMetrics; - - /** - * The track background color of linear indicator. - * - * @type { ?ColorMetrics } - * @default comp_background_tertiary - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - trackBackgroundColor?: ColorMetrics; - - /** - * The track color of linear indicator. - * - * @type { ?ColorMetrics } - * @default comp_background_emphasize - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - trackColor?: ColorMetrics; -} - -/** - * Provides an interface for indicator. - * - * @interface LinearIndicatorInterface - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ -interface LinearIndicatorInterface { - /** - * Constructor parameters - * - * @param { number } count - the number of progress in LinearIndicator. minimum value is 2(default is 5). - * if count is less than 2, the value will be 2. - * @param { LinearIndicatorController } controller - Controller of LinearIndicator. - * @returns { LinearIndicatorAttribute } return the instance of the LinearIndicatorAttribute - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - (count?: number, controller?: LinearIndicatorController): LinearIndicatorAttribute; -} - -/** - * Defines the Indicator attribute functions. - * - * @extends CommonMethod - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ -declare class LinearIndicatorAttribute extends CommonMethod { - /** - * Sets the indicator style. - * - * @param { Optional } style - the style of LinearIndicator - * @returns { LinearIndicatorAttribute } return the instance of the LinearIndicatorAttribute - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - indicatorStyle(style: Optional): LinearIndicatorAttribute; - - /** - * Sets whether indicator supports loop, default is true. - * - * @param { Optional } loop - indicate whether loop playback is supported - * @returns { LinearIndicatorAttribute } return the instance of the LinearIndicatorAttribute - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - indicatorLoop(loop: Optional): LinearIndicatorAttribute; - - /** - * Called when progress value update. - * - * @param { Optional } callback - callback of the progress change event. - * @returns { LinearIndicatorAttribute } return the instance of the LinearIndicatorAttribute - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ - onChange(callback: Optional): LinearIndicatorAttribute; -} - -/** - * Defines the callback type used in the indicator progress change event. - * - * @typedef { function } OnLinearIndicatorChangeCallback - * @param { number } index - index of current indicator. - * @param { number } progress - current indicator progress value. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 - */ -declare type OnLinearIndicatorChangeCallback = (index: number, progress: number) => void; - -/** - * Defines Indicator Component. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ -declare const LinearIndicator: LinearIndicatorInterface; - -/** - * Defines Indicator Component instance. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 18 - */ -declare const LinearIndicatorInstance: LinearIndicatorAttribute diff --git a/api/@ohos.arkui.component.d.ets b/api/@ohos.arkui.component.d.ets index 632968f2f5..a10e0f398b 100644 --- a/api/@ohos.arkui.component.d.ets +++ b/api/@ohos.arkui.component.d.ets @@ -79,7 +79,6 @@ export * from './arkui/component/indicatorcomponent'; export * from './arkui/component/inspector'; export * from './arkui/component/lazyForEach'; export * from './arkui/component/line'; -export * from './arkui/component/linearindicator'; export * from './arkui/component/list'; export * from './arkui/component/listItem'; export * from './arkui/component/listItemGroup'; -- Gitee From be5dd888e62e0ea268d4be5296e7e4aaf04908c4 Mon Sep 17 00:00:00 2001 From: linzlinz <2495670683@qq.com> Date: Wed, 20 Aug 2025 09:47:15 +0800 Subject: [PATCH 35/36] delete arkt Signed-off-by: linzlinz <2495670683@qq.com> --- api/@ohos.bluetooth.socket.d.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/@ohos.bluetooth.socket.d.ts b/api/@ohos.bluetooth.socket.d.ts index d7a27bc0a0..6c8a7e1a40 100644 --- a/api/@ohos.bluetooth.socket.d.ts +++ b/api/@ohos.bluetooth.socket.d.ts @@ -55,7 +55,6 @@ declare namespace socket { * @returns { number } Returns the l2cap socket psm * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ function getL2capPsm(serverSocket: number): number; /** @@ -247,7 +246,6 @@ declare namespace socket { * @type { ?number } * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ psm?: number; } @@ -272,7 +270,6 @@ declare namespace socket { * * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ SPP_L2CAP = 1, /** @@ -280,7 +277,6 @@ declare namespace socket { * * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ SPP_L2CAP_BLE = 2 } -- Gitee From ef2cc2c45f31af57cb7b61f60584f350e53a2e14 Mon Sep 17 00:00:00 2001 From: fengyulong Date: Fri, 29 Aug 2025 22:41:16 +0800 Subject: [PATCH 36/36] fix comment Signed-off-by: fengyulong --- api/@ohos.multimedia.audio.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@ohos.multimedia.audio.d.ts b/api/@ohos.multimedia.audio.d.ts index bd12578b0d..26053b843e 100644 --- a/api/@ohos.multimedia.audio.d.ts +++ b/api/@ohos.multimedia.audio.d.ts @@ -4838,7 +4838,7 @@ declare namespace audio { * @param { AudioSessionScene } scene - Audio session scene. * @throws { BusinessError } 6800101 - Parameter verification failed. * @throws { BusinessError } 6800103 - Operation not permit at current state. - * @throws { BusinessError } 6800301 - Audio client call audio audio service error, System error. + * @throws { BusinessError } 6800301 - Audio client call audio service error, System error. * @syscap SystemCapability.Multimedia.Audio.Core * @since 20 */ @@ -4852,7 +4852,7 @@ declare namespace audio { * @param { Callback } callback - Callback invoked for the audio session state change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @throws { BusinessError } 6800102 - Allocate memory failed. - * @throws { BusinessError } 6800301 - Audio client call audio audio service error, System error. + * @throws { BusinessError } 6800301 - Audio client call audio service error, System error. * @syscap SystemCapability.Multimedia.Audio.Core * @since 20 */ @@ -4864,7 +4864,7 @@ declare namespace audio { * Only the audioSessionStateChanged event is supported. * @param { Callback } [callback] - Callback invoked for the audio session state change event. * @throws { BusinessError } 6800101 - Parameter verification failed. - * @throws { BusinessError } 6800301 - Audio client call audio audio service error, System error. + * @throws { BusinessError } 6800301 - Audio client call audio service error, System error. * @syscap SystemCapability.Multimedia.Audio.Core * @since 20 */ @@ -4895,7 +4895,7 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 6800101 - Parameter verification failed. Return by promise. * @throws { BusinessError } 6800102 - Allocate memory failed. Return by promise. - * @throws { BusinessError } 6800301 - Audio client call audio audio service error, System error. + * @throws { BusinessError } 6800301 - Audio client call audio service error, System error. * @syscap SystemCapability.Multimedia.Audio.Device * @since 20 */ @@ -4908,7 +4908,7 @@ declare namespace audio { * @param { Callback } callback - Callback used to listen device change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @throws { BusinessError } 6800102 - Allocate memory failed. - * @throws { BusinessError } 6800301 - Audio client call audio audio service error, System error. + * @throws { BusinessError } 6800301 - Audio client call audio service error, System error. * @syscap SystemCapability.Multimedia.Audio.Device * @since 20 */ @@ -4919,7 +4919,7 @@ declare namespace audio { * @param { 'currentOutputDeviceChanged' } type - Type of the event to listen for. * @param { Callback } [callback] - Callback used to listen device change event. * @throws { BusinessError } 6800101 - Parameter verification failed. - * @throws { BusinessError } 6800301 - Audio client call audio audio service error, System error. + * @throws { BusinessError } 6800301 - Audio client call audio service error, System error. * @syscap SystemCapability.Multimedia.Audio.Device * @since 20 */ -- Gitee