use ohos_arkui_sys::*;

use ohos_enum_macro::EnumFrom;

#[derive(Debug, Clone, Copy, PartialEq, Eq, EnumFrom)]
#[enum_from_config(ArkUI_NodeAttributeType, "ArkUI_NodeAttributeType_NODE_")]
pub enum ArkUINodeAttributeType {
    Width,
    Height,
    BackgroundColor,
    BackgroundImage,
    Padding,
    Id,
    Enabled,
    Margin,
    Translate,
    Scale,
    Rotate,
    Brightness,
    Saturation,
    Blur,
    LinearGradient,
    Alignment,
    Opacity,
    BorderWidth,
    BorderRadius,
    BorderColor,
    BorderStyle,
    ZIndex,
    Visibility,
    Clip,
    ClipShape,
    Transform,
    HitTestBehavior,
    Position,
    Shadow,
    CustomShadow,
    BackgroundImageSize,
    BackgroundImageSizeWithStyle,
    BackgroundBlurStyle,
    TransformCenter,
    OpacityTransition,
    RotateTransition,
    ScaleTransition,
    TranslateTransition,
    MoveTransition,
    Focusable,
    DefaultFocus,
    ResponseRegion,
    Overlay,
    SweepGradient,
    RadialGradient,
    Mask,
    BlendMode,
    Direction,
    ConstraintSize,
    GrayScale,
    Invert,
    Sepia,
    Contrast,
    ForegroundColor,
    Offset,
    MarkAnchor,
    BackgroundImagePosition,
    AlignRules,
    AlignSelf,
    FlexGrow,
    FlexShrink,
    FlexBasis,
    AccessibilityGroup,
    AccessibilityText,
    AccessibilityMode,
    AccessibilityDescription,
    FocusStatus,
    AspectRatio,
    LayoutWeight,
    DisplayPriority,
    OutlineWidth,
    WidthPercent,
    HeightPercent,
    PaddingPercent,
    MarginPercent,
    GeometryTransition,
    RelativeLayoutChainMode,
    RenderFit,
    OutlineColor,
    Size,
    RenderGroup,
    ColorBlend,
    ForegroundBlurStyle,
    LayoutRect,
    FocusOnTouch,
    BorderWidthPercent,
    BorderRadiusPercent,
    AccessibilityId,
    AccessibilityActions,
    AccessibilityRole,
    AccessibilityState,
    AccessibilityValue,
    ExpandSafeArea,
    VisibleAreaChangeRatio,
    Transition,
    UniqueId,
    FocusBox,
    ClickDistance,
    TextContent,
    FontColor,
    FontSize,
    FontStyle,
    FontWeight,
    TextLineHeight,
    TextDecoration,
    TextCase,
    TextLetterSpacing,
    TextMaxLines,
    TextAlign,
    TextOverflow,
    FontFamily,
    TextCopyOption,
    TextBaselineOffset,
    TextTextShadow,
    TextMinFontSize,
    TextMaxFontSize,
    TextFont,
    TextHeightAdaptivePolicy,
    TextIndent,
    TextWordBreak,
    TextEllipsisMode,
    TextLineSpacing,
    FontFeature,
    TextEnableDataDetector,
    TextEnableDataDetectorConfig,
    TextSelectedBackgroundColor,
    TextContentWithStyledString,
    TextHalfLeading,
    SpanContent,
    SpanTextBackgroundStyle,
    SpanBaselineOffset,
    ImageSpanSrc,
    ImageSpanVerticalAlignment,
    ImageSpanAlt,
    ImageSrc,
    ImageObjectFit,
    ImageInterpolation,
    ImageObjectRepeat,
    ImageColorFilter,
    ImageAutoResize,
    ImageAlt,
    ImageDraggable,
    ImageRenderMode,
    ImageFitOriginalSize,
    ImageFillColor,
    ImageResizable,
    ToggleSelectedColor,
    ToggleSwitchPointColor,
    ToggleValue,
    ToggleUnselectedColor,
    LoadingProgressColor,
    LoadingProgressEnableLoading,
    TextInputPlaceholder,
    TextInputText,
    TextInputCaretColor,
    TextInputCaretStyle,
    TextInputShowUnderline,
    TextInputMaxLength,
    TextInputEnterKeyType,
    TextInputPlaceholderColor,
    TextInputPlaceholderFont,
    TextInputEnableKeyboardOnFocus,
    TextInputType,
    TextInputSelectedBackgroundColor,
    TextInputShowPasswordIcon,
    TextInputEditing,
    TextInputCancelButton,
    TextInputTextSelection,
    TextInputUnderlineColor,
    TextInputEnableAutoFill,
    TextInputContentType,
    TextInputPasswordRules,
    TextInputSelectAll,
    TextInputInputFilter,
    TextInputStyle,
    TextInputCaretOffset,
    TextInputContentRect,
    TextInputContentLineCount,
    TextInputSelectionMenuHidden,
    TextInputBlurOnSubmit,
    TextInputCustomKeyboard,
    TextInputWordBreak,
    TextInputShowKeyboardOnFocus,
    TextInputNumberOfLines,
    TextAreaPlaceholder,
    TextAreaText,
    TextAreaMaxLength,
    TextAreaPlaceholderColor,
    TextAreaPlaceholderFont,
    TextAreaCaretColor,
    TextAreaEditing,
    TextAreaType,
    TextAreaShowCounter,
    TextAreaSelectionMenuHidden,
    TextAreaBlurOnSubmit,
    TextAreaInputFilter,
    TextAreaSelectedBackgroundColor,
    TextAreaEnterKeyType,
    TextAreaEnableKeyboardOnFocus,
    TextAreaCaretOffset,
    TextAreaContentRect,
    TextAreaContentLineCount,
    TextAreaTextSelection,
    TextAreaEnableAutoFill,
    TextAreaContentType,
    TextAreaShowKeyboardOnFocus,
    TextAreaNumberOfLines,
    ButtonLabel,
    ButtonType,
    ProgressValue,
    ProgressTotal,
    ProgressColor,
    ProgressType,
    CheckboxSelect,
    CheckboxSelectColor,
    CheckboxUnselectColor,
    CheckboxMark,
    CheckboxShape,
    XComponentId,
    XComponentType,
    XComponentSurfaceSize,
    DatePickerLunar,
    DatePickerStart,
    DatePickerEnd,
    DatePickerSelected,
    DatePickerDisappearTextStyle,
    DatePickerTextStyle,
    DatePickerSelectedTextStyle,
    TimePickerSelected,
    TimePickerUseMilitaryTime,
    TimePickerDisappearTextStyle,
    TimePickerTextStyle,
    TimePickerSelectedTextStyle,
    TextPickerOptionRange,
    TextPickerOptionSelected,
    TextPickerOptionValue,
    TextPickerDisappearTextStyle,
    TextPickerTextStyle,
    TextPickerSelectedTextStyle,
    TextPickerSelectedIndex,
    TextPickerCanLoop,
    TextPickerDefaultPickerItemHeight,
    CalendarPickerHintRadius,
    CalendarPickerSelectedDate,
    CalendarPickerEdgeAlignment,
    CalendarPickerTextStyle,
    SliderBlockColor,
    SliderTrackColor,
    SliderSelectedColor,
    SliderShowSteps,
    SliderBlockStyle,
    SliderValue,
    SliderMinValue,
    SliderMaxValue,
    SliderStep,
    SliderDirection,
    SliderReverse,
    SliderStyle,
    SliderTrackThickness,
    RadioChecked,
    RadioStyle,
    RadioValue,
    RadioGroup,
    ImageAnimatorImages,
    ImageAnimatorState,
    ImageAnimatorDuration,
    ImageAnimatorReverse,
    ImageAnimatorFixedSize,
    ImageAnimatorFillMode,
    ImageAnimatorIteration,
    StackAlignContent,
    ScrollBarDisplayMode,
    ScrollBarWidth,
    ScrollBarColor,
    ScrollScrollDirection,
    ScrollEdgeEffect,
    ScrollEnableScrollInteraction,
    ScrollFriction,
    ScrollSnap,
    ScrollNestedScroll,
    ScrollOffset,
    ScrollEdge,
    ScrollEnablePaging,
    ScrollPage,
    ScrollBy,
    ListDirection,
    ListSticky,
    ListSpace,
    ListCachedCount,
    ListScrollToIndex,
    ListAlignListItem,
    ListChildrenMainSize,
    ListInitialIndex,
    ListDivider,
    SwiperLoop,
    SwiperAutoPlay,
    SwiperShowIndicator,
    SwiperInterval,
    SwiperVertical,
    SwiperDuration,
    SwiperCurve,
    SwiperItemSpace,
    SwiperIndex,
    SwiperDisplayCount,
    SwiperDisableSwipe,
    SwiperShowDisplayArrow,
    SwiperEdgeEffectMode,
    SwiperNodeAdapter,
    SwiperCachedCount,
    SwiperPrevMargin,
    SwiperNextMargin,
    SwiperIndicator,
    SwiperNestedScroll,
    SwiperSwipeToIndex,
    SwiperIndicatorInteractive,
    ListItemSwipeAction,
    ListItemGroupSetHeader,
    ListItemGroupSetFooter,
    ListItemGroupSetDivider,
    ListItemGroupChildrenMainSize,
    ColumnAlignItems,
    ColumnJustifyContent,
    RowAlignItems,
    RowJustifyContent,
    FlexOption,
    RefreshRefreshing,
    RefreshContent,
    RefreshPullDownRatio,
    RefreshOffset,
    RefreshPullToRefresh,
    WaterFlowLayoutDirection,
    WaterFlowColumnTemplate,
    WaterFlowRowTemplate,
    WaterFlowColumnGap,
    WaterFlowRowGap,
    WaterFlowSectionOption,
    WaterFlowNodeAdapter,
    WaterFlowCachedCount,
    WaterFlowFooter,
    WaterFlowScrollToIndex,
    WaterFlowItemConstraintSize,
    RelativeContainerGuideLine,
    RelativeContainerBarrier,
    GridColumnTemplate,
    GridRowTemplate,
    GridColumnGap,
    GridRowGap,
    GridNodeAdapter,
    GridCachedCount,
}
