@panoramax/web-viewer 4.4.0-develop-746bcb00 → 4.4.0-develop-d8b38e70

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.
Files changed (341) hide show
  1. package/{src → build}/components/core/Basic.js +22 -16
  2. package/{src → build}/components/core/CoverageMap.js +19 -14
  3. package/{src → build}/components/core/Editor.js +16 -16
  4. package/{src → build}/components/core/PhotoViewer.js +30 -29
  5. package/{src → build}/components/core/Viewer.js +21 -20
  6. package/build/components/core/index.js +10 -0
  7. package/build/components/index.js +11 -0
  8. package/build/components/index_photoviewer.js +6 -0
  9. package/{src → build}/components/layout/BottomDrawer.js +4 -4
  10. package/{src → build}/components/layout/CorneredGrid.js +1 -1
  11. package/{src → build}/components/layout/Mini.js +5 -4
  12. package/{src → build}/components/layout/Tabs.js +1 -1
  13. package/build/components/layout/index.js +9 -0
  14. package/{src → build}/components/menus/LocationPrecisionDoc.js +4 -6
  15. package/{src → build}/components/menus/MapBackground.js +4 -6
  16. package/{src → build}/components/menus/MapFilters.js +16 -21
  17. package/{src → build}/components/menus/MapLayers.js +20 -24
  18. package/{src → build}/components/menus/MapLegend.js +3 -4
  19. package/{src → build}/components/menus/MiniPictureLegend.js +3 -4
  20. package/{src → build}/components/menus/PictureLegend.js +10 -15
  21. package/{src → build}/components/menus/PictureMetadata.js +12 -19
  22. package/{src → build}/components/menus/PlayerOptions.js +5 -7
  23. package/{src → build}/components/menus/QualityScoreDoc.js +3 -4
  24. package/{src → build}/components/menus/ReportForm.js +8 -9
  25. package/{src → build}/components/menus/SemanticsDoc.js +3 -4
  26. package/{src → build}/components/menus/SemanticsDownload.js +3 -3
  27. package/{src → build}/components/menus/SemanticsFilters.js +7 -8
  28. package/{src → build}/components/menus/SemanticsList.js +11 -18
  29. package/{src → build}/components/menus/SemanticsMetadata.js +8 -11
  30. package/{src → build}/components/menus/Share.js +6 -7
  31. package/build/components/menus/index.js +22 -0
  32. package/build/components/menus/index_photoviewer.js +11 -0
  33. package/{src → build}/components/styles.js +0 -2
  34. package/{src → build}/components/ui/AnnotationsSwitch.js +6 -8
  35. package/{src → build}/components/ui/Button.js +1 -1
  36. package/{src → build}/components/ui/ButtonGroup.js +2 -1
  37. package/{src → build}/components/ui/CopyButton.js +4 -6
  38. package/{src → build}/components/ui/Grade.js +5 -5
  39. package/{src → build}/components/ui/GradeFilter.js +3 -3
  40. package/{src → build}/components/ui/IconSwitch.js +1 -1
  41. package/{src → build}/components/ui/LinkButton.js +1 -1
  42. package/{src → build}/components/ui/ListGroup.js +3 -3
  43. package/{src → build}/components/ui/ListItem.js +1 -1
  44. package/{src → build}/components/ui/Loader.js +8 -7
  45. package/{src → build}/components/ui/Map.js +38 -26
  46. package/{src → build}/components/ui/MapMore.js +7 -7
  47. package/{src → build}/components/ui/Photo.js +29 -27
  48. package/{src → build}/components/ui/Popup.js +4 -4
  49. package/{src → build}/components/ui/QualityScore.js +4 -4
  50. package/{src → build}/components/ui/SearchBar.js +6 -7
  51. package/{src → build}/components/ui/SemanticsEditor.js +14 -15
  52. package/{src → build}/components/ui/SemanticsTable.js +4 -5
  53. package/{src → build}/components/ui/Switch.js +1 -1
  54. package/{src → build}/components/ui/TogglableGroup.js +4 -4
  55. package/build/components/ui/index.js +29 -0
  56. package/build/components/ui/index_photoviewer.js +21 -0
  57. package/{src → build}/components/ui/widgets/CopyCoordinates.js +5 -5
  58. package/{src → build}/components/ui/widgets/GeoSearch.js +10 -10
  59. package/{src → build}/components/ui/widgets/Legend.js +9 -8
  60. package/{src → build}/components/ui/widgets/LevelSelect.js +9 -7
  61. package/{src → build}/components/ui/widgets/MapFiltersButton.js +5 -5
  62. package/{src → build}/components/ui/widgets/MapLayersButton.js +5 -5
  63. package/{src → build}/components/ui/widgets/OSMEditors.js +8 -8
  64. package/{src → build}/components/ui/widgets/PictureLegendActions.js +4 -4
  65. package/{src → build}/components/ui/widgets/Player.js +6 -7
  66. package/{src → build}/components/ui/widgets/SemanticsFiltersButton.js +6 -7
  67. package/{src → build}/components/ui/widgets/Zoom.js +6 -6
  68. package/build/components/ui/widgets/index.js +16 -0
  69. package/build/components/ui/widgets/index_photoviewer.js +7 -0
  70. package/build/editor.html +94 -10
  71. package/{src → build}/img/arrow_triangle.svg +0 -1
  72. package/{src → build}/img/arrow_turn.svg +0 -1
  73. package/build/index.html +111 -1
  74. package/build/index.js +6 -95
  75. package/build/index_photoviewer.js +4 -0
  76. package/build/map.html +97 -1
  77. package/build/package.json +141 -0
  78. package/build/photo.html +85 -1
  79. package/build/servers.js +3 -4
  80. package/{src → build}/translations/pt.json +7 -2
  81. package/{src → build}/utils/API.js +33 -33
  82. package/{src → build}/utils/InitParameters.js +11 -9
  83. package/{src → build}/utils/MapStyleComposer.js +39 -37
  84. package/{src → build}/utils/PhotoAdapter.js +1 -0
  85. package/{src → build}/utils/PresetsManager.js +4 -4
  86. package/{src → build}/utils/SemanticsMapProtocol.js +3 -4
  87. package/{src → build}/utils/URLHandler.js +16 -14
  88. package/{src → build}/utils/geocoder.js +5 -5
  89. package/{src → build}/utils/i18n.js +21 -20
  90. package/build/utils/index.js +17 -0
  91. package/build/utils/index_photoviewer.js +14 -0
  92. package/{src → build}/utils/indoor.js +9 -5
  93. package/{src → build}/utils/map.js +15 -11
  94. package/{src → build}/utils/picture.js +22 -17
  95. package/{src → build}/utils/semantics.js +9 -5
  96. package/{src → build}/utils/utils.js +8 -4
  97. package/{src → build}/utils/widgets.js +2 -2
  98. package/build/viewer.html +120 -35
  99. package/build/viewer_indoor.html +90 -8
  100. package/build/widgets.html +410 -1
  101. package/package.json +81 -204
  102. package/.dockerignore +0 -7
  103. package/.gitlab-ci.yml +0 -78
  104. package/CHANGELOG.md +0 -853
  105. package/CODE_OF_CONDUCT.md +0 -134
  106. package/Dockerfile +0 -14
  107. package/build/index.css +0 -36
  108. package/build/index.css.map +0 -1
  109. package/build/index.js.map +0 -1
  110. package/build/photoviewer.css +0 -36
  111. package/build/photoviewer.css.map +0 -1
  112. package/build/photoviewer.js +0 -86
  113. package/build/photoviewer.js.map +0 -1
  114. package/build/static/media/atkinson-hyperlegible-next-latin-400-normal..woff +0 -0
  115. package/build/static/media/atkinson-hyperlegible-next-latin-400-normal..woff2 +0 -0
  116. package/build/static/media/atkinson-hyperlegible-next-latin-ext-400-normal..woff +0 -0
  117. package/build/static/media/atkinson-hyperlegible-next-latin-ext-400-normal..woff2 +0 -0
  118. package/config/env.js +0 -104
  119. package/config/getHttpsConfig.js +0 -69
  120. package/config/getPackageJson.js +0 -25
  121. package/config/jest/babelTransform.js +0 -29
  122. package/config/jest/cssTransform.js +0 -14
  123. package/config/jest/fileTransform.js +0 -40
  124. package/config/jest/mocks.js +0 -230
  125. package/config/modules.js +0 -134
  126. package/config/paths.js +0 -76
  127. package/config/pnpTs.js +0 -35
  128. package/config/webpack/persistentCache/createEnvironmentHash.js +0 -9
  129. package/config/webpack.config.js +0 -825
  130. package/config/webpackDevServer.config.js +0 -131
  131. package/docs/03_URL_settings.md +0 -218
  132. package/docs/05_Compatibility.md +0 -83
  133. package/docs/09_Develop.md +0 -141
  134. package/docs/90_Releases.md +0 -27
  135. package/docs/images/class_diagram.drawio +0 -144
  136. package/docs/images/class_diagram.jpg +0 -0
  137. package/docs/images/comparative_3drender.jpg +0 -0
  138. package/docs/images/indoor_level.png +0 -0
  139. package/docs/images/screenshot.jpg +0 -0
  140. package/docs/index.md +0 -159
  141. package/docs/reference/components/core/Basic.md +0 -211
  142. package/docs/reference/components/core/CoverageMap.md +0 -220
  143. package/docs/reference/components/core/Editor.md +0 -252
  144. package/docs/reference/components/core/PhotoViewer.md +0 -320
  145. package/docs/reference/components/core/Viewer.md +0 -398
  146. package/docs/reference/components/layout/BottomDrawer.md +0 -35
  147. package/docs/reference/components/layout/CorneredGrid.md +0 -29
  148. package/docs/reference/components/layout/Mini.md +0 -45
  149. package/docs/reference/components/layout/Tabs.md +0 -46
  150. package/docs/reference/components/menus/LocationPrecisionDoc.md +0 -15
  151. package/docs/reference/components/menus/MapBackground.md +0 -32
  152. package/docs/reference/components/menus/MapFilters.md +0 -37
  153. package/docs/reference/components/menus/MapLayers.md +0 -15
  154. package/docs/reference/components/menus/MapLegend.md +0 -32
  155. package/docs/reference/components/menus/MiniPictureLegend.md +0 -15
  156. package/docs/reference/components/menus/PictureLegend.md +0 -45
  157. package/docs/reference/components/menus/PictureMetadata.md +0 -32
  158. package/docs/reference/components/menus/PlayerOptions.md +0 -15
  159. package/docs/reference/components/menus/QualityScoreDoc.md +0 -15
  160. package/docs/reference/components/menus/ReportForm.md +0 -15
  161. package/docs/reference/components/menus/SemanticsDoc.md +0 -15
  162. package/docs/reference/components/menus/SemanticsDownload.md +0 -15
  163. package/docs/reference/components/menus/SemanticsFilters.md +0 -33
  164. package/docs/reference/components/menus/SemanticsList.md +0 -97
  165. package/docs/reference/components/menus/SemanticsMetadata.md +0 -15
  166. package/docs/reference/components/menus/ShareMenu.md +0 -32
  167. package/docs/reference/components/ui/AnnotationsSwitch.md +0 -32
  168. package/docs/reference/components/ui/Button.md +0 -40
  169. package/docs/reference/components/ui/ButtonGroup.md +0 -36
  170. package/docs/reference/components/ui/CopyButton.md +0 -41
  171. package/docs/reference/components/ui/Grade.md +0 -32
  172. package/docs/reference/components/ui/GradeFilter.md +0 -42
  173. package/docs/reference/components/ui/IconSwitch.md +0 -53
  174. package/docs/reference/components/ui/LinkButton.md +0 -45
  175. package/docs/reference/components/ui/ListGroup.md +0 -22
  176. package/docs/reference/components/ui/ListItem.md +0 -39
  177. package/docs/reference/components/ui/Loader.md +0 -56
  178. package/docs/reference/components/ui/Map.md +0 -150
  179. package/docs/reference/components/ui/MapMore.md +0 -150
  180. package/docs/reference/components/ui/Photo.md +0 -495
  181. package/docs/reference/components/ui/Popup.md +0 -56
  182. package/docs/reference/components/ui/ProgressBar.md +0 -32
  183. package/docs/reference/components/ui/QualityScore.md +0 -45
  184. package/docs/reference/components/ui/SearchBar.md +0 -63
  185. package/docs/reference/components/ui/SemanticsEditor.md +0 -113
  186. package/docs/reference/components/ui/SemanticsTable.md +0 -32
  187. package/docs/reference/components/ui/Switch.md +0 -49
  188. package/docs/reference/components/ui/TogglableGroup.md +0 -39
  189. package/docs/reference/components/ui/widgets/CopyCoordinates.md +0 -32
  190. package/docs/reference/components/ui/widgets/GeoSearch.md +0 -36
  191. package/docs/reference/components/ui/widgets/Legend.md +0 -58
  192. package/docs/reference/components/ui/widgets/LevelSelect.md +0 -16
  193. package/docs/reference/components/ui/widgets/MapFiltersButton.md +0 -37
  194. package/docs/reference/components/ui/widgets/MapLayersButton.md +0 -15
  195. package/docs/reference/components/ui/widgets/OSMEditors.md +0 -15
  196. package/docs/reference/components/ui/widgets/PictureLegendActions.md +0 -32
  197. package/docs/reference/components/ui/widgets/Player.md +0 -34
  198. package/docs/reference/components/ui/widgets/SemanticsFiltersButton.md +0 -15
  199. package/docs/reference/components/ui/widgets/Zoom.md +0 -15
  200. package/docs/reference/utils/API.md +0 -389
  201. package/docs/reference/utils/InitParameters.md +0 -68
  202. package/docs/reference/utils/MapStyleComposer.md +0 -408
  203. package/docs/reference/utils/PanoraMapProtocol.md +0 -28
  204. package/docs/reference/utils/PresetsManager.md +0 -43
  205. package/docs/reference/utils/SemanticsMapProtocol.md +0 -43
  206. package/docs/reference/utils/URLHandler.md +0 -114
  207. package/docs/reference.md +0 -99
  208. package/docs/shortcuts.md +0 -11
  209. package/docs/tutorials/aerial_imagery.md +0 -21
  210. package/docs/tutorials/authentication.md +0 -10
  211. package/docs/tutorials/custom_widgets.md +0 -59
  212. package/docs/tutorials/indoor_maps.md +0 -50
  213. package/docs/tutorials/map_style.md +0 -83
  214. package/docs/tutorials/migrate_v4.md +0 -153
  215. package/docs/tutorials/migrate_v5.md +0 -103
  216. package/docs/tutorials/semantics_overlays.md +0 -74
  217. package/docs/tutorials/synced_coverage.md +0 -43
  218. package/mkdocs.yml +0 -131
  219. package/public/editor.html +0 -53
  220. package/public/index.html +0 -70
  221. package/public/map.html +0 -55
  222. package/public/photo.html +0 -43
  223. package/public/servers.js +0 -15
  224. package/public/viewer.html +0 -79
  225. package/public/viewer_indoor.html +0 -48
  226. package/public/widgets.html +0 -366
  227. package/scripts/build.js +0 -217
  228. package/scripts/doc.js +0 -79
  229. package/scripts/start.js +0 -172
  230. package/scripts/test.js +0 -52
  231. package/src/components/core/index.js +0 -12
  232. package/src/components/index.js +0 -13
  233. package/src/components/index_photoviewer.js +0 -8
  234. package/src/components/layout/index.js +0 -9
  235. package/src/components/menus/index.js +0 -22
  236. package/src/components/menus/index_photoviewer.js +0 -13
  237. package/src/components/ui/index.js +0 -29
  238. package/src/components/ui/index_photoviewer.js +0 -23
  239. package/src/components/ui/widgets/index.js +0 -16
  240. package/src/components/ui/widgets/index_photoviewer.js +0 -9
  241. package/src/index.js +0 -8
  242. package/src/index_photoviewer.js +0 -6
  243. package/src/utils/index.js +0 -17
  244. package/src/utils/index_photoviewer.js +0 -16
  245. package/tests/components/core/Basic.test.js +0 -168
  246. package/tests/components/core/BasicMock.js +0 -25
  247. package/tests/components/core/CoverageMap.test.js +0 -20
  248. package/tests/components/core/Editor.test.js +0 -20
  249. package/tests/components/core/PhotoViewer.test.js +0 -57
  250. package/tests/components/core/Viewer.test.js +0 -85
  251. package/tests/components/core/__snapshots__/PhotoViewer.test.js.snap +0 -96
  252. package/tests/components/core/__snapshots__/Viewer.test.js.snap +0 -188
  253. package/tests/components/ui/CopyButton.test.js +0 -52
  254. package/tests/components/ui/Loader.test.js +0 -55
  255. package/tests/components/ui/Map.test.js +0 -145
  256. package/tests/components/ui/Photo.test.js +0 -437
  257. package/tests/components/ui/Popup.test.js +0 -26
  258. package/tests/components/ui/QualityScore.test.js +0 -18
  259. package/tests/components/ui/SearchBar.test.js +0 -110
  260. package/tests/components/ui/__snapshots__/CopyButton.test.js.snap +0 -33
  261. package/tests/components/ui/__snapshots__/Loader.test.js.snap +0 -56
  262. package/tests/components/ui/__snapshots__/Map.test.js.snap +0 -16
  263. package/tests/components/ui/__snapshots__/Photo.test.js.snap +0 -263
  264. package/tests/components/ui/__snapshots__/Popup.test.js.snap +0 -29
  265. package/tests/components/ui/__snapshots__/QualityScore.test.js.snap +0 -11
  266. package/tests/components/ui/__snapshots__/SearchBar.test.js.snap +0 -65
  267. package/tests/data/Map_geocoder_ban.json +0 -36
  268. package/tests/data/Map_geocoder_nominatim.json +0 -41
  269. package/tests/data/Viewer_pictures_1.json +0 -148
  270. package/tests/setupTests.js +0 -5
  271. package/tests/utils/API.test.js +0 -752
  272. package/tests/utils/InitParameters.test.js +0 -599
  273. package/tests/utils/MapStyleComposer.test.js +0 -697
  274. package/tests/utils/PresetsManager.test.js +0 -123
  275. package/tests/utils/URLHandler.test.js +0 -587
  276. package/tests/utils/__snapshots__/API.test.js.snap +0 -40
  277. package/tests/utils/__snapshots__/MapStyleComposer.test.js.snap +0 -767
  278. package/tests/utils/__snapshots__/URLHandler.test.js.snap +0 -21
  279. package/tests/utils/__snapshots__/geocoder.test.js.snap +0 -37
  280. package/tests/utils/__snapshots__/map.test.js.snap +0 -1249
  281. package/tests/utils/__snapshots__/picture.test.js.snap +0 -327
  282. package/tests/utils/__snapshots__/widgets.test.js.snap +0 -19
  283. package/tests/utils/geocoder.test.js +0 -37
  284. package/tests/utils/i18n.test.js +0 -111
  285. package/tests/utils/map.test.js +0 -200
  286. package/tests/utils/picture.test.js +0 -745
  287. package/tests/utils/semantics.test.js +0 -174
  288. package/tests/utils/utils.test.js +0 -358
  289. package/tests/utils/widgets.test.js +0 -31
  290. /package/{src → build}/components/core/Basic.css +0 -0
  291. /package/{src → build}/components/core/CoverageMap.css +0 -0
  292. /package/{src → build}/components/core/Editor.css +0 -0
  293. /package/{src → build}/components/core/PhotoViewer.css +0 -0
  294. /package/{src → build}/components/core/Viewer.css +0 -0
  295. /package/{src → build}/components/ui/ButtonGroup.css +0 -0
  296. /package/{src → build}/components/ui/Map.css +0 -0
  297. /package/{src → build}/components/ui/Photo.css +0 -0
  298. /package/{src → build}/components/ui/ProgressBar.js +0 -0
  299. /package/{src → build}/components/ui/widgets/GeoSearch.css +0 -0
  300. /package/{src → build}/components/ui/widgets/LevelSelect.css +0 -0
  301. /package/{src → build}/components/ui/widgets/Player.css +0 -0
  302. /package/{public → build}/favicon.ico +0 -0
  303. /package/{src → build}/img/arrow_360.svg +0 -0
  304. /package/{src → build}/img/arrow_flat.svg +0 -0
  305. /package/{src → build}/img/bg_aerial.jpg +0 -0
  306. /package/{src → build}/img/bg_streets.jpg +0 -0
  307. /package/{src → build}/img/loader_base.jpg +0 -0
  308. /package/{src → build}/img/logo_dead.svg +0 -0
  309. /package/{src → build}/img/marker.svg +0 -0
  310. /package/{src → build}/img/marker_blue.svg +0 -0
  311. /package/{src → build}/img/osm.svg +0 -0
  312. /package/{src → build}/img/panoramax.svg +0 -0
  313. /package/{src → build}/img/switch_big.svg +0 -0
  314. /package/{src → build}/img/switch_mini.svg +0 -0
  315. /package/{src → build}/img/wd.svg +0 -0
  316. /package/{src → build}/translations/ar.json +0 -0
  317. /package/{src → build}/translations/be.json +0 -0
  318. /package/{src → build}/translations/br.json +0 -0
  319. /package/{src → build}/translations/cy.json +0 -0
  320. /package/{src → build}/translations/da.json +0 -0
  321. /package/{src → build}/translations/de.json +0 -0
  322. /package/{src → build}/translations/en.json +0 -0
  323. /package/{src → build}/translations/eo.json +0 -0
  324. /package/{src → build}/translations/es.json +0 -0
  325. /package/{src → build}/translations/fi.json +0 -0
  326. /package/{src → build}/translations/fr.json +0 -0
  327. /package/{src → build}/translations/hu.json +0 -0
  328. /package/{src → build}/translations/it.json +0 -0
  329. /package/{src → build}/translations/ja.json +0 -0
  330. /package/{src → build}/translations/ko.json +0 -0
  331. /package/{src → build}/translations/nl.json +0 -0
  332. /package/{src → build}/translations/nn.json +0 -0
  333. /package/{src → build}/translations/pl.json +0 -0
  334. /package/{src → build}/translations/pt_BR.json +0 -0
  335. /package/{src → build}/translations/sv.json +0 -0
  336. /package/{src → build}/translations/ti.json +0 -0
  337. /package/{src → build}/translations/tr.json +0 -0
  338. /package/{src → build}/translations/uk.json +0 -0
  339. /package/{src → build}/translations/zh_Hant.json +0 -0
  340. /package/{src → build}/utils/PanoraMapProtocol.js +0 -0
  341. /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.&lt;object&gt;</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>&quot;xl&quot;</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>&quot;full&quot;</code> | The style variation of the button (full, fullwarn, fullsuccess, outline, flat, superflat, inline, superinline) |
36
- | [size] | <code>string</code> | <code>&quot;md&quot;</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>&quot;full&quot;</code> | The style variation of the button (full, fullwarn, fullsuccess, outline, flat, superflat, inline, superinline) |
38
- | [size] | <code>string</code> | <code>&quot;md&quot;</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)