diff --git a/api/@internal/component/ets/alphabet_indexer.d.ts b/api/@internal/component/ets/alphabet_indexer.d.ts index 563e2fb450fa2909e3aa1488d57f453239315cdb..a902431b34a4e76c5560ef87c6984665e4d08e17 100644 --- a/api/@internal/component/ets/alphabet_indexer.d.ts +++ b/api/@internal/component/ets/alphabet_indexer.d.ts @@ -49,24 +49,6 @@ 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 4853bd90d3ddfdd3313dfe7b778e94b9702c7274..ff253c2ebaa90bfc339572b4c13555577ca65064 100644 --- a/api/@internal/component/ets/animator.d.ts +++ b/api/@internal/component/ets/animator.d.ts @@ -89,12 +89,6 @@ interface AnimatorInterface { * @systemapi */ declare class AnimatorAttribute extends CommonMethod { - /** - * 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 a8e9684092c0d88ab3c68b75450145232b719b10..5c7d354ea01658a414f44247bf54db64ed339079 100644 --- a/api/@internal/component/ets/badge.d.ts +++ b/api/@internal/component/ets/badge.d.ts @@ -143,25 +143,7 @@ interface BadgeInterface { * Defines Badge Componrnt attribute. * @since 7 */ -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 class BadgeAttribute extends CommonMethod {} 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 a7a1c30b99d0fc1f50bfd52edd55557ce6d61e73..4415acc8a0c39bede5a52cdd867183ef5e7d49dc 100644 --- a/api/@internal/component/ets/blank.d.ts +++ b/api/@internal/component/ets/blank.d.ts @@ -30,24 +30,6 @@ 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 caa12dd8ed3b0e01f67151d364b45dfe98c77da5..68f472819de0d9dea9b66e90fbf43ca6ecc76193 100644 --- a/api/@internal/component/ets/button.d.ts +++ b/api/@internal/component/ets/button.d.ts @@ -84,30 +84,6 @@ 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 6d5cf5c862622b29d8328f0a353d47db7734aaa3..73af8ae5278a07e8f00f740823dda9548dc519f5 100644 --- a/api/@internal/component/ets/calendar.d.ts +++ b/api/@internal/component/ets/calendar.d.ts @@ -531,30 +531,6 @@ 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 b6c2839360270b3319b5c194bbe60979467b9994..2a48de5d00137d6c4428613e7c8bd8d687e7d7b2 100644 --- a/api/@internal/component/ets/canvas.d.ts +++ b/api/@internal/component/ets/canvas.d.ts @@ -1104,24 +1104,6 @@ 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 7059c2e2b95ac6e2654d7b6306b6efbb885dbd73..c66216a3398fc46911be175a9dc2eae4f8f4b4f0 100644 --- a/api/@internal/component/ets/checkbox.d.ts +++ b/api/@internal/component/ets/checkbox.d.ts @@ -49,24 +49,6 @@ 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. * @since 8 diff --git a/api/@internal/component/ets/checkboxgroup.d.ts b/api/@internal/component/ets/checkboxgroup.d.ts index c9bdaebb0732b6f01bb0602d298829acbc064fd9..3fee2e97cd34e1d47790488a54af2448f3f52161 100644 --- a/api/@internal/component/ets/checkboxgroup.d.ts +++ b/api/@internal/component/ets/checkboxgroup.d.ts @@ -81,24 +81,6 @@ 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. * @since 8 diff --git a/api/@internal/component/ets/circle.d.ts b/api/@internal/component/ets/circle.d.ts index 0f0689143c8165aa27607ad591debe812d3fef8f..56a14c7e18452458e07a35e334de45f425fac77b 100644 --- a/api/@internal/component/ets/circle.d.ts +++ b/api/@internal/component/ets/circle.d.ts @@ -53,19 +53,7 @@ interface CircleInterface { * Circle drawing component attribute functions. * @since 7 */ -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 - */ - debugLine(value: string): CircleAttribute; -} +declare class CircleAttribute extends CommonShapeMethod {} 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 2caadfec5833ba30e3a17cdad326d084624ae34f..f1045dccf42d3e8b095ec1cd35989f0e3fe3cbb2 100644 --- a/api/@internal/component/ets/column.d.ts +++ b/api/@internal/component/ets/column.d.ts @@ -25,12 +25,6 @@ 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; } /** @@ -38,18 +32,6 @@ 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 9ad4915e80f163de179aac87800a08c81acdb088..7b897cf1fa87ba232dbf22ad711bdaf40257a350 100644 --- a/api/@internal/component/ets/column_split.d.ts +++ b/api/@internal/component/ets/column_split.d.ts @@ -30,24 +30,6 @@ 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 9c52ef143c800de6fc2e2c8aab0cae699580b7a5..a847e5f02b85dab2e5ab585a2dcd7088106f3abc 100644 --- a/api/@internal/component/ets/counter.d.ts +++ b/api/@internal/component/ets/counter.d.ts @@ -30,24 +30,6 @@ 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 389f032934bd1a054a68df55996af21e21326784..82d6f4c68b00d7197d82962285509577acdf8e30 100644 --- a/api/@internal/component/ets/data_panel.d.ts +++ b/api/@internal/component/ets/data_panel.d.ts @@ -73,24 +73,6 @@ 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 160033b9515165d7a0e13b7e9ce680b1f40e6de7..7cec6ba837a5576c940e136b6358498a1dc7b2de 100644 --- a/api/@internal/component/ets/date_picker.d.ts +++ b/api/@internal/component/ets/date_picker.d.ts @@ -115,24 +115,6 @@ 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 a406ad90c3772edcbca249646d67017574347812..4ee88aa42e24c44c25e9f4d0d61aa9e2edad3633 100644 --- a/api/@internal/component/ets/divider.d.ts +++ b/api/@internal/component/ets/divider.d.ts @@ -31,18 +31,6 @@ 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 - */ - 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 831ad7ed152f48f472e8485b405a8314dfc8c6e7..2ba7cdbbba6274970b5ec0f5cdd74d899db71117 100644 --- a/api/@internal/component/ets/ellipse.d.ts +++ b/api/@internal/component/ets/ellipse.d.ts @@ -35,19 +35,7 @@ interface EllipseInterface { /** * @since 7 */ -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 - */ - debugLine(value: string): EllipseAttribute; -} +declare class EllipseAttribute extends CommonShapeMethod {} 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 350c5ab72158c1ea449f95c9193185ae0b0169ab..0e6bb92157dfb4a59f4214380a00e2bcea6ae5b2 100644 --- a/api/@internal/component/ets/flex.d.ts +++ b/api/@internal/component/ets/flex.d.ts @@ -65,25 +65,7 @@ interface FlexInterface { * Defines the Flex attribute functions. * @since 7 */ -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 class FlexAttribute extends CommonMethod {} declare const Flex: FlexInterface; declare const FlexInstance: FlexAttribute; diff --git a/api/@internal/component/ets/for_each.d.ts b/api/@internal/component/ets/for_each.d.ts index fe1329aa060279067df47dcb82b4ffbef56b7068..d1e8c71767b13b0655f5eabebe878514378aa4b4 100644 --- a/api/@internal/component/ets/for_each.d.ts +++ b/api/@internal/component/ets/for_each.d.ts @@ -27,28 +27,6 @@ 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 3612d7d101f6c8493059f77e5c7a03056d2fd1dd..1d3fa7dfdd56e0ff2605ab27801d6f5ecee3ff10 100644 --- a/api/@internal/component/ets/form_component.d.ts +++ b/api/@internal/component/ets/form_component.d.ts @@ -76,26 +76,6 @@ 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 - */ - 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 bf9ce66e7e1b5fcbdbf574af3f903c6aacda254a..6002fadf1e2c2b76349bb05cdfe4bb2a0adb9e89 100644 --- a/api/@internal/component/ets/gauge.d.ts +++ b/api/@internal/component/ets/gauge.d.ts @@ -31,18 +31,6 @@ 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 - */ - debugLine(value: string): GaugeAttribute; - /** * Sets the value for the current profile. * @since 8 diff --git a/api/@internal/component/ets/gesture.d.ts b/api/@internal/component/ets/gesture.d.ts index 9de668a0184e3b8da80eb093b878626644ef50e4..a91f87a8593303880f2d89e5434ca595ff355c55 100644 --- a/api/@internal/component/ets/gesture.d.ts +++ b/api/@internal/component/ets/gesture.d.ts @@ -300,18 +300,6 @@ 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 @@ -333,18 +321,6 @@ 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 @@ -405,20 +381,6 @@ 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 @@ -455,18 +417,6 @@ 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 @@ -485,18 +435,6 @@ 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 @@ -533,18 +471,6 @@ 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 @@ -581,18 +507,6 @@ 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 9d036a19f427bca47e95a2c6a1095cd8a1622a0d..fb54634f35b985a9b9bedea76e1134248687a435 100644 --- a/api/@internal/component/ets/grid.d.ts +++ b/api/@internal/component/ets/grid.d.ts @@ -40,24 +40,6 @@ 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 33b2ecdf272b64b1611b6695c6c39ba4222f5070..b1d2359dbd091d43b101c1da6d154e608c998c31 100644 --- a/api/@internal/component/ets/gridItem.d.ts +++ b/api/@internal/component/ets/gridItem.d.ts @@ -29,24 +29,6 @@ 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 e57c6b72f5cc9fcaeb4983cb0e128851d1c4c878..86cacbe4285c3633a39b2a676310922122340997 100644 --- a/api/@internal/component/ets/grid_container.d.ts +++ b/api/@internal/component/ets/grid_container.d.ts @@ -95,25 +95,7 @@ interface GridContainerInterface { * Defines the grid container attribute from inheritance Column * @since 7 */ -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 class GridContainerAttribute extends ColumnAttribute {} declare const GridContainer: GridContainerInterface declare const GridContainerInstance: GridContainerAttribute; diff --git a/api/@internal/component/ets/image.d.ts b/api/@internal/component/ets/image.d.ts index f101035490374e2c1fc769296675a4253b1501e0..9474d5f7c62c2a75fe1ad39ad96b25cd967a8456 100644 --- a/api/@internal/component/ets/image.d.ts +++ b/api/@internal/component/ets/image.d.ts @@ -75,18 +75,6 @@ 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 - */ - 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 b1b6a6560fa7b7ffb189208361646b066c01c685..c30d4db7291408156145ee3ef344ba6d1000dab7 100644 --- a/api/@internal/component/ets/image_animator.d.ts +++ b/api/@internal/component/ets/image_animator.d.ts @@ -29,18 +29,6 @@ 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 - */ - debugLine(value: string): ImageAnimatorAttribute; - /** * list images * @since 7 diff --git a/api/@internal/component/ets/lazy_for_each.d.ts b/api/@internal/component/ets/lazy_for_each.d.ts index 16ca8e845450a1cc576ef48d32bd1a604d4815a2..8498b93cb12817ebde6a80faffd21d5c1d44aea3 100644 --- a/api/@internal/component/ets/lazy_for_each.d.ts +++ b/api/@internal/component/ets/lazy_for_each.d.ts @@ -93,28 +93,6 @@ 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 247f909edff633ac1e115722f383a9deb65c136e..196d6ce173f330d44ae00a515965992f4b3ea7da 100644 --- a/api/@internal/component/ets/line.d.ts +++ b/api/@internal/component/ets/line.d.ts @@ -40,18 +40,6 @@ 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 - */ - 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 b58055b330a873010a7cfe8931cfdb7149f543d9..8470f64a9b3a7f0d177c389ee4c49af0cba0d9e2 100644 --- a/api/@internal/component/ets/list.d.ts +++ b/api/@internal/component/ets/list.d.ts @@ -55,24 +55,6 @@ 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/list_item.d.ts b/api/@internal/component/ets/list_item.d.ts index 5aca6bdc29484fd8d61482c22223165973639956..96b1afa40ca04b93d1eaad56538f3b031a10ec81 100644 --- a/api/@internal/component/ets/list_item.d.ts +++ b/api/@internal/component/ets/list_item.d.ts @@ -83,24 +83,6 @@ 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 14d87ab8ad61232d53868d5acabf859122270d21..5bc3c49fd9143fc0c25ddbf99ba3344164968342 100644 --- a/api/@internal/component/ets/loading_progress.d.ts +++ b/api/@internal/component/ets/loading_progress.d.ts @@ -56,18 +56,6 @@ 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 - */ - 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 de79e65fcc13b19e6e8e1ca455d90ce48ddf0d3f..ab55150c9799cffea405b7c4880b51d48bb6a678 100644 --- a/api/@internal/component/ets/marquee.d.ts +++ b/api/@internal/component/ets/marquee.d.ts @@ -30,24 +30,6 @@ 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/middle_class.d.ts b/api/@internal/component/ets/middle_class.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..05aaf273f822dd40c45e45467b007806db124d2d --- /dev/null +++ b/api/@internal/component/ets/middle_class.d.ts @@ -0,0 +1,623 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +declare class TSAlphabetIndexerAttribute extends CommonMethod { + pop(): AlphabetIndexerAttribute; + debugLine(value: string): AlphabetIndexerAttribute; + create(value: { + arrayValue: Array; + selected: number; + }): AlphabetIndexerAttribute; +} + +declare class TSAnimatorAttribute extends CommonMethod { + create(value: string): AnimatorAttribute; +} + +declare class TSBadgeAttribute extends CommonMethod { + pop(): BadgeAttribute; + debugLine(value: string): BadgeAttribute; + create(value: BadgeParamWithNumber | BadgeParamWithString): BadgeAttribute; +} + +declare class TSBlankAttribute extends CommonMethod { + create(min?: number | string): BlankAttribute; + pop(): BlankAttribute; + debugLine(value: string): BlankAttribute; +} + +declare class TSButtonAttribute extends CommonMethod { + createWithChild(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; + createWithLabel(label?: ResourceStr, options?: ButtonOption): ButtonAttribute; + pop(): ButtonAttribute; + debugLine(value: string): ButtonAttribute; +} + +declare class TSCalendarAttribute { + create(value: { + date: { + year: number; + month: number; + day: number; + }; + currentData: MonthData; + preData: MonthData; + nextData: MonthData; + controller?: CalendarController; + }): CalendarAttribute; + pop(): CalendarAttribute; + debugLine(value: string): CalendarAttribute; +} + +declare class TSCanvasAttribute extends CommonMethod { + create(context?: CanvasRenderingContext2D): CanvasAttribute; + pop(): CanvasAttribute; + debugLine(value: string): CanvasAttribute; +} + +declare class TSCheckboxAttribute extends CommonMethod { + create(options?: CheckboxOption): CheckboxAttribute; + pop(): CheckboxAttribute; + debugLine(value: string): CheckboxAttribute; +} + +declare class TSCheckboxGroupAttribute extends CommonMethod { + create(options?: CheckboxGroupOption): CheckboxGroupAttribute; + pop(): CheckboxGroupAttribute; + debugLine(value: string): CheckboxGroupAttribute; +} + +declare class TSCircleAttribute extends CommonShapeMethod { + create(value?: CircleOption): CircleAttribute; + debugLine(value: string): CircleAttribute; +} + +declare class TSColumnAttribute extends CommonMethod { + create(value?: { + space?: string | number; + }): ColumnAttribute; + pop(): ColumnAttribute; + debugLine(value: string): ColumnAttribute; +} + +declare class TSColumnSplitAttribute extends CommonMethod { + create(): ColumnSplitAttribute; + pop(): ColumnSplitAttribute; + debugLine(value: string): ColumnSplitAttribute; +} + +declare class TSCounterAttribute extends CommonMethod { + create(): CounterAttribute; + pop(): CounterAttribute; + debugLine(value: string): CounterAttribute; +} + +declare class TSDataPanelAttribute extends CommonMethod { + create(options: DataPanelOption): DataPanelAttribute; + pop(): DataPanelAttribute; + debugLine(value: string): DataPanelAttribute; +} + +declare class TSDatePickerAttribute extends CommonMethod { + create(options?: DatePickerOption): DatePickerAttribute; + pop(): DatePickerAttribute; + debugLine(value: string): DatePickerAttribute; +} + +declare class TSDividerAttribute extends CommonMethod { + create(): DividerAttribute; + debugLine(value: string): DividerAttribute; +} + +declare class TSEllipseAttribute extends CommonShapeMethod { + create(value?: { + width?: string | number; + height?: string | number; + }): EllipseAttribute; + debugLine(value: string): EllipseAttribute; +} + +declare class TSFlexAttribute extends CommonMethod { + create(value?: FlexOption): FlexAttribute; + pop(): FlexAttribute; + debugLine(value: string): FlexAttribute; +} + +declare class TSForEachInterface { + create(arr: Array, itemGenerator: (item: any, index?: number) => void, keyGenerator?: (item: any, index?: number) => string): ForEachInterface; + pop(): ForEachInterface; + debugLine(value: string): ForEachInterface; +} + +declare class TSFormComponentAttribute extends CommonMethod { + create(value: { + id: number; + name: string; + bundle: string; + ability: string; + module: string; + dimension?: FormDimension; + temporary?: boolean; + }): FormComponentAttribute; + debugLine(value: string): FormComponentAttribute; +} + +declare class TSGaugeAttribute extends CommonMethod { + create(options: { + value: number; + min?: number; + max?: number; + }): GaugeAttribute; + debugLine(value: string): GaugeAttribute; +} + +declare class TSGridAttribute extends CommonMethod { + create(scroller?: Scroller): GridAttribute; + pop(): GridAttribute; + debugLine(value: string): GridAttribute; +} + +declare class TSGridItemAttribute extends CommonMethod { + create(): GridItemAttribute; + pop(): GridItemAttribute; + debugLine(value: string): GridItemAttribute; +} + +declare class TSGridContainerAttribute extends ColumnAttribute { + create(value?: GridContainerOption): GridContainerAttribute; + pop(): GridContainerAttribute; + debugLine(value: string): GridContainerAttribute; +} + +declare class TSImageAttribute extends CommonMethod { + create(src: string | PixelMap | Resource): ImageAttribute; + debugLine(value: string): ImageAttribute; +} + +declare class TSImageAnimatorAttribute extends CommonMethod { + create(): ImageAnimatorAttribute; + debugLine(value: string): ImageAnimatorAttribute; +} + +declare class TSLazyForEachInterface { + create(dataSource: IDataSource, itemGenerator: (item: any, index?: number) => void, keyGenerator?: (item: any, index?: number) => string): LazyForEachInterface; + pop(): LazyForEachInterface; + debugLine(value: string): LazyForEachInterface; +} + +declare class TSLineAttribute extends CommonShapeMethod { + create(value?: { + width?: string | number; + height?: string | number; + }): LineAttribute; + debugLine(value: string): LineAttribute; +} + +declare class TSListAttribute extends CommonMethod { + create(value?: { + initialIndex?: number; + space?: number | string; + scroller?: Scroller; + }): ListAttribute; + pop(): ListAttribute; + debugLine(value: string): ListAttribute; +} + +declare class TSListItemAttribute extends CommonMethod { + create(value?: string): ListItemAttribute; + pop(): ListItemAttribute; + debugLine(value: string): ListItemAttribute; +} + +declare class TSLoadingProgressAttribute extends CommonMethod { + create(): LoadingProgressAttribute; + debugLine(value: string): LoadingProgressAttribute; + color(value: ResourceColor): LoadingProgressAttribute; +} + +declare class TSMarqueeAttribute extends CommonMethod { + create(value: { + start: boolean; + step?: number; + loop?: number; + fromStart?: boolean; + src: string; + }): MarqueeAttribute; + pop(): MarqueeAttribute; + debugLine(value: string): MarqueeAttribute; +} + +declare class TSNavigationAttribute extends CommonMethod { + create(): NavigationAttribute; + pop(): NavigationAttribute; + debugLine(value: string): NavigationAttribute; +} + +declare class TSNavigatorAttribute extends CommonMethod { + create(value?: { + target: string; + type?: NavigationType; + }): NavigatorAttribute; + pop(): NavigatorAttribute; + debugLine(value: string): NavigatorAttribute; +} + +declare class TSPageTransitionEnterInterface extends CommonTransition { + create(value: { + type?: RouteType; + duration?: number; + curve?: Curve | string; + delay?: number; + }): PageTransitionEnterInterface; +} + +declare class TSPageTransitionExitInterface extends CommonTransition { + create(value: { + type?: RouteType; + duration?: number; + curve?: Curve | string; + delay?: number; + }): PageTransitionExitInterface; +} + +declare class TSPanelAttribute extends CommonMethod { + create(show: boolean): PanelAttribute; + pop(): PanelAttribute; + debugLine(value: string): PanelAttribute; +} + +declare class TSPathAttribute extends CommonShapeMethod { + create(value?: { + width?: number | string; + height?: number | string; + commands?: string; + }): PathAttribute; + pop(): PathAttribute; + debugLine(value: string): PathAttribute; +} + +declare class TSPatternLockAttribute extends CommonMethod { + create(controller?: PatternLockController): TSPatternLockAttribute; + pop(): TSPatternLockAttribute; + debugLine(value: string): TSPatternLockAttribute; +} + +declare class TSPieceAttribute extends CommonMethod { + create(options?: { + content: string; + icon?: string; + }): PieceAttribute; + pop(): PieceAttribute; + debugLine(value: string): PieceAttribute; +} + +declare class TSPluginComponentAttribute extends CommonMethod { + create(value: { + template: PluginComponentTemplate; + data: any; + }): PluginComponentAttribute; + pop(): PluginComponentAttribute; + debugLine(value: string): PluginComponentAttribute; +} + +declare class TSPolygonAttribute extends CommonShapeMethod { + create(value?: { + width?: string | number; + height?: string | number; + }): PolygonAttribute; + debugLine(value: string): PolygonAttribute; +} + +declare class TSPolylineAttribute extends CommonShapeMethod { + create(value?: { + width?: string | number; + height?: string | number; + }): PolylineAttribute; + debugLine(value: string): PolylineAttribute; +} + +declare class TSProgressAttribute extends CommonMethod { + create(object: { + value: number; + total?: number; + style?: ProgressStyle; + }): ProgressAttribute; + debugLine(value: string): ProgressAttribute; +} + +declare class TSQRCodeAttribute extends CommonMethod { + create(value: string): QRCodeAttribute; + pop(): QRCodeAttribute; + debugLine(value: string): QRCodeAttribute; +} + +declare class TSRadioAttribute extends CommonMethod { + create(options: RadioOption): RadioAttribute; + debugLine(value: string): RadioAttribute; +} + +declare class TSRatingAttribute extends CommonMethod { + create(options?: { + rating: number; + indicator?: boolean; + }): RatingAttribute; + pop(): RatingAttribute; + debugLine(value: string): RatingAttribute; +} + +declare class TSRectAttribute extends CommonShapeMethod { + 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; + debugLine(value: string): RectAttribute; +} + +declare class TSRefreshAttribute extends CommonMethod { + create(value: { + refreshing: boolean; + offset?: number | string; + friction?: number | string; + }): RefreshAttribute; + pop(): RefreshAttribute; + debugLine(value: string): RefreshAttribute; +} + +declare class TSRowAttribute extends CommonMethod { + create(value?: { + space?: string | number; + }): RowAttribute; + pop(): RowAttribute; + debugLine(value: string): RowAttribute; +} + +declare class TSRowSplitAttribute extends CommonMethod { + create(): RowSplitAttribute; + pop(): RowSplitAttribute; + debugLine(value: string): RowSplitAttribute; +} + +declare class TSScrollAttribute extends CommonMethod { + create(scroller?: Scroller): ScrollAttribute; + pop(): ScrollAttribute; + debugLine(value: string): ScrollAttribute; +} + +declare class TSScrollBarAttribute extends CommonMethod { + create(value: ScrollBarOption): ScrollBarAttribute; + pop(): ScrollBarAttribute; + debugLine(value: string): ScrollBarAttribute; +} + +declare class TSSearchAttribute extends CommonMethod { + create(options?: { + value?: string; + placeholder?: string; + icon?: string; + controller?: SearchController; + }): SearchAttribute; + pop(): SearchAttribute; + debugLine(value: string): SearchAttribute; +} + +declare class TSSelectAttribute extends CommonMethod { + create(options: Array): SelectAttribute; + pop(): SelectAttribute; + debugLine(value: string): SelectAttribute; +} + +declare class TSShapeAttribute extends CommonMethod { + create(value?: PixelMap): ShapeAttribute; + pop(): ShapeAttribute; + debugLine(value: string): ShapeAttribute; +} + +declare class TSSheetAttribute extends CommonMethod { + create(): SheetAttribute; + pop(): SheetAttribute; + debugLine(value: string): SheetAttribute; +} + +declare class TSSliderAttribute extends CommonMethod { + create(options?: SliderOption): SliderAttribute; + debugLine(value: string): SliderAttribute; +} + +declare class TSSpanAttribute extends CommonMethod { + create(value: string | Resource): SpanAttribute; + debugLine(value: string): SpanAttribute; +} + +declare class TSStackAttribute extends CommonMethod { + create(value?: { + alignContent?: Alignment; + }): StackAttribute; + pop(): StackAttribute; + debugLine(value: string): StackAttribute; +} + +declare class TSStepperAttribute extends CommonMethod { + create(value?: { + index?: number; + }): StepperAttribute; + pop(): StepperAttribute; + debugLine(value: string): StepperAttribute; +} + +declare class TSStepperItemAttribute extends CommonMethod { + create(): StepperItemAttribute; + pop(): StepperItemAttribute; + debugLine(value: string): StepperItemAttribute; +} + +declare class TSSwiperAttribute extends CommonMethod { + create(controller?: SwiperController): SwiperAttribute; + pop(): SwiperAttribute; + debugLine(value: string): SwiperAttribute; +} + +declare class TSTabContentAttribute extends CommonMethod { + create(): TabContentAttribute; + pop(): TabContentAttribute; + debugLine(value: string): TabContentAttribute; +} + +declare class TSTabsAttribute extends CommonMethod { + create(value?: { + barPosition?: BarPosition; + index?: number; + controller?: TabsController; + }): TabsAttribute; + pop(): TabsAttribute; + debugLine(value: string): TabsAttribute; +} + +declare class TSTextAttribute extends CommonMethod { + create(content?: string | Resource): TextAttribute; + pop(): TextAttribute; + debugLine(value: string): TextAttribute; +} + +declare class TSTextAreaAttribute extends CommonMethod { + create(value?: TextAreaOption): TextAreaAttribute; + debugLine(value: string): TextAreaAttribute; +} + +declare class TSTextClockAttribute extends CommonMethod { + create(options?: { + timeZoneOffset?: number; + controller?: TextClockController; + }): TextClockAttribute; + pop(): TextClockAttribute; + debugLine(value: string): TextClockAttribute; +} + +declare class TSTextInputAttribute extends CommonMethod { + create(value?: TextInputOption): TextInputAttribute; + debugLine(value: string): TextInputAttribute; +} + +declare class TSTextPickerAttribute extends CommonMethod { + create(options?: TextPickerOption): TextPickerAttribute; + pop(): TextPickerAttribute; + debugLine(value: string): TextPickerAttribute; +} + +declare class TSTextTimerAttribute extends CommonMethod { + create(options?: TextTimerOption): TextTimerAttribute; + pop(): TextTimerAttribute; + debugLine(value: string): TextTimerAttribute; +} + +declare class TSToggleAttribute extends CommonMethod { + create(options: { + type: ToggleType; + isOn?: boolean; + }): ToggleAttribute; + pop(): ToggleAttribute; + debugLine(value: string): ToggleAttribute; +} + +declare class TSVideoAttribute extends CommonMethod { + create(value: { + src?: string | Resource; + previewUri?: string | PixelMap | Resource; + controller?: VideoController; + }): VideoAttribute; + debugLine(value: string): VideoAttribute; +} + +declare class TSWebAttribute extends CommonMethod { + create(value: WebOptions): WebAttribute; + debugLine(value: string): WebAttribute; +} + +declare class TSXComponentAttribute extends CommonMethod { + create(value: { + id: string; + type: string; + libraryname?: string; + controller?: XComponentController; + }): XComponentAttribute; + debugLine(value: string): XComponentAttribute; +} + +declare class TSRichTextAttribute { + create(content: string): RichTextAttribute; + pop(): RichTextAttribute; + debugLine(value: string): RichTextAttribute; +} + +declare class TSTapGestureInterface { + create(value?: { + count?: number; + fingers?: number; + }): TapGestureInterface; + pop(): TapGestureInterface; +} + +declare class TSLongPressGestureInterface { + create(value?: { + fingers?: number; + repeat?: boolean; + duration?: number; + }): LongPressGestureInterface; + pop(): LongPressGestureInterface; +} + +declare class TSPanGestureInterface { + create(value?: { + fingers?: number; + direction?: PanDirection; + distance?: number; + } | PanGestureOption): PanGestureInterface; + pop(): PanGestureInterface; +} + +declare class TSSwipeGestureInterface { + create(value?: { + fingers?: number; + direction?: SwipeDirection; + speed?: number; + }): SwipeGestureInterface; + pop(): SwipeGestureInterface; +} + +declare class PinchGestureInterface { + create(value?: { + fingers?: number; + distance?: number; + }): PinchGestureInterface; + pop(): PinchGestureInterface; +} + +declare class TSRotationGestureInterface { + create(value?: { + fingers?: number; + angle?: number; + }): RotationGestureInterface; + pop(): RotationGestureInterface; +} + +declare class TSGestureGroupInterface { + create(mode: GestureMode, ...gesture: GestureType[]): GestureGroupInterface; + pop(): GestureGroupInterface; +} diff --git a/api/@internal/component/ets/navigation.d.ts b/api/@internal/component/ets/navigation.d.ts index e183f6b96773b7d7707f40ed5a679a3de720ef65..5130791878169fc2b6cfd20c07717d0fbbebf6ed 100644 --- a/api/@internal/component/ets/navigation.d.ts +++ b/api/@internal/component/ets/navigation.d.ts @@ -72,24 +72,6 @@ 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 932f0eb71f437d0976c8d86f350bf9e305976a3f..97046bdef4dbf3397df12ef009a8e9c118e4fad0 100644 --- a/api/@internal/component/ets/navigator.d.ts +++ b/api/@internal/component/ets/navigator.d.ts @@ -60,24 +60,6 @@ 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/page_transition.d.ts b/api/@internal/component/ets/page_transition.d.ts index a28a6d9d789afa1b9f88c93bcaffddf84476dcc0..9a8b56d40840cf316c2edc6deba37aa17dc3f9d2 100644 --- a/api/@internal/component/ets/page_transition.d.ts +++ b/api/@internal/component/ets/page_transition.d.ts @@ -116,12 +116,6 @@ interface PageTransitionEnterInterface extends CommonTransition void): PageTransitionEnterInterface; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - create(value: { type?: RouteType; duration?: number; curve?: Curve | string; delay?: number }): PageTransitionEnterInterface; } /** @@ -140,12 +134,6 @@ interface PageTransitionExitInterface extends CommonTransition void): 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 72edecdc44e2e443a821bb8c2eca710f3c0a1c70..7b0dc56130c9196cf5272229e63b365692c675af 100644 --- a/api/@internal/component/ets/panel.d.ts +++ b/api/@internal/component/ets/panel.d.ts @@ -79,24 +79,6 @@ 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 fc651240ef1dd2e141ad8da48cdfc43d216024ed..5544383edc8beaa5cebc86f93938a641b603e87f 100644 --- a/api/@internal/component/ets/path.d.ts +++ b/api/@internal/component/ets/path.d.ts @@ -35,24 +35,6 @@ 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 5b7b5c68c6326782f18537de25a83c3300a1ddc7..efc54d9d3befb2e7870797a861f381b60c217b2a 100644 --- a/api/@internal/component/ets/pattern_lock.d.ts +++ b/api/@internal/component/ets/pattern_lock.d.ts @@ -41,24 +41,6 @@ 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 45de185fa5ac36e39d423779e2d1a6b21626d752..5e67176d8caf32f99dde768ddbc23051dcef3f3b 100644 --- a/api/@internal/component/ets/piece.d.ts +++ b/api/@internal/component/ets/piece.d.ts @@ -48,24 +48,6 @@ 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 288bdda931db2a87bb775e552cb8e0edcf4e25f6..99339284866b4290bd6f4bbee92236d7e1e83c89 100644 --- a/api/@internal/component/ets/plugin_component.d.ts +++ b/api/@internal/component/ets/plugin_component.d.ts @@ -38,24 +38,6 @@ 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 7f54e7bd56c2578dcbb3c9a826a1a06041241e6a..9d8cdd14a98b9284b3d981e432e3ffab19925440 100644 --- a/api/@internal/component/ets/polygon.d.ts +++ b/api/@internal/component/ets/polygon.d.ts @@ -32,18 +32,6 @@ 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 - */ - 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 8ab54230be90ff35d7524ee124547d8f5bd24fff..906b609f5bca9486ec08b5df249ebf5072a2123e 100644 --- a/api/@internal/component/ets/polyline.d.ts +++ b/api/@internal/component/ets/polyline.d.ts @@ -35,18 +35,6 @@ 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 - */ - 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 6b4ba18da47c9833e5d2853d98a7ead1fff174a1..80a73a7da0072c02941a2d75bac9c207d707d251 100644 --- a/api/@internal/component/ets/progress.d.ts +++ b/api/@internal/component/ets/progress.d.ts @@ -70,18 +70,6 @@ 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 - */ - 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 9b099c69c9c66c3632d823163bd43a2831c1192a..61eefc5700dbf0eb1e319b6cb2a7da8f53782371 100644 --- a/api/@internal/component/ets/qrcode.d.ts +++ b/api/@internal/component/ets/qrcode.d.ts @@ -29,24 +29,6 @@ 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 feb56ec8cb6ee5cb1d1d286a6b0787c8317ae064..d3d749404ce749014ed1822b78bc4bb0544b6469 100644 --- a/api/@internal/component/ets/radio.d.ts +++ b/api/@internal/component/ets/radio.d.ts @@ -53,18 +53,6 @@ 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 - */ - 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 989130ad766478b1e6674f17d6d419cb23e09352..09f6740ec75c2a715de42f4595028888695ebe74 100644 --- a/api/@internal/component/ets/rating.d.ts +++ b/api/@internal/component/ets/rating.d.ts @@ -29,24 +29,6 @@ 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 526dd545071b1e946cf3893d9621c9573b46242d..7ca9aa72fac29aa43129c2a22a796b93113732ea 100644 --- a/api/@internal/component/ets/rect.d.ts +++ b/api/@internal/component/ets/rect.d.ts @@ -62,31 +62,6 @@ 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 - */ - 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 bbc159dbfcd1fe3efac481d8b5526104ff67c8fe..648528bb7d179112856255d00e3e20e8aa3610f6 100644 --- a/api/@internal/component/ets/refresh.d.ts +++ b/api/@internal/component/ets/refresh.d.ts @@ -65,24 +65,6 @@ 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/rich_text.d.ts b/api/@internal/component/ets/rich_text.d.ts index 6bcc6bf67e4ee81f1a54f26de5c0e40a3fa46c02..f6d9b86335b04d77771d165cce001ac050c2e037 100644 --- a/api/@internal/component/ets/rich_text.d.ts +++ b/api/@internal/component/ets/rich_text.d.ts @@ -30,24 +30,6 @@ interface RichTextInterface { * @since 8 */ declare class RichTextAttribute extends CommonMethod { - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - create(content: string): RichTextAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - pop(): RichTextAttribute; - - /** - * Just use for genetate tsbundle - * @ignore ide should ignore this arrtibute - */ - debugLine(value: string): RichTextAttribute; - /** * Triggered when the RichText loading starts. * @since 8 diff --git a/api/@internal/component/ets/row.d.ts b/api/@internal/component/ets/row.d.ts index d8f9d48452c54cbe7ad3d3b06e54e442bb7fd089..6d723e4b8baf61b87857b95aced6fc55cc2b89ae 100644 --- a/api/@internal/component/ets/row.d.ts +++ b/api/@internal/component/ets/row.d.ts @@ -29,24 +29,6 @@ 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 b75b19a25730d3c6a73fe206000e8fff5f2cb592..38049dc12dcc447519e4c01688ce4198c6fa5731 100644 --- a/api/@internal/component/ets/row_split.d.ts +++ b/api/@internal/component/ets/row_split.d.ts @@ -30,24 +30,6 @@ 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 5c76344d1cc4b4f265f5a4d447e99d10ee4a77ec..7ea65ec436f8a53a0badd006ea19a777c2aff4c0 100644 --- a/api/@internal/component/ets/scroll.d.ts +++ b/api/@internal/component/ets/scroll.d.ts @@ -104,24 +104,6 @@ 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 5bb22f854cbe333d5f076a9814c118c812c4fdc6..0a722fca3961cb71eb90b318ef2530f62c8964a3 100644 --- a/api/@internal/component/ets/scroll_bar.d.ts +++ b/api/@internal/component/ets/scroll_bar.d.ts @@ -70,24 +70,6 @@ interface ScrollBarInterface { /** * @since 8 */ -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 class ScrollBarAttribute extends CommonMethod {} 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 b6ecc0830cfb5c6fc8686092da082b9a6622c4a6..7cb3ae0d5e0b7543c45f917531aeaa798f1cfca7 100644 --- a/api/@internal/component/ets/search.d.ts +++ b/api/@internal/component/ets/search.d.ts @@ -47,28 +47,6 @@ 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 9d5a221e1cad7a0c78abc5c1c619b391418d9ba5..6b186318b05634f816572e5c863fd64a5a0c6bd4 100644 --- a/api/@internal/component/ets/select.d.ts +++ b/api/@internal/component/ets/select.d.ts @@ -48,24 +48,6 @@ 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 ccd6134b6aee15ebd619c8c60c79ac316e6a4674..2ae8c6c61bd4c8ea1aaecb242e0be6a6e6e53805 100644 --- a/api/@internal/component/ets/shape.d.ts +++ b/api/@internal/component/ets/shape.d.ts @@ -35,24 +35,6 @@ 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 285c35113357ae9b5e5623bca73a37474cc6c728..59b190edb3a11f2084de9c2a82ec7ce0e579d985 100644 --- a/api/@internal/component/ets/sheet.d.ts +++ b/api/@internal/component/ets/sheet.d.ts @@ -29,25 +29,7 @@ interface SheetInterface { * Declares sheet properties. * @since 8 */ -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 class SheetAttribute extends CommonMethod {} 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 3bcfb199915b691191e866dfb34509c66ab0863d..8e635da950795630e3c8732e64343f698ec5f0c2 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -121,18 +121,6 @@ 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 - */ - 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 e4a295ffc97f28d4ab0dd866f0d05914dc006562..0e5441eccfc55ab499157897b61234f3933fb662 100644 --- a/api/@internal/component/ets/span.d.ts +++ b/api/@internal/component/ets/span.d.ts @@ -29,18 +29,6 @@ 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 6daf40e08f8c58bfb43ea78ee28132fc0303a9c1..bc12bdacfdfde6826748073e564348265b2f84ba 100644 --- a/api/@internal/component/ets/stack.d.ts +++ b/api/@internal/component/ets/stack.d.ts @@ -29,24 +29,6 @@ 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 6eb93d36274685dc3ddd2aa3808f355b42823ca6..71338678597a559cd06a3b6ed8c7d736bd953b25 100644 --- a/api/@internal/component/ets/stepper.d.ts +++ b/api/@internal/component/ets/stepper.d.ts @@ -32,24 +32,6 @@ 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/stepper_item.d.ts b/api/@internal/component/ets/stepper_item.d.ts index 35935a55b49ec1a1649c98a33bbaad2d31634061..042417cf4c0c916adb3fb8713aec2995e6d24a15 100644 --- a/api/@internal/component/ets/stepper_item.d.ts +++ b/api/@internal/component/ets/stepper_item.d.ts @@ -67,24 +67,6 @@ 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 6e7d39b9f7e279af34ddff4c5c4db99a603db926..ec5fd62dcaea8af7f469369dec27fd7ca0ea7aeb 100644 --- a/api/@internal/component/ets/swiper.d.ts +++ b/api/@internal/component/ets/swiper.d.ts @@ -77,24 +77,6 @@ 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 66a47ad76a59f05be14163c2a146c8f315048c39..ca258bdfd0d023100fbf60ccea4718610da076ce 100644 --- a/api/@internal/component/ets/tab_content.d.ts +++ b/api/@internal/component/ets/tab_content.d.ts @@ -30,24 +30,6 @@ 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 40592d04d25c783db7f886a27fdc333af88c606a..419672c3d5d0e951db9354b6ff50be6a6a86dc28 100644 --- a/api/@internal/component/ets/tabs.d.ts +++ b/api/@internal/component/ets/tabs.d.ts @@ -82,24 +82,6 @@ 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 b11ae7ecc505270b899f19be0d73aca02b3d8138..cdd575d2eba1f0b6bfc7f62042e04ea25c61cdc9 100644 --- a/api/@internal/component/ets/text.d.ts +++ b/api/@internal/component/ets/text.d.ts @@ -30,24 +30,6 @@ 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 8caef60aea569c3ce38b50b7e082ecda334a3e69..0bd8669c821a44c3924129fea575ea9758e2ecf0 100644 --- a/api/@internal/component/ets/text_area.d.ts +++ b/api/@internal/component/ets/text_area.d.ts @@ -72,18 +72,6 @@ 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 - */ - 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 76f417bf90fbea7b51e6b350d42cdeb49e6b4978..4d2fb2af1938c15ad8e4de17989be4b422ac12f6 100644 --- a/api/@internal/component/ets/text_clock.d.ts +++ b/api/@internal/component/ets/text_clock.d.ts @@ -17,7 +17,7 @@ * Provides a way to control the textclock status. * @since 8 */ -export declare class TextClockController { +declare class TextClockController { /** * constructor. * @since 8 @@ -51,24 +51,6 @@ 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 122b250c511359b4db3035ac251a951078b85100..3e3a01c9704c1e51aacaa4f171954df863e777f8 100644 --- a/api/@internal/component/ets/text_input.d.ts +++ b/api/@internal/component/ets/text_input.d.ts @@ -137,18 +137,6 @@ 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 - */ - 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 ce575a7a0067c06f23b243a985cb16396dc048ca..a861dd7a7e4d5e777d4112951de2b842e17045cc 100644 --- a/api/@internal/component/ets/text_picker.d.ts +++ b/api/@internal/component/ets/text_picker.d.ts @@ -48,24 +48,6 @@ 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 95ed740e63b174e8a687b707e4e33047724cdd6d..3001ddf1eede63b200a8507c59d17d9c7352385a 100644 --- a/api/@internal/component/ets/text_timer.d.ts +++ b/api/@internal/component/ets/text_timer.d.ts @@ -85,24 +85,6 @@ 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 3837776d7b62f300eefa2ede91552759d7d21210..bb8562b1a7898c4afdc86130e52e39b90270b609 100644 --- a/api/@internal/component/ets/toggle.d.ts +++ b/api/@internal/component/ets/toggle.d.ts @@ -52,24 +52,6 @@ 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 c8ea672dfee9936b460d5fb512d84bf7823ddf6d..d80052caf7abe2400a29a624f146b22819f4e770 100644 --- a/api/@internal/component/ets/video.d.ts +++ b/api/@internal/component/ets/video.d.ts @@ -164,22 +164,6 @@ 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 - */ - 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 09b598a3751aa4ef6ab07dbcde8ae688fbbaa8b2..571dab47fe0ea4ade8c3098455e14a404dd3d6bd 100755 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -650,18 +650,6 @@ declare class WebAttribute extends CommonMethod { * @since 8 */ onFileSelectorShow(callback: (event?: { callback: Function, fileSelector: object }) => void): WebAttribute; - - /** - * 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 - */ - debugLine(value: string): WebAttribute; } declare const Web: WebInterface; diff --git a/api/@internal/component/ets/xcomponent.d.ts b/api/@internal/component/ets/xcomponent.d.ts index 6b3a8dcc8741058a287d76b0e319557c31eb9cc5..9cbc7cb1cd9c0f6264ff0072422e178da1e6d947 100644 --- a/api/@internal/component/ets/xcomponent.d.ts +++ b/api/@internal/component/ets/xcomponent.d.ts @@ -59,23 +59,6 @@ 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 - */ - debugLine(value: string): XComponentAttribute; - /** * Called when judging whether the xcomponent surface is created. * @since 8