1 /*
2  * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "core/components_v2/inspector/inspector_constants.h"
17 
18 namespace OHOS::Ace::V2 {
19 // common attrs
20 // dimension
21 const char ATTRS_COMMON_WIDTH[] = "width";
22 const char ATTRS_COMMON_HEIGHT[] = "height";
23 const char ATTRS_COMMON_PADDING[] = "padding";
24 const char ATTRS_COMMON_MARGIN[] = "margin";
25 const char ATTRS_COMMON_LAYOUT_PRIORITY[] = "layoutPriority";
26 const char ATTRS_COMMON_LAYOUT_WEIGHT[] = "layoutWeight";
27 // position
28 const char ATTRS_COMMON_ALIGN[] = "align";
29 const char ATTRS_COMMON_DIRECTION[] = "direction";
30 const char ATTRS_COMMON_POSITION[] = "position";
31 const char ATTRS_COMMON_OFFSET[] = "margin";
32 const char ATTRS_COMMON_USE_ALIGN[] = "useAlign";
33 // layout
34 const char ATTRS_COMMON_RELATE_PARENT[] = "relateParent";
35 const char ATTRS_COMMON_ASPECT_RATIO[] = "aspectRatio";
36 const char ATTRS_COMMON_DISPLAY_PRIORITY[] = "displayPriority";
37 // border
38 const char ATTRS_COMMON_BORDER[] = "border";
39 // background
40 const char ATTRS_COMMON_BACKGROUND_COLOR[] = "backgroundColor";
41 // opacity
42 const char ATTRS_COMMON_OPACITY[] = "opacity";
43 // visibility
44 const char ATTRS_COMMON_VISIBILITY[] = "visibility";
45 // enable
46 const char ATTRS_COMMON_ENABLE[] = "enable";
47 // zindex
48 const char ATTRS_COMMON_ZINDEX[] = "zIndex";
49 
50 // root view
51 const char ROOT_ETS_TAG[] = "root";
52 // stage view
53 const char STAGE_ETS_TAG[] = "stage";
54 // overlay view
55 const char OVERLAY_ETS_TAG[] = "overlay";
56 // page view
57 const char PAGE_ETS_TAG[] = "page";
58 // container modal view (title bar)
59 const char CONTAINER_MODAL_ETS_TAG[] = "ContainerModal";
60 
61 const char ATOMIC_SERVICE_ETS_TAG[] = "AtomicService";
62 const char APP_BAR_ETS_TAG[] = "AppBar";
63 
64 // js custom view
65 const char JS_VIEW_ETS_TAG[] = "JsView";
66 const char JS_VIEW_COMPONENT_TAG[] = "ProxyComponent";
67 // js lazy foreach node
68 const char JS_LAZY_FOR_EACH_ETS_TAG[] = "LazyForEach";
69 // js lazy foreach node
70 const char JS_FOR_EACH_ETS_TAG[] = "ForEach";
71 // js lazy foreach node
72 const char JS_SYNTAX_ITEM_ETS_TAG[] = "SyntaxItem";
73 // js repeat node
74 const char JS_REPEAT_ETS_TAG[] = "Repeat";
75 // js if else node
76 const char JS_IF_ELSE_ETS_TAG[] = "IfElse";
77 // js node slot
78 const char JS_NODE_SLOT_ETS_TAG[] = "NodeSlot";
79 
80 // toast view
81 const char TOAST_ETS_TAG[] = "Toast";
82 
83 // column
84 const char COLUMN_COMPONENT_TAG[] = "ColumnComponent";
85 const char COLUMN_ETS_TAG[] = "Column";
86 const char COLUMN_ATTRS_ALIGN_ITEMS[] = "alignItems";
87 
88 // panel bar
89 const char DRAG_BAR_COMPONENT_TAG[] = "DragBarComponent";
90 const char DRAG_BAR_ETS_TAG[] = "DragBar";
91 
92 // text
93 const char TEXT_COMPONENT_TAG[] = "TextComponentV2";
94 const char TEXT_ETS_TAG[] = "Text";
95 const char TEXT_ATTRS_OVER_FLOW[] = "textOverflow";
96 const char TEXT_ATTRS_MAX_LINES[] = "maxLines";
97 
98 // rich editor
99 const char RICH_EDITOR_ETS_TAG[] = "RichEditor";
100 const char RICH_EDITOR_DRAG_ETS_TAG[] = "RichEditorDRAG";
101 
102 // stack
103 const char STACK_COMPONENT_TAG[] = "StackComponent";
104 const char STACK_ETS_TAG[] = "Stack";
105 
106 // swiper
107 const char SWIPER_COMPONENT_TAG[] = "SwiperComponent";
108 const char SWIPER_ETS_TAG[] = "Swiper";
109 const char SWIPER_INDICATOR_ETS_TAG[] = "SwiperIndicator";
110 const char SWIPER_LEFT_ARROW_ETS_TAG[] = "LeftArrow";
111 const char SWIPER_RIGHT_ARROW_ETS_TAG[] = "RightArrow";
112 const char SWIPER_LEFT_CAPTURE_ETS_TAG[] = "SwiperLeftCapture";
113 const char SWIPER_RIGHT_CAPTURE_ETS_TAG[] = "SwiperRightCapture";
114 
115 // tabs
116 const char TABS_COMPONENT_TAG[] = "TabsComponent";
117 const char TABS_ETS_TAG[] = "Tabs";
118 
119 // tab content item
120 const char TAB_CONTENT_ITEM_COMPONENT_TAG[] = "TabContentItemComponent";
121 const char TAB_CONTENT_ITEM_ETS_TAG[] = "TabContent";
122 
123 // tab bar
124 const char TAB_BAR_COMPONENT_TAG[] = "TabBarComponent";
125 const char TAB_BAR_ETS_TAG[] = "TabBar";
126 
127 // navigation view
128 const char NAVIGATION_VIEW_COMPONENT_TAG[] = "NavigationContainerComponent";
129 const char NAVIGATION_VIEW_ETS_TAG[] = "Navigation";
130 const char BAR_ITEM_ETS_TAG[] = "BarItem";
131 const char TITLE_BAR_ETS_TAG[] = "TitleBar";
132 const char NAVIGATION_CONTENT_ETS_TAG[] = "NavigationContent";
133 const char TOOL_BAR_ETS_TAG[] = "ToolBar";
134 const char NAVIGATION_MENU_ETS_TAG[] = "NavigationMenu";
135 const char BACK_BUTTON_ETS_TAG[] = "BackButton";
136 const char BACK_BUTTON_IMAGE_ETS_TAG[] = "BackButtonImage";
137 const char NAVBAR_CONTENT_ETS_TAG[] = "NavBarContent";
138 const char NAVBAR_ETS_TAG[] = "NavBar";
139 
140 // navRouter view
141 const char NAVROUTER_VIEW_ETS_TAG[] = "NavRouter";
142 
143 // navDestination view
144 const char NAVDESTINATION_VIEW_ETS_TAG[] = "NavDestination";
145 const char NAVDESTINATION_TITLE_BAR_ETS_TAG[] = "NavDestinationTitleBar";
146 const char NAVDESTINATION_CONTENT_ETS_TAG[] = "NavDestinationContent";
147 
148 // navigation title view
149 const char NAVIGATION_TITLE_COMPONENT_TAG[] = "NavigationTitle";
150 
151 // navigation menus view
152 const char NAVIGATION_MENUS_COMPONENT_TAG[] = "NavigationMenus";
153 
154 // row split
155 const char ROW_SPLIT_COMPONENT_TAG[] = "RowSplitComponent";
156 const char ROW_SPLIT_ETS_TAG[] = "RowSplit";
157 
158 // column split
159 const char COLUMN_SPLIT_COMPONENT_TAG[] = "ColumnSplitComponent";
160 const char COLUMN_SPLIT_ETS_TAG[] = "ColumnSplit";
161 
162 // counter
163 const char COUNTER_COMPONENT_TAG[] = "CounterComponent";
164 const char COUNTER_ETS_TAG[] = "Counter";
165 
166 // flex
167 const char FLEX_COMPONENT_TAG[] = "FlexComponentV2";
168 const char FLEX_ETS_TAG[] = "Flex";
169 const char WRAP_COMPONENT_TAG[] = "WrapComponent";
170 const char WRAP_ETS_TAG[] = "Flex";
171 
172 // folderStack
173 const char FOLDER_STACK_COMPONENT_TAG[] = "FolderStackComponent";
174 const char FOLDER_STACK_ETS_TAG[] = "Folder";
175 const char HOVER_STACK_ETS_TAG[] = "Hover";
176 const char CONTROL_PARTS_STACK_ETS_TAG[] = "ControlParts";
177 
178 // grid
179 const char GRID_COMPONENT_TAG[] = "GridLayoutComponent";
180 const char GRID_ETS_TAG[] = "Grid";
181 
182 // grid-item
183 const char GRID_ITEM_COMPONENT_TAG[] = "GridLayoutItemComponent";
184 const char GRID_ITEM_ETS_TAG[] = "GridItem";
185 
186 // waterFlow
187 const char WATERFLOW_COMPONENT_TAG[] = "WaterFlowComponent";
188 const char WATERFLOW_ETS_TAG[] = "WaterFlow";
189 
190 // flow-item
191 const char FLOW_ITEM_COMPONENT_TAG[] = "WaterFlowItemComponent";
192 const char FLOW_ITEM_ETS_TAG[] = "FlowItem";
193 
194 // list
195 const char LIST_COMPONENT_TAG[] = "V2::ListComponent";
196 const char LIST_ETS_TAG[] = "List";
197 
198 // list-item
199 const char LIST_ITEM_COMPONENT_TAG[] = "V2::ListItemComponent";
200 const char LIST_ITEM_ETS_TAG[] = "ListItem";
201 
202 // list-item-group
203 const char LIST_ITEM_GROUP_COMPONENT_TAG[] = "V2::ListItemGroupComponent";
204 const char LIST_ITEM_GROUP_ETS_TAG[] = "ListItemGroup";
205 
206 // navigator
207 const char NAVIGATOR_COMPONENT_TAG[] = "NavigatorComponent";
208 const char NAVIGATOR_ETS_TAG[] = "Navigator";
209 
210 // panel
211 const char PANEL_COMPONENT_TAG[] = "SlidingPanelComponentV2";
212 const char PANEL_ETS_TAG[] = "Panel";
213 const char PANEL_CLOSE_ICON_ETS_TAG[] = "CloseIcon";
214 
215 // pattern-lock
216 const char PATTERN_LOCK_COMPONENT_TAG[] = "PatternLockComponent";
217 const char PATTERN_LOCK_ETS_TAG[] = "PatternLock";
218 
219 // row
220 const char ROW_COMPONENT_TAG[] = "RowComponent";
221 const char ROW_ETS_TAG[] = "Row";
222 
223 // rect
224 const char RECT_ETS_TAG[] = "Rect";
225 
226 // line
227 const char LINE_ETS_TAG[] = "Line";
228 
229 // circle
230 const char CIRCLE_ETS_TAG[] = "Circle";
231 
232 // ellipse
233 const char ELLIPSE_ETS_TAG[] = "Ellipse";
234 
235 // path
236 const char PATH_ETS_TAG[] = "Path";
237 
238 // polygon
239 const char POLYGON_ETS_TAG[] = "Polygon";
240 
241 // polyline
242 const char POLYLINE_ETS_TAG[] = "Polyline";
243 
244 // shape
245 const char SHAPE_COMPONENT_TAG[] = "ShapeComponent";
246 const char SHAPE_ETS_TAG[] = "Shape";
247 
248 // shape container
249 const char SHAPE_CONTAINER_COMPONENT_TAG[] = "ShapeContainerComponent";
250 const char SHAPE_CONTAINER_ETS_TAG[] = "Shape";
251 
252 // imageAnimator
253 const char IMAGE_ANIMATOR_COMPONENT_TAG[] = "ImageAnimator";
254 const char IMAGE_ANIMATOR_ETS_TAG[] = "ImageAnimator";
255 
256 // image
257 const char IMAGE_COMPONENT_TAG[] = "ImageComponent";
258 const char IMAGE_ETS_TAG[] = "Image";
259 
260 // qrcode
261 const char QRCODE_COMPONENT_TAG[] = "QrcodeComponent";
262 const char QRCODE_ETS_TAG[] = "QRCode";
263 
264 // span
265 const char SPAN_COMPONENT_TAG[] = "TextSpanComponent";
266 const char SPAN_ETS_TAG[] = "Span";
267 
268 // symbol span
269 const char SYMBOL_SPAN_COMPONENT_TAG[] = "SymbolSpanComponent";
270 const char SYMBOL_SPAN_ETS_TAG[] = "SymbolSpan";
271 
272 // image span
273 const char IMAGE_SPAN_COMPONENT_TAG[] = "ImageSpanComponent";
274 const char IMAGE_SPAN_ETS_TAG[] = "ImageSpan";
275 
276 // placeholder span
277 const char PLACEHOLDER_SPAN_COMPONENT_TAG[] = "PlaceholderSpanComponent";
278 const char PLACEHOLDER_SPAN_ETS_TAG[] = "PlaceholderSpan";
279 
280 // blank
281 const char BOX_COMPONENT_TAG[] = "BoxComponent";
282 const char BLANK_ETS_TAG[] = "Blank";
283 
284 // button
285 const char BUTTON_COMPONENT_TAG[] = "ButtonComponent";
286 const char BUTTON_ETS_TAG[] = "Button";
287 
288 // recycle
289 const char RECYCLE_VIEW_ETS_TAG[] = "__Recycle__";
290 
291 // common view
292 const char COMMON_VIEW_ETS_TAG[] = "__Common__";
293 // option
294 const char OPTION_COMPONENT_TAG[] = "OptionComponent";
295 const char OPTION_ETS_TAG[] = "Option";
296 
297 // divider
298 const char DIVIDER_COMPONENT_TAG[] = "DividerComponent";
299 const char DIVIDER_ETS_TAG[] = "Divider";
300 
301 // checkbox
302 const char CHECKBOX_COMPONENT_TAG[] = "CheckboxComponent";
303 const char CHECKBOX_ETS_TAG[] = "Toggle";
304 const char CHECK_BOX_COMPONENT_TAG[] = "Checkbox";
305 const char CHECK_BOX_ETS_TAG[] = "Checkbox";
306 
307 // switch
308 const char SWITCH_COMPONENT_TAG[] = "SwitchComponent";
309 const char SWITCH_ETS_TAG[] = "Toggle";
310 
311 // toggle
312 const char TOGGLE_COMPONENT_TAG[] = "ToggleComponent";
313 const char TOGGLE_ETS_TAG[] = "Toggle";
314 
315 // scroll
316 const char SCROLL_COMPONENT_TAG[] = "ScrollComponent";
317 const char SCROLL_ETS_TAG[] = "Scroll";
318 
319 // calendar
320 const char CALENDAR_COMPONENT_TAG[] = "calendar";
321 const char CALENDAR_ETS_TAG[] = "Calendar";
322 
323 // calendarPicker
324 const char CALENDAR_PICKER_COMPONENT_TAG[] = "CalendarPickerComponent";
325 const char CALENDAR_PICKER_ETS_TAG[] = "CalendarPicker";
326 
327 // badge
328 const char BADGE_COMPONENT_TAG[] = "BadgeComponent";
329 const char BADGE_ETS_TAG[] = "Badge";
330 
331 // search
332 const char SEARCH_COMPONENT_TAG[] = "SearchComponent";
333 const char SEARCH_ETS_TAG[] = "Search";
334 const char SEARCH_Field_ETS_TAG[] = "SearchField";
335 
336 // formComponent
337 const char FORM_COMPONENT_TAG[] = "FormComponent";
338 const char FORM_ETS_TAG[] = "FormComponent";
339 
340 // formLink
341 const char FORM_LINK_TAG[] = "FormLink";
342 const char FORM_LINK_ETS_TAG[] = "FormLink";
343 
344 // PluginComponent
345 const char PLUGIN_COMPONENT_TAG[] = "PluginComponent";
346 const char PLUGIN_ETS_TAG[] = "PluginComponent";
347 
348 // video
349 const char VIDEO_COMPONENT_TAG[] = "VideoComponentV2";
350 const char VIDEO_ETS_TAG[] = "Video";
351 
352 // AlphabetIndexer
353 const char INDEXER_COMPONENT_TAG[] = "IndexerComponent";
354 const char INDEXER_ETS_TAG[] = "AlphabetIndexer";
355 
356 // slider
357 const char SLIDER_COMPONENT_TAG[] = "SliderComponent";
358 const char SLIDER_ETS_TAG[] = "Slider";
359 
360 // rating
361 const char RATING_COMPONENT_TAG[] = "RatingComponent";
362 const char RATING_ETS_TAG[] = "Rating";
363 
364 // progress
365 const char PROGRESS_COMPONENT_TAG[] = "ProgressComponent";
366 const char PROGRESS_ETS_TAG[] = "Progress";
367 
368 // datapanel
369 const char DATA_PANEL_COMPONENT_TAG[] = "PercentageDataPanelComponent";
370 const char DATA_PANEL_ETS_TAG[] = "DataPanel";
371 
372 // sheet
373 const char SHEET_COMPONENT_TAG[] = "SheetComponent";
374 const char SHEET_ETS_TAG[] = "Sheet";
375 const char SHEET_MASK_TAG[] = "SheetMask";
376 const char SHEET_PAGE_TAG[] = "SheetPage";
377 const char SHEET_WRAPPER_TAG[] = "SheetWrapper";
378 
379 // full screen modal
380 const char MODAL_PAGE_TAG[] = "ModalPage";
381 
382 // hyperlink
383 const char HYPERLINK_COMPONENT_TAG[] = "HyperlinkComponent";
384 const char HYPERLINK_ETS_TAG[] = "Hyperlink";
385 
386 // stepper
387 const char STEPPER_COMPONENT_TAG[] = "StepperComponent";
388 const char STEPPER_ETS_TAG[] = "Stepper";
389 
390 // stepperItem
391 const char STEPPER_ITEM_COMPONENT_TAG[] = "StepperItemComponentV2";
392 const char STEPPER_ITEM_ETS_TAG[] = "StepperItem";
393 
394 // scrollbar
395 const char SCROLL_BAR_COMPONENT_TAG[] = "ScrollBarComponent";
396 const char SCROLL_BAR_ETS_TAG[] = "ScrollBar";
397 
398 // refresh
399 const char REFRESH_COMPONENT_TAG[] = "RefreshComponent";
400 const char REFRESH_ETS_TAG[] = "Refresh";
401 
402 // datePicker
403 const char DATE_PICKER_COMPONENT_TAG[] = "PickerDateComponent";
404 const char DATE_PICKER_ETS_TAG[] = "DatePicker";
405 const char TIME_PICKER_COMPONENT_TAG[] = "PickerTimeComponent";
406 const char TIME_PICKER_ETS_TAG[] = "TimePicker";
407 
408 // Radio
409 const char RADIO_COMPONENT_TAG[] = "RadioComponent<VALUE_TYPE>";
410 const char RADIO_ETS_TAG[] = "Radio";
411 
412 // gauge
413 const char GAUGE_COMPONENT_TAG[] = "Gauge";
414 const char GAUGE_ETS_TAG[] = "Gauge";
415 const char GAUGE_DESCRIPTION_TAG[] = "GaugeDescription";
416 const char GAUGE_INDICATOR_TAG[] = "GaugeIndicator";
417 
418 // gridContainer
419 const char GRIDCONTAINER_COMPONENT_TAG[] = "GridContainer";
420 const char GRIDCONTAINER_ETS_TAG[] = "GridContainer";
421 
422 // gridCol
423 const char GRID_COL_COMPONENT_TAG[] = "GridColComponent";
424 const char GRID_COL_ETS_TAG[] = "GridCol";
425 
426 // gridRow
427 const char GRID_ROW_COMPONENT_TAG[] = "GridRowComponent";
428 const char GRID_ROW_ETS_TAG[] = "GridRow";
429 
430 // relativeContainer
431 const char RELATIVE_CONTAINER_COMPONENT_TAG[] = "RelativeContainerComponent";
432 const char RELATIVE_CONTAINER_ETS_TAG[] = "RelativeContainer";
433 
434 // menu
435 const char MENU_COMPONENT_TAG[] = "MenuComponent";
436 const char MENU_TAG[] = "menu";
437 const char MENU_ETS_TAG[] = "Menu";
438 const char MENU_ITEM_ETS_TAG[] = "MenuItem";
439 const char MENU_ITEM_GROUP_ETS_TAG[] = "MenuItemGroup";
440 const char MENU_WRAPPER_ETS_TAG[] = "MenuWrapper";
441 const char MENU_PREVIEW_ETS_TAG[] = "MenuPreview";
442 
443 // textarea
444 const char TEXTAREA_COMPONENT_TAG[] = "TextFieldComponent";
445 const char TEXTAREA_ETS_TAG[] = "TextArea";
446 
447 // textdrag
448 const char TEXTDRAG_ETS_TAG[] = "TextDrag";
449 
450 // textinput
451 const char TEXTINPUT_COMPONENT_TAG[] = "TextInput";
452 const char TEXTINPUT_ETS_TAG[] = "TextInput";
453 
454 // texttimer
455 const char TEXTTIMER_COMPONENT_TAG[] = "TextTimerComponent";
456 const char TEXTTIMER_ETS_TAG[] = "TextTimer";
457 
458 // select
459 const char SELECT_COMPONENT_TAG[] = "SelectComponent";
460 const char SELECT_ETS_TAG[] = "Select";
461 
462 // select_popup
463 const char SELECT_POPUP_COMPONENT_TAG[] = "SelectPopupComponent";
464 const char SELECT_POPUP_ETS_TAG[] = "SelectPopup";
465 
466 // marquee
467 const char MARQUEE_COMPONENT_TAG[] = "MarqueeComponent";
468 const char MARQUEE_ETS_TAG[] = "Marquee";
469 
470 // textclock
471 const char TEXTCLOCK_COMPONENT_TAG[] = "TextClockComponent";
472 const char TEXTCLOCK_ETS_TAG[] = "TextClock";
473 
474 // textpicker
475 const char TEXT_PICKER_COMPONENT_TAG[] = "PickerTextComponent";
476 const char TEXT_PICKER_ETS_TAG[] = "TextPicker";
477 
478 // pickertextdialog
479 const char PICKER_TEXT_DIALOG_COMPONENT_TAG[] = "pickerTextDialog";
480 const char PICKER_TEXT_DIALOG_ETS_TAG[] = "pickerTextDialog";
481 
482 // canvas
483 const char CANVAS_COMPONENT_TAG[] = "CustomPaintComponent";
484 const char CANVAS_ETS_TAG[] = "Canvas";
485 
486 // ActionSheet
487 const char ACTION_SHEET_DIALOG_COMPONENT_TAG[] = "ActionSheet";
488 const char ACTION_SHEET_DIALOG_ETS_TAG[] = "ActionSheet";
489 
490 // AlertDialog
491 const char ALERT_DIALOG_COMPONENT_TAG[] = "AlertDialog";
492 const char ALERT_DIALOG_ETS_TAG[] = "AlertDialog";
493 
494 // customdialog
495 const char CUSTOM_DIALOG_COMPONENT_TAG[] = "CustomDialog";
496 const char CUSTOM_DIALOG_ETS_TAG[] = "CustomDialog";
497 
498 // datePickerdialog
499 const char DATE_PICKER_DIALOG_COMPONENT_TAG[] = "DatePickerDialog";
500 const char DATE_PICKER_DIALOG_ETS_TAG[] = "DatePickerDialog";
501 
502 // Normal dialog
503 const char DIALOG_COMPONENT_TAG[] = "Dialog";
504 const char DIALOG_ETS_TAG[] = "Dialog";
505 
506 // sideBar
507 const char SIDE_BAR_COMPONENT_TAG[] = "SideBarContainerComponent";
508 const char SIDE_BAR_ETS_TAG[] = "SideBarContainer";
509 
510 // loadingProgress
511 const char LOADING_PROGRESS_COMPONENT_TAG[] = "LoadingProgressComponent";
512 const char LOADING_PROGRESS_ETS_TAG[] = "LoadingProgress";
513 
514 // checkboxGroup
515 const char CHECKBOXGROUP_COMPONENT_TAG[] = "CheckboxGroupComponent";
516 const char CHECKBOXGROUP_ETS_TAG[] = "CheckboxGroup";
517 
518 // timePickerdialog
519 const char TIME_PICKER_DIALOG_COMPONENT_TAG[] = "TimePickerDialog";
520 const char TIME_PICKER_DIALOG_ETS_TAG[] = "TimePickerDialog";
521 
522 // web
523 const char WEB_COMPONENT_TAG[] = "WebComponent";
524 const char WEB_ETS_TAG[] = "Web";
525 const char WEB_CORE_TAG[] = "WebCore";
526 
527 // richText
528 const char RICH_TEXT_COMPONENT_TAG[] = "RichTextComponent";
529 const char RICH_TEXT_ETS_TAG[] = "RichText";
530 
531 // xcomponent
532 const char XCOMPONENT_TAG[] = "XComponentComponent";
533 const char XCOMPONENT_ETS_TAG[] = "XComponent";
534 
535 // ability_component
536 const char ABILITY_COMPONENT_ETS_TAG[] = "AbilityComponent";
537 // Popup
538 const char POPUP_ETS_TAG[] = "Popup";
539 
540 // remote window
541 const char REMOTE_WINDOW_ETS_TAG[] = "RemoteWindow";
542 
543 // effect view
544 const char EFFECT_COMPONENT_ETS_TAG[] = "EffectComponent";
545 
546 // Model
547 const char MODEL_COMPONENT_TAG[] = "Component3DComponent";
548 const char MODEL_ETS_TAG[] = "Component3D";
549 
550 // window scene
551 ACE_EXPORT const char ROOT_SCENE_ETS_TAG[] = "RootScene";
552 ACE_EXPORT const char SCREEN_ETS_TAG[] = "Screen";
553 ACE_EXPORT const char WINDOW_SCENE_ETS_TAG[] = "WindowScene";
554 
555 // ui_extension_component
556 const char UI_EXTENSION_COMPONENT_TAG[] = "UIExtensionComponent";
557 const char UI_EXTENSION_SURFACE_TAG[] = "UIExtensionSurface";
558 const char UI_EXTENSION_COMPONENT_ETS_TAG[] = "UIExtensionComponent";
559 
560 // embedded_component
561 const char EMBEDDED_COMPONENT_TAG[] = "EmbeddedComponent";
562 const char EMBEDDED_COMPONENT_ETS_TAG[] = "EmbeddedComponent";
563 
564 // LocationButton
565 const char LOCATION_BUTTON_COMPONENT_TAG[] = "LocationButtonComponent";
566 const char LOCATION_BUTTON_ETS_TAG[] = "LocationButton";
567 
568 // PasteButton
569 const char PASTE_BUTTON_COMPONENT_TAG[] = "PasteButtonComponent";
570 const char PASTE_BUTTON_ETS_TAG[] = "PasteButton";
571 
572 // SaveButton
573 const char SAVE_BUTTON_COMPONENT_TAG[] = "SaveButtonComponent";
574 const char SAVE_BUTTON_ETS_TAG[] = "SaveButton";
575 
576 // Keyboard
577 const char KEYBOARD_ETS_TAG[] = "Keyboard";
578 // Particle
579 const char PARTICLE_COMPONENT_TAG[] = "ParticleComponent";
580 const char PARTICLE_ETS_TAG[] = "Particle";
581 
582 // SelectOverlay
583 const char SELECT_OVERLAY_ETS_TAG[] = "SelectOverlay";
584 
585 // ContainerSpan
586 const char CONTAINER_SPAN_COMPONENT_TAG[] = "ContainerSpanComponent";
587 const char CONTAINER_SPAN_ETS_TAG[] = "ContainerSpan";
588 
589 // Symbol
590 const char SYMBOL_COMPONENT_TAG[] = "SymbolGlyphComponent";
591 const char SYMBOL_ETS_TAG[] = "SymbolGlyph";
592 
593 // IsolatedComponent
594 const char ISOLATED_COMPONENT_TAG[] = "IsolatedComponent";
595 const char ISOLATED_COMPONENT_ETS_TAG[] = "IsolatedComponent";
596 
597 //RenderNode
598 const char RENDER_NODE_ETS_TAG[] = "RenderNode";
599 
600 //CustomFrameNode
601 const char CUSTOM_FRAME_NODE_ETS_TAG[] = "CustomFrameNode";
602 
603 //NodeContainer
604 const char NODE_CONTAINER_ETS_TAG[] = "NodeContainer";
605 
606 // MovingPhoto
607 const char MOVING_PHOTO_COMPONENT_TAG[] = "MovingPhotoComponent";
608 const char MOVING_PHOTO_ETS_TAG[] = "MovingPhoto";
609 
610 // CustomSpanNode
611 const char CUSTOM_SPAN_NODE_ETS_TAG[] = "CustomSpanNode";
612 
613 // AnalogClock
614 const char ANALOGCLOCK_COMPONENT_TAG[] = "AnalogClockComponent";
615 const char ANALOGCLOCK_ETS_TAG[] = "AnalogClock";
616 } // namespace OHOS::Ace::V2
617