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
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onChange(callback: Callback<Date>): CalendarPickerAttribute;
|
||||
}
|
||||
@ -287,7 +287,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onAccept?: Callback<Date>;
|
||||
|
||||
@ -312,7 +312,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onCancel?: VoidCallback;
|
||||
|
||||
@ -337,7 +337,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onChange?: Callback<Date>;
|
||||
|
||||
@ -421,7 +421,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDidAppear?: VoidCallback;
|
||||
|
||||
@ -441,7 +441,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDidDisappear?: VoidCallback;
|
||||
|
||||
@ -461,7 +461,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onWillAppear?: VoidCallback;
|
||||
|
||||
@ -481,7 +481,7 @@ declare interface CalendarDialogOptions extends CalendarOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
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
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
declare type OnCheckboxChangeCallback = (value: boolean) => void;
|
||||
|
||||
@ -501,7 +501,7 @@ declare class CheckboxAttribute extends CommonMethod<CheckboxAttribute> {
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onChange(callback: OnCheckboxChangeCallback): CheckboxAttribute;
|
||||
|
||||
|
@ -412,7 +412,7 @@ interface CheckboxGroupInterface {
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
declare type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void;
|
||||
|
||||
@ -620,7 +620,7 @@ declare class CheckboxGroupAttribute extends CommonMethod<CheckboxGroupAttribute
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
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
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDateChange(callback: Callback<Date>): DatePickerAttribute;
|
||||
}
|
||||
@ -783,7 +783,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onCancel?: VoidCallback;
|
||||
|
||||
@ -822,7 +822,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDateAccept?: Callback<Date>;
|
||||
|
||||
@ -850,7 +850,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDateChange?: Callback<Date>;
|
||||
|
||||
@ -912,7 +912,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDidAppear?: VoidCallback;
|
||||
|
||||
@ -932,7 +932,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onDidDisappear?: VoidCallback;
|
||||
|
||||
@ -952,7 +952,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
onWillAppear?: VoidCallback;
|
||||
|
||||
@ -972,7 +972,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions {
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
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
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
declare interface RatingOptions {
|
||||
/**
|
||||
@ -110,7 +110,7 @@ declare interface RatingOptions {
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
declare interface StarStyleOptions {
|
||||
/**
|
||||
@ -304,7 +304,7 @@ interface RatingInterface {
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
(options?: RatingOptions): RatingAttribute;
|
||||
}
|
||||
@ -537,7 +537,7 @@ declare class RatingAttribute extends CommonMethod<RatingAttribute> {
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
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
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
declare interface ToggleOptions {
|
||||
/**
|
||||
@ -416,7 +416,7 @@ interface ToggleInterface {
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
(options: ToggleOptions): ToggleAttribute;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user