@3dwayfinder/wayfinder-vue-components 1.0.66 → 1.0.70
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/dist/wayfinder-vue-components.esm.js +344 -350
- package/dist/wayfinder-vue-components.min.js +2 -2
- package/dist/wayfinder-vue-components.ssr.js +304 -285
- package/package.json +1 -1
- package/src/lib-components/AZMenu.vue +6 -23
- package/src/lib-components/GroupsMenu.vue +0 -1
- package/src/lib-components/Map.vue +4 -2
- package/src/lib-components/ScrollableArea.vue +7 -0
- package/src/lib-components/Search.vue +1 -1
|
@@ -1128,6 +1128,9 @@ var script$g = {
|
|
|
1128
1128
|
scope.$emit('loaded');
|
|
1129
1129
|
}
|
|
1130
1130
|
});
|
|
1131
|
+
wayfinder$1.events.on("map-ready", function () {
|
|
1132
|
+
wayfinder$1.resize();
|
|
1133
|
+
});
|
|
1131
1134
|
wayfinder$1.events.on('language-change', () => {
|
|
1132
1135
|
this.update(wayfinder$1);
|
|
1133
1136
|
});
|
|
@@ -1375,8 +1378,8 @@ var __vue_staticRenderFns__$g = [];
|
|
|
1375
1378
|
|
|
1376
1379
|
const __vue_inject_styles__$g = function (inject) {
|
|
1377
1380
|
if (!inject) return;
|
|
1378
|
-
inject("data-v-
|
|
1379
|
-
source: ".map-container[data-v-
|
|
1381
|
+
inject("data-v-03b6737b_0", {
|
|
1382
|
+
source: ".map-container[data-v-03b6737b]{position:relative;width:100%;height:100%}.map-container canvas[data-v-03b6737b]{width:100%;height:100%}.map-container .map-path-text[data-v-03b6737b]{margin-top:50%;width:20rem;text-align:center;background-color:#fff;position:absolute;bottom:15%;margin:auto;left:50%;margin-left:-10rem;padding:.5rem;font-size:2rem;font-weight:600;text-transform:uppercase}.map-container .map-shadow[data-v-03b6737b]{position:absolute;bottom:-1px;width:100%;height:9rem}.currentFloor[data-v-03b6737b]{color:#fff;font-size:9rem;position:absolute;font-weight:800;text-shadow:.1rem .1rem .3rem #666;text-align:center;width:8rem;top:0;right:1rem}",
|
|
1380
1383
|
map: undefined,
|
|
1381
1384
|
media: undefined
|
|
1382
1385
|
});
|
|
@@ -1384,7 +1387,7 @@ const __vue_inject_styles__$g = function (inject) {
|
|
|
1384
1387
|
/* scoped */
|
|
1385
1388
|
|
|
1386
1389
|
|
|
1387
|
-
const __vue_scope_id__$g = "data-v-
|
|
1390
|
+
const __vue_scope_id__$g = "data-v-03b6737b";
|
|
1388
1391
|
/* module identifier */
|
|
1389
1392
|
|
|
1390
1393
|
const __vue_module_identifier__$g = undefined;
|
|
@@ -1402,16 +1405,208 @@ const __vue_component__$g = /*#__PURE__*/normalizeComponent({
|
|
|
1402
1405
|
|
|
1403
1406
|
//
|
|
1404
1407
|
var script$f = {
|
|
1405
|
-
name:
|
|
1408
|
+
name: "POI",
|
|
1409
|
+
computed: { ...mapState(['language'])
|
|
1410
|
+
},
|
|
1411
|
+
props: {
|
|
1412
|
+
poi: {
|
|
1413
|
+
type: Object,
|
|
1414
|
+
default: null
|
|
1415
|
+
},
|
|
1416
|
+
showLogo: {
|
|
1417
|
+
type: Boolean,
|
|
1418
|
+
default: false
|
|
1419
|
+
},
|
|
1420
|
+
showName: {
|
|
1421
|
+
type: Boolean,
|
|
1422
|
+
default: true
|
|
1423
|
+
},
|
|
1424
|
+
showPathButton: {
|
|
1425
|
+
type: Boolean,
|
|
1426
|
+
default: false
|
|
1427
|
+
},
|
|
1428
|
+
showDescription: {
|
|
1429
|
+
type: Boolean,
|
|
1430
|
+
default: false
|
|
1431
|
+
},
|
|
1432
|
+
showRoomID: {
|
|
1433
|
+
type: Boolean,
|
|
1434
|
+
default: false
|
|
1435
|
+
},
|
|
1436
|
+
showFloor: {
|
|
1437
|
+
type: Boolean,
|
|
1438
|
+
default: false
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
watch: {
|
|
1442
|
+
language() {
|
|
1443
|
+
if (wayfinder) {
|
|
1444
|
+
this.show_path = this.$wayfinder.translator.get('show_path');
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
},
|
|
1449
|
+
methods: {
|
|
1450
|
+
update(id) {
|
|
1451
|
+
/* global wayfinder window */
|
|
1452
|
+
if (wayfinder.pois[id]) {
|
|
1453
|
+
this.poi = Object.freeze(wayfinder.pois[id]);
|
|
1454
|
+
this.language = wayfinder.getLanguage();
|
|
1455
|
+
this.$emit('titleChanged', this.poi.getName(wayfinder.getLanguage()));
|
|
1456
|
+
this.description = this.poi.getDescription(wayfinder.getLanguage()) ? this.poi.getDescription(wayfinder.getLanguage()) : '';
|
|
1406
1457
|
|
|
1407
|
-
|
|
1458
|
+
if (this.poi.shop_logo) {
|
|
1459
|
+
var scope = this;
|
|
1460
|
+
window.requestAnimationFrame(function () {
|
|
1461
|
+
scope.$app.getImage(scope.poi.shop_logo).then(function (image) {
|
|
1462
|
+
scope.logo = image.url;
|
|
1463
|
+
});
|
|
1464
|
+
});
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1408
1468
|
|
|
1409
|
-
|
|
1469
|
+
showPath() {
|
|
1470
|
+
if (this.poi) {
|
|
1471
|
+
this.$emit('showPath', this.poi);
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
|
|
1475
|
+
open(type) {
|
|
1476
|
+
if (type && this.poi[type]) {
|
|
1477
|
+
if (type === 'shop_email') {
|
|
1478
|
+
window.open('mailto:' + this.poi[type], '_system');
|
|
1479
|
+
} else if (type === 'shop_phone') {
|
|
1480
|
+
window.open('tel:' + this.poi[type], '_system');
|
|
1481
|
+
} else {
|
|
1482
|
+
window.open(this.poi[type], '_system');
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
|
|
1487
|
+
getImage() {
|
|
1488
|
+
if (this.poi.getBackgroundUrl()) return 'url("' + this.poi.getBackgroundUrl() + '")';else if (this.poi.getIconUrl()) {
|
|
1489
|
+
return 'url("' + this.poi.getIconUrl() + '")';
|
|
1490
|
+
} else {
|
|
1491
|
+
return false;
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
|
|
1495
|
+
isImage() {
|
|
1496
|
+
if (this.poi.getBackgroundUrl()) return "image-background";else if (this.poi.getIconUrl()) return "image-logo";else return "image-none";
|
|
1497
|
+
},
|
|
1498
|
+
|
|
1499
|
+
truncate(str, len) {
|
|
1500
|
+
if (str && str.length > len) {
|
|
1501
|
+
return str.substring(0, len) + '...';
|
|
1502
|
+
} else {
|
|
1503
|
+
return str;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
},
|
|
1508
|
+
data: function () {
|
|
1410
1509
|
return {
|
|
1411
|
-
|
|
1510
|
+
show_path: 'Show Path'
|
|
1412
1511
|
};
|
|
1413
|
-
}
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
/* script */
|
|
1516
|
+
const __vue_script__$f = script$f;
|
|
1517
|
+
/* template */
|
|
1518
|
+
|
|
1519
|
+
var __vue_render__$f = function () {
|
|
1520
|
+
var _vm = this;
|
|
1521
|
+
|
|
1522
|
+
var _h = _vm.$createElement;
|
|
1523
|
+
|
|
1524
|
+
var _c = _vm._self._c || _h;
|
|
1525
|
+
|
|
1526
|
+
return _vm.poi ? _c('div', {
|
|
1527
|
+
staticClass: "poi"
|
|
1528
|
+
}, [_vm.showLogo ? _c('div', {
|
|
1529
|
+
staticClass: "poi-image",
|
|
1530
|
+
class: [_vm.isImage()],
|
|
1531
|
+
style: {
|
|
1532
|
+
'background-image': _vm.getImage()
|
|
1533
|
+
}
|
|
1534
|
+
}) : _vm._e(), _vm._v(" "), _vm.showName ? _c('div', {
|
|
1535
|
+
staticClass: "poi-name",
|
|
1536
|
+
domProps: {
|
|
1537
|
+
"innerHTML": _vm._s(_vm.poi.getName(_vm.language) || 'POI')
|
|
1538
|
+
}
|
|
1539
|
+
}) : _vm._e(), _vm._v(" "), _vm.showPathButton ? _c('div', {
|
|
1540
|
+
directives: [{
|
|
1541
|
+
name: "touch",
|
|
1542
|
+
rawName: "v-touch:tap",
|
|
1543
|
+
value: _vm.showPath,
|
|
1544
|
+
expression: "showPath",
|
|
1545
|
+
arg: "tap"
|
|
1546
|
+
}],
|
|
1547
|
+
staticClass: "show-path"
|
|
1548
|
+
}, [_c('button', {
|
|
1549
|
+
staticClass: "button secondary round button-small"
|
|
1550
|
+
}, [_c('span', {
|
|
1551
|
+
attrs: {
|
|
1552
|
+
"data-translation-element": "show_path"
|
|
1553
|
+
}
|
|
1554
|
+
}, [_vm._v(_vm._s(_vm.show_path))]), _vm._v(" "), _c('i', {
|
|
1555
|
+
staticClass: "icon icon-pin"
|
|
1556
|
+
})])]) : _vm._e(), _vm._v(" "), _vm.showDescription ? _c('div', {
|
|
1557
|
+
staticClass: "poi-description",
|
|
1558
|
+
domProps: {
|
|
1559
|
+
"innerHTML": _vm._s(_vm.poi.getDescription(_vm.language) || '')
|
|
1560
|
+
}
|
|
1561
|
+
}) : _vm._e(), _vm._v(" "), _vm.showRoomID ? _c('div', {
|
|
1562
|
+
staticClass: "poi-description",
|
|
1563
|
+
domProps: {
|
|
1564
|
+
"innerHTML": _vm._s(_vm.poi.room_id || '')
|
|
1565
|
+
}
|
|
1566
|
+
}) : _vm._e(), _vm._v(" "), _vm.showFloor && _vm.poi.getFloor() ? _c('div', {
|
|
1567
|
+
staticClass: "poi-floor",
|
|
1568
|
+
domProps: {
|
|
1569
|
+
"innerHTML": _vm._s(_vm.poi.getFloor().getName(_vm.language) || '')
|
|
1570
|
+
}
|
|
1571
|
+
}) : _vm._e()]) : _vm._e();
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
var __vue_staticRenderFns__$f = [];
|
|
1575
|
+
/* style */
|
|
1414
1576
|
|
|
1577
|
+
const __vue_inject_styles__$f = function (inject) {
|
|
1578
|
+
if (!inject) return;
|
|
1579
|
+
inject("data-v-12662bbb_0", {
|
|
1580
|
+
source: ".layout-view[data-v-12662bbb]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-12662bbb]{padding:1rem}.poi-info h2[data-v-12662bbb]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-12662bbb]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-12662bbb]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-12662bbb]{background-size:cover}.show-path[data-v-12662bbb]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-12662bbb]{height:3rem;font-size:1.2rem;line-height:2.8rem;padding-left:2.5rem;padding-right:2.5rem;margin:auto;border:0;display:block}.poi-description[data-v-12662bbb]{line-height:1.2}.poi-contact .address[data-v-12662bbb]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-12662bbb]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-12662bbb]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-12662bbb]:before{mix-blend-mode:initial;color:#fff}",
|
|
1581
|
+
map: undefined,
|
|
1582
|
+
media: undefined
|
|
1583
|
+
});
|
|
1584
|
+
};
|
|
1585
|
+
/* scoped */
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
const __vue_scope_id__$f = "data-v-12662bbb";
|
|
1589
|
+
/* module identifier */
|
|
1590
|
+
|
|
1591
|
+
const __vue_module_identifier__$f = undefined;
|
|
1592
|
+
/* functional template */
|
|
1593
|
+
|
|
1594
|
+
const __vue_is_functional_template__$f = false;
|
|
1595
|
+
/* style inject SSR */
|
|
1596
|
+
|
|
1597
|
+
/* style inject shadow dom */
|
|
1598
|
+
|
|
1599
|
+
const __vue_component__$f = /*#__PURE__*/normalizeComponent({
|
|
1600
|
+
render: __vue_render__$f,
|
|
1601
|
+
staticRenderFns: __vue_staticRenderFns__$f
|
|
1602
|
+
}, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
|
|
1603
|
+
|
|
1604
|
+
//
|
|
1605
|
+
var script$e = {
|
|
1606
|
+
name: 'AZMenu',
|
|
1607
|
+
components: {
|
|
1608
|
+
POI: __vue_component__$f
|
|
1609
|
+
},
|
|
1415
1610
|
computed: { ...mapState(['pois', 'language', 'currentPOI']),
|
|
1416
1611
|
|
|
1417
1612
|
sortedPOIs() {
|
|
@@ -1430,27 +1625,6 @@ var script$f = {
|
|
|
1430
1625
|
}
|
|
1431
1626
|
|
|
1432
1627
|
},
|
|
1433
|
-
|
|
1434
|
-
updated() {
|
|
1435
|
-
var _height = 0;
|
|
1436
|
-
|
|
1437
|
-
var _poi;
|
|
1438
|
-
|
|
1439
|
-
for (var f in this.floors) {
|
|
1440
|
-
_height += 2.5;
|
|
1441
|
-
|
|
1442
|
-
for (var p in this.floors[f].pois) {
|
|
1443
|
-
_poi = this.floors[f].pois[p];
|
|
1444
|
-
|
|
1445
|
-
if (_poi && _poi.showInMenu) {
|
|
1446
|
-
_height += 2;
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
this.height = _height + 'rem';
|
|
1452
|
-
},
|
|
1453
|
-
|
|
1454
1628
|
methods: {
|
|
1455
1629
|
onClick(poi) {
|
|
1456
1630
|
return () => {
|
|
@@ -1463,10 +1637,10 @@ var script$f = {
|
|
|
1463
1637
|
};
|
|
1464
1638
|
|
|
1465
1639
|
/* script */
|
|
1466
|
-
const __vue_script__$
|
|
1640
|
+
const __vue_script__$e = script$e;
|
|
1467
1641
|
/* template */
|
|
1468
1642
|
|
|
1469
|
-
var __vue_render__$
|
|
1643
|
+
var __vue_render__$e = function () {
|
|
1470
1644
|
var _vm = this;
|
|
1471
1645
|
|
|
1472
1646
|
var _h = _vm.$createElement;
|
|
@@ -1477,58 +1651,69 @@ var __vue_render__$f = function () {
|
|
|
1477
1651
|
staticClass: "az-menu"
|
|
1478
1652
|
}, [_c('ul', {
|
|
1479
1653
|
staticClass: "list"
|
|
1480
|
-
}, _vm._l(_vm.sortedPOIs, function (
|
|
1481
|
-
return
|
|
1654
|
+
}, _vm._l(_vm.sortedPOIs, function (poiitem) {
|
|
1655
|
+
return _c('li', {
|
|
1482
1656
|
directives: [{
|
|
1483
1657
|
name: "touch",
|
|
1484
1658
|
rawName: "v-touch:tap",
|
|
1485
|
-
value: _vm.onClick(
|
|
1486
|
-
expression: "onClick(
|
|
1659
|
+
value: _vm.onClick(poiitem),
|
|
1660
|
+
expression: "onClick(poiitem)",
|
|
1487
1661
|
arg: "tap"
|
|
1488
1662
|
}],
|
|
1489
|
-
key:
|
|
1663
|
+
key: poiitem.id,
|
|
1490
1664
|
staticClass: "item list-item",
|
|
1491
1665
|
class: {
|
|
1492
|
-
"active": _vm.currentPOI &&
|
|
1493
|
-
},
|
|
1494
|
-
domProps: {
|
|
1495
|
-
"innerHTML": _vm._s(poi.getName(_vm.language))
|
|
1666
|
+
"active": _vm.currentPOI && poiitem.id == _vm.currentPOI.id
|
|
1496
1667
|
},
|
|
1497
1668
|
on: {
|
|
1498
1669
|
"click": function ($event) {
|
|
1499
|
-
return _vm.onClick(
|
|
1670
|
+
return _vm.onClick(poiitem);
|
|
1500
1671
|
}
|
|
1501
1672
|
}
|
|
1502
|
-
}
|
|
1673
|
+
}, [_vm._t("default", function () {
|
|
1674
|
+
return [_c('POI', {
|
|
1675
|
+
attrs: {
|
|
1676
|
+
"poi": poiitem,
|
|
1677
|
+
"showLogo": _vm.showLogo,
|
|
1678
|
+
"showName": _vm.showName,
|
|
1679
|
+
"showPathButton": _vm.showPathButton,
|
|
1680
|
+
"showDescription": _vm.showDescription,
|
|
1681
|
+
"showRoomID": _vm.showRoomID,
|
|
1682
|
+
"showFloor": _vm.showFloor
|
|
1683
|
+
}
|
|
1684
|
+
})];
|
|
1685
|
+
}, {
|
|
1686
|
+
"poi": poiitem
|
|
1687
|
+
})], 2);
|
|
1503
1688
|
}), 0)]);
|
|
1504
1689
|
};
|
|
1505
1690
|
|
|
1506
|
-
var __vue_staticRenderFns__$
|
|
1691
|
+
var __vue_staticRenderFns__$e = [];
|
|
1507
1692
|
/* style */
|
|
1508
1693
|
|
|
1509
|
-
const __vue_inject_styles__$
|
|
1694
|
+
const __vue_inject_styles__$e = undefined;
|
|
1510
1695
|
/* scoped */
|
|
1511
1696
|
|
|
1512
|
-
const __vue_scope_id__$
|
|
1697
|
+
const __vue_scope_id__$e = "data-v-60058fca";
|
|
1513
1698
|
/* module identifier */
|
|
1514
1699
|
|
|
1515
|
-
const __vue_module_identifier__$
|
|
1700
|
+
const __vue_module_identifier__$e = undefined;
|
|
1516
1701
|
/* functional template */
|
|
1517
1702
|
|
|
1518
|
-
const __vue_is_functional_template__$
|
|
1703
|
+
const __vue_is_functional_template__$e = false;
|
|
1519
1704
|
/* style inject */
|
|
1520
1705
|
|
|
1521
1706
|
/* style inject SSR */
|
|
1522
1707
|
|
|
1523
1708
|
/* style inject shadow dom */
|
|
1524
1709
|
|
|
1525
|
-
const __vue_component__$
|
|
1526
|
-
render: __vue_render__$
|
|
1527
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1528
|
-
}, __vue_inject_styles__$
|
|
1710
|
+
const __vue_component__$e = /*#__PURE__*/normalizeComponent({
|
|
1711
|
+
render: __vue_render__$e,
|
|
1712
|
+
staticRenderFns: __vue_staticRenderFns__$e
|
|
1713
|
+
}, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, undefined, undefined, undefined);
|
|
1529
1714
|
|
|
1530
1715
|
//
|
|
1531
|
-
var script$
|
|
1716
|
+
var script$d = {
|
|
1532
1717
|
name: 'FlagsMenu',
|
|
1533
1718
|
computed: { ...mapState(['languages', 'language', 'reset'])
|
|
1534
1719
|
},
|
|
@@ -1571,10 +1756,10 @@ var script$e = {
|
|
|
1571
1756
|
};
|
|
1572
1757
|
|
|
1573
1758
|
/* script */
|
|
1574
|
-
const __vue_script__$
|
|
1759
|
+
const __vue_script__$d = script$d;
|
|
1575
1760
|
/* template */
|
|
1576
1761
|
|
|
1577
|
-
var __vue_render__$
|
|
1762
|
+
var __vue_render__$d = function () {
|
|
1578
1763
|
var _vm = this;
|
|
1579
1764
|
|
|
1580
1765
|
var _h = _vm.$createElement;
|
|
@@ -1611,10 +1796,10 @@ var __vue_render__$e = function () {
|
|
|
1611
1796
|
}), 0)]);
|
|
1612
1797
|
};
|
|
1613
1798
|
|
|
1614
|
-
var __vue_staticRenderFns__$
|
|
1799
|
+
var __vue_staticRenderFns__$d = [];
|
|
1615
1800
|
/* style */
|
|
1616
1801
|
|
|
1617
|
-
const __vue_inject_styles__$
|
|
1802
|
+
const __vue_inject_styles__$d = function (inject) {
|
|
1618
1803
|
if (!inject) return;
|
|
1619
1804
|
inject("data-v-7fd08900_0", {
|
|
1620
1805
|
source: ".languages-container.active[data-v-7fd08900]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-7fd08900]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-7fd08900]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden;height:1.5rem;font-size:1rem}.languages-container .language .flag[data-v-7fd08900]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-7fd08900]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-7fd08900]{height:3.5rem;margin-bottom:1.5rem}",
|
|
@@ -1625,24 +1810,24 @@ const __vue_inject_styles__$e = function (inject) {
|
|
|
1625
1810
|
/* scoped */
|
|
1626
1811
|
|
|
1627
1812
|
|
|
1628
|
-
const __vue_scope_id__$
|
|
1813
|
+
const __vue_scope_id__$d = "data-v-7fd08900";
|
|
1629
1814
|
/* module identifier */
|
|
1630
1815
|
|
|
1631
|
-
const __vue_module_identifier__$
|
|
1816
|
+
const __vue_module_identifier__$d = undefined;
|
|
1632
1817
|
/* functional template */
|
|
1633
1818
|
|
|
1634
|
-
const __vue_is_functional_template__$
|
|
1819
|
+
const __vue_is_functional_template__$d = false;
|
|
1635
1820
|
/* style inject SSR */
|
|
1636
1821
|
|
|
1637
1822
|
/* style inject shadow dom */
|
|
1638
1823
|
|
|
1639
|
-
const __vue_component__$
|
|
1640
|
-
render: __vue_render__$
|
|
1641
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1642
|
-
}, __vue_inject_styles__$
|
|
1824
|
+
const __vue_component__$d = /*#__PURE__*/normalizeComponent({
|
|
1825
|
+
render: __vue_render__$d,
|
|
1826
|
+
staticRenderFns: __vue_staticRenderFns__$d
|
|
1827
|
+
}, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
|
|
1643
1828
|
|
|
1644
1829
|
//
|
|
1645
|
-
var script$
|
|
1830
|
+
var script$c = {
|
|
1646
1831
|
name: 'GroupsMenu',
|
|
1647
1832
|
props: {
|
|
1648
1833
|
showPOICount: {
|
|
@@ -1668,7 +1853,6 @@ var script$d = {
|
|
|
1668
1853
|
|
|
1669
1854
|
for (let i in this.poiGroups) {
|
|
1670
1855
|
topic = this.poiGroups[i];
|
|
1671
|
-
console.log('topic', topic);
|
|
1672
1856
|
|
|
1673
1857
|
if (topic && topic.getShowInMenu() && topic.getName(this.language)) {
|
|
1674
1858
|
arr.push(topic);
|
|
@@ -1706,10 +1890,10 @@ var script$d = {
|
|
|
1706
1890
|
};
|
|
1707
1891
|
|
|
1708
1892
|
/* script */
|
|
1709
|
-
const __vue_script__$
|
|
1893
|
+
const __vue_script__$c = script$c;
|
|
1710
1894
|
/* template */
|
|
1711
1895
|
|
|
1712
|
-
var __vue_render__$
|
|
1896
|
+
var __vue_render__$c = function () {
|
|
1713
1897
|
var _vm = this;
|
|
1714
1898
|
|
|
1715
1899
|
var _h = _vm.$createElement;
|
|
@@ -1745,13 +1929,13 @@ var __vue_render__$d = function () {
|
|
|
1745
1929
|
}), 0)]);
|
|
1746
1930
|
};
|
|
1747
1931
|
|
|
1748
|
-
var __vue_staticRenderFns__$
|
|
1932
|
+
var __vue_staticRenderFns__$c = [];
|
|
1749
1933
|
/* style */
|
|
1750
1934
|
|
|
1751
|
-
const __vue_inject_styles__$
|
|
1935
|
+
const __vue_inject_styles__$c = function (inject) {
|
|
1752
1936
|
if (!inject) return;
|
|
1753
|
-
inject("data-v-
|
|
1754
|
-
source: ".az-menu[data-v-
|
|
1937
|
+
inject("data-v-891e32da_0", {
|
|
1938
|
+
source: ".az-menu[data-v-891e32da]{overflow:hidden;user-select:none}.az-menu .list-item[data-v-891e32da]{list-style:none}.az-menu ul[data-v-891e32da]{margin:0;padding:0}",
|
|
1755
1939
|
map: undefined,
|
|
1756
1940
|
media: undefined
|
|
1757
1941
|
});
|
|
@@ -1759,24 +1943,24 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
1759
1943
|
/* scoped */
|
|
1760
1944
|
|
|
1761
1945
|
|
|
1762
|
-
const __vue_scope_id__$
|
|
1946
|
+
const __vue_scope_id__$c = "data-v-891e32da";
|
|
1763
1947
|
/* module identifier */
|
|
1764
1948
|
|
|
1765
|
-
const __vue_module_identifier__$
|
|
1949
|
+
const __vue_module_identifier__$c = undefined;
|
|
1766
1950
|
/* functional template */
|
|
1767
1951
|
|
|
1768
|
-
const __vue_is_functional_template__$
|
|
1952
|
+
const __vue_is_functional_template__$c = false;
|
|
1769
1953
|
/* style inject SSR */
|
|
1770
1954
|
|
|
1771
1955
|
/* style inject shadow dom */
|
|
1772
1956
|
|
|
1773
|
-
const __vue_component__$
|
|
1774
|
-
render: __vue_render__$
|
|
1775
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1776
|
-
}, __vue_inject_styles__$
|
|
1957
|
+
const __vue_component__$c = /*#__PURE__*/normalizeComponent({
|
|
1958
|
+
render: __vue_render__$c,
|
|
1959
|
+
staticRenderFns: __vue_staticRenderFns__$c
|
|
1960
|
+
}, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
|
|
1777
1961
|
|
|
1778
1962
|
//
|
|
1779
|
-
var script$
|
|
1963
|
+
var script$b = {
|
|
1780
1964
|
name: 'BuildingLogo',
|
|
1781
1965
|
computed: { ...mapState(['building'])
|
|
1782
1966
|
},
|
|
@@ -1791,10 +1975,10 @@ var script$c = {
|
|
|
1791
1975
|
};
|
|
1792
1976
|
|
|
1793
1977
|
/* script */
|
|
1794
|
-
const __vue_script__$
|
|
1978
|
+
const __vue_script__$b = script$b;
|
|
1795
1979
|
/* template */
|
|
1796
1980
|
|
|
1797
|
-
var __vue_render__$
|
|
1981
|
+
var __vue_render__$b = function () {
|
|
1798
1982
|
var _vm = this;
|
|
1799
1983
|
|
|
1800
1984
|
var _h = _vm.$createElement;
|
|
@@ -1809,10 +1993,10 @@ var __vue_render__$c = function () {
|
|
|
1809
1993
|
});
|
|
1810
1994
|
};
|
|
1811
1995
|
|
|
1812
|
-
var __vue_staticRenderFns__$
|
|
1996
|
+
var __vue_staticRenderFns__$b = [];
|
|
1813
1997
|
/* style */
|
|
1814
1998
|
|
|
1815
|
-
const __vue_inject_styles__$
|
|
1999
|
+
const __vue_inject_styles__$b = function (inject) {
|
|
1816
2000
|
if (!inject) return;
|
|
1817
2001
|
inject("data-v-992e7498_0", {
|
|
1818
2002
|
source: ".building-logo[data-v-992e7498]{background-size:contain;background-repeat:no-repeat;background-position:50%}",
|
|
@@ -1823,24 +2007,24 @@ const __vue_inject_styles__$c = function (inject) {
|
|
|
1823
2007
|
/* scoped */
|
|
1824
2008
|
|
|
1825
2009
|
|
|
1826
|
-
const __vue_scope_id__$
|
|
2010
|
+
const __vue_scope_id__$b = "data-v-992e7498";
|
|
1827
2011
|
/* module identifier */
|
|
1828
2012
|
|
|
1829
|
-
const __vue_module_identifier__$
|
|
2013
|
+
const __vue_module_identifier__$b = undefined;
|
|
1830
2014
|
/* functional template */
|
|
1831
2015
|
|
|
1832
|
-
const __vue_is_functional_template__$
|
|
2016
|
+
const __vue_is_functional_template__$b = false;
|
|
1833
2017
|
/* style inject SSR */
|
|
1834
2018
|
|
|
1835
2019
|
/* style inject shadow dom */
|
|
1836
2020
|
|
|
1837
|
-
const __vue_component__$
|
|
1838
|
-
render: __vue_render__$
|
|
1839
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1840
|
-
}, __vue_inject_styles__$
|
|
2021
|
+
const __vue_component__$b = /*#__PURE__*/normalizeComponent({
|
|
2022
|
+
render: __vue_render__$b,
|
|
2023
|
+
staticRenderFns: __vue_staticRenderFns__$b
|
|
2024
|
+
}, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, createInjector, undefined, undefined);
|
|
1841
2025
|
|
|
1842
2026
|
//
|
|
1843
|
-
var script$
|
|
2027
|
+
var script$a = {
|
|
1844
2028
|
name: 'BuildingLogo',
|
|
1845
2029
|
computed: { //yahLogo
|
|
1846
2030
|
...mapState(['yahLogo', 'language'])
|
|
@@ -1854,10 +2038,10 @@ var script$b = {
|
|
|
1854
2038
|
};
|
|
1855
2039
|
|
|
1856
2040
|
/* script */
|
|
1857
|
-
const __vue_script__$
|
|
2041
|
+
const __vue_script__$a = script$a;
|
|
1858
2042
|
/* template */
|
|
1859
2043
|
|
|
1860
|
-
var __vue_render__$
|
|
2044
|
+
var __vue_render__$a = function () {
|
|
1861
2045
|
var _vm = this;
|
|
1862
2046
|
|
|
1863
2047
|
var _h = _vm.$createElement;
|
|
@@ -1880,10 +2064,10 @@ var __vue_render__$b = function () {
|
|
|
1880
2064
|
}, [_vm._v("\n\tYAH\n")]);
|
|
1881
2065
|
};
|
|
1882
2066
|
|
|
1883
|
-
var __vue_staticRenderFns__$
|
|
2067
|
+
var __vue_staticRenderFns__$a = [];
|
|
1884
2068
|
/* style */
|
|
1885
2069
|
|
|
1886
|
-
const __vue_inject_styles__$
|
|
2070
|
+
const __vue_inject_styles__$a = function (inject) {
|
|
1887
2071
|
if (!inject) return;
|
|
1888
2072
|
inject("data-v-2724c4e6_0", {
|
|
1889
2073
|
source: ".yah-logo[data-v-2724c4e6]{background-repeat:no-repeat;font-weight:600;text-align:center;margin-right:.5rem;text-transform:uppercase;border:none;outline:0}",
|
|
@@ -1894,27 +2078,27 @@ const __vue_inject_styles__$b = function (inject) {
|
|
|
1894
2078
|
/* scoped */
|
|
1895
2079
|
|
|
1896
2080
|
|
|
1897
|
-
const __vue_scope_id__$
|
|
2081
|
+
const __vue_scope_id__$a = "data-v-2724c4e6";
|
|
1898
2082
|
/* module identifier */
|
|
1899
2083
|
|
|
1900
|
-
const __vue_module_identifier__$
|
|
2084
|
+
const __vue_module_identifier__$a = undefined;
|
|
1901
2085
|
/* functional template */
|
|
1902
2086
|
|
|
1903
|
-
const __vue_is_functional_template__$
|
|
2087
|
+
const __vue_is_functional_template__$a = false;
|
|
1904
2088
|
/* style inject SSR */
|
|
1905
2089
|
|
|
1906
|
-
/* style inject shadow dom */
|
|
1907
|
-
|
|
1908
|
-
const __vue_component__$
|
|
1909
|
-
render: __vue_render__$
|
|
1910
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1911
|
-
}, __vue_inject_styles__$
|
|
1912
|
-
|
|
2090
|
+
/* style inject shadow dom */
|
|
2091
|
+
|
|
2092
|
+
const __vue_component__$a = /*#__PURE__*/normalizeComponent({
|
|
2093
|
+
render: __vue_render__$a,
|
|
2094
|
+
staticRenderFns: __vue_staticRenderFns__$a
|
|
2095
|
+
}, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, createInjector, undefined, undefined);
|
|
2096
|
+
|
|
1913
2097
|
//
|
|
1914
|
-
var script$
|
|
2098
|
+
var script$9 = {
|
|
1915
2099
|
name: 'ShortcutsMenu',
|
|
1916
2100
|
components: {
|
|
1917
|
-
YAH: __vue_component__$
|
|
2101
|
+
YAH: __vue_component__$a
|
|
1918
2102
|
},
|
|
1919
2103
|
props: {
|
|
1920
2104
|
showLabel: {
|
|
@@ -1985,10 +2169,10 @@ var script$a = {
|
|
|
1985
2169
|
};
|
|
1986
2170
|
|
|
1987
2171
|
/* script */
|
|
1988
|
-
const __vue_script__$
|
|
2172
|
+
const __vue_script__$9 = script$9;
|
|
1989
2173
|
/* template */
|
|
1990
2174
|
|
|
1991
|
-
var __vue_render__$
|
|
2175
|
+
var __vue_render__$9 = function () {
|
|
1992
2176
|
var _vm = this;
|
|
1993
2177
|
|
|
1994
2178
|
var _h = _vm.$createElement;
|
|
@@ -2014,10 +2198,10 @@ var __vue_render__$a = function () {
|
|
|
2014
2198
|
}), 0);
|
|
2015
2199
|
};
|
|
2016
2200
|
|
|
2017
|
-
var __vue_staticRenderFns__$
|
|
2201
|
+
var __vue_staticRenderFns__$9 = [];
|
|
2018
2202
|
/* style */
|
|
2019
2203
|
|
|
2020
|
-
const __vue_inject_styles__$
|
|
2204
|
+
const __vue_inject_styles__$9 = function (inject) {
|
|
2021
2205
|
if (!inject) return;
|
|
2022
2206
|
inject("data-v-0f461fc8_0", {
|
|
2023
2207
|
source: ".shortcuts-container[data-v-0f461fc8]{display:flex;flex-wrap:wrap-reverse;align-content:stretch;justify-content:space-between;margin-bottom:.1rem;flex-direction:row}.shortcuts-container.map-shortcuts[data-v-0f461fc8]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",
|
|
@@ -2028,21 +2212,21 @@ const __vue_inject_styles__$a = function (inject) {
|
|
|
2028
2212
|
/* scoped */
|
|
2029
2213
|
|
|
2030
2214
|
|
|
2031
|
-
const __vue_scope_id__$
|
|
2215
|
+
const __vue_scope_id__$9 = "data-v-0f461fc8";
|
|
2032
2216
|
/* module identifier */
|
|
2033
2217
|
|
|
2034
|
-
const __vue_module_identifier__$
|
|
2218
|
+
const __vue_module_identifier__$9 = undefined;
|
|
2035
2219
|
/* functional template */
|
|
2036
2220
|
|
|
2037
|
-
const __vue_is_functional_template__$
|
|
2221
|
+
const __vue_is_functional_template__$9 = false;
|
|
2038
2222
|
/* style inject SSR */
|
|
2039
2223
|
|
|
2040
2224
|
/* style inject shadow dom */
|
|
2041
2225
|
|
|
2042
|
-
const __vue_component__$
|
|
2043
|
-
render: __vue_render__$
|
|
2044
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2045
|
-
}, __vue_inject_styles__$
|
|
2226
|
+
const __vue_component__$9 = /*#__PURE__*/normalizeComponent({
|
|
2227
|
+
render: __vue_render__$9,
|
|
2228
|
+
staticRenderFns: __vue_staticRenderFns__$9
|
|
2229
|
+
}, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
|
|
2046
2230
|
|
|
2047
2231
|
//
|
|
2048
2232
|
//
|
|
@@ -2050,7 +2234,7 @@ const __vue_component__$a = /*#__PURE__*/normalizeComponent({
|
|
|
2050
2234
|
//
|
|
2051
2235
|
//
|
|
2052
2236
|
//
|
|
2053
|
-
var script$
|
|
2237
|
+
var script$8 = {
|
|
2054
2238
|
methods: {
|
|
2055
2239
|
zoomIn() {
|
|
2056
2240
|
this.$wayfinder.zoomIn();
|
|
@@ -2064,10 +2248,10 @@ var script$9 = {
|
|
|
2064
2248
|
};
|
|
2065
2249
|
|
|
2066
2250
|
/* script */
|
|
2067
|
-
const __vue_script__$
|
|
2251
|
+
const __vue_script__$8 = script$8;
|
|
2068
2252
|
/* template */
|
|
2069
2253
|
|
|
2070
|
-
var __vue_render__$
|
|
2254
|
+
var __vue_render__$8 = function () {
|
|
2071
2255
|
var _vm = this;
|
|
2072
2256
|
|
|
2073
2257
|
var _h = _vm.$createElement;
|
|
@@ -2093,32 +2277,32 @@ var __vue_render__$9 = function () {
|
|
|
2093
2277
|
}, [_vm._v("-")])]);
|
|
2094
2278
|
};
|
|
2095
2279
|
|
|
2096
|
-
var __vue_staticRenderFns__$
|
|
2280
|
+
var __vue_staticRenderFns__$8 = [];
|
|
2097
2281
|
/* style */
|
|
2098
2282
|
|
|
2099
|
-
const __vue_inject_styles__$
|
|
2283
|
+
const __vue_inject_styles__$8 = undefined;
|
|
2100
2284
|
/* scoped */
|
|
2101
2285
|
|
|
2102
|
-
const __vue_scope_id__$
|
|
2286
|
+
const __vue_scope_id__$8 = undefined;
|
|
2103
2287
|
/* module identifier */
|
|
2104
2288
|
|
|
2105
|
-
const __vue_module_identifier__$
|
|
2289
|
+
const __vue_module_identifier__$8 = undefined;
|
|
2106
2290
|
/* functional template */
|
|
2107
2291
|
|
|
2108
|
-
const __vue_is_functional_template__$
|
|
2292
|
+
const __vue_is_functional_template__$8 = false;
|
|
2109
2293
|
/* style inject */
|
|
2110
2294
|
|
|
2111
2295
|
/* style inject SSR */
|
|
2112
2296
|
|
|
2113
2297
|
/* style inject shadow dom */
|
|
2114
2298
|
|
|
2115
|
-
const __vue_component__$
|
|
2116
|
-
render: __vue_render__$
|
|
2117
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2118
|
-
}, __vue_inject_styles__$
|
|
2299
|
+
const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
|
|
2300
|
+
render: __vue_render__$8,
|
|
2301
|
+
staticRenderFns: __vue_staticRenderFns__$8
|
|
2302
|
+
}, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
|
|
2119
2303
|
|
|
2120
2304
|
//
|
|
2121
|
-
var script$
|
|
2305
|
+
var script$7 = {
|
|
2122
2306
|
name: 'MapFloors',
|
|
2123
2307
|
props: {
|
|
2124
2308
|
showPOICount: {
|
|
@@ -2141,10 +2325,10 @@ var script$8 = {
|
|
|
2141
2325
|
};
|
|
2142
2326
|
|
|
2143
2327
|
/* script */
|
|
2144
|
-
const __vue_script__$
|
|
2328
|
+
const __vue_script__$7 = script$7;
|
|
2145
2329
|
/* template */
|
|
2146
2330
|
|
|
2147
|
-
var __vue_render__$
|
|
2331
|
+
var __vue_render__$7 = function () {
|
|
2148
2332
|
var _vm = this;
|
|
2149
2333
|
|
|
2150
2334
|
var _h = _vm.$createElement;
|
|
@@ -2175,211 +2359,13 @@ var __vue_render__$8 = function () {
|
|
|
2175
2359
|
}), 0)]);
|
|
2176
2360
|
};
|
|
2177
2361
|
|
|
2178
|
-
var __vue_staticRenderFns__$8 = [];
|
|
2179
|
-
/* style */
|
|
2180
|
-
|
|
2181
|
-
const __vue_inject_styles__$8 = function (inject) {
|
|
2182
|
-
if (!inject) return;
|
|
2183
|
-
inject("data-v-59428f73_0", {
|
|
2184
|
-
source: ".map-floors[data-v-59428f73]{display:flex;flex-direction:column;justify-content:flex-end}.map-floors .item[data-v-59428f73]{border:none;text-overflow:ellipsis;position:relative;text-align:center;margin-left:auto;overflow:hidden}",
|
|
2185
|
-
map: undefined,
|
|
2186
|
-
media: undefined
|
|
2187
|
-
});
|
|
2188
|
-
};
|
|
2189
|
-
/* scoped */
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
const __vue_scope_id__$8 = "data-v-59428f73";
|
|
2193
|
-
/* module identifier */
|
|
2194
|
-
|
|
2195
|
-
const __vue_module_identifier__$8 = undefined;
|
|
2196
|
-
/* functional template */
|
|
2197
|
-
|
|
2198
|
-
const __vue_is_functional_template__$8 = false;
|
|
2199
|
-
/* style inject SSR */
|
|
2200
|
-
|
|
2201
|
-
/* style inject shadow dom */
|
|
2202
|
-
|
|
2203
|
-
const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
|
|
2204
|
-
render: __vue_render__$8,
|
|
2205
|
-
staticRenderFns: __vue_staticRenderFns__$8
|
|
2206
|
-
}, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, createInjector, undefined, undefined);
|
|
2207
|
-
|
|
2208
|
-
//
|
|
2209
|
-
var script$7 = {
|
|
2210
|
-
name: "POI",
|
|
2211
|
-
computed: { ...mapState(['language'])
|
|
2212
|
-
},
|
|
2213
|
-
props: {
|
|
2214
|
-
poi: {
|
|
2215
|
-
type: Object,
|
|
2216
|
-
default: null
|
|
2217
|
-
},
|
|
2218
|
-
showLogo: {
|
|
2219
|
-
type: Boolean,
|
|
2220
|
-
default: false
|
|
2221
|
-
},
|
|
2222
|
-
showName: {
|
|
2223
|
-
type: Boolean,
|
|
2224
|
-
default: true
|
|
2225
|
-
},
|
|
2226
|
-
showPathButton: {
|
|
2227
|
-
type: Boolean,
|
|
2228
|
-
default: false
|
|
2229
|
-
},
|
|
2230
|
-
showDescription: {
|
|
2231
|
-
type: Boolean,
|
|
2232
|
-
default: false
|
|
2233
|
-
},
|
|
2234
|
-
showRoomID: {
|
|
2235
|
-
type: Boolean,
|
|
2236
|
-
default: false
|
|
2237
|
-
},
|
|
2238
|
-
showFloor: {
|
|
2239
|
-
type: Boolean,
|
|
2240
|
-
default: false
|
|
2241
|
-
}
|
|
2242
|
-
},
|
|
2243
|
-
watch: {
|
|
2244
|
-
language() {
|
|
2245
|
-
if (wayfinder) {
|
|
2246
|
-
this.show_path = this.$wayfinder.translator.get('show_path');
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
|
|
2250
|
-
},
|
|
2251
|
-
methods: {
|
|
2252
|
-
update(id) {
|
|
2253
|
-
/* global wayfinder window */
|
|
2254
|
-
if (wayfinder.pois[id]) {
|
|
2255
|
-
this.poi = Object.freeze(wayfinder.pois[id]);
|
|
2256
|
-
this.language = wayfinder.getLanguage();
|
|
2257
|
-
this.$emit('titleChanged', this.poi.getName(wayfinder.getLanguage()));
|
|
2258
|
-
this.description = this.poi.getDescription(wayfinder.getLanguage()) ? this.poi.getDescription(wayfinder.getLanguage()) : '';
|
|
2259
|
-
|
|
2260
|
-
if (this.poi.shop_logo) {
|
|
2261
|
-
var scope = this;
|
|
2262
|
-
window.requestAnimationFrame(function () {
|
|
2263
|
-
scope.$app.getImage(scope.poi.shop_logo).then(function (image) {
|
|
2264
|
-
scope.logo = image.url;
|
|
2265
|
-
});
|
|
2266
|
-
});
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
},
|
|
2270
|
-
|
|
2271
|
-
showPath() {
|
|
2272
|
-
if (this.poi) {
|
|
2273
|
-
this.$emit('showPath', this.poi);
|
|
2274
|
-
}
|
|
2275
|
-
},
|
|
2276
|
-
|
|
2277
|
-
open(type) {
|
|
2278
|
-
if (type && this.poi[type]) {
|
|
2279
|
-
if (type === 'shop_email') {
|
|
2280
|
-
window.open('mailto:' + this.poi[type], '_system');
|
|
2281
|
-
} else if (type === 'shop_phone') {
|
|
2282
|
-
window.open('tel:' + this.poi[type], '_system');
|
|
2283
|
-
} else {
|
|
2284
|
-
window.open(this.poi[type], '_system');
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
},
|
|
2288
|
-
|
|
2289
|
-
getImage() {
|
|
2290
|
-
if (this.poi.getBackgroundUrl()) return 'url("' + this.poi.getBackgroundUrl() + '")';else if (this.poi.getIconUrl()) {
|
|
2291
|
-
return 'url("' + this.poi.getIconUrl() + '")';
|
|
2292
|
-
} else {
|
|
2293
|
-
return false;
|
|
2294
|
-
}
|
|
2295
|
-
},
|
|
2296
|
-
|
|
2297
|
-
isImage() {
|
|
2298
|
-
if (this.poi.getBackgroundUrl()) return "image-background";else if (this.poi.getIconUrl()) return "image-logo";else return "image-none";
|
|
2299
|
-
},
|
|
2300
|
-
|
|
2301
|
-
truncate(str, len) {
|
|
2302
|
-
if (str && str.length > len) {
|
|
2303
|
-
return str.substring(0, len) + '...';
|
|
2304
|
-
} else {
|
|
2305
|
-
return str;
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
|
-
},
|
|
2310
|
-
data: function () {
|
|
2311
|
-
return {
|
|
2312
|
-
show_path: 'Show Path'
|
|
2313
|
-
};
|
|
2314
|
-
}
|
|
2315
|
-
};
|
|
2316
|
-
|
|
2317
|
-
/* script */
|
|
2318
|
-
const __vue_script__$7 = script$7;
|
|
2319
|
-
/* template */
|
|
2320
|
-
|
|
2321
|
-
var __vue_render__$7 = function () {
|
|
2322
|
-
var _vm = this;
|
|
2323
|
-
|
|
2324
|
-
var _h = _vm.$createElement;
|
|
2325
|
-
|
|
2326
|
-
var _c = _vm._self._c || _h;
|
|
2327
|
-
|
|
2328
|
-
return _vm.poi ? _c('div', {
|
|
2329
|
-
staticClass: "poi"
|
|
2330
|
-
}, [_vm.showLogo ? _c('div', {
|
|
2331
|
-
staticClass: "poi-image",
|
|
2332
|
-
class: [_vm.isImage()],
|
|
2333
|
-
style: {
|
|
2334
|
-
'background-image': _vm.getImage()
|
|
2335
|
-
}
|
|
2336
|
-
}) : _vm._e(), _vm._v(" "), _vm.showName ? _c('div', {
|
|
2337
|
-
staticClass: "poi-name",
|
|
2338
|
-
domProps: {
|
|
2339
|
-
"innerHTML": _vm._s(_vm.poi.getName(_vm.language) || 'POI')
|
|
2340
|
-
}
|
|
2341
|
-
}) : _vm._e(), _vm._v(" "), _vm.showPathButton ? _c('div', {
|
|
2342
|
-
directives: [{
|
|
2343
|
-
name: "touch",
|
|
2344
|
-
rawName: "v-touch:tap",
|
|
2345
|
-
value: _vm.showPath,
|
|
2346
|
-
expression: "showPath",
|
|
2347
|
-
arg: "tap"
|
|
2348
|
-
}],
|
|
2349
|
-
staticClass: "show-path"
|
|
2350
|
-
}, [_c('button', {
|
|
2351
|
-
staticClass: "button secondary round button-small"
|
|
2352
|
-
}, [_c('span', {
|
|
2353
|
-
attrs: {
|
|
2354
|
-
"data-translation-element": "show_path"
|
|
2355
|
-
}
|
|
2356
|
-
}, [_vm._v(_vm._s(_vm.show_path))]), _vm._v(" "), _c('i', {
|
|
2357
|
-
staticClass: "icon icon-pin"
|
|
2358
|
-
})])]) : _vm._e(), _vm._v(" "), _vm.showDescription ? _c('div', {
|
|
2359
|
-
staticClass: "poi-description",
|
|
2360
|
-
domProps: {
|
|
2361
|
-
"innerHTML": _vm._s(_vm.poi.getDescription(_vm.language) || '')
|
|
2362
|
-
}
|
|
2363
|
-
}) : _vm._e(), _vm._v(" "), _vm.showRoomID ? _c('div', {
|
|
2364
|
-
staticClass: "poi-description",
|
|
2365
|
-
domProps: {
|
|
2366
|
-
"innerHTML": _vm._s(_vm.poi.room_id || '')
|
|
2367
|
-
}
|
|
2368
|
-
}) : _vm._e(), _vm._v(" "), _vm.showFloor && _vm.poi.getFloor() ? _c('div', {
|
|
2369
|
-
staticClass: "poi-floor",
|
|
2370
|
-
domProps: {
|
|
2371
|
-
"innerHTML": _vm._s(_vm.poi.getFloor().getName(_vm.language) || '')
|
|
2372
|
-
}
|
|
2373
|
-
}) : _vm._e()]) : _vm._e();
|
|
2374
|
-
};
|
|
2375
|
-
|
|
2376
2362
|
var __vue_staticRenderFns__$7 = [];
|
|
2377
2363
|
/* style */
|
|
2378
2364
|
|
|
2379
2365
|
const __vue_inject_styles__$7 = function (inject) {
|
|
2380
2366
|
if (!inject) return;
|
|
2381
|
-
inject("data-v-
|
|
2382
|
-
source: ".
|
|
2367
|
+
inject("data-v-59428f73_0", {
|
|
2368
|
+
source: ".map-floors[data-v-59428f73]{display:flex;flex-direction:column;justify-content:flex-end}.map-floors .item[data-v-59428f73]{border:none;text-overflow:ellipsis;position:relative;text-align:center;margin-left:auto;overflow:hidden}",
|
|
2383
2369
|
map: undefined,
|
|
2384
2370
|
media: undefined
|
|
2385
2371
|
});
|
|
@@ -2387,7 +2373,7 @@ const __vue_inject_styles__$7 = function (inject) {
|
|
|
2387
2373
|
/* scoped */
|
|
2388
2374
|
|
|
2389
2375
|
|
|
2390
|
-
const __vue_scope_id__$7 = "data-v-
|
|
2376
|
+
const __vue_scope_id__$7 = "data-v-59428f73";
|
|
2391
2377
|
/* module identifier */
|
|
2392
2378
|
|
|
2393
2379
|
const __vue_module_identifier__$7 = undefined;
|
|
@@ -2407,7 +2393,7 @@ const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
|
|
|
2407
2393
|
var script$6 = {
|
|
2408
2394
|
name: 'FilteredMenu',
|
|
2409
2395
|
components: {
|
|
2410
|
-
POI: __vue_component__$
|
|
2396
|
+
POI: __vue_component__$f
|
|
2411
2397
|
},
|
|
2412
2398
|
|
|
2413
2399
|
data() {
|
|
@@ -2574,7 +2560,7 @@ var script$5 = {
|
|
|
2574
2560
|
name: 'Search',
|
|
2575
2561
|
components: {
|
|
2576
2562
|
OSK: osk_common,
|
|
2577
|
-
POI: __vue_component__$
|
|
2563
|
+
POI: __vue_component__$f
|
|
2578
2564
|
},
|
|
2579
2565
|
computed: { ...mapState(['language', 'reset'])
|
|
2580
2566
|
},
|
|
@@ -2653,7 +2639,7 @@ var script$5 = {
|
|
|
2653
2639
|
this.results = Object.freeze(Object.assign({}, results));
|
|
2654
2640
|
|
|
2655
2641
|
if (keyword.length > 1) {
|
|
2656
|
-
if (this.results.length > 0) {
|
|
2642
|
+
if (Object.values(this.results).length > 0) {
|
|
2657
2643
|
this.$wayfinder.statistics.onSearch(keyword, "successful");
|
|
2658
2644
|
} else {
|
|
2659
2645
|
this.$wayfinder.statistics.onSearch(keyword, "unsuccessful");
|
|
@@ -2820,7 +2806,7 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
2820
2806
|
|
|
2821
2807
|
const __vue_inject_styles__$5 = function (inject) {
|
|
2822
2808
|
if (!inject) return;
|
|
2823
|
-
inject("data-v-
|
|
2809
|
+
inject("data-v-7d8eb55c_0", {
|
|
2824
2810
|
source: ".search .close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:cc='http://creativecommons.org/ns%23' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.search .results{overflow:hidden}.search .search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.search .search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.search .keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.search .keyboard .keyboard-row{margin:auto;display:flex}.search .keyboard .keyboard-key{text-align:center;width:4rem;height:4rem;font-size:1.8rem;line-height:4rem;overflow:hidden;user-select:none;margin-right:.5rem;margin-bottom:.5rem}.search .keyboard .keyboard-key:last-child{margin-right:0}.search .keyboard .keyboard-key:active{background-color:#00f}.search .keyboard .keyboard-key2x{width:8rem}.search .keyboard .keyboard-key3x{width:12rem}.search .keyboard .keyboard-key_spacebar{width:24rem}",
|
|
2825
2811
|
map: undefined,
|
|
2826
2812
|
media: undefined
|
|
@@ -6358,6 +6344,14 @@ var script$1 = {
|
|
|
6358
6344
|
this.scroll = new BScroll(this.$refs.area, this.scrollOptions);
|
|
6359
6345
|
});
|
|
6360
6346
|
});
|
|
6347
|
+
},
|
|
6348
|
+
|
|
6349
|
+
reset() {
|
|
6350
|
+
this.$nextTick(() => {
|
|
6351
|
+
if (this.scroll) {
|
|
6352
|
+
this.scroll.refresh();
|
|
6353
|
+
}
|
|
6354
|
+
});
|
|
6361
6355
|
}
|
|
6362
6356
|
|
|
6363
6357
|
}
|
|
@@ -6385,8 +6379,8 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
6385
6379
|
|
|
6386
6380
|
const __vue_inject_styles__$1 = function (inject) {
|
|
6387
6381
|
if (!inject) return;
|
|
6388
|
-
inject("data-v-
|
|
6389
|
-
source: ".scrollable[data-v-
|
|
6382
|
+
inject("data-v-741c56d1_0", {
|
|
6383
|
+
source: ".scrollable[data-v-741c56d1]{overflow:hidden;width:100%;height:100%}",
|
|
6390
6384
|
map: undefined,
|
|
6391
6385
|
media: undefined
|
|
6392
6386
|
});
|
|
@@ -6394,7 +6388,7 @@ const __vue_inject_styles__$1 = function (inject) {
|
|
|
6394
6388
|
/* scoped */
|
|
6395
6389
|
|
|
6396
6390
|
|
|
6397
|
-
const __vue_scope_id__$1 = "data-v-
|
|
6391
|
+
const __vue_scope_id__$1 = "data-v-741c56d1";
|
|
6398
6392
|
/* module identifier */
|
|
6399
6393
|
|
|
6400
6394
|
const __vue_module_identifier__$1 = undefined;
|
|
@@ -6823,13 +6817,13 @@ var store = new index.Store({
|
|
|
6823
6817
|
var components = /*#__PURE__*/Object.freeze({
|
|
6824
6818
|
__proto__: null,
|
|
6825
6819
|
WFMap: __vue_component__$g,
|
|
6826
|
-
WFAZMenu: __vue_component__$
|
|
6827
|
-
WFFlagsMenu: __vue_component__$
|
|
6828
|
-
WFGroupsMenu: __vue_component__$
|
|
6829
|
-
WFBuildingLogo: __vue_component__$
|
|
6830
|
-
WFShortcutsMenu: __vue_component__$
|
|
6831
|
-
WFZoomMenu: __vue_component__$
|
|
6832
|
-
WFFloorsMenu: __vue_component__$
|
|
6820
|
+
WFAZMenu: __vue_component__$e,
|
|
6821
|
+
WFFlagsMenu: __vue_component__$d,
|
|
6822
|
+
WFGroupsMenu: __vue_component__$c,
|
|
6823
|
+
WFBuildingLogo: __vue_component__$b,
|
|
6824
|
+
WFShortcutsMenu: __vue_component__$9,
|
|
6825
|
+
WFZoomMenu: __vue_component__$8,
|
|
6826
|
+
WFFloorsMenu: __vue_component__$7,
|
|
6833
6827
|
WFFilteredMenu: __vue_component__$6,
|
|
6834
6828
|
WFSearch: __vue_component__$5,
|
|
6835
6829
|
WFTabs: __vue_component__$4,
|
|
@@ -6837,7 +6831,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
6837
6831
|
WFTabButtons: __vue_component__$2,
|
|
6838
6832
|
WFScrollableArea: __vue_component__$1,
|
|
6839
6833
|
WFBanner: __vue_component__,
|
|
6840
|
-
WFPOI: __vue_component__$
|
|
6834
|
+
WFPOI: __vue_component__$f,
|
|
6841
6835
|
WFStore: store
|
|
6842
6836
|
});
|
|
6843
6837
|
|
|
@@ -6850,4 +6844,4 @@ const install = function installWayfinderVueComponents(Vue) {
|
|
|
6850
6844
|
}; // Create module definition for Vue.use()
|
|
6851
6845
|
|
|
6852
6846
|
export default install;
|
|
6853
|
-
export { __vue_component__$
|
|
6847
|
+
export { __vue_component__$e as WFAZMenu, __vue_component__ as WFBanner, __vue_component__$b as WFBuildingLogo, __vue_component__$6 as WFFilteredMenu, __vue_component__$d as WFFlagsMenu, __vue_component__$7 as WFFloorsMenu, __vue_component__$c as WFGroupsMenu, __vue_component__$g as WFMap, __vue_component__$f as WFPOI, __vue_component__$1 as WFScrollableArea, __vue_component__$5 as WFSearch, __vue_component__$9 as WFShortcutsMenu, store as WFStore, __vue_component__$3 as WFTab, __vue_component__$2 as WFTabButtons, __vue_component__$4 as WFTabs, __vue_component__$8 as WFZoomMenu };
|