@panoramax/web-viewer 4.4.0-develop-3839b5a4 → 4.4.0-develop-f91f6758
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src → build}/components/core/Basic.js +22 -16
- package/{src → build}/components/core/CoverageMap.js +19 -14
- package/{src → build}/components/core/Editor.js +16 -16
- package/{src → build}/components/core/PhotoViewer.js +30 -29
- package/{src → build}/components/core/Viewer.js +21 -20
- package/build/components/core/index.js +10 -0
- package/build/components/index.js +11 -0
- package/build/components/index_photoviewer.js +6 -0
- package/{src → build}/components/layout/BottomDrawer.js +4 -4
- package/{src → build}/components/layout/CorneredGrid.js +1 -1
- package/{src → build}/components/layout/Mini.js +5 -4
- package/{src → build}/components/layout/Tabs.js +1 -1
- package/build/components/layout/index.js +9 -0
- package/{src → build}/components/menus/LocationPrecisionDoc.js +4 -6
- package/{src → build}/components/menus/MapBackground.js +4 -6
- package/{src → build}/components/menus/MapFilters.js +16 -21
- package/{src → build}/components/menus/MapLayers.js +20 -24
- package/{src → build}/components/menus/MapLegend.js +3 -4
- package/{src → build}/components/menus/MiniPictureLegend.js +3 -4
- package/{src → build}/components/menus/PictureLegend.js +10 -15
- package/{src → build}/components/menus/PictureMetadata.js +12 -19
- package/{src → build}/components/menus/PlayerOptions.js +5 -7
- package/{src → build}/components/menus/QualityScoreDoc.js +3 -4
- package/{src → build}/components/menus/ReportForm.js +8 -9
- package/{src → build}/components/menus/SemanticsDoc.js +3 -4
- package/{src → build}/components/menus/SemanticsDownload.js +3 -3
- package/{src → build}/components/menus/SemanticsFilters.js +7 -8
- package/{src → build}/components/menus/SemanticsList.js +11 -18
- package/{src → build}/components/menus/SemanticsMetadata.js +8 -11
- package/{src → build}/components/menus/Share.js +6 -7
- package/build/components/menus/index.js +22 -0
- package/build/components/menus/index_photoviewer.js +11 -0
- package/{src → build}/components/styles.js +0 -2
- package/{src → build}/components/ui/AnnotationsSwitch.js +6 -8
- package/{src → build}/components/ui/Button.js +1 -1
- package/{src → build}/components/ui/ButtonGroup.js +2 -1
- package/{src → build}/components/ui/CopyButton.js +4 -6
- package/{src → build}/components/ui/Grade.js +5 -5
- package/{src → build}/components/ui/GradeFilter.js +3 -3
- package/{src → build}/components/ui/IconSwitch.js +1 -1
- package/{src → build}/components/ui/LinkButton.js +1 -1
- package/{src → build}/components/ui/ListGroup.js +3 -3
- package/{src → build}/components/ui/ListItem.js +1 -1
- package/{src → build}/components/ui/Loader.js +8 -7
- package/{src → build}/components/ui/Map.js +38 -26
- package/{src → build}/components/ui/MapMore.js +7 -7
- package/{src → build}/components/ui/Photo.js +29 -27
- package/{src → build}/components/ui/Popup.js +4 -4
- package/{src → build}/components/ui/QualityScore.js +4 -4
- package/{src → build}/components/ui/SearchBar.js +6 -7
- package/{src → build}/components/ui/SemanticsEditor.js +14 -15
- package/{src → build}/components/ui/SemanticsTable.js +4 -5
- package/{src → build}/components/ui/Switch.js +1 -1
- package/{src → build}/components/ui/TogglableGroup.js +4 -4
- package/build/components/ui/index.js +29 -0
- package/build/components/ui/index_photoviewer.js +21 -0
- package/{src → build}/components/ui/widgets/CopyCoordinates.js +5 -5
- package/{src → build}/components/ui/widgets/GeoSearch.js +10 -10
- package/{src → build}/components/ui/widgets/Legend.js +9 -8
- package/{src → build}/components/ui/widgets/LevelSelect.js +9 -7
- package/{src → build}/components/ui/widgets/MapFiltersButton.js +5 -5
- package/{src → build}/components/ui/widgets/MapLayersButton.js +5 -5
- package/{src → build}/components/ui/widgets/OSMEditors.js +8 -8
- package/{src → build}/components/ui/widgets/PictureLegendActions.js +4 -4
- package/{src → build}/components/ui/widgets/Player.js +6 -7
- package/{src → build}/components/ui/widgets/SemanticsFiltersButton.js +6 -7
- package/{src → build}/components/ui/widgets/Zoom.js +6 -6
- package/build/components/ui/widgets/index.js +16 -0
- package/build/components/ui/widgets/index_photoviewer.js +7 -0
- package/build/editor.html +94 -10
- package/{src → build}/img/arrow_triangle.svg +0 -1
- package/{src → build}/img/arrow_turn.svg +0 -1
- package/build/index.html +111 -1
- package/build/index.js +6 -95
- package/build/index_photoviewer.js +4 -0
- package/build/map.html +97 -1
- package/build/package.json +141 -0
- package/build/photo.html +85 -1
- package/build/servers.js +3 -4
- package/{src → build}/utils/API.js +33 -33
- package/{src → build}/utils/InitParameters.js +11 -9
- package/{src → build}/utils/MapStyleComposer.js +39 -37
- package/{src → build}/utils/PhotoAdapter.js +1 -0
- package/{src → build}/utils/PresetsManager.js +4 -4
- package/{src → build}/utils/SemanticsMapProtocol.js +3 -4
- package/{src → build}/utils/URLHandler.js +16 -14
- package/{src → build}/utils/geocoder.js +5 -5
- package/{src → build}/utils/i18n.js +21 -20
- package/build/utils/index.js +17 -0
- package/build/utils/index_photoviewer.js +14 -0
- package/{src → build}/utils/indoor.js +9 -5
- package/{src → build}/utils/map.js +15 -11
- package/{src → build}/utils/picture.js +22 -17
- package/{src → build}/utils/semantics.js +9 -5
- package/{src → build}/utils/utils.js +8 -4
- package/{src → build}/utils/widgets.js +2 -2
- package/build/viewer.html +120 -35
- package/build/viewer_indoor.html +90 -8
- package/build/widgets.html +410 -1
- package/package.json +81 -204
- package/.dockerignore +0 -7
- package/.gitlab-ci.yml +0 -78
- package/CHANGELOG.md +0 -853
- package/CODE_OF_CONDUCT.md +0 -134
- package/Dockerfile +0 -14
- package/build/index.css +0 -36
- package/build/index.css.map +0 -1
- package/build/index.js.map +0 -1
- package/build/photoviewer.css +0 -36
- package/build/photoviewer.css.map +0 -1
- package/build/photoviewer.js +0 -86
- package/build/photoviewer.js.map +0 -1
- package/build/static/media/atkinson-hyperlegible-next-latin-400-normal..woff +0 -0
- package/build/static/media/atkinson-hyperlegible-next-latin-400-normal..woff2 +0 -0
- package/build/static/media/atkinson-hyperlegible-next-latin-ext-400-normal..woff +0 -0
- package/build/static/media/atkinson-hyperlegible-next-latin-ext-400-normal..woff2 +0 -0
- package/config/env.js +0 -104
- package/config/getHttpsConfig.js +0 -69
- package/config/getPackageJson.js +0 -25
- package/config/jest/babelTransform.js +0 -29
- package/config/jest/cssTransform.js +0 -14
- package/config/jest/fileTransform.js +0 -40
- package/config/jest/mocks.js +0 -230
- package/config/modules.js +0 -134
- package/config/paths.js +0 -76
- package/config/pnpTs.js +0 -35
- package/config/webpack/persistentCache/createEnvironmentHash.js +0 -9
- package/config/webpack.config.js +0 -825
- package/config/webpackDevServer.config.js +0 -131
- package/docs/03_URL_settings.md +0 -218
- package/docs/05_Compatibility.md +0 -83
- package/docs/09_Develop.md +0 -141
- package/docs/90_Releases.md +0 -27
- package/docs/images/class_diagram.drawio +0 -144
- package/docs/images/class_diagram.jpg +0 -0
- package/docs/images/comparative_3drender.jpg +0 -0
- package/docs/images/indoor_level.png +0 -0
- package/docs/images/screenshot.jpg +0 -0
- package/docs/index.md +0 -159
- package/docs/reference/components/core/Basic.md +0 -211
- package/docs/reference/components/core/CoverageMap.md +0 -220
- package/docs/reference/components/core/Editor.md +0 -252
- package/docs/reference/components/core/PhotoViewer.md +0 -320
- package/docs/reference/components/core/Viewer.md +0 -398
- package/docs/reference/components/layout/BottomDrawer.md +0 -35
- package/docs/reference/components/layout/CorneredGrid.md +0 -29
- package/docs/reference/components/layout/Mini.md +0 -45
- package/docs/reference/components/layout/Tabs.md +0 -46
- package/docs/reference/components/menus/LocationPrecisionDoc.md +0 -15
- package/docs/reference/components/menus/MapBackground.md +0 -32
- package/docs/reference/components/menus/MapFilters.md +0 -37
- package/docs/reference/components/menus/MapLayers.md +0 -15
- package/docs/reference/components/menus/MapLegend.md +0 -32
- package/docs/reference/components/menus/MiniPictureLegend.md +0 -15
- package/docs/reference/components/menus/PictureLegend.md +0 -45
- package/docs/reference/components/menus/PictureMetadata.md +0 -32
- package/docs/reference/components/menus/PlayerOptions.md +0 -15
- package/docs/reference/components/menus/QualityScoreDoc.md +0 -15
- package/docs/reference/components/menus/ReportForm.md +0 -15
- package/docs/reference/components/menus/SemanticsDoc.md +0 -15
- package/docs/reference/components/menus/SemanticsDownload.md +0 -15
- package/docs/reference/components/menus/SemanticsFilters.md +0 -33
- package/docs/reference/components/menus/SemanticsList.md +0 -97
- package/docs/reference/components/menus/SemanticsMetadata.md +0 -15
- package/docs/reference/components/menus/ShareMenu.md +0 -32
- package/docs/reference/components/ui/AnnotationsSwitch.md +0 -32
- package/docs/reference/components/ui/Button.md +0 -40
- package/docs/reference/components/ui/ButtonGroup.md +0 -36
- package/docs/reference/components/ui/CopyButton.md +0 -41
- package/docs/reference/components/ui/Grade.md +0 -32
- package/docs/reference/components/ui/GradeFilter.md +0 -42
- package/docs/reference/components/ui/IconSwitch.md +0 -53
- package/docs/reference/components/ui/LinkButton.md +0 -45
- package/docs/reference/components/ui/ListGroup.md +0 -22
- package/docs/reference/components/ui/ListItem.md +0 -39
- package/docs/reference/components/ui/Loader.md +0 -56
- package/docs/reference/components/ui/Map.md +0 -150
- package/docs/reference/components/ui/MapMore.md +0 -150
- package/docs/reference/components/ui/Photo.md +0 -495
- package/docs/reference/components/ui/Popup.md +0 -56
- package/docs/reference/components/ui/ProgressBar.md +0 -32
- package/docs/reference/components/ui/QualityScore.md +0 -45
- package/docs/reference/components/ui/SearchBar.md +0 -63
- package/docs/reference/components/ui/SemanticsEditor.md +0 -113
- package/docs/reference/components/ui/SemanticsTable.md +0 -32
- package/docs/reference/components/ui/Switch.md +0 -49
- package/docs/reference/components/ui/TogglableGroup.md +0 -39
- package/docs/reference/components/ui/widgets/CopyCoordinates.md +0 -32
- package/docs/reference/components/ui/widgets/GeoSearch.md +0 -36
- package/docs/reference/components/ui/widgets/Legend.md +0 -58
- package/docs/reference/components/ui/widgets/LevelSelect.md +0 -16
- package/docs/reference/components/ui/widgets/MapFiltersButton.md +0 -37
- package/docs/reference/components/ui/widgets/MapLayersButton.md +0 -15
- package/docs/reference/components/ui/widgets/OSMEditors.md +0 -15
- package/docs/reference/components/ui/widgets/PictureLegendActions.md +0 -32
- package/docs/reference/components/ui/widgets/Player.md +0 -34
- package/docs/reference/components/ui/widgets/SemanticsFiltersButton.md +0 -15
- package/docs/reference/components/ui/widgets/Zoom.md +0 -15
- package/docs/reference/utils/API.md +0 -389
- package/docs/reference/utils/InitParameters.md +0 -68
- package/docs/reference/utils/MapStyleComposer.md +0 -408
- package/docs/reference/utils/PanoraMapProtocol.md +0 -28
- package/docs/reference/utils/PresetsManager.md +0 -43
- package/docs/reference/utils/SemanticsMapProtocol.md +0 -43
- package/docs/reference/utils/URLHandler.md +0 -114
- package/docs/reference.md +0 -99
- package/docs/shortcuts.md +0 -11
- package/docs/tutorials/aerial_imagery.md +0 -21
- package/docs/tutorials/authentication.md +0 -10
- package/docs/tutorials/custom_widgets.md +0 -59
- package/docs/tutorials/indoor_maps.md +0 -50
- package/docs/tutorials/map_style.md +0 -83
- package/docs/tutorials/migrate_v4.md +0 -153
- package/docs/tutorials/migrate_v5.md +0 -103
- package/docs/tutorials/semantics_overlays.md +0 -74
- package/docs/tutorials/synced_coverage.md +0 -43
- package/mkdocs.yml +0 -131
- package/public/editor.html +0 -53
- package/public/index.html +0 -70
- package/public/map.html +0 -55
- package/public/photo.html +0 -43
- package/public/servers.js +0 -15
- package/public/viewer.html +0 -79
- package/public/viewer_indoor.html +0 -48
- package/public/widgets.html +0 -366
- package/scripts/build.js +0 -217
- package/scripts/doc.js +0 -79
- package/scripts/start.js +0 -172
- package/scripts/test.js +0 -52
- package/src/components/core/index.js +0 -12
- package/src/components/index.js +0 -13
- package/src/components/index_photoviewer.js +0 -8
- package/src/components/layout/index.js +0 -9
- package/src/components/menus/index.js +0 -22
- package/src/components/menus/index_photoviewer.js +0 -13
- package/src/components/ui/index.js +0 -29
- package/src/components/ui/index_photoviewer.js +0 -23
- package/src/components/ui/widgets/index.js +0 -16
- package/src/components/ui/widgets/index_photoviewer.js +0 -9
- package/src/index.js +0 -8
- package/src/index_photoviewer.js +0 -6
- package/src/utils/index.js +0 -17
- package/src/utils/index_photoviewer.js +0 -16
- package/tests/components/core/Basic.test.js +0 -168
- package/tests/components/core/BasicMock.js +0 -25
- package/tests/components/core/CoverageMap.test.js +0 -20
- package/tests/components/core/Editor.test.js +0 -20
- package/tests/components/core/PhotoViewer.test.js +0 -57
- package/tests/components/core/Viewer.test.js +0 -85
- package/tests/components/core/__snapshots__/PhotoViewer.test.js.snap +0 -96
- package/tests/components/core/__snapshots__/Viewer.test.js.snap +0 -188
- package/tests/components/ui/CopyButton.test.js +0 -52
- package/tests/components/ui/Loader.test.js +0 -55
- package/tests/components/ui/Map.test.js +0 -145
- package/tests/components/ui/Photo.test.js +0 -437
- package/tests/components/ui/Popup.test.js +0 -26
- package/tests/components/ui/QualityScore.test.js +0 -18
- package/tests/components/ui/SearchBar.test.js +0 -110
- package/tests/components/ui/__snapshots__/CopyButton.test.js.snap +0 -33
- package/tests/components/ui/__snapshots__/Loader.test.js.snap +0 -56
- package/tests/components/ui/__snapshots__/Map.test.js.snap +0 -16
- package/tests/components/ui/__snapshots__/Photo.test.js.snap +0 -263
- package/tests/components/ui/__snapshots__/Popup.test.js.snap +0 -29
- package/tests/components/ui/__snapshots__/QualityScore.test.js.snap +0 -11
- package/tests/components/ui/__snapshots__/SearchBar.test.js.snap +0 -65
- package/tests/data/Map_geocoder_ban.json +0 -36
- package/tests/data/Map_geocoder_nominatim.json +0 -41
- package/tests/data/Viewer_pictures_1.json +0 -148
- package/tests/setupTests.js +0 -5
- package/tests/utils/API.test.js +0 -752
- package/tests/utils/InitParameters.test.js +0 -599
- package/tests/utils/MapStyleComposer.test.js +0 -697
- package/tests/utils/PresetsManager.test.js +0 -123
- package/tests/utils/URLHandler.test.js +0 -587
- package/tests/utils/__snapshots__/API.test.js.snap +0 -40
- package/tests/utils/__snapshots__/MapStyleComposer.test.js.snap +0 -767
- package/tests/utils/__snapshots__/URLHandler.test.js.snap +0 -21
- package/tests/utils/__snapshots__/geocoder.test.js.snap +0 -37
- package/tests/utils/__snapshots__/map.test.js.snap +0 -1249
- package/tests/utils/__snapshots__/picture.test.js.snap +0 -327
- package/tests/utils/__snapshots__/widgets.test.js.snap +0 -19
- package/tests/utils/geocoder.test.js +0 -37
- package/tests/utils/i18n.test.js +0 -111
- package/tests/utils/map.test.js +0 -200
- package/tests/utils/picture.test.js +0 -745
- package/tests/utils/semantics.test.js +0 -174
- package/tests/utils/utils.test.js +0 -358
- package/tests/utils/widgets.test.js +0 -31
- /package/{src → build}/components/core/Basic.css +0 -0
- /package/{src → build}/components/core/CoverageMap.css +0 -0
- /package/{src → build}/components/core/Editor.css +0 -0
- /package/{src → build}/components/core/PhotoViewer.css +0 -0
- /package/{src → build}/components/core/Viewer.css +0 -0
- /package/{src → build}/components/ui/ButtonGroup.css +0 -0
- /package/{src → build}/components/ui/Map.css +0 -0
- /package/{src → build}/components/ui/Photo.css +0 -0
- /package/{src → build}/components/ui/ProgressBar.js +0 -0
- /package/{src → build}/components/ui/widgets/GeoSearch.css +0 -0
- /package/{src → build}/components/ui/widgets/LevelSelect.css +0 -0
- /package/{src → build}/components/ui/widgets/Player.css +0 -0
- /package/{public → build}/favicon.ico +0 -0
- /package/{src → build}/img/arrow_360.svg +0 -0
- /package/{src → build}/img/arrow_flat.svg +0 -0
- /package/{src → build}/img/bg_aerial.jpg +0 -0
- /package/{src → build}/img/bg_streets.jpg +0 -0
- /package/{src → build}/img/loader_base.jpg +0 -0
- /package/{src → build}/img/logo_dead.svg +0 -0
- /package/{src → build}/img/marker.svg +0 -0
- /package/{src → build}/img/marker_blue.svg +0 -0
- /package/{src → build}/img/osm.svg +0 -0
- /package/{src → build}/img/panoramax.svg +0 -0
- /package/{src → build}/img/switch_big.svg +0 -0
- /package/{src → build}/img/switch_mini.svg +0 -0
- /package/{src → build}/img/wd.svg +0 -0
- /package/{src → build}/translations/ar.json +0 -0
- /package/{src → build}/translations/be.json +0 -0
- /package/{src → build}/translations/br.json +0 -0
- /package/{src → build}/translations/cy.json +0 -0
- /package/{src → build}/translations/da.json +0 -0
- /package/{src → build}/translations/de.json +0 -0
- /package/{src → build}/translations/en.json +0 -0
- /package/{src → build}/translations/eo.json +0 -0
- /package/{src → build}/translations/es.json +0 -0
- /package/{src → build}/translations/fi.json +0 -0
- /package/{src → build}/translations/fr.json +0 -0
- /package/{src → build}/translations/hu.json +0 -0
- /package/{src → build}/translations/it.json +0 -0
- /package/{src → build}/translations/ja.json +0 -0
- /package/{src → build}/translations/ko.json +0 -0
- /package/{src → build}/translations/nl.json +0 -0
- /package/{src → build}/translations/nn.json +0 -0
- /package/{src → build}/translations/pl.json +0 -0
- /package/{src → build}/translations/pt.json +0 -0
- /package/{src → build}/translations/pt_BR.json +0 -0
- /package/{src → build}/translations/sv.json +0 -0
- /package/{src → build}/translations/ti.json +0 -0
- /package/{src → build}/translations/tr.json +0 -0
- /package/{src → build}/translations/uk.json +0 -0
- /package/{src → build}/translations/zh_Hant.json +0 -0
- /package/{src → build}/utils/PanoraMapProtocol.js +0 -0
- /package/{src → build}/utils/services.js +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.MapLayers"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.MapLayers ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-map-layers-menu
|
|
7
|
-
<a name="new_Panoramax.components.menus.MapLayers_new"></a>
|
|
8
|
-
|
|
9
|
-
### new MapLayers()
|
|
10
|
-
Map Layers menu allows user to select background and map theme.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-map-layers-menu _parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.MapLegend"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.MapLegend ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-map-legend
|
|
7
|
-
|
|
8
|
-
* [.MapLegend](#Panoramax.components.menus.MapLegend) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new MapLegend()](#new_Panoramax.components.menus.MapLegend_new)
|
|
10
|
-
* [.properties](#Panoramax.components.menus.MapLegend+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.menus.MapLegend_new"></a>
|
|
13
|
-
|
|
14
|
-
### new MapLegend()
|
|
15
|
-
Map legend displays information about map sources.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-map-legend ._parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.menus.MapLegend+properties"></a>
|
|
22
|
-
|
|
23
|
-
### mapLegend.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>MapLegend</code>](#Panoramax.components.menus.MapLegend)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [light] | <code>boolean</code> | <code>false</code> | Lighter version (for iframes) |
|
|
32
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.MiniPictureLegend"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.MiniPictureLegend ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-mini-picture-legend
|
|
7
|
-
<a name="new_Panoramax.components.menus.MiniPictureLegend_new"></a>
|
|
8
|
-
|
|
9
|
-
### new MiniPictureLegend()
|
|
10
|
-
Mini picture legend shows info about picture capture date, when seen in mini component of viewer.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-mini-picture-legend ._parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.PictureLegend"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.PictureLegend ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-picture-legend
|
|
7
|
-
**Slot**: `editors` External links to map editors, or any tool that may be helpful. Defaults to OSM tools (iD & JOSM).
|
|
8
|
-
|
|
9
|
-
* [.PictureLegend](#Panoramax.components.menus.PictureLegend) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new PictureLegend()](#new_Panoramax.components.menus.PictureLegend_new)
|
|
11
|
-
* [.properties](#Panoramax.components.menus.PictureLegend+properties) : <code>Object</code>
|
|
12
|
-
* [.blockOnEditing(enabled)](#Panoramax.components.menus.PictureLegend+blockOnEditing)
|
|
13
|
-
|
|
14
|
-
<a name="new_Panoramax.components.menus.PictureLegend_new"></a>
|
|
15
|
-
|
|
16
|
-
### new PictureLegend()
|
|
17
|
-
Picture legend shows info about picture author, capture date, address, and access to metadata popup.
|
|
18
|
-
|
|
19
|
-
**Example**
|
|
20
|
-
```html
|
|
21
|
-
<pnx-picture-legend ._parent=${viewer} />
|
|
22
|
-
```
|
|
23
|
-
<a name="Panoramax.components.menus.PictureLegend+properties"></a>
|
|
24
|
-
|
|
25
|
-
### pictureLegend.properties : <code>Object</code>
|
|
26
|
-
Component properties.
|
|
27
|
-
|
|
28
|
-
**Kind**: instance property of [<code>PictureLegend</code>](#Panoramax.components.menus.PictureLegend)
|
|
29
|
-
**Properties**
|
|
30
|
-
|
|
31
|
-
| Name | Type | Default | Description |
|
|
32
|
-
| --- | --- | --- | --- |
|
|
33
|
-
| [light] | <code>boolean</code> | <code>false</code> | Lighter version (for iframes) |
|
|
34
|
-
|
|
35
|
-
<a name="Panoramax.components.menus.PictureLegend+blockOnEditing"></a>
|
|
36
|
-
|
|
37
|
-
### pictureLegend.blockOnEditing(enabled)
|
|
38
|
-
Force legend to not go anywhere beyond tags editor.
|
|
39
|
-
|
|
40
|
-
**Kind**: instance method of [<code>PictureLegend</code>](#Panoramax.components.menus.PictureLegend)
|
|
41
|
-
|
|
42
|
-
| Param | Type | Description |
|
|
43
|
-
| --- | --- | --- |
|
|
44
|
-
| enabled | <code>boolean</code> | Set to true to block legend, false to unblock |
|
|
45
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.PictureMetadata"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.PictureMetadata ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-picture-metadata
|
|
7
|
-
|
|
8
|
-
* [.PictureMetadata](#Panoramax.components.menus.PictureMetadata) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new PictureMetadata()](#new_Panoramax.components.menus.PictureMetadata_new)
|
|
10
|
-
* [.properties](#Panoramax.components.menus.PictureMetadata+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.menus.PictureMetadata_new"></a>
|
|
13
|
-
|
|
14
|
-
### new PictureMetadata()
|
|
15
|
-
Picture metadata displays detailed info about a single picture (ID, capture context, EXIF attributes...).
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-picture-metadata ._parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.menus.PictureMetadata+properties"></a>
|
|
22
|
-
|
|
23
|
-
### pictureMetadata.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>PictureMetadata</code>](#Panoramax.components.menus.PictureMetadata)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [block-editor] | <code>boolean</code> | <code>false</code> | Set to true to avoid going beyond semantics editor |
|
|
32
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.PlayerOptions"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.PlayerOptions ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-player-options
|
|
7
|
-
<a name="new_Panoramax.components.menus.PlayerOptions_new"></a>
|
|
8
|
-
|
|
9
|
-
### new PlayerOptions()
|
|
10
|
-
Player Options menu displays player speed and contrast settings.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-player-options ._parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.QualityScoreDoc"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.QualityScoreDoc ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-quality-score-doc
|
|
7
|
-
<a name="new_Panoramax.components.menus.QualityScoreDoc_new"></a>
|
|
8
|
-
|
|
9
|
-
### new QualityScoreDoc()
|
|
10
|
-
Quality Score Doc displays a synthetic summary of how Quality Score is computed.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-quality-score-doc ._t=${viewer._t} />
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.ReportForm"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.ReportForm ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-report-form
|
|
7
|
-
<a name="new_Panoramax.components.menus.ReportForm_new"></a>
|
|
8
|
-
|
|
9
|
-
### new ReportForm()
|
|
10
|
-
Report Form displays a form to send issues about pictures.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-report-form ._parent=${viewer} />
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.SemanticsDoc"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.SemanticsDoc ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-semantics-doc
|
|
7
|
-
<a name="new_Panoramax.components.menus.SemanticsDoc_new"></a>
|
|
8
|
-
|
|
9
|
-
### new SemanticsDoc()
|
|
10
|
-
Semantics Doc displays a synthetic summary of what are semantics and how to use it.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-semantics-doc ._t=${viewer._t} />
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.SemanticsDownload"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.SemanticsDownload ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-semantics-download
|
|
7
|
-
<a name="new_Panoramax.components.menus.SemanticsDownload_new"></a>
|
|
8
|
-
|
|
9
|
-
### new SemanticsDownload()
|
|
10
|
-
Semantics Download docs displays a synthetic summary of you can download semantics metadata.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-semantics-download ._t=${viewer._t} />
|
|
15
|
-
```
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.SemanticsFilters"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.SemanticsFilters ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Emits**: [<code>change</code>](#Panoramax.components.menus.SemanticsFilters+event_change)
|
|
7
|
-
**Element**: pnx-map-semantics-filters-menu
|
|
8
|
-
|
|
9
|
-
* [.SemanticsFilters](#Panoramax.components.menus.SemanticsFilters) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new SemanticsFilters()](#new_Panoramax.components.menus.SemanticsFilters_new)
|
|
11
|
-
* ["change"](#Panoramax.components.menus.SemanticsFilters+event_change)
|
|
12
|
-
|
|
13
|
-
<a name="new_Panoramax.components.menus.SemanticsFilters_new"></a>
|
|
14
|
-
|
|
15
|
-
### new SemanticsFilters()
|
|
16
|
-
Semantics Filters menu allows user to show/hide specific semantic tags over the map.
|
|
17
|
-
|
|
18
|
-
**Example**
|
|
19
|
-
```html
|
|
20
|
-
<pnx-map-semantics-filters-menu _parent=${viewer} />
|
|
21
|
-
```
|
|
22
|
-
<a name="Panoramax.components.menus.SemanticsFilters+event_change"></a>
|
|
23
|
-
|
|
24
|
-
### "change"
|
|
25
|
-
Event for semantics overlay visibility changes
|
|
26
|
-
|
|
27
|
-
**Kind**: event emitted by [<code>SemanticsFilters</code>](#Panoramax.components.menus.SemanticsFilters)
|
|
28
|
-
**Properties**
|
|
29
|
-
|
|
30
|
-
| Name | Type | Description |
|
|
31
|
-
| --- | --- | --- |
|
|
32
|
-
| detail.layers | <code>Array.<object></code> | List of semantics layers, from MapLibre |
|
|
33
|
-
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.SemanticsList"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.SemanticsList ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Emits**: [<code>select</code>](#Panoramax.components.menus.SemanticsList+event_select), [<code>edit-click</code>](#Panoramax.components.menus.SemanticsList+event_edit-click), [<code>delete-click</code>](#Panoramax.components.menus.SemanticsList+event_delete-click)
|
|
7
|
-
**Element**: pnx-semantics-list
|
|
8
|
-
|
|
9
|
-
* [.SemanticsList](#Panoramax.components.menus.SemanticsList) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new SemanticsList()](#new_Panoramax.components.menus.SemanticsList_new)
|
|
11
|
-
* [.properties](#Panoramax.components.menus.SemanticsList+properties) : <code>Object</code>
|
|
12
|
-
* [.showAnnotation(id)](#Panoramax.components.menus.SemanticsList+showAnnotation)
|
|
13
|
-
* [.showTagsGroup(tags)](#Panoramax.components.menus.SemanticsList+showTagsGroup)
|
|
14
|
-
* ["select"](#Panoramax.components.menus.SemanticsList+event_select)
|
|
15
|
-
* ["edit-click"](#Panoramax.components.menus.SemanticsList+event_edit-click)
|
|
16
|
-
* ["delete-click"](#Panoramax.components.menus.SemanticsList+event_delete-click)
|
|
17
|
-
|
|
18
|
-
<a name="new_Panoramax.components.menus.SemanticsList_new"></a>
|
|
19
|
-
|
|
20
|
-
### new SemanticsList()
|
|
21
|
-
Semantics list shows listing of both picture tags and annotations.
|
|
22
|
-
It uses the parent component currently selected picture.
|
|
23
|
-
|
|
24
|
-
**Example**
|
|
25
|
-
```html
|
|
26
|
-
<pnx-semantics-list _parent=${viewer} />
|
|
27
|
-
```
|
|
28
|
-
<a name="Panoramax.components.menus.SemanticsList+properties"></a>
|
|
29
|
-
|
|
30
|
-
### semanticsList.properties : <code>Object</code>
|
|
31
|
-
Component properties.
|
|
32
|
-
|
|
33
|
-
**Kind**: instance property of [<code>SemanticsList</code>](#Panoramax.components.menus.SemanticsList)
|
|
34
|
-
**Properties**
|
|
35
|
-
|
|
36
|
-
| Name | Type | Default | Description |
|
|
37
|
-
| --- | --- | --- | --- |
|
|
38
|
-
| [editable] | <code>boolean</code> | <code>false</code> | Show an "Edit" button ? |
|
|
39
|
-
|
|
40
|
-
<a name="Panoramax.components.menus.SemanticsList+showAnnotation"></a>
|
|
41
|
-
|
|
42
|
-
### semanticsList.showAnnotation(id)
|
|
43
|
-
Display a specific annotation details.
|
|
44
|
-
|
|
45
|
-
**Kind**: instance method of [<code>SemanticsList</code>](#Panoramax.components.menus.SemanticsList)
|
|
46
|
-
|
|
47
|
-
| Param | Type | Description |
|
|
48
|
-
| --- | --- | --- |
|
|
49
|
-
| id | <code>string</code> | The annotation UUID |
|
|
50
|
-
|
|
51
|
-
<a name="Panoramax.components.menus.SemanticsList+showTagsGroup"></a>
|
|
52
|
-
|
|
53
|
-
### semanticsList.showTagsGroup(tags)
|
|
54
|
-
Display a specific tag group details.
|
|
55
|
-
|
|
56
|
-
**Kind**: instance method of [<code>SemanticsList</code>](#Panoramax.components.menus.SemanticsList)
|
|
57
|
-
|
|
58
|
-
| Param | Type | Description |
|
|
59
|
-
| --- | --- | --- |
|
|
60
|
-
| tags | <code>object</code> | The tags to find |
|
|
61
|
-
|
|
62
|
-
<a name="Panoramax.components.menus.SemanticsList+event_select"></a>
|
|
63
|
-
|
|
64
|
-
### "select"
|
|
65
|
-
Event for item selection
|
|
66
|
-
|
|
67
|
-
**Kind**: event emitted by [<code>SemanticsList</code>](#Panoramax.components.menus.SemanticsList)
|
|
68
|
-
**Properties**
|
|
69
|
-
|
|
70
|
-
| Name | Type | Description |
|
|
71
|
-
| --- | --- | --- |
|
|
72
|
-
| detail.item | <code>object</code> | The selected annotation/tag group (or null if none) |
|
|
73
|
-
|
|
74
|
-
<a name="Panoramax.components.menus.SemanticsList+event_edit-click"></a>
|
|
75
|
-
|
|
76
|
-
### "edit-click"
|
|
77
|
-
Event for edit button click
|
|
78
|
-
|
|
79
|
-
**Kind**: event emitted by [<code>SemanticsList</code>](#Panoramax.components.menus.SemanticsList)
|
|
80
|
-
**Properties**
|
|
81
|
-
|
|
82
|
-
| Name | Type | Description |
|
|
83
|
-
| --- | --- | --- |
|
|
84
|
-
| detail.item | <code>object</code> | The annotation/tag group to edit |
|
|
85
|
-
|
|
86
|
-
<a name="Panoramax.components.menus.SemanticsList+event_delete-click"></a>
|
|
87
|
-
|
|
88
|
-
### "delete-click"
|
|
89
|
-
Event for delete button click
|
|
90
|
-
|
|
91
|
-
**Kind**: event emitted by [<code>SemanticsList</code>](#Panoramax.components.menus.SemanticsList)
|
|
92
|
-
**Properties**
|
|
93
|
-
|
|
94
|
-
| Name | Type | Description |
|
|
95
|
-
| --- | --- | --- |
|
|
96
|
-
| detail.item | <code>object</code> | The annotation/tag group to delete |
|
|
97
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.SemanticsMetadata"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.SemanticsMetadata ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-semantics-metadata
|
|
7
|
-
<a name="new_Panoramax.components.menus.SemanticsMetadata_new"></a>
|
|
8
|
-
|
|
9
|
-
### new SemanticsMetadata()
|
|
10
|
-
Semantics metadata displays detailed info about semantic attributes of a single picture.
|
|
11
|
-
|
|
12
|
-
**Example**
|
|
13
|
-
```html
|
|
14
|
-
<pnx-semantics-metadata ._parent=${viewer}></pnx-semantics-metadata>
|
|
15
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.menus.ShareMenu"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.menus.ShareMenu ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.menus</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-share-menu
|
|
7
|
-
|
|
8
|
-
* [.ShareMenu](#Panoramax.components.menus.ShareMenu) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new ShareMenu()](#new_Panoramax.components.menus.ShareMenu_new)
|
|
10
|
-
* [.properties](#Panoramax.components.menus.ShareMenu+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.menus.ShareMenu_new"></a>
|
|
13
|
-
|
|
14
|
-
### new ShareMenu()
|
|
15
|
-
Share Menu displays links for quick picture sharing.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-share-menu ._parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.menus.ShareMenu+properties"></a>
|
|
22
|
-
|
|
23
|
-
### shareMenu.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>ShareMenu</code>](#Panoramax.components.menus.ShareMenu)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Description |
|
|
30
|
-
| --- | --- | --- |
|
|
31
|
-
| [base-url] | <code>string</code> | Override the default base URL (current page) |
|
|
32
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.AnnotationsSwitch"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.AnnotationsSwitch ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-annotations-switch
|
|
7
|
-
|
|
8
|
-
* [.AnnotationsSwitch](#Panoramax.components.ui.AnnotationsSwitch) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new AnnotationsSwitch()](#new_Panoramax.components.ui.AnnotationsSwitch_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.AnnotationsSwitch+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.AnnotationsSwitch_new"></a>
|
|
13
|
-
|
|
14
|
-
### new AnnotationsSwitch()
|
|
15
|
-
AnnotationsSwitch component allows to switch on/off pictures annotations.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-annotations-switch ._parent=${viewer} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.AnnotationsSwitch+properties"></a>
|
|
22
|
-
|
|
23
|
-
### annotationsSwitch.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>AnnotationsSwitch</code>](#Panoramax.components.ui.AnnotationsSwitch)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [size] | <code>string</code> | <code>"xl"</code> | Button size (md, xl) |
|
|
32
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.Button"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.Button ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-button
|
|
7
|
-
|
|
8
|
-
* [.Button](#Panoramax.components.ui.Button) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new Button()](#new_Panoramax.components.ui.Button_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.Button+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.Button_new"></a>
|
|
13
|
-
|
|
14
|
-
### new Button()
|
|
15
|
-
Button element displays a direct action button.
|
|
16
|
-
Binds to a HTML button, so you can use any events offered by it.
|
|
17
|
-
|
|
18
|
-
**Example**
|
|
19
|
-
```html
|
|
20
|
-
<pnx-button kind="flat" size="l" @click=${() => alert("click!")}>
|
|
21
|
-
Click on me
|
|
22
|
-
</pnx-button>
|
|
23
|
-
```
|
|
24
|
-
<a name="Panoramax.components.ui.Button+properties"></a>
|
|
25
|
-
|
|
26
|
-
### button.properties : <code>Object</code>
|
|
27
|
-
Component properties.
|
|
28
|
-
|
|
29
|
-
**Kind**: instance property of [<code>Button</code>](#Panoramax.components.ui.Button)
|
|
30
|
-
**Properties**
|
|
31
|
-
|
|
32
|
-
| Name | Type | Default | Description |
|
|
33
|
-
| --- | --- | --- | --- |
|
|
34
|
-
| [active] | <code>boolean</code> | <code>false</code> | Whether the button is in an active state. |
|
|
35
|
-
| [kind] | <code>string</code> | <code>"full"</code> | The style variation of the button (full, fullwarn, fullsuccess, outline, flat, superflat, inline, superinline) |
|
|
36
|
-
| [size] | <code>string</code> | <code>"md"</code> | The size of the button (sm, md, l, xl, xxl) |
|
|
37
|
-
| [disabled] | <code>boolean</code> | <code>false</code> | Whether the button is disabled. |
|
|
38
|
-
| [type] | <code>string</code> | | The button type (e.g., 'submit'). |
|
|
39
|
-
| [title] | <code>string</code> | | Tooltip text displayed when hovering over the button |
|
|
40
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.ButtonGroup"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.ButtonGroup ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-button-group
|
|
7
|
-
|
|
8
|
-
* [.ButtonGroup](#Panoramax.components.ui.ButtonGroup) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new ButtonGroup()](#new_Panoramax.components.ui.ButtonGroup_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.ButtonGroup+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.ButtonGroup_new"></a>
|
|
13
|
-
|
|
14
|
-
### new ButtonGroup()
|
|
15
|
-
Button Group element allows to merge many button in a single bar.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-button-group id="pnx-widget-player" dir="row" size="xl" class="pnx-print-hidden">
|
|
20
|
-
<pnx-button>B1</pnx-button>
|
|
21
|
-
<pnx-button>B2</pnx-button>
|
|
22
|
-
</pnx-button-group>
|
|
23
|
-
```
|
|
24
|
-
<a name="Panoramax.components.ui.ButtonGroup+properties"></a>
|
|
25
|
-
|
|
26
|
-
### buttonGroup.properties : <code>Object</code>
|
|
27
|
-
Component properties.
|
|
28
|
-
|
|
29
|
-
**Kind**: instance property of [<code>ButtonGroup</code>](#Panoramax.components.ui.ButtonGroup)
|
|
30
|
-
**Properties**
|
|
31
|
-
|
|
32
|
-
| Name | Type | Description |
|
|
33
|
-
| --- | --- | --- |
|
|
34
|
-
| [dir] | <code>string</code> | Group direction (row, column) |
|
|
35
|
-
| [size] | <code>string</code> | Group size (md, xl) |
|
|
36
|
-
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.CopyButton"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.CopyButton ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-copy-button
|
|
7
|
-
**Slot**: `oncopy` The content to display after user click
|
|
8
|
-
|
|
9
|
-
* [.CopyButton](#Panoramax.components.ui.CopyButton) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new CopyButton()](#new_Panoramax.components.ui.CopyButton_new)
|
|
11
|
-
* [.properties](#Panoramax.components.ui.CopyButton+properties) : <code>Object</code>
|
|
12
|
-
|
|
13
|
-
<a name="new_Panoramax.components.ui.CopyButton_new"></a>
|
|
14
|
-
|
|
15
|
-
### new CopyButton()
|
|
16
|
-
Copy Button element allows top copy in clipboard some text.
|
|
17
|
-
|
|
18
|
-
**Example**
|
|
19
|
-
```html
|
|
20
|
-
<pnx-copy-button text="content to copy" ._t=${viewer._t}>
|
|
21
|
-
Copy me !
|
|
22
|
-
<img src="success.jpg" slot="oncopy" />
|
|
23
|
-
</pnx-copy-button>
|
|
24
|
-
```
|
|
25
|
-
<a name="Panoramax.components.ui.CopyButton+properties"></a>
|
|
26
|
-
|
|
27
|
-
### copyButton.properties : <code>Object</code>
|
|
28
|
-
Component properties.
|
|
29
|
-
|
|
30
|
-
**Kind**: instance property of [<code>CopyButton</code>](#Panoramax.components.ui.CopyButton)
|
|
31
|
-
**Properties**
|
|
32
|
-
|
|
33
|
-
| Name | Type | Default | Description |
|
|
34
|
-
| --- | --- | --- | --- |
|
|
35
|
-
| [text] | <code>string</code> | | Text to copy in clipboard on click (use either this parameter or input, not both) |
|
|
36
|
-
| [input] | <code>input</code> | | ID of a HTML input field to copy content from in clipboard (use either this parameter or text, not both) |
|
|
37
|
-
| [kind] | <code>string</code> | <code>"full"</code> | The style variation of the button (full, fullwarn, fullsuccess, outline, flat, superflat, inline, superinline) |
|
|
38
|
-
| [size] | <code>string</code> | <code>"md"</code> | The size of the button (sm, md, l, xl, xxl) |
|
|
39
|
-
| [unstyled] | <code>boolean</code> | <code>false</code> | Disable all styling (for list group integration) |
|
|
40
|
-
| [title] | <code>string</code> | | Tooltip text displayed when hovering over the button |
|
|
41
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.Grade"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.Grade ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Element**: pnx-grade
|
|
7
|
-
|
|
8
|
-
* [.Grade](#Panoramax.components.ui.Grade) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
9
|
-
* [new Grade()](#new_Panoramax.components.ui.Grade_new)
|
|
10
|
-
* [.properties](#Panoramax.components.ui.Grade+properties) : <code>Object</code>
|
|
11
|
-
|
|
12
|
-
<a name="new_Panoramax.components.ui.Grade_new"></a>
|
|
13
|
-
|
|
14
|
-
### new Grade()
|
|
15
|
-
Grade element displays a 5-star rating.
|
|
16
|
-
|
|
17
|
-
**Example**
|
|
18
|
-
```html
|
|
19
|
-
<pnx-grade stars="5" .t=${viewer._t} />
|
|
20
|
-
```
|
|
21
|
-
<a name="Panoramax.components.ui.Grade+properties"></a>
|
|
22
|
-
|
|
23
|
-
### grade.properties : <code>Object</code>
|
|
24
|
-
Component properties.
|
|
25
|
-
|
|
26
|
-
**Kind**: instance property of [<code>Grade</code>](#Panoramax.components.ui.Grade)
|
|
27
|
-
**Properties**
|
|
28
|
-
|
|
29
|
-
| Name | Type | Default | Description |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| [stars] | <code>number</code> | <code>0</code> | 1 to 5 grade (or 0 for unknown value) |
|
|
32
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<a name="Panoramax.components.ui.GradeFilter"></a>
|
|
2
|
-
|
|
3
|
-
## Panoramax.components.ui.GradeFilter ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
4
|
-
**Kind**: static class of <code>Panoramax.components.ui</code>
|
|
5
|
-
**Extends**: <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
6
|
-
**Emits**: [<code>change</code>](#Panoramax.components.ui.GradeFilter+event_change)
|
|
7
|
-
**Element**: pnx-grade-filter
|
|
8
|
-
|
|
9
|
-
* [.GradeFilter](#Panoramax.components.ui.GradeFilter) ⇐ <code>[lit.LitElement](https://lit.dev/docs/api/LitElement/)</code>
|
|
10
|
-
* [new GradeFilter()](#new_Panoramax.components.ui.GradeFilter_new)
|
|
11
|
-
* [.properties](#Panoramax.components.ui.GradeFilter+properties) : <code>Object</code>
|
|
12
|
-
* ["change"](#Panoramax.components.ui.GradeFilter+event_change)
|
|
13
|
-
|
|
14
|
-
<a name="new_Panoramax.components.ui.GradeFilter_new"></a>
|
|
15
|
-
|
|
16
|
-
### new GradeFilter()
|
|
17
|
-
Grade Filter allows to filter picture by their grade (for example, precision grade)
|
|
18
|
-
|
|
19
|
-
**Example**
|
|
20
|
-
```html
|
|
21
|
-
<pnx-grade-filter grade="5" input="pnx-g-input" @change=${() => alert('changed')} ._t=${viewer._t} />
|
|
22
|
-
```
|
|
23
|
-
<a name="Panoramax.components.ui.GradeFilter+properties"></a>
|
|
24
|
-
|
|
25
|
-
### gradeFilter.properties : <code>Object</code>
|
|
26
|
-
Component properties.
|
|
27
|
-
|
|
28
|
-
**Kind**: instance property of [<code>GradeFilter</code>](#Panoramax.components.ui.GradeFilter)
|
|
29
|
-
**Properties**
|
|
30
|
-
|
|
31
|
-
| Name | Type | Default | Description |
|
|
32
|
-
| --- | --- | --- | --- |
|
|
33
|
-
| input | <code>string</code> | | ID prefix for input fields |
|
|
34
|
-
| [grade] | <code>number</code> \| <code>string</code> | <code>0</code> | The grade (5 to 1 = precise grade, 0 = none selected), or a list of grades |
|
|
35
|
-
| labels | <code>Object</code> | | Helper labels for each grade, as {"1": "L1", "2": "L2", ...} |
|
|
36
|
-
|
|
37
|
-
<a name="Panoramax.components.ui.GradeFilter+event_change"></a>
|
|
38
|
-
|
|
39
|
-
### "change"
|
|
40
|
-
Event for grade change
|
|
41
|
-
|
|
42
|
-
**Kind**: event emitted by [<code>GradeFilter</code>](#Panoramax.components.ui.GradeFilter)
|