@panoramax/web-viewer 5.1.2-develop-cf7c38b4 → 5.1.2-develop-2295c075
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/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_photoviewer.js +4 -4
- package/build/cjs/index_photoviewer.js.map +1 -1
- package/build/esm/components/core/Basic.js +1 -1
- package/build/esm/components/ui/Photo.js +0 -1
- package/build/esm/components/ui/SearchBar.js +2 -0
- package/build/esm/utils/URLHandler.js +5 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import BasicStyles from "./Basic.css" with { type: "css" };
|
|
|
9
9
|
document.adoptedStyleSheets.push(AtkinsonStyles);
|
|
10
10
|
document.adoptedStyleSheets.push(BasicStyles);
|
|
11
11
|
|
|
12
|
-
const __COMMIT_HASH__ = "
|
|
12
|
+
const __COMMIT_HASH__ = "2295c07";
|
|
13
13
|
const __PACKAGE_VERSION__ = "5.1.2";
|
|
14
14
|
const __PACKAGE_ISSUES_URL__ = "https://gitlab.com/panoramax/clients/web-viewer/-/work_items";
|
|
15
15
|
|
|
@@ -189,7 +189,6 @@ export default class Photo extends PSViewer {
|
|
|
189
189
|
newMeta.links = newMeta.origLinks;
|
|
190
190
|
newNode.links = filterRelatedPicsLinks(newMeta, this._picturesNavFilter.bind(this));
|
|
191
191
|
this._myVTour.datasource.nodes[newNode.id] = newNode;
|
|
192
|
-
console.log(newNode.links);
|
|
193
192
|
this._myVTour.__renderLinks(newNode);
|
|
194
193
|
}, 2000);
|
|
195
194
|
}
|
|
@@ -305,6 +305,8 @@ export default class SearchBar extends LitElement {
|
|
|
305
305
|
this._parent.renderRoot.appendChild(this._popup);
|
|
306
306
|
if(!this["keep-on-menu-closure"]) {
|
|
307
307
|
listenForMenuClosure(this._popup, this.reset.bind(this));
|
|
308
|
+
} else {
|
|
309
|
+
listenForMenuClosure(this._popup, () => this._results = null);
|
|
308
310
|
}
|
|
309
311
|
}
|
|
310
312
|
|
|
@@ -104,9 +104,13 @@ export default class URLHandler extends EventTarget {
|
|
|
104
104
|
hashParts.users = this._parent.mapStyleComposer.panoramax;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
if(this._parent.mapStyleComposer?.panoramaxTheme) {
|
|
108
|
+
hashParts.theme = this._parent.mapStyleComposer.panoramaxTheme;
|
|
109
|
+
}
|
|
110
|
+
|
|
107
111
|
if(this._parent.mapStyleComposer.panoramaxFilters) {
|
|
108
112
|
for(let k in MAP_FILTERS_JS2URL) {
|
|
109
|
-
if(this._parent.mapStyleComposer.panoramaxFilters[k]) {
|
|
113
|
+
if(k !== "theme" && this._parent.mapStyleComposer.panoramaxFilters[k]) {
|
|
110
114
|
hashParts[MAP_FILTERS_JS2URL[k]] = this._parent.mapStyleComposer.panoramaxFilters[k];
|
|
111
115
|
}
|
|
112
116
|
}
|
package/package.json
CHANGED