From 4be1178fdc67d6cf0e0542f3147b1e124325d78f Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Tue, 9 Feb 2021 15:51:42 +0100 Subject: [PATCH] Add password widget, solid-map cluster option --- source/import_documentation/Components/Solid-Map.rst | 4 ++++ source/import_documentation/Widgets/Reference.rst | 5 +++-- source/import_documentation/attributes-list.rst | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/source/import_documentation/Components/Solid-Map.rst b/source/import_documentation/Components/Solid-Map.rst index 028a5c9..8c7bd3e 100644 --- a/source/import_documentation/Components/Solid-Map.rst +++ b/source/import_documentation/Components/Solid-Map.rst @@ -50,6 +50,10 @@ added to interact with the list of data being displayed. ~~~~~~~~~~ List of the fields to display in a popup which opens when a marker is clicked. If the attribute is not defined, no popup will show up. +``clustering`` +~~~~~~~~~~~~~~ + If this attribute is defined, markers spacially close are grouped in clusters. + Events ------- diff --git a/source/import_documentation/Widgets/Reference.rst b/source/import_documentation/Widgets/Reference.rst index a1034e2..537daab 100644 --- a/source/import_documentation/Widgets/Reference.rst +++ b/source/import_documentation/Widgets/Reference.rst @@ -51,12 +51,13 @@ Name of the template to use. Available templates: - ``radio``: set ``value`` in a list of radio buttons. The list is provided via the ``range`` attribute, which expects a container’s URL, or via the ``enum`` attribute, which takes a list of the values separated by commas. - ``multiple``: Accept a container URI as a ``value``, and inserts one widget per resource with a “remove†button for each widget, and an “add†button. - ``multipleselect``: Accept a container URI as a ``value``, and inserts a dropdown widget with the ``multiple`` attribute. - - ``checkboxes``: Accept a container URI as a ``value``, allow to select multiple values with in a list of checkbox inputs. The list is provided via the ``range`` attribute, which expects a container’s URL, or via the ``enum`` attribute, which takes a list of the values separated by commas. + - ``checkboxes``: Accept a container URI as a ``value``, allow to select multiple values with in a list of checkbox inputs. The list is provided via the ``range`` attribute, which expects a container’s URL, or via the ``enum`` attribute, which takes a list of the values separated by commas. - ``file``: Inserts an ``<input/>`` and an ``<input type="file"/>``. When a file is selected it’s uploaded, URL of file is returned by request and set as the ``<input/>`` value. The upload URL is provided via the ``upload-url`` attribute. - ``image``: Works like ``file`` but allow only images in the input, and create a preview of the image when selected by the user. - - ``color``: set ``value`` in a ``<input>`` of type ``color``. + - ``color``: set ``value`` in an ``<input>`` of type ``color``. + - ``password``: set ``value`` in an ``<input>`` of type ``password``. - ``set`` diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 00c0f4a..5da3c35 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -14,6 +14,10 @@ List of attributes (core framework) * :ref:`solid-form <solid-form>` * :ref:`solid-form-search <solid-form-search>` +``autosave`` +~~~~~~~~~~~~ + * :ref:`solid-form <solid-form>` + ``child-[field]`` ~~~~~~~~~~~~~~~~~ * :ref:`solid-display <solid-display>` @@ -22,6 +26,10 @@ List of attributes (core framework) ~~~~~~~~~~~~~~~~~ * :ref:`widget-mixin <widget-mixin>` +``clustering`` +~~~~~~~~~~~~~~ + * :ref:`solid-map <solid-map>` + ``confirmation-message`` ~~~~~~~~~~~~~~~~~~~~~~~~ * :ref:`solid-form <solid-form>` -- GitLab