From f34703f61970a057d46c73f160d1fe06e090f439 Mon Sep 17 00:00:00 2001 From: Ryan Marren Date: Mon, 11 Jun 2018 22:50:56 -0400 Subject: [PATCH 1/5] v0.12.0 class files --- CHANGELOG.md | 5 ++ dash_html_components/A.py | 82 ++++++++++++++++++++++++++++ dash_html_components/Abbr.py | 75 +++++++++++++++++++++++++ dash_html_components/Acronym.py | 75 +++++++++++++++++++++++++ dash_html_components/Address.py | 75 +++++++++++++++++++++++++ dash_html_components/Area.py | 84 ++++++++++++++++++++++++++++ dash_html_components/Article.py | 75 +++++++++++++++++++++++++ dash_html_components/Aside.py | 75 +++++++++++++++++++++++++ dash_html_components/Audio.py | 82 ++++++++++++++++++++++++++++ dash_html_components/B.py | 75 +++++++++++++++++++++++++ dash_html_components/Base.py | 77 ++++++++++++++++++++++++++ dash_html_components/Basefont.py | 75 +++++++++++++++++++++++++ dash_html_components/Bdi.py | 75 +++++++++++++++++++++++++ dash_html_components/Bdo.py | 75 +++++++++++++++++++++++++ dash_html_components/Big.py | 75 +++++++++++++++++++++++++ dash_html_components/Blink.py | 75 +++++++++++++++++++++++++ dash_html_components/Blockquote.py | 76 ++++++++++++++++++++++++++ dash_html_components/Br.py | 75 +++++++++++++++++++++++++ dash_html_components/Button.py | 82 ++++++++++++++++++++++++++++ dash_html_components/Canvas.py | 77 ++++++++++++++++++++++++++ dash_html_components/Caption.py | 75 +++++++++++++++++++++++++ dash_html_components/Center.py | 75 +++++++++++++++++++++++++ dash_html_components/Cite.py | 75 +++++++++++++++++++++++++ dash_html_components/Code.py | 75 +++++++++++++++++++++++++ dash_html_components/Col.py | 76 ++++++++++++++++++++++++++ dash_html_components/Colgroup.py | 76 ++++++++++++++++++++++++++ dash_html_components/Command.py | 80 +++++++++++++++++++++++++++ dash_html_components/Content.py | 75 +++++++++++++++++++++++++ dash_html_components/Data.py | 75 +++++++++++++++++++++++++ dash_html_components/Datalist.py | 75 +++++++++++++++++++++++++ dash_html_components/Dd.py | 75 +++++++++++++++++++++++++ dash_html_components/Del.py | 77 ++++++++++++++++++++++++++ dash_html_components/Details.py | 76 ++++++++++++++++++++++++++ dash_html_components/Dfn.py | 75 +++++++++++++++++++++++++ dash_html_components/Dialog.py | 75 +++++++++++++++++++++++++ dash_html_components/Div.py | 75 +++++++++++++++++++++++++ dash_html_components/Dl.py | 75 +++++++++++++++++++++++++ dash_html_components/Dt.py | 75 +++++++++++++++++++++++++ dash_html_components/Element.py | 75 +++++++++++++++++++++++++ dash_html_components/Em.py | 75 +++++++++++++++++++++++++ dash_html_components/Embed.py | 79 +++++++++++++++++++++++++++ dash_html_components/Fieldset.py | 78 ++++++++++++++++++++++++++ dash_html_components/Figcaption.py | 75 +++++++++++++++++++++++++ dash_html_components/Figure.py | 75 +++++++++++++++++++++++++ dash_html_components/Font.py | 75 +++++++++++++++++++++++++ dash_html_components/Footer.py | 75 +++++++++++++++++++++++++ dash_html_components/Form.py | 84 ++++++++++++++++++++++++++++ dash_html_components/Frame.py | 75 +++++++++++++++++++++++++ dash_html_components/Frameset.py | 75 +++++++++++++++++++++++++ dash_html_components/H1.py | 75 +++++++++++++++++++++++++ dash_html_components/H2.py | 75 +++++++++++++++++++++++++ dash_html_components/H3.py | 75 +++++++++++++++++++++++++ dash_html_components/H4.py | 75 +++++++++++++++++++++++++ dash_html_components/H5.py | 75 +++++++++++++++++++++++++ dash_html_components/H6.py | 75 +++++++++++++++++++++++++ dash_html_components/Header.py | 75 +++++++++++++++++++++++++ dash_html_components/Hgroup.py | 75 +++++++++++++++++++++++++ dash_html_components/Hr.py | 75 +++++++++++++++++++++++++ dash_html_components/I.py | 75 +++++++++++++++++++++++++ dash_html_components/Iframe.py | 81 +++++++++++++++++++++++++++ dash_html_components/Img.py | 83 ++++++++++++++++++++++++++++ dash_html_components/Ins.py | 77 ++++++++++++++++++++++++++ dash_html_components/Isindex.py | 75 +++++++++++++++++++++++++ dash_html_components/Kbd.py | 75 +++++++++++++++++++++++++ dash_html_components/Keygen.py | 81 +++++++++++++++++++++++++++ dash_html_components/Label.py | 77 ++++++++++++++++++++++++++ dash_html_components/Legend.py | 75 +++++++++++++++++++++++++ dash_html_components/Li.py | 76 ++++++++++++++++++++++++++ dash_html_components/Link.py | 82 ++++++++++++++++++++++++++++ dash_html_components/Listing.py | 75 +++++++++++++++++++++++++ dash_html_components/Main.py | 75 +++++++++++++++++++++++++ dash_html_components/MapEl.py | 76 ++++++++++++++++++++++++++ dash_html_components/Mark.py | 75 +++++++++++++++++++++++++ dash_html_components/Marquee.py | 76 ++++++++++++++++++++++++++ dash_html_components/Meta.py | 79 +++++++++++++++++++++++++++ dash_html_components/Meter.py | 82 ++++++++++++++++++++++++++++ dash_html_components/Multicol.py | 75 +++++++++++++++++++++++++ dash_html_components/Nav.py | 75 +++++++++++++++++++++++++ dash_html_components/Nextid.py | 75 +++++++++++++++++++++++++ dash_html_components/Nobr.py | 75 +++++++++++++++++++++++++ dash_html_components/Noscript.py | 75 +++++++++++++++++++++++++ dash_html_components/ObjectEl.py | 81 +++++++++++++++++++++++++++ dash_html_components/Ol.py | 77 ++++++++++++++++++++++++++ dash_html_components/Optgroup.py | 76 ++++++++++++++++++++++++++ dash_html_components/Option.py | 78 ++++++++++++++++++++++++++ dash_html_components/Output.py | 78 ++++++++++++++++++++++++++ dash_html_components/P.py | 75 +++++++++++++++++++++++++ dash_html_components/Param.py | 77 ++++++++++++++++++++++++++ dash_html_components/Picture.py | 75 +++++++++++++++++++++++++ dash_html_components/Plaintext.py | 75 +++++++++++++++++++++++++ dash_html_components/Pre.py | 75 +++++++++++++++++++++++++ dash_html_components/Progress.py | 78 ++++++++++++++++++++++++++ dash_html_components/Q.py | 76 ++++++++++++++++++++++++++ dash_html_components/Rp.py | 75 +++++++++++++++++++++++++ dash_html_components/Rt.py | 75 +++++++++++++++++++++++++ dash_html_components/Rtc.py | 75 +++++++++++++++++++++++++ dash_html_components/Ruby.py | 75 +++++++++++++++++++++++++ dash_html_components/S.py | 75 +++++++++++++++++++++++++ dash_html_components/Samp.py | 75 +++++++++++++++++++++++++ dash_html_components/Script.py | 82 ++++++++++++++++++++++++++++ dash_html_components/Section.py | 75 +++++++++++++++++++++++++ dash_html_components/Select.py | 82 ++++++++++++++++++++++++++++ dash_html_components/Shadow.py | 75 +++++++++++++++++++++++++ dash_html_components/Slot.py | 75 +++++++++++++++++++++++++ dash_html_components/Small.py | 75 +++++++++++++++++++++++++ dash_html_components/Source.py | 79 +++++++++++++++++++++++++++ dash_html_components/Spacer.py | 75 +++++++++++++++++++++++++ dash_html_components/Span.py | 75 +++++++++++++++++++++++++ dash_html_components/Strike.py | 75 +++++++++++++++++++++++++ dash_html_components/Strong.py | 75 +++++++++++++++++++++++++ dash_html_components/Sub.py | 75 +++++++++++++++++++++++++ dash_html_components/Summary.py | 75 +++++++++++++++++++++++++ dash_html_components/Sup.py | 75 +++++++++++++++++++++++++ dash_html_components/Table.py | 76 ++++++++++++++++++++++++++ dash_html_components/Tbody.py | 75 +++++++++++++++++++++++++ dash_html_components/Td.py | 78 ++++++++++++++++++++++++++ dash_html_components/Template.py | 75 +++++++++++++++++++++++++ dash_html_components/Textarea.py | 88 ++++++++++++++++++++++++++++++ dash_html_components/Tfoot.py | 75 +++++++++++++++++++++++++ dash_html_components/Th.py | 79 +++++++++++++++++++++++++++ dash_html_components/Thead.py | 75 +++++++++++++++++++++++++ dash_html_components/Time.py | 76 ++++++++++++++++++++++++++ dash_html_components/Title.py | 75 +++++++++++++++++++++++++ dash_html_components/Tr.py | 75 +++++++++++++++++++++++++ dash_html_components/Track.py | 80 +++++++++++++++++++++++++++ dash_html_components/U.py | 75 +++++++++++++++++++++++++ dash_html_components/Ul.py | 75 +++++++++++++++++++++++++ dash_html_components/Var.py | 75 +++++++++++++++++++++++++ dash_html_components/Video.py | 85 +++++++++++++++++++++++++++++ dash_html_components/Wbr.py | 75 +++++++++++++++++++++++++ dash_html_components/Xmp.py | 75 +++++++++++++++++++++++++ dash_html_components/__init__.py | 49 ++++++++++++----- package.json | 6 +- 133 files changed, 9974 insertions(+), 18 deletions(-) create mode 100644 dash_html_components/A.py create mode 100644 dash_html_components/Abbr.py create mode 100644 dash_html_components/Acronym.py create mode 100644 dash_html_components/Address.py create mode 100644 dash_html_components/Area.py create mode 100644 dash_html_components/Article.py create mode 100644 dash_html_components/Aside.py create mode 100644 dash_html_components/Audio.py create mode 100644 dash_html_components/B.py create mode 100644 dash_html_components/Base.py create mode 100644 dash_html_components/Basefont.py create mode 100644 dash_html_components/Bdi.py create mode 100644 dash_html_components/Bdo.py create mode 100644 dash_html_components/Big.py create mode 100644 dash_html_components/Blink.py create mode 100644 dash_html_components/Blockquote.py create mode 100644 dash_html_components/Br.py create mode 100644 dash_html_components/Button.py create mode 100644 dash_html_components/Canvas.py create mode 100644 dash_html_components/Caption.py create mode 100644 dash_html_components/Center.py create mode 100644 dash_html_components/Cite.py create mode 100644 dash_html_components/Code.py create mode 100644 dash_html_components/Col.py create mode 100644 dash_html_components/Colgroup.py create mode 100644 dash_html_components/Command.py create mode 100644 dash_html_components/Content.py create mode 100644 dash_html_components/Data.py create mode 100644 dash_html_components/Datalist.py create mode 100644 dash_html_components/Dd.py create mode 100644 dash_html_components/Del.py create mode 100644 dash_html_components/Details.py create mode 100644 dash_html_components/Dfn.py create mode 100644 dash_html_components/Dialog.py create mode 100644 dash_html_components/Div.py create mode 100644 dash_html_components/Dl.py create mode 100644 dash_html_components/Dt.py create mode 100644 dash_html_components/Element.py create mode 100644 dash_html_components/Em.py create mode 100644 dash_html_components/Embed.py create mode 100644 dash_html_components/Fieldset.py create mode 100644 dash_html_components/Figcaption.py create mode 100644 dash_html_components/Figure.py create mode 100644 dash_html_components/Font.py create mode 100644 dash_html_components/Footer.py create mode 100644 dash_html_components/Form.py create mode 100644 dash_html_components/Frame.py create mode 100644 dash_html_components/Frameset.py create mode 100644 dash_html_components/H1.py create mode 100644 dash_html_components/H2.py create mode 100644 dash_html_components/H3.py create mode 100644 dash_html_components/H4.py create mode 100644 dash_html_components/H5.py create mode 100644 dash_html_components/H6.py create mode 100644 dash_html_components/Header.py create mode 100644 dash_html_components/Hgroup.py create mode 100644 dash_html_components/Hr.py create mode 100644 dash_html_components/I.py create mode 100644 dash_html_components/Iframe.py create mode 100644 dash_html_components/Img.py create mode 100644 dash_html_components/Ins.py create mode 100644 dash_html_components/Isindex.py create mode 100644 dash_html_components/Kbd.py create mode 100644 dash_html_components/Keygen.py create mode 100644 dash_html_components/Label.py create mode 100644 dash_html_components/Legend.py create mode 100644 dash_html_components/Li.py create mode 100644 dash_html_components/Link.py create mode 100644 dash_html_components/Listing.py create mode 100644 dash_html_components/Main.py create mode 100644 dash_html_components/MapEl.py create mode 100644 dash_html_components/Mark.py create mode 100644 dash_html_components/Marquee.py create mode 100644 dash_html_components/Meta.py create mode 100644 dash_html_components/Meter.py create mode 100644 dash_html_components/Multicol.py create mode 100644 dash_html_components/Nav.py create mode 100644 dash_html_components/Nextid.py create mode 100644 dash_html_components/Nobr.py create mode 100644 dash_html_components/Noscript.py create mode 100644 dash_html_components/ObjectEl.py create mode 100644 dash_html_components/Ol.py create mode 100644 dash_html_components/Optgroup.py create mode 100644 dash_html_components/Option.py create mode 100644 dash_html_components/Output.py create mode 100644 dash_html_components/P.py create mode 100644 dash_html_components/Param.py create mode 100644 dash_html_components/Picture.py create mode 100644 dash_html_components/Plaintext.py create mode 100644 dash_html_components/Pre.py create mode 100644 dash_html_components/Progress.py create mode 100644 dash_html_components/Q.py create mode 100644 dash_html_components/Rp.py create mode 100644 dash_html_components/Rt.py create mode 100644 dash_html_components/Rtc.py create mode 100644 dash_html_components/Ruby.py create mode 100644 dash_html_components/S.py create mode 100644 dash_html_components/Samp.py create mode 100644 dash_html_components/Script.py create mode 100644 dash_html_components/Section.py create mode 100644 dash_html_components/Select.py create mode 100644 dash_html_components/Shadow.py create mode 100644 dash_html_components/Slot.py create mode 100644 dash_html_components/Small.py create mode 100644 dash_html_components/Source.py create mode 100644 dash_html_components/Spacer.py create mode 100644 dash_html_components/Span.py create mode 100644 dash_html_components/Strike.py create mode 100644 dash_html_components/Strong.py create mode 100644 dash_html_components/Sub.py create mode 100644 dash_html_components/Summary.py create mode 100644 dash_html_components/Sup.py create mode 100644 dash_html_components/Table.py create mode 100644 dash_html_components/Tbody.py create mode 100644 dash_html_components/Td.py create mode 100644 dash_html_components/Template.py create mode 100644 dash_html_components/Textarea.py create mode 100644 dash_html_components/Tfoot.py create mode 100644 dash_html_components/Th.py create mode 100644 dash_html_components/Thead.py create mode 100644 dash_html_components/Time.py create mode 100644 dash_html_components/Title.py create mode 100644 dash_html_components/Tr.py create mode 100644 dash_html_components/Track.py create mode 100644 dash_html_components/U.py create mode 100644 dash_html_components/Ul.py create mode 100644 dash_html_components/Var.py create mode 100644 dash_html_components/Video.py create mode 100644 dash_html_components/Wbr.py create mode 100644 dash_html_components/Xmp.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 10af9986..694bdf98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +## [0.12.0] - 2018-06-01 +### Changed +- `dash_html_components/__init__.py` now imports from python class files rather than generating classes at runtime, +adding support for IDE autocomplete ect. + ## [0.11.0] - 2018-06-01 ### Added - A `n_clicks_timestamp` property was added to all of the components. This property represents the date that the element was clicked on and can be used to determine _which element was clicked on_ in callbacks with multiple elements. This is considered a stop-gap solution: ultimately we'll want a solution that works for _all_ properties across all components, not just the `n_clicks` property. https://github.com/plotly/dash-html-components/pull/45 diff --git a/dash_html_components/A.py b/dash_html_components/A.py new file mode 100644 index 00000000..8f7fb492 --- /dev/null +++ b/dash_html_components/A.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class A(Component): + """A A component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- download (string; optional): Indicates that the hyperlink is to be used for downloading a resource. +- href (string; optional): The URL of a linked resource. +- hrefLang (string; optional): Specifies the language of the linked resource. +- media (string; optional): Specifies a hint of the media for which the linked resource was designed. +- rel (string; optional): Specifies the relationship of the target object to the link object. +- shape (string; optional) +- target (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'A' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(A, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('A(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'A(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Abbr.py b/dash_html_components/Abbr.py new file mode 100644 index 00000000..d7a889a8 --- /dev/null +++ b/dash_html_components/Abbr.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Abbr(Component): + """A Abbr component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Abbr' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Abbr, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Abbr(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Abbr(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Acronym.py b/dash_html_components/Acronym.py new file mode 100644 index 00000000..4ee79081 --- /dev/null +++ b/dash_html_components/Acronym.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Acronym(Component): + """A Acronym component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Acronym' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Acronym, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Acronym(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Acronym(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Address.py b/dash_html_components/Address.py new file mode 100644 index 00000000..a7de88fd --- /dev/null +++ b/dash_html_components/Address.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Address(Component): + """A Address component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Address' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Address, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Address(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Address(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Area.py b/dash_html_components/Area.py new file mode 100644 index 00000000..c3897e63 --- /dev/null +++ b/dash_html_components/Area.py @@ -0,0 +1,84 @@ +from dash.development.base_component import Component + + +class Area(Component): + """A Area component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- alt (string; optional): Alternative text in case an image can't be displayed. +- coords (string; optional): A set of values specifying the coordinates of the hot-spot region. +- download (string; optional): Indicates that the hyperlink is to be used for downloading a resource. +- href (string; optional): The URL of a linked resource. +- hrefLang (string; optional): Specifies the language of the linked resource. +- media (string; optional): Specifies a hint of the media for which the linked resource was designed. +- rel (string; optional): Specifies the relationship of the target object to the link object. +- shape (string; optional) +- target (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Area' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Area, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Area(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Area(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Article.py b/dash_html_components/Article.py new file mode 100644 index 00000000..59d2a9af --- /dev/null +++ b/dash_html_components/Article.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Article(Component): + """A Article component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Article' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Article, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Article(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Article(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Aside.py b/dash_html_components/Aside.py new file mode 100644 index 00000000..65ca43f3 --- /dev/null +++ b/dash_html_components/Aside.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Aside(Component): + """A Aside component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Aside' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Aside, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Aside(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Aside(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Audio.py b/dash_html_components/Audio.py new file mode 100644 index 00000000..c24e1148 --- /dev/null +++ b/dash_html_components/Audio.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class Audio(Component): + """A Audio component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- autoPlay (string; optional): The audio or video should play as soon as possible. +- controls (string; optional): Indicates whether the browser should show playback controls to the user. +- crossOrigin (string; optional): How the element handles cross-origin requests +- loop (string; optional): Indicates whether the media should start playing from the start when it's finished. +- muted (string; optional): Indicates whether the audio will be initially silenced on page load. +- preload (string; optional): Indicates whether the whole resource, parts of it or nothing should be preloaded. +- src (string; optional): The URL of the embeddable content. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Audio' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Audio, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Audio(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Audio(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/B.py b/dash_html_components/B.py new file mode 100644 index 00000000..1845d5fe --- /dev/null +++ b/dash_html_components/B.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class B(Component): + """A B component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'B' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(B, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('B(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'B(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Base.py b/dash_html_components/Base.py new file mode 100644 index 00000000..867208f6 --- /dev/null +++ b/dash_html_components/Base.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Base(Component): + """A Base component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- href (string; optional): The URL of a linked resource. +- target (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'href', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Base' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'href', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Base, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Base(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Base(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Basefont.py b/dash_html_components/Basefont.py new file mode 100644 index 00000000..758194a5 --- /dev/null +++ b/dash_html_components/Basefont.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Basefont(Component): + """A Basefont component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Basefont' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Basefont, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Basefont(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Basefont(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Bdi.py b/dash_html_components/Bdi.py new file mode 100644 index 00000000..1eb7705b --- /dev/null +++ b/dash_html_components/Bdi.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Bdi(Component): + """A Bdi component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Bdi' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Bdi, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Bdi(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Bdi(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Bdo.py b/dash_html_components/Bdo.py new file mode 100644 index 00000000..56d82b8b --- /dev/null +++ b/dash_html_components/Bdo.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Bdo(Component): + """A Bdo component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Bdo' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Bdo, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Bdo(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Bdo(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Big.py b/dash_html_components/Big.py new file mode 100644 index 00000000..c3c5bc91 --- /dev/null +++ b/dash_html_components/Big.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Big(Component): + """A Big component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Big' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Big, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Big(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Big(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Blink.py b/dash_html_components/Blink.py new file mode 100644 index 00000000..d9963d6f --- /dev/null +++ b/dash_html_components/Blink.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Blink(Component): + """A Blink component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Blink' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Blink, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Blink(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Blink(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Blockquote.py b/dash_html_components/Blockquote.py new file mode 100644 index 00000000..b9c7da73 --- /dev/null +++ b/dash_html_components/Blockquote.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Blockquote(Component): + """A Blockquote component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- cite (string; optional): Contains a URI which points to the source of the quote or change. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Blockquote' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Blockquote, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Blockquote(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Blockquote(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Br.py b/dash_html_components/Br.py new file mode 100644 index 00000000..7583f6dc --- /dev/null +++ b/dash_html_components/Br.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Br(Component): + """A Br component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Br' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Br, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Br(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Br(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Button.py b/dash_html_components/Button.py new file mode 100644 index 00000000..110f3187 --- /dev/null +++ b/dash_html_components/Button.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class Button(Component): + """A Button component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- autoFocus (string; optional): The element should be automatically focused after the page loaded. +- disabled (string; optional): Indicates whether the user can interact with the element. +- form (string; optional): Indicates the form that is the owner of the element. +- formAction (string; optional): Indicates the action of the element, overriding the action defined in the
. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- type (string; optional): Defines the type of the element. +- value (string; optional): Defines a default value which will be displayed in the element on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'formAction', 'name', 'type', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Button' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'formAction', 'name', 'type', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Button, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Button(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Button(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Canvas.py b/dash_html_components/Canvas.py new file mode 100644 index 00000000..6b5800b8 --- /dev/null +++ b/dash_html_components/Canvas.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Canvas(Component): + """A Canvas component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- height (string; optional): Specifies the height of elements listed here. For all other elements, use the CSS height property. Note: In some instances, such as
, this is a legacy attribute, in which case the CSS height property should be used instead. +- width (string; optional): For the elements listed here, this establishes the element's width. Note: For all other instances, such as
, this is a legacy attribute, in which case the CSS width property should be used instead. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Canvas' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Canvas, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Canvas(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Canvas(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Caption.py b/dash_html_components/Caption.py new file mode 100644 index 00000000..42ba746a --- /dev/null +++ b/dash_html_components/Caption.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Caption(Component): + """A Caption component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Caption' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Caption, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Caption(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Caption(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Center.py b/dash_html_components/Center.py new file mode 100644 index 00000000..603fac64 --- /dev/null +++ b/dash_html_components/Center.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Center(Component): + """A Center component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Center' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Center, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Center(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Center(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Cite.py b/dash_html_components/Cite.py new file mode 100644 index 00000000..9c648791 --- /dev/null +++ b/dash_html_components/Cite.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Cite(Component): + """A Cite component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Cite' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Cite, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Cite(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Cite(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Code.py b/dash_html_components/Code.py new file mode 100644 index 00000000..2eb9e2b0 --- /dev/null +++ b/dash_html_components/Code.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Code(Component): + """A Code component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Code' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Code, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Code(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Code(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Col.py b/dash_html_components/Col.py new file mode 100644 index 00000000..8d804e7e --- /dev/null +++ b/dash_html_components/Col.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Col(Component): + """A Col component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- span (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Col' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Col, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Col(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Col(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Colgroup.py b/dash_html_components/Colgroup.py new file mode 100644 index 00000000..ad53fe03 --- /dev/null +++ b/dash_html_components/Colgroup.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Colgroup(Component): + """A Colgroup component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- span (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Colgroup' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Colgroup, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Colgroup(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Colgroup(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Command.py b/dash_html_components/Command.py new file mode 100644 index 00000000..7041b48a --- /dev/null +++ b/dash_html_components/Command.py @@ -0,0 +1,80 @@ +from dash.development.base_component import Component + + +class Command(Component): + """A Command component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- checked (string; optional): Indicates whether the element should be checked on page load. +- disabled (string; optional): Indicates whether the user can interact with the element. +- icon (string; optional): Specifies a picture which represents the command. +- radioGroup (string; optional) +- type (string; optional): Defines the type of the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'checked', 'disabled', 'icon', 'radioGroup', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Command' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'checked', 'disabled', 'icon', 'radioGroup', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Command, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Command(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Command(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Content.py b/dash_html_components/Content.py new file mode 100644 index 00000000..e107bdcd --- /dev/null +++ b/dash_html_components/Content.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Content(Component): + """A Content component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Content' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Content, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Content(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Content(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Data.py b/dash_html_components/Data.py new file mode 100644 index 00000000..7df3810b --- /dev/null +++ b/dash_html_components/Data.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Data(Component): + """A Data component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Data' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Data, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Data(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Data(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Datalist.py b/dash_html_components/Datalist.py new file mode 100644 index 00000000..c0c8b4ed --- /dev/null +++ b/dash_html_components/Datalist.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Datalist(Component): + """A Datalist component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Datalist' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Datalist, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Datalist(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Datalist(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Dd.py b/dash_html_components/Dd.py new file mode 100644 index 00000000..a03c7d97 --- /dev/null +++ b/dash_html_components/Dd.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Dd(Component): + """A Dd component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Dd' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Dd, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Dd(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Dd(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Del.py b/dash_html_components/Del.py new file mode 100644 index 00000000..6cf6ecb6 --- /dev/null +++ b/dash_html_components/Del.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Del(Component): + """A Del component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- cite (string; optional): Contains a URI which points to the source of the quote or change. +- dateTime (string; optional): Indicates the date and time associated with the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Del' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Del, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Del(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Del(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Details.py b/dash_html_components/Details.py new file mode 100644 index 00000000..0af52dc8 --- /dev/null +++ b/dash_html_components/Details.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Details(Component): + """A Details component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- open (string; optional): Indicates whether the details will be shown on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'open', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Details' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'open', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Details, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Details(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Details(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Dfn.py b/dash_html_components/Dfn.py new file mode 100644 index 00000000..8925786d --- /dev/null +++ b/dash_html_components/Dfn.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Dfn(Component): + """A Dfn component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Dfn' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Dfn, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Dfn(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Dfn(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Dialog.py b/dash_html_components/Dialog.py new file mode 100644 index 00000000..a28f275d --- /dev/null +++ b/dash_html_components/Dialog.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Dialog(Component): + """A Dialog component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Dialog' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Dialog, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Dialog(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Dialog(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Div.py b/dash_html_components/Div.py new file mode 100644 index 00000000..8cebc8c1 --- /dev/null +++ b/dash_html_components/Div.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Div(Component): + """A Div component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Div' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Div, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Div(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Div(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Dl.py b/dash_html_components/Dl.py new file mode 100644 index 00000000..70ed0c16 --- /dev/null +++ b/dash_html_components/Dl.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Dl(Component): + """A Dl component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Dl' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Dl, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Dl(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Dl(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Dt.py b/dash_html_components/Dt.py new file mode 100644 index 00000000..89530db8 --- /dev/null +++ b/dash_html_components/Dt.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Dt(Component): + """A Dt component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Dt' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Dt, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Dt(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Dt(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Element.py b/dash_html_components/Element.py new file mode 100644 index 00000000..54c55f00 --- /dev/null +++ b/dash_html_components/Element.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Element(Component): + """A Element component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Element' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Element, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Element(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Element(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Em.py b/dash_html_components/Em.py new file mode 100644 index 00000000..120bbff0 --- /dev/null +++ b/dash_html_components/Em.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Em(Component): + """A Em component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Em' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Em, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Em(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Em(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Embed.py b/dash_html_components/Embed.py new file mode 100644 index 00000000..26abc60e --- /dev/null +++ b/dash_html_components/Embed.py @@ -0,0 +1,79 @@ +from dash.development.base_component import Component + + +class Embed(Component): + """A Embed component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- height (string; optional): Specifies the height of elements listed here. For all other elements, use the CSS height property. Note: In some instances, such as
, this is a legacy attribute, in which case the CSS height property should be used instead. +- src (string; optional): The URL of the embeddable content. +- type (string; optional): Defines the type of the element. +- width (string; optional): For the elements listed here, this establishes the element's width. Note: For all other instances, such as
, this is a legacy attribute, in which case the CSS width property should be used instead. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'src', 'type', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Embed' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'src', 'type', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Embed, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Embed(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Embed(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Fieldset.py b/dash_html_components/Fieldset.py new file mode 100644 index 00000000..1fcfec6d --- /dev/null +++ b/dash_html_components/Fieldset.py @@ -0,0 +1,78 @@ +from dash.development.base_component import Component + + +class Fieldset(Component): + """A Fieldset component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- disabled (string; optional): Indicates whether the user can interact with the element. +- form (string; optional): Indicates the form that is the owner of the element. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Fieldset' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Fieldset, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Fieldset(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Fieldset(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Figcaption.py b/dash_html_components/Figcaption.py new file mode 100644 index 00000000..e037697d --- /dev/null +++ b/dash_html_components/Figcaption.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Figcaption(Component): + """A Figcaption component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Figcaption' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Figcaption, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Figcaption(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Figcaption(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Figure.py b/dash_html_components/Figure.py new file mode 100644 index 00000000..8ba3f2db --- /dev/null +++ b/dash_html_components/Figure.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Figure(Component): + """A Figure component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Figure' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Figure, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Figure(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Figure(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Font.py b/dash_html_components/Font.py new file mode 100644 index 00000000..aea81028 --- /dev/null +++ b/dash_html_components/Font.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Font(Component): + """A Font component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Font' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Font, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Font(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Font(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Footer.py b/dash_html_components/Footer.py new file mode 100644 index 00000000..102f0c46 --- /dev/null +++ b/dash_html_components/Footer.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Footer(Component): + """A Footer component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Footer' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Footer, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Footer(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Footer(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Form.py b/dash_html_components/Form.py new file mode 100644 index 00000000..a822bec9 --- /dev/null +++ b/dash_html_components/Form.py @@ -0,0 +1,84 @@ +from dash.development.base_component import Component + + +class Form(Component): + """A Form component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accept (string; optional): List of types the server accepts, typically a file type. +- acceptCharset (string; optional): List of supported charsets. +- action (string; optional): The URI of a program that processes the information submitted via the form. +- autoComplete (string; optional): Indicates whether controls in this form can by default have their values automatically completed by the browser. +- encType (string; optional): Defines the content type of the form date when the method is POST. +- method (string; optional): Defines which HTTP method to use when submitting the form. Can be GET (default) or POST. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- noValidate (string; optional): This attribute indicates that the form shouldn't be validated when submitted. +- target (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accept', 'acceptCharset', 'action', 'autoComplete', 'encType', 'method', 'name', 'noValidate', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Form' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accept', 'acceptCharset', 'action', 'autoComplete', 'encType', 'method', 'name', 'noValidate', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Form, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Form(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Form(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Frame.py b/dash_html_components/Frame.py new file mode 100644 index 00000000..7b6eec68 --- /dev/null +++ b/dash_html_components/Frame.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Frame(Component): + """A Frame component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Frame' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Frame, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Frame(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Frame(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Frameset.py b/dash_html_components/Frameset.py new file mode 100644 index 00000000..cc663157 --- /dev/null +++ b/dash_html_components/Frameset.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Frameset(Component): + """A Frameset component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Frameset' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Frameset, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Frameset(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Frameset(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/H1.py b/dash_html_components/H1.py new file mode 100644 index 00000000..affe6e3c --- /dev/null +++ b/dash_html_components/H1.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class H1(Component): + """A H1 component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'H1' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(H1, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('H1(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'H1(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/H2.py b/dash_html_components/H2.py new file mode 100644 index 00000000..e5807c31 --- /dev/null +++ b/dash_html_components/H2.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class H2(Component): + """A H2 component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'H2' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(H2, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('H2(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'H2(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/H3.py b/dash_html_components/H3.py new file mode 100644 index 00000000..29d0fff4 --- /dev/null +++ b/dash_html_components/H3.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class H3(Component): + """A H3 component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'H3' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(H3, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('H3(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'H3(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/H4.py b/dash_html_components/H4.py new file mode 100644 index 00000000..1b47728b --- /dev/null +++ b/dash_html_components/H4.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class H4(Component): + """A H4 component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'H4' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(H4, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('H4(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'H4(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/H5.py b/dash_html_components/H5.py new file mode 100644 index 00000000..ceea3ab4 --- /dev/null +++ b/dash_html_components/H5.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class H5(Component): + """A H5 component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'H5' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(H5, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('H5(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'H5(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/H6.py b/dash_html_components/H6.py new file mode 100644 index 00000000..d81adf55 --- /dev/null +++ b/dash_html_components/H6.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class H6(Component): + """A H6 component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'H6' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(H6, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('H6(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'H6(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Header.py b/dash_html_components/Header.py new file mode 100644 index 00000000..dfd20a2e --- /dev/null +++ b/dash_html_components/Header.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Header(Component): + """A Header component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Header' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Header, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Header(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Header(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Hgroup.py b/dash_html_components/Hgroup.py new file mode 100644 index 00000000..776f6c72 --- /dev/null +++ b/dash_html_components/Hgroup.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Hgroup(Component): + """A Hgroup component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Hgroup' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Hgroup, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Hgroup(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Hgroup(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Hr.py b/dash_html_components/Hr.py new file mode 100644 index 00000000..b3763f56 --- /dev/null +++ b/dash_html_components/Hr.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Hr(Component): + """A Hr component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Hr' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Hr, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Hr(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Hr(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/I.py b/dash_html_components/I.py new file mode 100644 index 00000000..74bed9a2 --- /dev/null +++ b/dash_html_components/I.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class I(Component): + """A I component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'I' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(I, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('I(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'I(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Iframe.py b/dash_html_components/Iframe.py new file mode 100644 index 00000000..7ace11b1 --- /dev/null +++ b/dash_html_components/Iframe.py @@ -0,0 +1,81 @@ +from dash.development.base_component import Component + + +class Iframe(Component): + """A Iframe component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- height (string; optional): Specifies the height of elements listed here. For all other elements, use the CSS height property. Note: In some instances, such as
, this is a legacy attribute, in which case the CSS height property should be used instead. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- sandbox (string; optional): Stops a document loaded in an iframe from using certain features (such as submitting forms or opening new windows). +- src (string; optional): The URL of the embeddable content. +- srcDoc (string; optional) +- width (string; optional): For the elements listed here, this establishes the element's width. Note: For all other instances, such as
, this is a legacy attribute, in which case the CSS width property should be used instead. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'name', 'sandbox', 'src', 'srcDoc', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Iframe' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'name', 'sandbox', 'src', 'srcDoc', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Iframe, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Iframe(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Iframe(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Img.py b/dash_html_components/Img.py new file mode 100644 index 00000000..926f052e --- /dev/null +++ b/dash_html_components/Img.py @@ -0,0 +1,83 @@ +from dash.development.base_component import Component + + +class Img(Component): + """A Img component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- alt (string; optional): Alternative text in case an image can't be displayed. +- crossOrigin (string; optional): How the element handles cross-origin requests +- height (string; optional): Specifies the height of elements listed here. For all other elements, use the CSS height property. Note: In some instances, such as
, this is a legacy attribute, in which case the CSS height property should be used instead. +- sizes (string; optional) +- src (string; optional): The URL of the embeddable content. +- srcSet (string; optional) +- useMap (string; optional) +- width (string; optional): For the elements listed here, this establishes the element's width. Note: For all other instances, such as
, this is a legacy attribute, in which case the CSS width property should be used instead. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'crossOrigin', 'height', 'sizes', 'src', 'srcSet', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Img' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'crossOrigin', 'height', 'sizes', 'src', 'srcSet', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Img, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Img(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Img(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Ins.py b/dash_html_components/Ins.py new file mode 100644 index 00000000..ed1e31d0 --- /dev/null +++ b/dash_html_components/Ins.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Ins(Component): + """A Ins component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- cite (string; optional): Contains a URI which points to the source of the quote or change. +- dateTime (string; optional): Indicates the date and time associated with the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Ins' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Ins, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Ins(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Ins(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Isindex.py b/dash_html_components/Isindex.py new file mode 100644 index 00000000..8e73f009 --- /dev/null +++ b/dash_html_components/Isindex.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Isindex(Component): + """A Isindex component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Isindex' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Isindex, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Isindex(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Isindex(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Kbd.py b/dash_html_components/Kbd.py new file mode 100644 index 00000000..c3f2456d --- /dev/null +++ b/dash_html_components/Kbd.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Kbd(Component): + """A Kbd component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Kbd' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Kbd, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Kbd(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Kbd(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Keygen.py b/dash_html_components/Keygen.py new file mode 100644 index 00000000..0650989b --- /dev/null +++ b/dash_html_components/Keygen.py @@ -0,0 +1,81 @@ +from dash.development.base_component import Component + + +class Keygen(Component): + """A Keygen component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- autoFocus (string; optional): The element should be automatically focused after the page loaded. +- challenge (string; optional): A challenge string that is submitted along with the public key. +- disabled (string; optional): Indicates whether the user can interact with the element. +- form (string; optional): Indicates the form that is the owner of the element. +- keyType (string; optional): Specifies the type of key generated. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'challenge', 'disabled', 'form', 'keyType', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Keygen' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'challenge', 'disabled', 'form', 'keyType', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Keygen, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Keygen(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Keygen(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Label.py b/dash_html_components/Label.py new file mode 100644 index 00000000..84705365 --- /dev/null +++ b/dash_html_components/Label.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Label(Component): + """A Label component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- htmlFor (string; optional): Describes elements which belongs to this one. +- form (string; optional): Indicates the form that is the owner of the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Label' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Label, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Label(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Label(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Legend.py b/dash_html_components/Legend.py new file mode 100644 index 00000000..aa1fd482 --- /dev/null +++ b/dash_html_components/Legend.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Legend(Component): + """A Legend component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Legend' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Legend, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Legend(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Legend(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Li.py b/dash_html_components/Li.py new file mode 100644 index 00000000..96c92f4c --- /dev/null +++ b/dash_html_components/Li.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Li(Component): + """A Li component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- value (string; optional): Defines a default value which will be displayed in the element on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Li' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Li, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Li(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Li(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Link.py b/dash_html_components/Link.py new file mode 100644 index 00000000..001c4509 --- /dev/null +++ b/dash_html_components/Link.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class Link(Component): + """A Link component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- crossOrigin (string; optional): How the element handles cross-origin requests +- href (string; optional): The URL of a linked resource. +- hrefLang (string; optional): Specifies the language of the linked resource. +- integrity (string; optional): Security Feature that allows browsers to verify what they fetch. MDN Link +- media (string; optional): Specifies a hint of the media for which the linked resource was designed. +- rel (string; optional): Specifies the relationship of the target object to the link object. +- sizes (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'crossOrigin', 'href', 'hrefLang', 'integrity', 'media', 'rel', 'sizes', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Link' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'crossOrigin', 'href', 'hrefLang', 'integrity', 'media', 'rel', 'sizes', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Link, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Link(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Link(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Listing.py b/dash_html_components/Listing.py new file mode 100644 index 00000000..34566816 --- /dev/null +++ b/dash_html_components/Listing.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Listing(Component): + """A Listing component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Listing' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Listing, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Listing(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Listing(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Main.py b/dash_html_components/Main.py new file mode 100644 index 00000000..b559409a --- /dev/null +++ b/dash_html_components/Main.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Main(Component): + """A Main component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Main' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Main, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Main(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Main(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/MapEl.py b/dash_html_components/MapEl.py new file mode 100644 index 00000000..b7643804 --- /dev/null +++ b/dash_html_components/MapEl.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class MapEl(Component): + """A MapEl component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'MapEl' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(MapEl, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('MapEl(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'MapEl(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Mark.py b/dash_html_components/Mark.py new file mode 100644 index 00000000..89cee207 --- /dev/null +++ b/dash_html_components/Mark.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Mark(Component): + """A Mark component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Mark' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Mark, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Mark(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Mark(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Marquee.py b/dash_html_components/Marquee.py new file mode 100644 index 00000000..ff84dc1f --- /dev/null +++ b/dash_html_components/Marquee.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Marquee(Component): + """A Marquee component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- loop (string; optional): Indicates whether the media should start playing from the start when it's finished. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'loop', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Marquee' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'loop', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Marquee, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Marquee(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Marquee(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Meta.py b/dash_html_components/Meta.py new file mode 100644 index 00000000..bd82dffc --- /dev/null +++ b/dash_html_components/Meta.py @@ -0,0 +1,79 @@ +from dash.development.base_component import Component + + +class Meta(Component): + """A Meta component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- charSet (string; optional): Declares the character encoding of the page or script. +- content (string; optional): A value associated with http-equiv or name depending on the context. +- httpEquiv (string; optional) +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'charSet', 'content', 'httpEquiv', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Meta' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'charSet', 'content', 'httpEquiv', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Meta, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Meta(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Meta(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Meter.py b/dash_html_components/Meter.py new file mode 100644 index 00000000..c22e5a6b --- /dev/null +++ b/dash_html_components/Meter.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class Meter(Component): + """A Meter component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- form (string; optional): Indicates the form that is the owner of the element. +- high (string; optional): Indicates the lower bound of the upper range. +- low (string; optional): Indicates the upper bound of the lower range. +- max (string; optional): Indicates the maximum value allowed. +- min (string; optional): Indicates the minimum value allowed. +- optimum (string; optional): Indicates the optimal numeric value. +- value (string; optional): Defines a default value which will be displayed in the element on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'high', 'low', 'max', 'min', 'optimum', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Meter' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'high', 'low', 'max', 'min', 'optimum', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Meter, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Meter(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Meter(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Multicol.py b/dash_html_components/Multicol.py new file mode 100644 index 00000000..55e92acc --- /dev/null +++ b/dash_html_components/Multicol.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Multicol(Component): + """A Multicol component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Multicol' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Multicol, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Multicol(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Multicol(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Nav.py b/dash_html_components/Nav.py new file mode 100644 index 00000000..11a56347 --- /dev/null +++ b/dash_html_components/Nav.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Nav(Component): + """A Nav component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Nav' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Nav, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Nav(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Nav(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Nextid.py b/dash_html_components/Nextid.py new file mode 100644 index 00000000..595b4f75 --- /dev/null +++ b/dash_html_components/Nextid.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Nextid(Component): + """A Nextid component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Nextid' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Nextid, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Nextid(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Nextid(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Nobr.py b/dash_html_components/Nobr.py new file mode 100644 index 00000000..087d36b5 --- /dev/null +++ b/dash_html_components/Nobr.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Nobr(Component): + """A Nobr component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Nobr' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Nobr, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Nobr(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Nobr(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Noscript.py b/dash_html_components/Noscript.py new file mode 100644 index 00000000..65cab62b --- /dev/null +++ b/dash_html_components/Noscript.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Noscript(Component): + """A Noscript component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Noscript' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Noscript, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Noscript(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Noscript(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/ObjectEl.py b/dash_html_components/ObjectEl.py new file mode 100644 index 00000000..784bc4cc --- /dev/null +++ b/dash_html_components/ObjectEl.py @@ -0,0 +1,81 @@ +from dash.development.base_component import Component + + +class ObjectEl(Component): + """A ObjectEl component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- form (string; optional): Indicates the form that is the owner of the element. +- height (string; optional): Specifies the height of elements listed here. For all other elements, use the CSS height property. Note: In some instances, such as
, this is a legacy attribute, in which case the CSS height property should be used instead. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- type (string; optional): Defines the type of the element. +- useMap (string; optional) +- width (string; optional): For the elements listed here, this establishes the element's width. Note: For all other instances, such as
, this is a legacy attribute, in which case the CSS width property should be used instead. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'height', 'name', 'type', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'ObjectEl' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'height', 'name', 'type', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(ObjectEl, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('ObjectEl(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'ObjectEl(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Ol.py b/dash_html_components/Ol.py new file mode 100644 index 00000000..97c788b2 --- /dev/null +++ b/dash_html_components/Ol.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Ol(Component): + """A Ol component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- reversed (string; optional): Indicates whether the list should be displayed in a descending order instead of a ascending. +- start (string; optional): Defines the first number if other than 1. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'reversed', 'start', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Ol' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'reversed', 'start', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Ol, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Ol(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Ol(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Optgroup.py b/dash_html_components/Optgroup.py new file mode 100644 index 00000000..cb4ac54d --- /dev/null +++ b/dash_html_components/Optgroup.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Optgroup(Component): + """A Optgroup component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- disabled (string; optional): Indicates whether the user can interact with the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Optgroup' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Optgroup, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Optgroup(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Optgroup(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Option.py b/dash_html_components/Option.py new file mode 100644 index 00000000..a7870762 --- /dev/null +++ b/dash_html_components/Option.py @@ -0,0 +1,78 @@ +from dash.development.base_component import Component + + +class Option(Component): + """A Option component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- disabled (string; optional): Indicates whether the user can interact with the element. +- selected (string; optional): Defines a value which will be selected on page load. +- value (string; optional): Defines a default value which will be displayed in the element on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'selected', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Option' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'selected', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Option, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Option(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Option(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Output.py b/dash_html_components/Output.py new file mode 100644 index 00000000..3cb0a86b --- /dev/null +++ b/dash_html_components/Output.py @@ -0,0 +1,78 @@ +from dash.development.base_component import Component + + +class Output(Component): + """A Output component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- htmlFor (string; optional): Describes elements which belongs to this one. +- form (string; optional): Indicates the form that is the owner of the element. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Output' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Output, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Output(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Output(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/P.py b/dash_html_components/P.py new file mode 100644 index 00000000..5c137884 --- /dev/null +++ b/dash_html_components/P.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class P(Component): + """A P component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'P' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(P, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('P(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'P(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Param.py b/dash_html_components/Param.py new file mode 100644 index 00000000..ee4ab6b5 --- /dev/null +++ b/dash_html_components/Param.py @@ -0,0 +1,77 @@ +from dash.development.base_component import Component + + +class Param(Component): + """A Param component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- value (string; optional): Defines a default value which will be displayed in the element on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Param' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Param, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Param(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Param(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Picture.py b/dash_html_components/Picture.py new file mode 100644 index 00000000..126d84a0 --- /dev/null +++ b/dash_html_components/Picture.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Picture(Component): + """A Picture component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Picture' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Picture, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Picture(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Picture(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Plaintext.py b/dash_html_components/Plaintext.py new file mode 100644 index 00000000..a6630e0f --- /dev/null +++ b/dash_html_components/Plaintext.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Plaintext(Component): + """A Plaintext component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Plaintext' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Plaintext, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Plaintext(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Plaintext(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Pre.py b/dash_html_components/Pre.py new file mode 100644 index 00000000..e805903c --- /dev/null +++ b/dash_html_components/Pre.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Pre(Component): + """A Pre component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Pre' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Pre, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Pre(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Pre(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Progress.py b/dash_html_components/Progress.py new file mode 100644 index 00000000..c773e3ea --- /dev/null +++ b/dash_html_components/Progress.py @@ -0,0 +1,78 @@ +from dash.development.base_component import Component + + +class Progress(Component): + """A Progress component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- form (string; optional): Indicates the form that is the owner of the element. +- max (string; optional): Indicates the maximum value allowed. +- value (string; optional): Defines a default value which will be displayed in the element on page load. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'max', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Progress' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'max', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Progress, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Progress(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Progress(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Q.py b/dash_html_components/Q.py new file mode 100644 index 00000000..7b636caa --- /dev/null +++ b/dash_html_components/Q.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Q(Component): + """A Q component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- cite (string; optional): Contains a URI which points to the source of the quote or change. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Q' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Q, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Q(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Q(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Rp.py b/dash_html_components/Rp.py new file mode 100644 index 00000000..d5fb85b9 --- /dev/null +++ b/dash_html_components/Rp.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Rp(Component): + """A Rp component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Rp' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Rp, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Rp(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Rp(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Rt.py b/dash_html_components/Rt.py new file mode 100644 index 00000000..d247aebd --- /dev/null +++ b/dash_html_components/Rt.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Rt(Component): + """A Rt component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Rt' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Rt, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Rt(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Rt(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Rtc.py b/dash_html_components/Rtc.py new file mode 100644 index 00000000..e06407c0 --- /dev/null +++ b/dash_html_components/Rtc.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Rtc(Component): + """A Rtc component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Rtc' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Rtc, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Rtc(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Rtc(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Ruby.py b/dash_html_components/Ruby.py new file mode 100644 index 00000000..9f1af3f3 --- /dev/null +++ b/dash_html_components/Ruby.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Ruby(Component): + """A Ruby component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Ruby' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Ruby, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Ruby(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Ruby(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/S.py b/dash_html_components/S.py new file mode 100644 index 00000000..35ee8582 --- /dev/null +++ b/dash_html_components/S.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class S(Component): + """A S component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'S' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(S, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('S(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'S(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Samp.py b/dash_html_components/Samp.py new file mode 100644 index 00000000..bc2b118b --- /dev/null +++ b/dash_html_components/Samp.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Samp(Component): + """A Samp component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Samp' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Samp, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Samp(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Samp(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Script.py b/dash_html_components/Script.py new file mode 100644 index 00000000..8064f29c --- /dev/null +++ b/dash_html_components/Script.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class Script(Component): + """A Script component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- async (string; optional): Indicates that the script should be executed asynchronously. +- charSet (string; optional): Declares the character encoding of the page or script. +- crossOrigin (string; optional): How the element handles cross-origin requests +- defer (string; optional): Indicates that the script should be executed after the page has been parsed. +- integrity (string; optional): Security Feature that allows browsers to verify what they fetch. MDN Link +- src (string; optional): The URL of the embeddable content. +- type (string; optional): Defines the type of the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'async', 'charSet', 'crossOrigin', 'defer', 'integrity', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Script' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'async', 'charSet', 'crossOrigin', 'defer', 'integrity', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Script, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Script(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Script(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Section.py b/dash_html_components/Section.py new file mode 100644 index 00000000..0ac9590d --- /dev/null +++ b/dash_html_components/Section.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Section(Component): + """A Section component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Section' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Section, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Section(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Section(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Select.py b/dash_html_components/Select.py new file mode 100644 index 00000000..6b5b2401 --- /dev/null +++ b/dash_html_components/Select.py @@ -0,0 +1,82 @@ +from dash.development.base_component import Component + + +class Select(Component): + """A Select component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- autoFocus (string; optional): The element should be automatically focused after the page loaded. +- disabled (string; optional): Indicates whether the user can interact with the element. +- form (string; optional): Indicates the form that is the owner of the element. +- multiple (string; optional): Indicates whether multiple values can be entered in an input of the type email or file. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- required (string; optional): Indicates whether this element is required to fill out or not. +- size (string; optional): Defines the width of the element (in pixels). If the element's type attribute is text or password then it's the number of characters. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'multiple', 'name', 'required', 'size', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Select' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'multiple', 'name', 'required', 'size', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Select, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Select(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Select(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Shadow.py b/dash_html_components/Shadow.py new file mode 100644 index 00000000..cc7f7228 --- /dev/null +++ b/dash_html_components/Shadow.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Shadow(Component): + """A Shadow component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Shadow' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Shadow, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Shadow(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Shadow(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Slot.py b/dash_html_components/Slot.py new file mode 100644 index 00000000..6b474770 --- /dev/null +++ b/dash_html_components/Slot.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Slot(Component): + """A Slot component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Slot' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Slot, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Slot(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Slot(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Small.py b/dash_html_components/Small.py new file mode 100644 index 00000000..8268b1ae --- /dev/null +++ b/dash_html_components/Small.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Small(Component): + """A Small component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Small' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Small, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Small(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Small(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Source.py b/dash_html_components/Source.py new file mode 100644 index 00000000..b03c8c1f --- /dev/null +++ b/dash_html_components/Source.py @@ -0,0 +1,79 @@ +from dash.development.base_component import Component + + +class Source(Component): + """A Source component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- media (string; optional): Specifies a hint of the media for which the linked resource was designed. +- sizes (string; optional) +- src (string; optional): The URL of the embeddable content. +- type (string; optional): Defines the type of the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'media', 'sizes', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Source' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'media', 'sizes', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Source, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Source(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Source(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Spacer.py b/dash_html_components/Spacer.py new file mode 100644 index 00000000..30c1fad5 --- /dev/null +++ b/dash_html_components/Spacer.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Spacer(Component): + """A Spacer component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Spacer' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Spacer, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Spacer(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Spacer(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Span.py b/dash_html_components/Span.py new file mode 100644 index 00000000..c0da6262 --- /dev/null +++ b/dash_html_components/Span.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Span(Component): + """A Span component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Span' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Span, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Span(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Span(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Strike.py b/dash_html_components/Strike.py new file mode 100644 index 00000000..b6d995e6 --- /dev/null +++ b/dash_html_components/Strike.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Strike(Component): + """A Strike component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Strike' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Strike, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Strike(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Strike(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Strong.py b/dash_html_components/Strong.py new file mode 100644 index 00000000..12513115 --- /dev/null +++ b/dash_html_components/Strong.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Strong(Component): + """A Strong component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Strong' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Strong, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Strong(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Strong(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Sub.py b/dash_html_components/Sub.py new file mode 100644 index 00000000..2432c321 --- /dev/null +++ b/dash_html_components/Sub.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Sub(Component): + """A Sub component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Sub' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Sub, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Sub(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Sub(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Summary.py b/dash_html_components/Summary.py new file mode 100644 index 00000000..f7f30f30 --- /dev/null +++ b/dash_html_components/Summary.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Summary(Component): + """A Summary component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Summary' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Summary, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Summary(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Summary(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Sup.py b/dash_html_components/Sup.py new file mode 100644 index 00000000..1e9f06d6 --- /dev/null +++ b/dash_html_components/Sup.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Sup(Component): + """A Sup component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Sup' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Sup, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Sup(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Sup(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Table.py b/dash_html_components/Table.py new file mode 100644 index 00000000..7e6e11dd --- /dev/null +++ b/dash_html_components/Table.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Table(Component): + """A Table component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- summary (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'summary', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Table' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'summary', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Table, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Table(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Table(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Tbody.py b/dash_html_components/Tbody.py new file mode 100644 index 00000000..a2a5b37e --- /dev/null +++ b/dash_html_components/Tbody.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Tbody(Component): + """A Tbody component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Tbody' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Tbody, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Tbody(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Tbody(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Td.py b/dash_html_components/Td.py new file mode 100644 index 00000000..8ef1dad2 --- /dev/null +++ b/dash_html_components/Td.py @@ -0,0 +1,78 @@ +from dash.development.base_component import Component + + +class Td(Component): + """A Td component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- colSpan (string; optional): The colspan attribute defines the number of columns a cell should span. +- headers (string; optional): IDs of the elements which applies to this element. +- rowSpan (string; optional): Defines the number of rows a table cell should span over. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Td' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Td, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Td(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Td(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Template.py b/dash_html_components/Template.py new file mode 100644 index 00000000..a3cdaf04 --- /dev/null +++ b/dash_html_components/Template.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Template(Component): + """A Template component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Template' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Template, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Template(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Template(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Textarea.py b/dash_html_components/Textarea.py new file mode 100644 index 00000000..474b97c4 --- /dev/null +++ b/dash_html_components/Textarea.py @@ -0,0 +1,88 @@ +from dash.development.base_component import Component + + +class Textarea(Component): + """A Textarea component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- autoComplete (string; optional): Indicates whether controls in this form can by default have their values automatically completed by the browser. +- autoFocus (string; optional): The element should be automatically focused after the page loaded. +- cols (string; optional): Defines the number of columns in a textarea. +- disabled (string; optional): Indicates whether the user can interact with the element. +- form (string; optional): Indicates the form that is the owner of the element. +- maxLength (string; optional): Defines the maximum number of characters allowed in the element. +- minLength (string; optional): Defines the minimum number of characters allowed in the element. +- name (string; optional): Name of the element. For example used by the server to identify the fields in form submits. +- placeholder (string; optional): Provides a hint to the user of what can be entered in the field. +- readOnly (string; optional): Indicates whether the element can be edited. +- required (string; optional): Indicates whether this element is required to fill out or not. +- rows (string; optional): Defines the number of rows in a text area. +- wrap (string; optional): Indicates whether the text should be wrapped. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoComplete', 'autoFocus', 'cols', 'disabled', 'form', 'maxLength', 'minLength', 'name', 'placeholder', 'readOnly', 'required', 'rows', 'wrap', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Textarea' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoComplete', 'autoFocus', 'cols', 'disabled', 'form', 'maxLength', 'minLength', 'name', 'placeholder', 'readOnly', 'required', 'rows', 'wrap', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Textarea, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Textarea(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Textarea(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Tfoot.py b/dash_html_components/Tfoot.py new file mode 100644 index 00000000..27004d02 --- /dev/null +++ b/dash_html_components/Tfoot.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Tfoot(Component): + """A Tfoot component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Tfoot' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Tfoot, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Tfoot(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Tfoot(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Th.py b/dash_html_components/Th.py new file mode 100644 index 00000000..e07bf6f1 --- /dev/null +++ b/dash_html_components/Th.py @@ -0,0 +1,79 @@ +from dash.development.base_component import Component + + +class Th(Component): + """A Th component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- colSpan (string; optional): The colspan attribute defines the number of columns a cell should span. +- headers (string; optional): IDs of the elements which applies to this element. +- rowSpan (string; optional): Defines the number of rows a table cell should span over. +- scope (string; optional): Defines the cells that the header test (defined in the th element) relates to. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'scope', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Th' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'scope', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Th, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Th(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Th(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Thead.py b/dash_html_components/Thead.py new file mode 100644 index 00000000..eb960df2 --- /dev/null +++ b/dash_html_components/Thead.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Thead(Component): + """A Thead component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Thead' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Thead, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Thead(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Thead(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Time.py b/dash_html_components/Time.py new file mode 100644 index 00000000..45a36701 --- /dev/null +++ b/dash_html_components/Time.py @@ -0,0 +1,76 @@ +from dash.development.base_component import Component + + +class Time(Component): + """A Time component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- dateTime (string; optional): Indicates the date and time associated with the element. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Time' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Time, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Time(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Time(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Title.py b/dash_html_components/Title.py new file mode 100644 index 00000000..ea4cb917 --- /dev/null +++ b/dash_html_components/Title.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Title(Component): + """A Title component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Title' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Title, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Title(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Title(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Tr.py b/dash_html_components/Tr.py new file mode 100644 index 00000000..032bb86a --- /dev/null +++ b/dash_html_components/Tr.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Tr(Component): + """A Tr component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Tr' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Tr, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Tr(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Tr(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Track.py b/dash_html_components/Track.py new file mode 100644 index 00000000..fde5bb90 --- /dev/null +++ b/dash_html_components/Track.py @@ -0,0 +1,80 @@ +from dash.development.base_component import Component + + +class Track(Component): + """A Track component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- default (string; optional): Indicates that the track should be enabled unless the user's preferences indicate something different. +- kind (string; optional): Specifies the kind of text track. +- label (string; optional): Specifies a user-readable title of the text track. +- src (string; optional): The URL of the embeddable content. +- srcLang (string; optional) +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'default', 'kind', 'label', 'src', 'srcLang', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Track' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'default', 'kind', 'label', 'src', 'srcLang', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Track, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Track(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Track(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/U.py b/dash_html_components/U.py new file mode 100644 index 00000000..5cdff465 --- /dev/null +++ b/dash_html_components/U.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class U(Component): + """A U component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'U' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(U, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('U(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'U(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Ul.py b/dash_html_components/Ul.py new file mode 100644 index 00000000..b983c472 --- /dev/null +++ b/dash_html_components/Ul.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Ul(Component): + """A Ul component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Ul' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Ul, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Ul(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Ul(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Var.py b/dash_html_components/Var.py new file mode 100644 index 00000000..4a6f22fa --- /dev/null +++ b/dash_html_components/Var.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Var(Component): + """A Var component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Var' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Var, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Var(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Var(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Video.py b/dash_html_components/Video.py new file mode 100644 index 00000000..dd36e047 --- /dev/null +++ b/dash_html_components/Video.py @@ -0,0 +1,85 @@ +from dash.development.base_component import Component + + +class Video(Component): + """A Video component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- autoPlay (string; optional): The audio or video should play as soon as possible. +- controls (string; optional): Indicates whether the browser should show playback controls to the user. +- crossOrigin (string; optional): How the element handles cross-origin requests +- height (string; optional): Specifies the height of elements listed here. For all other elements, use the CSS height property. Note: In some instances, such as
, this is a legacy attribute, in which case the CSS height property should be used instead. +- loop (string; optional): Indicates whether the media should start playing from the start when it's finished. +- muted (string; optional): Indicates whether the audio will be initially silenced on page load. +- poster (string; optional): A URL indicating a poster frame to show until the user plays or seeks. +- preload (string; optional): Indicates whether the whole resource, parts of it or nothing should be preloaded. +- src (string; optional): The URL of the embeddable content. +- width (string; optional): For the elements listed here, this establishes the element's width. Note: For all other instances, such as
, this is a legacy attribute, in which case the CSS width property should be used instead. +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'height', 'loop', 'muted', 'poster', 'preload', 'src', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Video' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'height', 'loop', 'muted', 'poster', 'preload', 'src', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Video, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Video(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Video(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Wbr.py b/dash_html_components/Wbr.py new file mode 100644 index 00000000..be55d978 --- /dev/null +++ b/dash_html_components/Wbr.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Wbr(Component): + """A Wbr component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Wbr' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Wbr, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Wbr(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Wbr(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/Xmp.py b/dash_html_components/Xmp.py new file mode 100644 index 00000000..d066b60d --- /dev/null +++ b/dash_html_components/Xmp.py @@ -0,0 +1,75 @@ +from dash.development.base_component import Component + + +class Xmp(Component): + """A Xmp component. + + +Keyword arguments: +- children (a list of or a singular dash component, string or number; optional): The children of this 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. +- n_clicks (optional): An integer that represents the number of times +that this element has been clicked on. +- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970) +at which n_clicks changed. This can be used to tell +which button was changed most recently. +- key (string; optional): A unique identifier for the component, used to improve +performance by React.js while rendering components +See https://reactjs.org/docs/lists-and-keys.html for more info +- role (string; optional): The ARIA role attribute +- data-* (string; optional): A wildcard data attribute +- aria-* (string; optional): A wildcard aria attribute +- accessKey (string; optional): Defines a keyboard shortcut to activate or add focus to the element. +- className (string; optional): Often used with CSS to style elements with common properties. +- contentEditable (string; optional): Indicates whether the element's content is editable. +- contextMenu (string; optional): Defines the ID of a element which will serve as the element's context menu. +- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) +- draggable (string; optional): Defines whether the element can be dragged. +- hidden (string; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active. +- lang (string; optional): Defines the language used in the element. +- spellCheck (string; optional): Indicates whether spell checking is allowed for the element. +- style (dict; optional): Defines CSS styles which will override styles previously set. +- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead. +- title (string; optional): Text to be displayed in a tooltip when hovering over the element. + +Available events: 'click'""" + def __init__(self, children=None, **kwargs): + self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self._type = 'Xmp' + self._namespace = 'lib' + self._valid_wildcard_attributes = ['data-', 'aria-'] + self.available_events = ['click'] + self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] + self.available_wildcard_properties = ['data-', 'aria-'] + + for k in []: + if k not in kwargs: + raise TypeError( + 'Required argument `' + k + '` was not specified.') + + super(Xmp, self).__init__(children=children, **kwargs) + + def __repr__(self): + if(any(getattr(self, c, None) is not None + for c in self._prop_names + if c is not self._prop_names[0]) + or any(getattr(self, c, None) is not None + for c in self.__dict__.keys() + if any(c.startswith(wc_attr) + for wc_attr in self._valid_wildcard_attributes))): + props_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self._prop_names + if getattr(self, c, None) is not None]) + wilds_string = ', '.join([c+'='+repr(getattr(self, c, None)) + for c in self.__dict__.keys() + if any([c.startswith(wc_attr) + for wc_attr in + self._valid_wildcard_attributes])]) + return ('Xmp(' + props_string + + (', ' + wilds_string if wilds_string != '' else '') + ')') + else: + return ( + 'Xmp(' + + repr(getattr(self, self._prop_names[0], None)) + ')') diff --git a/dash_html_components/__init__.py b/dash_html_components/__init__.py index bc9cabb2..0faadaa1 100644 --- a/dash_html_components/__init__.py +++ b/dash_html_components/__init__.py @@ -2,6 +2,8 @@ import os as _os import sys as _sys +import glob as _glob +from importlib import import_module as _import import dash as _dash @@ -15,22 +17,39 @@ _current_path = _os.path.dirname(_os.path.abspath(__file__)) -_components = _dash.development.component_loader.load_components( - _os.path.join(_current_path, 'metadata.json'), - 'dash_html_components' +_component_files = map( + lambda x: _os.path.splitext(_os.path.basename(x))[0], + filter( + lambda x: _os.path.basename(x) not in ['__init__.py', 'version.py'], + _glob.glob(_os.path.join(_current_path, '*.py')) + ) ) +_components = [ + getattr( + _import(".{:s}".format(c), package='dash_html_components'), + c + ) for c in _component_files +] + _this_module = _sys.modules[__name__] -_js_dist = [{ - "relative_package_path": "bundle.js", - "external_url": ( - "https://unpkg.com/dash-html-components@{}" - "/dash_html_components/bundle.js" - ).format(__version__), - "namespace": "dash_html_components" -}] - -for component in _components: - setattr(_this_module, component.__name__, component) - setattr(component, '_js_dist', _js_dist) + +_js_dist = [ + { + "relative_package_path": "bundle.js", + "external_url": ( + "https://unpkg.com/dash-html-components@{}" + "/dash_html_components/bundle.js" + ).format(__version__), + "namespace": "dash_html_components" + } +] + +_css_dist = [] + + +for _component in _components: + setattr(_this_module, _component.__name__, _component) + setattr(_component, '_js_dist', _js_dist) + setattr(_component, '_css_dist', _css_dist) diff --git a/package.json b/package.json index 268eb305..fde4f6dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-html-components", - "version": "0.11.0", + "version": "0.12.0", "description": "Vanilla HTML components for Dash", "main": "lib/index.js", "repository": { @@ -29,12 +29,12 @@ "author": "Chris Parmer ", "dependencies": { "builder": "3.2.1", - "dash-components-archetype": "^0.2.4", + "dash-components-archetype": "^0.3.0", "prop-types": "^15.6.0" }, "devDependencies": { "cheerio": "^0.20.0", - "dash-components-archetype-dev": "^0.2.4", + "dash-components-archetype-dev": "^0.3.0", "request": "^2.72.0", "string": "^3.3.1" }, From 0efe618f961c6b8381a1f4aa03bbefde94b5b94f Mon Sep 17 00:00:00 2001 From: Ryan Marren Date: Tue, 19 Jun 2018 20:33:45 -0400 Subject: [PATCH 2/5] Added 'AUTO GENERATED FILE - DO NOT EDIT' comment to all components. --- dash_html_components/A.py | 2 ++ dash_html_components/Abbr.py | 2 ++ dash_html_components/Acronym.py | 2 ++ dash_html_components/Address.py | 2 ++ dash_html_components/Area.py | 2 ++ dash_html_components/Article.py | 2 ++ dash_html_components/Aside.py | 2 ++ dash_html_components/Audio.py | 2 ++ dash_html_components/B.py | 2 ++ dash_html_components/Base.py | 2 ++ dash_html_components/Basefont.py | 2 ++ dash_html_components/Bdi.py | 2 ++ dash_html_components/Bdo.py | 2 ++ dash_html_components/Big.py | 2 ++ dash_html_components/Blink.py | 2 ++ dash_html_components/Blockquote.py | 2 ++ dash_html_components/Br.py | 2 ++ dash_html_components/Button.py | 2 ++ dash_html_components/Canvas.py | 2 ++ dash_html_components/Caption.py | 2 ++ dash_html_components/Center.py | 2 ++ dash_html_components/Cite.py | 2 ++ dash_html_components/Code.py | 2 ++ dash_html_components/Col.py | 2 ++ dash_html_components/Colgroup.py | 2 ++ dash_html_components/Command.py | 2 ++ dash_html_components/Content.py | 2 ++ dash_html_components/Data.py | 2 ++ dash_html_components/Datalist.py | 2 ++ dash_html_components/Dd.py | 2 ++ dash_html_components/Del.py | 2 ++ dash_html_components/Details.py | 2 ++ dash_html_components/Dfn.py | 2 ++ dash_html_components/Dialog.py | 2 ++ dash_html_components/Div.py | 2 ++ dash_html_components/Dl.py | 2 ++ dash_html_components/Dt.py | 2 ++ dash_html_components/Element.py | 2 ++ dash_html_components/Em.py | 2 ++ dash_html_components/Embed.py | 2 ++ dash_html_components/Fieldset.py | 2 ++ dash_html_components/Figcaption.py | 2 ++ dash_html_components/Figure.py | 2 ++ dash_html_components/Font.py | 2 ++ dash_html_components/Footer.py | 2 ++ dash_html_components/Form.py | 2 ++ dash_html_components/Frame.py | 2 ++ dash_html_components/Frameset.py | 2 ++ dash_html_components/H1.py | 2 ++ dash_html_components/H2.py | 2 ++ dash_html_components/H3.py | 2 ++ dash_html_components/H4.py | 2 ++ dash_html_components/H5.py | 2 ++ dash_html_components/H6.py | 2 ++ dash_html_components/Header.py | 2 ++ dash_html_components/Hgroup.py | 2 ++ dash_html_components/Hr.py | 2 ++ dash_html_components/I.py | 2 ++ dash_html_components/Iframe.py | 2 ++ dash_html_components/Img.py | 2 ++ dash_html_components/Ins.py | 2 ++ dash_html_components/Isindex.py | 2 ++ dash_html_components/Kbd.py | 2 ++ dash_html_components/Keygen.py | 2 ++ dash_html_components/Label.py | 2 ++ dash_html_components/Legend.py | 2 ++ dash_html_components/Li.py | 2 ++ dash_html_components/Link.py | 2 ++ dash_html_components/Listing.py | 2 ++ dash_html_components/Main.py | 2 ++ dash_html_components/MapEl.py | 2 ++ dash_html_components/Mark.py | 2 ++ dash_html_components/Marquee.py | 2 ++ dash_html_components/Meta.py | 2 ++ dash_html_components/Meter.py | 2 ++ dash_html_components/Multicol.py | 2 ++ dash_html_components/Nav.py | 2 ++ dash_html_components/Nextid.py | 2 ++ dash_html_components/Nobr.py | 2 ++ dash_html_components/Noscript.py | 2 ++ dash_html_components/ObjectEl.py | 2 ++ dash_html_components/Ol.py | 2 ++ dash_html_components/Optgroup.py | 2 ++ dash_html_components/Option.py | 2 ++ dash_html_components/Output.py | 2 ++ dash_html_components/P.py | 2 ++ dash_html_components/Param.py | 2 ++ dash_html_components/Picture.py | 2 ++ dash_html_components/Plaintext.py | 2 ++ dash_html_components/Pre.py | 2 ++ dash_html_components/Progress.py | 2 ++ dash_html_components/Q.py | 2 ++ dash_html_components/Rp.py | 2 ++ dash_html_components/Rt.py | 2 ++ dash_html_components/Rtc.py | 2 ++ dash_html_components/Ruby.py | 2 ++ dash_html_components/S.py | 2 ++ dash_html_components/Samp.py | 2 ++ dash_html_components/Script.py | 2 ++ dash_html_components/Section.py | 2 ++ dash_html_components/Select.py | 2 ++ dash_html_components/Shadow.py | 2 ++ dash_html_components/Slot.py | 2 ++ dash_html_components/Small.py | 2 ++ dash_html_components/Source.py | 2 ++ dash_html_components/Spacer.py | 2 ++ dash_html_components/Span.py | 2 ++ dash_html_components/Strike.py | 2 ++ dash_html_components/Strong.py | 2 ++ dash_html_components/Sub.py | 2 ++ dash_html_components/Summary.py | 2 ++ dash_html_components/Sup.py | 2 ++ dash_html_components/Table.py | 2 ++ dash_html_components/Tbody.py | 2 ++ dash_html_components/Td.py | 2 ++ dash_html_components/Template.py | 2 ++ dash_html_components/Textarea.py | 2 ++ dash_html_components/Tfoot.py | 2 ++ dash_html_components/Th.py | 2 ++ dash_html_components/Thead.py | 2 ++ dash_html_components/Time.py | 2 ++ dash_html_components/Title.py | 2 ++ dash_html_components/Tr.py | 2 ++ dash_html_components/Track.py | 2 ++ dash_html_components/U.py | 2 ++ dash_html_components/Ul.py | 2 ++ dash_html_components/Var.py | 2 ++ dash_html_components/Video.py | 2 ++ dash_html_components/Wbr.py | 2 ++ dash_html_components/Xmp.py | 2 ++ 130 files changed, 260 insertions(+) diff --git a/dash_html_components/A.py b/dash_html_components/A.py index 8f7fb492..99f10a56 100644 --- a/dash_html_components/A.py +++ b/dash_html_components/A.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Abbr.py b/dash_html_components/Abbr.py index d7a889a8..1d62bc3a 100644 --- a/dash_html_components/Abbr.py +++ b/dash_html_components/Abbr.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Acronym.py b/dash_html_components/Acronym.py index 4ee79081..320fe47f 100644 --- a/dash_html_components/Acronym.py +++ b/dash_html_components/Acronym.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Address.py b/dash_html_components/Address.py index a7de88fd..3289e1b0 100644 --- a/dash_html_components/Address.py +++ b/dash_html_components/Address.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Area.py b/dash_html_components/Area.py index c3897e63..e10d267b 100644 --- a/dash_html_components/Area.py +++ b/dash_html_components/Area.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Article.py b/dash_html_components/Article.py index 59d2a9af..2cfb8774 100644 --- a/dash_html_components/Article.py +++ b/dash_html_components/Article.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Aside.py b/dash_html_components/Aside.py index 65ca43f3..cc9a3901 100644 --- a/dash_html_components/Aside.py +++ b/dash_html_components/Aside.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Audio.py b/dash_html_components/Audio.py index c24e1148..cfeb6037 100644 --- a/dash_html_components/Audio.py +++ b/dash_html_components/Audio.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/B.py b/dash_html_components/B.py index 1845d5fe..fc05f32b 100644 --- a/dash_html_components/B.py +++ b/dash_html_components/B.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Base.py b/dash_html_components/Base.py index 867208f6..9e84e8bb 100644 --- a/dash_html_components/Base.py +++ b/dash_html_components/Base.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Basefont.py b/dash_html_components/Basefont.py index 758194a5..543f43a6 100644 --- a/dash_html_components/Basefont.py +++ b/dash_html_components/Basefont.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Bdi.py b/dash_html_components/Bdi.py index 1eb7705b..d342a412 100644 --- a/dash_html_components/Bdi.py +++ b/dash_html_components/Bdi.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Bdo.py b/dash_html_components/Bdo.py index 56d82b8b..c6fd6e81 100644 --- a/dash_html_components/Bdo.py +++ b/dash_html_components/Bdo.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Big.py b/dash_html_components/Big.py index c3c5bc91..2d18353a 100644 --- a/dash_html_components/Big.py +++ b/dash_html_components/Big.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Blink.py b/dash_html_components/Blink.py index d9963d6f..333ec1f5 100644 --- a/dash_html_components/Blink.py +++ b/dash_html_components/Blink.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Blockquote.py b/dash_html_components/Blockquote.py index b9c7da73..f060c966 100644 --- a/dash_html_components/Blockquote.py +++ b/dash_html_components/Blockquote.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Br.py b/dash_html_components/Br.py index 7583f6dc..6833060a 100644 --- a/dash_html_components/Br.py +++ b/dash_html_components/Br.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Button.py b/dash_html_components/Button.py index 110f3187..a1c49a1f 100644 --- a/dash_html_components/Button.py +++ b/dash_html_components/Button.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Canvas.py b/dash_html_components/Canvas.py index 6b5800b8..2803c4e7 100644 --- a/dash_html_components/Canvas.py +++ b/dash_html_components/Canvas.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Caption.py b/dash_html_components/Caption.py index 42ba746a..48376d77 100644 --- a/dash_html_components/Caption.py +++ b/dash_html_components/Caption.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Center.py b/dash_html_components/Center.py index 603fac64..3dced807 100644 --- a/dash_html_components/Center.py +++ b/dash_html_components/Center.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Cite.py b/dash_html_components/Cite.py index 9c648791..71d8880c 100644 --- a/dash_html_components/Cite.py +++ b/dash_html_components/Cite.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Code.py b/dash_html_components/Code.py index 2eb9e2b0..61b38a2f 100644 --- a/dash_html_components/Code.py +++ b/dash_html_components/Code.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Col.py b/dash_html_components/Col.py index 8d804e7e..fff8a8b2 100644 --- a/dash_html_components/Col.py +++ b/dash_html_components/Col.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Colgroup.py b/dash_html_components/Colgroup.py index ad53fe03..be2fe16f 100644 --- a/dash_html_components/Colgroup.py +++ b/dash_html_components/Colgroup.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Command.py b/dash_html_components/Command.py index 7041b48a..686c29dd 100644 --- a/dash_html_components/Command.py +++ b/dash_html_components/Command.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Content.py b/dash_html_components/Content.py index e107bdcd..ed2c96e4 100644 --- a/dash_html_components/Content.py +++ b/dash_html_components/Content.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Data.py b/dash_html_components/Data.py index 7df3810b..720e54ea 100644 --- a/dash_html_components/Data.py +++ b/dash_html_components/Data.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Datalist.py b/dash_html_components/Datalist.py index c0c8b4ed..fa490754 100644 --- a/dash_html_components/Datalist.py +++ b/dash_html_components/Datalist.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Dd.py b/dash_html_components/Dd.py index a03c7d97..abd58faf 100644 --- a/dash_html_components/Dd.py +++ b/dash_html_components/Dd.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Del.py b/dash_html_components/Del.py index 6cf6ecb6..621a2d7b 100644 --- a/dash_html_components/Del.py +++ b/dash_html_components/Del.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Details.py b/dash_html_components/Details.py index 0af52dc8..a720c284 100644 --- a/dash_html_components/Details.py +++ b/dash_html_components/Details.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Dfn.py b/dash_html_components/Dfn.py index 8925786d..fecc98fd 100644 --- a/dash_html_components/Dfn.py +++ b/dash_html_components/Dfn.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Dialog.py b/dash_html_components/Dialog.py index a28f275d..722da045 100644 --- a/dash_html_components/Dialog.py +++ b/dash_html_components/Dialog.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Div.py b/dash_html_components/Div.py index 8cebc8c1..2fb85e31 100644 --- a/dash_html_components/Div.py +++ b/dash_html_components/Div.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Dl.py b/dash_html_components/Dl.py index 70ed0c16..14ef4591 100644 --- a/dash_html_components/Dl.py +++ b/dash_html_components/Dl.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Dt.py b/dash_html_components/Dt.py index 89530db8..2c64f021 100644 --- a/dash_html_components/Dt.py +++ b/dash_html_components/Dt.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Element.py b/dash_html_components/Element.py index 54c55f00..419a3edb 100644 --- a/dash_html_components/Element.py +++ b/dash_html_components/Element.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Em.py b/dash_html_components/Em.py index 120bbff0..f3e89b26 100644 --- a/dash_html_components/Em.py +++ b/dash_html_components/Em.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Embed.py b/dash_html_components/Embed.py index 26abc60e..d38b956e 100644 --- a/dash_html_components/Embed.py +++ b/dash_html_components/Embed.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Fieldset.py b/dash_html_components/Fieldset.py index 1fcfec6d..8fa9e896 100644 --- a/dash_html_components/Fieldset.py +++ b/dash_html_components/Fieldset.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Figcaption.py b/dash_html_components/Figcaption.py index e037697d..bab96402 100644 --- a/dash_html_components/Figcaption.py +++ b/dash_html_components/Figcaption.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Figure.py b/dash_html_components/Figure.py index 8ba3f2db..79684f8a 100644 --- a/dash_html_components/Figure.py +++ b/dash_html_components/Figure.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Font.py b/dash_html_components/Font.py index aea81028..99325556 100644 --- a/dash_html_components/Font.py +++ b/dash_html_components/Font.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Footer.py b/dash_html_components/Footer.py index 102f0c46..7505ddd8 100644 --- a/dash_html_components/Footer.py +++ b/dash_html_components/Footer.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Form.py b/dash_html_components/Form.py index a822bec9..d47f4914 100644 --- a/dash_html_components/Form.py +++ b/dash_html_components/Form.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Frame.py b/dash_html_components/Frame.py index 7b6eec68..047e2c50 100644 --- a/dash_html_components/Frame.py +++ b/dash_html_components/Frame.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Frameset.py b/dash_html_components/Frameset.py index cc663157..b0e460b1 100644 --- a/dash_html_components/Frameset.py +++ b/dash_html_components/Frameset.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/H1.py b/dash_html_components/H1.py index affe6e3c..e67b028b 100644 --- a/dash_html_components/H1.py +++ b/dash_html_components/H1.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/H2.py b/dash_html_components/H2.py index e5807c31..8aa17984 100644 --- a/dash_html_components/H2.py +++ b/dash_html_components/H2.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/H3.py b/dash_html_components/H3.py index 29d0fff4..5d7e1a1b 100644 --- a/dash_html_components/H3.py +++ b/dash_html_components/H3.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/H4.py b/dash_html_components/H4.py index 1b47728b..a74e8865 100644 --- a/dash_html_components/H4.py +++ b/dash_html_components/H4.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/H5.py b/dash_html_components/H5.py index ceea3ab4..c16bd3e2 100644 --- a/dash_html_components/H5.py +++ b/dash_html_components/H5.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/H6.py b/dash_html_components/H6.py index d81adf55..edcb5142 100644 --- a/dash_html_components/H6.py +++ b/dash_html_components/H6.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Header.py b/dash_html_components/Header.py index dfd20a2e..04070b92 100644 --- a/dash_html_components/Header.py +++ b/dash_html_components/Header.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Hgroup.py b/dash_html_components/Hgroup.py index 776f6c72..086413a8 100644 --- a/dash_html_components/Hgroup.py +++ b/dash_html_components/Hgroup.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Hr.py b/dash_html_components/Hr.py index b3763f56..67bc7e82 100644 --- a/dash_html_components/Hr.py +++ b/dash_html_components/Hr.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/I.py b/dash_html_components/I.py index 74bed9a2..4ab3892c 100644 --- a/dash_html_components/I.py +++ b/dash_html_components/I.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Iframe.py b/dash_html_components/Iframe.py index 7ace11b1..962c191e 100644 --- a/dash_html_components/Iframe.py +++ b/dash_html_components/Iframe.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Img.py b/dash_html_components/Img.py index 926f052e..6936fd6a 100644 --- a/dash_html_components/Img.py +++ b/dash_html_components/Img.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Ins.py b/dash_html_components/Ins.py index ed1e31d0..b06db40f 100644 --- a/dash_html_components/Ins.py +++ b/dash_html_components/Ins.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Isindex.py b/dash_html_components/Isindex.py index 8e73f009..02963474 100644 --- a/dash_html_components/Isindex.py +++ b/dash_html_components/Isindex.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Kbd.py b/dash_html_components/Kbd.py index c3f2456d..ec4404f6 100644 --- a/dash_html_components/Kbd.py +++ b/dash_html_components/Kbd.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Keygen.py b/dash_html_components/Keygen.py index 0650989b..0fa3f346 100644 --- a/dash_html_components/Keygen.py +++ b/dash_html_components/Keygen.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Label.py b/dash_html_components/Label.py index 84705365..245e066c 100644 --- a/dash_html_components/Label.py +++ b/dash_html_components/Label.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Legend.py b/dash_html_components/Legend.py index aa1fd482..d4ae43df 100644 --- a/dash_html_components/Legend.py +++ b/dash_html_components/Legend.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Li.py b/dash_html_components/Li.py index 96c92f4c..5e9efa0a 100644 --- a/dash_html_components/Li.py +++ b/dash_html_components/Li.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Link.py b/dash_html_components/Link.py index 001c4509..c777b77c 100644 --- a/dash_html_components/Link.py +++ b/dash_html_components/Link.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Listing.py b/dash_html_components/Listing.py index 34566816..593a174c 100644 --- a/dash_html_components/Listing.py +++ b/dash_html_components/Listing.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Main.py b/dash_html_components/Main.py index b559409a..13cefb9f 100644 --- a/dash_html_components/Main.py +++ b/dash_html_components/Main.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/MapEl.py b/dash_html_components/MapEl.py index b7643804..af6c93c7 100644 --- a/dash_html_components/MapEl.py +++ b/dash_html_components/MapEl.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Mark.py b/dash_html_components/Mark.py index 89cee207..f6490991 100644 --- a/dash_html_components/Mark.py +++ b/dash_html_components/Mark.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Marquee.py b/dash_html_components/Marquee.py index ff84dc1f..b034e4c1 100644 --- a/dash_html_components/Marquee.py +++ b/dash_html_components/Marquee.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Meta.py b/dash_html_components/Meta.py index bd82dffc..3a69db6a 100644 --- a/dash_html_components/Meta.py +++ b/dash_html_components/Meta.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Meter.py b/dash_html_components/Meter.py index c22e5a6b..06937f4d 100644 --- a/dash_html_components/Meter.py +++ b/dash_html_components/Meter.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Multicol.py b/dash_html_components/Multicol.py index 55e92acc..cc354ac0 100644 --- a/dash_html_components/Multicol.py +++ b/dash_html_components/Multicol.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Nav.py b/dash_html_components/Nav.py index 11a56347..856f5255 100644 --- a/dash_html_components/Nav.py +++ b/dash_html_components/Nav.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Nextid.py b/dash_html_components/Nextid.py index 595b4f75..b783da03 100644 --- a/dash_html_components/Nextid.py +++ b/dash_html_components/Nextid.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Nobr.py b/dash_html_components/Nobr.py index 087d36b5..2d08d6c2 100644 --- a/dash_html_components/Nobr.py +++ b/dash_html_components/Nobr.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Noscript.py b/dash_html_components/Noscript.py index 65cab62b..779ce913 100644 --- a/dash_html_components/Noscript.py +++ b/dash_html_components/Noscript.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/ObjectEl.py b/dash_html_components/ObjectEl.py index 784bc4cc..7c7c3684 100644 --- a/dash_html_components/ObjectEl.py +++ b/dash_html_components/ObjectEl.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Ol.py b/dash_html_components/Ol.py index 97c788b2..27ac1414 100644 --- a/dash_html_components/Ol.py +++ b/dash_html_components/Ol.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Optgroup.py b/dash_html_components/Optgroup.py index cb4ac54d..8b9ad7c0 100644 --- a/dash_html_components/Optgroup.py +++ b/dash_html_components/Optgroup.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Option.py b/dash_html_components/Option.py index a7870762..1d7a0266 100644 --- a/dash_html_components/Option.py +++ b/dash_html_components/Option.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Output.py b/dash_html_components/Output.py index 3cb0a86b..11ad571f 100644 --- a/dash_html_components/Output.py +++ b/dash_html_components/Output.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/P.py b/dash_html_components/P.py index 5c137884..0681cd6d 100644 --- a/dash_html_components/P.py +++ b/dash_html_components/P.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Param.py b/dash_html_components/Param.py index ee4ab6b5..adc705ff 100644 --- a/dash_html_components/Param.py +++ b/dash_html_components/Param.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Picture.py b/dash_html_components/Picture.py index 126d84a0..f974dfec 100644 --- a/dash_html_components/Picture.py +++ b/dash_html_components/Picture.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Plaintext.py b/dash_html_components/Plaintext.py index a6630e0f..5c1d54f9 100644 --- a/dash_html_components/Plaintext.py +++ b/dash_html_components/Plaintext.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Pre.py b/dash_html_components/Pre.py index e805903c..925a0ddb 100644 --- a/dash_html_components/Pre.py +++ b/dash_html_components/Pre.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Progress.py b/dash_html_components/Progress.py index c773e3ea..db52a687 100644 --- a/dash_html_components/Progress.py +++ b/dash_html_components/Progress.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Q.py b/dash_html_components/Q.py index 7b636caa..c97daa1b 100644 --- a/dash_html_components/Q.py +++ b/dash_html_components/Q.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Rp.py b/dash_html_components/Rp.py index d5fb85b9..14ce9643 100644 --- a/dash_html_components/Rp.py +++ b/dash_html_components/Rp.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Rt.py b/dash_html_components/Rt.py index d247aebd..8b74648b 100644 --- a/dash_html_components/Rt.py +++ b/dash_html_components/Rt.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Rtc.py b/dash_html_components/Rtc.py index e06407c0..524dbc28 100644 --- a/dash_html_components/Rtc.py +++ b/dash_html_components/Rtc.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Ruby.py b/dash_html_components/Ruby.py index 9f1af3f3..5da1672f 100644 --- a/dash_html_components/Ruby.py +++ b/dash_html_components/Ruby.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/S.py b/dash_html_components/S.py index 35ee8582..7fca5ea6 100644 --- a/dash_html_components/S.py +++ b/dash_html_components/S.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Samp.py b/dash_html_components/Samp.py index bc2b118b..e1799006 100644 --- a/dash_html_components/Samp.py +++ b/dash_html_components/Samp.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Script.py b/dash_html_components/Script.py index 8064f29c..880f1cfc 100644 --- a/dash_html_components/Script.py +++ b/dash_html_components/Script.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Section.py b/dash_html_components/Section.py index 0ac9590d..cd533f82 100644 --- a/dash_html_components/Section.py +++ b/dash_html_components/Section.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Select.py b/dash_html_components/Select.py index 6b5b2401..50e1ad2d 100644 --- a/dash_html_components/Select.py +++ b/dash_html_components/Select.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Shadow.py b/dash_html_components/Shadow.py index cc7f7228..0f92458e 100644 --- a/dash_html_components/Shadow.py +++ b/dash_html_components/Shadow.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Slot.py b/dash_html_components/Slot.py index 6b474770..f2d37e7a 100644 --- a/dash_html_components/Slot.py +++ b/dash_html_components/Slot.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Small.py b/dash_html_components/Small.py index 8268b1ae..8b8da71c 100644 --- a/dash_html_components/Small.py +++ b/dash_html_components/Small.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Source.py b/dash_html_components/Source.py index b03c8c1f..87eb5f4b 100644 --- a/dash_html_components/Source.py +++ b/dash_html_components/Source.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Spacer.py b/dash_html_components/Spacer.py index 30c1fad5..aeba4db5 100644 --- a/dash_html_components/Spacer.py +++ b/dash_html_components/Spacer.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Span.py b/dash_html_components/Span.py index c0da6262..d8f54ab8 100644 --- a/dash_html_components/Span.py +++ b/dash_html_components/Span.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Strike.py b/dash_html_components/Strike.py index b6d995e6..4aaa51b8 100644 --- a/dash_html_components/Strike.py +++ b/dash_html_components/Strike.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Strong.py b/dash_html_components/Strong.py index 12513115..d0b47160 100644 --- a/dash_html_components/Strong.py +++ b/dash_html_components/Strong.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Sub.py b/dash_html_components/Sub.py index 2432c321..e3dd2f48 100644 --- a/dash_html_components/Sub.py +++ b/dash_html_components/Sub.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Summary.py b/dash_html_components/Summary.py index f7f30f30..da15db33 100644 --- a/dash_html_components/Summary.py +++ b/dash_html_components/Summary.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Sup.py b/dash_html_components/Sup.py index 1e9f06d6..85d5ec27 100644 --- a/dash_html_components/Sup.py +++ b/dash_html_components/Sup.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Table.py b/dash_html_components/Table.py index 7e6e11dd..34fcd4e8 100644 --- a/dash_html_components/Table.py +++ b/dash_html_components/Table.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Tbody.py b/dash_html_components/Tbody.py index a2a5b37e..128dbfcb 100644 --- a/dash_html_components/Tbody.py +++ b/dash_html_components/Tbody.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Td.py b/dash_html_components/Td.py index 8ef1dad2..4c9d97ef 100644 --- a/dash_html_components/Td.py +++ b/dash_html_components/Td.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Template.py b/dash_html_components/Template.py index a3cdaf04..159ff4bf 100644 --- a/dash_html_components/Template.py +++ b/dash_html_components/Template.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Textarea.py b/dash_html_components/Textarea.py index 474b97c4..7b2f3ee3 100644 --- a/dash_html_components/Textarea.py +++ b/dash_html_components/Textarea.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Tfoot.py b/dash_html_components/Tfoot.py index 27004d02..ee72f628 100644 --- a/dash_html_components/Tfoot.py +++ b/dash_html_components/Tfoot.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Th.py b/dash_html_components/Th.py index e07bf6f1..83a47fe2 100644 --- a/dash_html_components/Th.py +++ b/dash_html_components/Th.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Thead.py b/dash_html_components/Thead.py index eb960df2..5975c7e0 100644 --- a/dash_html_components/Thead.py +++ b/dash_html_components/Thead.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Time.py b/dash_html_components/Time.py index 45a36701..c51ee218 100644 --- a/dash_html_components/Time.py +++ b/dash_html_components/Time.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Title.py b/dash_html_components/Title.py index ea4cb917..48354c6b 100644 --- a/dash_html_components/Title.py +++ b/dash_html_components/Title.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Tr.py b/dash_html_components/Tr.py index 032bb86a..da653f93 100644 --- a/dash_html_components/Tr.py +++ b/dash_html_components/Tr.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Track.py b/dash_html_components/Track.py index fde5bb90..db3908c5 100644 --- a/dash_html_components/Track.py +++ b/dash_html_components/Track.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/U.py b/dash_html_components/U.py index 5cdff465..153b7e33 100644 --- a/dash_html_components/U.py +++ b/dash_html_components/U.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Ul.py b/dash_html_components/Ul.py index b983c472..60e7894e 100644 --- a/dash_html_components/Ul.py +++ b/dash_html_components/Ul.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Var.py b/dash_html_components/Var.py index 4a6f22fa..802f34e2 100644 --- a/dash_html_components/Var.py +++ b/dash_html_components/Var.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Video.py b/dash_html_components/Video.py index dd36e047..f0a1e54f 100644 --- a/dash_html_components/Video.py +++ b/dash_html_components/Video.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Wbr.py b/dash_html_components/Wbr.py index be55d978..86568355 100644 --- a/dash_html_components/Wbr.py +++ b/dash_html_components/Wbr.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component diff --git a/dash_html_components/Xmp.py b/dash_html_components/Xmp.py index d066b60d..f1366320 100644 --- a/dash_html_components/Xmp.py +++ b/dash_html_components/Xmp.py @@ -1,3 +1,5 @@ +# AUTO GENERATED FILE - DO NOT EDIT + from dash.development.base_component import Component From 15b5019eb712ff38bc9304545ed1bbfa4a08d069 Mon Sep 17 00:00:00 2001 From: Ryan Marren Date: Tue, 19 Jun 2018 20:55:23 -0400 Subject: [PATCH 3/5] Fix type in changelog.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 694bdf98..f0481ab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [0.12.0] - 2018-06-01 ### Changed - `dash_html_components/__init__.py` now imports from python class files rather than generating classes at runtime, -adding support for IDE autocomplete ect. +adding support for IDE auto complete etc. ## [0.11.0] - 2018-06-01 ### Added From 39629d8c2bcbf3c02a944cd96eed20d80e4db091 Mon Sep 17 00:00:00 2001 From: Ryan Marren Date: Sun, 24 Jun 2018 20:52:16 -0400 Subject: [PATCH 4/5] Update _namespace property of all generated classes. --- dash_html_components/A.py | 2 +- dash_html_components/Abbr.py | 2 +- dash_html_components/Acronym.py | 2 +- dash_html_components/Address.py | 2 +- dash_html_components/Area.py | 2 +- dash_html_components/Article.py | 2 +- dash_html_components/Aside.py | 2 +- dash_html_components/Audio.py | 2 +- dash_html_components/B.py | 2 +- dash_html_components/Base.py | 2 +- dash_html_components/Basefont.py | 2 +- dash_html_components/Bdi.py | 2 +- dash_html_components/Bdo.py | 2 +- dash_html_components/Big.py | 2 +- dash_html_components/Blink.py | 2 +- dash_html_components/Blockquote.py | 2 +- dash_html_components/Br.py | 2 +- dash_html_components/Button.py | 2 +- dash_html_components/Canvas.py | 2 +- dash_html_components/Caption.py | 2 +- dash_html_components/Center.py | 2 +- dash_html_components/Cite.py | 2 +- dash_html_components/Code.py | 2 +- dash_html_components/Col.py | 2 +- dash_html_components/Colgroup.py | 2 +- dash_html_components/Command.py | 2 +- dash_html_components/Content.py | 2 +- dash_html_components/Data.py | 2 +- dash_html_components/Datalist.py | 2 +- dash_html_components/Dd.py | 2 +- dash_html_components/Del.py | 2 +- dash_html_components/Details.py | 2 +- dash_html_components/Dfn.py | 2 +- dash_html_components/Dialog.py | 2 +- dash_html_components/Div.py | 2 +- dash_html_components/Dl.py | 2 +- dash_html_components/Dt.py | 2 +- dash_html_components/Element.py | 2 +- dash_html_components/Em.py | 2 +- dash_html_components/Embed.py | 2 +- dash_html_components/Fieldset.py | 2 +- dash_html_components/Figcaption.py | 2 +- dash_html_components/Figure.py | 2 +- dash_html_components/Font.py | 2 +- dash_html_components/Footer.py | 2 +- dash_html_components/Form.py | 2 +- dash_html_components/Frame.py | 2 +- dash_html_components/Frameset.py | 2 +- dash_html_components/H1.py | 2 +- dash_html_components/H2.py | 2 +- dash_html_components/H3.py | 2 +- dash_html_components/H4.py | 2 +- dash_html_components/H5.py | 2 +- dash_html_components/H6.py | 2 +- dash_html_components/Header.py | 2 +- dash_html_components/Hgroup.py | 2 +- dash_html_components/Hr.py | 2 +- dash_html_components/I.py | 2 +- dash_html_components/Iframe.py | 2 +- dash_html_components/Img.py | 2 +- dash_html_components/Ins.py | 2 +- dash_html_components/Isindex.py | 2 +- dash_html_components/Kbd.py | 2 +- dash_html_components/Keygen.py | 2 +- dash_html_components/Label.py | 2 +- dash_html_components/Legend.py | 2 +- dash_html_components/Li.py | 2 +- dash_html_components/Link.py | 2 +- dash_html_components/Listing.py | 2 +- dash_html_components/Main.py | 2 +- dash_html_components/MapEl.py | 2 +- dash_html_components/Mark.py | 2 +- dash_html_components/Marquee.py | 2 +- dash_html_components/Meta.py | 2 +- dash_html_components/Meter.py | 2 +- dash_html_components/Multicol.py | 2 +- dash_html_components/Nav.py | 2 +- dash_html_components/Nextid.py | 2 +- dash_html_components/Nobr.py | 2 +- dash_html_components/Noscript.py | 2 +- dash_html_components/ObjectEl.py | 2 +- dash_html_components/Ol.py | 2 +- dash_html_components/Optgroup.py | 2 +- dash_html_components/Option.py | 2 +- dash_html_components/Output.py | 2 +- dash_html_components/P.py | 2 +- dash_html_components/Param.py | 2 +- dash_html_components/Picture.py | 2 +- dash_html_components/Plaintext.py | 2 +- dash_html_components/Pre.py | 2 +- dash_html_components/Progress.py | 2 +- dash_html_components/Q.py | 2 +- dash_html_components/Rp.py | 2 +- dash_html_components/Rt.py | 2 +- dash_html_components/Rtc.py | 2 +- dash_html_components/Ruby.py | 2 +- dash_html_components/S.py | 2 +- dash_html_components/Samp.py | 2 +- dash_html_components/Script.py | 2 +- dash_html_components/Section.py | 2 +- dash_html_components/Select.py | 2 +- dash_html_components/Shadow.py | 2 +- dash_html_components/Slot.py | 2 +- dash_html_components/Small.py | 2 +- dash_html_components/Source.py | 2 +- dash_html_components/Spacer.py | 2 +- dash_html_components/Span.py | 2 +- dash_html_components/Strike.py | 2 +- dash_html_components/Strong.py | 2 +- dash_html_components/Sub.py | 2 +- dash_html_components/Summary.py | 2 +- dash_html_components/Sup.py | 2 +- dash_html_components/Table.py | 2 +- dash_html_components/Tbody.py | 2 +- dash_html_components/Td.py | 2 +- dash_html_components/Template.py | 2 +- dash_html_components/Textarea.py | 2 +- dash_html_components/Tfoot.py | 2 +- dash_html_components/Th.py | 2 +- dash_html_components/Thead.py | 2 +- dash_html_components/Time.py | 2 +- dash_html_components/Title.py | 2 +- dash_html_components/Tr.py | 2 +- dash_html_components/Track.py | 2 +- dash_html_components/U.py | 2 +- dash_html_components/Ul.py | 2 +- dash_html_components/Var.py | 2 +- dash_html_components/Video.py | 2 +- dash_html_components/Wbr.py | 2 +- dash_html_components/Xmp.py | 2 +- package.json | 1 + 131 files changed, 131 insertions(+), 130 deletions(-) diff --git a/dash_html_components/A.py b/dash_html_components/A.py index 99f10a56..641f5a0b 100644 --- a/dash_html_components/A.py +++ b/dash_html_components/A.py @@ -47,7 +47,7 @@ class A(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'A' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Abbr.py b/dash_html_components/Abbr.py index 1d62bc3a..7fd92f79 100644 --- a/dash_html_components/Abbr.py +++ b/dash_html_components/Abbr.py @@ -40,7 +40,7 @@ class Abbr(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Abbr' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Acronym.py b/dash_html_components/Acronym.py index 320fe47f..f42a595b 100644 --- a/dash_html_components/Acronym.py +++ b/dash_html_components/Acronym.py @@ -40,7 +40,7 @@ class Acronym(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Acronym' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Address.py b/dash_html_components/Address.py index 3289e1b0..7d60e0a6 100644 --- a/dash_html_components/Address.py +++ b/dash_html_components/Address.py @@ -40,7 +40,7 @@ class Address(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Address' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Area.py b/dash_html_components/Area.py index e10d267b..425a7e96 100644 --- a/dash_html_components/Area.py +++ b/dash_html_components/Area.py @@ -49,7 +49,7 @@ class Area(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Area' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Article.py b/dash_html_components/Article.py index 2cfb8774..33871224 100644 --- a/dash_html_components/Article.py +++ b/dash_html_components/Article.py @@ -40,7 +40,7 @@ class Article(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Article' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Aside.py b/dash_html_components/Aside.py index cc9a3901..ad0c57e2 100644 --- a/dash_html_components/Aside.py +++ b/dash_html_components/Aside.py @@ -40,7 +40,7 @@ class Aside(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Aside' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Audio.py b/dash_html_components/Audio.py index cfeb6037..e68f3e29 100644 --- a/dash_html_components/Audio.py +++ b/dash_html_components/Audio.py @@ -47,7 +47,7 @@ class Audio(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Audio' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/B.py b/dash_html_components/B.py index fc05f32b..ee0d7f4d 100644 --- a/dash_html_components/B.py +++ b/dash_html_components/B.py @@ -40,7 +40,7 @@ class B(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'B' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Base.py b/dash_html_components/Base.py index 9e84e8bb..f4dcb302 100644 --- a/dash_html_components/Base.py +++ b/dash_html_components/Base.py @@ -42,7 +42,7 @@ class Base(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'href', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Base' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'href', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Basefont.py b/dash_html_components/Basefont.py index 543f43a6..8b38d87a 100644 --- a/dash_html_components/Basefont.py +++ b/dash_html_components/Basefont.py @@ -40,7 +40,7 @@ class Basefont(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Basefont' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Bdi.py b/dash_html_components/Bdi.py index d342a412..0ee019a6 100644 --- a/dash_html_components/Bdi.py +++ b/dash_html_components/Bdi.py @@ -40,7 +40,7 @@ class Bdi(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Bdi' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Bdo.py b/dash_html_components/Bdo.py index c6fd6e81..d0d6cd8e 100644 --- a/dash_html_components/Bdo.py +++ b/dash_html_components/Bdo.py @@ -40,7 +40,7 @@ class Bdo(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Bdo' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Big.py b/dash_html_components/Big.py index 2d18353a..be933c61 100644 --- a/dash_html_components/Big.py +++ b/dash_html_components/Big.py @@ -40,7 +40,7 @@ class Big(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Big' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Blink.py b/dash_html_components/Blink.py index 333ec1f5..e22969be 100644 --- a/dash_html_components/Blink.py +++ b/dash_html_components/Blink.py @@ -40,7 +40,7 @@ class Blink(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Blink' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Blockquote.py b/dash_html_components/Blockquote.py index f060c966..34e5ea5f 100644 --- a/dash_html_components/Blockquote.py +++ b/dash_html_components/Blockquote.py @@ -41,7 +41,7 @@ class Blockquote(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Blockquote' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Br.py b/dash_html_components/Br.py index 6833060a..e954e37b 100644 --- a/dash_html_components/Br.py +++ b/dash_html_components/Br.py @@ -40,7 +40,7 @@ class Br(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Br' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Button.py b/dash_html_components/Button.py index a1c49a1f..2442fd4c 100644 --- a/dash_html_components/Button.py +++ b/dash_html_components/Button.py @@ -47,7 +47,7 @@ class Button(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'formAction', 'name', 'type', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Button' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'formAction', 'name', 'type', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Canvas.py b/dash_html_components/Canvas.py index 2803c4e7..ff2fc238 100644 --- a/dash_html_components/Canvas.py +++ b/dash_html_components/Canvas.py @@ -42,7 +42,7 @@ class Canvas(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Canvas' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Caption.py b/dash_html_components/Caption.py index 48376d77..e1396fbd 100644 --- a/dash_html_components/Caption.py +++ b/dash_html_components/Caption.py @@ -40,7 +40,7 @@ class Caption(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Caption' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Center.py b/dash_html_components/Center.py index 3dced807..23fdec34 100644 --- a/dash_html_components/Center.py +++ b/dash_html_components/Center.py @@ -40,7 +40,7 @@ class Center(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Center' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Cite.py b/dash_html_components/Cite.py index 71d8880c..ee027c30 100644 --- a/dash_html_components/Cite.py +++ b/dash_html_components/Cite.py @@ -40,7 +40,7 @@ class Cite(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Cite' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Code.py b/dash_html_components/Code.py index 61b38a2f..86520691 100644 --- a/dash_html_components/Code.py +++ b/dash_html_components/Code.py @@ -40,7 +40,7 @@ class Code(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Code' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Col.py b/dash_html_components/Col.py index fff8a8b2..75cb7ae9 100644 --- a/dash_html_components/Col.py +++ b/dash_html_components/Col.py @@ -41,7 +41,7 @@ class Col(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Col' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Colgroup.py b/dash_html_components/Colgroup.py index be2fe16f..92c4e118 100644 --- a/dash_html_components/Colgroup.py +++ b/dash_html_components/Colgroup.py @@ -41,7 +41,7 @@ class Colgroup(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Colgroup' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'span', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Command.py b/dash_html_components/Command.py index 686c29dd..c0053d09 100644 --- a/dash_html_components/Command.py +++ b/dash_html_components/Command.py @@ -45,7 +45,7 @@ class Command(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'checked', 'disabled', 'icon', 'radioGroup', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Command' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'checked', 'disabled', 'icon', 'radioGroup', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Content.py b/dash_html_components/Content.py index ed2c96e4..58b4bf8d 100644 --- a/dash_html_components/Content.py +++ b/dash_html_components/Content.py @@ -40,7 +40,7 @@ class Content(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Content' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Data.py b/dash_html_components/Data.py index 720e54ea..c921a491 100644 --- a/dash_html_components/Data.py +++ b/dash_html_components/Data.py @@ -40,7 +40,7 @@ class Data(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Data' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Datalist.py b/dash_html_components/Datalist.py index fa490754..cc6a0943 100644 --- a/dash_html_components/Datalist.py +++ b/dash_html_components/Datalist.py @@ -40,7 +40,7 @@ class Datalist(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Datalist' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Dd.py b/dash_html_components/Dd.py index abd58faf..db89f39c 100644 --- a/dash_html_components/Dd.py +++ b/dash_html_components/Dd.py @@ -40,7 +40,7 @@ class Dd(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Dd' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Del.py b/dash_html_components/Del.py index 621a2d7b..0b3c4005 100644 --- a/dash_html_components/Del.py +++ b/dash_html_components/Del.py @@ -42,7 +42,7 @@ class Del(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Del' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Details.py b/dash_html_components/Details.py index a720c284..be57ddbb 100644 --- a/dash_html_components/Details.py +++ b/dash_html_components/Details.py @@ -41,7 +41,7 @@ class Details(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'open', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Details' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'open', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Dfn.py b/dash_html_components/Dfn.py index fecc98fd..87c7ce42 100644 --- a/dash_html_components/Dfn.py +++ b/dash_html_components/Dfn.py @@ -40,7 +40,7 @@ class Dfn(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Dfn' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Dialog.py b/dash_html_components/Dialog.py index 722da045..3a82a431 100644 --- a/dash_html_components/Dialog.py +++ b/dash_html_components/Dialog.py @@ -40,7 +40,7 @@ class Dialog(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Dialog' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Div.py b/dash_html_components/Div.py index 2fb85e31..b95fbfd9 100644 --- a/dash_html_components/Div.py +++ b/dash_html_components/Div.py @@ -40,7 +40,7 @@ class Div(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Div' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Dl.py b/dash_html_components/Dl.py index 14ef4591..d674c0be 100644 --- a/dash_html_components/Dl.py +++ b/dash_html_components/Dl.py @@ -40,7 +40,7 @@ class Dl(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Dl' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Dt.py b/dash_html_components/Dt.py index 2c64f021..8cbcb2a9 100644 --- a/dash_html_components/Dt.py +++ b/dash_html_components/Dt.py @@ -40,7 +40,7 @@ class Dt(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Dt' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Element.py b/dash_html_components/Element.py index 419a3edb..b90bf2c3 100644 --- a/dash_html_components/Element.py +++ b/dash_html_components/Element.py @@ -40,7 +40,7 @@ class Element(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Element' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Em.py b/dash_html_components/Em.py index f3e89b26..f6fbf994 100644 --- a/dash_html_components/Em.py +++ b/dash_html_components/Em.py @@ -40,7 +40,7 @@ class Em(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Em' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Embed.py b/dash_html_components/Embed.py index d38b956e..628bc54b 100644 --- a/dash_html_components/Embed.py +++ b/dash_html_components/Embed.py @@ -44,7 +44,7 @@ class Embed(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'src', 'type', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Embed' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'src', 'type', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Fieldset.py b/dash_html_components/Fieldset.py index 8fa9e896..10d0ba5d 100644 --- a/dash_html_components/Fieldset.py +++ b/dash_html_components/Fieldset.py @@ -43,7 +43,7 @@ class Fieldset(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Fieldset' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Figcaption.py b/dash_html_components/Figcaption.py index bab96402..6c5f1ea1 100644 --- a/dash_html_components/Figcaption.py +++ b/dash_html_components/Figcaption.py @@ -40,7 +40,7 @@ class Figcaption(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Figcaption' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Figure.py b/dash_html_components/Figure.py index 79684f8a..649e9aef 100644 --- a/dash_html_components/Figure.py +++ b/dash_html_components/Figure.py @@ -40,7 +40,7 @@ class Figure(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Figure' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Font.py b/dash_html_components/Font.py index 99325556..f8bfb5ef 100644 --- a/dash_html_components/Font.py +++ b/dash_html_components/Font.py @@ -40,7 +40,7 @@ class Font(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Font' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Footer.py b/dash_html_components/Footer.py index 7505ddd8..3353a684 100644 --- a/dash_html_components/Footer.py +++ b/dash_html_components/Footer.py @@ -40,7 +40,7 @@ class Footer(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Footer' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Form.py b/dash_html_components/Form.py index d47f4914..4c011d82 100644 --- a/dash_html_components/Form.py +++ b/dash_html_components/Form.py @@ -49,7 +49,7 @@ class Form(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accept', 'acceptCharset', 'action', 'autoComplete', 'encType', 'method', 'name', 'noValidate', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Form' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accept', 'acceptCharset', 'action', 'autoComplete', 'encType', 'method', 'name', 'noValidate', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Frame.py b/dash_html_components/Frame.py index 047e2c50..cd73bbe9 100644 --- a/dash_html_components/Frame.py +++ b/dash_html_components/Frame.py @@ -40,7 +40,7 @@ class Frame(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Frame' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Frameset.py b/dash_html_components/Frameset.py index b0e460b1..dda35fe4 100644 --- a/dash_html_components/Frameset.py +++ b/dash_html_components/Frameset.py @@ -40,7 +40,7 @@ class Frameset(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Frameset' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/H1.py b/dash_html_components/H1.py index e67b028b..cf561782 100644 --- a/dash_html_components/H1.py +++ b/dash_html_components/H1.py @@ -40,7 +40,7 @@ class H1(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'H1' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/H2.py b/dash_html_components/H2.py index 8aa17984..16fa29af 100644 --- a/dash_html_components/H2.py +++ b/dash_html_components/H2.py @@ -40,7 +40,7 @@ class H2(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'H2' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/H3.py b/dash_html_components/H3.py index 5d7e1a1b..86fd4ee4 100644 --- a/dash_html_components/H3.py +++ b/dash_html_components/H3.py @@ -40,7 +40,7 @@ class H3(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'H3' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/H4.py b/dash_html_components/H4.py index a74e8865..4d46a1d0 100644 --- a/dash_html_components/H4.py +++ b/dash_html_components/H4.py @@ -40,7 +40,7 @@ class H4(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'H4' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/H5.py b/dash_html_components/H5.py index c16bd3e2..45a2d0e3 100644 --- a/dash_html_components/H5.py +++ b/dash_html_components/H5.py @@ -40,7 +40,7 @@ class H5(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'H5' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/H6.py b/dash_html_components/H6.py index edcb5142..6ffbb856 100644 --- a/dash_html_components/H6.py +++ b/dash_html_components/H6.py @@ -40,7 +40,7 @@ class H6(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'H6' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Header.py b/dash_html_components/Header.py index 04070b92..08550625 100644 --- a/dash_html_components/Header.py +++ b/dash_html_components/Header.py @@ -40,7 +40,7 @@ class Header(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Header' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Hgroup.py b/dash_html_components/Hgroup.py index 086413a8..849fb603 100644 --- a/dash_html_components/Hgroup.py +++ b/dash_html_components/Hgroup.py @@ -40,7 +40,7 @@ class Hgroup(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Hgroup' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Hr.py b/dash_html_components/Hr.py index 67bc7e82..c9150dc2 100644 --- a/dash_html_components/Hr.py +++ b/dash_html_components/Hr.py @@ -40,7 +40,7 @@ class Hr(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Hr' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/I.py b/dash_html_components/I.py index 4ab3892c..2a29b345 100644 --- a/dash_html_components/I.py +++ b/dash_html_components/I.py @@ -40,7 +40,7 @@ class I(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'I' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Iframe.py b/dash_html_components/Iframe.py index 962c191e..55c37c6d 100644 --- a/dash_html_components/Iframe.py +++ b/dash_html_components/Iframe.py @@ -46,7 +46,7 @@ class Iframe(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'name', 'sandbox', 'src', 'srcDoc', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Iframe' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'height', 'name', 'sandbox', 'src', 'srcDoc', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Img.py b/dash_html_components/Img.py index 6936fd6a..48594261 100644 --- a/dash_html_components/Img.py +++ b/dash_html_components/Img.py @@ -48,7 +48,7 @@ class Img(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'crossOrigin', 'height', 'sizes', 'src', 'srcSet', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Img' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'crossOrigin', 'height', 'sizes', 'src', 'srcSet', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Ins.py b/dash_html_components/Ins.py index b06db40f..eb3fa26e 100644 --- a/dash_html_components/Ins.py +++ b/dash_html_components/Ins.py @@ -42,7 +42,7 @@ class Ins(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Ins' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Isindex.py b/dash_html_components/Isindex.py index 02963474..8fcac959 100644 --- a/dash_html_components/Isindex.py +++ b/dash_html_components/Isindex.py @@ -40,7 +40,7 @@ class Isindex(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Isindex' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Kbd.py b/dash_html_components/Kbd.py index ec4404f6..df88b0cf 100644 --- a/dash_html_components/Kbd.py +++ b/dash_html_components/Kbd.py @@ -40,7 +40,7 @@ class Kbd(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Kbd' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Keygen.py b/dash_html_components/Keygen.py index 0fa3f346..0254d46d 100644 --- a/dash_html_components/Keygen.py +++ b/dash_html_components/Keygen.py @@ -46,7 +46,7 @@ class Keygen(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'challenge', 'disabled', 'form', 'keyType', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Keygen' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'challenge', 'disabled', 'form', 'keyType', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Label.py b/dash_html_components/Label.py index 245e066c..b632a67e 100644 --- a/dash_html_components/Label.py +++ b/dash_html_components/Label.py @@ -42,7 +42,7 @@ class Label(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Label' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Legend.py b/dash_html_components/Legend.py index d4ae43df..dc4c569f 100644 --- a/dash_html_components/Legend.py +++ b/dash_html_components/Legend.py @@ -40,7 +40,7 @@ class Legend(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Legend' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Li.py b/dash_html_components/Li.py index 5e9efa0a..5f91653b 100644 --- a/dash_html_components/Li.py +++ b/dash_html_components/Li.py @@ -41,7 +41,7 @@ class Li(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Li' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Link.py b/dash_html_components/Link.py index c777b77c..b5a898dd 100644 --- a/dash_html_components/Link.py +++ b/dash_html_components/Link.py @@ -47,7 +47,7 @@ class Link(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'crossOrigin', 'href', 'hrefLang', 'integrity', 'media', 'rel', 'sizes', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Link' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'crossOrigin', 'href', 'hrefLang', 'integrity', 'media', 'rel', 'sizes', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Listing.py b/dash_html_components/Listing.py index 593a174c..3152e364 100644 --- a/dash_html_components/Listing.py +++ b/dash_html_components/Listing.py @@ -40,7 +40,7 @@ class Listing(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Listing' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Main.py b/dash_html_components/Main.py index 13cefb9f..05f19346 100644 --- a/dash_html_components/Main.py +++ b/dash_html_components/Main.py @@ -40,7 +40,7 @@ class Main(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Main' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/MapEl.py b/dash_html_components/MapEl.py index af6c93c7..3678c7a1 100644 --- a/dash_html_components/MapEl.py +++ b/dash_html_components/MapEl.py @@ -41,7 +41,7 @@ class MapEl(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'MapEl' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Mark.py b/dash_html_components/Mark.py index f6490991..04c1333b 100644 --- a/dash_html_components/Mark.py +++ b/dash_html_components/Mark.py @@ -40,7 +40,7 @@ class Mark(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Mark' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Marquee.py b/dash_html_components/Marquee.py index b034e4c1..587bc03c 100644 --- a/dash_html_components/Marquee.py +++ b/dash_html_components/Marquee.py @@ -41,7 +41,7 @@ class Marquee(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'loop', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Marquee' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'loop', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Meta.py b/dash_html_components/Meta.py index 3a69db6a..a7019f2b 100644 --- a/dash_html_components/Meta.py +++ b/dash_html_components/Meta.py @@ -44,7 +44,7 @@ class Meta(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'charSet', 'content', 'httpEquiv', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Meta' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'charSet', 'content', 'httpEquiv', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Meter.py b/dash_html_components/Meter.py index 06937f4d..2cc729ff 100644 --- a/dash_html_components/Meter.py +++ b/dash_html_components/Meter.py @@ -47,7 +47,7 @@ class Meter(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'high', 'low', 'max', 'min', 'optimum', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Meter' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'high', 'low', 'max', 'min', 'optimum', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Multicol.py b/dash_html_components/Multicol.py index cc354ac0..99c50dc0 100644 --- a/dash_html_components/Multicol.py +++ b/dash_html_components/Multicol.py @@ -40,7 +40,7 @@ class Multicol(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Multicol' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Nav.py b/dash_html_components/Nav.py index 856f5255..ad328ed2 100644 --- a/dash_html_components/Nav.py +++ b/dash_html_components/Nav.py @@ -40,7 +40,7 @@ class Nav(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Nav' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Nextid.py b/dash_html_components/Nextid.py index b783da03..6a05369c 100644 --- a/dash_html_components/Nextid.py +++ b/dash_html_components/Nextid.py @@ -40,7 +40,7 @@ class Nextid(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Nextid' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Nobr.py b/dash_html_components/Nobr.py index 2d08d6c2..8e1a69e8 100644 --- a/dash_html_components/Nobr.py +++ b/dash_html_components/Nobr.py @@ -40,7 +40,7 @@ class Nobr(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Nobr' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Noscript.py b/dash_html_components/Noscript.py index 779ce913..f4a095ec 100644 --- a/dash_html_components/Noscript.py +++ b/dash_html_components/Noscript.py @@ -40,7 +40,7 @@ class Noscript(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Noscript' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/ObjectEl.py b/dash_html_components/ObjectEl.py index 7c7c3684..3d2f7967 100644 --- a/dash_html_components/ObjectEl.py +++ b/dash_html_components/ObjectEl.py @@ -46,7 +46,7 @@ class ObjectEl(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'height', 'name', 'type', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'ObjectEl' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'height', 'name', 'type', 'useMap', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Ol.py b/dash_html_components/Ol.py index 27ac1414..2b0568cf 100644 --- a/dash_html_components/Ol.py +++ b/dash_html_components/Ol.py @@ -42,7 +42,7 @@ class Ol(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'reversed', 'start', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Ol' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'reversed', 'start', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Optgroup.py b/dash_html_components/Optgroup.py index 8b9ad7c0..cd79a05d 100644 --- a/dash_html_components/Optgroup.py +++ b/dash_html_components/Optgroup.py @@ -41,7 +41,7 @@ class Optgroup(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Optgroup' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Option.py b/dash_html_components/Option.py index 1d7a0266..e31c5082 100644 --- a/dash_html_components/Option.py +++ b/dash_html_components/Option.py @@ -43,7 +43,7 @@ class Option(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'selected', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Option' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'disabled', 'selected', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Output.py b/dash_html_components/Output.py index 11ad571f..e9475c65 100644 --- a/dash_html_components/Output.py +++ b/dash_html_components/Output.py @@ -43,7 +43,7 @@ class Output(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Output' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'htmlFor', 'form', 'name', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/P.py b/dash_html_components/P.py index 0681cd6d..cfa244f8 100644 --- a/dash_html_components/P.py +++ b/dash_html_components/P.py @@ -40,7 +40,7 @@ class P(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'P' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Param.py b/dash_html_components/Param.py index adc705ff..99f97b6f 100644 --- a/dash_html_components/Param.py +++ b/dash_html_components/Param.py @@ -42,7 +42,7 @@ class Param(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Param' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'name', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Picture.py b/dash_html_components/Picture.py index f974dfec..917617a5 100644 --- a/dash_html_components/Picture.py +++ b/dash_html_components/Picture.py @@ -40,7 +40,7 @@ class Picture(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Picture' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Plaintext.py b/dash_html_components/Plaintext.py index 5c1d54f9..942b54a9 100644 --- a/dash_html_components/Plaintext.py +++ b/dash_html_components/Plaintext.py @@ -40,7 +40,7 @@ class Plaintext(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Plaintext' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Pre.py b/dash_html_components/Pre.py index 925a0ddb..aa44eaa7 100644 --- a/dash_html_components/Pre.py +++ b/dash_html_components/Pre.py @@ -40,7 +40,7 @@ class Pre(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Pre' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Progress.py b/dash_html_components/Progress.py index db52a687..837ce2c2 100644 --- a/dash_html_components/Progress.py +++ b/dash_html_components/Progress.py @@ -43,7 +43,7 @@ class Progress(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'max', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Progress' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'form', 'max', 'value', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Q.py b/dash_html_components/Q.py index c97daa1b..215049a7 100644 --- a/dash_html_components/Q.py +++ b/dash_html_components/Q.py @@ -41,7 +41,7 @@ class Q(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Q' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'cite', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Rp.py b/dash_html_components/Rp.py index 14ce9643..1a9bed1b 100644 --- a/dash_html_components/Rp.py +++ b/dash_html_components/Rp.py @@ -40,7 +40,7 @@ class Rp(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Rp' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Rt.py b/dash_html_components/Rt.py index 8b74648b..fe273cb5 100644 --- a/dash_html_components/Rt.py +++ b/dash_html_components/Rt.py @@ -40,7 +40,7 @@ class Rt(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Rt' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Rtc.py b/dash_html_components/Rtc.py index 524dbc28..d53c348a 100644 --- a/dash_html_components/Rtc.py +++ b/dash_html_components/Rtc.py @@ -40,7 +40,7 @@ class Rtc(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Rtc' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Ruby.py b/dash_html_components/Ruby.py index 5da1672f..1afc2ac9 100644 --- a/dash_html_components/Ruby.py +++ b/dash_html_components/Ruby.py @@ -40,7 +40,7 @@ class Ruby(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Ruby' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/S.py b/dash_html_components/S.py index 7fca5ea6..d063b63e 100644 --- a/dash_html_components/S.py +++ b/dash_html_components/S.py @@ -40,7 +40,7 @@ class S(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'S' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Samp.py b/dash_html_components/Samp.py index e1799006..387f19ea 100644 --- a/dash_html_components/Samp.py +++ b/dash_html_components/Samp.py @@ -40,7 +40,7 @@ class Samp(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Samp' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Script.py b/dash_html_components/Script.py index 880f1cfc..7941c2d2 100644 --- a/dash_html_components/Script.py +++ b/dash_html_components/Script.py @@ -47,7 +47,7 @@ class Script(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'async', 'charSet', 'crossOrigin', 'defer', 'integrity', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Script' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'async', 'charSet', 'crossOrigin', 'defer', 'integrity', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Section.py b/dash_html_components/Section.py index cd533f82..ca023d54 100644 --- a/dash_html_components/Section.py +++ b/dash_html_components/Section.py @@ -40,7 +40,7 @@ class Section(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Section' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Select.py b/dash_html_components/Select.py index 50e1ad2d..705bef39 100644 --- a/dash_html_components/Select.py +++ b/dash_html_components/Select.py @@ -47,7 +47,7 @@ class Select(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'multiple', 'name', 'required', 'size', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Select' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoFocus', 'disabled', 'form', 'multiple', 'name', 'required', 'size', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Shadow.py b/dash_html_components/Shadow.py index 0f92458e..3a531a7c 100644 --- a/dash_html_components/Shadow.py +++ b/dash_html_components/Shadow.py @@ -40,7 +40,7 @@ class Shadow(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Shadow' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Slot.py b/dash_html_components/Slot.py index f2d37e7a..0d65bba3 100644 --- a/dash_html_components/Slot.py +++ b/dash_html_components/Slot.py @@ -40,7 +40,7 @@ class Slot(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Slot' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Small.py b/dash_html_components/Small.py index 8b8da71c..3845fde9 100644 --- a/dash_html_components/Small.py +++ b/dash_html_components/Small.py @@ -40,7 +40,7 @@ class Small(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Small' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Source.py b/dash_html_components/Source.py index 87eb5f4b..fb6237f8 100644 --- a/dash_html_components/Source.py +++ b/dash_html_components/Source.py @@ -44,7 +44,7 @@ class Source(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'media', 'sizes', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Source' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'media', 'sizes', 'src', 'type', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Spacer.py b/dash_html_components/Spacer.py index aeba4db5..f0eb1ecb 100644 --- a/dash_html_components/Spacer.py +++ b/dash_html_components/Spacer.py @@ -40,7 +40,7 @@ class Spacer(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Spacer' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Span.py b/dash_html_components/Span.py index d8f54ab8..99dbaef5 100644 --- a/dash_html_components/Span.py +++ b/dash_html_components/Span.py @@ -40,7 +40,7 @@ class Span(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Span' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Strike.py b/dash_html_components/Strike.py index 4aaa51b8..1d3855db 100644 --- a/dash_html_components/Strike.py +++ b/dash_html_components/Strike.py @@ -40,7 +40,7 @@ class Strike(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Strike' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Strong.py b/dash_html_components/Strong.py index d0b47160..0239f5d8 100644 --- a/dash_html_components/Strong.py +++ b/dash_html_components/Strong.py @@ -40,7 +40,7 @@ class Strong(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Strong' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Sub.py b/dash_html_components/Sub.py index e3dd2f48..746bf7f2 100644 --- a/dash_html_components/Sub.py +++ b/dash_html_components/Sub.py @@ -40,7 +40,7 @@ class Sub(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Sub' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Summary.py b/dash_html_components/Summary.py index da15db33..0764ea15 100644 --- a/dash_html_components/Summary.py +++ b/dash_html_components/Summary.py @@ -40,7 +40,7 @@ class Summary(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Summary' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Sup.py b/dash_html_components/Sup.py index 85d5ec27..b86d0326 100644 --- a/dash_html_components/Sup.py +++ b/dash_html_components/Sup.py @@ -40,7 +40,7 @@ class Sup(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Sup' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Table.py b/dash_html_components/Table.py index 34fcd4e8..ff84c416 100644 --- a/dash_html_components/Table.py +++ b/dash_html_components/Table.py @@ -41,7 +41,7 @@ class Table(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'summary', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Table' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'summary', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Tbody.py b/dash_html_components/Tbody.py index 128dbfcb..ee64e0a4 100644 --- a/dash_html_components/Tbody.py +++ b/dash_html_components/Tbody.py @@ -40,7 +40,7 @@ class Tbody(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Tbody' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Td.py b/dash_html_components/Td.py index 4c9d97ef..52c0e289 100644 --- a/dash_html_components/Td.py +++ b/dash_html_components/Td.py @@ -43,7 +43,7 @@ class Td(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Td' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Template.py b/dash_html_components/Template.py index 159ff4bf..619901b8 100644 --- a/dash_html_components/Template.py +++ b/dash_html_components/Template.py @@ -40,7 +40,7 @@ class Template(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Template' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Textarea.py b/dash_html_components/Textarea.py index 7b2f3ee3..4a5f7d3e 100644 --- a/dash_html_components/Textarea.py +++ b/dash_html_components/Textarea.py @@ -53,7 +53,7 @@ class Textarea(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoComplete', 'autoFocus', 'cols', 'disabled', 'form', 'maxLength', 'minLength', 'name', 'placeholder', 'readOnly', 'required', 'rows', 'wrap', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Textarea' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoComplete', 'autoFocus', 'cols', 'disabled', 'form', 'maxLength', 'minLength', 'name', 'placeholder', 'readOnly', 'required', 'rows', 'wrap', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Tfoot.py b/dash_html_components/Tfoot.py index ee72f628..98be58dd 100644 --- a/dash_html_components/Tfoot.py +++ b/dash_html_components/Tfoot.py @@ -40,7 +40,7 @@ class Tfoot(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Tfoot' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Th.py b/dash_html_components/Th.py index 83a47fe2..6574c869 100644 --- a/dash_html_components/Th.py +++ b/dash_html_components/Th.py @@ -44,7 +44,7 @@ class Th(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'scope', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Th' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'colSpan', 'headers', 'rowSpan', 'scope', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Thead.py b/dash_html_components/Thead.py index 5975c7e0..dbc80909 100644 --- a/dash_html_components/Thead.py +++ b/dash_html_components/Thead.py @@ -40,7 +40,7 @@ class Thead(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Thead' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Time.py b/dash_html_components/Time.py index c51ee218..2c24b63e 100644 --- a/dash_html_components/Time.py +++ b/dash_html_components/Time.py @@ -41,7 +41,7 @@ class Time(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Time' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'dateTime', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Title.py b/dash_html_components/Title.py index 48354c6b..dda28075 100644 --- a/dash_html_components/Title.py +++ b/dash_html_components/Title.py @@ -40,7 +40,7 @@ class Title(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Title' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Tr.py b/dash_html_components/Tr.py index da653f93..d2c09eb0 100644 --- a/dash_html_components/Tr.py +++ b/dash_html_components/Tr.py @@ -40,7 +40,7 @@ class Tr(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Tr' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Track.py b/dash_html_components/Track.py index db3908c5..221c6af6 100644 --- a/dash_html_components/Track.py +++ b/dash_html_components/Track.py @@ -45,7 +45,7 @@ class Track(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'default', 'kind', 'label', 'src', 'srcLang', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Track' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'default', 'kind', 'label', 'src', 'srcLang', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/U.py b/dash_html_components/U.py index 153b7e33..1ddd8f50 100644 --- a/dash_html_components/U.py +++ b/dash_html_components/U.py @@ -40,7 +40,7 @@ class U(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'U' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Ul.py b/dash_html_components/Ul.py index 60e7894e..fa22cb8c 100644 --- a/dash_html_components/Ul.py +++ b/dash_html_components/Ul.py @@ -40,7 +40,7 @@ class Ul(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Ul' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Var.py b/dash_html_components/Var.py index 802f34e2..34a85358 100644 --- a/dash_html_components/Var.py +++ b/dash_html_components/Var.py @@ -40,7 +40,7 @@ class Var(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Var' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Video.py b/dash_html_components/Video.py index f0a1e54f..a94426b0 100644 --- a/dash_html_components/Video.py +++ b/dash_html_components/Video.py @@ -50,7 +50,7 @@ class Video(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'height', 'loop', 'muted', 'poster', 'preload', 'src', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Video' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'height', 'loop', 'muted', 'poster', 'preload', 'src', 'width', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Wbr.py b/dash_html_components/Wbr.py index 86568355..f9e48018 100644 --- a/dash_html_components/Wbr.py +++ b/dash_html_components/Wbr.py @@ -40,7 +40,7 @@ class Wbr(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Wbr' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/dash_html_components/Xmp.py b/dash_html_components/Xmp.py index f1366320..4c54afd8 100644 --- a/dash_html_components/Xmp.py +++ b/dash_html_components/Xmp.py @@ -40,7 +40,7 @@ class Xmp(Component): def __init__(self, children=None, **kwargs): self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] self._type = 'Xmp' - self._namespace = 'lib' + self._namespace = 'dash_html_components' self._valid_wildcard_attributes = ['data-', 'aria-'] self.available_events = ['click'] self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title'] diff --git a/package.json b/package.json index fde4f6dd..49508f1b 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "clean-src": "rm -rf src/* && mkdir -p src/components", "clean": "npm run clean-lib && npm run clean-src", "copy-lib": "cp lib/* dash_html_components", + "generate-python-classes": "python -c 'import dash; dash.development.component_loader.generate_classes(\"dash_html_components\")'", "generate-components": "cd scripts && sh generate-all.sh && cd -", "install-local": "npm run copy-lib && python setup.py install", "prepublish": "npm run clean && npm run generate-components && npm test && ./node_modules/.bin/builder run build-dist && npm run copy-lib", From c5069e8ee5145f543bffbd50d715a64dfe7f0490 Mon Sep 17 00:00:00 2001 From: Ryan Marren Date: Sun, 24 Jun 2018 22:16:37 -0400 Subject: [PATCH 5/5] Update __init__.py to use IDE compatible imports --- dash_html_components/__init__.py | 27 +-- dash_html_components/_imports_.py | 264 ++++++++++++++++++++++++++++++ 2 files changed, 270 insertions(+), 21 deletions(-) create mode 100644 dash_html_components/_imports_.py diff --git a/dash_html_components/__init__.py b/dash_html_components/__init__.py index 0faadaa1..7d455d9c 100644 --- a/dash_html_components/__init__.py +++ b/dash_html_components/__init__.py @@ -2,11 +2,10 @@ import os as _os import sys as _sys -import glob as _glob -from importlib import import_module as _import - import dash as _dash +from ._imports_ import * +from ._imports_ import __all__ from .version import __version__ @@ -15,22 +14,9 @@ "named \n'dash.py' in your current directory.", file=_sys.stderr) _sys.exit(1) + _current_path = _os.path.dirname(_os.path.abspath(__file__)) -_component_files = map( - lambda x: _os.path.splitext(_os.path.basename(x))[0], - filter( - lambda x: _os.path.basename(x) not in ['__init__.py', 'version.py'], - _glob.glob(_os.path.join(_current_path, '*.py')) - ) -) - -_components = [ - getattr( - _import(".{:s}".format(c), package='dash_html_components'), - c - ) for c in _component_files -] _this_module = _sys.modules[__name__] @@ -49,7 +35,6 @@ _css_dist = [] -for _component in _components: - setattr(_this_module, _component.__name__, _component) - setattr(_component, '_js_dist', _js_dist) - setattr(_component, '_css_dist', _css_dist) +for _component in __all__: + setattr(locals()[_component], '_js_dist', _js_dist) + setattr(locals()[_component], '_css_dist', _css_dist) diff --git a/dash_html_components/_imports_.py b/dash_html_components/_imports_.py new file mode 100644 index 00000000..78be2a19 --- /dev/null +++ b/dash_html_components/_imports_.py @@ -0,0 +1,264 @@ +from .A import A +from .Abbr import Abbr +from .Acronym import Acronym +from .Address import Address +from .Area import Area +from .Article import Article +from .Aside import Aside +from .Audio import Audio +from .B import B +from .Base import Base +from .Basefont import Basefont +from .Bdi import Bdi +from .Bdo import Bdo +from .Big import Big +from .Blink import Blink +from .Blockquote import Blockquote +from .Br import Br +from .Button import Button +from .Canvas import Canvas +from .Caption import Caption +from .Center import Center +from .Cite import Cite +from .Code import Code +from .Col import Col +from .Colgroup import Colgroup +from .Command import Command +from .Content import Content +from .Data import Data +from .Datalist import Datalist +from .Dd import Dd +from .Del import Del +from .Details import Details +from .Dfn import Dfn +from .Dialog import Dialog +from .Div import Div +from .Dl import Dl +from .Dt import Dt +from .Element import Element +from .Em import Em +from .Embed import Embed +from .Fieldset import Fieldset +from .Figcaption import Figcaption +from .Figure import Figure +from .Font import Font +from .Footer import Footer +from .Form import Form +from .Frame import Frame +from .Frameset import Frameset +from .H1 import H1 +from .H2 import H2 +from .H3 import H3 +from .H4 import H4 +from .H5 import H5 +from .H6 import H6 +from .Header import Header +from .Hgroup import Hgroup +from .Hr import Hr +from .I import I +from .Iframe import Iframe +from .Img import Img +from .Ins import Ins +from .Isindex import Isindex +from .Kbd import Kbd +from .Keygen import Keygen +from .Label import Label +from .Legend import Legend +from .Li import Li +from .Link import Link +from .Listing import Listing +from .Main import Main +from .MapEl import MapEl +from .Mark import Mark +from .Marquee import Marquee +from .Meta import Meta +from .Meter import Meter +from .Multicol import Multicol +from .Nav import Nav +from .Nextid import Nextid +from .Nobr import Nobr +from .Noscript import Noscript +from .ObjectEl import ObjectEl +from .Ol import Ol +from .Optgroup import Optgroup +from .Option import Option +from .Output import Output +from .P import P +from .Param import Param +from .Picture import Picture +from .Plaintext import Plaintext +from .Pre import Pre +from .Progress import Progress +from .Q import Q +from .Rp import Rp +from .Rt import Rt +from .Rtc import Rtc +from .Ruby import Ruby +from .S import S +from .Samp import Samp +from .Script import Script +from .Section import Section +from .Select import Select +from .Shadow import Shadow +from .Slot import Slot +from .Small import Small +from .Source import Source +from .Spacer import Spacer +from .Span import Span +from .Strike import Strike +from .Strong import Strong +from .Sub import Sub +from .Summary import Summary +from .Sup import Sup +from .Table import Table +from .Tbody import Tbody +from .Td import Td +from .Template import Template +from .Textarea import Textarea +from .Tfoot import Tfoot +from .Th import Th +from .Thead import Thead +from .Time import Time +from .Title import Title +from .Tr import Tr +from .Track import Track +from .U import U +from .Ul import Ul +from .Var import Var +from .Video import Video +from .Wbr import Wbr +from .Xmp import Xmp + + +__all__ = [ + "A", + "Abbr", + "Acronym", + "Address", + "Area", + "Article", + "Aside", + "Audio", + "B", + "Base", + "Basefont", + "Bdi", + "Bdo", + "Big", + "Blink", + "Blockquote", + "Br", + "Button", + "Canvas", + "Caption", + "Center", + "Cite", + "Code", + "Col", + "Colgroup", + "Command", + "Content", + "Data", + "Datalist", + "Dd", + "Del", + "Details", + "Dfn", + "Dialog", + "Div", + "Dl", + "Dt", + "Element", + "Em", + "Embed", + "Fieldset", + "Figcaption", + "Figure", + "Font", + "Footer", + "Form", + "Frame", + "Frameset", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "Header", + "Hgroup", + "Hr", + "I", + "Iframe", + "Img", + "Ins", + "Isindex", + "Kbd", + "Keygen", + "Label", + "Legend", + "Li", + "Link", + "Listing", + "Main", + "MapEl", + "Mark", + "Marquee", + "Meta", + "Meter", + "Multicol", + "Nav", + "Nextid", + "Nobr", + "Noscript", + "ObjectEl", + "Ol", + "Optgroup", + "Option", + "Output", + "P", + "Param", + "Picture", + "Plaintext", + "Pre", + "Progress", + "Q", + "Rp", + "Rt", + "Rtc", + "Ruby", + "S", + "Samp", + "Script", + "Section", + "Select", + "Shadow", + "Slot", + "Small", + "Source", + "Spacer", + "Span", + "Strike", + "Strong", + "Sub", + "Summary", + "Sup", + "Table", + "Tbody", + "Td", + "Template", + "Textarea", + "Tfoot", + "Th", + "Thead", + "Time", + "Title", + "Tr", + "Track", + "U", + "Ul", + "Var", + "Video", + "Wbr", + "Xmp", +]