mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!14792 calendar_picker, checkbox, checkboxgroup, date_picker, rating and toggle api version change
Merge pull request !14792 from yyuanche/select_version
This commit is contained in:
commit
db9b124a27
16
api/@internal/component/ets/calendar_picker.d.ts
vendored
16
api/@internal/component/ets/calendar_picker.d.ts
vendored
@ -245,7 +245,7 @@ declare class CalendarPickerAttribute extends CommonMethod<CalendarPickerAttribu
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onChange(callback: Callback<Date>): CalendarPickerAttribute;
|
onChange(callback: Callback<Date>): CalendarPickerAttribute;
|
||||||
}
|
}
|
||||||
@ -287,7 +287,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onAccept?: Callback<Date>;
|
onAccept?: Callback<Date>;
|
||||||
|
|
||||||
@ -312,7 +312,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onCancel?: VoidCallback;
|
onCancel?: VoidCallback;
|
||||||
|
|
||||||
@ -337,7 +337,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onChange?: Callback<Date>;
|
onChange?: Callback<Date>;
|
||||||
|
|
||||||
@ -421,7 +421,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDidAppear?: VoidCallback;
|
onDidAppear?: VoidCallback;
|
||||||
|
|
||||||
@ -441,7 +441,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDidDisappear?: VoidCallback;
|
onDidDisappear?: VoidCallback;
|
||||||
|
|
||||||
@ -461,7 +461,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onWillAppear?: VoidCallback;
|
onWillAppear?: VoidCallback;
|
||||||
|
|
||||||
@ -481,7 +481,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onWillDisappear?: VoidCallback;
|
onWillDisappear?: VoidCallback;
|
||||||
|
|
||||||
|
4
api/@internal/component/ets/checkbox.d.ts
vendored
4
api/@internal/component/ets/checkbox.d.ts
vendored
@ -270,7 +270,7 @@ interface CheckboxInterface {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
declare type OnCheckboxChangeCallback = (value: boolean) => void;
|
declare type OnCheckboxChangeCallback = (value: boolean) => void;
|
||||||
|
|
||||||
@ -501,7 +501,7 @@ declare class CheckboxAttribute extends CommonMethod<CheckboxAttribute> {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onChange(callback: OnCheckboxChangeCallback): CheckboxAttribute;
|
onChange(callback: OnCheckboxChangeCallback): CheckboxAttribute;
|
||||||
|
|
||||||
|
@ -412,7 +412,7 @@ interface CheckboxGroupInterface {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
declare type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void;
|
declare type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void;
|
||||||
|
|
||||||
@ -620,7 +620,7 @@ declare class CheckboxGroupAttribute extends CommonMethod<CheckboxGroupAttribute
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onChange(callback: OnCheckboxGroupChangeCallback): CheckboxGroupAttribute;
|
onChange(callback: OnCheckboxGroupChangeCallback): CheckboxGroupAttribute;
|
||||||
|
|
||||||
|
16
api/@internal/component/ets/date_picker.d.ts
vendored
16
api/@internal/component/ets/date_picker.d.ts
vendored
@ -437,7 +437,7 @@ declare class DatePickerAttribute extends CommonMethod<DatePickerAttribute> {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDateChange(callback: Callback<Date>): DatePickerAttribute;
|
onDateChange(callback: Callback<Date>): DatePickerAttribute;
|
||||||
}
|
}
|
||||||
@ -783,7 +783,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onCancel?: VoidCallback;
|
onCancel?: VoidCallback;
|
||||||
|
|
||||||
@ -822,7 +822,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDateAccept?: Callback<Date>;
|
onDateAccept?: Callback<Date>;
|
||||||
|
|
||||||
@ -850,7 +850,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDateChange?: Callback<Date>;
|
onDateChange?: Callback<Date>;
|
||||||
|
|
||||||
@ -912,7 +912,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDidAppear?: VoidCallback;
|
onDidAppear?: VoidCallback;
|
||||||
|
|
||||||
@ -932,7 +932,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onDidDisappear?: VoidCallback;
|
onDidDisappear?: VoidCallback;
|
||||||
|
|
||||||
@ -952,7 +952,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onWillAppear?: VoidCallback;
|
onWillAppear?: VoidCallback;
|
||||||
|
|
||||||
@ -972,7 +972,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
|||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
onWillDisappear?: VoidCallback;
|
onWillDisappear?: VoidCallback;
|
||||||
|
|
||||||
|
8
api/@internal/component/ets/rating.d.ts
vendored
8
api/@internal/component/ets/rating.d.ts
vendored
@ -26,7 +26,7 @@
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
declare interface RatingOptions {
|
declare interface RatingOptions {
|
||||||
/**
|
/**
|
||||||
@ -110,7 +110,7 @@ declare interface RatingOptions {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
declare interface StarStyleOptions {
|
declare interface StarStyleOptions {
|
||||||
/**
|
/**
|
||||||
@ -304,7 +304,7 @@ interface RatingInterface {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
(options?: RatingOptions): RatingAttribute;
|
(options?: RatingOptions): RatingAttribute;
|
||||||
}
|
}
|
||||||
@ -537,7 +537,7 @@ declare class RatingAttribute extends CommonMethod<RatingAttribute> {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
starStyle(options: StarStyleOptions): RatingAttribute;
|
starStyle(options: StarStyleOptions): RatingAttribute;
|
||||||
|
|
||||||
|
4
api/@internal/component/ets/toggle.d.ts
vendored
4
api/@internal/component/ets/toggle.d.ts
vendored
@ -258,7 +258,7 @@ declare interface ToggleConfiguration extends CommonConfiguration<ToggleConfigur
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
declare interface ToggleOptions {
|
declare interface ToggleOptions {
|
||||||
/**
|
/**
|
||||||
@ -416,7 +416,7 @@ interface ToggleInterface {
|
|||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @form
|
* @form
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 13
|
* @since 14
|
||||||
*/
|
*/
|
||||||
(options: ToggleOptions): ToggleAttribute;
|
(options: ToggleOptions): ToggleAttribute;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user