From 9127931faf3bdb7a8d6c0ae65302877e12bca11c Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Mon, 24 Jan 2022 21:35:49 +0800 Subject: [PATCH 1/2] houhaoyu@huawei.com Signed-off-by: houhaoyu Change-Id: I083b6ca7d24b5519d23aaa73382e88b73e5ca661 --- .../component/ets/alphabet_indexer.d.ts | 18 +++++++++++ api/@internal/component/ets/animator.d.ts | 12 +++++++ api/@internal/component/ets/badge.d.ts | 20 +++++++++++- api/@internal/component/ets/blank.d.ts | 18 +++++++++++ api/@internal/component/ets/button.d.ts | 24 ++++++++++++++ api/@internal/component/ets/calendar.d.ts | 24 ++++++++++++++ api/@internal/component/ets/canvas.d.ts | 18 +++++++++++ api/@internal/component/ets/checkbox.d.ts | 17 ++++++++++ .../component/ets/checkboxgroup.d.ts | 17 ++++++++++ api/@internal/component/ets/circle.d.ts | 20 +++++++++++- api/@internal/component/ets/column.d.ts | 18 +++++++++++ api/@internal/component/ets/column_split.d.ts | 18 +++++++++++ api/@internal/component/ets/counter.d.ts | 18 +++++++++++ api/@internal/component/ets/data_panel.d.ts | 18 +++++++++++ api/@internal/component/ets/date_picker.d.ts | 18 +++++++++++ api/@internal/component/ets/divider.d.ts | 18 +++++++++++ api/@internal/component/ets/ellipse.d.ts | 20 +++++++++++- api/@internal/component/ets/flex.d.ts | 20 +++++++++++- api/@internal/component/ets/forEach.d.ts | 22 +++++++++++++ .../component/ets/form_component.d.ts | 26 ++++++++++++++++ api/@internal/component/ets/gauge.d.ts | 18 +++++++++++ api/@internal/component/ets/grid.d.ts | 18 +++++++++++ api/@internal/component/ets/gridItem.d.ts | 18 +++++++++++ .../component/ets/grid_container.d.ts | 20 +++++++++++- api/@internal/component/ets/hyperlink.d.ts | 18 +++++++++++ api/@internal/component/ets/image.d.ts | 18 +++++++++++ .../component/ets/image_animator.d.ts | 18 +++++++++++ api/@internal/component/ets/lazyForEach.d.ts | 20 ++++++++++++ api/@internal/component/ets/line.d.ts | 18 +++++++++++ api/@internal/component/ets/list.d.ts | 18 +++++++++++ api/@internal/component/ets/listItem.d.ts | 18 +++++++++++ .../component/ets/loading_progress.d.ts | 18 +++++++++++ api/@internal/component/ets/marquee.d.ts | 18 +++++++++++ api/@internal/component/ets/navigation.d.ts | 18 +++++++++++ api/@internal/component/ets/navigator.d.ts | 18 +++++++++++ .../component/ets/pageTransition.d.ts | 24 ++++++++++++++ api/@internal/component/ets/panel.d.ts | 18 +++++++++++ api/@internal/component/ets/path.d.ts | 18 +++++++++++ api/@internal/component/ets/pattern_lock.d.ts | 18 +++++++++++ api/@internal/component/ets/piece.d.ts | 18 +++++++++++ .../component/ets/plugin_component.d.ts | 18 +++++++++++ api/@internal/component/ets/polygon.d.ts | 18 +++++++++++ api/@internal/component/ets/polyline.d.ts | 18 +++++++++++ api/@internal/component/ets/progress.d.ts | 18 +++++++++++ api/@internal/component/ets/qrcode.d.ts | 18 +++++++++++ api/@internal/component/ets/radio.d.ts | 18 +++++++++++ api/@internal/component/ets/rating.d.ts | 18 +++++++++++ api/@internal/component/ets/rect.d.ts | 31 +++++++++++++++++++ api/@internal/component/ets/refresh.d.ts | 18 +++++++++++ api/@internal/component/ets/row.d.ts | 18 +++++++++++ api/@internal/component/ets/row_split.d.ts | 18 +++++++++++ api/@internal/component/ets/scroll.d.ts | 18 +++++++++++ api/@internal/component/ets/scroll_bar.d.ts | 20 +++++++++++- api/@internal/component/ets/search.d.ts | 22 +++++++++++++ api/@internal/component/ets/select.d.ts | 18 +++++++++++ api/@internal/component/ets/shape.d.ts | 18 +++++++++++ api/@internal/component/ets/sheet.d.ts | 20 +++++++++++- api/@internal/component/ets/slider.d.ts | 18 +++++++++++ api/@internal/component/ets/span.d.ts | 12 +++++++ api/@internal/component/ets/stack.d.ts | 18 +++++++++++ api/@internal/component/ets/stepper.d.ts | 18 +++++++++++ api/@internal/component/ets/stepperItem.d.ts | 18 +++++++++++ api/@internal/component/ets/swiper.d.ts | 18 +++++++++++ api/@internal/component/ets/tab_content.d.ts | 18 +++++++++++ api/@internal/component/ets/tabs.d.ts | 18 +++++++++++ api/@internal/component/ets/text.d.ts | 18 +++++++++++ api/@internal/component/ets/text_area.d.ts | 18 +++++++++++ api/@internal/component/ets/text_clock.d.ts | 18 +++++++++++ api/@internal/component/ets/text_input.d.ts | 18 +++++++++++ api/@internal/component/ets/text_picker.d.ts | 18 +++++++++++ api/@internal/component/ets/text_timer.d.ts | 18 +++++++++++ api/@internal/component/ets/toggle.d.ts | 18 +++++++++++ api/@internal/component/ets/video.d.ts | 22 +++++++++++++ api/@internal/component/ets/web.d.ts | 18 +++++++++++ api/@internal/component/ets/xcomponent.d.ts | 23 ++++++++++++++ 75 files changed, 1401 insertions(+), 7 deletions(-) diff --git a/api/@internal/component/ets/alphabet_indexer.d.ts b/api/@internal/component/ets/alphabet_indexer.d.ts index a902431b34..563e2fb450 100644 --- a/api/@internal/component/ets/alphabet_indexer.d.ts +++ b/api/@internal/component/ets/alphabet_indexer.d.ts @@ -49,6 +49,24 @@ interface AlphabetIndexerInterface { * @since 7 */ declare class AlphabetIndexerAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): AlphabetIndexerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): AlphabetIndexerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { arrayValue: Array; selected: number }): AlphabetIndexerAttribute; + /** * Index bar selection callback. * @since 7 diff --git a/api/@internal/component/ets/animator.d.ts b/api/@internal/component/ets/animator.d.ts index ff253c2eba..20fea20dd5 100644 --- a/api/@internal/component/ets/animator.d.ts +++ b/api/@internal/component/ets/animator.d.ts @@ -89,6 +89,18 @@ interface AnimatorInterface { * @systemapi */ declare class AnimatorAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): AnimatorAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: string): AnimatorAttribute; + /** * Controls the playback status. The default value is the initial state. * @since 7 diff --git a/api/@internal/component/ets/badge.d.ts b/api/@internal/component/ets/badge.d.ts index 5c7d354ea0..06a4718058 100644 --- a/api/@internal/component/ets/badge.d.ts +++ b/api/@internal/component/ets/badge.d.ts @@ -143,7 +143,25 @@ interface BadgeInterface { * Defines Badge Componrnt attribute. * @since 7 */ -declare class BadgeAttribute extends CommonMethod {} +declare class BadgeAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): BadgeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): BadgeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: BadgeParamWithNumber | BadgeParamWithString): BadgeAttribute; +} declare const Badge: BadgeInterface declare const BadgeInstance: BadgeAttribute; diff --git a/api/@internal/component/ets/blank.d.ts b/api/@internal/component/ets/blank.d.ts index 4415acc8a0..a96c071381 100644 --- a/api/@internal/component/ets/blank.d.ts +++ b/api/@internal/component/ets/blank.d.ts @@ -30,6 +30,24 @@ interface BlankInterface { * @since 7 */ declare class BlankAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(min?: number | string): BlankAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): BlankAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): BlankAttribute; + /** * color: set color. * @since 7 diff --git a/api/@internal/component/ets/button.d.ts b/api/@internal/component/ets/button.d.ts index 68f472819d..2ea2df6a9b 100644 --- a/api/@internal/component/ets/button.d.ts +++ b/api/@internal/component/ets/button.d.ts @@ -84,6 +84,30 @@ interface ButtonInterface { * @since 7 */ declare class ButtonAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + createWithChild(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + createWithLabel(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ButtonAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ButtonAttribute; + /** * Describes the button style. * @since 7 diff --git a/api/@internal/component/ets/calendar.d.ts b/api/@internal/component/ets/calendar.d.ts index 73af8ae527..4f0b9e948b 100644 --- a/api/@internal/component/ets/calendar.d.ts +++ b/api/@internal/component/ets/calendar.d.ts @@ -531,6 +531,30 @@ interface CalendarInterface { * @systemapi */ declare class CalendarAttribute { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { + date: { year: number; month: number; day: number }; + currentData: MonthData; + preData: MonthData; + nextData: MonthData; + controller?: CalendarController; + }): CalendarAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): CalendarAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): CalendarAttribute; + /** * Specifies whether the component displays the lunar calendar information. * @since 7 diff --git a/api/@internal/component/ets/canvas.d.ts b/api/@internal/component/ets/canvas.d.ts index 5272dafcca..69c3ce889d 100644 --- a/api/@internal/component/ets/canvas.d.ts +++ b/api/@internal/component/ets/canvas.d.ts @@ -1104,6 +1104,24 @@ interface CanvasInterface { } declare class CanvasAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(context?: CanvasRenderingContext2D): CanvasAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): CanvasAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): CanvasAttribute; + /** * Event notification after the canvas component is constructed. You can draw the canvas at this time. * @since 8 diff --git a/api/@internal/component/ets/checkbox.d.ts b/api/@internal/component/ets/checkbox.d.ts index 9d842524fe..49d12b98b7 100644 --- a/api/@internal/component/ets/checkbox.d.ts +++ b/api/@internal/component/ets/checkbox.d.ts @@ -49,6 +49,23 @@ interface CheckboxInterface { * @since 8 */ declare class CheckboxAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: CheckboxOption): CheckboxAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): CheckboxAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): CheckboxAttribute; /** * setting whether checkbox is selected. diff --git a/api/@internal/component/ets/checkboxgroup.d.ts b/api/@internal/component/ets/checkboxgroup.d.ts index 7aa50a89f9..993979b555 100644 --- a/api/@internal/component/ets/checkboxgroup.d.ts +++ b/api/@internal/component/ets/checkboxgroup.d.ts @@ -81,6 +81,23 @@ interface CheckboxGroupInterface { * @since 8 */ declare class CheckboxGroupAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: CheckboxGroupOption): CheckboxGroupAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): CheckboxGroupAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): CheckboxGroupAttribute; /** * setting whether all checkbox is selected. diff --git a/api/@internal/component/ets/circle.d.ts b/api/@internal/component/ets/circle.d.ts index 56a14c7e18..abc944f6a6 100644 --- a/api/@internal/component/ets/circle.d.ts +++ b/api/@internal/component/ets/circle.d.ts @@ -53,7 +53,25 @@ interface CircleInterface { * Circle drawing component attribute functions. * @since 7 */ -declare class CircleAttribute extends CommonShapeMethod {} +declare class CircleAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: CircleOption): CircleAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): CircleAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): CircleAttribute; +} declare const Circle: CircleInterface; declare const CircleInstance: CircleAttribute; diff --git a/api/@internal/component/ets/column.d.ts b/api/@internal/component/ets/column.d.ts index f1045dccf4..a9a7d6be22 100644 --- a/api/@internal/component/ets/column.d.ts +++ b/api/@internal/component/ets/column.d.ts @@ -25,6 +25,12 @@ interface ColumnInterface { * @since 7 */ (value?: { space?: string | number }): ColumnAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { space?: string | number }): ColumnAttribute; } /** @@ -32,6 +38,18 @@ interface ColumnInterface { * @since 7 */ declare class ColumnAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ColumnAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ColumnAttribute; + /** * Sets the alignment format of the subassembly in the horizontal direction. * @since 7 diff --git a/api/@internal/component/ets/column_split.d.ts b/api/@internal/component/ets/column_split.d.ts index 7b897cf1fa..8f9b0e4001 100644 --- a/api/@internal/component/ets/column_split.d.ts +++ b/api/@internal/component/ets/column_split.d.ts @@ -30,6 +30,24 @@ interface ColumnSplitInterface { * @since 7 */ declare class ColumnSplitAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): ColumnSplitAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ColumnSplitAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ColumnSplitAttribute; + /** * Indicates whether the split line can be dragged. The default value is false. * @since 7 diff --git a/api/@internal/component/ets/counter.d.ts b/api/@internal/component/ets/counter.d.ts index a847e5f02b..9409612967 100644 --- a/api/@internal/component/ets/counter.d.ts +++ b/api/@internal/component/ets/counter.d.ts @@ -30,6 +30,24 @@ interface CounterInterface { * @since 7 */ declare class CounterAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): CounterAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): CounterAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): CounterAttribute; + /** * Listen to the event that the value increases. * @since 7 diff --git a/api/@internal/component/ets/data_panel.d.ts b/api/@internal/component/ets/data_panel.d.ts index 82d6f4c68b..ea22cb9036 100644 --- a/api/@internal/component/ets/data_panel.d.ts +++ b/api/@internal/component/ets/data_panel.d.ts @@ -73,6 +73,24 @@ interface DataPanelInterface { * @since 7 */ declare class DataPanelAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options: DataPanelOption): DataPanelAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): DataPanelAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): DataPanelAttribute; + /** * Disable the special effect of the data ratio chart. * @since 7 diff --git a/api/@internal/component/ets/date_picker.d.ts b/api/@internal/component/ets/date_picker.d.ts index 7cec6ba837..9140417f3f 100644 --- a/api/@internal/component/ets/date_picker.d.ts +++ b/api/@internal/component/ets/date_picker.d.ts @@ -115,6 +115,24 @@ interface DatePickerInterface { * @since 8 */ declare class DatePickerAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: DatePickerOption): DatePickerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): DatePickerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): DatePickerAttribute; + /** * Date selector: true: displays the lunar calendar. false: The lunar calendar is not displayed. * @since 8 diff --git a/api/@internal/component/ets/divider.d.ts b/api/@internal/component/ets/divider.d.ts index 4ee88aa42e..7814afba82 100644 --- a/api/@internal/component/ets/divider.d.ts +++ b/api/@internal/component/ets/divider.d.ts @@ -31,6 +31,24 @@ interface DividerInterface { * @since 7 */ declare class DividerAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): DividerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): DividerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): DividerAttribute; + /** * Indicates whether to use a horizontal splitter or a vertical splitter. * The options are as follows: false: horizontal splitter; true: vertical splitter. diff --git a/api/@internal/component/ets/ellipse.d.ts b/api/@internal/component/ets/ellipse.d.ts index 2ba7cdbbba..b115922434 100644 --- a/api/@internal/component/ets/ellipse.d.ts +++ b/api/@internal/component/ets/ellipse.d.ts @@ -35,7 +35,25 @@ interface EllipseInterface { /** * @since 7 */ -declare class EllipseAttribute extends CommonShapeMethod {} +declare class EllipseAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { width?: string | number; height?: string | number }): EllipseAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): EllipseAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): EllipseAttribute; +} declare const Ellipse: EllipseInterface; declare const EllipseInstance: EllipseAttribute; diff --git a/api/@internal/component/ets/flex.d.ts b/api/@internal/component/ets/flex.d.ts index 0e6bb92157..52f0489ef7 100644 --- a/api/@internal/component/ets/flex.d.ts +++ b/api/@internal/component/ets/flex.d.ts @@ -65,7 +65,25 @@ interface FlexInterface { * Defines the Flex attribute functions. * @since 7 */ -declare class FlexAttribute extends CommonMethod {} +declare class FlexAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: FlexOption): FlexAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): FlexAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): FlexAttribute; +} declare const Flex: FlexInterface; declare const FlexInstance: FlexAttribute; diff --git a/api/@internal/component/ets/forEach.d.ts b/api/@internal/component/ets/forEach.d.ts index d1e8c71767..76dedb3b0a 100644 --- a/api/@internal/component/ets/forEach.d.ts +++ b/api/@internal/component/ets/forEach.d.ts @@ -27,6 +27,28 @@ interface ForEachInterface { itemGenerator: (item: any, index?: number) => void, keyGenerator?: (item: any, index?: number) => string, ): ForEachInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create( + arr: Array, + itemGenerator: (item: any, index?: number) => void, + keyGenerator?: (item: any, index?: number) => string, + ): ForEachInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ForEachInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ForEachInterface; } /** diff --git a/api/@internal/component/ets/form_component.d.ts b/api/@internal/component/ets/form_component.d.ts index 1d3fa7dfdd..e5c55a4c97 100644 --- a/api/@internal/component/ets/form_component.d.ts +++ b/api/@internal/component/ets/form_component.d.ts @@ -76,6 +76,32 @@ interface FormComponentInterface { * @systemapi */ declare class FormComponentAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { + id: number; + name: string; + bundle: string; + ability: string; + module: string; + dimension?: FormDimension; + temporary?: boolean; + }): FormComponentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): FormComponentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): FormComponentAttribute; + /** * Sets the display area size of the card. * @since 7 diff --git a/api/@internal/component/ets/gauge.d.ts b/api/@internal/component/ets/gauge.d.ts index 6002fadf1e..ca26c517f0 100644 --- a/api/@internal/component/ets/gauge.d.ts +++ b/api/@internal/component/ets/gauge.d.ts @@ -31,6 +31,24 @@ interface GaugeInterface { * @since 8 */ declare class GaugeAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options: { value: number; min?: number; max?: number }): GaugeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): GaugeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): GaugeAttribute; + /** * Sets the value for the current profile. * @since 8 diff --git a/api/@internal/component/ets/grid.d.ts b/api/@internal/component/ets/grid.d.ts index c214e94334..f6fcb1a51d 100644 --- a/api/@internal/component/ets/grid.d.ts +++ b/api/@internal/component/ets/grid.d.ts @@ -40,6 +40,24 @@ declare enum GridDirection { * @since 7 */ declare class GridAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(scroller?: Scroller): GridAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): GridAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): GridAttribute; + /** * This parameter specifies the number of columns in the current grid layout. * @since 7 diff --git a/api/@internal/component/ets/gridItem.d.ts b/api/@internal/component/ets/gridItem.d.ts index 53e7a83444..bc22c0e064 100644 --- a/api/@internal/component/ets/gridItem.d.ts +++ b/api/@internal/component/ets/gridItem.d.ts @@ -29,6 +29,24 @@ interface GridItemInterface { * @since 7 */ declare class GridItemAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): GridItemAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): GridItemAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): GridItemAttribute; + /** * This parameter specifies the start line number of the current element. * @since 7 diff --git a/api/@internal/component/ets/grid_container.d.ts b/api/@internal/component/ets/grid_container.d.ts index 86cacbe428..edaece5e4b 100644 --- a/api/@internal/component/ets/grid_container.d.ts +++ b/api/@internal/component/ets/grid_container.d.ts @@ -95,7 +95,25 @@ interface GridContainerInterface { * Defines the grid container attribute from inheritance Column * @since 7 */ -declare class GridContainerAttribute extends ColumnAttribute {} +declare class GridContainerAttribute extends ColumnAttribute { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: GridContainerOption): GridContainerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): GridContainerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): GridContainerAttribute; +} declare const GridContainer: GridContainerInterface declare const GridContainerInstance: GridContainerAttribute; diff --git a/api/@internal/component/ets/hyperlink.d.ts b/api/@internal/component/ets/hyperlink.d.ts index f5c3dd4da0..52e6a9a9f9 100644 --- a/api/@internal/component/ets/hyperlink.d.ts +++ b/api/@internal/component/ets/hyperlink.d.ts @@ -31,6 +31,24 @@ interface HyperlinkInterface { * @since 7 */ declare class HyperlinkAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(address: string | Resource, content?: string | Resource): HyperlinkAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): HyperlinkAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): HyperlinkAttribute; + /** * Set Color * @since 7 diff --git a/api/@internal/component/ets/image.d.ts b/api/@internal/component/ets/image.d.ts index 9474d5f7c6..254ffb2615 100644 --- a/api/@internal/component/ets/image.d.ts +++ b/api/@internal/component/ets/image.d.ts @@ -75,6 +75,24 @@ interface ImageInterface { * @since 7 */ declare class ImageAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(src: string | PixelMap | Resource): ImageAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ImageAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ImageAttribute; + /** * Placeholder displayed on load * @since 7 diff --git a/api/@internal/component/ets/image_animator.d.ts b/api/@internal/component/ets/image_animator.d.ts index c30d4db729..24f6745889 100644 --- a/api/@internal/component/ets/image_animator.d.ts +++ b/api/@internal/component/ets/image_animator.d.ts @@ -29,6 +29,24 @@ interface ImageAnimatorInterface { * @since 7 */ declare class ImageAnimatorAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): ImageAnimatorAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ImageAnimatorAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ImageAnimatorAttribute; + /** * list images * @since 7 diff --git a/api/@internal/component/ets/lazyForEach.d.ts b/api/@internal/component/ets/lazyForEach.d.ts index 8498b93cb1..b4924e3d69 100644 --- a/api/@internal/component/ets/lazyForEach.d.ts +++ b/api/@internal/component/ets/lazyForEach.d.ts @@ -93,6 +93,26 @@ interface LazyForEachInterface { itemGenerator: (item: any, index?: number) => void, keyGenerator?: (item: any, index?: number) => string, ): LazyForEachInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create( + dataSource: IDataSource, + itemGenerator: (item: any, index?: number) => void, + keyGenerator?: (item: any, index?: number) => string, + ): LazyForEachInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): LazyForEachInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): LazyForEachInterface; } /** diff --git a/api/@internal/component/ets/line.d.ts b/api/@internal/component/ets/line.d.ts index 196d6ce173..8328d30c93 100644 --- a/api/@internal/component/ets/line.d.ts +++ b/api/@internal/component/ets/line.d.ts @@ -40,6 +40,24 @@ interface LineInterface { * @since 7 */ declare class LineAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { width?: string | number; height?: string | number }): LineAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): LineAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): LineAttribute; + /** * Coordinate of the start point of the line (relative coordinate). * @since 7 diff --git a/api/@internal/component/ets/list.d.ts b/api/@internal/component/ets/list.d.ts index ce515c78a0..37ec80e67c 100644 --- a/api/@internal/component/ets/list.d.ts +++ b/api/@internal/component/ets/list.d.ts @@ -55,6 +55,24 @@ interface ListInterface { * @since 7 */ declare class ListAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { initialIndex?: number; space?: number | string; scroller?: Scroller }): ListAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ListAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ListAttribute; + /** * Called when the arrangement direction of the list component is set. * @since 7 diff --git a/api/@internal/component/ets/listItem.d.ts b/api/@internal/component/ets/listItem.d.ts index 2f639959ec..f293d5df3b 100644 --- a/api/@internal/component/ets/listItem.d.ts +++ b/api/@internal/component/ets/listItem.d.ts @@ -83,6 +83,24 @@ interface ListItemInterface { * @since 7 */ declare class ListItemAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: string): ListItemAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ListItemAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ListItemAttribute; + /** * Called when setting whether item is ceiling effect. * @since 7 diff --git a/api/@internal/component/ets/loading_progress.d.ts b/api/@internal/component/ets/loading_progress.d.ts index 5bc3c49fd9..ebf51e4ebc 100644 --- a/api/@internal/component/ets/loading_progress.d.ts +++ b/api/@internal/component/ets/loading_progress.d.ts @@ -56,6 +56,24 @@ interface LoadingProgressInterface { * @since 8 */ declare class LoadingProgressAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): LoadingProgressAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): LoadingProgressAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): LoadingProgressAttribute; + /** * Load the color of the progress bar. * @since 8 diff --git a/api/@internal/component/ets/marquee.d.ts b/api/@internal/component/ets/marquee.d.ts index ab55150c97..40fc69d34a 100644 --- a/api/@internal/component/ets/marquee.d.ts +++ b/api/@internal/component/ets/marquee.d.ts @@ -30,6 +30,24 @@ interface MarqueeInterface { * @since 8 */ declare class MarqueeAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { start: boolean; step?: number; loop?: number; fromStart?: boolean; src: string }): MarqueeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): MarqueeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): MarqueeAttribute; + /** * Set marquee font Color. * @since 8 diff --git a/api/@internal/component/ets/navigation.d.ts b/api/@internal/component/ets/navigation.d.ts index 5130791878..9d8ef02c22 100644 --- a/api/@internal/component/ets/navigation.d.ts +++ b/api/@internal/component/ets/navigation.d.ts @@ -72,6 +72,24 @@ interface NavigationInterface { * @since 8 */ declare class NavigationAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): NavigationAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): NavigationAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): NavigationAttribute; + /** * Navigation title * @since 8 diff --git a/api/@internal/component/ets/navigator.d.ts b/api/@internal/component/ets/navigator.d.ts index 97046bdef4..6416ab04fa 100644 --- a/api/@internal/component/ets/navigator.d.ts +++ b/api/@internal/component/ets/navigator.d.ts @@ -60,6 +60,24 @@ interface NavigatorInterface { * @since 7 */ declare class NavigatorAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { target: string; type?: NavigationType }): NavigatorAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): NavigatorAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): NavigatorAttribute; + /** * Called when determining whether the routing component is active. * @since 7 diff --git a/api/@internal/component/ets/pageTransition.d.ts b/api/@internal/component/ets/pageTransition.d.ts index 9a8b56d408..7d3c4079c1 100644 --- a/api/@internal/component/ets/pageTransition.d.ts +++ b/api/@internal/component/ets/pageTransition.d.ts @@ -116,6 +116,18 @@ interface PageTransitionEnterInterface extends CommonTransition void): PageTransitionEnterInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PageTransitionEnterInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { type?: RouteType; duration?: number; curve?: Curve | string; delay?: number }): PageTransitionEnterInterface; } /** @@ -134,6 +146,18 @@ interface PageTransitionExitInterface extends CommonTransition void): PageTransitionExitInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PageTransitionExitInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { type?: RouteType; duration?: number; curve?: Curve | string; delay?: number }): PageTransitionExitInterface; } declare const PageTransitionEnter: PageTransitionEnterInterface; diff --git a/api/@internal/component/ets/panel.d.ts b/api/@internal/component/ets/panel.d.ts index 7b0dc56130..c2d438c664 100644 --- a/api/@internal/component/ets/panel.d.ts +++ b/api/@internal/component/ets/panel.d.ts @@ -79,6 +79,24 @@ interface PanelInterface { * @since 7 */ declare class PanelAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(show: boolean): PanelAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PanelAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PanelAttribute; + /** * Called when the initial state of the slidable panel is set. * @since 7 diff --git a/api/@internal/component/ets/path.d.ts b/api/@internal/component/ets/path.d.ts index 5544383edc..ff11ab51aa 100644 --- a/api/@internal/component/ets/path.d.ts +++ b/api/@internal/component/ets/path.d.ts @@ -35,6 +35,24 @@ interface PathInterface { * @since 7 */ declare class PathAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { width?: number | string; height?: number | string; commands?: string }): PathAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PathAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PathAttribute; + /** * Called when the command string drawn by the path is set. * @since 7 diff --git a/api/@internal/component/ets/pattern_lock.d.ts b/api/@internal/component/ets/pattern_lock.d.ts index efc54d9d3b..c7887d0157 100644 --- a/api/@internal/component/ets/pattern_lock.d.ts +++ b/api/@internal/component/ets/pattern_lock.d.ts @@ -41,6 +41,24 @@ interface PatternLockInterface { * @since 8 */ declare class PatternLockAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(controller?: PatternLockController): PatternLockAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PatternLockAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PatternLockAttribute; + /** * The square side length of pattern lock component. * @since 8 diff --git a/api/@internal/component/ets/piece.d.ts b/api/@internal/component/ets/piece.d.ts index 5e67176d8c..749c975e09 100644 --- a/api/@internal/component/ets/piece.d.ts +++ b/api/@internal/component/ets/piece.d.ts @@ -48,6 +48,24 @@ interface PieceInterface { * @since 8 */ declare class PieceAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: { content: string; icon?: string }): PieceAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PieceAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PieceAttribute; + /** * Called when the relative position of the icon and the text is set. * @since 8 diff --git a/api/@internal/component/ets/plugin_component.d.ts b/api/@internal/component/ets/plugin_component.d.ts index 9933928486..0ffc378f4d 100644 --- a/api/@internal/component/ets/plugin_component.d.ts +++ b/api/@internal/component/ets/plugin_component.d.ts @@ -38,6 +38,24 @@ interface PluginComponentInterface { * @since 8 */ declare class PluginComponentAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PluginComponentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PluginComponentAttribute; + /** * Set pluginComponent size, * @since 8 diff --git a/api/@internal/component/ets/polygon.d.ts b/api/@internal/component/ets/polygon.d.ts index 9d8cdd14a9..33fea1411e 100644 --- a/api/@internal/component/ets/polygon.d.ts +++ b/api/@internal/component/ets/polygon.d.ts @@ -32,6 +32,24 @@ interface PolygonInterface{ } declare class PolygonAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { width?: string | number; height?: string | number }): PolygonAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PolygonAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PolygonAttribute; + /** * Called when the vertex coordinate list of a polygon is set. * @since 7 diff --git a/api/@internal/component/ets/polyline.d.ts b/api/@internal/component/ets/polyline.d.ts index 906b609f5b..9bb3e845e5 100644 --- a/api/@internal/component/ets/polyline.d.ts +++ b/api/@internal/component/ets/polyline.d.ts @@ -35,6 +35,24 @@ interface PolylineInterface { * @since 7 */ declare class PolylineAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { width?: string | number; height?: string | number }): PolylineAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PolylineAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PolylineAttribute; + /** * Called when the polyline is set to pass through the coordinate point list. * @since 7 diff --git a/api/@internal/component/ets/progress.d.ts b/api/@internal/component/ets/progress.d.ts index 80a73a7da0..f88857c6b7 100644 --- a/api/@internal/component/ets/progress.d.ts +++ b/api/@internal/component/ets/progress.d.ts @@ -70,6 +70,24 @@ interface ProgressInterface { * @since 7 */ declare class ProgressAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(object: { value: number; total?: number; style?: ProgressStyle }): ProgressAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ProgressAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ProgressAttribute; + /** * Called when the current progress value is set. * @since 7 diff --git a/api/@internal/component/ets/qrcode.d.ts b/api/@internal/component/ets/qrcode.d.ts index 61eefc5700..8e4ef1254e 100644 --- a/api/@internal/component/ets/qrcode.d.ts +++ b/api/@internal/component/ets/qrcode.d.ts @@ -29,6 +29,24 @@ interface QRCodeInterface { * @since 7 */ declare class QRCodeAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: string): QRCodeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): QRCodeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): QRCodeAttribute; + /** * Called when the QR code color is set. * @since 7 diff --git a/api/@internal/component/ets/radio.d.ts b/api/@internal/component/ets/radio.d.ts index d3d749404c..b6407ad315 100644 --- a/api/@internal/component/ets/radio.d.ts +++ b/api/@internal/component/ets/radio.d.ts @@ -53,6 +53,24 @@ interface RadioInterface { * @since 8 */ declare class RadioAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options: RadioOption): RadioAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RadioAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RadioAttribute; + /** * Called when the radio box is selected. * @devices phone, tablet, car diff --git a/api/@internal/component/ets/rating.d.ts b/api/@internal/component/ets/rating.d.ts index 09f6740ec7..9ac926868c 100644 --- a/api/@internal/component/ets/rating.d.ts +++ b/api/@internal/component/ets/rating.d.ts @@ -29,6 +29,24 @@ interface RatingInterface { * @since 7 */ declare class RatingAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: { rating: number; indicator?: boolean }): RatingAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RatingAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RatingAttribute; + /** * Called when the total number of stars is set. * @since 7 diff --git a/api/@internal/component/ets/rect.d.ts b/api/@internal/component/ets/rect.d.ts index 7ca9aa72fa..baaa0c77c0 100644 --- a/api/@internal/component/ets/rect.d.ts +++ b/api/@internal/component/ets/rect.d.ts @@ -62,6 +62,37 @@ interface RectInterface { * @since 7 */ declare class RectAttribute extends CommonShapeMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create( + value?: + | { + width?: number | string; + height?: number | string; + radius?: number | string | Array; + } + | { + width?: number | string; + height?: number | string; + radiusWidth?: number | string; + radiusHeight?: number | string; + }, + ): RectAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RectAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RectAttribute; + /** * Called when the fillet width is set. * @since 7 diff --git a/api/@internal/component/ets/refresh.d.ts b/api/@internal/component/ets/refresh.d.ts index 648528bb7d..dede826b81 100644 --- a/api/@internal/component/ets/refresh.d.ts +++ b/api/@internal/component/ets/refresh.d.ts @@ -65,6 +65,24 @@ interface RefreshInterface { * @since 8 */ declare class RefreshAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { refreshing: boolean; offset?: number | string; friction?: number | string }): RefreshAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RefreshAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RefreshAttribute; + /** * Called when the refresh state changes. * @since 8 diff --git a/api/@internal/component/ets/row.d.ts b/api/@internal/component/ets/row.d.ts index 6d723e4b8b..e7572bc323 100644 --- a/api/@internal/component/ets/row.d.ts +++ b/api/@internal/component/ets/row.d.ts @@ -29,6 +29,24 @@ interface RowInterface { * @since 7 */ declare class RowAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { space?: string | number }): RowAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RowAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RowAttribute; + /** * Called when the vertical alignment is set. * @since 7 diff --git a/api/@internal/component/ets/row_split.d.ts b/api/@internal/component/ets/row_split.d.ts index 38049dc12d..d9770ee471 100644 --- a/api/@internal/component/ets/row_split.d.ts +++ b/api/@internal/component/ets/row_split.d.ts @@ -30,6 +30,24 @@ interface RowSplitInterface { * @since 7 */ declare class RowSplitAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): RowSplitAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RowSplitAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RowSplitAttribute; + /** * Called when judging whether the split line can be dragged. * @since 7 diff --git a/api/@internal/component/ets/scroll.d.ts b/api/@internal/component/ets/scroll.d.ts index 7ea65ec436..711b1f30ce 100644 --- a/api/@internal/component/ets/scroll.d.ts +++ b/api/@internal/component/ets/scroll.d.ts @@ -104,6 +104,24 @@ interface ScrollInterface { * @since 7 */ declare class ScrollAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(scroller?: Scroller): ScrollAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ScrollAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ScrollAttribute; + /** * Called when the scroll method is slid. * @since 7 diff --git a/api/@internal/component/ets/scroll_bar.d.ts b/api/@internal/component/ets/scroll_bar.d.ts index 0a722fca39..88ec76243e 100644 --- a/api/@internal/component/ets/scroll_bar.d.ts +++ b/api/@internal/component/ets/scroll_bar.d.ts @@ -70,6 +70,24 @@ interface ScrollBarInterface { /** * @since 8 */ -declare class ScrollBarAttribute extends CommonMethod {} +declare class ScrollBarAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: ScrollBarOption): ScrollBarAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ScrollBarAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ScrollBarAttribute; +} declare const ScrollBar: ScrollBarInterface; declare const ScrollBarInstance: ScrollBarAttribute; diff --git a/api/@internal/component/ets/search.d.ts b/api/@internal/component/ets/search.d.ts index 7cb3ae0d5e..1c80d81724 100644 --- a/api/@internal/component/ets/search.d.ts +++ b/api/@internal/component/ets/search.d.ts @@ -47,6 +47,28 @@ interface SearchInterface { * @since 8 */ declare class SearchAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: { value?: string; + placeholder?: string; + icon?: string; + controller?: SearchController + }): SearchAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): SearchAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SearchAttribute; + /** * Set the search button text * @since 8 diff --git a/api/@internal/component/ets/select.d.ts b/api/@internal/component/ets/select.d.ts index 7c5190b8a9..bc660314ea 100644 --- a/api/@internal/component/ets/select.d.ts +++ b/api/@internal/component/ets/select.d.ts @@ -48,6 +48,24 @@ interface SelectInterface { * @since 8 */ declare class SelectAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options: Array): SelectAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): SelectAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SelectAttribute; + /** * Sets the serial number of the select item, starting from 0. * @since 8 diff --git a/api/@internal/component/ets/shape.d.ts b/api/@internal/component/ets/shape.d.ts index eab2d6bff5..828ba2d8ce 100644 --- a/api/@internal/component/ets/shape.d.ts +++ b/api/@internal/component/ets/shape.d.ts @@ -35,6 +35,24 @@ interface ShapeInterface { * @since 7 */ declare class ShapeAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: PixelMap): ShapeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ShapeAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ShapeAttribute; + /** * Viewport of shape * @since 7 diff --git a/api/@internal/component/ets/sheet.d.ts b/api/@internal/component/ets/sheet.d.ts index 59b190edb3..6b8ab2c43e 100644 --- a/api/@internal/component/ets/sheet.d.ts +++ b/api/@internal/component/ets/sheet.d.ts @@ -29,7 +29,25 @@ interface SheetInterface { * Declares sheet properties. * @since 8 */ -declare class SheetAttribute extends CommonMethod {} +declare class SheetAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): SheetAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): SheetAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SheetAttribute; +} declare const Sheet: SheetInterface; declare const SheetInstance: SheetAttribute; diff --git a/api/@internal/component/ets/slider.d.ts b/api/@internal/component/ets/slider.d.ts index ff35cd0559..17f1274c3c 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -121,6 +121,24 @@ interface SliderInterface { * @since 7 */ declare class SliderAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: SliderOption): SliderAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): SliderAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SliderAttribute; + /** * Called when the slider color of the slider bar is set. * @since 7 diff --git a/api/@internal/component/ets/span.d.ts b/api/@internal/component/ets/span.d.ts index 0e5441eccf..6b8b1f3fd6 100644 --- a/api/@internal/component/ets/span.d.ts +++ b/api/@internal/component/ets/span.d.ts @@ -29,6 +29,18 @@ interface SpanInterface { * @since 7 */ declare class SpanAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: string | Resource): SpanAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SpanAttribute; + /** * Called when the font color is set. * @since 7 diff --git a/api/@internal/component/ets/stack.d.ts b/api/@internal/component/ets/stack.d.ts index bc12bdacfd..2a5f8742e2 100644 --- a/api/@internal/component/ets/stack.d.ts +++ b/api/@internal/component/ets/stack.d.ts @@ -29,6 +29,24 @@ interface StackInterface { * @since 7 */ declare class StackAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { alignContent?: Alignment }): StackAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): StackAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): StackAttribute; + /** * Called when the occupancy of items in the container is set. * @since 7 diff --git a/api/@internal/component/ets/stepper.d.ts b/api/@internal/component/ets/stepper.d.ts index 7133867859..f6d3ca99a1 100644 --- a/api/@internal/component/ets/stepper.d.ts +++ b/api/@internal/component/ets/stepper.d.ts @@ -32,6 +32,24 @@ interface StepperInterface { * @since 8 */ declare class StepperAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { index?: number }): StepperAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): StepperAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): StepperAttribute; + /** * Callback when the finish label is clicked. diff --git a/api/@internal/component/ets/stepperItem.d.ts b/api/@internal/component/ets/stepperItem.d.ts index 042417cf4c..ca819022b5 100644 --- a/api/@internal/component/ets/stepperItem.d.ts +++ b/api/@internal/component/ets/stepperItem.d.ts @@ -67,6 +67,24 @@ interface StepperItemInterface { * @since 8 */ declare class StepperItemAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): StepperItemAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): StepperItemAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): StepperItemAttribute; + /** * Called when the value of stepperItem prevLabel is set * @devices phone, tablet, car diff --git a/api/@internal/component/ets/swiper.d.ts b/api/@internal/component/ets/swiper.d.ts index 77d8b0e6cc..fffad7b0e4 100644 --- a/api/@internal/component/ets/swiper.d.ts +++ b/api/@internal/component/ets/swiper.d.ts @@ -77,6 +77,24 @@ interface SwiperInterface { * @since 7 */ declare class SwiperAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(controller?: SwiperController): SwiperAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): SwiperAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SwiperAttribute; + /** * Called when the index value of the displayed subcomponent is set in the container. * @since 7 diff --git a/api/@internal/component/ets/tab_content.d.ts b/api/@internal/component/ets/tab_content.d.ts index ca258bdfd0..bf33ac909b 100644 --- a/api/@internal/component/ets/tab_content.d.ts +++ b/api/@internal/component/ets/tab_content.d.ts @@ -30,6 +30,24 @@ interface TabContentInterface { * @since 7 */ declare class TabContentAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(): TabContentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TabContentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TabContentAttribute; + /** * Called when tabbar is entered. * @since 7 diff --git a/api/@internal/component/ets/tabs.d.ts b/api/@internal/component/ets/tabs.d.ts index 419672c3d5..e1fcee42c2 100644 --- a/api/@internal/component/ets/tabs.d.ts +++ b/api/@internal/component/ets/tabs.d.ts @@ -82,6 +82,24 @@ interface TabsInterface { * @since 7 */ declare class TabsAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { barPosition?: BarPosition; index?: number; controller?: TabsController }): TabsAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TabsAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TabsAttribute; + /** * Called when determining whether the tab is vertical. * @since 7 diff --git a/api/@internal/component/ets/text.d.ts b/api/@internal/component/ets/text.d.ts index cdd575d2eb..3a1ffc7dbe 100644 --- a/api/@internal/component/ets/text.d.ts +++ b/api/@internal/component/ets/text.d.ts @@ -30,6 +30,24 @@ interface TextInterface { * @since 7 */ declare class TextAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(content?: string | Resource): TextAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TextAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextAttribute; + /** * Called when the font color is set. * @since 7 diff --git a/api/@internal/component/ets/text_area.d.ts b/api/@internal/component/ets/text_area.d.ts index 0bd8669c82..9952355289 100644 --- a/api/@internal/component/ets/text_area.d.ts +++ b/api/@internal/component/ets/text_area.d.ts @@ -72,6 +72,24 @@ interface TextAreaInterface { * @since 7 */ declare class TextAreaAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: TextAreaOption): TextAreaAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TextAreaAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextAreaAttribute; + /** * Called when the color of the placeholder is set. * @since 7 diff --git a/api/@internal/component/ets/text_clock.d.ts b/api/@internal/component/ets/text_clock.d.ts index d33396e621..b62c884286 100644 --- a/api/@internal/component/ets/text_clock.d.ts +++ b/api/@internal/component/ets/text_clock.d.ts @@ -29,6 +29,24 @@ interface TextClockInterface { } declare class TextClockAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: {hourswest?: number}): TextClockAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TextClockAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextClockAttribute; + /** * 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), diff --git a/api/@internal/component/ets/text_input.d.ts b/api/@internal/component/ets/text_input.d.ts index 3e3a01c970..113ad0cf75 100644 --- a/api/@internal/component/ets/text_input.d.ts +++ b/api/@internal/component/ets/text_input.d.ts @@ -137,6 +137,24 @@ interface TextInputInterface { * @since 7 */ declare class TextInputAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: TextInputOption): TextInputAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TextInputAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextInputAttribute; + /** * Called when the input type is set. * @since 7 diff --git a/api/@internal/component/ets/text_picker.d.ts b/api/@internal/component/ets/text_picker.d.ts index a861dd7a7e..056c8f9355 100644 --- a/api/@internal/component/ets/text_picker.d.ts +++ b/api/@internal/component/ets/text_picker.d.ts @@ -48,6 +48,24 @@ interface TextPickerInterface { * @since 8 */ declare class TextPickerAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: TextPickerOption): TextPickerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TextPickerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextPickerAttribute; + /** * Called when the default height of the selected element is set. * @since 8 diff --git a/api/@internal/component/ets/text_timer.d.ts b/api/@internal/component/ets/text_timer.d.ts index 3001ddf1ee..5a497b697e 100644 --- a/api/@internal/component/ets/text_timer.d.ts +++ b/api/@internal/component/ets/text_timer.d.ts @@ -85,6 +85,24 @@ interface TextTimerInterface { * @since 8 */ declare class TextTimerAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options?: TextTimerOption): TextTimerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TextTimerAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextTimerAttribute; + /** * Set the display time format, for example, now is hh/mm/ss/ms and current: hh-mm-ss-ms. * The time format string can be hh, mm, ss, or ms. diff --git a/api/@internal/component/ets/toggle.d.ts b/api/@internal/component/ets/toggle.d.ts index bb8562b1a7..cfba3a8f64 100644 --- a/api/@internal/component/ets/toggle.d.ts +++ b/api/@internal/component/ets/toggle.d.ts @@ -52,6 +52,24 @@ interface ToggleInterface { * @since 8 */ declare class ToggleAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(options: { type: ToggleType; isOn?: boolean }): ToggleAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): ToggleAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ToggleAttribute; + /** * Called when the selected state of the component changes. * @since 8 diff --git a/api/@internal/component/ets/video.d.ts b/api/@internal/component/ets/video.d.ts index d03940300b..0760ba4c1e 100644 --- a/api/@internal/component/ets/video.d.ts +++ b/api/@internal/component/ets/video.d.ts @@ -97,6 +97,28 @@ interface VideoInterface { * @since 7 */ declare class VideoAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { + src?: string | Resource; + previewUri?: string | PixelMap | Resource; + controller?: VideoController; + }): VideoAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): VideoAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): VideoAttribute; + /** * Called when judging whether the video is muted. * @since 7 diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 636060804a..968ba9446b 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -42,6 +42,24 @@ interface WebInterface { } declare class WebAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: WebOptions): WebAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): WebAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): WebAttribute; + /** * Triggered at the end of web page loading * @since 8 diff --git a/api/@internal/component/ets/xcomponent.d.ts b/api/@internal/component/ets/xcomponent.d.ts index 9cbc7cb1cd..2039904933 100644 --- a/api/@internal/component/ets/xcomponent.d.ts +++ b/api/@internal/component/ets/xcomponent.d.ts @@ -59,6 +59,29 @@ interface XComponentInterface { * @systemapi */ declare class XComponentAttribute extends CommonMethod { + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value: { + id: string; + type: string; + libraryname?: string; + controller?: XComponentController; + }): XComponentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): XComponentAttribute; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): XComponentAttribute; + /** * Called when judging whether the xcomponent surface is created. * @since 8 -- Gitee From a95f02cb8ba70911ec31da2eb611a79eb386c876 Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Fri, 28 Jan 2022 14:13:03 +0800 Subject: [PATCH 2/2] houhaoyu@huawei.com tsbundle Signed-off-by: houhaoyu Change-Id: Iebb28945f0c07df68529636bc8d0daf93f0ce48e --- api/@internal/component/ets/animator.d.ts | 8 +- api/@internal/component/ets/badge.d.ts | 2 +- api/@internal/component/ets/blank.d.ts | 10 +-- api/@internal/component/ets/button.d.ts | 14 ++-- api/@internal/component/ets/calendar.d.ts | 12 +-- api/@internal/component/ets/canvas.d.ts | 12 +-- api/@internal/component/ets/checkbox.d.ts | 12 +-- .../component/ets/checkboxgroup.d.ts | 12 +-- api/@internal/component/ets/circle.d.ts | 8 +- api/@internal/component/ets/column.d.ts | 12 +-- api/@internal/component/ets/column_split.d.ts | 12 +-- api/@internal/component/ets/counter.d.ts | 12 +-- api/@internal/component/ets/data_panel.d.ts | 12 +-- api/@internal/component/ets/date_picker.d.ts | 12 +-- api/@internal/component/ets/divider.d.ts | 8 +- api/@internal/component/ets/ellipse.d.ts | 8 +- api/@internal/component/ets/flex.d.ts | 12 +-- api/@internal/component/ets/forEach.d.ts | 4 +- .../component/ets/form_component.d.ts | 8 +- api/@internal/component/ets/gauge.d.ts | 8 +- api/@internal/component/ets/gesture.d.ts | 84 +++++++++++++++++++ api/@internal/component/ets/grid.d.ts | 2 +- api/@internal/component/ets/gridItem.d.ts | 14 ++-- .../component/ets/grid_container.d.ts | 2 +- api/@internal/component/ets/hyperlink.d.ts | 14 ++-- api/@internal/component/ets/image.d.ts | 10 +-- .../component/ets/image_animator.d.ts | 10 +-- api/@internal/component/ets/lazyForEach.d.ts | 18 ++-- api/@internal/component/ets/line.d.ts | 10 +-- api/@internal/component/ets/list.d.ts | 14 ++-- api/@internal/component/ets/listItem.d.ts | 14 ++-- .../component/ets/loading_progress.d.ts | 10 +-- api/@internal/component/ets/marquee.d.ts | 14 ++-- api/@internal/component/ets/navigation.d.ts | 14 ++-- api/@internal/component/ets/navigator.d.ts | 14 ++-- .../component/ets/pageTransition.d.ts | 16 +--- api/@internal/component/ets/panel.d.ts | 14 ++-- api/@internal/component/ets/path.d.ts | 12 +-- api/@internal/component/ets/pattern_lock.d.ts | 14 ++-- api/@internal/component/ets/piece.d.ts | 14 ++-- .../component/ets/plugin_component.d.ts | 14 ++-- api/@internal/component/ets/polygon.d.ts | 8 +- api/@internal/component/ets/polyline.d.ts | 10 +-- api/@internal/component/ets/progress.d.ts | 10 +-- api/@internal/component/ets/qrcode.d.ts | 14 ++-- api/@internal/component/ets/radio.d.ts | 10 +-- api/@internal/component/ets/rating.d.ts | 14 ++-- api/@internal/component/ets/rect.d.ts | 12 +-- api/@internal/component/ets/refresh.d.ts | 14 ++-- api/@internal/component/ets/row.d.ts | 14 ++-- api/@internal/component/ets/row_split.d.ts | 14 ++-- api/@internal/component/ets/scroll.d.ts | 14 ++-- api/@internal/component/ets/scroll_bar.d.ts | 14 ++-- api/@internal/component/ets/search.d.ts | 14 ++-- api/@internal/component/ets/select.d.ts | 14 ++-- api/@internal/component/ets/shape.d.ts | 14 ++-- api/@internal/component/ets/sheet.d.ts | 14 ++-- api/@internal/component/ets/slider.d.ts | 10 +-- api/@internal/component/ets/span.d.ts | 12 +-- api/@internal/component/ets/stack.d.ts | 14 ++-- api/@internal/component/ets/stepper.d.ts | 14 ++-- api/@internal/component/ets/stepperItem.d.ts | 14 ++-- api/@internal/component/ets/swiper.d.ts | 14 ++-- api/@internal/component/ets/tab_content.d.ts | 12 +-- api/@internal/component/ets/tabs.d.ts | 14 ++-- api/@internal/component/ets/text.d.ts | 14 ++-- api/@internal/component/ets/text_area.d.ts | 10 +-- api/@internal/component/ets/text_clock.d.ts | 14 ++-- api/@internal/component/ets/text_input.d.ts | 10 +-- api/@internal/component/ets/text_picker.d.ts | 14 ++-- api/@internal/component/ets/text_timer.d.ts | 14 ++-- api/@internal/component/ets/toggle.d.ts | 14 ++-- api/@internal/component/ets/video.d.ts | 10 +-- api/@internal/component/ets/web.d.ts | 14 +--- api/@internal/component/ets/xcomponent.d.ts | 10 +-- 75 files changed, 453 insertions(+), 505 deletions(-) diff --git a/api/@internal/component/ets/animator.d.ts b/api/@internal/component/ets/animator.d.ts index 20fea20dd5..4853bd90d3 100644 --- a/api/@internal/component/ets/animator.d.ts +++ b/api/@internal/component/ets/animator.d.ts @@ -93,13 +93,7 @@ declare class AnimatorAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): AnimatorAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - create(value: string): AnimatorAttribute; + create(value: string): AnimatorAttribute; /** * Controls the playback status. The default value is the initial state. diff --git a/api/@internal/component/ets/badge.d.ts b/api/@internal/component/ets/badge.d.ts index 06a4718058..a8e9684092 100644 --- a/api/@internal/component/ets/badge.d.ts +++ b/api/@internal/component/ets/badge.d.ts @@ -160,7 +160,7 @@ declare class BadgeAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: BadgeParamWithNumber | BadgeParamWithString): BadgeAttribute; + create(value: BadgeParamWithNumber | BadgeParamWithString): BadgeAttribute; } declare const Badge: BadgeInterface diff --git a/api/@internal/component/ets/blank.d.ts b/api/@internal/component/ets/blank.d.ts index a96c071381..a7a1c30b99 100644 --- a/api/@internal/component/ets/blank.d.ts +++ b/api/@internal/component/ets/blank.d.ts @@ -34,7 +34,7 @@ declare class BlankAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(min?: number | string): BlankAttribute; + create(min?: number | string): BlankAttribute; /** * Just use for genetate tsbundle @@ -42,10 +42,10 @@ declare class BlankAttribute extends CommonMethod { */ pop(): BlankAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): BlankAttribute; /** diff --git a/api/@internal/component/ets/button.d.ts b/api/@internal/component/ets/button.d.ts index 2ea2df6a9b..caa12dd8ed 100644 --- a/api/@internal/component/ets/button.d.ts +++ b/api/@internal/component/ets/button.d.ts @@ -88,24 +88,24 @@ declare class ButtonAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - createWithChild(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; + createWithChild(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - createWithLabel(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; + createWithLabel(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ButtonAttribute; + pop(): ButtonAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): ButtonAttribute; /** diff --git a/api/@internal/component/ets/calendar.d.ts b/api/@internal/component/ets/calendar.d.ts index 4f0b9e948b..6d5cf5c862 100644 --- a/api/@internal/component/ets/calendar.d.ts +++ b/api/@internal/component/ets/calendar.d.ts @@ -535,7 +535,7 @@ declare class CalendarAttribute { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: { + create(value: { date: { year: number; month: number; day: number }; currentData: MonthData; preData: MonthData; @@ -547,12 +547,12 @@ declare class CalendarAttribute { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): CalendarAttribute; + pop(): CalendarAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): CalendarAttribute; /** diff --git a/api/@internal/component/ets/canvas.d.ts b/api/@internal/component/ets/canvas.d.ts index 69c3ce889d..85ddda4199 100644 --- a/api/@internal/component/ets/canvas.d.ts +++ b/api/@internal/component/ets/canvas.d.ts @@ -1108,18 +1108,18 @@ declare class CanvasAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(context?: CanvasRenderingContext2D): CanvasAttribute; + create(context?: CanvasRenderingContext2D): CanvasAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): CanvasAttribute; + pop(): CanvasAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): CanvasAttribute; /** diff --git a/api/@internal/component/ets/checkbox.d.ts b/api/@internal/component/ets/checkbox.d.ts index 49d12b98b7..7059c2e2b9 100644 --- a/api/@internal/component/ets/checkbox.d.ts +++ b/api/@internal/component/ets/checkbox.d.ts @@ -53,18 +53,18 @@ declare class CheckboxAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: CheckboxOption): CheckboxAttribute; + create(options?: CheckboxOption): CheckboxAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): CheckboxAttribute; + pop(): CheckboxAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): CheckboxAttribute; /** diff --git a/api/@internal/component/ets/checkboxgroup.d.ts b/api/@internal/component/ets/checkboxgroup.d.ts index 993979b555..c9bdaebb07 100644 --- a/api/@internal/component/ets/checkboxgroup.d.ts +++ b/api/@internal/component/ets/checkboxgroup.d.ts @@ -85,18 +85,18 @@ declare class CheckboxGroupAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: CircleOption): CircleAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - pop(): CircleAttribute; + create(value?: CircleOption): CircleAttribute; /** * Just use for genetate tsbundle diff --git a/api/@internal/component/ets/column.d.ts b/api/@internal/component/ets/column.d.ts index a9a7d6be22..2caadfec58 100644 --- a/api/@internal/component/ets/column.d.ts +++ b/api/@internal/component/ets/column.d.ts @@ -30,7 +30,7 @@ interface ColumnInterface { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { space?: string | number }): ColumnAttribute; + create(value?: { space?: string | number }): ColumnAttribute; } /** @@ -42,12 +42,12 @@ declare class ColumnAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ColumnAttribute; + pop(): ColumnAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): ColumnAttribute; /** diff --git a/api/@internal/component/ets/column_split.d.ts b/api/@internal/component/ets/column_split.d.ts index 8f9b0e4001..9ad4915e80 100644 --- a/api/@internal/component/ets/column_split.d.ts +++ b/api/@internal/component/ets/column_split.d.ts @@ -34,18 +34,18 @@ declare class ColumnSplitAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): ColumnSplitAttribute; + create(): ColumnSplitAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ColumnSplitAttribute; + pop(): ColumnSplitAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): ColumnSplitAttribute; /** diff --git a/api/@internal/component/ets/counter.d.ts b/api/@internal/component/ets/counter.d.ts index 9409612967..9c52ef143c 100644 --- a/api/@internal/component/ets/counter.d.ts +++ b/api/@internal/component/ets/counter.d.ts @@ -34,18 +34,18 @@ declare class CounterAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): CounterAttribute; + create(): CounterAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): CounterAttribute; + pop(): CounterAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): CounterAttribute; /** diff --git a/api/@internal/component/ets/data_panel.d.ts b/api/@internal/component/ets/data_panel.d.ts index ea22cb9036..389f032934 100644 --- a/api/@internal/component/ets/data_panel.d.ts +++ b/api/@internal/component/ets/data_panel.d.ts @@ -77,18 +77,18 @@ declare class DataPanelAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options: DataPanelOption): DataPanelAttribute; + create(options: DataPanelOption): DataPanelAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): DataPanelAttribute; + pop(): DataPanelAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): DataPanelAttribute; /** diff --git a/api/@internal/component/ets/date_picker.d.ts b/api/@internal/component/ets/date_picker.d.ts index 9140417f3f..160033b951 100644 --- a/api/@internal/component/ets/date_picker.d.ts +++ b/api/@internal/component/ets/date_picker.d.ts @@ -119,18 +119,18 @@ declare class DatePickerAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: DatePickerOption): DatePickerAttribute; + create(options?: DatePickerOption): DatePickerAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): DatePickerAttribute; + pop(): DatePickerAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): DatePickerAttribute; /** diff --git a/api/@internal/component/ets/divider.d.ts b/api/@internal/component/ets/divider.d.ts index 7814afba82..a406ad90c3 100644 --- a/api/@internal/component/ets/divider.d.ts +++ b/api/@internal/component/ets/divider.d.ts @@ -35,18 +35,12 @@ declare class DividerAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): DividerAttribute; + create(): DividerAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): DividerAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ debugLine(value: string): DividerAttribute; /** diff --git a/api/@internal/component/ets/ellipse.d.ts b/api/@internal/component/ets/ellipse.d.ts index b115922434..831ad7ed15 100644 --- a/api/@internal/component/ets/ellipse.d.ts +++ b/api/@internal/component/ets/ellipse.d.ts @@ -40,18 +40,12 @@ declare class EllipseAttribute extends CommonShapeMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { width?: string | number; height?: string | number }): EllipseAttribute; + create(value?: { width?: string | number; height?: string | number }): EllipseAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): EllipseAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ debugLine(value: string): EllipseAttribute; } diff --git a/api/@internal/component/ets/flex.d.ts b/api/@internal/component/ets/flex.d.ts index 52f0489ef7..350c5ab721 100644 --- a/api/@internal/component/ets/flex.d.ts +++ b/api/@internal/component/ets/flex.d.ts @@ -70,18 +70,18 @@ declare class FlexAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: FlexOption): FlexAttribute; + create(value?: FlexOption): FlexAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): FlexAttribute; + pop(): FlexAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ debugLine(value: string): FlexAttribute; } diff --git a/api/@internal/component/ets/forEach.d.ts b/api/@internal/component/ets/forEach.d.ts index 76dedb3b0a..fe1329aa06 100644 --- a/api/@internal/component/ets/forEach.d.ts +++ b/api/@internal/component/ets/forEach.d.ts @@ -32,11 +32,11 @@ interface ForEachInterface { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create( + create( arr: Array, itemGenerator: (item: any, index?: number) => void, keyGenerator?: (item: any, index?: number) => string, - ): ForEachInterface; + ): ForEachInterface; /** * Just use for genetate tsbundle diff --git a/api/@internal/component/ets/form_component.d.ts b/api/@internal/component/ets/form_component.d.ts index e5c55a4c97..3612d7d101 100644 --- a/api/@internal/component/ets/form_component.d.ts +++ b/api/@internal/component/ets/form_component.d.ts @@ -80,7 +80,7 @@ declare class FormComponentAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options: { value: number; min?: number; max?: number }): GaugeAttribute; + create(options: { value: number; min?: number; max?: number }): GaugeAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): GaugeAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ debugLine(value: string): GaugeAttribute; /** diff --git a/api/@internal/component/ets/gesture.d.ts b/api/@internal/component/ets/gesture.d.ts index a60d9db85e..643cc59fee 100644 --- a/api/@internal/component/ets/gesture.d.ts +++ b/api/@internal/component/ets/gesture.d.ts @@ -342,6 +342,18 @@ interface TapGestureInterface { */ (value?: { count?: number; fingers?: number }): TapGestureInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { count?: number; fingers?: number }): TapGestureInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): TapGestureInterface; + /** * Tap gesture recognition success callback. * @since 7 @@ -363,6 +375,18 @@ interface LongPressGestureInterface { */ (value?: { fingers?: number; repeat?: boolean; duration?: number }): LongPressGestureInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { fingers?: number; repeat?: boolean; duration?: number }): LongPressGestureInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): LongPressGestureInterface; + /** * LongPress gesture recognition success callback. * @since 7 @@ -421,6 +445,18 @@ interface PanGestureInterface { */ (value?: { fingers?: number; direction?: PanDirection; distance?: number } | PanGestureOption): PanGestureInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { fingers?: number; direction?: PanDirection; distance?: number } | PanGestureOption): PanGestureInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PanGestureInterface; + /** * Pan gesture recognition success callback. * @since 7 @@ -456,6 +492,18 @@ interface SwipeGestureInterface { */ (value?: { fingers?: number; direction?: SwipeDirection; speed?: number }): SwipeGestureInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { fingers?: number; direction?: SwipeDirection; speed?: number }): SwipeGestureInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): SwipeGestureInterface; + /** * Slide gesture recognition success callback. * @since 8 @@ -473,6 +521,18 @@ interface PinchGestureInterface { */ (value?: { fingers?: number; distance?: number }): PinchGestureInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { fingers?: number; distance?: number }): PinchGestureInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): PinchGestureInterface; + /** * Pan gesture recognition success callback. * @since 7 @@ -508,6 +568,18 @@ interface RotationGestureInterface { */ (value?: { fingers?: number; angle?: number }): RotationGestureInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(value?: { fingers?: number; angle?: number }): RotationGestureInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): RotationGestureInterface; + /** * Pan gesture recognition success callback. * @since 7 @@ -543,6 +615,18 @@ interface GestureGroupInterface { */ (mode: GestureMode, ...gesture: GestureType[]): GestureGroupInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + create(mode: GestureMode, ...gesture: GestureType[]): GestureGroupInterface; + + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + pop(): GestureGroupInterface; + /** * The Pan gesture is successfully recognized and a callback is triggered when the touch cancel event is received. * @since 7 diff --git a/api/@internal/component/ets/grid.d.ts b/api/@internal/component/ets/grid.d.ts index dcd2db95be..9d036a19f4 100644 --- a/api/@internal/component/ets/grid.d.ts +++ b/api/@internal/component/ets/grid.d.ts @@ -44,7 +44,7 @@ declare class GridAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(scroller?: Scroller): GridAttribute; + create(scroller?: Scroller): GridAttribute; /** * Just use for genetate tsbundle diff --git a/api/@internal/component/ets/gridItem.d.ts b/api/@internal/component/ets/gridItem.d.ts index 432fda6a03..33b2ecdf27 100644 --- a/api/@internal/component/ets/gridItem.d.ts +++ b/api/@internal/component/ets/gridItem.d.ts @@ -33,19 +33,19 @@ declare class GridItemAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): GridItemAttribute; + create(): GridItemAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): GridItemAttribute; + pop(): GridItemAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): GridItemAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): GridItemAttribute; /** * This parameter specifies the start line number of the current element. diff --git a/api/@internal/component/ets/grid_container.d.ts b/api/@internal/component/ets/grid_container.d.ts index edaece5e4b..e57c6b72f5 100644 --- a/api/@internal/component/ets/grid_container.d.ts +++ b/api/@internal/component/ets/grid_container.d.ts @@ -100,7 +100,7 @@ declare class GridContainerAttribute extends ColumnAttribute { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: GridContainerOption): GridContainerAttribute; + create(value?: GridContainerOption): GridContainerAttribute; /** * Just use for genetate tsbundle diff --git a/api/@internal/component/ets/hyperlink.d.ts b/api/@internal/component/ets/hyperlink.d.ts index 52e6a9a9f9..a193f57ba8 100644 --- a/api/@internal/component/ets/hyperlink.d.ts +++ b/api/@internal/component/ets/hyperlink.d.ts @@ -35,19 +35,19 @@ declare class HyperlinkAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(address: string | Resource, content?: string | Resource): HyperlinkAttribute; + create(address: string | Resource, content?: string | Resource): HyperlinkAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): HyperlinkAttribute; + pop(): HyperlinkAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): HyperlinkAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): HyperlinkAttribute; /** * Set Color diff --git a/api/@internal/component/ets/image.d.ts b/api/@internal/component/ets/image.d.ts index 254ffb2615..f101035490 100644 --- a/api/@internal/component/ets/image.d.ts +++ b/api/@internal/component/ets/image.d.ts @@ -79,19 +79,13 @@ declare class ImageAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(src: string | PixelMap | Resource): ImageAttribute; + create(src: string | PixelMap | Resource): ImageAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ImageAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ImageAttribute; + debugLine(value: string): ImageAttribute; /** * Placeholder displayed on load diff --git a/api/@internal/component/ets/image_animator.d.ts b/api/@internal/component/ets/image_animator.d.ts index 24f6745889..b1b6a6560f 100644 --- a/api/@internal/component/ets/image_animator.d.ts +++ b/api/@internal/component/ets/image_animator.d.ts @@ -33,19 +33,13 @@ declare class ImageAnimatorAttribute extends CommonMethod void, keyGenerator?: (item: any, index?: number) => string, ): LazyForEachInterface; + /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create( + create( dataSource: IDataSource, itemGenerator: (item: any, index?: number) => void, keyGenerator?: (item: any, index?: number) => string, - ): LazyForEachInterface; + ): LazyForEachInterface; + /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): LazyForEachInterface; + pop(): LazyForEachInterface; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): LazyForEachInterface; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): LazyForEachInterface; } /** diff --git a/api/@internal/component/ets/line.d.ts b/api/@internal/component/ets/line.d.ts index 8328d30c93..247f909edf 100644 --- a/api/@internal/component/ets/line.d.ts +++ b/api/@internal/component/ets/line.d.ts @@ -44,19 +44,13 @@ declare class LineAttribute extends CommonShapeMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { width?: string | number; height?: string | number }): LineAttribute; + create(value?: { width?: string | number; height?: string | number }): LineAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): LineAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): LineAttribute; + debugLine(value: string): LineAttribute; /** * Coordinate of the start point of the line (relative coordinate). diff --git a/api/@internal/component/ets/list.d.ts b/api/@internal/component/ets/list.d.ts index 5b9ede9a6b..b58055b330 100644 --- a/api/@internal/component/ets/list.d.ts +++ b/api/@internal/component/ets/list.d.ts @@ -59,19 +59,19 @@ declare class ListAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { initialIndex?: number; space?: number | string; scroller?: Scroller }): ListAttribute; + create(value?: { initialIndex?: number; space?: number | string; scroller?: Scroller }): ListAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ListAttribute; + pop(): ListAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ListAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ListAttribute; /** * Called when the arrangement direction of the list component is set. diff --git a/api/@internal/component/ets/listItem.d.ts b/api/@internal/component/ets/listItem.d.ts index 9035ad83c7..5aca6bdc29 100644 --- a/api/@internal/component/ets/listItem.d.ts +++ b/api/@internal/component/ets/listItem.d.ts @@ -87,19 +87,19 @@ declare class ListItemAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: string): ListItemAttribute; + create(value?: string): ListItemAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ListItemAttribute; + pop(): ListItemAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ListItemAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ListItemAttribute; /** * Called when setting whether item is ceiling effect. diff --git a/api/@internal/component/ets/loading_progress.d.ts b/api/@internal/component/ets/loading_progress.d.ts index ebf51e4ebc..14d87ab8ad 100644 --- a/api/@internal/component/ets/loading_progress.d.ts +++ b/api/@internal/component/ets/loading_progress.d.ts @@ -60,19 +60,13 @@ declare class LoadingProgressAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: { start: boolean; step?: number; loop?: number; fromStart?: boolean; src: string }): MarqueeAttribute; + create(value: { start: boolean; step?: number; loop?: number; fromStart?: boolean; src: string }): MarqueeAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): MarqueeAttribute; + pop(): MarqueeAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): MarqueeAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): MarqueeAttribute; /** * Set marquee font Color. diff --git a/api/@internal/component/ets/navigation.d.ts b/api/@internal/component/ets/navigation.d.ts index 9d8ef02c22..e183f6b967 100644 --- a/api/@internal/component/ets/navigation.d.ts +++ b/api/@internal/component/ets/navigation.d.ts @@ -76,19 +76,19 @@ declare class NavigationAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): NavigationAttribute; + create(): NavigationAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): NavigationAttribute; + pop(): NavigationAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): NavigationAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): NavigationAttribute; /** * Navigation title diff --git a/api/@internal/component/ets/navigator.d.ts b/api/@internal/component/ets/navigator.d.ts index 6416ab04fa..932f0eb71f 100644 --- a/api/@internal/component/ets/navigator.d.ts +++ b/api/@internal/component/ets/navigator.d.ts @@ -64,19 +64,19 @@ declare class NavigatorAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { target: string; type?: NavigationType }): NavigatorAttribute; + create(value?: { target: string; type?: NavigationType }): NavigatorAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): NavigatorAttribute; + pop(): NavigatorAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): NavigatorAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): NavigatorAttribute; /** * Called when determining whether the routing component is active. diff --git a/api/@internal/component/ets/pageTransition.d.ts b/api/@internal/component/ets/pageTransition.d.ts index 7d3c4079c1..a28a6d9d78 100644 --- a/api/@internal/component/ets/pageTransition.d.ts +++ b/api/@internal/component/ets/pageTransition.d.ts @@ -121,13 +121,7 @@ interface PageTransitionEnterInterface extends CommonTransition { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(show: boolean): PanelAttribute; + create(show: boolean): PanelAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): PanelAttribute; + pop(): PanelAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): PanelAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PanelAttribute; /** * Called when the initial state of the slidable panel is set. diff --git a/api/@internal/component/ets/path.d.ts b/api/@internal/component/ets/path.d.ts index ff11ab51aa..fc651240ef 100644 --- a/api/@internal/component/ets/path.d.ts +++ b/api/@internal/component/ets/path.d.ts @@ -45,13 +45,13 @@ declare class PathAttribute extends CommonShapeMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): PathAttribute; + pop(): PathAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): PathAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PathAttribute; /** * Called when the command string drawn by the path is set. diff --git a/api/@internal/component/ets/pattern_lock.d.ts b/api/@internal/component/ets/pattern_lock.d.ts index c7887d0157..5b7b5c68c6 100644 --- a/api/@internal/component/ets/pattern_lock.d.ts +++ b/api/@internal/component/ets/pattern_lock.d.ts @@ -45,19 +45,19 @@ declare class PatternLockAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(controller?: PatternLockController): PatternLockAttribute; + create(controller?: PatternLockController): PatternLockAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): PatternLockAttribute; + pop(): PatternLockAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): PatternLockAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PatternLockAttribute; /** * The square side length of pattern lock component. diff --git a/api/@internal/component/ets/piece.d.ts b/api/@internal/component/ets/piece.d.ts index 749c975e09..45de185fa5 100644 --- a/api/@internal/component/ets/piece.d.ts +++ b/api/@internal/component/ets/piece.d.ts @@ -52,19 +52,19 @@ declare class PieceAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: { content: string; icon?: string }): PieceAttribute; + create(options?: { content: string; icon?: string }): PieceAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): PieceAttribute; + pop(): PieceAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): PieceAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): PieceAttribute; /** * Called when the relative position of the icon and the text is set. diff --git a/api/@internal/component/ets/plugin_component.d.ts b/api/@internal/component/ets/plugin_component.d.ts index 0ffc378f4d..288bdda931 100644 --- a/api/@internal/component/ets/plugin_component.d.ts +++ b/api/@internal/component/ets/plugin_component.d.ts @@ -42,19 +42,19 @@ declare class PluginComponentAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { width?: string | number; height?: string | number }): PolygonAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - pop(): PolygonAttribute; + create(value?: { width?: string | number; height?: string | number }): PolygonAttribute; /** * Just use for genetate tsbundle diff --git a/api/@internal/component/ets/polyline.d.ts b/api/@internal/component/ets/polyline.d.ts index 9bb3e845e5..8ab54230be 100644 --- a/api/@internal/component/ets/polyline.d.ts +++ b/api/@internal/component/ets/polyline.d.ts @@ -39,19 +39,13 @@ declare class PolylineAttribute extends CommonShapeMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { width?: string | number; height?: string | number }): PolylineAttribute; + create(value?: { width?: string | number; height?: string | number }): PolylineAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): PolylineAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): PolylineAttribute; + debugLine(value: string): PolylineAttribute; /** * Called when the polyline is set to pass through the coordinate point list. diff --git a/api/@internal/component/ets/progress.d.ts b/api/@internal/component/ets/progress.d.ts index f88857c6b7..6b4ba18da4 100644 --- a/api/@internal/component/ets/progress.d.ts +++ b/api/@internal/component/ets/progress.d.ts @@ -74,19 +74,13 @@ declare class ProgressAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(object: { value: number; total?: number; style?: ProgressStyle }): ProgressAttribute; + create(object: { value: number; total?: number; style?: ProgressStyle }): ProgressAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ProgressAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ProgressAttribute; + debugLine(value: string): ProgressAttribute; /** * Called when the current progress value is set. diff --git a/api/@internal/component/ets/qrcode.d.ts b/api/@internal/component/ets/qrcode.d.ts index 8e4ef1254e..9b099c69c9 100644 --- a/api/@internal/component/ets/qrcode.d.ts +++ b/api/@internal/component/ets/qrcode.d.ts @@ -33,19 +33,19 @@ declare class QRCodeAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: string): QRCodeAttribute; + create(value: string): QRCodeAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): QRCodeAttribute; + pop(): QRCodeAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): QRCodeAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): QRCodeAttribute; /** * Called when the QR code color is set. diff --git a/api/@internal/component/ets/radio.d.ts b/api/@internal/component/ets/radio.d.ts index b6407ad315..feb56ec8cb 100644 --- a/api/@internal/component/ets/radio.d.ts +++ b/api/@internal/component/ets/radio.d.ts @@ -57,19 +57,13 @@ declare class RadioAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options: RadioOption): RadioAttribute; + create(options: RadioOption): RadioAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): RadioAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RadioAttribute; + debugLine(value: string): RadioAttribute; /** * Called when the radio box is selected. diff --git a/api/@internal/component/ets/rating.d.ts b/api/@internal/component/ets/rating.d.ts index 9ac926868c..989130ad76 100644 --- a/api/@internal/component/ets/rating.d.ts +++ b/api/@internal/component/ets/rating.d.ts @@ -33,19 +33,19 @@ declare class RatingAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: { rating: number; indicator?: boolean }): RatingAttribute; + create(options?: { rating: number; indicator?: boolean }): RatingAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): RatingAttribute; + pop(): RatingAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RatingAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RatingAttribute; /** * Called when the total number of stars is set. diff --git a/api/@internal/component/ets/rect.d.ts b/api/@internal/component/ets/rect.d.ts index baaa0c77c0..526dd54507 100644 --- a/api/@internal/component/ets/rect.d.ts +++ b/api/@internal/component/ets/rect.d.ts @@ -66,7 +66,7 @@ declare class RectAttribute extends CommonShapeMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create( + create( value?: | { width?: number | string; @@ -79,19 +79,13 @@ declare class RectAttribute extends CommonShapeMethod { radiusWidth?: number | string; radiusHeight?: number | string; }, - ): RectAttribute; + ): RectAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): RectAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RectAttribute; + debugLine(value: string): RectAttribute; /** * Called when the fillet width is set. diff --git a/api/@internal/component/ets/refresh.d.ts b/api/@internal/component/ets/refresh.d.ts index dede826b81..bbc159dbfc 100644 --- a/api/@internal/component/ets/refresh.d.ts +++ b/api/@internal/component/ets/refresh.d.ts @@ -69,19 +69,19 @@ declare class RefreshAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: { refreshing: boolean; offset?: number | string; friction?: number | string }): RefreshAttribute; + create(value: { refreshing: boolean; offset?: number | string; friction?: number | string }): RefreshAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): RefreshAttribute; + pop(): RefreshAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RefreshAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RefreshAttribute; /** * Called when the refresh state changes. diff --git a/api/@internal/component/ets/row.d.ts b/api/@internal/component/ets/row.d.ts index e7572bc323..d8f9d48452 100644 --- a/api/@internal/component/ets/row.d.ts +++ b/api/@internal/component/ets/row.d.ts @@ -33,19 +33,19 @@ declare class RowAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { space?: string | number }): RowAttribute; + create(value?: { space?: string | number }): RowAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): RowAttribute; + pop(): RowAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RowAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RowAttribute; /** * Called when the vertical alignment is set. diff --git a/api/@internal/component/ets/row_split.d.ts b/api/@internal/component/ets/row_split.d.ts index d9770ee471..b75b19a257 100644 --- a/api/@internal/component/ets/row_split.d.ts +++ b/api/@internal/component/ets/row_split.d.ts @@ -34,19 +34,19 @@ declare class RowSplitAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): RowSplitAttribute; + create(): RowSplitAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): RowSplitAttribute; + pop(): RowSplitAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RowSplitAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): RowSplitAttribute; /** * Called when judging whether the split line can be dragged. diff --git a/api/@internal/component/ets/scroll.d.ts b/api/@internal/component/ets/scroll.d.ts index 711b1f30ce..5c76344d1c 100644 --- a/api/@internal/component/ets/scroll.d.ts +++ b/api/@internal/component/ets/scroll.d.ts @@ -108,19 +108,19 @@ declare class ScrollAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(scroller?: Scroller): ScrollAttribute; + create(scroller?: Scroller): ScrollAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ScrollAttribute; + pop(): ScrollAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ScrollAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ScrollAttribute; /** * Called when the scroll method is slid. diff --git a/api/@internal/component/ets/scroll_bar.d.ts b/api/@internal/component/ets/scroll_bar.d.ts index 88ec76243e..5bb22f854c 100644 --- a/api/@internal/component/ets/scroll_bar.d.ts +++ b/api/@internal/component/ets/scroll_bar.d.ts @@ -75,19 +75,19 @@ declare class ScrollBarAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: ScrollBarOption): ScrollBarAttribute; + create(value: ScrollBarOption): ScrollBarAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ScrollBarAttribute; + pop(): ScrollBarAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ScrollBarAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ScrollBarAttribute; } declare const ScrollBar: ScrollBarInterface; declare const ScrollBarInstance: ScrollBarAttribute; diff --git a/api/@internal/component/ets/search.d.ts b/api/@internal/component/ets/search.d.ts index 1c80d81724..b6ecc0830c 100644 --- a/api/@internal/component/ets/search.d.ts +++ b/api/@internal/component/ets/search.d.ts @@ -51,7 +51,7 @@ declare class SearchAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: { value?: string; + create(options?: { value?: string; placeholder?: string; icon?: string; controller?: SearchController @@ -61,13 +61,13 @@ declare class SearchAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): SearchAttribute; + pop(): SearchAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): SearchAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SearchAttribute; /** * Set the search button text diff --git a/api/@internal/component/ets/select.d.ts b/api/@internal/component/ets/select.d.ts index 8f60be9a72..9d5a221e1c 100644 --- a/api/@internal/component/ets/select.d.ts +++ b/api/@internal/component/ets/select.d.ts @@ -52,19 +52,19 @@ declare class SelectAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options: Array): SelectAttribute; + create(options: Array): SelectAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): SelectAttribute; + pop(): SelectAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): SelectAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SelectAttribute; /** * Sets the serial number of the select item, starting from 0. diff --git a/api/@internal/component/ets/shape.d.ts b/api/@internal/component/ets/shape.d.ts index 828ba2d8ce..3f8b7ce7b1 100644 --- a/api/@internal/component/ets/shape.d.ts +++ b/api/@internal/component/ets/shape.d.ts @@ -39,19 +39,19 @@ declare class ShapeAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: PixelMap): ShapeAttribute; + create(value?: PixelMap): ShapeAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ShapeAttribute; + pop(): ShapeAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ShapeAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ShapeAttribute; /** * Viewport of shape diff --git a/api/@internal/component/ets/sheet.d.ts b/api/@internal/component/ets/sheet.d.ts index 6b8ab2c43e..285c351133 100644 --- a/api/@internal/component/ets/sheet.d.ts +++ b/api/@internal/component/ets/sheet.d.ts @@ -34,19 +34,19 @@ declare class SheetAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): SheetAttribute; + create(): SheetAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): SheetAttribute; + pop(): SheetAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): SheetAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SheetAttribute; } declare const Sheet: SheetInterface; diff --git a/api/@internal/component/ets/slider.d.ts b/api/@internal/component/ets/slider.d.ts index 17f1274c3c..fbbca1732e 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -125,19 +125,13 @@ declare class SliderAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: SliderOption): SliderAttribute; + create(options?: SliderOption): SliderAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): SliderAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): SliderAttribute; + debugLine(value: string): SliderAttribute; /** * Called when the slider color of the slider bar is set. diff --git a/api/@internal/component/ets/span.d.ts b/api/@internal/component/ets/span.d.ts index 6b8b1f3fd6..e4a295ffc9 100644 --- a/api/@internal/component/ets/span.d.ts +++ b/api/@internal/component/ets/span.d.ts @@ -33,13 +33,13 @@ declare class SpanAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: string | Resource): SpanAttribute; + create(value: string | Resource): SpanAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): SpanAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SpanAttribute; /** * Called when the font color is set. diff --git a/api/@internal/component/ets/stack.d.ts b/api/@internal/component/ets/stack.d.ts index 2a5f8742e2..6daf40e08f 100644 --- a/api/@internal/component/ets/stack.d.ts +++ b/api/@internal/component/ets/stack.d.ts @@ -33,19 +33,19 @@ declare class StackAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { alignContent?: Alignment }): StackAttribute; + create(value?: { alignContent?: Alignment }): StackAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): StackAttribute; + pop(): StackAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): StackAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): StackAttribute; /** * Called when the occupancy of items in the container is set. diff --git a/api/@internal/component/ets/stepper.d.ts b/api/@internal/component/ets/stepper.d.ts index f6d3ca99a1..6eb93d3627 100644 --- a/api/@internal/component/ets/stepper.d.ts +++ b/api/@internal/component/ets/stepper.d.ts @@ -36,19 +36,19 @@ declare class StepperAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { index?: number }): StepperAttribute; + create(value?: { index?: number }): StepperAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): StepperAttribute; + pop(): StepperAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): StepperAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): StepperAttribute; /** * Callback when the finish label is clicked. diff --git a/api/@internal/component/ets/stepperItem.d.ts b/api/@internal/component/ets/stepperItem.d.ts index ca819022b5..35935a55b4 100644 --- a/api/@internal/component/ets/stepperItem.d.ts +++ b/api/@internal/component/ets/stepperItem.d.ts @@ -71,19 +71,19 @@ declare class StepperItemAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(): StepperItemAttribute; + create(): StepperItemAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): StepperItemAttribute; + pop(): StepperItemAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): StepperItemAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): StepperItemAttribute; /** * Called when the value of stepperItem prevLabel is set diff --git a/api/@internal/component/ets/swiper.d.ts b/api/@internal/component/ets/swiper.d.ts index bef4c74807..6e7d39b9f7 100644 --- a/api/@internal/component/ets/swiper.d.ts +++ b/api/@internal/component/ets/swiper.d.ts @@ -81,19 +81,19 @@ declare class SwiperAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(controller?: SwiperController): SwiperAttribute; + create(controller?: SwiperController): SwiperAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): SwiperAttribute; + pop(): SwiperAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): SwiperAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): SwiperAttribute; /** * Called when the index value of the displayed subcomponent is set in the container. diff --git a/api/@internal/component/ets/tab_content.d.ts b/api/@internal/component/ets/tab_content.d.ts index bf33ac909b..66a47ad76a 100644 --- a/api/@internal/component/ets/tab_content.d.ts +++ b/api/@internal/component/ets/tab_content.d.ts @@ -40,13 +40,13 @@ declare class TabContentAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TabContentAttribute; + pop(): TabContentAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TabContentAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TabContentAttribute; /** * Called when tabbar is entered. diff --git a/api/@internal/component/ets/tabs.d.ts b/api/@internal/component/ets/tabs.d.ts index e1fcee42c2..40592d04d2 100644 --- a/api/@internal/component/ets/tabs.d.ts +++ b/api/@internal/component/ets/tabs.d.ts @@ -86,19 +86,19 @@ declare class TabsAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: { barPosition?: BarPosition; index?: number; controller?: TabsController }): TabsAttribute; + create(value?: { barPosition?: BarPosition; index?: number; controller?: TabsController }): TabsAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TabsAttribute; + pop(): TabsAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TabsAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TabsAttribute; /** * Called when determining whether the tab is vertical. diff --git a/api/@internal/component/ets/text.d.ts b/api/@internal/component/ets/text.d.ts index 3a1ffc7dbe..b11ae7ecc5 100644 --- a/api/@internal/component/ets/text.d.ts +++ b/api/@internal/component/ets/text.d.ts @@ -34,19 +34,19 @@ declare class TextAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(content?: string | Resource): TextAttribute; + create(content?: string | Resource): TextAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TextAttribute; + pop(): TextAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TextAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextAttribute; /** * Called when the font color is set. diff --git a/api/@internal/component/ets/text_area.d.ts b/api/@internal/component/ets/text_area.d.ts index 9952355289..8caef60aea 100644 --- a/api/@internal/component/ets/text_area.d.ts +++ b/api/@internal/component/ets/text_area.d.ts @@ -76,19 +76,13 @@ declare class TextAreaAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: TextAreaOption): TextAreaAttribute; + create(value?: TextAreaOption): TextAreaAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TextAreaAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TextAreaAttribute; + debugLine(value: string): TextAreaAttribute; /** * Called when the color of the placeholder is set. diff --git a/api/@internal/component/ets/text_clock.d.ts b/api/@internal/component/ets/text_clock.d.ts index 7ca164c9c0..5094b8a955 100644 --- a/api/@internal/component/ets/text_clock.d.ts +++ b/api/@internal/component/ets/text_clock.d.ts @@ -33,19 +33,19 @@ declare class TextClockAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: {hourswest?: number}): TextClockAttribute; + create(options?: {hourswest?: number}): TextClockAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TextClockAttribute; + pop(): TextClockAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TextClockAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextClockAttribute; /** * set display time format,such as "yyyy/mm/dd"、“yyyy-mm-dd". diff --git a/api/@internal/component/ets/text_input.d.ts b/api/@internal/component/ets/text_input.d.ts index 113ad0cf75..122b250c51 100644 --- a/api/@internal/component/ets/text_input.d.ts +++ b/api/@internal/component/ets/text_input.d.ts @@ -141,19 +141,13 @@ declare class TextInputAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value?: TextInputOption): TextInputAttribute; + create(value?: TextInputOption): TextInputAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TextInputAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TextInputAttribute; + debugLine(value: string): TextInputAttribute; /** * Called when the input type is set. diff --git a/api/@internal/component/ets/text_picker.d.ts b/api/@internal/component/ets/text_picker.d.ts index 056c8f9355..ce575a7a00 100644 --- a/api/@internal/component/ets/text_picker.d.ts +++ b/api/@internal/component/ets/text_picker.d.ts @@ -52,19 +52,19 @@ declare class TextPickerAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: TextPickerOption): TextPickerAttribute; + create(options?: TextPickerOption): TextPickerAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TextPickerAttribute; + pop(): TextPickerAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TextPickerAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextPickerAttribute; /** * Called when the default height of the selected element is set. diff --git a/api/@internal/component/ets/text_timer.d.ts b/api/@internal/component/ets/text_timer.d.ts index 5a497b697e..95ed740e63 100644 --- a/api/@internal/component/ets/text_timer.d.ts +++ b/api/@internal/component/ets/text_timer.d.ts @@ -89,19 +89,19 @@ declare class TextTimerAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options?: TextTimerOption): TextTimerAttribute; + create(options?: TextTimerOption): TextTimerAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): TextTimerAttribute; + pop(): TextTimerAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): TextTimerAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): TextTimerAttribute; /** * Set the display time format, for example, now is hh/mm/ss/ms and current: hh-mm-ss-ms. diff --git a/api/@internal/component/ets/toggle.d.ts b/api/@internal/component/ets/toggle.d.ts index cfba3a8f64..3837776d7b 100644 --- a/api/@internal/component/ets/toggle.d.ts +++ b/api/@internal/component/ets/toggle.d.ts @@ -56,19 +56,19 @@ declare class ToggleAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(options: { type: ToggleType; isOn?: boolean }): ToggleAttribute; + create(options: { type: ToggleType; isOn?: boolean }): ToggleAttribute; /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): ToggleAttribute; + pop(): ToggleAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): ToggleAttribute; + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ + debugLine(value: string): ToggleAttribute; /** * Called when the selected state of the component changes. diff --git a/api/@internal/component/ets/video.d.ts b/api/@internal/component/ets/video.d.ts index 0760ba4c1e..3c90fd41d0 100644 --- a/api/@internal/component/ets/video.d.ts +++ b/api/@internal/component/ets/video.d.ts @@ -101,7 +101,7 @@ declare class VideoAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: { + create(value: { src?: string | Resource; previewUri?: string | PixelMap | Resource; controller?: VideoController; @@ -111,13 +111,7 @@ declare class VideoAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): VideoAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): VideoAttribute; + debugLine(value: string): VideoAttribute; /** * Called when judging whether the video is muted. diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 968ba9446b..039a1d84ca 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -42,18 +42,12 @@ interface WebInterface { } declare class WebAttribute extends CommonMethod { - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ + /** + * Just use for genetate tsbundle + * @ignore ide should ignore this arrtibute + */ create(value: WebOptions): WebAttribute; - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - pop(): WebAttribute; - /** * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute diff --git a/api/@internal/component/ets/xcomponent.d.ts b/api/@internal/component/ets/xcomponent.d.ts index 2039904933..6b3a8dcc87 100644 --- a/api/@internal/component/ets/xcomponent.d.ts +++ b/api/@internal/component/ets/xcomponent.d.ts @@ -63,7 +63,7 @@ declare class XComponentAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - create(value: { + create(value: { id: string; type: string; libraryname?: string; @@ -74,13 +74,7 @@ declare class XComponentAttribute extends CommonMethod { * Just use for genetate tsbundle * @ignore ide should ignore this arrtibute */ - pop(): XComponentAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): XComponentAttribute; + debugLine(value: string): XComponentAttribute; /** * Called when judging whether the xcomponent surface is created. -- Gitee