1use ohos_arkui_sys::*;
4
5use ohos_enum_derive::EnumFrom;
6
7#[derive(Debug, Clone, Copy, PartialEq, Eq, EnumFrom)]
8#[config(ArkUI_NodeAttributeType, "ArkUI_NodeAttributeType_NODE_")]
9pub enum ArkUINodeAttributeType {
11 Width,
12 Height,
13 BackgroundColor,
14 BackgroundImage,
15 Padding,
16 Id,
17 Enabled,
18 Margin,
19 Translate,
20 Scale,
21 Rotate,
22 Brightness,
23 Saturation,
24 Blur,
25 LinearGradient,
26 Alignment,
27 Opacity,
28 BorderWidth,
29 BorderRadius,
30 BorderColor,
31 BorderStyle,
32 ZIndex,
33 Visibility,
34 Clip,
35 ClipShape,
36 Transform,
37 HitTestBehavior,
38 Position,
39 Shadow,
40 CustomShadow,
41 BackgroundImageSize,
42 BackgroundImageSizeWithStyle,
43 BackgroundBlurStyle,
44 TransformCenter,
45 OpacityTransition,
46 RotateTransition,
47 ScaleTransition,
48 TranslateTransition,
49 MoveTransition,
50 Focusable,
51 DefaultFocus,
52 ResponseRegion,
53 Overlay,
54 SweepGradient,
55 RadialGradient,
56 Mask,
57 BlendMode,
58 Direction,
59 ConstraintSize,
60 GrayScale,
61 Invert,
62 Sepia,
63 Contrast,
64 ForegroundColor,
65 Offset,
66 MarkAnchor,
67 BackgroundImagePosition,
68 AlignRules,
69 AlignSelf,
70 FlexGrow,
71 FlexShrink,
72 FlexBasis,
73 AccessibilityGroup,
74 AccessibilityText,
75 AccessibilityMode,
76 AccessibilityDescription,
77 FocusStatus,
78 AspectRatio,
79 LayoutWeight,
80 DisplayPriority,
81 OutlineWidth,
82 WidthPercent,
83 HeightPercent,
84 PaddingPercent,
85 MarginPercent,
86 GeometryTransition,
87 RelativeLayoutChainMode,
88 RenderFit,
89 OutlineColor,
90 Size,
91 RenderGroup,
92 ColorBlend,
93 ForegroundBlurStyle,
94 LayoutRect,
95 FocusOnTouch,
96 BorderWidthPercent,
97 BorderRadiusPercent,
98 AccessibilityId,
99 AccessibilityActions,
100 AccessibilityRole,
101 AccessibilityState,
102 AccessibilityValue,
103 ExpandSafeArea,
104 VisibleAreaChangeRatio,
105 Transition,
106 UniqueId,
107 FocusBox,
108 ClickDistance,
109 TextContent,
110 FontColor,
111 FontSize,
112 FontStyle,
113 FontWeight,
114 TextLineHeight,
115 TextDecoration,
116 TextCase,
117 TextLetterSpacing,
118 TextMaxLines,
119 TextAlign,
120 TextOverflow,
121 FontFamily,
122 TextCopyOption,
123 TextBaselineOffset,
124 TextTextShadow,
125 TextMinFontSize,
126 TextMaxFontSize,
127 TextFont,
128 TextHeightAdaptivePolicy,
129 TextIndent,
130 TextWordBreak,
131 TextEllipsisMode,
132 TextLineSpacing,
133 FontFeature,
134 TextEnableDataDetector,
135 TextEnableDataDetectorConfig,
136 TextSelectedBackgroundColor,
137 TextContentWithStyledString,
138 TextHalfLeading,
139 SpanContent,
140 SpanTextBackgroundStyle,
141 SpanBaselineOffset,
142 ImageSpanSrc,
143 ImageSpanVerticalAlignment,
144 ImageSpanAlt,
145 ImageSrc,
146 ImageObjectFit,
147 ImageInterpolation,
148 ImageObjectRepeat,
149 ImageColorFilter,
150 ImageAutoResize,
151 ImageAlt,
152 ImageDraggable,
153 ImageRenderMode,
154 ImageFitOriginalSize,
155 ImageFillColor,
156 ImageResizable,
157 ToggleSelectedColor,
158 ToggleSwitchPointColor,
159 ToggleValue,
160 ToggleUnselectedColor,
161 LoadingProgressColor,
162 LoadingProgressEnableLoading,
163 TextInputPlaceholder,
164 TextInputText,
165 TextInputCaretColor,
166 TextInputCaretStyle,
167 TextInputShowUnderline,
168 TextInputMaxLength,
169 TextInputEnterKeyType,
170 TextInputPlaceholderColor,
171 TextInputPlaceholderFont,
172 TextInputEnableKeyboardOnFocus,
173 TextInputType,
174 TextInputSelectedBackgroundColor,
175 TextInputShowPasswordIcon,
176 TextInputEditing,
177 TextInputCancelButton,
178 TextInputTextSelection,
179 TextInputUnderlineColor,
180 TextInputEnableAutoFill,
181 TextInputContentType,
182 TextInputPasswordRules,
183 TextInputSelectAll,
184 TextInputInputFilter,
185 TextInputStyle,
186 TextInputCaretOffset,
187 TextInputContentRect,
188 TextInputContentLineCount,
189 TextInputSelectionMenuHidden,
190 TextInputBlurOnSubmit,
191 TextInputCustomKeyboard,
192 TextInputWordBreak,
193 TextInputShowKeyboardOnFocus,
194 TextInputNumberOfLines,
195 TextAreaPlaceholder,
196 TextAreaText,
197 TextAreaMaxLength,
198 TextAreaPlaceholderColor,
199 TextAreaPlaceholderFont,
200 TextAreaCaretColor,
201 TextAreaEditing,
202 TextAreaType,
203 TextAreaShowCounter,
204 TextAreaSelectionMenuHidden,
205 TextAreaBlurOnSubmit,
206 TextAreaInputFilter,
207 TextAreaSelectedBackgroundColor,
208 TextAreaEnterKeyType,
209 TextAreaEnableKeyboardOnFocus,
210 TextAreaCaretOffset,
211 TextAreaContentRect,
212 TextAreaContentLineCount,
213 TextAreaTextSelection,
214 TextAreaEnableAutoFill,
215 TextAreaContentType,
216 TextAreaShowKeyboardOnFocus,
217 TextAreaNumberOfLines,
218 ButtonLabel,
219 ButtonType,
220 ProgressValue,
221 ProgressTotal,
222 ProgressColor,
223 ProgressType,
224 CheckboxSelect,
225 CheckboxSelectColor,
226 CheckboxUnselectColor,
227 CheckboxMark,
228 CheckboxShape,
229 #[suffix("XCOMPONENT_ID")]
230 XComponentId,
231 #[suffix("XCOMPONENT_TYPE")]
232 XComponentType,
233 #[suffix("XCOMPONENT_SURFACE_SIZE")]
234 XComponentSurfaceSize,
235 DatePickerLunar,
236 DatePickerStart,
237 DatePickerEnd,
238 DatePickerSelected,
239 DatePickerDisappearTextStyle,
240 DatePickerTextStyle,
241 DatePickerSelectedTextStyle,
242 TimePickerSelected,
243 TimePickerUseMilitaryTime,
244 TimePickerDisappearTextStyle,
245 TimePickerTextStyle,
246 TimePickerSelectedTextStyle,
247 TextPickerOptionRange,
248 TextPickerOptionSelected,
249 TextPickerOptionValue,
250 TextPickerDisappearTextStyle,
251 TextPickerTextStyle,
252 TextPickerSelectedTextStyle,
253 TextPickerSelectedIndex,
254 TextPickerCanLoop,
255 TextPickerDefaultPickerItemHeight,
256 CalendarPickerHintRadius,
257 CalendarPickerSelectedDate,
258 CalendarPickerEdgeAlignment,
259 CalendarPickerTextStyle,
260 SliderBlockColor,
261 SliderTrackColor,
262 SliderSelectedColor,
263 SliderShowSteps,
264 SliderBlockStyle,
265 SliderValue,
266 SliderMinValue,
267 SliderMaxValue,
268 SliderStep,
269 SliderDirection,
270 SliderReverse,
271 SliderStyle,
272 SliderTrackThickness,
273 RadioChecked,
274 RadioStyle,
275 RadioValue,
276 RadioGroup,
277 ImageAnimatorImages,
278 ImageAnimatorState,
279 ImageAnimatorDuration,
280 ImageAnimatorReverse,
281 ImageAnimatorFixedSize,
282 ImageAnimatorFillMode,
283 ImageAnimatorIteration,
284 StackAlignContent,
285 ScrollBarDisplayMode,
286 ScrollBarWidth,
287 ScrollBarColor,
288 ScrollScrollDirection,
289 ScrollEdgeEffect,
290 ScrollEnableScrollInteraction,
291 ScrollFriction,
292 ScrollSnap,
293 ScrollNestedScroll,
294 ScrollOffset,
295 ScrollEdge,
296 ScrollEnablePaging,
297 ScrollPage,
298 ScrollBy,
299 ListDirection,
300 ListSticky,
301 ListSpace,
302 ListCachedCount,
303 ListScrollToIndex,
304 ListAlignListItem,
305 ListChildrenMainSize,
306 ListInitialIndex,
307 ListDivider,
308 SwiperLoop,
309 SwiperAutoPlay,
310 SwiperShowIndicator,
311 SwiperInterval,
312 SwiperVertical,
313 SwiperDuration,
314 SwiperCurve,
315 SwiperItemSpace,
316 SwiperIndex,
317 SwiperDisplayCount,
318 SwiperDisableSwipe,
319 SwiperShowDisplayArrow,
320 SwiperEdgeEffectMode,
321 SwiperNodeAdapter,
322 SwiperCachedCount,
323 SwiperPrevMargin,
324 SwiperNextMargin,
325 SwiperIndicator,
326 SwiperNestedScroll,
327 SwiperSwipeToIndex,
328 SwiperIndicatorInteractive,
329 ListItemSwipeAction,
330 ListItemGroupSetHeader,
331 ListItemGroupSetFooter,
332 ListItemGroupSetDivider,
333 ListItemGroupChildrenMainSize,
334 ColumnAlignItems,
335 ColumnJustifyContent,
336 RowAlignItems,
337 RowJustifyContent,
338 FlexOption,
339 RefreshRefreshing,
340 RefreshContent,
341 RefreshPullDownRatio,
342 RefreshOffset,
343 RefreshPullToRefresh,
344 WaterFlowLayoutDirection,
345 WaterFlowColumnTemplate,
346 WaterFlowRowTemplate,
347 WaterFlowColumnGap,
348 WaterFlowRowGap,
349 WaterFlowSectionOption,
350 WaterFlowNodeAdapter,
351 WaterFlowCachedCount,
352 WaterFlowFooter,
353 WaterFlowScrollToIndex,
354 WaterFlowItemConstraintSize,
355 RelativeContainerGuideLine,
356 RelativeContainerBarrier,
357 GridColumnTemplate,
358 GridRowTemplate,
359 GridColumnGap,
360 GridRowGap,
361 GridNodeAdapter,
362 GridCachedCount,
363 #[cfg(feature = "api-21")]
364 AllowForceDark,
365 #[cfg(feature = "api-15")]
366 BackdropBlur,
367 #[cfg(feature = "api-19")]
368 BackgroundImageResizableWithSlice,
369 #[cfg(feature = "api-18")]
370 ButtonMaxFontScale,
371 #[cfg(feature = "api-18")]
372 ButtonMinFontScale,
373 #[cfg(feature = "api-19")]
374 CalendarPickerDisabledDateRange,
375 #[cfg(feature = "api-18")]
376 CalendarPickerEnd,
377 #[cfg(feature = "api-19")]
378 CalendarPickerMarkToday,
379 #[cfg(feature = "api-18")]
380 CalendarPickerStart,
381 #[cfg(feature = "api-15")]
382 CheckboxGroup,
383 #[cfg(feature = "api-15")]
384 CheckboxGroupMark,
385 #[cfg(feature = "api-15")]
386 CheckboxGroupName,
387 #[cfg(feature = "api-15")]
388 CheckboxGroupSelectedColor,
389 #[cfg(feature = "api-15")]
390 CheckboxGroupSelectAll,
391 #[cfg(feature = "api-15")]
392 CheckboxGroupShape,
393 #[cfg(feature = "api-15")]
394 CheckboxGroupUnselectedColor,
395 #[cfg(feature = "api-15")]
396 CheckboxName,
397 #[cfg(feature = "api-20")]
398 DatePickerCanLoop,
399 #[cfg(feature = "api-18")]
400 DatePickerEnableHapticFeedback,
401 #[cfg(feature = "api-18")]
402 DatePickerMode,
403 #[cfg(feature = "api-20")]
404 EmbeddedComponentOption,
405 #[cfg(feature = "api-20")]
406 EmbeddedComponentWant,
407 #[cfg(feature = "api-22")]
408 GridAlignItems,
409 #[cfg(feature = "api-22")]
410 GridColumnTemplateItemfillpolicy,
411 #[cfg(feature = "api-20")]
412 GridFocusWrapMode,
413 #[cfg(feature = "api-22")]
414 GridItemStyle,
415 #[cfg(feature = "api-22")]
416 GridLayoutOptions,
417 #[cfg(feature = "api-20")]
418 GridSyncLoad,
419 #[cfg(feature = "api-21")]
420 HeightLayoutpolicy,
421 #[cfg(feature = "api-22")]
422 ImageAltError,
423 #[cfg(feature = "api-22")]
424 ImageAltPlaceholder,
425 #[cfg(feature = "api-21")]
426 ImageContentTransition,
427 #[cfg(feature = "api-21")]
428 ImageCopyOption,
429 #[cfg(feature = "api-21")]
430 ImageDynamicRangeMode,
431 #[cfg(feature = "api-21")]
432 ImageEnableAnalyzer,
433 #[cfg(feature = "api-21")]
434 ImageHdrBrightness,
435 #[cfg(feature = "api-21")]
436 ImageImageMatrix,
437 #[cfg(feature = "api-21")]
438 ImageMatchTextDirection,
439 #[cfg(feature = "api-21")]
440 ImageOrientation,
441 #[cfg(feature = "api-21")]
442 ImageSourceSize,
443 #[cfg(feature = "api-13")]
444 ImageSpanBaselineOffset,
445 #[cfg(feature = "api-22")]
446 ImageSpanColorFilter,
447 #[cfg(feature = "api-22")]
448 #[suffix("IMAGE_SPAN_SUPPORT_SVG2")]
449 ImageSpanSupportSvg2,
450 #[cfg(feature = "api-21")]
451 #[suffix("IMAGE_SUPPORT_SVG2")]
452 ImageSupportSvg2,
453 #[cfg(feature = "api-20")]
454 ImageSyncLoad,
455 #[cfg(feature = "api-15")]
456 ImmutableFontWeight,
457 #[cfg(feature = "api-20")]
458 ListFocusWrapMode,
459 #[cfg(feature = "api-15")]
460 ListItemGroupNodeAdapter,
461 #[cfg(feature = "api-15")]
462 ListLanes,
463 #[cfg(feature = "api-22")]
464 ListLanesItemfillpolicy,
465 #[cfg(feature = "api-15")]
466 ListMaintainVisibleContentPosition,
467 ListNodeAdapter,
468 #[cfg(feature = "api-15")]
469 ListScrollSnapAlign,
470 #[cfg(feature = "api-22")]
471 ListScrollSnapAnimationSpeed,
472 #[cfg(feature = "api-15")]
473 ListScrollToIndexInGroup,
474 #[cfg(feature = "api-19")]
475 ListStackFromEnd,
476 #[cfg(feature = "api-20")]
477 ListSyncLoad,
478 #[cfg(feature = "api-18")]
479 NextFocus,
480 #[cfg(feature = "api-21")]
481 PixelRound,
482 #[cfg(feature = "api-21")]
483 PositionEdges,
484 #[cfg(feature = "api-15")]
485 ProgressLinearStyle,
486 #[cfg(feature = "api-20")]
487 RefreshMaxPullDownDistance,
488 #[cfg(feature = "api-20")]
489 RotateAngle,
490 #[cfg(feature = "api-15")]
491 ScrollBackToTop,
492 #[cfg(feature = "api-20")]
493 ScrollBarMargin,
494 #[cfg(feature = "api-18")]
495 ScrollClipContent,
496 #[cfg(feature = "api-15")]
497 ScrollContentEndOffset,
498 #[cfg(feature = "api-15")]
499 ScrollContentStartOffset,
500 #[cfg(feature = "api-20")]
501 ScrollEnableBouncesZoom,
502 #[cfg(feature = "api-14")]
503 ScrollFadingEdge,
504 #[cfg(feature = "api-13")]
505 ScrollFling,
506 #[cfg(feature = "api-18")]
507 ScrollFlingSpeedLimit,
508 #[cfg(feature = "api-20")]
509 ScrollMaxZoomScale,
510 #[cfg(feature = "api-20")]
511 ScrollMinZoomScale,
512 #[cfg(feature = "api-14")]
513 ScrollSize,
514 #[cfg(feature = "api-20")]
515 ScrollZoomScale,
516 #[cfg(feature = "api-21")]
517 SliderBlockLinearGradientColor,
518 #[cfg(feature = "api-18")]
519 SliderEnableHapticFeedback,
520 #[cfg(feature = "api-20")]
521 SliderPrefix,
522 #[cfg(feature = "api-21")]
523 SliderSelectedLinearGradientColor,
524 #[cfg(feature = "api-20")]
525 SliderSuffix,
526 #[cfg(feature = "api-21")]
527 SliderTrackLinearGradientColor,
528 #[cfg(feature = "api-19")]
529 SwiperAutoFill,
530 #[cfg(feature = "api-22")]
531 SwiperItemfillpolicy,
532 #[cfg(feature = "api-20")]
533 SwiperMaintainVisibleContentPosition,
534 #[cfg(feature = "api-15")]
535 SwiperPageFlipMode,
536 #[cfg(feature = "api-14")]
537 TabStop,
538 #[cfg(feature = "api-22")]
539 TextAreaBarState,
540 #[cfg(feature = "api-22")]
541 TextAreaCustomKeyboard,
542 #[cfg(feature = "api-15")]
543 TextAreaEnablePreviewText,
544 #[cfg(feature = "api-22")]
545 TextAreaEnableSelectedDataDetector,
546 #[cfg(feature = "api-18")]
547 TextAreaHalfLeading,
548 #[cfg(feature = "api-15")]
549 TextAreaKeyboardAppearance,
550 #[cfg(feature = "api-15")]
551 TextAreaLetterSpacing,
552 #[cfg(feature = "api-20")]
553 TextAreaLineHeight,
554 #[cfg(feature = "api-20")]
555 TextAreaLineSpacing,
556 #[cfg(feature = "api-20")]
557 TextAreaMaxLines,
558 #[cfg(feature = "api-20")]
559 TextAreaMaxLinesWithScroll,
560 #[cfg(feature = "api-20")]
561 TextAreaMinLines,
562 #[cfg(feature = "api-22")]
563 TextAreaScrollBarColor,
564 #[cfg(feature = "api-22")]
565 TextBindSelectionMenu,
566 #[cfg(feature = "api-21")]
567 TextContentAlign,
568 #[cfg(feature = "api-22")]
569 TextEditMenuOptions,
570 #[cfg(feature = "api-22")]
571 TextEnableSelectedDataDetector,
572 #[cfg(feature = "api-20")]
573 TextInputEnableFillAnimation,
574 #[cfg(feature = "api-15")]
575 TextInputEnablePreviewText,
576 #[cfg(feature = "api-22")]
577 TextInputEnableSelectedDataDetector,
578 #[cfg(feature = "api-18")]
579 TextInputHalfLeading,
580 #[cfg(feature = "api-15")]
581 TextInputKeyboardAppearance,
582 #[cfg(feature = "api-15")]
583 TextInputLetterSpacing,
584 #[cfg(feature = "api-20")]
585 TextInputLineHeight,
586 #[cfg(feature = "api-22")]
587 TextInputShowCounter,
588 #[cfg(feature = "api-22")]
589 TextLayoutManager,
590 #[cfg(feature = "api-20")]
591 TextLinearGradient,
592 #[cfg(feature = "api-20")]
593 TextLineCount,
594 #[cfg(feature = "api-22")]
595 TextLineHeightMultiple,
596 #[cfg(feature = "api-22")]
597 TextMaxLineHeight,
598 #[cfg(feature = "api-22")]
599 TextMinLines,
600 #[cfg(feature = "api-22")]
601 TextMinLineHeight,
602 #[cfg(feature = "api-20")]
603 TextOptimizeTrailingSpace,
604 #[cfg(feature = "api-18")]
605 TextPickerColumnWidths,
606 #[cfg(feature = "api-18")]
607 TextPickerEnableHapticFeedback,
608 #[cfg(feature = "api-20")]
609 TextPickerSelectedBackgroundStyle,
610 #[cfg(feature = "api-20")]
611 TextRadialGradient,
612 #[cfg(feature = "api-20")]
613 TextVerticalAlign,
614 #[cfg(feature = "api-18")]
615 TimePickerEnableCascade,
616 #[cfg(feature = "api-18")]
617 TimePickerEnd,
618 #[cfg(feature = "api-18")]
619 TimePickerStart,
620 #[cfg(feature = "api-20")]
621 TranslateWithPercent,
622 #[cfg(feature = "api-17")]
623 VisibleAreaApproximateChangeRatio,
624 #[cfg(feature = "api-22")]
625 WaterFlowColumnTemplateItemfillpolicy,
626 #[cfg(feature = "api-18")]
627 WaterFlowLayoutMode,
628 #[cfg(feature = "api-20")]
629 WaterFlowSyncLoad,
630 #[cfg(feature = "api-21")]
631 WidthLayoutpolicy,
632 #[cfg(feature = "api-18")]
633 #[suffix("XCOMPONENT_ENABLE_ANALYZER")]
634 XComponentEnableAnalyzer,
635 #[cfg(feature = "api-18")]
636 #[suffix("XCOMPONENT_SURFACE_RECT")]
637 XComponentSurfaceRect,
638}