meta.pyi 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. """Stub file for reflex/components/base/meta.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Dict, Optional, Union, overload
  6. from reflex.components.component import Component
  7. from reflex.event import EventType
  8. from reflex.style import Style
  9. from reflex.vars.base import Var
  10. class Title(Component):
  11. def render(self) -> dict: ...
  12. @overload
  13. @classmethod
  14. def create( # type: ignore
  15. cls,
  16. *children,
  17. style: Optional[Style] = None,
  18. key: Optional[Any] = None,
  19. id: Optional[Any] = None,
  20. class_name: Optional[Any] = None,
  21. autofocus: Optional[bool] = None,
  22. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  23. on_blur: Optional[EventType[()]] = None,
  24. on_click: Optional[EventType[()]] = None,
  25. on_context_menu: Optional[EventType[()]] = None,
  26. on_double_click: Optional[EventType[()]] = None,
  27. on_focus: Optional[EventType[()]] = None,
  28. on_mount: Optional[EventType[()]] = None,
  29. on_mouse_down: Optional[EventType[()]] = None,
  30. on_mouse_enter: Optional[EventType[()]] = None,
  31. on_mouse_leave: Optional[EventType[()]] = None,
  32. on_mouse_move: Optional[EventType[()]] = None,
  33. on_mouse_out: Optional[EventType[()]] = None,
  34. on_mouse_over: Optional[EventType[()]] = None,
  35. on_mouse_up: Optional[EventType[()]] = None,
  36. on_scroll: Optional[EventType[()]] = None,
  37. on_unmount: Optional[EventType[()]] = None,
  38. **props,
  39. ) -> "Title":
  40. """Create the component.
  41. Args:
  42. *children: The children of the component.
  43. style: The style of the component.
  44. key: A unique key for the component.
  45. id: The id for the component.
  46. class_name: The class name for the component.
  47. autofocus: Whether the component should take the focus once the page is loaded
  48. custom_attrs: custom attribute
  49. **props: The props of the component.
  50. Returns:
  51. The component.
  52. """
  53. ...
  54. class Meta(Component):
  55. @overload
  56. @classmethod
  57. def create( # type: ignore
  58. cls,
  59. *children,
  60. char_set: Optional[str] = None,
  61. content: Optional[str] = None,
  62. name: Optional[str] = None,
  63. property: Optional[str] = None,
  64. http_equiv: Optional[str] = None,
  65. style: Optional[Style] = None,
  66. key: Optional[Any] = None,
  67. id: Optional[Any] = None,
  68. class_name: Optional[Any] = None,
  69. autofocus: Optional[bool] = None,
  70. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  71. on_blur: Optional[EventType[()]] = None,
  72. on_click: Optional[EventType[()]] = None,
  73. on_context_menu: Optional[EventType[()]] = None,
  74. on_double_click: Optional[EventType[()]] = None,
  75. on_focus: Optional[EventType[()]] = None,
  76. on_mount: Optional[EventType[()]] = None,
  77. on_mouse_down: Optional[EventType[()]] = None,
  78. on_mouse_enter: Optional[EventType[()]] = None,
  79. on_mouse_leave: Optional[EventType[()]] = None,
  80. on_mouse_move: Optional[EventType[()]] = None,
  81. on_mouse_out: Optional[EventType[()]] = None,
  82. on_mouse_over: Optional[EventType[()]] = None,
  83. on_mouse_up: Optional[EventType[()]] = None,
  84. on_scroll: Optional[EventType[()]] = None,
  85. on_unmount: Optional[EventType[()]] = None,
  86. **props,
  87. ) -> "Meta":
  88. """Create the component.
  89. Args:
  90. *children: The children of the component.
  91. char_set: The description of character encoding.
  92. content: The value of meta.
  93. name: The name of metadata.
  94. property: The type of metadata value.
  95. http_equiv: The type of metadata value.
  96. style: The style of the component.
  97. key: A unique key for the component.
  98. id: The id for the component.
  99. class_name: The class name for the component.
  100. autofocus: Whether the component should take the focus once the page is loaded
  101. custom_attrs: custom attribute
  102. **props: The props of the component.
  103. Returns:
  104. The component.
  105. """
  106. ...
  107. class Description(Meta):
  108. @overload
  109. @classmethod
  110. def create( # type: ignore
  111. cls,
  112. *children,
  113. name: Optional[str] = None,
  114. char_set: Optional[str] = None,
  115. content: Optional[str] = None,
  116. property: Optional[str] = None,
  117. http_equiv: Optional[str] = None,
  118. style: Optional[Style] = None,
  119. key: Optional[Any] = None,
  120. id: Optional[Any] = None,
  121. class_name: Optional[Any] = None,
  122. autofocus: Optional[bool] = None,
  123. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  124. on_blur: Optional[EventType[()]] = None,
  125. on_click: Optional[EventType[()]] = None,
  126. on_context_menu: Optional[EventType[()]] = None,
  127. on_double_click: Optional[EventType[()]] = None,
  128. on_focus: Optional[EventType[()]] = None,
  129. on_mount: Optional[EventType[()]] = None,
  130. on_mouse_down: Optional[EventType[()]] = None,
  131. on_mouse_enter: Optional[EventType[()]] = None,
  132. on_mouse_leave: Optional[EventType[()]] = None,
  133. on_mouse_move: Optional[EventType[()]] = None,
  134. on_mouse_out: Optional[EventType[()]] = None,
  135. on_mouse_over: Optional[EventType[()]] = None,
  136. on_mouse_up: Optional[EventType[()]] = None,
  137. on_scroll: Optional[EventType[()]] = None,
  138. on_unmount: Optional[EventType[()]] = None,
  139. **props,
  140. ) -> "Description":
  141. """Create the component.
  142. Args:
  143. *children: The children of the component.
  144. name: The name of metadata.
  145. char_set: The description of character encoding.
  146. content: The value of meta.
  147. property: The type of metadata value.
  148. http_equiv: The type of metadata value.
  149. style: The style of the component.
  150. key: A unique key for the component.
  151. id: The id for the component.
  152. class_name: The class name for the component.
  153. autofocus: Whether the component should take the focus once the page is loaded
  154. custom_attrs: custom attribute
  155. **props: The props of the component.
  156. Returns:
  157. The component.
  158. """
  159. ...
  160. class Image(Meta):
  161. @overload
  162. @classmethod
  163. def create( # type: ignore
  164. cls,
  165. *children,
  166. property: Optional[str] = None,
  167. char_set: Optional[str] = None,
  168. content: Optional[str] = None,
  169. name: Optional[str] = None,
  170. http_equiv: Optional[str] = None,
  171. style: Optional[Style] = None,
  172. key: Optional[Any] = None,
  173. id: Optional[Any] = None,
  174. class_name: Optional[Any] = None,
  175. autofocus: Optional[bool] = None,
  176. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  177. on_blur: Optional[EventType[()]] = None,
  178. on_click: Optional[EventType[()]] = None,
  179. on_context_menu: Optional[EventType[()]] = None,
  180. on_double_click: Optional[EventType[()]] = None,
  181. on_focus: Optional[EventType[()]] = None,
  182. on_mount: Optional[EventType[()]] = None,
  183. on_mouse_down: Optional[EventType[()]] = None,
  184. on_mouse_enter: Optional[EventType[()]] = None,
  185. on_mouse_leave: Optional[EventType[()]] = None,
  186. on_mouse_move: Optional[EventType[()]] = None,
  187. on_mouse_out: Optional[EventType[()]] = None,
  188. on_mouse_over: Optional[EventType[()]] = None,
  189. on_mouse_up: Optional[EventType[()]] = None,
  190. on_scroll: Optional[EventType[()]] = None,
  191. on_unmount: Optional[EventType[()]] = None,
  192. **props,
  193. ) -> "Image":
  194. """Create the component.
  195. Args:
  196. *children: The children of the component.
  197. property: The type of metadata value.
  198. char_set: The description of character encoding.
  199. content: The value of meta.
  200. name: The name of metadata.
  201. http_equiv: The type of metadata value.
  202. style: The style of the component.
  203. key: A unique key for the component.
  204. id: The id for the component.
  205. class_name: The class name for the component.
  206. autofocus: Whether the component should take the focus once the page is loaded
  207. custom_attrs: custom attribute
  208. **props: The props of the component.
  209. Returns:
  210. The component.
  211. """
  212. ...