@3dwayfinder/wayfinder-vue-components 1.22.2 → 1.22.3
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.
|
@@ -1504,8 +1504,8 @@ var script$z = {
|
|
|
1504
1504
|
wayfinder.events.on("data-loaded", function () {
|
|
1505
1505
|
if (!scope.loaded) {
|
|
1506
1506
|
// update getters
|
|
1507
|
-
scope.$store.dispatch('wf/SET_CURRENT_FLOOR', scope.$store.getters["wf/freezeFloor"](wayfinder.getCurrentFloor()) || null);
|
|
1508
|
-
scope.$store.dispatch('wf/SET_CURRENT_BUILDING', wayfinder.getCurrentBuilding());
|
|
1507
|
+
scope.$store.dispatch('wf/SET_CURRENT_FLOOR', wayfinder.getCurrentFloor().copy()); //scope.$store.getters["wf/freezeFloor"](wayfinder.getCurrentFloor()) || null);
|
|
1508
|
+
scope.$store.dispatch('wf/SET_CURRENT_BUILDING', wayfinder.getCurrentBuilding().copy());
|
|
1509
1509
|
scope.$store.dispatch('wf/SET_INACTIVITY_TIME', wayfinder.settings.getInt('kiosk.max-inactivity', 30));
|
|
1510
1510
|
scope.update(wayfinder);
|
|
1511
1511
|
scope.$store.dispatch('wf/SET_INACTIVITY_TIME', wayfinder.settings.getInt('kiosk.max-inactivity', 30));
|
|
@@ -1744,14 +1744,14 @@ var __vue_staticRenderFns__$z = [];
|
|
|
1744
1744
|
/* style */
|
|
1745
1745
|
const __vue_inject_styles__$z = function (inject) {
|
|
1746
1746
|
if (!inject) return;
|
|
1747
|
-
inject("data-v-
|
|
1748
|
-
source: ".wf-map-container[data-v-
|
|
1747
|
+
inject("data-v-b7463422_0", {
|
|
1748
|
+
source: ".wf-map-container[data-v-b7463422]{position:relative;width:100%;height:100%}.wf-map-container canvas[data-v-b7463422]{width:100%;height:100%;position:relative}.wf-map-container .wf-map-path-text[data-v-b7463422]{width:30ch;text-align:center;background-color:#fff;position:absolute;bottom:25%;margin:auto;left:50%;margin-left:-15ch;padding:.5em}#wf-poi-popup[data-v-b7463422]{position:absolute;top:0;left:0;z-index:10;width:15.5rem;height:auto;background-color:#fff;text-align:center;transform-origin:bottom;animation-duration:.5s;animation-iteration-count:2;cursor:pointer}.wf-poi-popup-content[data-v-b7463422]{display:flex;flex-direction:column;justify-content:stretch;height:100%}.wf-poi-popup-content>label[data-v-b7463422]{flex-grow:1;font-size:1.6rem;margin-top:.6rem;text-align:center;line-height:1.2;font-weight:600;margin-bottom:1.6rem}.wf-pin-down[data-v-b7463422]{background-color:#fff;width:1rem;height:1rem;position:absolute;bottom:-.5rem;border-radius:1rem 0 0 0;transform:rotate(45deg);left:50%;margin-left:-.75rem}.wf-pin-left .wf-pin-down[data-v-b7463422]{left:1rem}.wf-pin-right .wf-pin-down[data-v-b7463422]{right:1rem;left:auto}.wf-pin-up .wf-poi-popup-content[data-v-b7463422]{margin-bottom:0}.wf-pin-up .wf-pin-down[data-v-b7463422]{top:-.5rem;bottom:auto;transform:rotate(-45deg)}",
|
|
1749
1749
|
map: undefined,
|
|
1750
1750
|
media: undefined
|
|
1751
1751
|
});
|
|
1752
1752
|
};
|
|
1753
1753
|
/* scoped */
|
|
1754
|
-
const __vue_scope_id__$z = "data-v-
|
|
1754
|
+
const __vue_scope_id__$z = "data-v-b7463422";
|
|
1755
1755
|
/* module identifier */
|
|
1756
1756
|
const __vue_module_identifier__$z = undefined;
|
|
1757
1757
|
/* functional template */
|
|
@@ -3567,6 +3567,7 @@ var script$n = {
|
|
|
3567
3567
|
if (this.hasClickedListener) {
|
|
3568
3568
|
this.$emit("clicked", floor);
|
|
3569
3569
|
} else {
|
|
3570
|
+
console.log("changeFloor", floor);
|
|
3570
3571
|
this.$wayfinder.showFloor(floor);
|
|
3571
3572
|
}
|
|
3572
3573
|
}
|
|
@@ -3616,14 +3617,14 @@ var __vue_staticRenderFns__$n = [];
|
|
|
3616
3617
|
/* style */
|
|
3617
3618
|
const __vue_inject_styles__$n = function (inject) {
|
|
3618
3619
|
if (!inject) return;
|
|
3619
|
-
inject("data-v-
|
|
3620
|
-
source: ".wf-floors-menu .wf-list-item[data-v-
|
|
3620
|
+
inject("data-v-7cc2464e_0", {
|
|
3621
|
+
source: ".wf-floors-menu .wf-list-item[data-v-7cc2464e]{text-overflow:ellipsis;list-style:none}",
|
|
3621
3622
|
map: undefined,
|
|
3622
3623
|
media: undefined
|
|
3623
3624
|
});
|
|
3624
3625
|
};
|
|
3625
3626
|
/* scoped */
|
|
3626
|
-
const __vue_scope_id__$n = "data-v-
|
|
3627
|
+
const __vue_scope_id__$n = "data-v-7cc2464e";
|
|
3627
3628
|
/* module identifier */
|
|
3628
3629
|
const __vue_module_identifier__$n = undefined;
|
|
3629
3630
|
/* functional template */
|
|
@@ -6862,6 +6863,7 @@ function freezeFloor(f, skip) {
|
|
|
6862
6863
|
} else if (_f.pois) {
|
|
6863
6864
|
_f.pois = _f.pois.map(p => freezePOI(p));
|
|
6864
6865
|
}
|
|
6866
|
+
_f.freezed = true;
|
|
6865
6867
|
return _f;
|
|
6866
6868
|
}
|
|
6867
6869
|
var store = {
|