
    Eh~                     B   S SK r S SKJrJrJr  S SKJrJr  \ R                  \	\
\\S\ R                  \ R                  \	\
\\S4      4   r\ R                  \ R                  \ R                  \ R                   4   r " S S\5      r\" \S\" \R(                  5      5        g)    N)	TypedDictNotRequiredLiteral)	Component_explicitize_argsc            (         ^  \ rS rSrSr/ rS/rSrS r                   SS\	R                  \   S\	R                  \	R                  \\4      S\	R                  \	R                  \\	R                  \   4      S\	R                  \	R                  \\	R                  \   4      S\	R                  \	R                  \\	R                  \   4      S	\	R                  \   S
\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \   S\	R                  \	R$                     S\	R                  \   S\	R                  \   S\	R                  \   4&U 4S jjjrSrU =r$ )Upload   a	  An Upload component.
Upload components allow your app to accept user-uploaded files via drag'n'drop

Keyword arguments:

- children (a list of or a singular dash component, string or number | string; optional):
    Contents of the upload component.

- id (string; optional):
    The ID of this component, used to identify dash components in
    callbacks. The ID needs to be unique across all of the components
    in an app.

- accept (string; optional):
    Allow specific types of files. See
    https://github.com/okonet/attr-accept for more information. Keep
    in mind that mime type determination is not reliable across
    platforms. CSV files, for example, are reported as text/plain
    under macOS but as application/vnd.ms-excel under Windows. In some
    cases there might not be a mime type set at all. See:
    https://github.com/react-dropzone/react-dropzone/issues/276.

- className (string; optional):
    HTML class name of the component.

- className_active (string; optional):
    HTML class name of the component while active.

- className_disabled (string; optional):
    HTML class name of the component if disabled.

- className_reject (string; optional):
    HTML class name of the component if rejected.

- contents (string | list of strings; optional):
    The contents of the uploaded file as a binary string.

- disable_click (boolean; default False):
    Disallow clicking on the component to open the file dialog.

- disabled (boolean; default False):
    Enable/disable the upload component entirely.

- filename (string | list of strings; optional):
    The name of the file(s) that was(were) uploaded. Note that this
    does not include the path of the file (for security reasons).

- last_modified (number | list of numbers; optional):
    The last modified date of the file that was uploaded in unix time
    (seconds since 1970).

- max_size (number; default -1):
    Maximum file size in bytes. If `-1`, then infinite.

- min_size (number; default 0):
    Minimum file size in bytes.

- multiple (boolean; default False):
    Allow dropping multiple files.

- style_active (dict; default {    borderStyle: 'solid',    borderColor: '#6c6',    backgroundColor: '#eee',}):
    CSS styles to apply while active.

- style_disabled (dict; default {    opacity: 0.5,}):
    CSS styles if disabled.

- style_reject (dict; default {    borderStyle: 'solid',    borderColor: '#c66',    backgroundColor: '#eee',}):
    CSS styles if rejected.childrendash_core_componentsidcontentsfilenamelast_modifiedacceptdisableddisable_clickmax_sizemin_sizemultiple	classNameclassName_activeclassName_rejectclassName_disabledstylestyle_activestyle_rejectstyle_disabledc                   > / SQU l         / U l        / SQU l        / U l        UR	                  S5      n[        5       nUR                  U5        U Vs0 s H  nUS:w  d  M  UUU   _M     nn[        [        U ]&  " SSU0UD6  g s  snf )N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   _explicit_argsr    )
_prop_names_valid_wildcard_attributesavailable_propertiesavailable_wildcard_propertiespoplocalsupdatesuperr	   __init__)selfr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   kwargsr    _localskargs	__class__s                            bC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\dash/dcc/Upload.pyr*   Upload.__init__`   s    2
* +-'%
!* .0*$45(v'5I~!j71:~Ifd$?h?$? Js   
B 
B)r"   r#   r$   r%   )NNNNNNNNNNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc___children_props_base_nodes
_namespace_typetypingOptionalComponentTypeUnionstrdictSequence
NumberTypeboolAnyr*   __static_attributes____classcell__)r0   s   @r1   r	   r	      sS   C#J O,K'JE 487;MQMQ '+*./30404*.*.151537-1.2.204-J@//-0J@ OOFLLd34J@ //&,,sFOOC4H/H"IJ	J@
 //&,,sFOOC4H/H"IJJ@ LLV__Z%@@A
J@ $J@ //$'J@ t,J@ //*-J@ //*-J@ //$'J@ ??3'J@  !//#.!J@" !//#.#J@$ #OOC0%J@& vzz*'J@( ood+)J@* ood++J@, --J@ J@    r	   r*   )r<   typing_extensionsr   r   r   dash.development.base_componentr   r   r?   r@   intfloatrB   r>   SupportsFloatSupportsIntSupportsComplexrC   r	   setattrr*   r!   rH   r1   <module>rQ      s     = = H	
OOFLLc5)T!ABCE \\
&,,f.D.DD

U@Y U@p 
-foo> ?rH   