forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
766c6e2084
commit
ec3522e0db
28 changed files with 118 additions and 84 deletions
|
@ -140,7 +140,7 @@ Show a literal text within braces
|
|||
-----|-----|----- |
|
||||
| text | _undefined_ | The value to show |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L332](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L332)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L339](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L339)
|
||||
|
||||
#### Example usage of braced
|
||||
|
||||
|
@ -150,7 +150,7 @@ Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L332](/src/
|
|||
|
||||
Allow to create a copy of the current element
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L356](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L356)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L363](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L363)
|
||||
|
||||
#### Example usage of create_copy
|
||||
|
||||
|
@ -160,7 +160,7 @@ Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L356](/src/
|
|||
|
||||
Shows the title of the popup. Useful for some cases, e.g. 'What is phone number of {title()}?'
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L311](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L311)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L318](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L318)
|
||||
|
||||
#### Example usage of title
|
||||
|
||||
|
@ -174,7 +174,7 @@ If the given key can be interpreted as a JSON, only show the key containing the
|
|||
-----|-----|----- |
|
||||
| key | value | The attribute to interpret as json |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L277](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L277)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L284](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L284)
|
||||
|
||||
#### Example usage of translated
|
||||
|
||||
|
@ -188,7 +188,7 @@ Visualises data of a POI, sometimes with data updating capabilities
|
|||
|
||||
Prints all key-value pairs of the object - used for debugging
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L283](/src/UI/Popup/DataVisualisations.ts#L283)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L287](/src/UI/Popup/DataVisualisations.ts#L287)
|
||||
|
||||
#### Example usage of all_tags
|
||||
|
||||
|
@ -202,7 +202,7 @@ Converts a short, canonical value into the long, translated text including the u
|
|||
-----|-----|----- |
|
||||
| key | _undefined_ | The key of the tag to give the canonical text for |
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L169](/src/UI/Popup/DataVisualisations.ts#L169)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L173](/src/UI/Popup/DataVisualisations.ts#L173)
|
||||
|
||||
#### Example usage of canonical
|
||||
|
||||
|
@ -217,7 +217,7 @@ Converts compass degrees (with 0° being north, 90° being east, ...) into a hum
|
|||
| key | _direction:centerpoint | The attribute containing the degrees |
|
||||
| offset | 0 | Offset value that is added to the actual value, e.g. `180` to indicate the opposite (backward) direction |
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L45](/src/UI/Popup/DataVisualisations.ts#L45)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L49](/src/UI/Popup/DataVisualisations.ts#L49)
|
||||
|
||||
#### Example usage of direction_absolute
|
||||
|
||||
|
@ -227,7 +227,7 @@ Defined in [/src/UI/Popup/DataVisualisations.ts#L45](/src/UI/Popup/DataVisualisa
|
|||
|
||||
Gives a distance indicator and a compass pointing towards the location from your GPS-location. If clicked, centers the map on the object
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L27](/src/UI/Popup/DataVisualisations.ts#L27)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L31](/src/UI/Popup/DataVisualisations.ts#L31)
|
||||
|
||||
#### Example usage of direction_indicator
|
||||
|
||||
|
@ -243,7 +243,7 @@ A small element, showing if the POI is currently open and when the next change i
|
|||
| prefix | _empty string_ | Remove this string from the start of the value before parsing. __Note: use `&LPARENs` to indicate `(` if needed__ |
|
||||
| postfix | _empty string_ | Remove this string from the end of the value before parsing. __Note: use `&RPARENs` to indicate `)` if needed__ |
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L128](/src/UI/Popup/DataVisualisations.ts#L128)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L132](/src/UI/Popup/DataVisualisations.ts#L132)
|
||||
|
||||
#### Example usage of opening_hours_state
|
||||
|
||||
|
@ -259,7 +259,7 @@ Creates an opening-hours table. Usage: {opening_hours_table(opening_hours)} to c
|
|||
| prefix | _empty string_ | Remove this string from the start of the value before parsing. __Note: use `&LPARENs` to indicate `(` if needed__ |
|
||||
| postfix | _empty string_ | Remove this string from the end of the value before parsing. __Note: use `&RPARENs` to indicate `)` if needed__ |
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L89](/src/UI/Popup/DataVisualisations.ts#L89)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L93](/src/UI/Popup/DataVisualisations.ts#L93)
|
||||
|
||||
#### Example usage of opening_hours_table
|
||||
|
||||
|
@ -273,7 +273,7 @@ Creates a visualisation for 'points in time', e.g. collection times of a postbox
|
|||
-----|-----|----- |
|
||||
| key | _undefined_ | The key out of which the points_in_time will be parsed |
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L294](/src/UI/Popup/DataVisualisations.ts#L294)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L298](/src/UI/Popup/DataVisualisations.ts#L298)
|
||||
|
||||
#### Example usage of points_in_time
|
||||
|
||||
|
@ -283,7 +283,7 @@ Defined in [/src/UI/Popup/DataVisualisations.ts#L294](/src/UI/Popup/DataVisualis
|
|||
|
||||
Show general statistics about all the elements currently in view. Intended to use on the `current_view`-layer. They will be split per layer
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L209](/src/UI/Popup/DataVisualisations.ts#L209)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L213](/src/UI/Popup/DataVisualisations.ts#L213)
|
||||
|
||||
#### Example usage of statistics
|
||||
|
||||
|
@ -327,7 +327,7 @@ Gives an interactive element which shows a tag comparison between the OSM-object
|
|||
| host | _undefined_ | The domain name(s) where data might be fetched from - this is needed to set the CSP. A domain must include 'https', e.g. 'https://example.com'. For multiple domains, separate them with ';'. If you don't know the possible domains, use '*'. |
|
||||
| readonly | _undefined_ | If 'yes', will not show 'apply'-buttons |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L237](/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L237)
|
||||
Defined in [/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L243](/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L243)
|
||||
|
||||
#### Example usage of compare_data
|
||||
|
||||
|
@ -534,7 +534,7 @@ Attempts to load (via a proxy) the specified website and parsed ld+json from the
|
|||
| mode | _undefined_ | If `display`, only show the data in tabular and readonly form, ignoring already existing tags. This is used to explicitly show all the tags. If unset or anything else, allow to apply/import on OSM |
|
||||
| collapsed | yes | If the containing accordion should be closed |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L96](/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L96)
|
||||
Defined in [/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L100](/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L100)
|
||||
|
||||
#### Example usage of linked_data_from_website
|
||||
|
||||
|
@ -553,7 +553,7 @@ Change the status of the given MapRoulette task
|
|||
| maproulette_id | mr_taskId | The property name containing the maproulette id |
|
||||
| ask_feedback | _empty string_ | If not an empty string, this will be used as question to ask some additional feedback. A text field will be added |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L20](/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L20)
|
||||
Defined in [/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L24](/src/UI/SpecialVisualisations/DataImportSpecialVisualisations.ts#L24)
|
||||
|
||||
#### Example usage of maproulette_set_status
|
||||
|
||||
|
@ -628,7 +628,7 @@ These special visualisations are (mostly) interactive components that most eleme
|
|||
|
||||
An element which allows to add a new point on the 'last_click'-location. Only makes sense in the layer `last_click`
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L261](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L261)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L268](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L268)
|
||||
|
||||
#### Example usage of add_new_point
|
||||
|
||||
|
@ -638,7 +638,7 @@ Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L261](/src/
|
|||
|
||||
Adds a button which allows to delete the object at this location. The config will be read from the layer config
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L168](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L168)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L175](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L175)
|
||||
|
||||
#### Example usage of delete_button
|
||||
|
||||
|
@ -653,7 +653,7 @@ Shows a 'nothing is currently known-message if there is at least one unanswered
|
|||
| text | _undefined_ | Text to show |
|
||||
| cssClasses | _undefined_ | Classes to apply onto the text |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L228](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L228)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L235](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L235)
|
||||
|
||||
#### Example usage of if_nothing_known
|
||||
|
||||
|
@ -679,7 +679,7 @@ Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L86](/src/U
|
|||
|
||||
Adds a button which allows to move the object to another location. The config will be read from the layer config
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L142](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L142)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L149](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L149)
|
||||
|
||||
#### Example usage of move_button
|
||||
|
||||
|
@ -694,7 +694,7 @@ Generates a QR-code to share the selected object
|
|||
| text | _undefined_ | Extra text on the side of the QR-code |
|
||||
| textClass | _undefined_ | CSS class of the the side text |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L195](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L195)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L202](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L202)
|
||||
|
||||
#### Example usage of qr_code
|
||||
|
||||
|
@ -735,7 +735,7 @@ Defined in [/src/UI/Popup/ShareLinkViz.ts#L7](/src/UI/Popup/ShareLinkViz.ts#L7)
|
|||
|
||||
Adds a button which allows to split a way
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L125](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L125)
|
||||
Defined in [/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L132](/src/UI/SpecialVisualisations/UISpecialVisualisations.ts#L132)
|
||||
|
||||
#### Example usage of split_button
|
||||
|
||||
|
@ -1193,7 +1193,7 @@ Converts a fediverse username or link into a clickable link
|
|||
-----|-----|----- |
|
||||
| key | _undefined_ | The attribute-name containing the link |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L17](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L17)
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L21](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L21)
|
||||
|
||||
#### Example usage of fediverse_link
|
||||
|
||||
|
@ -1212,7 +1212,7 @@ Construct a link. By using the 'special' visualisation notation, translations sh
|
|||
| arialabel | _undefined_ | If set, this text will be used as aria-label |
|
||||
| icon | _undefined_ | If set, show this icon next to the link. You might want to combine this with `class: button` |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L139](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L139)
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L145](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L145)
|
||||
|
||||
#### Example usage of link
|
||||
|
||||
|
@ -1243,7 +1243,7 @@ Creates a `mailto`-link where some fields are already set and correctly escaped.
|
|||
| body | _undefined_ | The text in the email |
|
||||
| button_text | _undefined_ | The text shown on the button in the UI |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L105](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L105)
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L111](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L111)
|
||||
|
||||
#### Example usage of send_email
|
||||
|
||||
|
@ -1257,7 +1257,7 @@ Shows the label of the corresponding wikidata-item
|
|||
-----|-----|----- |
|
||||
| keyToShowWikidataFor | wikidata | Use the wikidata entry from this key to show the label |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L67](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L67)
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L71](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L71)
|
||||
|
||||
#### Example usage of wikidata_label
|
||||
|
||||
|
@ -1271,7 +1271,7 @@ A box showing the corresponding wikipedia article(s) - based on the **wikidata**
|
|||
-----|-----|----- |
|
||||
| keyToShowWikipediaFor | wikidata;wikipedia | Use the wikidata entry from this key to show the wikipedia article for. Multiple keys can be given (separated by ';'), in which case the first matching value is used |
|
||||
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L39](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L39)
|
||||
Defined in [/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L43](/src/UI/SpecialVisualisations/WebAndCommunicationSpecialVisualisations.ts#L43)
|
||||
|
||||
#### Example usage of wikipedia
|
||||
|
||||
|
@ -1366,7 +1366,7 @@ Defined in [/src/UI/Popup/MultiApplyViz.ts#L7](/src/UI/Popup/MultiApplyViz.ts#L7
|
|||
|
||||
Shows the extra description from the presets of the layer, if one matches. It will pick the most specific one (e.g. if preset `A` implies `B`, but `B` does not imply `A`, it'll pick B) or the first one if no ordering can be made. Might be empty
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L221](/src/UI/Popup/DataVisualisations.ts#L221)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L225](/src/UI/Popup/DataVisualisations.ts#L225)
|
||||
|
||||
#### Example usage of preset_description
|
||||
|
||||
|
@ -1376,7 +1376,7 @@ Defined in [/src/UI/Popup/DataVisualisations.ts#L221](/src/UI/Popup/DataVisualis
|
|||
|
||||
An editable tag rendering which allows to change the type
|
||||
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L239](/src/UI/Popup/DataVisualisations.ts#L239)
|
||||
Defined in [/src/UI/Popup/DataVisualisations.ts#L243](/src/UI/Popup/DataVisualisations.ts#L243)
|
||||
|
||||
#### Example usage of preset_type_select
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ Available languages:
|
|||
|
||||
- en
|
||||
- cs
|
||||
- zh_Hant
|
||||
|
||||
# Layers defined in this theme configuration file
|
||||
These layers can not be reused in different themes.
|
||||
|
|
|
@ -339,7 +339,7 @@ No default value set
|
|||
|
||||
Used to share a session with another device - this saves logging in at another device
|
||||
|
||||
This documentation is defined in the source code at [WithUserRelatedState.ts](/src/Models/ThemeViewState/WithUserRelatedState.ts#L47)
|
||||
This documentation is defined in the source code at [WithUserRelatedState.ts](/src/Models/ThemeViewState/WithUserRelatedState.ts#L46)
|
||||
|
||||
No default value set
|
||||
|
||||
|
@ -347,7 +347,7 @@ No default value set
|
|||
|
||||
Used to complete the login
|
||||
|
||||
This documentation is defined in the source code at [WithUserRelatedState.ts](/src/Models/ThemeViewState/WithUserRelatedState.ts#L52)
|
||||
This documentation is defined in the source code at [WithUserRelatedState.ts](/src/Models/ThemeViewState/WithUserRelatedState.ts#L51)
|
||||
|
||||
No default value set
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue