diff --git a/ui2abc/ui-plugins/src/call-transformer.ts b/ui2abc/ui-plugins/src/call-transformer.ts index 064b090285d8b7a938f32068989b5bf02f18fdf9..5834d7788ac84b3e51dd301b1c255f723cf14f42 100644 --- a/ui2abc/ui-plugins/src/call-transformer.ts +++ b/ui2abc/ui-plugins/src/call-transformer.ts @@ -71,18 +71,29 @@ export class CallTransformer extends arkts.AbstractVisitor { private componentsList = new Map([ [ "Column", { args: 1 } ], [ "Row", { args: 1 } ], + [ "Stack", { args: 1 } ], [ "List", { args: 1 } ], [ "ListItem", { args: 1 } ], + [ "ListItemGroup", { args: 1 } ], [ "DatePicker", { args: 1 } ], [ "Slider", { args: 1 } ], [ "Tabs", { args: 1 } ], + [ "Text", { args: 2 } ], [ "TextInput", { args: 1 } ], [ "Toggle", { args: 1 } ], [ "Progress", { args: 1 } ], [ "Swiper", { args: 1, options: "SwiperController" } ], [ "Grid", { args: 2, options: "GridLayoutOptions" } ], + [ "GridCol", { args: 1 } ], + [ "GridRow", { args: 1 } ], [ "GridItem", { args: 1 } ], [ "Scroll", { args: 1, options: "Scroller" } ], + [ "Button", { args: 2 } ], + [ "Image", { args: 2, options: "ImageAIOptions" } ], + [ "Flex", { args: 1 } ], + [ "MenuItem", { args: 1 } ], + [ "MenuItemGroup", { args: 1 } ], + [ "WaterFlow", { args: 1 } ], ])