@panoramax/web-viewer 5.0.0-develop-d7206514 → 5.0.0-develop-d26305dd
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/build/bundle.cjs +3399 -0
- package/build/bundle.cjs.map +1 -0
- package/build/bundle_photoviewer.cjs +2510 -0
- package/build/bundle_photoviewer.cjs.map +1 -0
- package/build/cjs/index.js +1 -1
- package/build/cjs/index_photoviewer.js +1 -1
- package/build/components/core/Basic.css +56 -0
- package/build/components/core/Basic.js +378 -0
- package/build/components/core/CoverageMap.css +10 -0
- package/build/components/core/CoverageMap.js +169 -0
- package/build/components/core/Editor.css +33 -0
- package/build/components/core/Editor.js +398 -0
- package/build/components/core/PhotoViewer.css +70 -0
- package/build/components/core/PhotoViewer.js +650 -0
- package/build/components/core/Viewer.css +130 -0
- package/build/components/core/Viewer.js +711 -0
- package/build/components/core/index.js +10 -0
- package/build/components/index.js +11 -0
- package/build/components/index_photoviewer.js +6 -0
- package/build/components/layout/BottomDrawer.js +258 -0
- package/build/components/layout/CorneredGrid.js +143 -0
- package/build/components/layout/Mini.js +121 -0
- package/build/components/layout/Tabs.js +140 -0
- package/build/components/layout/index.js +9 -0
- package/build/components/menus/LocationPrecisionDoc.js +42 -0
- package/build/components/menus/MapBackground.js +110 -0
- package/build/components/menus/MapFilters.js +567 -0
- package/build/components/menus/MapLayers.js +238 -0
- package/build/components/menus/MapLegend.js +68 -0
- package/build/components/menus/MiniPictureLegend.js +73 -0
- package/build/components/menus/PictureLegend.js +379 -0
- package/build/components/menus/PictureMetadata.js +380 -0
- package/build/components/menus/PlayerOptions.js +93 -0
- package/build/components/menus/QualityScoreDoc.js +42 -0
- package/build/components/menus/ReportForm.js +132 -0
- package/build/components/menus/SemanticsDoc.js +38 -0
- package/build/components/menus/SemanticsDownload.js +33 -0
- package/build/components/menus/SemanticsFilters.js +153 -0
- package/build/components/menus/SemanticsList.js +413 -0
- package/build/components/menus/SemanticsMetadata.js +368 -0
- package/build/components/menus/Share.js +105 -0
- package/build/components/menus/index.js +22 -0
- package/build/components/menus/index_photoviewer.js +11 -0
- package/build/components/styles.js +557 -0
- package/build/components/ui/AnnotationsSwitch.js +159 -0
- package/build/components/ui/Button.js +77 -0
- package/build/components/ui/ButtonGroup.css +59 -0
- package/build/components/ui/ButtonGroup.js +69 -0
- package/build/components/ui/CopyButton.js +110 -0
- package/build/components/ui/Grade.js +54 -0
- package/build/components/ui/GradeFilter.js +122 -0
- package/build/components/ui/IconSwitch.js +193 -0
- package/build/components/ui/LinkButton.js +67 -0
- package/build/components/ui/ListGroup.js +66 -0
- package/build/components/ui/ListItem.js +90 -0
- package/build/components/ui/Loader.js +203 -0
- package/build/components/ui/Map.css +63 -0
- package/build/components/ui/Map.js +853 -0
- package/build/components/ui/MapMore.js +175 -0
- package/build/components/ui/Photo.css +50 -0
- package/build/components/ui/Photo.js +1502 -0
- package/build/components/ui/Popup.js +145 -0
- package/build/components/ui/ProgressBar.js +104 -0
- package/build/components/ui/QualityScore.js +147 -0
- package/build/components/ui/SearchBar.js +374 -0
- package/build/components/ui/SemanticsEditor.js +191 -0
- package/build/components/ui/SemanticsTable.js +88 -0
- package/build/components/ui/Switch.js +139 -0
- package/build/components/ui/TogglableGroup.js +157 -0
- package/build/components/ui/index.js +29 -0
- package/build/components/ui/index_photoviewer.js +21 -0
- package/build/components/ui/widgets/CopyCoordinates.js +75 -0
- package/build/components/ui/widgets/GeoSearch.css +21 -0
- package/build/components/ui/widgets/GeoSearch.js +150 -0
- package/build/components/ui/widgets/Legend.js +190 -0
- package/build/components/ui/widgets/LevelSelect.css +51 -0
- package/build/components/ui/widgets/LevelSelect.js +143 -0
- package/build/components/ui/widgets/MapFiltersButton.js +114 -0
- package/build/components/ui/widgets/MapLayersButton.js +79 -0
- package/build/components/ui/widgets/OSMEditors.js +155 -0
- package/build/components/ui/widgets/PictureLegendActions.js +99 -0
- package/build/components/ui/widgets/Player.css +7 -0
- package/build/components/ui/widgets/Player.js +154 -0
- package/build/components/ui/widgets/SemanticsFiltersButton.js +65 -0
- package/build/components/ui/widgets/Zoom.js +84 -0
- package/build/components/ui/widgets/index.js +16 -0
- package/build/components/ui/widgets/index_photoviewer.js +7 -0
- package/build/esm/components/core/Basic.js +1 -1
- package/build/img/arrow_360.svg +14 -0
- package/build/img/arrow_flat.svg +11 -0
- package/build/img/arrow_triangle.svg +9 -0
- package/build/img/arrow_turn.svg +8 -0
- package/build/img/bg_aerial.jpg +0 -0
- package/build/img/bg_streets.jpg +0 -0
- package/build/img/loader_base.jpg +0 -0
- package/build/img/logo_dead.svg +91 -0
- package/build/img/marker.svg +17 -0
- package/build/img/marker_blue.svg +20 -0
- package/build/img/osm.svg +49 -0
- package/build/img/panoramax.svg +13 -0
- package/build/img/switch_big.svg +54 -0
- package/build/img/switch_mini.svg +48 -0
- package/build/img/wd.svg +1 -0
- package/build/index_photoviewer.js +4 -0
- package/build/package.json +148 -0
- package/build/servers.js +14 -0
- package/build/translations/ar.json +1 -0
- package/build/translations/be.json +257 -0
- package/build/translations/br.json +81 -0
- package/build/translations/cy.json +117 -0
- package/build/translations/da.json +300 -0
- package/build/translations/de.json +309 -0
- package/build/translations/en.json +294 -0
- package/build/translations/eo.json +235 -0
- package/build/translations/es.json +292 -0
- package/build/translations/fi.json +1 -0
- package/build/translations/fr.json +294 -0
- package/build/translations/hr.json +294 -0
- package/build/translations/hu.json +294 -0
- package/build/translations/it.json +306 -0
- package/build/translations/ja.json +182 -0
- package/build/translations/ko.json +1 -0
- package/build/translations/nl.json +305 -0
- package/build/translations/nn.json +1 -0
- package/build/translations/pl.json +169 -0
- package/build/translations/pt.json +296 -0
- package/build/translations/pt_BR.json +304 -0
- package/build/translations/sv.json +182 -0
- package/build/translations/ti.json +9 -0
- package/build/translations/tr.json +297 -0
- package/build/translations/uk.json +268 -0
- package/build/translations/zh_Hant.json +309 -0
- package/build/utils/API.js +928 -0
- package/build/utils/InitParameters.js +521 -0
- package/build/utils/MapStyleComposer.js +889 -0
- package/build/utils/PanoraMapProtocol.js +49 -0
- package/build/utils/PhotoAdapter.js +49 -0
- package/build/utils/PresetsManager.js +148 -0
- package/build/utils/SemanticsMapProtocol.js +144 -0
- package/build/utils/URLHandler.js +426 -0
- package/build/utils/geocoder.js +203 -0
- package/build/utils/i18n.js +128 -0
- package/build/utils/index.js +17 -0
- package/build/utils/index_photoviewer.js +14 -0
- package/build/utils/indoor.js +200 -0
- package/build/utils/map.js +788 -0
- package/build/utils/picture.js +507 -0
- package/build/utils/semantics.js +321 -0
- package/build/utils/services.js +148 -0
- package/build/utils/utils.js +433 -0
- package/build/utils/widgets.js +110 -0
- package/package.json +1 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
pnx-viewer {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: block;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/* Maximized components */
|
|
7
|
+
pnx-viewer .pnx-map.maplibregl-map,
|
|
8
|
+
pnx-viewer .pnx-psv {
|
|
9
|
+
position: absolute;
|
|
10
|
+
inset: 0;
|
|
11
|
+
z-index: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* No PSV loader */
|
|
15
|
+
pnx-viewer .psv-loader {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Search bar over other components */
|
|
20
|
+
pnx-widget-geosearch {
|
|
21
|
+
z-index: 129;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Cornered grid layout */
|
|
25
|
+
pnx-viewer pnx-cornered-grid::part(corner-top-left),
|
|
26
|
+
pnx-viewer pnx-cornered-grid::part(corner-top),
|
|
27
|
+
pnx-viewer pnx-cornered-grid::part(corner-top-right),
|
|
28
|
+
pnx-viewer pnx-cornered-grid::part(corner-bottom-left),
|
|
29
|
+
pnx-viewer pnx-cornered-grid::part(corner-bottom),
|
|
30
|
+
pnx-viewer pnx-cornered-grid::part(corner-bottom-right) {
|
|
31
|
+
gap: 10px;
|
|
32
|
+
padding: 10px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media screen and (max-width: 576px) {
|
|
36
|
+
pnx-viewer pnx-cornered-grid::part(corner-top-right) {
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
align-items: flex-end;
|
|
39
|
+
justify-content: flex-start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
pnx-viewer pnx-cornered-grid::part(corner-top-left) {
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
justify-content: flex-start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Offset bottom buttons on smartphones */
|
|
49
|
+
pnx-viewer:not(.pnx-iframed) pnx-cornered-grid::part(corner-bottom-right),
|
|
50
|
+
pnx-viewer:not(.pnx-iframed) pnx-cornered-grid::part(corner-bottom-left) {
|
|
51
|
+
margin-bottom: 30px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Mini component */
|
|
56
|
+
pnx-viewer pnx-mini {
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
aspect-ratio: 1/1;
|
|
59
|
+
min-width: 250px;
|
|
60
|
+
min-height: 250px;
|
|
61
|
+
position: relative;
|
|
62
|
+
display: block;
|
|
63
|
+
z-index: 120;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media screen and ((max-width: 576px)) {
|
|
67
|
+
pnx-viewer pnx-mini {
|
|
68
|
+
min-width: unset;
|
|
69
|
+
min-height: unset;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
pnx-viewer pnx-mini .psv-container,
|
|
74
|
+
pnx-viewer pnx-mini .pnx-map {
|
|
75
|
+
border-radius: 10px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Hidden elements depending on focus */
|
|
79
|
+
pnx-viewer:not(pnx-viewer[focus="map"]) .pnx-only-map,
|
|
80
|
+
pnx-viewer:not(pnx-viewer[focus="pic"]) .pnx-only-psv {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Override legend positioning */
|
|
85
|
+
@media screen and (min-width: 576px) {
|
|
86
|
+
pnx-viewer pnx-widget-legend:not([light="true"]) {
|
|
87
|
+
position: absolute;
|
|
88
|
+
left: 10px;
|
|
89
|
+
top: 60px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
pnx-viewer[focus="pic"] pnx-widget-legend:not([light="true"]) {
|
|
93
|
+
top: 10px;
|
|
94
|
+
width: 100%;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Hide default map legend */
|
|
99
|
+
pnx-viewer .pnx-map .maplibregl-ctrl-attrib {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Override geosearch sizing */
|
|
104
|
+
@media screen and (max-width: 576px) {
|
|
105
|
+
pnx-widget-geosearch pnx-search-bar:not([reduced])::part(container) {
|
|
106
|
+
width: 250px;
|
|
107
|
+
max-width: 40vw;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Hidden widgets on sequence play */
|
|
112
|
+
pnx-viewer.pnx-playing pnx-bottom-drawer,
|
|
113
|
+
pnx-viewer.pnx-playing pnx-mini,
|
|
114
|
+
pnx-viewer.pnx-playing pnx-widget-legend,
|
|
115
|
+
pnx-viewer.pnx-playing pnx-widget-zoom {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Hidden widgets on grid toggled */
|
|
120
|
+
pnx-viewer .psv-virtual-tour-arrows {
|
|
121
|
+
transition: opacity 0.25s ease-in-out;
|
|
122
|
+
opacity: 100%;
|
|
123
|
+
}
|
|
124
|
+
pnx-viewer.pnx-grid-toggled .psv-virtual-tour-arrows {
|
|
125
|
+
opacity: 0%;
|
|
126
|
+
}
|
|
127
|
+
pnx-viewer.pnx-grid-toggled .psv-virtual-tour-arrows button {
|
|
128
|
+
pointer-events: none;
|
|
129
|
+
cursor: unset;
|
|
130
|
+
}
|