diff --git a/api/@internal/component/ets/badge.d.ts b/api/@internal/component/ets/badge.d.ts
index 38c5838bcd099010af53d88482afb5eb40f47bb1..81847f88d68e8072fc04554189f86043689fd299 100644
--- a/api/@internal/component/ets/badge.d.ts
+++ b/api/@internal/component/ets/badge.d.ts
@@ -18,12 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { ResourceColor, Length, Position, Resource, ResourceStr } from './units';
-import { FontWeight } from './enums';
-import { CommonMethod } from './common';
-/*** endif */
-
/**
* Defines the badge position property.
*
@@ -56,8 +50,7 @@ import { CommonMethod } from './common';
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum BadgePosition {
/**
@@ -88,8 +81,7 @@ declare enum BadgePosition {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
RightTop,
@@ -121,8 +113,7 @@ declare enum BadgePosition {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Right,
@@ -154,8 +145,7 @@ declare enum BadgePosition {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Left,
}
@@ -192,8 +182,7 @@ declare enum BadgePosition {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface BadgeStyle {
/**
@@ -229,8 +218,7 @@ declare interface BadgeStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
color?: ResourceColor;
@@ -285,7 +273,6 @@ declare interface BadgeStyle {
* @form
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
fontSize?: number | ResourceStr;
@@ -341,7 +328,6 @@ declare interface BadgeStyle {
* @form
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
badgeSize?: number | ResourceStr;
@@ -378,8 +364,7 @@ declare interface BadgeStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
badgeColor?: ResourceColor;
@@ -399,8 +384,7 @@ declare interface BadgeStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
borderColor?: ResourceColor;
@@ -422,8 +406,7 @@ declare interface BadgeStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
borderWidth?: Length;
@@ -459,7 +442,6 @@ declare interface BadgeStyle {
* @crossplatform
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
fontWeight?: number | FontWeight | ResourceStr;
}
@@ -496,8 +478,7 @@ declare interface BadgeStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface BadgeParam {
/**
@@ -540,8 +521,7 @@ declare interface BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
position?: BadgePosition | Position;
@@ -577,8 +557,7 @@ declare interface BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
style: BadgeStyle;
}
@@ -619,8 +598,7 @@ declare interface BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface BadgeParamWithNumber extends BadgeParam {
/**
@@ -663,8 +641,7 @@ declare interface BadgeParamWithNumber extends BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
count: number;
@@ -708,8 +685,7 @@ declare interface BadgeParamWithNumber extends BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
maxCount?: number;
}
@@ -750,8 +726,7 @@ declare interface BadgeParamWithNumber extends BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface BadgeParamWithString extends BadgeParam {
/**
@@ -797,7 +772,6 @@ declare interface BadgeParamWithString extends BadgeParam {
* @form
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
value: ResourceStr;
}
@@ -834,8 +808,7 @@ declare interface BadgeParamWithString extends BadgeParam {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface BadgeInterface {
/**
@@ -886,8 +859,7 @@ interface BadgeInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(value: BadgeParamWithNumber): BadgeAttribute;
@@ -939,8 +911,7 @@ interface BadgeInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(value: BadgeParamWithString): BadgeAttribute;
}
@@ -977,8 +948,7 @@ interface BadgeInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class BadgeAttribute extends CommonMethod {}
diff --git a/api/@internal/component/ets/calendar_picker.d.ts b/api/@internal/component/ets/calendar_picker.d.ts
index a86fbe7dc893ecf0dd88cd402caf88ad2d179a7c..2ae7c8c787cde6ac58eb41bc6fa7850ffb1c0d2e 100644
--- a/api/@internal/component/ets/calendar_picker.d.ts
+++ b/api/@internal/component/ets/calendar_picker.d.ts
@@ -18,13 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { Resource } from '../../global/resource'
-import { CommonMethod, PickerTextStyle, Callback, BlurStyle, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, DateRange,
- BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional } from './common'
-import { Offset, VoidCallback, ResourceColor } from './units'
-/*** endif */
-
/**
* The type of alignment between entry and calendar.
* @enum {number}
@@ -38,8 +31,7 @@ import { Offset, VoidCallback, ResourceColor } from './units'
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum CalendarAlign {
/**
@@ -53,8 +45,7 @@ declare enum CalendarAlign {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
START = 0,
/**
@@ -68,8 +59,7 @@ declare enum CalendarAlign {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
CENTER = 1,
/**
@@ -83,8 +73,7 @@ declare enum CalendarAlign {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
END = 2
}
@@ -102,8 +91,7 @@ declare enum CalendarAlign {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface CalendarOptions {
/**
@@ -119,8 +107,7 @@ declare interface CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
hintRadius?: number | Resource;
@@ -137,8 +124,7 @@ declare interface CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selected?: Date;
@@ -149,8 +135,7 @@ declare interface CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
start?: Date;
@@ -161,8 +146,7 @@ declare interface CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
end?: Date;
@@ -173,8 +157,7 @@ declare interface CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
disabledDateRange?: DateRange[];
}
@@ -192,8 +175,7 @@ declare interface CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface CalendarPickerInterface {
/**
@@ -211,8 +193,7 @@ interface CalendarPickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(options?: CalendarOptions): CalendarPickerAttribute;
}
@@ -230,8 +211,7 @@ interface CalendarPickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class CalendarPickerAttribute extends CommonMethod {
/**
@@ -251,8 +231,7 @@ declare class CalendarPickerAttribute extends CommonMethod, offset?: Offset): CalendarPickerAttribute;
@@ -284,8 +262,7 @@ declare class CalendarPickerAttribute extends CommonMethod): CalendarPickerAttribute;
@@ -326,8 +302,7 @@ declare class CalendarPickerAttribute extends CommonMethod): CalendarPickerAttribute;
@@ -338,8 +313,7 @@ declare class CalendarPickerAttribute extends CommonMethod>): CalendarPickerAttribute;
@@ -351,8 +325,7 @@ declare class CalendarPickerAttribute extends CommonMethod;
@@ -425,8 +396,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onCancel?: VoidCallback;
@@ -452,8 +422,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onChange?: Callback;
@@ -474,8 +443,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundColor?: ResourceColor;
@@ -496,8 +464,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundBlurStyle?: BlurStyle;
@@ -508,8 +475,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
@@ -520,8 +486,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundEffect?: BackgroundEffectOptions;
@@ -532,8 +497,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
acceptButtonStyle?: PickerDialogButtonStyle;
@@ -544,8 +508,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
cancelButtonStyle?: PickerDialogButtonStyle;
@@ -566,8 +529,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDidAppear?: VoidCallback;
@@ -588,8 +550,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDidDisappear?: VoidCallback;
@@ -610,8 +571,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onWillAppear?: VoidCallback;
@@ -632,8 +592,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onWillDisappear?: VoidCallback;
@@ -644,8 +603,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
shadow?: ShadowOptions | ShadowStyle;
@@ -657,8 +615,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
enableHoverMode?: boolean;
@@ -670,8 +627,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
hoverModeArea?: HoverModeAreaType;
@@ -683,8 +639,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
markToday?: boolean;
}
@@ -700,8 +655,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class CalendarPickerDialog {
/**
@@ -717,8 +671,7 @@ declare class CalendarPickerDialog {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
static show(options?: CalendarDialogOptions): void;
}
diff --git a/api/@internal/component/ets/counter.d.ts b/api/@internal/component/ets/counter.d.ts
index c71cb953d8895791c1addc4b88d4980afbae03a4..9fb6cf9cc9fa2759b59f405ff41a7123d2f7594c 100644
--- a/api/@internal/component/ets/counter.d.ts
+++ b/api/@internal/component/ets/counter.d.ts
@@ -18,11 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { CommonMethod } from './common'
-import { VoidCallback } from './units'
-/*** endif */
-
/**
* Counter component, which provides corresponding increment or decrement counting operations.
*
@@ -55,8 +50,7 @@ import { VoidCallback } from './units'
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface CounterInterface {
/**
@@ -91,8 +85,7 @@ interface CounterInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(): CounterAttribute;
}
@@ -129,8 +122,7 @@ interface CounterInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class CounterAttribute extends CommonMethod {
/**
@@ -181,8 +173,7 @@ declare class CounterAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onInc(event: VoidCallback): CounterAttribute;
@@ -234,8 +225,7 @@ declare class CounterAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDec(event: VoidCallback): CounterAttribute;
@@ -256,8 +246,7 @@ declare class CounterAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
enableDec(value: boolean): CounterAttribute;
@@ -278,8 +267,7 @@ declare class CounterAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
enableInc(value: boolean): CounterAttribute;
}
diff --git a/api/@internal/component/ets/data_panel.d.ts b/api/@internal/component/ets/data_panel.d.ts
index a68c0a2617af7956befb55d0df0f1db64a0fb264..02fa057c4e305c64e3a0987eadca2622188b0030 100644
--- a/api/@internal/component/ets/data_panel.d.ts
+++ b/api/@internal/component/ets/data_panel.d.ts
@@ -18,11 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { ResourceColor, Length } from './units'
-import { CommonMethod, ContentModifier, CommonConfiguration, MultiShadowOptions } from './common'
-/*** endif */
-
/**
* DataPanelType enum
*
@@ -55,8 +50,7 @@ import { CommonMethod, ContentModifier, CommonConfiguration, MultiShadowOptions
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum DataPanelType {
/**
@@ -87,8 +81,7 @@ declare enum DataPanelType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Line,
@@ -120,8 +113,7 @@ declare enum DataPanelType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Circle,
}
@@ -138,8 +130,7 @@ declare enum DataPanelType {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface ColorStop {
/**
@@ -155,8 +146,7 @@ declare interface ColorStop {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
color: ResourceColor;
@@ -173,8 +163,7 @@ declare interface ColorStop {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
offset: Length;
}
@@ -192,8 +181,7 @@ declare interface ColorStop {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class LinearGradient {
/**
@@ -211,8 +199,7 @@ declare class LinearGradient {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
constructor(colorStops: ColorStop[]);
}
@@ -234,8 +221,7 @@ declare class LinearGradient {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface DataPanelShadowOptions extends MultiShadowOptions {
/**
@@ -255,8 +241,7 @@ declare interface DataPanelShadowOptions extends MultiShadowOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
colors?: Array;
}
@@ -293,8 +278,7 @@ declare interface DataPanelShadowOptions extends MultiShadowOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface DataPanelOptions {
/**
@@ -329,8 +313,7 @@ declare interface DataPanelOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
values: number[];
@@ -366,8 +349,7 @@ declare interface DataPanelOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
max?: number;
@@ -403,8 +385,7 @@ declare interface DataPanelOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
type?: DataPanelType;
}
@@ -441,8 +422,7 @@ declare interface DataPanelOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface DataPanelInterface {
/**
@@ -481,8 +461,7 @@ interface DataPanelInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(options: DataPanelOptions): DataPanelAttribute;
}
@@ -495,8 +474,7 @@ interface DataPanelInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface DataPanelConfiguration extends CommonConfiguration {
/**
@@ -506,8 +484,7 @@ declare interface DataPanelConfiguration extends CommonConfiguration {
/**
@@ -596,8 +571,7 @@ declare class DataPanelAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
closeEffect(value: boolean): DataPanelAttribute;
@@ -618,8 +592,7 @@ declare class DataPanelAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
valueColors(value: Array): DataPanelAttribute;
@@ -640,8 +613,7 @@ declare class DataPanelAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
trackBackgroundColor(value: ResourceColor): DataPanelAttribute;
@@ -662,8 +634,7 @@ declare class DataPanelAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeWidth(value: Length): DataPanelAttribute;
@@ -684,8 +655,7 @@ declare class DataPanelAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
trackShadow(value: DataPanelShadowOptions): DataPanelAttribute;
@@ -697,8 +667,7 @@ declare class DataPanelAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
contentModifier(modifier: ContentModifier): DataPanelAttribute;
}
diff --git a/api/@internal/component/ets/date_picker.d.ts b/api/@internal/component/ets/date_picker.d.ts
index 606505938242c1f8347f043ba066a6e7aeba9916..76a8d6884846b2d13fe7f7e7b8f8c6e5d37e7034 100644
--- a/api/@internal/component/ets/date_picker.d.ts
+++ b/api/@internal/component/ets/date_picker.d.ts
@@ -18,13 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, Callback, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional, DateTimeOptions, Bindable } from './common'
-import { ResourceColor, Offset, VoidCallback } from './units'
-import { DialogAlignment } from './alertDialog'
-import { CrownSensitivity } from './enums'
-/*** endif */
-
/**
* Defines the struct of DatePickerResult.
*
@@ -47,8 +40,7 @@ import { CrownSensitivity } from './enums'
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface DatePickerResult {
/**
@@ -78,8 +70,7 @@ declare interface DatePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
year?: number;
@@ -110,8 +101,7 @@ declare interface DatePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
month?: number;
@@ -141,8 +131,7 @@ declare interface DatePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
day?: number;
}
@@ -154,8 +143,7 @@ declare interface DatePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
declare enum DatePickerMode {
/**
@@ -164,8 +152,7 @@ declare enum DatePickerMode {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
DATE = 0,
@@ -175,8 +162,7 @@ declare enum DatePickerMode {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
YEAR_AND_MONTH = 1,
@@ -189,8 +175,7 @@ declare enum DatePickerMode {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
MONTH_AND_DAY = 2,
}
@@ -217,8 +202,7 @@ declare enum DatePickerMode {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface DatePickerOptions {
/**
@@ -244,8 +228,7 @@ declare interface DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
start?: Date;
@@ -272,8 +255,7 @@ declare interface DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
end?: Date;
@@ -303,18 +285,6 @@ declare interface DatePickerOptions {
* @since 11
*/
selected?: Date;
-
- /**
- * Specifies the date selector check date or time selector check time.
- *
- * @type { ?(Date | Bindable) }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- selected?: Date | Bindable;
/**
* Date columns to be displayed.
@@ -330,8 +300,7 @@ declare interface DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
mode?: DatePickerMode;
}
@@ -358,8 +327,7 @@ declare interface DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface DatePickerInterface {
/**
@@ -387,8 +355,7 @@ interface DatePickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(options?: DatePickerOptions): DatePickerAttribute;
}
@@ -415,8 +382,7 @@ interface DatePickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class DatePickerAttribute extends CommonMethod {
/**
@@ -442,13 +408,11 @@ declare class DatePickerAttribute extends CommonMethod {
* @param { boolean } value - Whether to display the lunar calendar.
*
- true: Display the lunar calendar.
*
- false: Do not display the lunar.
- * @default false
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
lunar(value: boolean): DatePickerAttribute;
@@ -459,13 +423,11 @@ declare class DatePickerAttribute extends CommonMethod {
* @param { Optional } isLunar - Whether to display the lunar calendar.
*
- true: Display the lunar calendar.
*
- false: Do not display the lunar.
- * @default false
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
lunar(isLunar: Optional): DatePickerAttribute;
@@ -482,13 +444,11 @@ declare class DatePickerAttribute extends CommonMethod {
* Sets the text style for the top and bottom items.
*
* @param { PickerTextStyle } value - Font color, font size, and font weight of the top and bottom items.
- * @default {
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
}
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
disappearTextStyle(value: PickerTextStyle): DatePickerAttribute;
@@ -497,13 +457,11 @@ declare class DatePickerAttribute extends CommonMethod {
* This API supports the undefined type for the style parameter.
*
* @param { Optional } style - Font color, font size, and font weight of the top and bottom items.
- * @default {
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
}
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
disappearTextStyle(style: Optional): DatePickerAttribute;
@@ -521,13 +479,11 @@ declare class DatePickerAttribute extends CommonMethod {
*
* @param { PickerTextStyle } value - Font color, font size, and font weight of all items except the top,
*
bottom, and selected items.
- * @default {
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
}
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
textStyle(value: PickerTextStyle): DatePickerAttribute;
@@ -537,13 +493,11 @@ declare class DatePickerAttribute extends CommonMethod {
*
* @param { Optional } style - Font color, font size, and font weight of all items except the top,
*
bottom, and selected items.
- * @default {
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
}
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
textStyle(style: Optional): DatePickerAttribute;
@@ -560,13 +514,11 @@ declare class DatePickerAttribute extends CommonMethod {
* Sets the text style for the selected item.
*
* @param { PickerTextStyle } value - Font color, font size, and font weight of the selected item.
- * @default {
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
}
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedTextStyle(value: PickerTextStyle): DatePickerAttribute;
@@ -575,13 +527,11 @@ declare class DatePickerAttribute extends CommonMethod {
* this API supports the undefined type for the style parameter.
*
* @param { Optional } style - Font color, font size, and font weight of the selected item.
- * @default {
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
}
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
selectedTextStyle(style: Optional): DatePickerAttribute;
@@ -625,8 +575,7 @@ declare class DatePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDateChange(callback: Callback): DatePickerAttribute;
@@ -638,8 +587,7 @@ declare class DatePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDateChange(callback: Optional>): DatePickerAttribute;
@@ -647,13 +595,11 @@ declare class DatePickerAttribute extends CommonMethod {
* Sets the sensitivity to the digital crown rotation.
*
* @param { Optional } sensitivity - Sensitivity to the digital crown rotation.
- * @default CrownSensitivity.MEDIUM
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
digitalCrownSensitivity(sensitivity: Optional): DatePickerAttribute;
@@ -663,12 +609,10 @@ declare class DatePickerAttribute extends CommonMethod {
* @param { Optional } enable - Whether to enable haptic feedback.
*
true (default): Haptic feedback is enabled.
*
false: Haptic feedback is disabled.
- * @default true
* @returns { DatePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableHapticFeedback(enable: Optional): DatePickerAttribute;
@@ -692,8 +636,7 @@ declare class DatePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
declare interface LunarSwitchStyle {
/**
@@ -704,8 +647,7 @@ declare interface LunarSwitchStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
selectedColor?: ResourceColor;
@@ -717,8 +659,7 @@ declare interface LunarSwitchStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
unselectedColor?: ResourceColor;
@@ -730,8 +671,7 @@ declare interface LunarSwitchStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
strokeColor?: ResourceColor;
}
@@ -761,8 +701,7 @@ declare interface LunarSwitchStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface DatePickerDialogOptions extends DatePickerOptions {
/**
@@ -789,8 +728,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
lunar?: boolean;
@@ -811,8 +749,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
lunarSwitch?: boolean;
@@ -825,8 +762,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
lunarSwitchStyle?: LunarSwitchStyle;
@@ -852,8 +788,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
showTime?: boolean;
@@ -878,8 +813,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
useMilitaryTime?: boolean;
@@ -899,8 +833,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
disappearTextStyle?: PickerTextStyle;
@@ -920,8 +853,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
textStyle?: PickerTextStyle;
@@ -938,8 +870,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
acceptButtonStyle?: PickerDialogButtonStyle;
@@ -956,8 +887,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
cancelButtonStyle?: PickerDialogButtonStyle;
@@ -977,8 +907,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedTextStyle?: PickerTextStyle;
@@ -999,8 +928,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
maskRect?: Rectangle;
@@ -1020,8 +948,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
alignment?: DialogAlignment;
@@ -1041,8 +968,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
offset?: Offset;
@@ -1089,8 +1015,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onCancel?: VoidCallback;
@@ -1135,8 +1060,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDateAccept?: Callback;
@@ -1171,8 +1095,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDateChange?: Callback;
@@ -1193,8 +1116,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundColor?: ResourceColor;
@@ -1215,8 +1137,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundBlurStyle?: BlurStyle;
@@ -1227,8 +1148,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
@@ -1239,8 +1159,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundEffect?: BackgroundEffectOptions;
@@ -1271,8 +1190,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDidAppear?: VoidCallback;
@@ -1297,8 +1215,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onDidDisappear?: VoidCallback;
@@ -1325,8 +1242,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onWillAppear?: VoidCallback;
@@ -1353,8 +1269,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onWillDisappear?: VoidCallback;
@@ -1367,8 +1282,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
shadow?: ShadowOptions | ShadowStyle;
@@ -1386,8 +1300,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
dateTimeOptions?: DateTimeOptions;
@@ -1399,8 +1312,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
enableHoverMode?: boolean;
@@ -1412,8 +1324,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
hoverModeArea?: HoverModeAreaType;
@@ -1425,8 +1336,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @default true
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableHapticFeedback?: boolean;
@@ -1462,8 +1372,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class DatePickerDialog {
/**
@@ -1540,5 +1449,3 @@ declare const DatePicker: DatePickerInterface;
* @since 11
*/
declare const DatePickerInstance: DatePickerAttribute;
-
-
diff --git a/api/@internal/component/ets/gauge.d.ts b/api/@internal/component/ets/gauge.d.ts
index 0d3ebe2d139d1a8d8a32a3f135911025f412f34c..9b39da9c99f24917745844fb511e953d9b0e56c7 100644
--- a/api/@internal/component/ets/gauge.d.ts
+++ b/api/@internal/component/ets/gauge.d.ts
@@ -18,13 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { CommonMethod,CommonConfiguration,ContentModifier,MultiShadowOptions,Optional } from './common'
-import { CustomBuilder } from './builder'
-import { ResourceStr,Dimension,ResourceColor,Length } from './units'
-import { LinearGradient } from './dataPanel'
-/*** endif */
-
/**
* Defines Gauge constructor options.
*
@@ -33,8 +26,7 @@ import { LinearGradient } from './dataPanel'
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
interface GaugeOptions {
/**
@@ -80,8 +72,7 @@ interface GaugeOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
value: number;
@@ -128,8 +119,7 @@ interface GaugeOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
min?: number;
@@ -176,8 +166,7 @@ interface GaugeOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
max?: number;
}
@@ -214,8 +203,7 @@ interface GaugeOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface GaugeInterface {
/**
@@ -274,8 +262,7 @@ interface GaugeInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
(options: GaugeOptions): GaugeAttribute;
}
@@ -297,8 +284,7 @@ interface GaugeInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface GaugeShadowOptions extends MultiShadowOptions {}
@@ -317,8 +303,7 @@ declare interface GaugeShadowOptions extends MultiShadowOptions {}
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface GaugeIndicatorOptions {
@@ -339,8 +324,7 @@ declare interface GaugeIndicatorOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
icon?: ResourceStr;
@@ -361,8 +345,7 @@ declare interface GaugeIndicatorOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
space?: Dimension;
}
@@ -375,8 +358,7 @@ declare interface GaugeIndicatorOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface GaugeConfiguration extends CommonConfiguration {
/**
@@ -386,8 +368,7 @@ declare interface GaugeConfiguration extends CommonConfiguration {
/**
@@ -480,8 +458,7 @@ declare class GaugeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
value(value: number): GaugeAttribute;
@@ -521,8 +498,7 @@ declare class GaugeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
startAngle(angle: number): GaugeAttribute;
@@ -562,8 +538,7 @@ declare class GaugeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
endAngle(angle: number): GaugeAttribute;
@@ -603,8 +578,7 @@ declare class GaugeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
colors(colors: ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]>): GaugeAttribute;
@@ -644,8 +618,7 @@ declare class GaugeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeWidth(length: Length): GaugeAttribute;
@@ -666,8 +639,7 @@ declare class GaugeAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
description(value: CustomBuilder): GaugeAttribute;
@@ -688,8 +660,7 @@ declare class GaugeAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
trackShadow(value: GaugeShadowOptions): GaugeAttribute;
@@ -710,8 +681,7 @@ declare class GaugeAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
indicator(value: GaugeIndicatorOptions): GaugeAttribute;
@@ -724,8 +694,7 @@ declare class GaugeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
privacySensitive(isPrivacySensitiveMode: Optional): GaugeAttribute;
@@ -737,8 +706,7 @@ declare class GaugeAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
contentModifier(modifier: ContentModifier): GaugeAttribute;
}
diff --git a/api/@internal/component/ets/image.d.ts b/api/@internal/component/ets/image.d.ts
index 9a930bd96e3702f2fbb3a4c8f0a9749fa00260ca..3cb2eb41774ebdf233b90c78f5ad045c5b27c2ea 100644
--- a/api/@internal/component/ets/image.d.ts
+++ b/api/@internal/component/ets/image.d.ts
@@ -18,19 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import image from '../../@ohos.multimedia.image';
-import drawing from '../../@ohos.graphics.drawing';
-import matrix4 from '../../@ohos.matrix4'
-import { BusinessError } from '../../@ohos.base';
-import { DrawableDescriptor } from '../../@ohos.arkui.drawableDescriptor';
-import { ImageAIOptions, ImageAnalyzerConfig } from './imageCommon';
-import { ResourceStr, ResourceColor, ColorFilter, EdgeWidths, ColorMetrics } from './units';
-import { ImageFit, ImageRepeat, CopyOptions } from './enums';
-import { Resource } from '../../global/resource';
-import { CommonMethod, PointLightStyle, PixelMap } from './common'
-/*** endif */
-
/**
* Use the DrawableDescriptor class to get drawable image.
*
@@ -58,18 +45,6 @@ declare type DrawableDescriptor = import ('../api/@ohos.arkui.drawableDescriptor
*/
declare type DrawingColorFilter = import('../api/@ohos.graphics.drawing').default.ColorFilter;
-/**
- * Import the DrawingColorFilter type object for image color filter setting.
- *
- * @typedef { drawing.ColorFilter } DrawingColorFilter
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-declare type DrawingColorFilter = drawing.ColorFilter;
-
/**
* Enumerates all the levels available for the image resolution quality.
*
@@ -78,18 +53,7 @@ declare type DrawingColorFilter = drawing.ColorFilter;
* @systemapi
* @since 12
*/
-declare type ResolutionQuality = import('../api/@ohos.multimedia.image').default.ResolutionQuality;
-
-/**
- * Enumerates all the levels available for the image resolution quality.
- *
- * @typedef { image.ResolutionQuality } ResolutionQuality
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @systemapi
- * @since 20
- * @arkts 1.2
- */
-declare type ResolutionQuality = image.ResolutionQuality;
+declare type ResolutionQuality = import('../api/@ohos.multimedia.image').default.ResolutionQuality;
/**
* Lattice for dividing an image into grids.
@@ -100,19 +64,7 @@ declare type ResolutionQuality = image.ResolutionQuality;
* @atomicservice
* @since 12
*/
-declare type DrawingLattice = import('../api/@ohos.graphics.drawing').default.Lattice;
-
-/**
- * Lattice for dividing an image into grids.
- *
- * @typedef { drawing.Lattice } DrawingLattice
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-declare type DrawingLattice = drawing.Lattice;
+declare type DrawingLattice = import('../api/@ohos.graphics.drawing').default.Lattice;
/**
* Object matrix used for setting image transformations.
@@ -125,18 +77,6 @@ declare type DrawingLattice = drawing.Lattice;
*/
declare type ImageMatrix = import ('../api/@ohos.matrix4').default.Matrix4Transit;
-/**
- * Object matrix used for setting image transformations.
- *
- * @typedef { matrix4.Matrix4Transit } Matrix4Transit
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-declare type ImageMatrix = matrix4.Matrix4Transit;
-
/**
* Business error in onError callback.
*
@@ -173,8 +113,7 @@ declare type BusinessError = import('../api/@ohos.base').BusinessError;
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum ImageRenderMode {
/**
@@ -205,8 +144,7 @@ declare enum ImageRenderMode {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Original,
@@ -238,8 +176,7 @@ declare enum ImageRenderMode {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Template,
}
@@ -252,8 +189,7 @@ declare enum ImageRenderMode {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare enum ImageContent {
/**
@@ -263,8 +199,7 @@ declare enum ImageContent {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
EMPTY = 0,
}
@@ -273,8 +208,7 @@ declare enum ImageContent {
* @enum { number }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare enum DynamicRangeMode {
/**
@@ -282,8 +216,7 @@ declare enum DynamicRangeMode {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
HIGH = 0,
@@ -292,8 +225,7 @@ declare enum DynamicRangeMode {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
CONSTRAINT = 1,
@@ -302,8 +234,7 @@ declare enum DynamicRangeMode {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
STANDARD = 2,
}
@@ -332,8 +263,7 @@ declare enum DynamicRangeMode {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum ImageInterpolation {
/**
@@ -364,8 +294,7 @@ declare enum ImageInterpolation {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
None,
@@ -397,8 +326,7 @@ declare enum ImageInterpolation {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Low,
@@ -430,8 +358,7 @@ declare enum ImageInterpolation {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Medium,
@@ -463,8 +390,7 @@ declare enum ImageInterpolation {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
High,
}
@@ -474,8 +400,7 @@ declare enum ImageInterpolation {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
declare enum ImageRotateOrientation {
/**
@@ -484,8 +409,7 @@ declare enum ImageRotateOrientation {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
AUTO = 0,
@@ -495,8 +419,7 @@ declare enum ImageRotateOrientation {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
UP = 1,
@@ -506,8 +429,7 @@ declare enum ImageRotateOrientation {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
RIGHT = 2,
@@ -517,8 +439,7 @@ declare enum ImageRotateOrientation {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
DOWN = 3,
@@ -528,8 +449,7 @@ declare enum ImageRotateOrientation {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
LEFT = 4,
@@ -540,7 +460,6 @@ declare enum ImageRotateOrientation {
* @crossplatform
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
UP_MIRRORED = 5,
@@ -551,7 +470,6 @@ declare enum ImageRotateOrientation {
* @crossplatform
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
RIGHT_MIRRORED = 6,
@@ -562,7 +480,6 @@ declare enum ImageRotateOrientation {
* @crossplatform
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
DOWN_MIRRORED = 7,
@@ -573,135 +490,10 @@ declare enum ImageRotateOrientation {
* @crossplatform
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
LEFT_MIRRORED = 8,
}
-/**
- * ImageCompleteEvent
- *
- * @interface ImageCompleteEvent
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-export interface ImageCompleteEvent {
- /**
- * The width of the image source.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- width: number;
- /**
- * The height of the image source.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- height: number;
- /**
- * The width of the component source.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- componentWidth: number;
- /**
- * The height of the component source.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- componentHeight: number;
- /**
- * The value of the status of the image being loaded successfully.
- * If the returned status value is 0, the image data is successfully loaded.
- * If the returned status value is 1, the image is successfully decoded.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- loadingStatus: number;
- /**
- * The width of the picture that is actually drawn.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- contentWidth: number;
- /**
- * The height of the picture that is actually drawn.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- contentHeight: number;
- /**
- * The actual draw is offset from the x-axis of the component itself.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- contentOffsetX: number;
- /**
- * The actual draw is offset from the y-axis of the component itself.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- contentOffsetY: number;
-}
-
/**
* @interface ImageInterface
* @syscap SystemCapability.ArkUI.ArkUI.Full
@@ -726,8 +518,7 @@ export interface ImageCompleteEvent {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface ImageInterface {
/**
@@ -779,8 +570,7 @@ interface ImageInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
(src: PixelMap | ResourceStr | DrawableDescriptor | ImageContent): ImageAttribute;
@@ -792,8 +582,7 @@ interface ImageInterface {
* @returns { ImageAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
(src: PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions: ImageAIOptions): ImageAttribute;
}
@@ -806,8 +595,7 @@ interface ImageInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
interface ImageSourceSize {
@@ -854,8 +642,7 @@ interface ImageSourceSize {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
width: number;
@@ -902,8 +689,7 @@ interface ImageSourceSize {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
height: number;
}
@@ -914,8 +700,7 @@ interface ImageSourceSize {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
declare class ColorContent {
/**
@@ -927,8 +712,7 @@ declare class ColorContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
static readonly ORIGIN: ColorContent;
}
@@ -957,8 +741,7 @@ declare class ColorContent {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class ImageAttribute extends CommonMethod {
/**
@@ -1012,8 +795,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
alt(value: string | Resource | PixelMap): ImageAttribute;
@@ -1057,8 +839,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
matchTextDirection(value: boolean): ImageAttribute;
@@ -1102,8 +883,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fitOriginalSize(value: boolean): ImageAttribute;
@@ -1189,7 +969,6 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
fillColor(color: ResourceColor | ColorContent | ColorMetrics): ImageAttribute;
@@ -1229,8 +1008,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
objectFit(value: ImageFit): ImageAttribute;
@@ -1242,8 +1020,7 @@ declare class ImageAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
imageMatrix(matrix: ImageMatrix): ImageAttribute;
@@ -1288,8 +1065,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
objectRepeat(value: ImageRepeat): ImageAttribute;
@@ -1335,8 +1111,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
autoResize(value: boolean): ImageAttribute;
@@ -1382,8 +1157,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
renderMode(value: ImageRenderMode): ImageAttribute;
@@ -1399,8 +1173,7 @@ declare class ImageAttribute extends CommonMethod {
* dynamicRangeMode.Standard.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
dynamicRangeMode(value: DynamicRangeMode): ImageAttribute;
@@ -1456,8 +1229,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interpolation(value: ImageInterpolation): ImageAttribute;
@@ -1520,8 +1292,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
sourceSize(value: ImageSourceSize): ImageAttribute;
@@ -1568,8 +1339,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
syncLoad(value: boolean): ImageAttribute;
@@ -1616,8 +1386,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
colorFilter(value: ColorFilter | DrawingColorFilter): ImageAttribute;
@@ -1654,8 +1423,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
copyOption(value: CopyOptions): ImageAttribute;
@@ -1690,8 +1458,7 @@ declare class ImageAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
draggable(value: boolean): ImageAttribute;
@@ -1702,8 +1469,7 @@ declare class ImageAttribute extends CommonMethod {
* @returns { ImageAttribute } The attribute of the image.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @systemapi
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
pointLight(value: PointLightStyle): ImageAttribute;
@@ -1716,8 +1482,7 @@ declare class ImageAttribute extends CommonMethod {
* @returns { ImageAttribute } The attribute of the image.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @systemapi
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
edgeAntialiasing(value: number): ImageAttribute;
@@ -2035,21 +1800,6 @@ declare class ImageAttribute extends CommonMethod {
}) => void,
): ImageAttribute;
- /**
- * This callback is triggered when an image is successfully loaded.
- * The size of the image source that is successfully loaded is returned, in pixels.
- *
- * @param { ImageOnCompleteCallback } callback
- * @returns { ImageAttribute }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- onComplete(callback: ImageOnCompleteCallback): ImageAttribute;
-
/**
* This callback is triggered when an exception occurs during image loading.
* The field of "message" carries the detailed information of failed image loading.
@@ -2085,8 +1835,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onError(callback: ImageErrorCallback): ImageAttribute;
@@ -2135,8 +1884,7 @@ declare class ImageAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onFinish(event: () => void): ImageAttribute;
@@ -2170,8 +1918,7 @@ declare class ImageAttribute extends CommonMethod {
* @returns { ImageAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
enableAnalyzer(enable: boolean): ImageAttribute;
@@ -2182,8 +1929,7 @@ declare class ImageAttribute extends CommonMethod {
* @returns { ImageAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @systemapi
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
analyzerConfig(config: ImageAnalyzerConfig): ImageAttribute;
@@ -2214,11 +1960,21 @@ declare class ImageAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
resizable(value: ResizableOptions): ImageAttribute;
+ /**
+ * Set the quality enhancement level of image.
+ *
+ * @param { ResolutionQuality } imageQuality
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi
+ * @since 12
+ */
+ enhancedImageQuality(imageQuality: ResolutionQuality): ImageAttribute;
+
/**
* Sets whether to secure sensitive information on widgets.
*
@@ -2231,23 +1987,10 @@ declare class ImageAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
privacySensitive(supported: boolean): ImageAttribute;
- /**
- * Set the quality enhancement level of image.
- *
- * @param { ResolutionQuality } imageQuality
- * @returns { ImageAttribute }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @systemapi
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
- */
- enhancedImageQuality(imageQuality: ResolutionQuality): ImageAttribute;
-
/**
* Sets the display orientation of the image content.
*
@@ -2257,8 +2000,7 @@ declare class ImageAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
orientation(orientation: ImageRotateOrientation) : ImageAttribute;
}
@@ -2357,25 +2099,10 @@ declare const ImageInstance: ImageAttribute;
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
type ImageErrorCallback = (error: ImageError) => void;
-/**
- * ImageOnCompleteCallback
- *
- * @typedef { function } ImageOnCompleteCallback
- * @param { ImageCompleteEvent } loadEvent
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-type ImageOnCompleteCallback = (loadEvent?: ImageCompleteEvent) => void;
-
/**
* @interface ImageError
* @syscap SystemCapability.ArkUI.ArkUI.Full
@@ -2395,8 +2122,7 @@ type ImageOnCompleteCallback = (loadEvent?: ImageCompleteEvent) => void;
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface ImageError {
/**
@@ -2424,8 +2150,7 @@ declare interface ImageError {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
componentWidth: number;
@@ -2454,8 +2179,7 @@ declare interface ImageError {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
componentHeight: number;
@@ -2476,8 +2200,7 @@ declare interface ImageError {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
message: string
@@ -2490,7 +2213,6 @@ declare interface ImageError {
* @form
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
error?: BusinessError;
}
@@ -2510,8 +2232,7 @@ declare interface ImageError {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface ResizableOptions {
/**
@@ -2529,8 +2250,7 @@ declare interface ResizableOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
slice?: EdgeWidths;
@@ -2541,8 +2261,7 @@ declare interface ResizableOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
lattice?: DrawingLattice;
}
diff --git a/api/@internal/component/ets/image_animator.d.ts b/api/@internal/component/ets/image_animator.d.ts
index 32f8826119dc8227a7be868565bc32aaf8f0d615..051bdb7211779551cb4f2d6ef13c08956c0ce858 100644
--- a/api/@internal/component/ets/image_animator.d.ts
+++ b/api/@internal/component/ets/image_animator.d.ts
@@ -18,13 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { Resource } from "../../global/resource";
-import image from '../../@ohos.multimedia.image'
-import { CommonMethod, PixelMap } from './common'
-import { AnimationStatus,FillMode } from './enums'
-/*** endif */
-
/**
* Defines the ImageAnimator Interface.
*
@@ -49,8 +42,7 @@ import { AnimationStatus,FillMode } from './enums'
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface ImageAnimatorInterface {
/**
@@ -77,8 +69,7 @@ interface ImageAnimatorInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(): ImageAnimatorAttribute;
}
@@ -107,8 +98,7 @@ interface ImageAnimatorInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface ImageFrameInfo {
/**
@@ -152,8 +142,7 @@ interface ImageFrameInfo {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
src: string | Resource | PixelMap;
/**
@@ -180,8 +169,7 @@ interface ImageFrameInfo {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
width?: number | string;
/**
@@ -208,8 +196,7 @@ interface ImageFrameInfo {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
height?: number | string;
/**
@@ -236,8 +223,7 @@ interface ImageFrameInfo {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
top?: number | string;
/**
@@ -264,8 +250,7 @@ interface ImageFrameInfo {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
left?: number | string;
/**
@@ -290,8 +275,7 @@ interface ImageFrameInfo {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
duration?: number;
}
@@ -320,8 +304,7 @@ interface ImageFrameInfo {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class ImageAnimatorAttribute extends CommonMethod {
/**
@@ -355,8 +338,7 @@ declare class ImageAnimatorAttribute extends CommonMethod): ImageAnimatorAttribute;
@@ -387,8 +369,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute;
@@ -643,8 +616,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute;
@@ -673,8 +645,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute;
@@ -705,8 +676,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute;
@@ -737,8 +707,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute;
}
diff --git a/api/@internal/component/ets/image_common.d.ts b/api/@internal/component/ets/image_common.d.ts
index 7415991b1a970aabdba46f343a33f201a59f309c..24962e1329561a009cb806c3940915d4890ad86c 100644
--- a/api/@internal/component/ets/image_common.d.ts
+++ b/api/@internal/component/ets/image_common.d.ts
@@ -24,8 +24,7 @@
* @enum { number }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare enum ImageAnalyzerType {
/**
@@ -33,8 +32,7 @@ declare enum ImageAnalyzerType {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
SUBJECT = 0,
@@ -43,8 +41,7 @@ declare enum ImageAnalyzerType {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
TEXT,
@@ -53,8 +50,7 @@ declare enum ImageAnalyzerType {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
OBJECT_LOOKUP,
}
@@ -64,8 +60,7 @@ declare enum ImageAnalyzerType {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare class ImageAnalyzerController {
/**
@@ -73,19 +68,17 @@ declare class ImageAnalyzerController {
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
constructor();
-
+
/**
* Get image analyzer support types.
*
* @returns { ImageAnalyzerType[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
getImageAnalyzerSupportTypes(): ImageAnalyzerType[];
}
@@ -96,8 +89,7 @@ declare class ImageAnalyzerController {
* @interface ImageAnalyzerConfig
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface ImageAnalyzerConfig {
/**
@@ -106,8 +98,7 @@ declare interface ImageAnalyzerConfig {
* @type { ImageAnalyzerType[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
types: ImageAnalyzerType[];
}
@@ -118,8 +109,7 @@ declare interface ImageAnalyzerConfig {
* @interface ImageAIOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface ImageAIOptions {
/**
@@ -128,8 +118,7 @@ declare interface ImageAIOptions {
* @type { ?ImageAnalyzerType[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
types?: ImageAnalyzerType[];
@@ -139,8 +128,7 @@ declare interface ImageAIOptions {
* @type { ?ImageAnalyzerController }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
aiController?: ImageAnalyzerController;
-}
\ No newline at end of file
+}
diff --git a/api/@internal/component/ets/loading_progress.d.ts b/api/@internal/component/ets/loading_progress.d.ts
index d43e965b41ef87ece2bc06d3b7c6ece221cfa3d3..4ea635053288083b2071788aa8eb2db7a765256b 100644
--- a/api/@internal/component/ets/loading_progress.d.ts
+++ b/api/@internal/component/ets/loading_progress.d.ts
@@ -18,11 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { CommonMethod,ContentModifier,CommonConfiguration } from './common'
-import { ResourceColor } from './units'
-/*** endif */
-
/**
* Load style of progress bar.
*
@@ -55,8 +50,7 @@ import { ResourceColor } from './units'
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum LoadingProgressStyle {
/**
@@ -87,8 +81,7 @@ declare enum LoadingProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Default,
@@ -120,8 +113,7 @@ declare enum LoadingProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Circular,
@@ -153,8 +145,7 @@ declare enum LoadingProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Orbital,
}
@@ -191,8 +182,7 @@ declare enum LoadingProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface LoadingProgressInterface {
/**
@@ -227,8 +217,7 @@ interface LoadingProgressInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(): LoadingProgressAttribute;
}
@@ -265,8 +254,7 @@ interface LoadingProgressInterface {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class LoadingProgressAttribute extends CommonMethod {
/**
@@ -305,8 +293,7 @@ declare class LoadingProgressAttribute extends CommonMethod): LoadingProgressAttribute;
}
@@ -354,8 +339,7 @@ declare class LoadingProgressAttribute extends CommonMethod {
/**
@@ -365,10 +349,9 @@ declare interface LoadingProgressConfiguration extends CommonConfiguration {
/**
@@ -344,8 +314,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
sideLength(value: Length): PatternLockAttribute;
@@ -378,8 +347,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
circleRadius(value: Length): PatternLockAttribute;
@@ -408,8 +376,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundColor(value: ResourceColor): PatternLockAttribute;
@@ -438,8 +405,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
regularColor(value: ResourceColor): PatternLockAttribute;
@@ -468,8 +434,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
selectedColor(value: ResourceColor): PatternLockAttribute;
@@ -498,8 +463,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
activeColor(value: ResourceColor): PatternLockAttribute;
@@ -528,8 +492,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
pathColor(value: ResourceColor): PatternLockAttribute;
@@ -562,8 +525,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
pathStrokeWidth(value: number | string): PatternLockAttribute;
@@ -592,8 +554,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onPatternComplete(callback: (input: Array) => void): PatternLockAttribute;
@@ -624,8 +585,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
autoReset(value: boolean): PatternLockAttribute;
@@ -648,19 +608,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @since 12
*/
onDotConnect(callback: import('../api/@ohos.base').Callback): PatternLockAttribute;
-
- /**
- * Called when connecting to a grid dot.
- * @param { Callback } callback - A callback instance used when connection to a grid dot.
- * @returns { PatternLockAttribute }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- onDotConnect(callback: Callback): PatternLockAttribute;
-
+
/**
* Sets the background circle style for the dots in a grid when they are in the activated state.
*
@@ -669,8 +617,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
activateCircleStyle(options: Optional): PatternLockAttribute;
@@ -683,8 +630,7 @@ declare class PatternLockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
skipUnselectedPoint(skipped: boolean): PatternLockAttribute;
}
diff --git a/api/@internal/component/ets/progress.d.ts b/api/@internal/component/ets/progress.d.ts
index 9b2aca0d3af7f4bd91b5976ec74af9944dbb1674..266c6478cbb9ae0fa17bbe00ad8b52afa7c57e45 100644
--- a/api/@internal/component/ets/progress.d.ts
+++ b/api/@internal/component/ets/progress.d.ts
@@ -18,14 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { ResourceColor,Length, PX , VP , LPX, Font, ResourceStr } from './units'
-import { Resource } from '../../global/resource';
-import { CommonMethod, Optional,ContentModifier,CommonConfiguration } from './common'
-import { LinearGradient } from './dataPanel'
-import { LengthMetrics } from '../Graphics'
-/*** endif */
-
/**
* Defines the option of Progress.
*
@@ -181,58 +173,6 @@ declare interface ProgressOptions {
type?: Type
}
-/**
- * Defines the option of Progress.
- *
- * @interface ProgressOptions
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-declare interface ProgressOptions {
-
- /**
- * Sets the value of Progress.
- *
- * @type { number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- value: number;
-
- /**
- * Sets the total of Progress.
- *
- * @type { ?number }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- total?: number;
-
- /**
- * Sets the type of Progress.
- *
- * @type { ?ProgressType }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- type?: ProgressType
-}
/**
* Type of progress bar
*
@@ -265,8 +205,7 @@ declare interface ProgressOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum ProgressType {
/**
@@ -297,8 +236,7 @@ declare enum ProgressType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Linear = 0,
@@ -330,8 +268,7 @@ declare enum ProgressType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Ring = 1,
@@ -363,8 +300,7 @@ declare enum ProgressType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Eclipse = 2,
@@ -396,8 +332,7 @@ declare enum ProgressType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
ScaleRing = 3,
@@ -429,8 +364,7 @@ declare enum ProgressType {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Capsule = 4
}
@@ -449,8 +383,7 @@ declare enum ProgressType {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum ProgressStatus {
/**
@@ -465,8 +398,7 @@ declare enum ProgressStatus {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
LOADING,
@@ -482,8 +414,7 @@ declare enum ProgressStatus {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
PROGRESSING
}
@@ -524,8 +455,7 @@ declare enum ProgressStatus {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface ProgressStyleOptions extends CommonProgressStyleOptions {
/**
@@ -560,8 +490,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeWidth?: Length;
@@ -597,8 +526,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
scaleCount?: number;
@@ -634,8 +562,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
scaleWidth?: Length;
}
@@ -654,8 +581,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface CommonProgressStyleOptions {
/**
@@ -674,8 +600,7 @@ declare interface CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
enableSmoothEffect?: boolean;
}
@@ -694,8 +619,7 @@ declare interface CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface ScanEffectOptions {
/**
@@ -714,8 +638,7 @@ declare interface ScanEffectOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
enableScanEffect?: boolean;
}
@@ -735,8 +658,7 @@ declare interface ScanEffectOptions {
* @interface EclipseStyleOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface EclipseStyleOptions extends CommonProgressStyleOptions {
@@ -758,8 +680,7 @@ declare interface EclipseStyleOptions extends CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
/**
@@ -776,8 +697,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeWidth?: Length;
@@ -795,8 +715,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
scaleWidth?: Length;
@@ -814,8 +733,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
scaleCount?: number;
}
@@ -836,8 +754,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions {
/**
@@ -854,8 +771,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeWidth?: Length;
@@ -873,8 +789,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
shadow?: boolean;
@@ -892,8 +807,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
status?: ProgressStatus;
}
@@ -914,8 +828,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions {
/**
@@ -932,8 +845,7 @@ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressSt
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeWidth?: Length;
/**
@@ -952,8 +864,7 @@ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressSt
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
strokeRadius?: PX | VP | LPX | Resource;
}
@@ -974,8 +885,7 @@ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressSt
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions {
/**
@@ -992,8 +902,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
borderColor?: ResourceColor;
@@ -1011,8 +920,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
borderWidth?: Length;
@@ -1057,8 +965,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
font?: Font;
@@ -1076,8 +983,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontColor?: ResourceColor;
@@ -1097,8 +1003,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
showDefaultPercentage?: boolean;
@@ -1110,8 +1015,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
borderRadius?: LengthMetrics;
}
@@ -1148,8 +1052,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare enum ProgressStyle {
/**
@@ -1180,8 +1083,7 @@ declare enum ProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Linear,
@@ -1213,8 +1115,7 @@ declare enum ProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Ring,
@@ -1246,8 +1147,7 @@ declare enum ProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Eclipse,
@@ -1279,8 +1179,7 @@ declare enum ProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
ScaleRing,
@@ -1312,8 +1211,7 @@ declare enum ProgressStyle {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
Capsule,
}
@@ -1331,8 +1229,7 @@ declare enum ProgressStyle {
* @interface ProgressStyleMap
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface ProgressStyleMap {
/**
@@ -1448,8 +1345,7 @@ declare interface ProgressStyleMap {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface ProgressInterface {
/**
@@ -1491,19 +1387,6 @@ interface ProgressInterface {
* @since 11
*/
(options: ProgressOptions): ProgressAttribute;
- /**
- * Called when the progress bar is set.
- *
- * @param { ProgressOptions } options
- * @returns { ProgressAttribute }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- (options: ProgressOptions): ProgressAttribute;
}
/**
@@ -1688,88 +1571,6 @@ declare class ProgressAttribute): ProgressAttribute;
}
-/**
- * Defines the progress attribute functions.
- *
- * @extends CommonMethod
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
-declare class ProgressAttribute extends CommonMethod {
- /**
- * Called when the current progress value is set.
- *
- * @param { number } value
- * @returns { ProgressAttribute }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- value(value: number): ProgressAttribute;
-
- /**
- * Called when the progress bar foreground is set.
- *
- * @param { ResourceColor | LinearGradient } value - indicates the color of the progress.
- * @returns { ProgressAttribute } the attribute of the progress.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- color(value: ResourceColor | LinearGradient): ProgressAttribute;
-
- /**
- * Called when the style of progress bar is set.
- *
- * @param { LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions } value - indicates the style of the progress.
- * @returns { ProgressAttribute } the attribute of the progress.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions): ProgressAttribute;
-
- /**
- * Sets if mark to privacy sensitive.
- *
- * @param { Optional } isPrivacySensitiveMode - indicates if mark to privacy sensitive.
- * @returns { ProgressAttribute } the attribute of the progress.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- privacySensitive(isPrivacySensitiveMode: Optional): ProgressAttribute;
-
- /**
- * Set the contentModifier of progress.
- *
- * @param { ContentModifier } modifier - The contentModifier of progress.
- * @returns { ProgressAttribute } the attribute of the progress.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- contentModifier(modifier: ContentModifier): ProgressAttribute;
-}
-
/**
* ProgressConfiguration used by progress contentModifier
*
@@ -1778,8 +1579,7 @@ declare class ProgressAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface ProgressConfiguration extends CommonConfiguration {
/**
@@ -1789,8 +1589,7 @@ declare interface ProgressConfiguration extends CommonConfiguration {
/**
@@ -185,8 +176,7 @@ declare class QRCodeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
color(value: ResourceColor): QRCodeAttribute;
@@ -226,8 +216,7 @@ declare class QRCodeAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
backgroundColor(value: ResourceColor): QRCodeAttribute;
@@ -246,8 +235,7 @@ declare class QRCodeAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
contentOpacity(value: number | Resource): QRCodeAttribute;
}
diff --git a/api/@internal/component/ets/text_clock.d.ts b/api/@internal/component/ets/text_clock.d.ts
index 29a9c245dc6d74f1a14e0581a00ba86da8f24820..72059f918df764eb406996d59906dcddcb51ccc3 100644
--- a/api/@internal/component/ets/text_clock.d.ts
+++ b/api/@internal/component/ets/text_clock.d.ts
@@ -18,12 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { CommonConfiguration, CommonMethod, ShadowOptions, ContentModifier, Optional, DateTimeOptions } from './common'
-import { ResourceColor, Length, ResourceStr } from './units'
-import { FontStyle, FontWeight } from './enums'
-/*** endif */
-
/**
* Provides a way to control the textclock status.
*
@@ -44,8 +38,7 @@ import { FontStyle, FontWeight } from './enums'
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class TextClockController {
/**
@@ -68,8 +61,7 @@ declare class TextClockController {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
constructor();
/**
@@ -95,17 +87,6 @@ declare class TextClockController {
* @since 11
*/
start();
- /**
- * Provides a start event for textclock.
- *
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- start(): void;
/**
* Provides a stop event for textclock.
*
@@ -129,17 +110,6 @@ declare class TextClockController {
* @since 11
*/
stop();
- /**
- * Provides a stop event for textclock.
- *
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- stop(): void;
}
/**
@@ -150,8 +120,7 @@ declare class TextClockController {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface TextClockConfiguration extends CommonConfiguration {
/**
@@ -163,8 +132,7 @@ declare interface TextClockConfiguration extends CommonConfiguration {
/**
@@ -450,7 +410,6 @@ declare class TextClockAttribute extends CommonMethod {
* @form
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
format(value: ResourceStr): TextClockAttribute;
@@ -497,8 +456,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onDateChange(event: (value: number) => void): TextClockAttribute;
@@ -528,8 +486,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontColor(value: ResourceColor): TextClockAttribute;
@@ -559,8 +516,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontSize(value: Length): TextClockAttribute;
@@ -590,8 +546,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontStyle(value: FontStyle): TextClockAttribute;
@@ -621,8 +576,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontWeight(value: number | FontWeight | string): TextClockAttribute;
@@ -652,8 +606,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontFamily(value: ResourceStr): TextClockAttribute;
@@ -676,8 +629,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
textShadow(value: ShadowOptions | Array): TextClockAttribute;
@@ -706,8 +658,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
fontFeature(value: string): TextClockAttribute;
@@ -719,8 +670,7 @@ declare class TextClockAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
contentModifier(modifier: ContentModifier): TextClockAttribute;
@@ -733,8 +683,7 @@ declare class TextClockAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
dateTimeOptions(dateTimeOptions: Optional): TextClockAttribute;
}
diff --git a/api/@internal/component/ets/text_picker.d.ts b/api/@internal/component/ets/text_picker.d.ts
index 49e7af9f00042be97a7369fbe065085f6c3e6594..4a485b811f7bd552aa30cce88a6a273f930a4497 100644
--- a/api/@internal/component/ets/text_picker.d.ts
+++ b/api/@internal/component/ets/text_picker.d.ts
@@ -18,14 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { Resource, ResourceColor, Offset, Dimension, ResourceStr } from './units';
-import { CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional, Callback, Bindable } from './common';
-import { DialogAlignment } from './alertDialog';
-import { CrownSensitivity, TextOverflow } from './enums';
-import { LengthMetrics } from './../Graphics';
-/*** endif */
-
/**
* Define the contents of each selector item.
*
@@ -41,8 +33,7 @@ import { LengthMetrics } from './../Graphics';
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TextPickerRangeContent {
/**
@@ -62,8 +53,7 @@ declare interface TextPickerRangeContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
icon: string | Resource;
@@ -92,8 +82,7 @@ declare interface TextPickerRangeContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
text?: string | Resource;
}
@@ -112,8 +101,7 @@ declare interface TextPickerRangeContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TextCascadePickerRangeContent {
/**
@@ -138,8 +126,7 @@ declare interface TextCascadePickerRangeContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
text: string | Resource;
@@ -157,8 +144,7 @@ declare interface TextCascadePickerRangeContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
children?: TextCascadePickerRangeContent[];
}
@@ -185,8 +171,7 @@ declare interface TextCascadePickerRangeContent {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TextPickerOptions {
/**
@@ -213,8 +198,7 @@ declare interface TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
range: string[] | string[][] | Resource | TextPickerRangeContent[] | TextCascadePickerRangeContent[];
@@ -275,19 +259,6 @@ declare interface TextPickerOptions {
*/
value?: ResourceStr | ResourceStr[];
- /**
- * Value of the current selection.
- * Only valid when only text is displayed.
- *
- * @type { ?(ResourceStr | ResourceStr[] | Bindable | Bindable) }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- value?: ResourceStr | ResourceStr[] | Bindable | Bindable;
-
/**
* Index of the default selected item in the array.
* The index is zero-based.
@@ -324,18 +295,6 @@ declare interface TextPickerOptions {
*/
selected?: number | number[];
- /**
- * Current selected subscript.
- *
- * @type { ?(number | number[] | Bindable | Bindable) }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- selected?: number | number[] | Bindable | Bindable;
-
/**
* Width of each column in the picker.
*
@@ -347,8 +306,7 @@ declare interface TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
columnWidths?: LengthMetrics[];
}
@@ -375,8 +333,7 @@ declare interface TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface TextPickerInterface {
/**
@@ -404,8 +361,7 @@ interface TextPickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(options?: TextPickerOptions): TextPickerAttribute;
}
@@ -417,8 +373,7 @@ interface TextPickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface DividerOptions {
/**
@@ -435,8 +390,7 @@ declare interface DividerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
strokeWidth?: Dimension;
@@ -444,12 +398,11 @@ declare interface DividerOptions {
* Color of the divider.
*
* @type { ?ResourceColor }
- * @default "#33000000"
+ * @default '#33000000'
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
color?: ResourceColor;
@@ -466,8 +419,7 @@ declare interface DividerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
startMargin?: Dimension;
@@ -484,8 +436,7 @@ declare interface DividerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
endMargin?: Dimension;
}
@@ -498,8 +449,7 @@ declare interface DividerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
declare interface TextPickerTextStyle extends PickerTextStyle {
/**
@@ -513,8 +463,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
minFontSize?: number | string | Resource;
@@ -525,8 +474,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
maxFontSize?: number | string | Resource;
@@ -541,8 +489,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
overflow?: TextOverflow;
}
@@ -589,8 +536,7 @@ declare interface PickerBackgroundStyle {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
declare type TextPickerScrollStopCallback = (value: string | string[], index: number | number[]) => void;
@@ -603,8 +549,7 @@ declare type TextPickerScrollStopCallback = (value: string | string[], index: nu
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
declare type OnTextPickerChangeCallback = (selectItem: string | string[], index: number | number[]) => void;
@@ -617,8 +562,7 @@ declare type OnTextPickerChangeCallback = (selectItem: string | string[], index:
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
declare type TextPickerEnterSelectedAreaCallback = (value: string | string[], index: number | number[]) => void;
@@ -644,8 +588,7 @@ declare type TextPickerEnterSelectedAreaCallback = (value: string | string[], in
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class TextPickerAttribute extends CommonMethod {
/**
@@ -669,15 +612,13 @@ declare class TextPickerAttribute extends CommonMethod {
* Sets the height of each item in the picker.
*
* @param { number | string } value - Height of each item in the picker.
- *
For the number type, the value range is [0, +∞]. For the string type,
- *
only numeric string values, for example, "56", are supported.
+ *
For the number type, the value range is [0, +∞).
+ *
For the string type, only numeric string values, for example, "56", are supported.
* @returns { TextPickerAttribute }
- * @default 56 vp (selected) and 36 vp (unselected).
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
defaultPickerItemHeight(value: number | string): TextPickerAttribute;
@@ -685,15 +626,13 @@ declare class TextPickerAttribute extends CommonMethod {
* Sets the height of each item in the picker.
*
* @param { Optional } height - Height of each item in the picker.
- *
For the number type, the value range is [0, +∞].
+ *
For the number type, the value range is [0, +∞).
*
For the string type, only numeric string values, for example, "56", are supported.
- * @default 56 vp (selected) and 36 vp (unselected).
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
defaultPickerItemHeight(height: Optional): TextPickerAttribute;
@@ -701,7 +640,6 @@ declare class TextPickerAttribute extends CommonMethod {
* Sets whether scrolling is loopable.
*
* @param { boolean } value - Whether scrolling is loopable. true: loopable; false: not loopable.
- * @default true
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
@@ -710,13 +648,11 @@ declare class TextPickerAttribute extends CommonMethod {
* Sets whether scrolling is loopable.
*
* @param { boolean } value - Whether scrolling is loopable. true: loopable; false: not loopable.
- * @default true
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
canLoop(value: boolean): TextPickerAttribute;
@@ -725,13 +661,11 @@ declare class TextPickerAttribute extends CommonMethod {
* this API supports the undefined type for the isLoop parameter.
*
* @param { Optional } isLoop - Whether scrolling is loopable. true: loopable; false: not loopable.
- * @default true
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
canLoop(isLoop: Optional): TextPickerAttribute;
@@ -752,8 +686,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
disappearTextStyle(value: PickerTextStyle): TextPickerAttribute;
@@ -766,11 +699,22 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
disappearTextStyle(style: Optional): TextPickerAttribute;
+ /**
+ * Sets the text style of disappearing items
+ *
+ * @param { Optional } style - indicates the text style of disappearing items.
+ * @returns { TextPickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ disappearTextStyle(style: Optional): TextPickerAttribute;
+
/**
* Sets the font color, font size, and font weight for all items except the top, bottom, and selected items.
*
@@ -789,8 +733,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
textStyle(value: PickerTextStyle): TextPickerAttribute;
@@ -804,11 +747,22 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
textStyle(style: Optional): TextPickerAttribute;
+ /**
+ * Sets the text style of normal items
+ *
+ * @param { Optional } style - indicates the text style of normal items.
+ * @returns { TextPickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ textStyle(style: Optional): TextPickerAttribute;
+
/**
* Sets the font color, font size, and font weight for the selected item.
*
@@ -826,8 +780,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedTextStyle(value: PickerTextStyle): TextPickerAttribute;
@@ -840,22 +793,31 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
selectedTextStyle(style: Optional): TextPickerAttribute;
+ /**
+ * Sets the text style of selected items
+ *
+ * @param { Optional } style - indicates the text style of selected items.
+ * @returns { TextPickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ selectedTextStyle(style: Optional): TextPickerAttribute;
+
/**
* Sets whether to enable the text style change animation during the scrolling process.
*
* @param { boolean } disabled
- * @default false
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
disableTextStyleAnimation(disabled: boolean): TextPickerAttribute;
@@ -867,8 +829,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
defaultTextStyle(style: TextPickerTextStyle): TextPickerAttribute;
@@ -938,8 +899,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onChange(callback: Optional): TextPickerAttribute;
@@ -954,8 +914,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
onScrollStop(callback: TextPickerScrollStopCallback): TextPickerAttribute;
@@ -970,8 +929,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onScrollStop(callback: Optional): TextPickerAttribute;
@@ -986,8 +944,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onEnterSelectedArea(callback: TextPickerEnterSelectedAreaCallback): TextPickerAttribute;
@@ -998,7 +955,6 @@ declare class TextPickerAttribute extends CommonMethod {
* For a multi-column (linked) picker, use a value of the number[] type.
*
* @param { number | number[] } value - Index of the default selected item in the array.
- * @default 0
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
@@ -1011,13 +967,11 @@ declare class TextPickerAttribute extends CommonMethod {
* For a multi-column (linked) picker, use a value of the number[] type.
*
* @param { number | number[] } value - Index of the default selected item in the array.
- * @default 0
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedIndex(value: number | number[]): TextPickerAttribute;
@@ -1030,13 +984,11 @@ declare class TextPickerAttribute extends CommonMethod {
*
* @param { Optional } index - Index of the default selected item in the array.
*
The index is zero-based.
If index is set to undefined, the default value 0 is used.
- * @default 0
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
selectedIndex(index: Optional): TextPickerAttribute;
@@ -1048,8 +1000,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
divider(value: DividerOptions | null): TextPickerAttribute;
@@ -1061,8 +1012,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
divider(textDivider: Optional): TextPickerAttribute;
@@ -1075,13 +1025,11 @@ declare class TextPickerAttribute extends CommonMethod {
*
*
* @param { Dimension } value - Height of the fade effect at the top and bottom edges of the content area.
- * @default 36vp
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
gradientHeight(value: Dimension): TextPickerAttribute;
@@ -1089,12 +1037,10 @@ declare class TextPickerAttribute extends CommonMethod {
* Specifies whether to enable haptic feedback.
*
* @param { Optional } enable - Whether to enable haptic feedback.
- * @default true
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableHapticFeedback(enable: Optional): TextPickerAttribute;
@@ -1109,13 +1055,11 @@ declare class TextPickerAttribute extends CommonMethod {
*
* @param { Optional } height - THeight of the fade effect at the top and bottom edges of
*
the content area.
- * @default 36vp
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
gradientHeight(height: Optional): TextPickerAttribute;
@@ -1123,13 +1067,11 @@ declare class TextPickerAttribute extends CommonMethod {
* Sets the sensitivity to the digital crown rotation.
*
* @param { Optional } sensitivity - Sensitivity to the digital crown rotation.
- * @default CrownSensitivity.MEDIUM
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
digitalCrownSensitivity(sensitivity: Optional): TextPickerAttribute;
@@ -1168,8 +1110,7 @@ declare class TextPickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TextPickerResult {
/**
@@ -1196,8 +1137,7 @@ declare interface TextPickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
value: string | string[];
@@ -1223,8 +1163,7 @@ declare interface TextPickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
index: number | number[];
}
@@ -1254,8 +1193,7 @@ declare interface TextPickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TextPickerDialogOptions extends TextPickerOptions {
/**
@@ -1281,8 +1219,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
defaultPickerItemHeight?: number | string;
@@ -1303,8 +1240,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
canLoop?: boolean;
@@ -1323,8 +1259,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
disappearTextStyle?: PickerTextStyle;
@@ -1343,8 +1278,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
textStyle?: PickerTextStyle;
@@ -1361,8 +1295,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
acceptButtonStyle?: PickerDialogButtonStyle;
@@ -1379,8 +1312,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
cancelButtonStyle?: PickerDialogButtonStyle;
@@ -1399,8 +1331,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedTextStyle?: PickerTextStyle;
@@ -1414,8 +1345,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
disableTextStyleAnimation?: boolean;
@@ -1430,8 +1360,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'15','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 15
*/
defaultTextStyle?: TextPickerTextStyle;
@@ -1457,8 +1386,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onAccept?: (value: TextPickerResult) => void;
@@ -1484,8 +1412,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onCancel?: () => void;
@@ -1511,8 +1438,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onChange?: (value: TextPickerResult) => void;
@@ -1523,8 +1449,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
onScrollStop?: Callback;
@@ -1547,8 +1472,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onEnterSelectedArea?: Callback;
@@ -1569,8 +1493,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
maskRect?: Rectangle;
@@ -1590,8 +1513,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
alignment?: DialogAlignment;
@@ -1611,8 +1533,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
offset?: Offset;
@@ -1633,8 +1554,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundColor?: ResourceColor;
@@ -1655,8 +1575,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundBlurStyle?: BlurStyle;
@@ -1667,8 +1586,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
@@ -1679,8 +1597,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundEffect?: BackgroundEffectOptions;
@@ -1701,8 +1618,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onDidAppear?: () => void;
@@ -1718,8 +1634,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onDidDisappear?: () => void;
@@ -1737,8 +1652,8 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ *
+ * @since 12
*/
onWillAppear?: () => void;
@@ -1756,8 +1671,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onWillDisappear?: () => void;
@@ -1770,8 +1684,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
shadow?: ShadowOptions | ShadowStyle;
@@ -1783,8 +1696,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
enableHoverMode?: boolean;
@@ -1796,8 +1708,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
hoverModeArea?: HoverModeAreaType;
@@ -1816,8 +1727,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @default true
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableHapticFeedback?: boolean;
@@ -1825,11 +1735,358 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* Background style of selected items.
*
* @type { ?PickerBackgroundStyle }
+ * @default { color: $r('sys.color.comp_background_tertiary'), borderRadius: $r('sys.float.corner_radius_level12') }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @atomicservice
+ * @since 20
+ */
+ selectedBackgroundStyle?: PickerBackgroundStyle;
+}
+
+/**
+ * Defines the TextPickerDialogOptionsExt for Text Picker Dialog.
+ *
+ * @extends TextPickerOptions
+ * @interface TextPickerDialogOptionsExt
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+declare interface TextPickerDialogOptionsExt extends TextPickerOptions {
+ /**
+ * Called when the default height of the selected element is set.
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ defaultPickerItemHeight?: number | string;
+
+ /**
+ * Can scroll loop if true is set, on the contrary it can not.
+ *
+ * @type { ?boolean }
+ * @default true
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ canLoop?: boolean;
+
+ /**
+ * Text style of disappearing items.
+ *
+ * @type { ?TextPickerTextStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ disappearTextStyle?: TextPickerTextStyle;
+
+ /**
+ * Text style of normal items
+ *
+ * @type { ?TextPickerTextStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ textStyle?: TextPickerTextStyle;
+
+ /**
+ * Style of accept button.
+ *
+ * @type { ?PickerDialogButtonStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ acceptButtonStyle?: PickerDialogButtonStyle;
+
+ /**
+ * Style of cancel button.
+ *
+ * @type { ?PickerDialogButtonStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ cancelButtonStyle?: PickerDialogButtonStyle;
+
+ /**
+ * Text style of selected items
+ *
+ * @type { ?TextPickerTextStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ selectedTextStyle?: TextPickerTextStyle;
+
+ /**
+ * Defines whether to disable the text style animation.
+ *
+ * @type { ?boolean }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ disableTextStyleAnimation?: boolean;
+
+ /**
+ * Defines to set the default text style for options.
+ *
+ * @type { ?TextPickerTextStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ defaultTextStyle?: TextPickerTextStyle;
+
+ /**
+ * Called when the OK button in the dialog is clicked.
+ *
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onAccept?: Callback;
+
+ /**
+ * Called when the Cancel button in the dialog is clicked.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onCancel?: VoidCallback;
+
+ /**
+ * This event is triggered when a TextPicker text is selected in dialog.
+ *
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onChange?: Callback;
+
+ /**
+ * This event is triggered when a TextPicker text is selected and scrolling has stopped in dialog.
+ *
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onScrollStop?: Callback;
+
+ /**
+ * This event is triggered when an item enters the selected area in dialog.
+ *
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onEnterSelectedArea?: Callback;
+
+ /**
+ * Mask Region of dialog. The size cannot exceed the main window.
+ *
+ * @type { ?Rectangle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ maskRect?: Rectangle;
+
+ /**
+ * Defines the dialog alignment of the screen.
+ *
+ * @type { ?DialogAlignment }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ alignment?: DialogAlignment;
+
+ /**
+ * Defines the dialog offset.
+ *
+ * @type { ?Offset }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ offset?: Offset;
+
+ /**
+ * Defines the textPickerDialog's background color
+ *
+ * @type { ?ResourceColor }
+ * @default Color.Transparent
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ backgroundColor?: ResourceColor;
+
+ /**
+ * Defines the textPickerDialog's background blur Style
+ *
+ * @type { ?BlurStyle }
+ * @default BlurStyle.COMPONENT_ULTRA_THICK
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ backgroundBlurStyle?: BlurStyle;
+
+ /**
+ * Defines the textPickerDialog's background blur style with options
+ *
+ * @type { ?BackgroundBlurStyleOptions }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
+
+ /**
+ * Defines the textPickerDialog's background effect with options
+ *
+ * @type { ?BackgroundEffectOptions }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ backgroundEffect?: BackgroundEffectOptions;
+
+ /**
+ * Callback function when the dialog appears.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onDidAppear?: VoidCallback;
+
+ /**
+ * Callback function when the dialog disappears.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onDidDisappear?: VoidCallback;
+
+ /**
+ * Callback function before the dialog openAnimation starts.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onWillAppear?: VoidCallback;
+
+ /**
+ * Callback function before the dialog closeAnimation starts.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ onWillDisappear?: VoidCallback;
+
+ /**
+ * Defines the dialog's shadow.
+ *
+ * @type { ?(ShadowOptions | ShadowStyle) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ shadow?: ShadowOptions | ShadowStyle;
+
+ /**
+ * Defines whether to respond to the hover mode.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ enableHoverMode?: boolean;
+
+ /**
+ * Defines the dialog's display area in hover mode.
+ *
+ * @type { ?HoverModeAreaType }
+ * @default HoverModeAreaType.BOTTOM_SCREEN
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ */
+ hoverModeArea?: HoverModeAreaType;
+
+ /**
+ * Enable or disable haptic feedback.
+ *
+ * @type { ?boolean }
* @default true
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
* @since 20
*/
+ enableHapticFeedback?: boolean;
+
+ /**
+ * Background style of selected items.
+ *
+ * @type { ?PickerBackgroundStyle }
+ * @default { color: $r('sys.color.comp_background_tertiary'), borderRadius: $r('sys.float.corner_radius_level12') }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @atomicservice
+ * @since 20
+ */
selectedBackgroundStyle?: PickerBackgroundStyle;
}
@@ -1852,8 +2109,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class TextPickerDialog {
/**
@@ -1930,4 +2186,3 @@ declare const TextPicker: TextPickerInterface;
* @since 11
*/
declare const TextPickerInstance: TextPickerAttribute;
-
diff --git a/api/@internal/component/ets/text_timer.d.ts b/api/@internal/component/ets/text_timer.d.ts
index c3a15592a95904f1087ab93a15a4ff725c17d5ea..561aae84168e89608a2054a3e48df4ca3a357538 100644
--- a/api/@internal/component/ets/text_timer.d.ts
+++ b/api/@internal/component/ets/text_timer.d.ts
@@ -18,12 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { CommonConfiguration,CommonMethod,ShadowOptions,ContentModifier } from './common'
-import { ResourceColor,Length,ResourceStr } from './units'
-import { FontStyle,FontWeight } from './enums'
-/*** endif */
-
/**
* Provides a way to control the process.
*
@@ -44,8 +38,7 @@ import { FontStyle,FontWeight } from './enums'
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class TextTimerController {
/**
@@ -70,8 +63,7 @@ declare class TextTimerController {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
constructor();
@@ -100,18 +92,6 @@ declare class TextTimerController {
*/
start();
- /**
- * Provides a start event for timer.
- *
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- start():void;
-
/**
* Provides a pause event for timer.
*
@@ -137,18 +117,6 @@ declare class TextTimerController {
*/
pause();
- /**
- * Provides a pause event for timer.
- *
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- pause():void;
-
/**
* Provides an event to reset timer.
*
@@ -173,18 +141,6 @@ declare class TextTimerController {
* @since 11
*/
reset();
-
- /**
- * Provides an event to reset timer.
- *
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @form
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- reset():void;
}
/**
@@ -195,8 +151,7 @@ declare class TextTimerController {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare interface TextTimerConfiguration extends CommonConfiguration {
/**
@@ -214,8 +169,7 @@ declare interface TextTimerConfiguration extends CommonConfiguration {
/**
@@ -510,8 +454,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
format(value: string): TextTimerAttribute;
@@ -542,8 +485,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontColor(value: ResourceColor): TextTimerAttribute;
@@ -576,8 +518,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontSize(value: Length): TextTimerAttribute;
@@ -608,8 +549,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontStyle(value: FontStyle): TextTimerAttribute;
@@ -659,7 +599,6 @@ declare class TextTimerAttribute extends CommonMethod {
* @form
* @atomicservice
* @since 20
- * @arkts 1.1&1.2
*/
fontWeight(value: number | FontWeight | ResourceStr): TextTimerAttribute;
@@ -690,8 +629,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
fontFamily(value: ResourceStr): TextTimerAttribute;
@@ -724,8 +662,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @crossplatform
* @form
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onTimer(event: (utc: number, elapsedTime: number) => void): TextTimerAttribute;
@@ -748,8 +685,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
textShadow(value: ShadowOptions | Array): TextTimerAttribute;
@@ -761,8 +697,7 @@ declare class TextTimerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
contentModifier(modifier: ContentModifier): TextTimerAttribute;
}
diff --git a/api/@internal/component/ets/time_picker.d.ts b/api/@internal/component/ets/time_picker.d.ts
index 4fc274659814f7df5b5a9bf1e61eb70a2a638590..07fe2eb64eb98f651e2a2fcc47a71e1a9d30eda4 100644
--- a/api/@internal/component/ets/time_picker.d.ts
+++ b/api/@internal/component/ets/time_picker.d.ts
@@ -18,14 +18,6 @@
* @kit ArkUI
*/
-/*** if arkts 1.2 */
-import { ResourceColor, Offset } from './units';
-import { CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType,
- BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional, Callback, DateTimeOptions, Bindable } from './common';
-import { DialogAlignment } from './alertDialog';
-import { CrownSensitivity } from './enums';
-/*** endif */
-
/**
* Defines the struct of TimePickerResult.
*
@@ -48,8 +40,7 @@ import { CrownSensitivity } from './enums';
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TimePickerResult {
/**
@@ -74,8 +65,7 @@ declare interface TimePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
hour: number;
@@ -101,8 +91,7 @@ declare interface TimePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
minute: number;
@@ -113,8 +102,7 @@ declare interface TimePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
second: number;
}
@@ -132,8 +120,7 @@ declare interface TimePickerResult {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
declare enum TimePickerFormat {
/**
@@ -147,8 +134,7 @@ declare enum TimePickerFormat {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
HOUR_MINUTE,
@@ -163,8 +149,7 @@ declare enum TimePickerFormat {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
HOUR_MINUTE_SECOND,
}
@@ -191,8 +176,7 @@ declare enum TimePickerFormat {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TimePickerOptions {
/**
@@ -221,18 +205,6 @@ declare interface TimePickerOptions {
*/
selected?: Date;
- /**
- * Specifies the time selector check time.
- *
- * @type { ?(Date | Bindable) }
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- selected?: Date | Bindable;
-
/**
* Specifies the format of the TimePicker that need to be displayed.
*
@@ -250,8 +222,7 @@ declare interface TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
format?: TimePickerFormat;
@@ -262,8 +233,7 @@ declare interface TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
start?: Date;
@@ -274,8 +244,7 @@ declare interface TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
end?: Date;
}
@@ -302,8 +271,7 @@ declare interface TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
interface TimePickerInterface {
/**
@@ -331,8 +299,7 @@ interface TimePickerInterface {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
(options?: TimePickerOptions): TimePickerAttribute;
}
@@ -354,8 +321,7 @@ declare type DateTimeOptions = import('../api/@ohos.intl').default.DateTimeOptio
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
declare type OnTimePickerChangeCallback = (result: TimePickerResult) => void;
@@ -381,8 +347,7 @@ declare type OnTimePickerChangeCallback = (result: TimePickerResult) => void;
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class TimePickerAttribute extends CommonMethod {
/**
@@ -410,8 +375,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
useMilitaryTime(value: boolean): TimePickerAttribute;
@@ -423,8 +387,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
useMilitaryTime(isMilitaryTime: Optional): TimePickerAttribute;
@@ -443,8 +406,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
loop(value: boolean): TimePickerAttribute;
@@ -455,8 +417,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
loop(isLoop: Optional): TimePickerAttribute;
@@ -477,8 +438,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
disappearTextStyle(value: PickerTextStyle): TimePickerAttribute;
@@ -490,8 +450,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
disappearTextStyle(style: Optional): TimePickerAttribute;
@@ -512,8 +471,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
textStyle(value: PickerTextStyle): TimePickerAttribute;
@@ -525,8 +483,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
textStyle(style: Optional): TimePickerAttribute;
@@ -547,8 +504,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedTextStyle(value: PickerTextStyle): TimePickerAttribute;
@@ -560,8 +516,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
selectedTextStyle(style: Optional): TimePickerAttribute;
@@ -573,9 +528,8 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
- */
+ * @since 12
+ */
dateTimeOptions(value: DateTimeOptions): TimePickerAttribute;
/**
@@ -586,9 +540,8 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
- */
+ * @since 18
+ */
dateTimeOptions(timeFormat: Optional): TimePickerAttribute;
/**
@@ -628,8 +581,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onChange(callback: Optional): TimePickerAttribute;
@@ -641,8 +593,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onEnterSelectedArea(callback: Callback): TimePickerAttribute;
@@ -653,8 +604,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @returns { TimePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
enableHapticFeedback(enable: boolean): TimePickerAttribute;
@@ -665,8 +615,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @returns { TimePickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableHapticFeedback(enable: Optional): TimePickerAttribute;
@@ -678,8 +627,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
digitalCrownSensitivity(sensitivity: Optional): TimePickerAttribute;
@@ -691,8 +639,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableCascade(enabled: boolean): TimePickerAttribute;
}
@@ -722,8 +669,7 @@ declare class TimePickerAttribute extends CommonMethod {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare interface TimePickerDialogOptions extends TimePickerOptions {
/**
@@ -748,8 +694,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
useMilitaryTime?: boolean;
@@ -768,8 +713,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
disappearTextStyle?: PickerTextStyle;
@@ -788,8 +732,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
textStyle?: PickerTextStyle;
@@ -800,8 +743,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
acceptButtonStyle?: PickerDialogButtonStyle;
@@ -812,8 +754,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
cancelButtonStyle?: PickerDialogButtonStyle;
@@ -832,8 +773,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
selectedTextStyle?: PickerTextStyle;
@@ -852,8 +792,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
maskRect?: Rectangle;
@@ -872,8 +811,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
alignment?: DialogAlignment;
@@ -892,8 +830,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
offset?: Offset;
@@ -919,8 +856,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onAccept?: (value: TimePickerResult) => void;
@@ -946,8 +882,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onCancel?: () => void;
@@ -973,8 +908,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
onChange?: (value: TimePickerResult) => void;
@@ -985,8 +919,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
onEnterSelectedArea?: Callback;
@@ -1007,8 +940,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundColor?: ResourceColor;
@@ -1029,8 +961,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
backgroundBlurStyle?: BlurStyle;
@@ -1041,8 +972,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
@@ -1053,8 +983,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'19','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 19
*/
backgroundEffect?: BackgroundEffectOptions;
@@ -1066,8 +995,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableCascade?: boolean;
@@ -1078,8 +1006,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onDidAppear?: () => void;
@@ -1090,8 +1017,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onDidDisappear?: () => void;
@@ -1102,8 +1028,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onWillAppear?: () => void;
@@ -1114,8 +1039,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
onWillDisappear?: () => void;
@@ -1126,8 +1050,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
shadow?: ShadowOptions | ShadowStyle;
@@ -1138,11 +1061,10 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
dateTimeOptions?: DateTimeOptions;
-
+
/**
* Defines whether to respond to the hover mode.
*
@@ -1151,8 +1073,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
enableHoverMode?: boolean;
@@ -1164,8 +1085,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'14','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 14
*/
hoverModeArea?: HoverModeAreaType;
@@ -1176,8 +1096,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @default true
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'18','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 18
*/
enableHapticFeedback?: boolean;
}
@@ -1201,8 +1120,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'11','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 11
*/
declare class TimePickerDialog {
/**
diff --git a/api/@ohos.arkui.drawableDescriptor.d.ts b/api/@ohos.arkui.drawableDescriptor.d.ts
index e57f057fc71547d07bb5349a5e903c81e25d4ed9..e3e85be516aa93036422a6b7c2657f53977e8ac1 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.
*
@@ -96,17 +39,15 @@ declare interface DrawableDescriptorOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
-export declare class DrawableDescriptor {
+export class DrawableDescriptor {
/**
* Creates a new DrawableDescriptor.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @systemapi Hide this for inner system use.
- * @since arkts {'1.1':'10','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 10
*/
constructor();
@@ -135,66 +76,6 @@ export declare class DrawableDescriptor {
* @since 12
*/
getPixelMap(): image.PixelMap;
-
- /**
- * Get pixelMap of drawable image.
- *
- * @returns { image.PixelMap | undefined } Return the PixelMap of the calling DrawableDescriptor object.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- getPixelMap(): image.PixelMap | undefined;
-
- /**
- * 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;
}
/**
@@ -219,20 +100,18 @@ export declare class DrawableDescriptor {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
-export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
+export class LayeredDrawableDescriptor extends DrawableDescriptor {
/**
* Creates a new LayeredDrawableDescriptor.
- *
+ *
* @param { DrawableDescriptor } [foreground] - Indicates the foreground option to create LayeredDrawableDescriptor.
* @param { DrawableDescriptor } [background] - Indicates the background option to create LayeredDrawableDescriptor.
* @param { DrawableDescriptor } [mask] - Indicates the mask option to create LayeredDrawableDescriptor.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
constructor(
foreground?: DrawableDescriptor,
@@ -266,18 +145,6 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
*/
getForeground(): DrawableDescriptor;
- /**
- * Get DrawableDescriptor for the foreground.
- *
- * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of foreground.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- getForeground(): DrawableDescriptor | undefined;
-
/**
* Get DrawableDescriptor for the background.
*
@@ -304,18 +171,6 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
*/
getBackground(): DrawableDescriptor;
- /**
- * Get DrawableDescriptor for the background.
- *
- * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of background.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- getBackground(): DrawableDescriptor | undefined;
-
/**
* Get DrawableDescriptor for the mask.
*
@@ -342,18 +197,6 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
*/
getMask(): DrawableDescriptor;
- /**
- * Get DrawableDescriptor for the mask.
- *
- * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of mask.
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 20
- * @arkts 1.2
- */
- getMask(): DrawableDescriptor | undefined;
-
/**
* Get the clip path info of the adaptive icon mask.
@@ -377,8 +220,7 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
static getMaskClipPath(): string;
}
@@ -389,30 +231,17 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
* @extends DrawableDescriptor
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
-export declare class PixelMapDrawableDescriptor extends DrawableDescriptor {
+export class PixelMapDrawableDescriptor extends DrawableDescriptor {
/**
* Creates a new PixelMapDrawableDescriptor.
* @param { image.PixelMap } src - Indicates the resource to create PixelMapDrawableDescriptor.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
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);
}
/**
@@ -422,10 +251,9 @@ export declare class PixelMapDrawableDescriptor extends DrawableDescriptor {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
-export declare interface AnimationOptions {
+declare interface AnimationOptions {
/**
* The duration of animation playback once.
*
@@ -433,8 +261,7 @@ export declare interface AnimationOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
duration?: number;
/**
@@ -444,21 +271,9 @@ export declare interface AnimationOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
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;
}
/**
@@ -468,10 +283,9 @@ export declare interface AnimationOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
-export declare class AnimatedDrawableDescriptor extends DrawableDescriptor {
+export class AnimatedDrawableDescriptor extends DrawableDescriptor {
/**
* Creates a new AnimatedDrawableDescriptor.
*
@@ -480,53 +294,7 @@ export declare class AnimatedDrawableDescriptor extends DrawableDescriptor {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
- * @since arkts {'1.1':'12','1.2':'20'}
- * @arkts 1.1&1.2
+ * @since 12
*/
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;
}
diff --git a/api/@ohos.arkui.drawableDescriptor.static.d.ets b/api/@ohos.arkui.drawableDescriptor.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..7aa2e8cbe8d78900ad5cdbc785514ce1d5315f58
--- /dev/null
+++ b/api/@ohos.arkui.drawableDescriptor.static.d.ets
@@ -0,0 +1,172 @@
+'use static';
+/*
+ * Copyright (c) 2023-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
+ * @arkts 1.2
+ */
+
+import image from './@ohos.multimedia.image';
+
+/**
+ * Use the DrawableDescriptor class to get drawable image.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class DrawableDescriptor {
+ /**
+ * Creates a new DrawableDescriptor.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi Hide this for inner system use.
+ * @since 20
+ */
+ constructor();
+
+ /**
+ * Get pixelMap of drawable image.
+ *
+ * @returns { image.PixelMap | undefined } Return the PixelMap of the calling DrawableDescriptor object.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ getPixelMap(): image.PixelMap | undefined;
+}
+
+/**
+ * Use the LayeredDrawableDescriptor class to get the foreground, the background and the mask DrawableDescriptor.
+ *
+ * @extends DrawableDescriptor
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class LayeredDrawableDescriptor extends DrawableDescriptor {
+ /**
+ * Creates a new LayeredDrawableDescriptor.
+ *
+ * @param { DrawableDescriptor } [foreground] - Indicates the foreground option to create LayeredDrawableDescriptor.
+ * @param { DrawableDescriptor } [background] - Indicates the background option to create LayeredDrawableDescriptor.
+ * @param { DrawableDescriptor } [mask] - Indicates the mask option to create LayeredDrawableDescriptor.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor(
+ foreground?: DrawableDescriptor,
+ background?: DrawableDescriptor,
+ mask?: DrawableDescriptor
+ );
+
+ /**
+ * Get DrawableDescriptor for the foreground.
+ *
+ * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of foreground.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ getForeground(): DrawableDescriptor | undefined;
+
+ /**
+ * Get DrawableDescriptor for the background.
+ *
+ * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of background.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ getBackground(): DrawableDescriptor | undefined;
+
+ /**
+ * Get DrawableDescriptor for the mask.
+ *
+ * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of mask.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ getMask(): DrawableDescriptor | undefined;
+
+ /**
+ * Get the clip path info of the adaptive icon mask.
+ *
+ * @returns { string } Return the clip path info of mask.
+ * @static
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ static getMaskClipPath(): string;
+}
+
+/**
+ * Use the PixelMapDrawableDescriptor class to get the resource of pixelmap or resource descriptor information.
+ *
+ * @extends DrawableDescriptor
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class PixelMapDrawableDescriptor extends DrawableDescriptor {
+ /**
+ * Creates a new PixelMapDrawableDescriptor.
+ * @param { image.PixelMap } [src] - Indicates the resource to create PixelMapDrawableDescriptor.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor(src?: image.PixelMap);
+}
+
+/**
+ * Animation control options
+ *
+ * @interface AnimationOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export interface AnimationOptions {
+ /**
+ * The duration of animation playback once.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ duration?: number;
+ /**
+ * Animation playback times.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ iterations?: number;
+}
+
+/**
+ * Define the data structure for PixelMap animations.
+ *
+ * @extends DrawableDescriptor
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class AnimatedDrawableDescriptor extends DrawableDescriptor {
+ /**
+ * Creates a new AnimatedDrawableDescriptor.
+ *
+ * @param { Array } pixelMaps - PixelMap List.
+ * @param { AnimationOptions } [options] - Animation control options.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor(pixelMaps: Array, options?: AnimationOptions);
+}
diff --git a/api/arkui/component/imageCommon.d.ets b/api/arkui/CalendarPickerModifier.static.d.ets
similarity index 44%
rename from api/arkui/component/imageCommon.d.ets
rename to api/arkui/CalendarPickerModifier.static.d.ets
index a6a2bae70bd3713625c89ceb5b43880e70062a9c..3f5e55887f3a2b2a47f88ef8a5023e4d3236a5e5 100644
--- a/api/arkui/component/imageCommon.d.ets
+++ b/api/arkui/CalendarPickerModifier.static.d.ets
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * 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
+ * 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,
@@ -12,28 +12,21 @@
* 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 { CalendarPickerAttribute } from './component/calendarPicker';
-// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION!
-
-import { memo, ComponentBuilder, __memo_context_type, __memo_id_type } from './../stateManagement/runtime'
-export enum ImageAnalyzerType {
- SUBJECT = 0,
- TEXT = 1,
- OBJECT_LOOKUP = 2
-}
-export interface ImageAnalyzerController {
- getImageAnalyzerSupportTypes(): Array
-}
-export interface ImageAnalyzerConfig {
- types: Array;
-}
-export interface ImageAIOptions {
- types?: Array;
- aiController?: ImageAnalyzerController;
-}
+/**
+ * Defines CalendarPicker Modifier
+ *
+ * @implements { CalendarPickerAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class CalendarPickerModifier implements CalendarPickerAttribute, AttributeModifier {}
diff --git a/api/arkui/CounterModifier.static.d.ets b/api/arkui/CounterModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..47cadc4513ef73ace53a901db64297ccdc667150
--- /dev/null
+++ b/api/arkui/CounterModifier.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 { CounterAttribute } from './component/counter';
+
+/**
+ * Defines Counter Modifier
+ *
+ * @implements { CounterAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class CounterModifier implements CounterAttribute, AttributeModifier {}
diff --git a/api/arkui/DataPanelModifier.static.d.ets b/api/arkui/DataPanelModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..a84eb141b7b7c5e240a193394591804f4cb75bf9
--- /dev/null
+++ b/api/arkui/DataPanelModifier.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 { DataPanelAttribute } from './component/dataPanel';
+
+/**
+ * Defines DataPanel Modifier
+ *
+ * @implements { DataPanelAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class DataPanelModifier implements DataPanelAttribute, AttributeModifier {}
diff --git a/api/arkui/DatePickerModifier.d.ts b/api/arkui/DatePickerModifier.d.ts
index 39ec1d9de75bf1db29b2158e6020be67c41079ba..17395d0b5b27abe6bb9e1102ed3c759817b6fc98 100755
--- a/api/arkui/DatePickerModifier.d.ts
+++ b/api/arkui/DatePickerModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class DatePickerModifier extends DatePickerAttribute implements AttributeModifier {
+ export declare class DatePickerModifier extends DatePickerAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { DatePickerAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: DatePickerAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { DatePickerAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: DatePickerAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/DatePickerModifier.static.d.ets b/api/arkui/DatePickerModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..4ab1d448cff51a0ca3edd7503ffabf01c5d75df7
--- /dev/null
+++ b/api/arkui/DatePickerModifier.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 { DatePickerAttribute } from './component/datePicker';
+
+/**
+ * Defines DatePicker Modifier
+ *
+ * @implements { DatePickerAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class DatePickerModifier implements DatePickerAttribute, AttributeModifier {}
diff --git a/api/arkui/FrameNode.static.d.ets b/api/arkui/FrameNode.static.d.ets
index 1c1b1fecf268f2f285a4de8a716cad7f9339e549..e5f40522a3fb9d7687b1b9c06e1a69dce10c3b3f 100644
--- a/api/arkui/FrameNode.static.d.ets
+++ b/api/arkui/FrameNode.static.d.ets
@@ -65,6 +65,10 @@ import { SliderAttribute, SliderOptions } from './component/slider';
import { ToggleAttribute, ToggleOptions } from './component/toggle';
import { CheckboxGroupAttribute, CheckboxGroupOptions } from './component/checkboxgroup';
import { RatingAttribute, RatingOptions } from './component/rating';
+import image from '../@ohos.multimedia.image';
+import { ImageAIOptions } from './component/imageCommon';
+import { ResourceStr } from './component/units';
+import { LoadingProgressAttribute } from './component/loadingProgress';
/**
* Layout constraint, include the max size, the min size and the reference size for children to calculate percent.
@@ -765,7 +769,14 @@ export declare namespace typeNode {
createGridRowNode,
createGridColNode,
createDividerNode,
- createBlankNode
+ createBlankNode,
+ createImageNode,
+ createQRCodeNode,
+ createTextTimerNode,
+ createTextClockNode,
+ createLoadingProgressNode,
+ createProgressNode,
+ createBadgeNode,
}
/**
@@ -1078,6 +1089,44 @@ export declare namespace typeNode {
*/
export function createDividerNode(context: UIContext, nodeType: 'Divider'): Divider;
+ /**
+ * Define the LoadingProgress type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class LoadingProgressFrameNode extends TypedFrameNode {
+ /**
+ * Initialize LoadingProgress FrameNode.
+ *
+ * @returns { LoadingProgressAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(): LoadingProgressAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for LoadingProgress.
+ *
+ * @typedef { LoadingProgressFrameNode } LoadingProgress
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type LoadingProgress = LoadingProgressFrameNode;
+
+ /**
+ * Create a FrameNode of LoadingProgress type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'LoadingProgress' } nodeType - node type.
+ * @returns { LoadingProgress } - Return LoadingProgress type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createLoadingProgressNode(context: UIContext, nodeType: 'LoadingProgress'): LoadingProgress;
+
/**
* Define the Blank type of FrameNode.
*
@@ -1117,6 +1166,66 @@ export declare namespace typeNode {
*/
export function createBlankNode(context: UIContext, nodeType: 'Blank'): Blank;
+ /**
+ * Define the Image type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class ImageFrameNode extends TypedFrameNode {
+ /**
+ * Initialize Image FrameNode.
+ *
+ * @param { image.PixelMap | ResourceStr | DrawableDescriptor } src
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(src: image.PixelMap | ResourceStr | DrawableDescriptor): ImageAttribute;
+
+ /**
+ * Initialize Image FrameNode.
+ *
+ * @param { image.PixelMap | ResourceStr | DrawableDescriptor | ImageContent } src
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(src: image.PixelMap | ResourceStr | DrawableDescriptor | ImageContent): ImageAttribute;
+
+ /**
+ * Initialize Image FrameNode.
+ *
+ * @param { image.PixelMap | ResourceStr | DrawableDescriptor } src
+ * @param { ImageAIOptions } value
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(src: image.PixelMap | ResourceStr | DrawableDescriptor, value: ImageAIOptions): ImageAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for Image.
+ *
+ * @typedef { ImageFrameNode } Image
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type Image = ImageFrameNode;
+
+ /**
+ * Create a FrameNode of Image type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'Image' } nodeType - node type.
+ * @returns { Image } - Return Image type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createImageNode(context: UIContext, nodeType: 'Image'): Image;
+
/**
* Define the List type of FrameNode.
*
@@ -1234,6 +1343,45 @@ export declare namespace typeNode {
*/
export function createListItemGroupNode(context: UIContext, nodeType: 'ListItemGroup'): ListItemGroup;
+ /**
+ * Define the Progress type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class ProgressFrameNode extends TypedFrameNode {
+ /**
+ * Initialize Progress FrameNode.
+ *
+ * @param { ProgressOptions } value
+ * @returns { ProgressAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(value: ProgressOptions): ProgressAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for Progress.
+ *
+ * @typedef { ProgressFrameNode } Progress
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type Progress = ProgressFrameNode;
+
+ /**
+ * Create a FrameNode of Progress type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'Progress' } nodeType - node type.
+ * @returns { Progress } - Return Progress type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createProgressNode(context: UIContext, nodeType: 'Progress'): Progress;
+
/**
* Define the Scroll type of FrameNode.
*
@@ -1273,6 +1421,84 @@ export declare namespace typeNode {
*/
export function createScrollNode(context: UIContext, nodeType: 'Scroll'): Scroll;
+ /**
+ * Define the TextClock type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class TextClockFrameNode extends TypedFrameNode {
+ /**
+ * Initialize TextClock FrameNode.
+ *
+ * @param { TextClockOptions } [options]
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(options?: TextClockOptions): TextClockAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for TextClock.
+ *
+ * @typedef { TextClockFrameNode } TextClock
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type TextClock = TextClockFrameNode;
+
+ /**
+ * Create a FrameNode of TextClock type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'TextClock' } nodeType - node type.
+ * @returns { TextClock } - Return TextClock type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createTextClockNode(context: UIContext, nodeType: 'TextClock'): TextClock;
+
+ /**
+ * Define the TextTimer type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class TextTimerFrameNode extends TypedFrameNode {
+ /**
+ * Initialize TextTimer FrameNode.
+ *
+ * @param { TextTimerOptions } [options]
+ * @returns { TextTimerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(options?: TextTimerOptions): TextTimerAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for TextTimer.
+ *
+ * @typedef { TextTimerFrameNode } TextTimer
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type TextTimer = TextTimerFrameNode;
+
+ /**
+ * Create a FrameNode of TextTimer type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'TextTimer' } nodeType - node type.
+ * @returns { TextTimer } - Return TextTimer type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createTextTimerNode(context: UIContext, nodeType: 'TextTimer'): TextTimer;
+
/**
* Define the Grid type of FrameNode.
*
@@ -1625,6 +1851,94 @@ export declare namespace typeNode {
*/
export function createSymbolGlyphNode(context: UIContext, nodeType: 'SymbolGlyph'): SymbolGlyph;
+ /**
+ * Define the QRCode type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class QRCodeFrameNode extends TypedFrameNode {
+ /**
+ * Initialize QRCode FrameNode.
+ *
+ * @param { string } value
+ * @returns { QRCodeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(value: string): QRCodeAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for QRCode.
+ *
+ * @typedef { QRCodeFrameNode } QRCode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type QRCode = QRCodeFrameNode;
+
+ /**
+ * Create a FrameNode of QRCode type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'QRCode' } nodeType - node type.
+ * @returns { QRCode } - Return QRCode type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createQRCodeNode(context: UIContext, nodeType: 'QRCode'): QRCode;
+
+ /**
+ * Define the Badge type of FrameNode.
+ *
+ * @extends TypedFrameNode
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract class BadgeFrameNode extends TypedFrameNode {
+ /**
+ * Initialize Badge FrameNode.
+ *
+ * @param { BadgeParamWithNumber } value
+ * @returns { BadgeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(value: BadgeParamWithNumber): BadgeAttribute;
+
+ /**
+ * Initialize Badge FrameNode.
+ *
+ * @param { BadgeParamWithString } value
+ * @returns { BadgeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ abstract initialize(value: BadgeParamWithString): BadgeAttribute;
+ }
+
+ /**
+ * Define the FrameNode type for Badge.
+ *
+ * @typedef { BadgeFrameNode } Badge
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type Badge = BadgeFrameNode;
+
+ /**
+ * Create a FrameNode of Badge type.
+ *
+ * @param { UIContext } context - uiContext used to create the FrameNode.
+ * @param { 'Badge' } nodeType - node type.
+ * @returns { Badge } - Return Badge type FrameNode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ export function createBadgeNode(context: UIContext, nodeType: 'Badge'): Badge;
+
/**
* Define the Marquee type of FrameNode.
*
diff --git a/api/arkui/GaugeModifier.d.ts b/api/arkui/GaugeModifier.d.ts
index 0df4e35e79e68da1680ca0804f3ec3ddf2d1b430..ae81e8c6c090d67e94549e9c66465f4ef6bd6e4d 100755
--- a/api/arkui/GaugeModifier.d.ts
+++ b/api/arkui/GaugeModifier.d.ts
@@ -39,16 +39,17 @@
* @atomicservice
* @since 20
*/
-export declare class GaugeModifier extends GaugeAttribute implements AttributeModifier {
+ export declare class GaugeModifier extends GaugeAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { GaugeAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: GaugeAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { GaugeAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: GaugeAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/GaugeModifier.static.d.ets b/api/arkui/GaugeModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..16f32fd4f8c8035ffb5b4eb2765a6e860b816ee2
--- /dev/null
+++ b/api/arkui/GaugeModifier.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 { GaugeAttribute } from './component/gauge';
+
+/**
+ * Defines Gauge Modifier
+ *
+ * @implements { GaugeAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class GaugeModifier implements GaugeAttribute, AttributeModifier {}
diff --git a/api/arkui/ImageAnimatorModifier.d.ts b/api/arkui/ImageAnimatorModifier.d.ts
index f5c55726a05e84c1b05cdd0600146fb20e7502b5..1d218be07077c523cddba8b1f3e77d7eb597397f 100755
--- a/api/arkui/ImageAnimatorModifier.d.ts
+++ b/api/arkui/ImageAnimatorModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class ImageAnimatorModifier extends ImageAnimatorAttribute implements AttributeModifier {
+ export declare class ImageAnimatorModifier extends ImageAnimatorAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { ImageAnimatorAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: ImageAnimatorAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { ImageAnimatorAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: ImageAnimatorAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/ImageAnimatorModifier.static.d.ets b/api/arkui/ImageAnimatorModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..df7390eb8b5dd866602e42226b63978d78828bbe
--- /dev/null
+++ b/api/arkui/ImageAnimatorModifier.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 { ImageAnimatorAttribute } from './component/imageAnimator';
+
+/**
+ * Defines ImageAnimator Modifier
+ *
+ * @implements { ImageAnimatorAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class ImageAnimatorModifier implements ImageAnimatorAttribute, AttributeModifier {}
diff --git a/api/arkui/ImageModifier.static.d.ets b/api/arkui/ImageModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..20e1f1aa9669fdb2b9ebe1325fffc04d1ac97a54
--- /dev/null
+++ b/api/arkui/ImageModifier.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 { ImageAttribute } from './component/image';
+
+/**
+ * Defines Image Modifier
+ *
+ * @implements { ImageAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class ImageModifier implements ImageAttribute, AttributeModifier {}
diff --git a/api/arkui/LoadingProgressModifier.d.ts b/api/arkui/LoadingProgressModifier.d.ts
index cef52dec6287f8e1fdedb171f48fad0a389f0e0e..aff18090c2cd4f8549c6fed7ffe51118b2b0948d 100755
--- a/api/arkui/LoadingProgressModifier.d.ts
+++ b/api/arkui/LoadingProgressModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class LoadingProgressModifier extends LoadingProgressAttribute implements AttributeModifier {
+ export declare class LoadingProgressModifier extends LoadingProgressAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { LoadingProgressAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: LoadingProgressAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { LoadingProgressAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: LoadingProgressAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/LoadingProgressModifier.static.d.ets b/api/arkui/LoadingProgressModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..6949055472c92ce929d823fa6f82ddfb850ee83c
--- /dev/null
+++ b/api/arkui/LoadingProgressModifier.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 { LoadingProgressAttribute } from './component/loadingProgress';
+
+/**
+ * Defines LoadingProgress Modifier
+ *
+ * @implements { LoadingProgressAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class LoadingProgressModifier implements LoadingProgressAttribute, AttributeModifier {}
diff --git a/api/arkui/PatternLockModifier.d.ts b/api/arkui/PatternLockModifier.d.ts
index fb9cbd2e69f83df7470306df3440984268508604..1a46b6dc48bd0b746d9f414ae2ca4f34b47c8022 100755
--- a/api/arkui/PatternLockModifier.d.ts
+++ b/api/arkui/PatternLockModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class PatternLockModifier extends PatternLockAttribute implements AttributeModifier {
+ export declare class PatternLockModifier extends PatternLockAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { PatternLockAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: PatternLockAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { PatternLockAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: PatternLockAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/PatternLockModifier.static.d.ets b/api/arkui/PatternLockModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..1ff4ef09e22cdf25711dbc01060a6192200401fa
--- /dev/null
+++ b/api/arkui/PatternLockModifier.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 { PatternLockAttribute } from './component/patternLock';
+
+/**
+ * Defines PatternLock Modifier
+ *
+ * @implements { PatternLockAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class PatternLockModifier implements PatternLockAttribute, AttributeModifier {}
diff --git a/api/arkui/ProgressModifier.static.d.ets b/api/arkui/ProgressModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..9a4b4fc53a4863b0d3d1e11079ab2116a64da50d
--- /dev/null
+++ b/api/arkui/ProgressModifier.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 { ProgressAttribute } from './component/progress';
+
+/**
+ * Defines Progress Modifier
+ *
+ * @implements { ProgressAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class ProgressModifier implements ProgressAttribute, AttributeModifier {}
diff --git a/api/arkui/QRCodeModifier.d.ts b/api/arkui/QRCodeModifier.d.ts
index 5ea172c0f3fe0fa7f2fdb3f0a8b667fec892f0ef..9af7096a96b96f735330fc59f3dd25583a724dcf 100644
--- a/api/arkui/QRCodeModifier.d.ts
+++ b/api/arkui/QRCodeModifier.d.ts
@@ -25,11 +25,23 @@
* Defines QRCode Modifier
*
* @extends QRCodeAttribute
- * @implements AttributeModifier
+ * @implements { AttributeModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
* @atomicservice
* @since 12
*/
+/**
+ * Defines QRCode Modifier
+ *
+ * @extends QRCodeAttribute
+ * @implements { AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 20
+ * @noninterop
+ */
export declare class QRCodeModifier extends QRCodeAttribute implements AttributeModifier {
/**
diff --git a/api/arkui/QRCodeModifier.static.d.ets b/api/arkui/QRCodeModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..13b19f1e7627e5ee3fb6f700d64a301107ae8303
--- /dev/null
+++ b/api/arkui/QRCodeModifier.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 { QRCodeAttribute } from './component/qrcode';
+
+/**
+ * Defines QRCode Modifier
+ *
+ * @implements { QRCodeAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class QRCodeModifier implements QRCodeAttribute, AttributeModifier {}
diff --git a/api/arkui/TextClockModifier.d.ts b/api/arkui/TextClockModifier.d.ts
index 567b903e8545d5ebf4475eac5232cbe4da60a52c..6202ad05ad6e2fe964ff150743db8214f2ac6488 100755
--- a/api/arkui/TextClockModifier.d.ts
+++ b/api/arkui/TextClockModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class TextClockModifier extends TextClockAttribute implements AttributeModifier {
+ export declare class TextClockModifier extends TextClockAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { TextClockAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: TextClockAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { TextClockAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: TextClockAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/TextClockModifier.static.d.ets b/api/arkui/TextClockModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..5e73df428109216b6e5f8948cadd719d351cfc88
--- /dev/null
+++ b/api/arkui/TextClockModifier.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 { TextClockAttribute } from './component/textClock';
+
+/**
+ * Defines TextClock Modifier
+ *
+ * @implements { TextClockAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class TextClockModifier implements TextClockAttribute, AttributeModifier {}
diff --git a/api/arkui/TextPickerModifier.d.ts b/api/arkui/TextPickerModifier.d.ts
index 79d847a8cb30d5170473a832bebfe1a38aa0c309..5c3b23651467247ed28c13becb9a27f4ee2ec4c2 100755
--- a/api/arkui/TextPickerModifier.d.ts
+++ b/api/arkui/TextPickerModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class TextPickerModifier extends TextPickerAttribute implements AttributeModifier {
+ export declare class TextPickerModifier extends TextPickerAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { TextPickerAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: TextPickerAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { TextPickerAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: TextPickerAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/TextPickerModifier.static.d.ets b/api/arkui/TextPickerModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..b25eb0b7050dd85594b5c5211159ade64d19c390
--- /dev/null
+++ b/api/arkui/TextPickerModifier.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 { TextPickerAttribute } from './component/textPicker';
+
+/**
+ * Defines TextPicker Modifier
+ *
+ * @implements { TextPickerAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class TextPickerModifier implements TextPickerAttribute, AttributeModifier {}
diff --git a/api/arkui/TextTimerModifier.d.ts b/api/arkui/TextTimerModifier.d.ts
index dc04fec3c46b85874f408700218cb26c62c7ede0..077408c26a5fe9654beb9bbddd89ef83c18b8cde 100755
--- a/api/arkui/TextTimerModifier.d.ts
+++ b/api/arkui/TextTimerModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class TextTimerModifier extends TextTimerAttribute implements AttributeModifier {
+ export declare class TextTimerModifier extends TextTimerAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { TextTimerAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: TextTimerAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { TextTimerAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: TextTimerAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/TextTimerModifier.static.d.ets b/api/arkui/TextTimerModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..82ff1743ec0363b89d121ab0a4de214a2250c927
--- /dev/null
+++ b/api/arkui/TextTimerModifier.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 { TextTimerAttribute } from './component/textTimer';
+
+/**
+ * Defines TextTimer Modifier
+ *
+ * @implements { TextTimerAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class TextTimerModifier implements TextTimerAttribute, AttributeModifier {}
diff --git a/api/arkui/TimePickerModifier.d.ts b/api/arkui/TimePickerModifier.d.ts
index 01403542df746aefc3df49df29e98840dfda09c3..1e891b50e7c8ec33af31f61fcadc66dc48067936 100755
--- a/api/arkui/TimePickerModifier.d.ts
+++ b/api/arkui/TimePickerModifier.d.ts
@@ -40,16 +40,17 @@
* @atomicservice
* @since 20
*/
-export declare class TimePickerModifier extends TimePickerAttribute implements AttributeModifier {
+ export declare class TimePickerModifier extends TimePickerAttribute implements AttributeModifier {
- /**
- * Defines the normal update attribute function.
- *
- * @param { TimePickerAttribute } instance
- * @syscap SystemCapability.ArkUI.ArkUI.Full
- * @crossplatform
- * @atomicservice
- * @since 12
- */
- applyNormalAttribute?(instance: TimePickerAttribute): void;
-}
+ /**
+ * Defines the normal update attribute function.
+ *
+ * @param { TimePickerAttribute } instance
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @atomicservice
+ * @since 12
+ */
+ applyNormalAttribute?(instance: TimePickerAttribute): void;
+ }
+
\ No newline at end of file
diff --git a/api/arkui/TimePickerModifier.static.d.ets b/api/arkui/TimePickerModifier.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..adf1b9b0af5d3ff7ddd13a3ad43426f95f46304b
--- /dev/null
+++ b/api/arkui/TimePickerModifier.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 { TimePickerAttribute } from './component/timePicker';
+
+/**
+ * Defines TimePicker Modifier
+ *
+ * @implements { TimePickerAttribute, AttributeModifier }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class TimePickerModifier implements TimePickerAttribute, AttributeModifier {}
diff --git a/api/arkui/component/badge.static.d.ets b/api/arkui/component/badge.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..fa1850f453e6a9d16003d3a1b6b416b33526c32f
--- /dev/null
+++ b/api/arkui/component/badge.static.d.ets
@@ -0,0 +1,256 @@
+'use static';
+/*
+ * 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 { ResourceColor, Length, Position, Resource, ResourceStr } from "./units";
+import { FontWeight } from "./enums";
+import { CommonMethod } from './common';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier, CommonMethod } from "./common";
+
+/**
+ * Defines the badge position property.
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum BadgePosition {
+ /**
+ * The badge is displayed in the upper right corner of the parent component.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ RightTop,
+ /**
+ * The badge is vertically centered on the right of the parent component.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Right,
+ /**
+ * The badge is vertically centered on the left of the parent component.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Left
+}
+/**
+ * BadgeStyle object
+ *
+ * @interface BadgeStyle
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface BadgeStyle {
+ /**
+ * Font color.
+ *
+ * @type { ?ResourceColor }
+ * @default Color.White
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ color?: ResourceColor;
+ /**
+ * Text size.
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ fontSize?: number | string;
+ /**
+ * Size of a badge.
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ badgeSize?: number | string;
+ /**
+ * Badge color.
+ *
+ * @type { ?ResourceColor }
+ * @default Color.Red
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ badgeColor?: ResourceColor;
+ /**
+ * Border color of the background.
+ *
+ * @type { ?ResourceColor }
+ * @default Color.Red
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ borderColor?: ResourceColor;
+ /**
+ * Border width of the background.
+ * This parameter cannot be set in percentage.
+ * Unit: vp
+ *
+ * @type { ?Length }
+ * @default 1
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ borderWidth?: Length;
+ /**
+ * Define the font weight of the badge.
+ *
+ * @type { ?(number | FontWeight | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ fontWeight?: number | FontWeight | string;
+}
+/**
+ * Provides basic parameters for creating a badge.
+ *
+ * @interface BadgeParam
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface BadgeParam {
+ /**
+ * Position to display the badge relative to the parent component.
+ *
+ * NOTE:
+ *
With the Position type, percentage values are not supported.
+ *
If an invalid value is set, the default value (0,0),
+ * which indicates the upper left corner of the component, will be used.
+ *
With the BadgePosition type, the position is mirrored based on the Direction property.
+ *
+ *
+ * @type { ?(BadgePosition | Position) }
+ * @default BadgePosition.RightTop
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ position?: BadgePosition | Position;
+ /**
+ * Style of the badge, including the font color, font size, badge color, and badge size.
+ *
+ * @type { BadgeStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ style: BadgeStyle;
+}
+/**
+ * Inherits from BadgeParam and has all attributes of BadgeParam.
+ *
+ * @extends BadgeParam
+ * @interface BadgeParamWithNumber
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface BadgeParamWithNumber extends BadgeParam {
+ /**
+ * Number of notifications.
+ *
+ * NOTE:
+ *
If the value is less than or equal to 0 and less than the value of maxCount, no badge is displayed.
+ *
Value range: [-2147483648, 2147483647]
+ *
If the value is out of the range,
+ * it will be adjusted by adding or subtracting 4294967296 to bring it back within the range.
+ *
If the value is not an integer, it is rounded off to the nearest integer.
+ *
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ count: number;
+ /**
+ * Maximum number of notifications. When the maximum number is reached, only maxCount+ is displayed.
+ *
+ * NOTE:
+ *
Value range: [-2147483648, 2147483647]
+ *
If the value is out of the range,
+ * it will be adjusted by adding or subtracting 4294967296 to bring it back within the range.
+ *
If the value is not an integer, it is rounded off to the nearest integer.
+ *
+ *
+ * @type { ?number }
+ * @default 99
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ maxCount?: number;
+}
+/**
+ * Inherits from BadgeParam and has all attributes of BadgeParam.
+ *
+ * @extends BadgeParam
+ * @interface BadgeParamWithString
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface BadgeParamWithString extends BadgeParam {
+ /**
+ * Text string of the prompt content.
+ *
+ * @type { string }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ value: string;
+}
+/**
+ * Defines the Button component attributes.
+ *
+ * @extends CommonMethod
+ * @interface ButtonAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface BadgeAttribute extends CommonMethod {
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { BadgeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines Badge Component.
+ *
+ * @param { BadgeParamWithNumber | BadgeParamWithString } value
+ * @param { function } [content_] - container
+ * @returns { BadgeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function Badge(
+ value: BadgeParamWithNumber | BadgeParamWithString,
+ @memo
+ content_?: () => void
+): BadgeAttribute;
diff --git a/api/arkui/component/calendarPicker.static.d.ets b/api/arkui/component/calendarPicker.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..6285a58e00834a7c419937aec09b362a71b0628d
--- /dev/null
+++ b/api/arkui/component/calendarPicker.static.d.ets
@@ -0,0 +1,338 @@
+'use static';
+/*
+ * 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 { Resource } from '../../global/resource';
+import { CommonMethod, PickerTextStyle, Callback, BlurStyle, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, DateRange, BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional } from './common';
+import { Offset, ResourceColor, VoidCallback } from "./units";
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * The type of alignment between entry and calendar.
+ * @enum {number}
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum CalendarAlign {
+ /**
+ * The value of calendar align type start.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ START = 0,
+ /**
+ * The value of calendar align type center.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ CENTER = 1,
+ /**
+ * The value of calendar align type end.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ END = 2
+}
+/**
+ * Defines the options of CalendarPicker.
+ * @interface CalendarOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CalendarOptions {
+ /**
+ * Specifies the radius of the background of the day in calendar.
+ * @type { ?(number | Resource) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ hintRadius?: number | Resource;
+ /**
+ * Specifies the date selector check date.
+ * @type { ?Date }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ selected?: Date;
+ /**
+ * Defines the start date of the calendar date.
+ *
+ * @type { ?Date }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ start?: Date;
+ /**
+ * Defines the end date of the calendar date.
+ *
+ * @type { ?Date }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ end?: Date;
+ /**
+ * Defines the disabled date range for the calendar picker.
+ *
+ * @type { ?DateRange[] }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ disabledDateRange?: DateRange[];
+}
+/**
+ * Defines the CalendarPicker component attribute functions.
+ *
+ * @extends CommonMethod
+ * @interface CalendarPickerAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CalendarPickerAttribute extends CommonMethod {
+ /**
+ * Set the alignment between entry and calendar dialog.
+ * @param { CalendarAlign } alignType - The type of alignment between entry and calendar dialog.
+ * @param { Offset } [offset] - The offset between entry and calendar dialog.
+ * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): this;
+ /**
+ * Sets the text style of entry
+ * @param { PickerTextStyle } value - indicates the text style of entry.
+ * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default textStyle(value: PickerTextStyle | undefined): this;
+ /**
+ * Callback for selected date changed.
+ * Anonymous Object Rectification.
+ * @param { Callback } callback - callback for selected date changed.
+ * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onChange(callback: Callback | undefined): this;
+ /**
+ * Defines whether the calendar picker marks today.
+ *
+ * @param { boolean } enabled - whether the calendar picker marks today.
+ * @returns { CalendarPickerAttribute } the attribute of the calendar picker.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default markToday(enabled: boolean | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { CalendarPickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the DatePickerDialogOptions for Calendar Picker Dialog.
+ * @extends CalendarOptions
+ * @interface CalendarDialogOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CalendarDialogOptions extends CalendarOptions {
+ /**
+ * Called when the OK button in the dialog is clicked.
+ * Anonymous Object Rectification.
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onAccept?: Callback;
+ /**
+ * Called when the Cancel button in the dialog is clicked.
+ * Anonymous Object Rectification.
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onCancel?: VoidCallback;
+ /**
+ * This event is triggered when a date is selected in dialog.
+ * Anonymous Object Rectification.
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onChange?: Callback;
+ /**
+ * Defines the calendarPickerDialog's background color
+ *
+ * @type { ?ResourceColor }
+ * @default Color.Transparent
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundColor?: ResourceColor;
+ /**
+ * Defines the calendarPickerDialog's background blur Style
+ *
+ * @type { ?BlurStyle }
+ * @default BlurStyle.COMPONENT_ULTRA_THICK
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundBlurStyle?: BlurStyle;
+ /**
+ * Defines the calendarPickerDialog's background blur style with options
+ *
+ * @type { ?BackgroundBlurStyleOptions }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
+ /**
+ * Defines the calendarPickerDialog's background effect with options
+ *
+ * @type { ?BackgroundEffectOptions }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundEffect?: BackgroundEffectOptions;
+ /**
+ * Style of accept button.
+ *
+ * @type { ?PickerDialogButtonStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ acceptButtonStyle?: PickerDialogButtonStyle;
+ /**
+ * Style of cancel button.
+ *
+ * @type { ?PickerDialogButtonStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ cancelButtonStyle?: PickerDialogButtonStyle;
+ /**
+ * Callback function when the dialog appears.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onDidAppear?: VoidCallback;
+ /**
+ * Callback function when the dialog disappears.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onDidDisappear?: VoidCallback;
+ /**
+ * Callback function before the dialog openAnimation starts.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onWillAppear?: VoidCallback;
+ /**
+ * Callback function before the dialog closeAnimation starts.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onWillDisappear?: VoidCallback;
+ /**
+ * Defines the dialog's shadow.
+ *
+ * @type { ?(ShadowOptions | ShadowStyle) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ shadow?: ShadowOptions | ShadowStyle;
+ /**
+ * Defines whether to respond to the hover mode.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableHoverMode?: boolean;
+ /**
+ * Defines the dialog's display area in hover mode.
+ *
+ * @type { ?HoverModeAreaType }
+ * @default HoverModeAreaType.BOTTOM_SCREEN
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ hoverModeArea?: HoverModeAreaType;
+ /**
+ * Defines the calendar picker marks today.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ markToday?: boolean;
+}
+/**
+ * Defines CalendarPickerDialog which uses show method to show CalendarPicker dialog.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class CalendarPickerDialog {
+ /**
+ * Invoking method display.
+ * @param { CalendarDialogOptions } [options] - the option of th calendarPicker.
+ * @static
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ static show(options?: CalendarDialogOptions): void;
+}
+/**
+ * Defines CalendarPicker Component.
+ *
+ * @param { CalendarOptions } [options] - calendar options.
+ * @param { function } [content_]
+ * @returns { CalendarPickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function CalendarPicker(
+ options?: CalendarOptions,
+ @memo
+ content_?: () => void
+): CalendarPickerAttribute;
diff --git a/api/arkui/component/common.static.d.ets b/api/arkui/component/common.static.d.ets
index bd7324a7405e27684bdf12219309f7d669a91500..9f132fdaf03a5ec0d79b62561b862b91e72e12a0 100644
--- a/api/arkui/component/common.static.d.ets
+++ b/api/arkui/component/common.static.d.ets
@@ -15323,6 +15323,25 @@ export declare interface Bindable {
*/
readonly onChange: Callback;
}
+
+/**
+ * Defines the Two-way binding type of ResourceStr.
+ *
+ * @typedef { ResourceStr | Bindable | Bindable | Bindable }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare type BindableResourceStr = ResourceStr | Bindable | Bindable | Bindable;
+
+/**
+ * Defines the Two-way binding type of ResourceStr[].
+ *
+ * @typedef { ResourceStr[] | Bindable | Bindable | Bindable }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare type BindableResourceStrArray = ResourceStr[] | Bindable | Bindable | Bindable;
+
/**
* Convert to a bindable property.
*
diff --git a/api/arkui/component/counter.static.d.ets b/api/arkui/component/counter.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..e949d57cd812b721f33448542883f09ed8b8efe1
--- /dev/null
+++ b/api/arkui/component/counter.static.d.ets
@@ -0,0 +1,98 @@
+'use static';
+/*
+ * 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 { CommonMethod } from './common';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier, CommonMethod } from "./common";
+import { VoidCallback } from "./units";
+/**
+ * Defines the Counter component attributes.
+ *
+ * @extends CommonMethod
+ * @interface CounterAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CounterAttribute extends CommonMethod {
+ /**
+ * Listen to the event that the value increases.
+ * Anonymous Object Rectification.
+ *
+ * @param { VoidCallback | undefined } event
+ * @returns { CounterAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onInc(event: VoidCallback | undefined): this;
+ /**
+ * Listens to the number decrease event.
+ * Anonymous Object Rectification.
+ *
+ * @param { VoidCallback | undefined } event
+ * @returns { CounterAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onDec(event: VoidCallback | undefined): this;
+ /**
+ * Indicates whether the decrease button of counter component is available or not.
+ *
+ * @param { boolean } value - If true, the decrease button is available and can respond to
+ * operations such as clicking. If false, click operations are not responded.
+ * @returns { CounterAttribute } The attribute of the counter.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default enableDec(value: boolean | undefined): this;
+ /**
+ * Indicates whether the increase button of counter component is available or not.
+ *
+ * @param { boolean } value - If true, the increase button is available and can respond to
+ * operations such as clicking. If false, click operations are not responded.
+ * @returns { CounterAttribute } The attribute of the counter.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default enableInc(value: boolean | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { BadgeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the Counter component.
+ *
+ * @param { function } [content_]
+ * @returns { CounterAttribute } The attribute of the Counter.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function Counter(
+ @memo
+ content_?: () => void
+): CounterAttribute;
diff --git a/api/arkui/component/dataPanel.static.d.ets b/api/arkui/component/dataPanel.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..2deff361c34f8b71d79b97ab4ad8b12111fcdbd6
--- /dev/null
+++ b/api/arkui/component/dataPanel.static.d.ets
@@ -0,0 +1,254 @@
+'use static';
+/*
+ * 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 { ResourceColor, Length } from "./units";
+import { CommonMethod, ContentModifier, CommonConfiguration, MultiShadowOptions } from './common';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * DataPanelType enum
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum DataPanelType {
+ /**
+ * Line Type
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Line,
+ /**
+ * Line Rainbow
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Circle
+}
+/**
+ * ColorStop type
+ * @typedef { object } ColorStop
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ColorStop {
+ /**
+ * Color property.
+ * @type { ResourceColor } color - the color value.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ color: ResourceColor;
+ /**
+ * Offset property.
+ * @type { Length } offset - the color offset.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ offset: Length;
+}
+/**
+ * LinearGradient class
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class LinearGradient {
+ /**
+ * Constructor.
+ *
+ * @param { ColorStop[] } colorStops - the LinearGradient constructor parameter.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor(colorStops: ColorStop[]);
+}
+/**
+ * Defines the options of Shadow.
+ *
+ * @extends MultiShadowOptions
+ * @interface DataPanelShadowOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DataPanelShadowOptions extends MultiShadowOptions {
+ /**
+ * Current shadow colors.
+ *
+ * @type { ?Array }
+ * @default Consistent with valueColors
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ colors?: Array;
+}
+/**
+ * Defines the options of DataPanel.
+ *
+ * @interface DataPanelOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DataPanelOptions {
+ /**
+ * Current data value. the max length is 9.
+ *
+ * @type { number[] }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ values: number[];
+ /**
+ * Maximum value of the current data.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ max?: number;
+ /**
+ * DataPanel Type
+ *
+ * @type { ?DataPanelType }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type?: DataPanelType;
+}
+/**
+ * DataPanelConfiguration used by dataPanel content modifier
+ *
+ * @extends CommonConfiguration
+ * @interface DataPanelConfiguration
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DataPanelConfiguration extends CommonConfiguration {
+ /**
+ * Current data value. the max length is 9.
+ *
+ * @type { number[] }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ values: number[];
+ /**
+ * Maximum value of the current data.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ maxValue: number;
+}
+/**
+ * Defines the Button component attributes.
+ *
+ * @extends CommonMethod
+ * @interface ButtonAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DataPanelAttribute extends CommonMethod {
+ /**
+ * Disable the special effect of the data ratio chart.
+ *
+ * @param { boolean } value
+ * @returns { DataPanelAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default closeEffect(value: boolean | undefined): this;
+ /**
+ * Set the value colors of the data ratio chart.
+ *
+ * @param { Array | undefined } value - the value colors of the data ratio chart.
+ * @returns { DataPanelAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default valueColors(value: Array | undefined): this;
+ /**
+ * Set track background color of the data ratio chart.
+ *
+ * @param { ResourceColor | undefined } value - track background color of the data ratio chart.
+ * @returns { DataPanelAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default trackBackgroundColor(value: ResourceColor | undefined): this;
+ /**
+ * Set the stroke width of the data ratio chart.
+ *
+ * @param { Length | undefined } value - the stroke width of the data ratio chart.
+ * @returns { DataPanelAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default strokeWidth(value: Length | undefined): this;
+ /**
+ * Set the shadow width of the data ratio chart.
+ *
+ * @param { DataPanelShadowOptions | undefined } value - the track shadow width of the data ratio chart.
+ * @returns { DataPanelAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default trackShadow(value: DataPanelShadowOptions | undefined): this;
+ /**
+ * Set the content modifier of data panel.
+ *
+ * @param { ContentModifier | undefined } modifier - The content modifier of data panel.
+ * @returns { DataPanelAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default contentModifier(modifier: ContentModifier | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { BadgeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the DataPanel component.
+ *
+ * @param { DataPanelOptions } options - data panel options.
+ * @param { function } [content_]
+ * @returns { DataPanelAttribute } The attribute of the DataPanel.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function DataPanel(
+ options: DataPanelOptions,
+ @memo
+ content_?: () => void
+): DataPanelAttribute;
diff --git a/api/arkui/component/datePicker.static.d.ets b/api/arkui/component/datePicker.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..9a01913026337d8ae4dfcca789b34e6c84c6f2dd
--- /dev/null
+++ b/api/arkui/component/datePicker.static.d.ets
@@ -0,0 +1,651 @@
+'use static';
+/*
+ * 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 { CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, Callback, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional, DateTimeOptions, Bindable } from './common';
+import { ResourceColor, Offset, VoidCallback } from "./units";
+import { DialogAlignment } from "./alertDialog";
+import { CrownSensitivity } from "./enums";
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Defines the struct of DatePickerResult.
+ *
+ * @interface DatePickerResult
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DatePickerResult {
+ /**
+ * Year of the selected date.
+ *
+ * NOTE:
+ *
Value range: depends on start and end.
+ * If start and end are not set, the default range is [1970, 2100].
+ *
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ year?: number;
+ /**
+ * Month index of the selected date.
+ * The index is zero-based. 0 indicates January, and 11 indicates December.
+ *
+ * NOTE:
+ *
Value range: depends on start and end. If start and end are not set, the default range is [0, 11].
+ *
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ month?: number;
+ /**
+ * Day of the selected date.
+ *
+ * NOTE:
+ *
Value range: depends on start and end. If start and end are not set, the default range is [1, 31].
+ *
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ day?: number;
+}
+/**
+ * Defines the mode of the date picker.
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum DatePickerMode {
+ /**
+ * The date displays three columns: year, month, and day.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ DATE = 0,
+ /**
+ * The date displays two columns: year and month.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ YEAR_AND_MONTH = 1,
+ /**
+ * Defines a mode that displays the date in months and days of the month.
+ * In this mode, if the month changes from December to January,
+ * the year does not increment by one; if the month changes from January to December,
+ * the year does not decrement by one. The year remains fixed at the currently set value.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ MONTH_AND_DAY = 2
+}
+/**
+ * Parameters of the date picker.
+ *
+ * @interface DatePickerOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DatePickerOptions {
+ /**
+ * Start date of the picker.
+ *
+ * @type { ?Date }
+ * @default Date('1970-1-1')
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ start?: Date;
+ /**
+ * End date of the picker.
+ *
+ * @type { ?Date }
+ * @default Date('2100-12-31')
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ end?: Date;
+ /**
+ * Specifies the date selector check date or time selector check time.
+ *
+ * @type { ?(Date | Bindable) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ selected?: Date | Bindable;
+ /**
+ * Date columns to be displayed.
+ *
+ * NOTE:
+ *
In DatePickerDialog, with showTime=true, this parameter has no effect and the default three columns for year,
+ *
month, and day are displayed.
+ *
+ *
+ * @type { ?DatePickerMode }
+ * @default DatePickerMode.DATE - which means to display three columns: year, month, and day.
+ *
Decimal values are rounded off.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ mode?: DatePickerMode;
+}
+/**
+ * Defines the DatePicker component attributes.
+ *
+ * @extends CommonMethod
+ * @interface DatePickerAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DatePickerAttribute extends CommonMethod {
+ /**
+ * Specifies whether to display the lunar calendar.
+ *
+ * @param { boolean } value - Whether to display the lunar calendar.
+ *
- true: Display the lunar calendar.
+ *
- false: Do not display the lunar.
+ * @default false
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default lunar(value: boolean | undefined): this;
+ /**
+ * Sets the text style for the top and bottom items.
+ *
+ * @param { PickerTextStyle } value - Font color, font size, and font weight of the top and bottom items.
+ * @default {
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
}
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default disappearTextStyle(value: PickerTextStyle | undefined): this;
+ /**
+ * Sets the text style for all items except the top, bottom, and selected items.
+ *
+ * @param { PickerTextStyle } value - Font color, font size, and font weight of all items except the top,
+ *
bottom, and selected items.
+ * @default {
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
}
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default textStyle(value: PickerTextStyle | undefined): this;
+ /**
+ * Sets the text style for the selected item.
+ *
+ * @param { PickerTextStyle } value - Font color, font size, and font weight of the selected item.
+ * @default {
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
}
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default selectedTextStyle(value: PickerTextStyle | undefined): this;
+ /**
+ * Triggered when a date is selected.
+ * Anonymous Object Rectification.
+ *
+ * @param { Callback } callback
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onDateChange(callback: Callback | undefined): this;
+ /**
+ * Sets the sensitivity to the digital crown rotation.
+ *
+ * @param { Optional } sensitivity - Sensitivity to the digital crown rotation.
+ * @default CrownSensitivity.MEDIUM
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default digitalCrownSensitivity(sensitivity: CrownSensitivity | undefined): this;
+ /**
+ * Sets whether to enable haptic feedback.
+ *
+ * @param { Optional } enable - Whether to enable haptic feedback.
+ *
true (default): Haptic feedback is enabled.
+ *
false: Haptic feedback is disabled.
+ * @default true
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default enableHapticFeedback(enable: boolean | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { DatePickerAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the style of the lunar calendar switch in the DatePickerDialog component.
+ *
+ * @interface LunarSwitchStyle
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface LunarSwitchStyle {
+ /**
+ * Background color of the switch when it is on.
+ *
+ * @type { ?ResourceColor }
+ * @default $r('sys.color.ohos_id_color_text_primary_actived')
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ selectedColor?: ResourceColor;
+ /**
+ * Border color of the switch when it is off.
+ *
+ * @type { ?ResourceColor }
+ * @default $r('sys.color.ohos_id_color_switch_outline_off')
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ unselectedColor?: ResourceColor;
+ /**
+ * Color of the icon inside the switch.
+ *
+ * @type { ?ResourceColor }
+ * @default Color.White
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ strokeColor?: ResourceColor;
+}
+/**
+ * Parameters of the date picker dialog box.
+ *
+ * @extends DatePickerOptions
+ * @interface DatePickerDialogOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface DatePickerDialogOptions extends DatePickerOptions {
+ /**
+ * Whether to display the lunar calendar.
+ * The value true means to display the lunar calendar, and false means the opposite.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ lunar?: boolean;
+ /**
+ * Whether to display the lunar calendar switch.
+ * The value true means to display the lunar calendar switch, and false means the opposite.
+ *
+ * @type { ?boolean } value - indicates whether to show the switch to display the lunar.
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ lunarSwitch?: boolean;
+ /**
+ * Style of the lunar calendar switch.
+ *
+ * @type { ?LunarSwitchStyle }
+ * @default { selectedColor: $r('sys.color.ohos_id_color_text_primary_actived'),
+ *
unselectedColor: $r('sys.color.ohos_id_color_switch_outline_off'), strokeColor: Color.White }.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ lunarSwitchStyle?: LunarSwitchStyle;
+ /**
+ * Whether to display the time item.
+ * The value true means to display the time item, and false means the opposite.
+ *
+ * NOTE:
+ *
With showTime=true, the mode parameter has no effect and the default three columns for year,
+ *
month, and day are displayed.
+ *
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ showTime?: boolean;
+ /**
+ * Whether to display time in 24-hour format.
+ * The value true means to display time in 24-hour format, and false means the opposite.
+ *
+ * NOTE:
+ *
When the display time is in 12-hour format, the AM/PM zone does not change depending on the hour portion.
+ *
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ useMilitaryTime?: boolean;
+ /**
+ * Font color, font size, and font width for the top and bottom items.
+ *
+ * @type { ?PickerTextStyle }
+ * @default {
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
}
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ disappearTextStyle?: PickerTextStyle;
+ /**
+ * Font color, font size, and font width of all items except the top, bottom, and selected items.
+ *
+ * @type { ?PickerTextStyle }
+ * @default {
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
}
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ textStyle?: PickerTextStyle;
+ /**
+ * Style of accept button.
+ *
+ * NOTE:
+ *
In the acceptButtonStyle and cancelButtonStyle configurations,
+ *
only one primary field can be set to true at most.
+ *
If both the primary fields are set to true, neither will take effect.
+ *
+ *
+ * @type { ?PickerDialogButtonStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ acceptButtonStyle?: PickerDialogButtonStyle;
+ /**
+ * Style of cancel button.
+ *
+ * NOTE:
+ *
In the acceptButtonStyle and cancelButtonStyle configurations,
+ *
only one primary field can be set to true at most.
+ *
If both the primary fields are set to true, neither will take effect.
+ *
+ *
+ * @type { ?PickerDialogButtonStyle }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ cancelButtonStyle?: PickerDialogButtonStyle;
+ /**
+ * Font color, font size, and font width of the selected item.
+ *
+ * @type { ?PickerTextStyle }
+ * @default {
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ selectedTextStyle?: PickerTextStyle;
+ /**
+ * Mask area of the dialog box.
+ * Events outside the mask area are transparently transmitted, and events within the mask area are not.
+ *
+ * @type { ?Rectangle }
+ * @default { x: 0, y: 0, width: '100%', height: '100%' }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ maskRect?: Rectangle;
+ /**
+ * Alignment mode of the dialog box in the vertical direction.
+ *
+ * @type { ?DialogAlignment }
+ * @default DialogAlignment.Default
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ alignment?: DialogAlignment;
+ /**
+ * Offset of the dialog box based on the alignment settings.
+ *
+ * @type { ?Offset }
+ * @default { dx: 0 , dy: 0 }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ offset?: Offset;
+ /**
+ * Callback invoked when the Cancel button in the dialog box is clicked.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onCancel?: VoidCallback;
+ /**
+ * Callback invoked when the OK button in the dialog box is clicked.
+ *
+ * NOTE:
+ *
When showTime is set to true, the hour and minute in the value returned by
+ *
the callback are the hour and minute selected in the picker. Otherwise,
+ *
the hour and minute are the hour and minute of the system time.
+ *
+ *
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onDateAccept?: Callback;
+ /**
+ * Callback invoked when the selected item in the picker changes.
+ * Anonymous Object Rectification.
+ *
+ * NOTE:
+ *
When showTime is set to true, the hour and minute in the value returned by
+ *
the callback are the hour and minute selected in the picker. Otherwise,
+ *
the hour and minute are the hour and minute of the system time.
+ *
+ *
+ * @type { ?Callback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onDateChange?: Callback;
+ /**
+ * Backplane color of the dialog box.
+ *
+ * @type { ?ResourceColor }
+ * @default Color.Transparent
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundColor?: ResourceColor;
+ /**
+ * Background blur style of the dialog box.
+ *
+ * @type { ?BlurStyle }
+ * @default BlurStyle.COMPONENT_ULTRA_THICK
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundBlurStyle?: BlurStyle;
+ /**
+ * Options for customizing the background blur style.
+ *
+ * @type { ?BackgroundBlurStyleOptions }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
+ /**
+ * Options for customizing the background effect.
+ *
+ * @type { ?BackgroundEffectOptions }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ backgroundEffect?: BackgroundEffectOptions;
+ /**
+ * Event callback when the dialog box appears.
+ *
+ * NOTE:
+ *
1. The normal timing sequence is as follows: onWillAppear > onDidAppear >
+ * (onDateAccept/onCancel/onDateChange) > onWillDisappear > onDidDisappear.
+ *
2. You can set the callback event for changing the dialog box display effect in onDidAppear.
+ * The settings take effect next time the dialog box appears.
+ *
3. If the user closes the dialog box immediately after it appears,
+ * onWillDisappear is invoked before onDidAppear.
+ *
4. If the dialog box is closed before its entrance animation is finished,
+ * this callback is not invoked.
+ *
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onDidAppear?: VoidCallback;
+ /**
+ * Event callback when the dialog box disappears.
+ *
+ * NOTE:
+ *
1. The normal timing sequence is as follows: onWillAppear > onDidAppear >
+ *
(onDateAccept/onCancel/onDateChange) > onWillDisappear > onDidDisappear.
+ *
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onDidDisappear?: VoidCallback;
+ /**
+ * Event callback when the dialog box is about to appear.
+ *
+ * NOTE:
+ *
1. The normal timing sequence is as follows: onWillAppear > onDidAppear >
+ * (onDateAccept/onCancel/onDateChange) > onWillDisappear > onDidDisappear.
+ *
2. You can set the callback event for changing the dialog box display effect in onWillAppear.
+ * The settings take effect next time the dialog box appears.
+ *
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onWillAppear?: VoidCallback;
+ /**
+ * Event callback when the dialog box is about to disappear.
+ *
+ * NOTE:
+ *
1. The normal timing sequence is as follows: onWillAppear > onDidAppear >
+ * (onDateAccept/onCancel/onDateChange) > onWillDisappear > onDidDisappear.
+ *
2. If the user closes the dialog box immediately after it appears,
+ * onWillDisappear is invoked before onDidAppear.
+ *
+ *
+ * @type { ?VoidCallback }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ onWillDisappear?: VoidCallback;
+ /**
+ * Shadow of the dialog box.
+ * Default value on 2-in-1 devices: ShadowStyle.OUTER_FLOATING_MD
+ * when the dialog box is focused and ShadowStyle.OUTER_FLOATING_SM
+ *
+ * @type { ?(ShadowOptions | ShadowStyle) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ shadow?: ShadowOptions | ShadowStyle;
+ /**
+ * Whether to display a leading zero for the hours and minutes.
+ *
+ * NOTE:
+ *
Currently only the configuration of the hour and minute parameters is supported.
+ *
+ *
+ * @type { ?DateTimeOptions }
+ * @default hour: In the 24-hour format, it defaults to 2-digit, which means a leading zero is used;
+ *
In the 12-hour format, it defaults to numeric, which means no leading zero is used.
+ *
minute: defaults to 2-digit, which means a leading zero is used.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ dateTimeOptions?: DateTimeOptions;
+ /**
+ * Whether to enable the hover mode.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableHoverMode?: boolean;
+ /**
+ * Display area of the dialog box in hover mode.
+ *
+ * @type { ?HoverModeAreaType }
+ * @default HoverModeAreaType.BOTTOM_SCREEN
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ hoverModeArea?: HoverModeAreaType;
+ /**
+ * Whether to enable haptic feedback.
+ * The value true means to enable haptic feedback, and false means the opposite
+ *
+ * @type { ?boolean }
+ * @default true
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableHapticFeedback?: boolean;
+}
+/**
+ * Defines DatePickerDialog which uses show method to show DatePicker dialog.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class DatePickerDialog {}
+/**
+ * Defines the DatePicker component.
+ *
+ * @param { DatePickerOptions } [options] - date picker options.
+ * @param { function } [content_]
+ * @returns { DatePickerAttribute } The attribute of the DatePicker.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function DatePicker(
+ options?: DatePickerOptions,
+ @memo
+ content_?: () => void
+): DatePickerAttribute;
diff --git a/api/arkui/component/gauge.static.d.ets b/api/arkui/component/gauge.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..cfefa475c448f84e0906f4432775a283beeabbae
--- /dev/null
+++ b/api/arkui/component/gauge.static.d.ets
@@ -0,0 +1,263 @@
+'use static';
+/*
+ * 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 { CommonMethod, CommonConfiguration, ContentModifier, MultiShadowOptions, Optional } from './common';
+import { CustomBuilder } from './builder';
+import { ResourceStr, Dimension, ResourceColor, Length } from "./units";
+import { LinearGradient } from "./dataPanel";
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Defines Gauge constructor options.
+ *
+ * @interface GaugeOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export interface GaugeOptions {
+ /**
+ * Set current data value.
+ * Anonymous Object Rectification.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ value: number;
+ /**
+ * Set current segment minimum value.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ min?: number;
+ /**
+ * Set current segment maximum value.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ max?: number;
+}
+/**
+ * Defines the options of gauge track shadow.
+ *
+ * @extends MultiShadowOptions
+ * @interface GaugeShadowOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface GaugeShadowOptions extends MultiShadowOptions {}
+/**
+ * Defines the options of gauge indicator.
+ *
+ * @interface GaugeIndicatorOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface GaugeIndicatorOptions {
+ /**
+ * Current indicator icon path.
+ *
+ * @type { ?ResourceStr } option type - the current option type.
+ * @default system style.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ icon?: ResourceStr;
+ /**
+ * Current indicator space.
+ *
+ * @type { ?Dimension } indicator space - the current indicator space.
+ * @default 8
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ space?: Dimension;
+}
+/**
+ * GaugeConfiguration used by content modifier
+ *
+ * @extends CommonConfiguration
+ * @interface GaugeConfiguration
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface GaugeConfiguration extends CommonConfiguration {
+ /**
+ * Current data value.
+ *
+ * @type { number } data value - the current data value.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ value: number;
+ /**
+ * Current Segment Minimum Value.
+ *
+ * @type { number } segment minimum value - the current segment minimum value.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ min: number;
+ /**
+ * Current Segment Maximum Value.
+ *
+ * @type { number } segment maximum value - the current segment maximum value.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ max: number;
+}
+/**
+ * Defines the Gauge component attributes.
+ *
+ * @extends CommonMethod
+ * @interface GaugeAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface GaugeAttribute extends CommonMethod {
+ /**
+ * Sets the value for the current profile.
+ *
+ * @param { number } value
+ * @returns { GaugeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default value(value: number | undefined): this;
+ /**
+ * Set the start angle. Clock 0 is 0 degrees and clockwise is positive.
+ *
+ * @param { number } angle
+ * @returns { GaugeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default startAngle(angle: number | undefined): this;
+ /**
+ * Sets the end angle position. Clock 0 is 0 degrees and clockwise is positive.
+ *
+ * @param { number } angle
+ * @returns { GaugeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default endAngle(angle: number | undefined): this;
+ /**
+ * Set the color of the chart. You can set the solid color and segmented gradient color.
+ *
+ * @param { ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]> } colors -
+ * section colors of gauge drawing.
+ * @returns { GaugeAttribute } returns the instance of the GaugeAttribute.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default colors(colors: ResourceColor | LinearGradient | Array<[
+ ResourceColor | LinearGradient,
+ number
+ ]> | undefined): this;
+ /**
+ * Sets the thickness of the ring chart.
+ *
+ * @param { Length } length
+ * @returns { GaugeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default strokeWidth(length: Length | undefined): this;
+ /**
+ * Sets description content of the ring chart.
+ *
+ * @param { CustomBuilder } value - description content builder of the gauge drawing.
+ * @returns { GaugeAttribute } returns the instance of the GaugeAttribute.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default description(value: CustomBuilder | undefined): this;
+ /**
+ * Sets track shadow of the ring chart.
+ *
+ * @param { GaugeShadowOptions } value - track shadow options of the gauge drawing.
+ * @returns { GaugeAttribute } returns the instance of the GaugeAttribute.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default trackShadow(value: GaugeShadowOptions | undefined): this;
+ /**
+ * Sets indicator options of the ring chart.
+ *
+ * @param { GaugeIndicatorOptions } value - indicator options of the gauge drawing.
+ * @returns { GaugeAttribute } returns the instance of the GaugeAttribute.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default indicator(value: GaugeIndicatorOptions | undefined): this;
+ /**
+ * Sets if mark to privacy sensitive.
+ *
+ * @param { Optional } isPrivacySensitiveMode - indicates if mark to privacy sensitive .
+ * @returns { GaugeAttribute } returns the instance of the GaugeAttribute.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default privacySensitive(isPrivacySensitiveMode: boolean | undefined): this;
+ /**
+ * Set the content modifier of gauge.
+ *
+ * @param { ContentModifier } modifier - The content modifier of gauge.
+ * @returns { GaugeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default contentModifier(modifier: ContentModifier | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { GaugeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the Gauge component.
+ *
+ * @param { GaugeOptions } options - gauge options.
+ * @param { function } [content_]
+ * @returns { GaugeAttribute } The attribute of the Gauge.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function Gauge(
+ options: GaugeOptions,
+ @memo
+ content_?: () => void
+): GaugeAttribute;
diff --git a/api/arkui/component/image.d.ets b/api/arkui/component/image.d.ets
deleted file mode 100644
index 494fb9af4cd8593b3a735e459f5c84395d30c1a8..0000000000000000000000000000000000000000
--- a/api/arkui/component/image.d.ets
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- * Copyright (c) 2024-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
- */
-
-
-// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION!
-
-import { DrawableDescriptor } from './../../../api/@ohos.arkui.drawableDescriptor'
-import { memo, ComponentBuilder, __memo_context_type, __memo_id_type } from './../stateManagement/runtime'
-import { ResolutionQuality, PixelMap, ResourceStr, VisualEffect, Filter, UniformDataType, Blender, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, ColorFilter } from './units'
-import { ImageAIOptions, ImageAnalyzerConfig } from './imageCommon'
-import { CommonMethod, DrawModifier, Rectangle, Callback_Array_TouchTestInfo_TouchResult, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, BorderImageOption, OutlineStyle, Callback_ClickEvent_Void, ClickEvent, Callback_Boolean_HoverEvent_Void, HoverEvent, AccessibilityCallback, Callback_MouseEvent_Void, MouseEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, Callback_KeyEvent_Boolean, AnimateParam, TransitionOptions, TransitionEffect, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragEvent, CustomBuilder, DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, PreDragStatus, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, MotionPathOptions, ShadowOptions, ShadowStyle, ProgressMask, StateStyles, PixelStretchEffectOptions, AttributeModifier, GestureModifier, BackgroundBrightnessOptions, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, Callback_TouchEvent_HitTestMode, SizeChangeCallback, SafeAreaType, SafeAreaEdge, Literal_Alignment_align, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, PointLightStyle } from './common'
-import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, ImageFit, CopyOptions } from './enums'
-import { Resource } from './../../../api/global/resource'
-
-export enum ImageRenderMode {
- ORIGINAL = 0,
- Original = 0,
- TEMPLATE = 1,
- Template = 1
-}
-export enum ImageContent {
- EMPTY = 0
-}
-export enum DynamicRangeMode {
- HIGH = 0,
- CONSTRAINT = 1,
- STANDARD = 2
-}
-export enum ImageInterpolation {
- NONE = 0,
- None = 0,
- LOW = 1,
- Low = 1,
- MEDIUM = 2,
- Medium = 2,
- HIGH = 3,
- High = 3
-}
-export interface ImageInterface {
- invoke(src: PixelMap | ResourceStr | DrawableDescriptor): ImageAttribute;
-
-
-}
-export interface ImageSourceSize {
- width: number;
- height: number;
-}
-export interface Type_ImageAttribute_onComplete_callback_event {
- width: number;
- height: number;
- componentWidth: number;
- componentHeight: number;
- loadingStatus: number;
- contentWidth: number;
- contentHeight: number;
- contentOffsetX: number;
- contentOffsetY: number;
-}
-export type Callback_Type_ImageAttribute_onComplete_callback_event_Void = (event?: Type_ImageAttribute_onComplete_callback_event) => void;
-export interface ImageAttribute extends CommonMethod {
- @memo
- alt(value: string | Resource | PixelMap): this;
- @memo
- matchTextDirection(value: boolean): this;
- @memo
- fitOriginalSize(value: boolean): this;
- @memo
- fillColor(value: ResourceColor): this;
- @memo
- objectFit(value: ImageFit): this;
- @memo
- objectRepeat(value: ImageRepeat): this;
- @memo
- autoResize(value: boolean): this;
- @memo
- renderMode(value: ImageRenderMode): this;
- @memo
- dynamicRangeMode(value: DynamicRangeMode): this;
- @memo
- interpolation(value: ImageInterpolation): this;
- @memo
- sourceSize(value: ImageSourceSize): this;
- @memo
- syncLoad(value: boolean): this;
- @memo
- copyOption(value: CopyOptions): this;
- @memo
- draggable(value: boolean): this;
- @memo
- pointLight(value: PointLightStyle): this;
- @memo
- edgeAntialiasing(value: number): this;
- @memo
- onComplete(value: ((event?: Type_ImageAttribute_onComplete_callback_event) => void)): this;
- @memo
- onError(value: ImageErrorCallback): this;
- @memo
- onFinish(value: (() => void)): this;
- @memo
- enableAnalyzer(value: boolean): this;
- @memo
- analyzerConfig(value: ImageAnalyzerConfig): this;
- @memo
- resizable(value: ResizableOptions): this;
- @memo
- privacySensitive(value: boolean): this;
- @memo
- enhancedImageQuality(value: ResolutionQuality): this;
-}
-export type ImageErrorCallback = (error: ImageError) => void;
-export interface ImageError {
- componentWidth: number;
- componentHeight: number;
- message: string;
-}
-export interface ResizableOptions {
- slice?: EdgeWidths;
-}
-@memo
-@ComponentBuilder
-export declare function Image(
- src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent, imageAIOptions?: ImageAIOptions | undefined,
- @memo
- content_?: () => void,
-): ImageAttribute
diff --git a/api/arkui/component/image.static.d.ets b/api/arkui/component/image.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..0693c515c226f38e185eac9500801adc09477b4e
--- /dev/null
+++ b/api/arkui/component/image.static.d.ets
@@ -0,0 +1,852 @@
+'use static';
+/*
+ * 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 image from '../../@ohos.multimedia.image';
+import drawing from '../../@ohos.graphics.drawing';
+import matrix4 from '../../@ohos.matrix4';
+import { BusinessError } from '../../@ohos.base';
+import { DrawableDescriptor } from '../../@ohos.arkui.drawableDescriptor';
+import { ImageAIOptions, ImageAnalyzerConfig } from "./imageCommon";
+import { ResourceStr, ResourceColor, ColorFilter, EdgeWidths, ColorMetrics, VoidCallback } from "./units";
+import { ImageFit, ImageRepeat, CopyOptions } from "./enums";
+import { Resource } from '../../global/resource';
+import { CommonMethod, PointLightStyle, PixelMap } from './common';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Import the DrawingColorFilter type object for image color filter setting.
+ *
+ * @typedef { drawing.ColorFilter } DrawingColorFilter
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export type DrawingColorFilter = drawing.ColorFilter;
+/**
+ * Enumerates all the levels available for the image resolution quality.
+ *
+ * @typedef { image.ResolutionQuality } ResolutionQuality
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi
+ * @since 20
+ */
+export type ResolutionQuality = image.ResolutionQuality;
+/**
+ * Lattice for dividing an image into grids.
+ *
+ * @typedef { drawing.Lattice } DrawingLattice
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export type DrawingLattice = drawing.Lattice;
+/**
+ * Object matrix used for setting image transformations.
+ *
+ * @typedef { matrix4.Matrix4Transit } Matrix4Transit
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export type ImageMatrix = matrix4.Matrix4Transit;
+/**
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @crossplatform
+ * @form
+ * @since 20
+ */
+export declare enum ImageRenderMode {
+ /**
+ * Render according to the original image, including colors.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Original,
+ /**
+ * Render the image as a template image, ignoring the color information of the image.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Template
+}
+/**
+ * Specify image's content.
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ImageContent {
+ /**
+ * Make image empty.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ EMPTY = 0
+}
+/**
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum DynamicRangeMode {
+ /**
+ * Allow image content to use an unrestricted extended range.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ HIGH = 0,
+ /**
+ * Allow image content to use some extended range.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ CONSTRAINT = 1,
+ /**
+ * Restrict the image content dynamic range to the standard range.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ STANDARD = 2
+}
+/**
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ImageInterpolation {
+ /**
+ * Do not use interpolated image data.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ None,
+ /**
+ * Low usage of interpolated image data.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Low,
+ /**
+ * Interpolated image data is used moderately.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Medium,
+ /**
+ * High usage of interpolated image data may affect the speed of image rendering.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ High
+}
+/**
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ImageRotateOrientation {
+ /**
+ * Rotate according to the image rotation
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ AUTO = 0,
+ /**
+ * Ignore the rotation of the image
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ UP = 1,
+ /**
+ * Based on image rotation, rotate clockwise 90 degrees
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ RIGHT = 2,
+ /**
+ * Based on image rotation, rotate clockwise 180 degrees
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ DOWN = 3,
+ /**
+ * Based on image rotation, rotate clockwise 270 degrees
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ LEFT = 4,
+ /**
+ * Flip the orignial image horizontally
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ UP_MIRRORED = 5,
+ /**
+ * Flip the orignial image horizontally and rotate clockwise 90 degrees
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ RIGHT_MIRRORED = 6,
+ /**
+ * Flip the orignial image vertically
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ DOWN_MIRRORED = 7,
+ /**
+ * Flip the orignial image horizontally and rotate clockwise 270 degrees
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ LEFT_MIRRORED = 8
+}
+/**
+ * ImageCompleteEvent
+ *
+ * @interface ImageCompleteEvent
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export interface ImageCompleteEvent {
+ /**
+ * The width of the image source.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ width: number;
+ /**
+ * The height of the image source.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ height: number;
+ /**
+ * The width of the component source.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ componentWidth: number;
+ /**
+ * The height of the component source.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ componentHeight: number;
+ /**
+ * The value of the status of the image being loaded successfully.
+ * If the returned status value is 0, the image data is successfully loaded.
+ * If the returned status value is 1, the image is successfully decoded.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ loadingStatus: number;
+ /**
+ * The width of the picture that is actually drawn.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ contentWidth: number;
+ /**
+ * The height of the picture that is actually drawn.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ contentHeight: number;
+ /**
+ * The actual draw is offset from the x-axis of the component itself.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ contentOffsetX: number;
+ /**
+ * The actual draw is offset from the y-axis of the component itself.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ contentOffsetY: number;
+}
+/**
+ * Defines source size of image.
+ *
+ * @interface ImageSourceSize
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export interface ImageSourceSize {
+ /**
+ * Set width.
+ * Anonymous Object Rectification.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ width: number;
+ /**
+ * Set height.
+ * Anonymous Object Rectification.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ height: number;
+}
+/**
+ * Defines the ColorContent.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class ColorContent {
+ /**
+ * Indicates the ColorContent to original value.
+ *
+ * @type { ColorContent }
+ * @readonly
+ * @static
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ static readonly ORIGIN: ColorContent;
+}
+/**
+ * Defines the Image component attributes.
+ *
+ * @extends CommonMethod
+ * @interface ImageAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ImageAttribute extends CommonMethod {
+ /**
+ * Sets the placeholder image displayed during loading.
+ *
+ * NOTE:
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { string | Resource | PixelMap | undefined } value - Placeholder image displayed
+ * during loading, Default value is null.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default alt(value: string | Resource | PixelMap | undefined): this;
+ /**
+ * Specifies whether to display the image in the system language direction.
+ *
+ * NOTE:
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { boolean | undefined } value - Whether to display the image in the system
+ * language direction, Default value is false.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default matchTextDirection(value: boolean | undefined): this;
+ /**
+ * Sets whether the display size of the image follows the source size.
+ *
+ * NOTE:
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { boolean | undefined } value - Whether to fit the image to the size
+ * of the image source, Default value is false.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fitOriginalSize(value: boolean | undefined): this;
+ /**
+ * Sets the fill color to be superimposed on the image.
+ * By default, no fill color is applied. If an invalid value is passed, the system uses the default theme color:
+ * black in light mode and white in dark mode.
+ *
+ * NOTE:
+ *
This attribute applies only to SVG images.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { ResourceColor | ColorContent | ColorMetrics | undefined } color
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fillColor(color: ResourceColor | ColorContent | ColorMetrics | undefined): this;
+ /**
+ * Sets how the image is resized to fit its container.
+ *
+ * @param { ImageFit | undefined } value - How the image is resized to
+ * fit its container, Default value is ImageFit.Cover.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default objectFit(value: ImageFit | undefined): this;
+ /**
+ * Sets the transformation matrix of the image.
+ *
+ * @param { ImageMatrix | undefined } matrix
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default imageMatrix(matrix: ImageMatrix | undefined): this;
+ /**
+ * Set the repeat style of the picture
+ *
+ * NOTE:
+ *
This attribute is not applicable to SVG images.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { ImageRepeat | undefined } value - How the image is repeated, Default value is ImageRepeat.NoRepeat.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default objectRepeat(value: ImageRepeat | undefined): this;
+ /**
+ * Specifies whether to resize the image source based on the size of the display area during image decoding.
+ *
+ * NOTE:
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor
+ * or SVG.
+ *
+ *
+ * @param { boolean | undefined } value - Whether to resize the image source based on the size of the display area
+ * during image decoding, Default value is false.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default autoResize(value: boolean | undefined): this;
+ /**
+ * Sets the rendering mode of the image.
+ *
+ * NOTE:
+ *
This attribute is not applicable to SVG images.
+ *
When ColorFilter is set, this attribute is not effective.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { ImageRenderMode | undefined } value - Rendering mode of the image,
+ * Default value is ImageRenderMode.Original.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default renderMode(value: ImageRenderMode | undefined): this;
+ /**
+ * Sets the dynamic range of the image to be displayed.
+ *
+ * NOTE:
+ *
This attribute is not applicable to SVG images.
+ *
+ *
+ * @param { DynamicRangeMode | undefined } value - Dynamic range of the image.
+ * @returns { ImageAttribute } Returns the instance of the ImageAttribute, Default value is
+ * dynamicRangeMode.Standard.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default dynamicRangeMode(value: DynamicRangeMode | undefined): this;
+ /**
+ * Sets the interpolation effect of the image, which can alleviate aliasing that occurs when the image is zoomed.
+ *
+ * NOTE:
+ *
This attribute is not applicable to SVG images.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { ImageInterpolation | undefined } value - Interpolation effect of the image,
+ * Default value is ImageInterpolation.Low.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default interpolation(value: ImageInterpolation | undefined): this;
+ /**
+ * Sets the decoding size of the image.
+ * The original picture is decoded into a picture of a specified size. The unit of the number type is px.
+ * Anonymous Object Rectification.
+ *
+ * NOTE:
+ *
This attribute works only when the target size is smaller than the source size.
+ *
This attribute is not applicable to SVG images or PixelMap objects.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { ImageSourceSize | undefined } value - Decoding size of the image.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default sourceSize(value: ImageSourceSize | undefined): this;
+ /**
+ * Specifies whether to load the image synchronously.
+ *
+ * NOTE:
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { boolean | undefined } value - Whether to load the image synchronously, Default value is false.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default syncLoad(value: boolean | undefined): this;
+ /**
+ * Sets the color filter for the image.
+ *
+ * NOTE:
+ *
When this attribute is set, renderMode is not effective.
+ *
+ *
+ * @param { ColorFilter | DrawingColorFilter | undefined } value - Color filter of the image.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default colorFilter(value: ColorFilter | DrawingColorFilter | undefined): this;
+ /**
+ * Whether the image can be copied.
+ *
+ * NOTE:
+ *
SVG images cannot be copied.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { CopyOptions | undefined } value - Specifies whether the image can be
+ * copied, Default value is CopyOptions.None.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default copyOption(value: CopyOptions | undefined): this;
+ /**
+ * Specifies whether the image is draggable.
+ *
+ * NOTE:
+ *
This attribute cannot be used together with the onDragStart event.
+ *
+ *
+ * @param { boolean | undefined } value - Whether the image is draggable, Default value is true.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default draggable(value: boolean | undefined): this;
+ /**
+ * Defines the PointLight
+ *
+ * @param { PointLightStyle | undefined } value - The point light style.
+ * @returns { ImageAttribute } The attribute of the image.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi
+ * @since 20
+ */
+ default pointLight(value: PointLightStyle | undefined): this;
+ /**
+ * SVG anti-aliasing.
+ * The range of the parameter values is (0.333, 1.333].
+ * Default value is 0.0.
+ *
+ * @param { number | undefined } value - The degree of anti-aliasing.
+ * @returns { ImageAttribute } The attribute of the image.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi
+ * @since 20
+ */
+ default edgeAntialiasing(value: number | undefined): this;
+ /**
+ * This callback is triggered when an image is successfully loaded.
+ * The size of the image source that is successfully loaded is returned, in pixels.
+ *
+ * @param { ImageOnCompleteCallback | undefined } callback
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onComplete(callback: ImageOnCompleteCallback | undefined): this;
+ /**
+ * Triggered when an error occurs during image loading.
+ * The field of "message" carries the detailed information of failed image loading.
+ *
+ * NOTE:
+ *
This event is not triggered if the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { ImageErrorCallback | undefined } callback
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onError(callback: ImageErrorCallback | undefined): this;
+ /**
+ * When the loaded source file is a svg image, this callback is triggered
+ * when the playback of the svg image is complete.
+ * If the svg image is a wireless loop image, this callback is not triggered.
+ *
+ * NOTE:
+ *
Only SVG images are supported.
+ *
This event is not triggered if the parameter type of the component is AnimatedDrawableDescriptor.
+ *
+ *
+ * @param { VoidCallback | undefined } event
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onFinish(event: VoidCallback | undefined): this;
+ /**
+ * Sets whether to enable the AI analyzer
+ *
+ * NOTE:
+ *
This attribute cannot be used together with the overlay attribute. If they are set at the same time,
+ * the CustomBuilder attribute in overlay has no effect. This attribute depends on device capabilities.
+ *
Images to be analyzed must be static, non-vector images. That is, SVG and GIF images cannot be analyzed.
+ * Pixel maps in RGBA_8888 format can be passed in for analysis.
+ *
The placeholder images (specified by alt) cannot be analyzed. An image can be analyzed only when
+ * objectRepeat is set to ImageRepeat.NoRepeat and obscured is disabled.
+ *
Analysis is performed based on the complete original image. If the clip, margin, borderRadius,
+ * position, or objectFit attribute is set, the image is not displayed completely.
+ * If renderMode is used to apply a mask, analysis is still performed based on the complete original image.
+ * The copyOption attribute does not affect the AI analyzer.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor.
+ *
The ohos.permission.INTERNET permission must be declared.
+ *
+ *
+ * @param { boolean | undefined} enable - Whether to enable the AI analyzer, Default value is false.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default enableAnalyzer(enable: boolean | undefined): this;
+ /**
+ * Set image analyzer with config.
+ *
+ * @param { ImageAnalyzerConfig | undefined } config
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi
+ * @since 20
+ */
+ default analyzerConfig(config: ImageAnalyzerConfig | undefined): this;
+ /**
+ * Sets the resizable image options.
+ *
+ * NOTE:
+ *
Resizing is effective for drag previews and placeholder images.
+ *
When ResizableOptions is set to a valid value, the objectRepeat attribute does not take effect.
+ *
When the sum of the values of top and bottom is greater than the source image height,
+ * or the sum of the values of left and right is greater than the source image width,
+ * the ResizableOptions attribute does not take effect.
+ *
This attribute does not take effect when the parameter type of the component is AnimatedDrawableDescriptor
+ * or SVG.
+ *
+ *
+ * @param { ResizableOptions | undefined } value - Resizable image options.
+ * @returns { ImageAttribute } Returns the instance of the ImageAttribute.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default resizable(value: ResizableOptions | undefined): this;
+ /**
+ * Set the quality enhancement level of image.
+ *
+ * @param { boolean | undefined } supported - Whether to support sensitive privacy information.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default privacySensitive(supported: boolean | undefined): this;
+ /**
+ * Set the quality enhancement level of image.
+ *
+ * @param { ResolutionQuality | undefined } imageQuality
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @systemapi
+ * @since 20
+ */
+ default enhancedImageQuality(imageQuality: ResolutionQuality | undefined): this;
+ /**
+ * Sets the display orientation of the image content.
+ *
+ * @param { ImageRotateOrientation | undefined } orientation - Display orientation of the
+ * image content, Default value is ImageRotateOrientation.UP.
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default orientation(orientation: ImageRotateOrientation | undefined): this;
+ /**
+ * Set the attribute modifier.
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { ImageAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * ImageErrorCallback
+ *
+ * @typedef { function } ImageErrorCallback
+ * @param { ImageError } error
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export type ImageErrorCallback = (error: ImageError) => void;
+/**
+ * ImageOnCompleteCallback
+ *
+ * @typedef { function } ImageOnCompleteCallback
+ * @param { ImageCompleteEvent } [loadEvent]
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export type ImageOnCompleteCallback = (loadEvent?: ImageCompleteEvent) => void;
+/**
+ * @interface ImageError
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ImageError {
+ /**
+ * Component width.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ componentWidth: number;
+ /**
+ * Component height.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ componentHeight: number;
+ /**
+ * Message.
+ *
+ * @type { string }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ message: string;
+ /**
+ * Business Error.
+ *
+ * @type { ?BusinessError }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ error?: BusinessError;
+}
+/**
+ * Image resizable options
+ *
+ * @interface ResizableOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ResizableOptions {
+ /**
+ * Image slice widths.
+ *
+ * @type { ?EdgeWidths }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ slice?: EdgeWidths;
+ /**
+ * Image lattice.
+ *
+ * @type { ?DrawingLattice }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ lattice?: DrawingLattice;
+}
+/**
+ * Defines the Image component.
+ *
+ * @param { PixelMap | ResourceStr | DrawableDescriptor | ImageContent | undefined } src - image resource type.
+ * @param { ImageAIOptions } [imageAIOptions] - Options for AI analyzer.
+ * @param { function } [content_]
+ * @returns { ImageAttribute } The attribute of the Image.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function Image(
+ src: PixelMap | ResourceStr | DrawableDescriptor | ImageContent | undefined,
+ imageAIOptions?: ImageAIOptions,
+ @memo
+ content_?: () => void
+): ImageAttribute;
diff --git a/api/arkui/component/imageAnimator.static.d.ets b/api/arkui/component/imageAnimator.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..c0ddbcdaac09ad75cd18acf43aa7d14189a8c02d
--- /dev/null
+++ b/api/arkui/component/imageAnimator.static.d.ets
@@ -0,0 +1,252 @@
+'use static';
+/*
+ * 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 { Resource } from "../../global/resource";
+import { CommonMethod, PixelMap } from './common';
+import { AnimationStatus, FillMode } from "./enums";
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Defines the ImageFrameInfo Interface.
+ *
+ * @interface ImageFrameInfo
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export interface ImageFrameInfo {
+ /**
+ * Image path
+ *
+ * @type { string | Resource | PixelMap }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ src: string | Resource | PixelMap;
+ /**
+ * Image width
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ width?: number | string;
+ /**
+ * Image height
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ height?: number | string;
+ /**
+ * Vertical coordinate of the image relative to the upper left corner of the component
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ top?: number | string;
+ /**
+ * Horizontal coordinate of the image relative to the upper left corner of the component
+ *
+ * @type { ?(number | string) }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ left?: number | string;
+ /**
+ * Playback duration of this image frame, in milliseconds.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ duration?: number;
+}
+/**
+ * Defines the ImageAnimator component attributes.
+ *
+ * @extends CommonMethod
+ * @interface ImageAnimatorAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ImageAnimatorAttribute extends CommonMethod {
+ /**
+ * Sets the image frame information.
+ *
+ * NOTE:
+ *
Dynamic update is not supported.
+ *
+ *
+ * @param { Array | undefined } value - Image frame informatio, Default value is [].
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default images(value: Array | undefined): this;
+ /**
+ * Sets the playback state of the animation.
+ *
+ * @param { AnimationStatus | undefined } value - Playback state of the animation,
+ * Default value is AnimationStatus.Initial.
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default state(value: AnimationStatus | undefined): this;
+ /**
+ * Sets the playback duration.
+ * The unit is millisecond.
+ *
+ * NOTE:
+ *
This attribute does not take effect when a separate duration is set for any of the image frames.
+ *
+ *
+ * @param { number | undefined } value - Playback duration, Default value is 1000.
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default duration(value: number | undefined): this;
+ /**
+ * Sets the playback direction.
+ *
+ * @param { boolean | undefined } value - Playback direction, Default value is false.
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default reverse(value: boolean | undefined): this;
+ /**
+ * Sets whether the image size is fixed at the component size.
+ *
+ * @param { boolean | undefined } value - Whether the image size is fixed at the
+ * component size, Default value is true.
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fixedSize(value: boolean | undefined): this;
+ /**
+ * Sets the status before and after execution of the animation in the current playback direction.
+ *
+ * @param { FillMode | undefined } value - Status before and after execution of the
+ * animation in the current playback direction,
+ * Default value is FillMode.Forwards.
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fillMode(value: FillMode | undefined): this;
+ /**
+ * Sets the number of times that the animation is played.
+ * Played once by default
+ *
+ * @param { number | undefined } value - Number of times that the animation is played, Default value is 1.
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default iterations(value: number | undefined): this;
+ /**
+ * Sets whether the component should automatically pause or resume based on its visibility, using the system's
+ * onVisibleAreaChange event.
+ *
+ * @param { boolean | undefined } monitorInvisibleArea - Whether the component should automatically
+ * pause or resume based on
+ * its visibility, using the system's onVisibleAreaChange event, Default value is false.
+ * @returns { ImageAnimatorAttribute }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default monitorInvisibleArea(monitorInvisibleArea: boolean | undefined): this;
+ /**
+ * Status callback, which is triggered when the animation starts to play.
+ *
+ * @param { function } event
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onStart(event: (() => void) | undefined): this;
+ /**
+ * Status callback, which is triggered when the animation pauses.
+ *
+ * @param { function } event
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onPause(event: (() => void) | undefined): this;
+ /**
+ * Status callback, triggered when the animation is replayed
+ *
+ * @param { function } event
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onRepeat(event: (() => void) | undefined): this;
+ /**
+ * Status callback, which is triggered when the animation playback returns to the initial state.
+ *
+ * @param { function } event
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onCancel(event: (() => void) | undefined): this;
+ /**
+ * Status callback, which is triggered when the animation playback is complete or stopped.
+ *
+ * @param { function } event
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onFinish(event: (() => void) | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { ImageAnimatorAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the ImageAnimator component.
+ *
+ * @param { function } [content_]
+ * @returns { ImageAnimatorAttribute } The attribute of the ImageAnimator.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function ImageAnimator(
+ @memo
+ content_?: () => void
+): ImageAnimatorAttribute;
diff --git a/api/arkui/component/imageCommon.static.d.ets b/api/arkui/component/imageCommon.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..04df3dc7c05831ddfd4a68acc8c1639e477bb5a6
--- /dev/null
+++ b/api/arkui/component/imageCommon.static.d.ets
@@ -0,0 +1,117 @@
+'use static';
+/*
+ * 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
+ */
+
+/**
+ * Defines the image analyze type.
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ImageAnalyzerType {
+ /**
+ * Image analyze type subject.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ SUBJECT = 0,
+ /**
+ * Image analyze type text.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ TEXT,
+ /**
+ * Image analyze type object lookup.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ OBJECT_LOOKUP
+}
+/**
+ * Image analyzer controller.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class ImageAnalyzerController {
+ /**
+ * Constructor.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor();
+ /**
+ * Get image analyzer support types.
+ *
+ * @returns { ImageAnalyzerType[] }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ getImageAnalyzerSupportTypes(): ImageAnalyzerType[];
+}
+/**
+ * Image analyzer config.
+ *
+ * @interface ImageAnalyzerConfig
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ImageAnalyzerConfig {
+ /**
+ * Image analyze types.
+ *
+ * @type { ImageAnalyzerType[] }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ types: ImageAnalyzerType[];
+}
+/**
+ * Image ai options.
+ *
+ * @interface ImageAIOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ImageAIOptions {
+ /**
+ * Image analyze types.
+ *
+ * @type { ?ImageAnalyzerType[] }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ types?: ImageAnalyzerType[];
+ /**
+ * Image analyze types.
+ *
+ * @type { ?ImageAnalyzerController }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ aiController?: ImageAnalyzerController;
+}
diff --git a/api/arkui/component/loadingProgress.static.d.ets b/api/arkui/component/loadingProgress.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..2d89bed1ad448bb77e0089a57223094d398e3e54
--- /dev/null
+++ b/api/arkui/component/loadingProgress.static.d.ets
@@ -0,0 +1,135 @@
+'use static';
+/*
+ * 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 { CommonMethod, ContentModifier, CommonConfiguration } from './common';
+import { ResourceColor } from "./units";
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier, CommonMethod } from "./common";
+
+/**
+ * Load style of progress bar.
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum LoadingProgressStyle {
+ /**
+ * Default style.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Default,
+ /**
+ * Announcement style.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Circular,
+ /**
+ * The style of the track.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Orbital
+}
+/**
+ * Defines the LoadingProgress component attributes.
+ *
+ * @extends CommonMethod
+ * @interface LoadingProgressAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface LoadingProgressAttribute extends CommonMethod {
+ /**
+ * Load the color of the progress bar.
+ *
+ * @param { ResourceColor | undefined } value
+ * @returns { LoadingProgressAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default color(value: ResourceColor | undefined): this;
+ /**
+ * Whether to display the LoadingProgress content.
+ *
+ * @param { boolean | undefined } value - indicates the state of LoadingProgress content
+ * @returns { LoadingProgressAttribute } the attribute of the LoadingProgress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default enableLoading(value: boolean | undefined): this;
+ /**
+ * Set the content modifier of loadingProgress.
+ *
+ * @param { ContentModifier | undefined } modifier -
+ * The contentModifier of LoadingProgress.
+ * @returns { LoadingProgressAttribute} the attribute of the loading progress
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default contentModifier(modifier: ContentModifier | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { LoadingProgressAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * LoadingProgressConfiguration used by LoadingProgress contentModifier
+ *
+ * @extends CommonConfiguration
+ * @interface LoadingProgressConfiguration
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface LoadingProgressConfiguration extends CommonConfiguration {
+ /**
+ * Whether to enable the LoadingProgress content.
+ *
+ * @type { boolean }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableLoading: boolean;
+}
+/**
+ * Defines the LoadingProgress component.
+ *
+ * @param { function } [content_]
+ * @returns { LoadingProgressAttribute } The attribute of the LoadingProgress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function LoadingProgress(
+ @memo
+ content_?: () => void
+): LoadingProgressAttribute;
diff --git a/api/arkui/component/patternLock.static.d.ets b/api/arkui/component/patternLock.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..2c54ffeac0cad6ed811860648318552e217dfbc2
--- /dev/null
+++ b/api/arkui/component/patternLock.static.d.ets
@@ -0,0 +1,288 @@
+'use static';
+/*
+ * 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 { ResourceColor, Length } from "./units";
+import { LengthMetrics } from '../Graphics';
+import { CommonMethod, Callback, Optional } from './common';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier, CommonMethod } from "./common";
+
+/**
+ * The challenge result based on input pattern for control pattern lock component.
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum PatternLockChallengeResult {
+ /**
+ * The challenge result is correct.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ CORRECT = 1,
+ /**
+ * The challenge result is wrong.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ WRONG = 2
+}
+/**
+ * Defines the options of active circle style.
+ *
+ * @interface CircleStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CircleStyleOptions {
+ /**
+ * The circle color when cell is active state.
+ *
+ * @type { ?ResourceColor }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ color?: ResourceColor;
+ /**
+ * The circle radius when cell is active state.
+ *
+ * @type { ?LengthMetrics }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ radius?: LengthMetrics;
+ /**
+ * Enable the wave effect when cell is active.
+ *
+ * @type { ?boolean }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableWaveEffect?: boolean;
+ /**
+ * Enable the activity circle style displayed in the foreground.
+ *
+ * @type { ?boolean }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableForeground?: boolean;
+}
+/**
+ * Provides methods for control pattern lock component.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class PatternLockController {
+ /**
+ * A constructor used to create a PatternLockController instance.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor();
+ /**
+ * Reset pattern lock.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ reset(): void;
+ /**
+ * Sets the authentication challenge result for the pattern password.
+ * @param { PatternLockChallengeResult } result - Authentication challenge result of the pattern password.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ setChallengeResult(result: PatternLockChallengeResult): void;
+}
+/**
+ * Defines the PatternLock component attributes.
+ *
+ * @extends CommonMethod
+ * @interface PatternLockAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface PatternLockAttribute extends CommonMethod {
+ /**
+ * Sets the width and height (same value) of the component.
+ *
+ * NOTE:
+ *
If this attribute is set to 0 or a negative number, the component is not displayed.
+ *
+ *
+ * @param { Length | undefined } value - Width and height of the component, Default value is 288vp.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default sideLength(value: Length | undefined): this;
+ /**
+ * Sets the radius of the dots in a grid.
+ *
+ * NOTE:
+ *
If this attribute is set to 0 or a negative value, the default value is used.
+ *
+ *
+ * @param { Length | undefined } value - Radius of the dots in a grid, Default value is 6vp.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default circleRadius(value: Length | undefined): this;
+ /**
+ * Sets the background color.
+ *
+ * @param { ResourceColor | undefined } value - Background color.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default backgroundColor(value: ResourceColor | undefined): this;
+ /**
+ * Sets the fill color of the grid dot in the unselected state.
+ *
+ * @param { ResourceColor | undefined } value - Fill color of the grid
+ * dot in the unselected state, Default value is '#ff182431'.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default regularColor(value: ResourceColor | undefined): this;
+ /**
+ * Sets the fill color of the grid dot in the selected state.
+ *
+ * @param { ResourceColor | undefined } value - Fill color of the
+ * grid dot in the selected state, Default value is '#ff182431'.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default selectedColor(value: ResourceColor | undefined): this;
+ /**
+ * Sets the fill color of the grid dot in the activated state,
+ * which is when the dot is highlighted but not selected.
+ *
+ * @param { ResourceColor | undefined } value - Fill color of the grid dot
+ * in the activated state, Default value is '#ff182431'.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default activeColor(value: ResourceColor | undefined): this;
+ /**
+ * Sets the path color.
+ *
+ * @param { ResourceColor | undefined } value - Path color, Default value is '#33182431'.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default pathColor(value: ResourceColor | undefined): this;
+ /**
+ * Sets the width of the path stroke.
+ *
+ * NOTE:
+ *
If this attribute is set to **0** or a negative value, the path stroke is not displayed.
+ *
+ *
+ * @param { number | string | undefined } value - Width of the path stroke, Default value is 12vp.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default pathStrokeWidth(value: number | string | undefined): this;
+ /**
+ * Invoked when the pattern password input is complete.
+ *
+ * @param { function | undefined } callback
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onPatternComplete(callback: ((input: Array) => void) | undefined): this;
+ /**
+ * Sets whether to allow the user to reset the component status (that is, clear the input) by touching the component
+ * again after the input is complete.
+ *
+ * @param { boolean | undefined } value - Whether to allow the user to reset
+ * the component status (that is, clear the input) by
+ * touching the component again after the input is complete, Default value is true.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default autoReset(value: boolean | undefined): this;
+ /**
+ * Called when connecting to a grid dot.
+ * @param { Callback | undefined } callback - A callback instance used when connection to a grid dot.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onDotConnect(callback: Callback | undefined): this;
+ /**
+ * Sets the background circle style for the dots in a grid when they are in the activated state.
+ *
+ * @param { CircleStyleOptions | undefined } options - Background circle style of the dots in the activated state.
+ * @returns { PatternLockAttribute } PatternLockAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default activateCircleStyle(options: CircleStyleOptions | undefined): this;
+ /**
+ * Sets whether unselected dots in the grid are automatically selected when the password path passes over them.
+ *
+ * @param { boolean } skipped - Whether unselected dots in the grid are automatically selected when the password
+ * path passes over them, Default value is false.
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default skipUnselectedPoint(skipped: boolean | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { PatternLockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the PatternLock component.
+ *
+ * @param { PatternLockController } [controller] - pattern lock controller.
+ * @param { function } [content_]
+ * @returns { PatternLockAttribute } The attribute of the PatternLock.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function PatternLock(
+ controller?: PatternLockController,
+ @memo
+ content_?: () => void
+): PatternLockAttribute;
diff --git a/api/arkui/component/progress.d.ets b/api/arkui/component/progress.d.ets
deleted file mode 100644
index e901a518f577198dfd2afd3b0dbdd9cc6fd44909..0000000000000000000000000000000000000000
--- a/api/arkui/component/progress.d.ets
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Copyright (c) 2024-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
- */
-
-
-// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION!
-
-import { memo, ComponentBuilder, __memo_context_type, __memo_id_type } from './../stateManagement/runtime'
-import { Length, PX, VP, LPX, ResourceColor, Font, VisualEffect, Filter, UniformDataType, Blender, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PixelMap } from './units'
-import { Resource } from './../../../api/global/resource'
-import { CommonMethod, DrawModifier, Rectangle, Callback_Array_TouchTestInfo_TouchResult, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, BorderImageOption, OutlineStyle, Callback_ClickEvent_Void, ClickEvent, Callback_Boolean_HoverEvent_Void, HoverEvent, AccessibilityCallback, Callback_MouseEvent_Void, MouseEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, Callback_KeyEvent_Boolean, AnimateParam, TransitionOptions, TransitionEffect, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragEvent, CustomBuilder, DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, PreDragStatus, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, MotionPathOptions, ShadowOptions, ShadowStyle, ProgressMask, StateStyles, PixelStretchEffectOptions, AttributeModifier, GestureModifier, BackgroundBrightnessOptions, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, Callback_TouchEvent_HitTestMode, SizeChangeCallback, SafeAreaType, SafeAreaEdge, Literal_Alignment_align, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, ContentModifier, CommonConfiguration } from './common'
-
-export interface ProgressOptions {
- value: number;
- total?: number;
- style?: ProgressStyle;
- type?: ProgressType;
-}
-export enum ProgressType {
- LINEAR = 0,
- Linear = 0,
- RING = 1,
- Ring = 1,
- ECLIPSE = 2,
- Eclipse = 2,
- SCALE_RING = 3,
- ScaleRing = 3,
- CAPSULE = 4,
- Capsule = 4
-}
-export enum ProgressStatus {
- LOADING = 0,
- PROGRESSING = 1
-}
-export interface ProgressStyleOptions extends CommonProgressStyleOptions {
- strokeWidth?: Length;
- scaleCount?: number;
- scaleWidth?: Length;
-}
-export interface CommonProgressStyleOptions {
- enableSmoothEffect?: boolean;
-}
-export interface ScanEffectOptions {
- enableScanEffect?: boolean;
-}
-export interface EclipseStyleOptions extends CommonProgressStyleOptions {
-}
-export interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
- strokeWidth?: Length;
- scaleWidth?: Length;
- scaleCount?: number;
-}
-export interface RingStyleOptions extends ScanEffectOptions {
- strokeWidth?: Length;
- shadow?: boolean;
- status?: ProgressStatus;
-}
-export interface LinearStyleOptions extends ScanEffectOptions {
- strokeWidth?: Length;
- strokeRadius?: PX | VP | LPX | Resource;
-}
-export interface CapsuleStyleOptions extends ScanEffectOptions {
- borderColor?: ResourceColor;
- borderWidth?: Length;
- content?: string;
- font?: Font;
- fontColor?: ResourceColor;
- showDefaultPercentage?: boolean;
-}
-export enum ProgressStyle {
- LINEAR = 0,
- Linear = 0,
- RING = 1,
- Ring = 1,
- ECLIPSE = 2,
- Eclipse = 2,
- SCALE_RING = 3,
- ScaleRing = 3,
- CAPSULE = 4,
- Capsule = 4
-}
-export interface ProgressStyleMap {
-}
-export type ProgressInterface = (options: ProgressOptions) => ProgressAttribute;
-export interface ProgressAttribute extends CommonMethod {
- @memo
- value(value: number): this;
- @memo
- color(value: ResourceColor): this;
- @memo
- style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions): this;
- @memo
- privacySensitive(value: boolean | undefined): this;
- @memo
- contentModifier(value: ContentModifier): this;
-}
-export interface ProgressConfiguration extends CommonConfiguration {
- value: number;
- total: number;
-}
-@memo
-@ComponentBuilder
-export declare function Progress(
- options: ProgressOptions,
- @memo
- content_?: () => void,
-): ProgressAttribute
diff --git a/api/arkui/component/progress.static.d.ets b/api/arkui/component/progress.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..7a503f9c5de671837f5df4e5482888226d664961
--- /dev/null
+++ b/api/arkui/component/progress.static.d.ets
@@ -0,0 +1,532 @@
+'use static';
+/*
+ * 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 { ResourceColor, Length, PX, VP, LPX, Font, ResourceStr } from "./units";
+import { Resource } from '../../global/resource';
+import { CommonMethod, Optional, ContentModifier, CommonConfiguration } from './common';
+import { LinearGradient } from "./dataPanel";
+import { LengthMetrics } from '../Graphics';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Defines the option of Progress.
+ *
+ * @interface ProgressOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ProgressOptions {
+ /**
+ * Sets the value of Progress.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ value: number;
+ /**
+ * Sets the total of Progress.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ total?: number;
+ /**
+ * Sets the type of Progress.
+ *
+ * @type { ?ProgressType }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ type?: ProgressType;
+}
+/**
+ * Type of progress bar
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ProgressType {
+ /**
+ * Linear progress bar style.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Linear = 0,
+ /**
+ * Ring progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Ring = 1,
+ /**
+ * Eclipse progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Eclipse = 2,
+ /**
+ * ScaleRing progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ ScaleRing = 3,
+ /**
+ * Capsule progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Capsule = 4
+}
+/**
+ * Current status of progress bar.
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ProgressStatus {
+ /**
+ * Loading status.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ LOADING,
+ /**
+ * Processing status.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ PROGRESSING
+}
+/**
+ * Defines style options for progress component.
+ *
+ * @extends CommonProgressStyleOptions
+ * @interface ProgressStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ProgressStyleOptions extends CommonProgressStyleOptions {
+ /**
+ * Defines the strokeWidth property.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ strokeWidth?: Length;
+ /**
+ * Defines the scaleCount property.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ scaleCount?: number;
+ /**
+ * Defines the scaleWidth property.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ scaleWidth?: Length;
+}
+/**
+ * Progress common style options.
+ *
+ * @interface CommonProgressStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CommonProgressStyleOptions {
+ /**
+ * Enable smooth effect.
+ *
+ * @type { ?boolean }
+ * @default true
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableSmoothEffect?: boolean;
+}
+/**
+ * Defines the enable scan effect.
+ *
+ * @interface ScanEffectOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ScanEffectOptions {
+ /**
+ * Enable scan effect.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ enableScanEffect?: boolean;
+}
+/**
+ * Defines the Eclipse style Options.
+ *
+ * @extends CommonProgressStyleOptions
+ * @interface EclipseStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface EclipseStyleOptions extends CommonProgressStyleOptions {
+}
+/**
+ * Defines the ScaleRing style Options.
+ *
+ * @extends CommonProgressStyleOptions
+ * @interface ScaleRingStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions {
+ /**
+ * Defines the strokeWidth property.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ strokeWidth?: Length;
+ /**
+ * Defines the scaleWidth property.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ scaleWidth?: Length;
+ /**
+ * Defines the scaleCount property.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ scaleCount?: number;
+}
+/**
+ * Defines the ring style Options.
+ *
+ * @extends ScanEffectOptions, CommonProgressStyleOptions
+ * @interface RingStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions {
+ /**
+ * Defines the strokeWidth property.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ strokeWidth?: Length;
+ /**
+ * Enables progress shadow.
+ *
+ * @type { ?boolean }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ shadow?: boolean;
+ /**
+ * The status of progress, default is PROGRESSING. Set to LOADING status will trigger the loading animation.
+ *
+ * @type { ?ProgressStatus }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ status?: ProgressStatus;
+}
+/**
+ * Defines the linear style Options.
+ *
+ * @extends ScanEffectOptions, CommonProgressStyleOptions
+ * @interface LinearStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions {
+ /**
+ * Defines the strokeWidth property.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ strokeWidth?: Length;
+ /**
+ * Defines the stroke radius property.
+ *
+ * @type { ?(PX | VP | LPX | Resource) }
+ * @default strokeWidth / 2
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ strokeRadius?: PX | VP | LPX | Resource;
+}
+/**
+ * Defines the capsule style Options.
+ *
+ * @extends ScanEffectOptions, CommonProgressStyleOptions
+ * @interface CapsuleStyleOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions {
+ /**
+ * Set the inner border color.
+ *
+ * @type { ?ResourceColor }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ borderColor?: ResourceColor;
+ /**
+ * Set the border width.
+ *
+ * @type { ?Length }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ borderWidth?: Length;
+ /**
+ * Set the text content.
+ *
+ * @type { ?string }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ content?: string;
+ /**
+ * Set the text style.
+ *
+ * @type { ?Font }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ font?: Font;
+ /**
+ * Set the text fontColor.
+ *
+ * @type { ?ResourceColor }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ fontColor?: ResourceColor;
+ /**
+ * show default percentage.
+ *
+ * @type { ?boolean }
+ * @default false
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ showDefaultPercentage?: boolean;
+ /**
+ * Set border rounded corner radius.
+ *
+ * @type { ?LengthMetrics }
+ * @default height / 2
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ borderRadius?: LengthMetrics;
+}
+/**
+ * Type of progress bar
+ *
+ * @enum { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare enum ProgressStyle {
+ /**
+ * Linear progress bar style.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Linear,
+ /**
+ * Ring progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Ring,
+ /**
+ * Eclipse progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Eclipse,
+ /**
+ * ScaleRing progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ ScaleRing,
+ /**
+ * Capsule progress bar.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ Capsule
+}
+/**
+ * Defines the map for progress type and style.
+ *
+ * @interface ProgressStyleMap
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @atomicservice
+ * @since 20
+ */
+export declare interface ProgressStyleMap {}
+/**
+ * Defines the Progress component attributes.
+ *
+ * @extends CommonMethod
+ * @interface ProgressAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ProgressAttribute extends CommonMethod {
+ /**
+ * Called when the current progress value is set.
+ *
+ * @param { number } value
+ * @returns { ProgressAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default value(value: number | undefined): this;
+ /**
+ * Called when the progress bar foreground is set.
+ *
+ * @param { ResourceColor | LinearGradient | undefined } value - indicates the color of the progress.
+ * @returns { ProgressAttribute } the attribute of the progress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default color(value: ResourceColor | LinearGradient | undefined): this;
+ /**
+ * Called when the style of progress bar is set.
+ *
+ * @param { LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions } value -
+ * indicates the style of the progress.
+ * @returns { ProgressAttribute } the attribute of the progress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions | undefined): this;
+ /**
+ * Sets if mark to privacy sensitive.
+ *
+ * @param { boolean | undefined } isPrivacySensitiveMode - indicates if mark to privacy sensitive.
+ * @returns { ProgressAttribute } the attribute of the progress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default privacySensitive(isPrivacySensitiveMode: boolean | undefined): this;
+ /**
+ * Set the contentModifier of progress.
+ *
+ * @param { ContentModifier | undefined } modifier - The contentModifier of progress.
+ * @returns { ProgressAttribute } the attribute of the progress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default contentModifier(modifier: ContentModifier | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { ProgressAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * ProgressConfiguration used by progress contentModifier
+ *
+ * @extends CommonConfiguration
+ * @interface ProgressConfiguration
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface ProgressConfiguration extends CommonConfiguration {
+ /**
+ * The value of Progress.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ value: number;
+ /**
+ * The total of Progress.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ total: number;
+}
+/**
+ * Defines the Progress component.
+ *
+ * @param { ProgressOptions } options - progress options.
+ * @param { function } [content_]
+ * @returns { ProgressAttribute } The attribute of the Progress.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function Progress(
+ options: ProgressOptions,
+ @memo
+ content_?: () => void
+): ProgressAttribute;
diff --git a/api/arkui/component/qrcode.static.d.ets b/api/arkui/component/qrcode.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..449fe592de8658c7a5bd138e007e3812fc4d1420
--- /dev/null
+++ b/api/arkui/component/qrcode.static.d.ets
@@ -0,0 +1,88 @@
+'use static';
+/*
+ * 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 { CommonMethod } from './common';
+import { ResourceColor, ResourceStr } from "./units";
+import { Resource } from '../../global/resource';
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Defines the QRCode component attributes.
+ *
+ * @extends CommonMethod
+ * @interface QRCodeAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface QRCodeAttribute extends CommonMethod {
+ /**
+ * Called when the QR code color is set.
+ *
+ * @param { ResourceColor | undefined } value
+ * @returns { QRCodeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default color(value: ResourceColor | undefined): this;
+ /**
+ * Called when setting the QR code background color.
+ *
+ * @param { ResourceColor | undefined } value
+ * @returns { QRCodeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default backgroundColor(value: ResourceColor | undefined): this;
+ /**
+ * Set the opacity of the QR code content color.
+ * @param { number | Resource | undefined } value - indicates the opacity of the QR code content color. The value is between 0 and 1, with a default value of 1.
+ * @returns { QRCodeAttribute } the attribute of the QR code
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default contentOpacity(value: number | Resource | undefined): this;
+ /**
+ * Set the attribute modifier
+ *
+ * @param { AttributeModifier | AttributeModifier | undefined } modifier
+ * @returns { QRCodeAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default attributeModifier(modifier: AttributeModifier | AttributeModifier | undefined): this;
+}
+/**
+ * Defines the QRCode component.
+ *
+ * @param { string } value - qrcode string.
+ * @param { function } [content_]
+ * @returns { QRCodeAttribute } The attribute of the QRCode.
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+@memo
+@ComponentBuilder
+export declare function QRCode(
+ value: string,
+ @memo
+ content_?: () => void
+): QRCodeAttribute;
diff --git a/api/arkui/component/textClock.static.d.ets b/api/arkui/component/textClock.static.d.ets
new file mode 100644
index 0000000000000000000000000000000000000000..d963013b9993dd388e53dfd44846cef8c18a2d08
--- /dev/null
+++ b/api/arkui/component/textClock.static.d.ets
@@ -0,0 +1,284 @@
+'use static';
+/*
+ * 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 { CommonConfiguration, CommonMethod, ShadowOptions, ContentModifier, Optional, DateTimeOptions } from './common';
+import { ResourceColor, Length, ResourceStr, VoidCallback } from "./units";
+import { FontStyle, FontWeight } from "./enums";
+import { memo, ComponentBuilder } from "./../stateManagement/runtime";
+import { AttributeModifier } from "./common";
+
+/**
+ * Provides a way to control the textclock status.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare class TextClockController {
+ /**
+ * constructor.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ constructor();
+ /**
+ * Provides a start event for textclock.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ start(): void;
+ /**
+ * Provides a stop event for textclock.
+ *
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ stop(): void;
+}
+/**
+ * TextClockConfiguration used by text clock content modifier
+ *
+ * @extends CommonConfiguration
+ * @interface TextClockConfiguration
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface TextClockConfiguration extends CommonConfiguration {
+ /**
+ * Specifies the current time zone.
+ * The valid value is an integer ranging from - 14 to 12,
+ * Where a negative value indicates the eastern time zone, for example, -8.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ timeZoneOffset: number;
+ /**
+ * TextClock is started or not.
+ *
+ * @type { boolean }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ started: boolean;
+ /**
+ * The time of the TextClock.
+ *
+ * @type { number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ timeValue: number;
+}
+/**
+ * Options to construct TextClock component.
+ *
+ * @interface TextClockOptions
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface TextClockOptions {
+ /**
+ * Time zone offset.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?number }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ timeZoneOffset?: number;
+ /**
+ * TextClock controller.
+ * Anonymous Object Rectification.
+ *
+ * @type { ?TextClockController }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ controller?: TextClockController;
+}
+/**
+ * Defines the TextClock component attributes.
+ *
+ * @extends CommonMethod
+ * @interface TextClockAttribute
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+export declare interface TextClockAttribute extends CommonMethod {
+ /**
+ * set display time format,such as "yyyy/mm/dd","yyyy-mm-dd".
+ * support time format:yyyy,mm,mmm(English month abbreviation),mmmm(Full name of the month in English),
+ * dd,ddd(English Week abbreviation),dddd(Full name of the week in English),
+ * HH/hh(24-hour clock/12-hour clock),MM/mm(minute),SS/ss(second).
+ * The default value is "hh:mm:ss" when TextClock is not in a form.
+ * The default value is "hh:mm" when TextClock is in a form.
+ * If the value has second or millisecond, the value will be set to the default value.
+ *
+ * @param { ResourceStr | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default format(value: ResourceStr | undefined): this;
+ /**
+ * set display time format,such as "yyyy/mm/dd","yyyy-mm-dd".
+ * support time format:yyyy,mm,mmm(English month abbreviation),mmmm(Full name of the month in English),
+ * dd,ddd(English Week abbreviation),dddd(Full name of the week in English),
+ * HH/hh(24-hour clock/12-hour clock),MM/mm(minute),SS/ss(second).
+ * The default value is "hh:mm:ss" when TextClock is not in a form.
+ * The default value is "hh:mm" when TextClock is in a form.
+ * If the value has second or millisecond, the value will be set to the default value.
+ *
+ * @param { string | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default format(value: string | undefined): this;
+ /**
+ * Provides a date change callback.
+ * The callback parameter is Unix Time Stamp,
+ * The number of milliseconds that have elapsed since January 1, 1970 (UTC).
+ * The minimum callback interval for this event default is seconds when TextClock is not in a form.
+ * The minimum callback interval for this event is minutes when TextClock is in a form.
+ * If visibility is Hidden the callback be disabled when TextClock is in a form.
+ * You can listen to this callback,
+ * Use the format attribute method to customize data display in the callback.
+ *
+ * @param { function | undefined } event - Listening date event callback.
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default onDateChange(event: ((value: number) => void) | undefined): this;
+ /**
+ * Called when the value of TextClock fontColor is set
+ *
+ * @param { ResourceColor | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fontColor(value: ResourceColor | undefined): this;
+ /**
+ * Called when the value of TextClock fontSize is set
+ *
+ * @param { Length | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fontSize(value: Length | undefined): this;
+ /**
+ * Called when the value of TextClock fontStyle is set
+ *
+ * @param { FontStyle | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fontStyle(value: FontStyle | undefined): this;
+ /**
+ * Called when the value of TextClock fontWeight is set
+ *
+ * @param { number | FontWeight | string | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fontWeight(value: number | FontWeight | string | undefined): this;
+ /**
+ * Called when the value of TextClock fontFamily is set
+ *
+ * @param { ResourceStr | undefined } value
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default fontFamily(value: ResourceStr | undefined): this;
+ /**
+ * Called when the text shadow is set.
+ *
+ * @param { ShadowOptions | Array | undefined } value - The shadow options.
+ * @returns { TextClockAttribute }
+ * @syscap SystemCapability.ArkUI.ArkUI.Full
+ * @since 20
+ */
+ default textShadow(value: ShadowOptions | Array