# AUTO GENERATED FILE - DO NOT EDIT

import typing  # noqa: F401
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
from dash.development.base_component import Component, _explicitize_args

ComponentSingleType = typing.Union[str, int, float, Component, None]
ComponentType = typing.Union[
    ComponentSingleType,
    typing.Sequence[ComponentSingleType],
]

NumberType = typing.Union[
    typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
]


class FefferyCellsBackground(Component):
    """A FefferyCellsBackground component.
3D-Cells背景组件FefferyCellsBackground

Keyword arguments:

- id (string; optional):
    组件唯一id.

- key (string; optional):
    对当前组件的`key`值进行更新，可实现强制重绘当前组件的效果.

- children (a list of or a singular dash component, string or number; optional):
    组件型，设置内嵌元素内容.

- className (string | dict; optional):
    当前组件css类名，支持[动态css](/advanced-classname).

- mouseControls (boolean; default True):
    设置是否开启鼠标控制 默认为`True`.

- touchControls (boolean; default True):
    设置是否开启触摸控制 默认为`True`.

- gyroControls (boolean; default False):
    设置是否开启陀螺仪控制 默认为`False`.

- minHeight (number; default 200.00):
    设置最小高度 默认为`200.00`.

- minWidth (number; default 200.00):
    设置最小宽度 默认为`200.00`.

- scale (number; default 1.00):
    设置比例 默认为`1.00`.

- color1 (string; default '#109090'):
    设置cells颜色1 默认为`'#109090'`.

- color2 (string; default '#f2e735'):
    设置cells颜色2 默认为`'#f2e735'`.

- size (number; default 1.5):
    设置cells大小，范围`0.2`到`5` 默认为`1.5`.

- speed (number; default 1):
    设置cells动画速度，范围`0`到`5` 默认为`1`."""
    _children_props: typing.List[str] = []
    _base_nodes = ['children']
    _namespace = 'feffery_utils_components'
    _type = 'FefferyCellsBackground'


    def __init__(
        self,
        children: typing.Optional[ComponentType] = None,
        id: typing.Optional[typing.Union[str, dict]] = None,
        key: typing.Optional[str] = None,
        style: typing.Optional[typing.Any] = None,
        className: typing.Optional[typing.Union[str, dict]] = None,
        mouseControls: typing.Optional[bool] = None,
        touchControls: typing.Optional[bool] = None,
        gyroControls: typing.Optional[bool] = None,
        minHeight: typing.Optional[NumberType] = None,
        minWidth: typing.Optional[NumberType] = None,
        scale: typing.Optional[NumberType] = None,
        color1: typing.Optional[str] = None,
        color2: typing.Optional[str] = None,
        size: typing.Optional[NumberType] = None,
        speed: typing.Optional[NumberType] = None,
        **kwargs
    ):
        self._prop_names = ['id', 'key', 'children', 'style', 'className', 'mouseControls', 'touchControls', 'gyroControls', 'minHeight', 'minWidth', 'scale', 'color1', 'color2', 'size', 'speed']
        self._valid_wildcard_attributes =            []
        self.available_properties = ['id', 'key', 'children', 'style', 'className', 'mouseControls', 'touchControls', 'gyroControls', 'minHeight', 'minWidth', 'scale', 'color1', 'color2', 'size', 'speed']
        self.available_wildcard_properties =            []
        _explicit_args = kwargs.pop('_explicit_args')
        _locals = locals()
        _locals.update(kwargs)  # For wildcard attrs and excess named props
        args = {k: _locals[k] for k in _explicit_args if k != 'children'}

        super(FefferyCellsBackground, self).__init__(children=children, **args)

setattr(FefferyCellsBackground, "__init__", _explicitize_args(FefferyCellsBackground.__init__))
