@3dwayfinder/wayfinder-vue-components 1.0.69 → 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.
@@ -1405,16 +1405,208 @@ const __vue_component__$g = /*#__PURE__*/normalizeComponent({
1405
1405
 
1406
1406
  //
1407
1407
  var script$f = {
1408
- name: 'AZMenu',
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()) : '';
1409
1457
 
1410
- mounted() {},
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
+ },
1411
1468
 
1412
- data() {
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 () {
1413
1509
  return {
1414
- height: '100rem'
1510
+ show_path: 'Show Path'
1415
1511
  };
1416
- },
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 */
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 */
1417
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
+ },
1418
1610
  computed: { ...mapState(['pois', 'language', 'currentPOI']),
1419
1611
 
1420
1612
  sortedPOIs() {
@@ -1433,27 +1625,6 @@ var script$f = {
1433
1625
  }
1434
1626
 
1435
1627
  },
1436
-
1437
- updated() {
1438
- var _height = 0;
1439
-
1440
- var _poi;
1441
-
1442
- for (var f in this.floors) {
1443
- _height += 2.5;
1444
-
1445
- for (var p in this.floors[f].pois) {
1446
- _poi = this.floors[f].pois[p];
1447
-
1448
- if (_poi && _poi.showInMenu) {
1449
- _height += 2;
1450
- }
1451
- }
1452
- }
1453
-
1454
- this.height = _height + 'rem';
1455
- },
1456
-
1457
1628
  methods: {
1458
1629
  onClick(poi) {
1459
1630
  return () => {
@@ -1466,10 +1637,10 @@ var script$f = {
1466
1637
  };
1467
1638
 
1468
1639
  /* script */
1469
- const __vue_script__$f = script$f;
1640
+ const __vue_script__$e = script$e;
1470
1641
  /* template */
1471
1642
 
1472
- var __vue_render__$f = function () {
1643
+ var __vue_render__$e = function () {
1473
1644
  var _vm = this;
1474
1645
 
1475
1646
  var _h = _vm.$createElement;
@@ -1517,32 +1688,32 @@ var __vue_render__$f = function () {
1517
1688
  }), 0)]);
1518
1689
  };
1519
1690
 
1520
- var __vue_staticRenderFns__$f = [];
1691
+ var __vue_staticRenderFns__$e = [];
1521
1692
  /* style */
1522
1693
 
1523
- const __vue_inject_styles__$f = undefined;
1694
+ const __vue_inject_styles__$e = undefined;
1524
1695
  /* scoped */
1525
1696
 
1526
- const __vue_scope_id__$f = "data-v-61a7d532";
1697
+ const __vue_scope_id__$e = "data-v-60058fca";
1527
1698
  /* module identifier */
1528
1699
 
1529
- const __vue_module_identifier__$f = undefined;
1700
+ const __vue_module_identifier__$e = undefined;
1530
1701
  /* functional template */
1531
1702
 
1532
- const __vue_is_functional_template__$f = false;
1703
+ const __vue_is_functional_template__$e = false;
1533
1704
  /* style inject */
1534
1705
 
1535
1706
  /* style inject SSR */
1536
1707
 
1537
1708
  /* style inject shadow dom */
1538
1709
 
1539
- const __vue_component__$f = /*#__PURE__*/normalizeComponent({
1540
- render: __vue_render__$f,
1541
- staticRenderFns: __vue_staticRenderFns__$f
1542
- }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, undefined, undefined);
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);
1543
1714
 
1544
1715
  //
1545
- var script$e = {
1716
+ var script$d = {
1546
1717
  name: 'FlagsMenu',
1547
1718
  computed: { ...mapState(['languages', 'language', 'reset'])
1548
1719
  },
@@ -1585,10 +1756,10 @@ var script$e = {
1585
1756
  };
1586
1757
 
1587
1758
  /* script */
1588
- const __vue_script__$e = script$e;
1759
+ const __vue_script__$d = script$d;
1589
1760
  /* template */
1590
1761
 
1591
- var __vue_render__$e = function () {
1762
+ var __vue_render__$d = function () {
1592
1763
  var _vm = this;
1593
1764
 
1594
1765
  var _h = _vm.$createElement;
@@ -1625,10 +1796,10 @@ var __vue_render__$e = function () {
1625
1796
  }), 0)]);
1626
1797
  };
1627
1798
 
1628
- var __vue_staticRenderFns__$e = [];
1799
+ var __vue_staticRenderFns__$d = [];
1629
1800
  /* style */
1630
1801
 
1631
- const __vue_inject_styles__$e = function (inject) {
1802
+ const __vue_inject_styles__$d = function (inject) {
1632
1803
  if (!inject) return;
1633
1804
  inject("data-v-7fd08900_0", {
1634
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}",
@@ -1639,24 +1810,24 @@ const __vue_inject_styles__$e = function (inject) {
1639
1810
  /* scoped */
1640
1811
 
1641
1812
 
1642
- const __vue_scope_id__$e = "data-v-7fd08900";
1813
+ const __vue_scope_id__$d = "data-v-7fd08900";
1643
1814
  /* module identifier */
1644
1815
 
1645
- const __vue_module_identifier__$e = undefined;
1816
+ const __vue_module_identifier__$d = undefined;
1646
1817
  /* functional template */
1647
1818
 
1648
- const __vue_is_functional_template__$e = false;
1819
+ const __vue_is_functional_template__$d = false;
1649
1820
  /* style inject SSR */
1650
1821
 
1651
1822
  /* style inject shadow dom */
1652
1823
 
1653
- const __vue_component__$e = /*#__PURE__*/normalizeComponent({
1654
- render: __vue_render__$e,
1655
- staticRenderFns: __vue_staticRenderFns__$e
1656
- }, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
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);
1657
1828
 
1658
1829
  //
1659
- var script$d = {
1830
+ var script$c = {
1660
1831
  name: 'GroupsMenu',
1661
1832
  props: {
1662
1833
  showPOICount: {
@@ -1719,10 +1890,10 @@ var script$d = {
1719
1890
  };
1720
1891
 
1721
1892
  /* script */
1722
- const __vue_script__$d = script$d;
1893
+ const __vue_script__$c = script$c;
1723
1894
  /* template */
1724
1895
 
1725
- var __vue_render__$d = function () {
1896
+ var __vue_render__$c = function () {
1726
1897
  var _vm = this;
1727
1898
 
1728
1899
  var _h = _vm.$createElement;
@@ -1758,10 +1929,10 @@ var __vue_render__$d = function () {
1758
1929
  }), 0)]);
1759
1930
  };
1760
1931
 
1761
- var __vue_staticRenderFns__$d = [];
1932
+ var __vue_staticRenderFns__$c = [];
1762
1933
  /* style */
1763
1934
 
1764
- const __vue_inject_styles__$d = function (inject) {
1935
+ const __vue_inject_styles__$c = function (inject) {
1765
1936
  if (!inject) return;
1766
1937
  inject("data-v-891e32da_0", {
1767
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}",
@@ -1772,24 +1943,24 @@ const __vue_inject_styles__$d = function (inject) {
1772
1943
  /* scoped */
1773
1944
 
1774
1945
 
1775
- const __vue_scope_id__$d = "data-v-891e32da";
1946
+ const __vue_scope_id__$c = "data-v-891e32da";
1776
1947
  /* module identifier */
1777
1948
 
1778
- const __vue_module_identifier__$d = undefined;
1949
+ const __vue_module_identifier__$c = undefined;
1779
1950
  /* functional template */
1780
1951
 
1781
- const __vue_is_functional_template__$d = false;
1952
+ const __vue_is_functional_template__$c = false;
1782
1953
  /* style inject SSR */
1783
1954
 
1784
1955
  /* style inject shadow dom */
1785
1956
 
1786
- const __vue_component__$d = /*#__PURE__*/normalizeComponent({
1787
- render: __vue_render__$d,
1788
- staticRenderFns: __vue_staticRenderFns__$d
1789
- }, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
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);
1790
1961
 
1791
1962
  //
1792
- var script$c = {
1963
+ var script$b = {
1793
1964
  name: 'BuildingLogo',
1794
1965
  computed: { ...mapState(['building'])
1795
1966
  },
@@ -1804,10 +1975,10 @@ var script$c = {
1804
1975
  };
1805
1976
 
1806
1977
  /* script */
1807
- const __vue_script__$c = script$c;
1978
+ const __vue_script__$b = script$b;
1808
1979
  /* template */
1809
1980
 
1810
- var __vue_render__$c = function () {
1981
+ var __vue_render__$b = function () {
1811
1982
  var _vm = this;
1812
1983
 
1813
1984
  var _h = _vm.$createElement;
@@ -1822,10 +1993,10 @@ var __vue_render__$c = function () {
1822
1993
  });
1823
1994
  };
1824
1995
 
1825
- var __vue_staticRenderFns__$c = [];
1996
+ var __vue_staticRenderFns__$b = [];
1826
1997
  /* style */
1827
1998
 
1828
- const __vue_inject_styles__$c = function (inject) {
1999
+ const __vue_inject_styles__$b = function (inject) {
1829
2000
  if (!inject) return;
1830
2001
  inject("data-v-992e7498_0", {
1831
2002
  source: ".building-logo[data-v-992e7498]{background-size:contain;background-repeat:no-repeat;background-position:50%}",
@@ -1836,24 +2007,24 @@ const __vue_inject_styles__$c = function (inject) {
1836
2007
  /* scoped */
1837
2008
 
1838
2009
 
1839
- const __vue_scope_id__$c = "data-v-992e7498";
2010
+ const __vue_scope_id__$b = "data-v-992e7498";
1840
2011
  /* module identifier */
1841
2012
 
1842
- const __vue_module_identifier__$c = undefined;
2013
+ const __vue_module_identifier__$b = undefined;
1843
2014
  /* functional template */
1844
2015
 
1845
- const __vue_is_functional_template__$c = false;
2016
+ const __vue_is_functional_template__$b = false;
1846
2017
  /* style inject SSR */
1847
2018
 
1848
2019
  /* style inject shadow dom */
1849
2020
 
1850
- const __vue_component__$c = /*#__PURE__*/normalizeComponent({
1851
- render: __vue_render__$c,
1852
- staticRenderFns: __vue_staticRenderFns__$c
1853
- }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
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);
1854
2025
 
1855
2026
  //
1856
- var script$b = {
2027
+ var script$a = {
1857
2028
  name: 'BuildingLogo',
1858
2029
  computed: { //yahLogo
1859
2030
  ...mapState(['yahLogo', 'language'])
@@ -1867,10 +2038,10 @@ var script$b = {
1867
2038
  };
1868
2039
 
1869
2040
  /* script */
1870
- const __vue_script__$b = script$b;
2041
+ const __vue_script__$a = script$a;
1871
2042
  /* template */
1872
2043
 
1873
- var __vue_render__$b = function () {
2044
+ var __vue_render__$a = function () {
1874
2045
  var _vm = this;
1875
2046
 
1876
2047
  var _h = _vm.$createElement;
@@ -1893,10 +2064,10 @@ var __vue_render__$b = function () {
1893
2064
  }, [_vm._v("\n\tYAH\n")]);
1894
2065
  };
1895
2066
 
1896
- var __vue_staticRenderFns__$b = [];
2067
+ var __vue_staticRenderFns__$a = [];
1897
2068
  /* style */
1898
2069
 
1899
- const __vue_inject_styles__$b = function (inject) {
2070
+ const __vue_inject_styles__$a = function (inject) {
1900
2071
  if (!inject) return;
1901
2072
  inject("data-v-2724c4e6_0", {
1902
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}",
@@ -1907,27 +2078,27 @@ const __vue_inject_styles__$b = function (inject) {
1907
2078
  /* scoped */
1908
2079
 
1909
2080
 
1910
- const __vue_scope_id__$b = "data-v-2724c4e6";
2081
+ const __vue_scope_id__$a = "data-v-2724c4e6";
1911
2082
  /* module identifier */
1912
2083
 
1913
- const __vue_module_identifier__$b = undefined;
2084
+ const __vue_module_identifier__$a = undefined;
1914
2085
  /* functional template */
1915
2086
 
1916
- const __vue_is_functional_template__$b = false;
2087
+ const __vue_is_functional_template__$a = false;
1917
2088
  /* style inject SSR */
1918
2089
 
1919
2090
  /* style inject shadow dom */
1920
2091
 
1921
- const __vue_component__$b = /*#__PURE__*/normalizeComponent({
1922
- render: __vue_render__$b,
1923
- staticRenderFns: __vue_staticRenderFns__$b
1924
- }, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, createInjector, undefined, undefined);
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);
1925
2096
 
1926
2097
  //
1927
- var script$a = {
2098
+ var script$9 = {
1928
2099
  name: 'ShortcutsMenu',
1929
2100
  components: {
1930
- YAH: __vue_component__$b
2101
+ YAH: __vue_component__$a
1931
2102
  },
1932
2103
  props: {
1933
2104
  showLabel: {
@@ -1998,10 +2169,10 @@ var script$a = {
1998
2169
  };
1999
2170
 
2000
2171
  /* script */
2001
- const __vue_script__$a = script$a;
2172
+ const __vue_script__$9 = script$9;
2002
2173
  /* template */
2003
2174
 
2004
- var __vue_render__$a = function () {
2175
+ var __vue_render__$9 = function () {
2005
2176
  var _vm = this;
2006
2177
 
2007
2178
  var _h = _vm.$createElement;
@@ -2027,10 +2198,10 @@ var __vue_render__$a = function () {
2027
2198
  }), 0);
2028
2199
  };
2029
2200
 
2030
- var __vue_staticRenderFns__$a = [];
2201
+ var __vue_staticRenderFns__$9 = [];
2031
2202
  /* style */
2032
2203
 
2033
- const __vue_inject_styles__$a = function (inject) {
2204
+ const __vue_inject_styles__$9 = function (inject) {
2034
2205
  if (!inject) return;
2035
2206
  inject("data-v-0f461fc8_0", {
2036
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}",
@@ -2041,21 +2212,21 @@ const __vue_inject_styles__$a = function (inject) {
2041
2212
  /* scoped */
2042
2213
 
2043
2214
 
2044
- const __vue_scope_id__$a = "data-v-0f461fc8";
2215
+ const __vue_scope_id__$9 = "data-v-0f461fc8";
2045
2216
  /* module identifier */
2046
2217
 
2047
- const __vue_module_identifier__$a = undefined;
2218
+ const __vue_module_identifier__$9 = undefined;
2048
2219
  /* functional template */
2049
2220
 
2050
- const __vue_is_functional_template__$a = false;
2221
+ const __vue_is_functional_template__$9 = false;
2051
2222
  /* style inject SSR */
2052
2223
 
2053
2224
  /* style inject shadow dom */
2054
2225
 
2055
- const __vue_component__$a = /*#__PURE__*/normalizeComponent({
2056
- render: __vue_render__$a,
2057
- staticRenderFns: __vue_staticRenderFns__$a
2058
- }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, createInjector, undefined, undefined);
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);
2059
2230
 
2060
2231
  //
2061
2232
  //
@@ -2063,7 +2234,7 @@ const __vue_component__$a = /*#__PURE__*/normalizeComponent({
2063
2234
  //
2064
2235
  //
2065
2236
  //
2066
- var script$9 = {
2237
+ var script$8 = {
2067
2238
  methods: {
2068
2239
  zoomIn() {
2069
2240
  this.$wayfinder.zoomIn();
@@ -2077,10 +2248,10 @@ var script$9 = {
2077
2248
  };
2078
2249
 
2079
2250
  /* script */
2080
- const __vue_script__$9 = script$9;
2251
+ const __vue_script__$8 = script$8;
2081
2252
  /* template */
2082
2253
 
2083
- var __vue_render__$9 = function () {
2254
+ var __vue_render__$8 = function () {
2084
2255
  var _vm = this;
2085
2256
 
2086
2257
  var _h = _vm.$createElement;
@@ -2106,32 +2277,32 @@ var __vue_render__$9 = function () {
2106
2277
  }, [_vm._v("-")])]);
2107
2278
  };
2108
2279
 
2109
- var __vue_staticRenderFns__$9 = [];
2280
+ var __vue_staticRenderFns__$8 = [];
2110
2281
  /* style */
2111
2282
 
2112
- const __vue_inject_styles__$9 = undefined;
2283
+ const __vue_inject_styles__$8 = undefined;
2113
2284
  /* scoped */
2114
2285
 
2115
- const __vue_scope_id__$9 = undefined;
2286
+ const __vue_scope_id__$8 = undefined;
2116
2287
  /* module identifier */
2117
2288
 
2118
- const __vue_module_identifier__$9 = undefined;
2289
+ const __vue_module_identifier__$8 = undefined;
2119
2290
  /* functional template */
2120
2291
 
2121
- const __vue_is_functional_template__$9 = false;
2292
+ const __vue_is_functional_template__$8 = false;
2122
2293
  /* style inject */
2123
2294
 
2124
2295
  /* style inject SSR */
2125
2296
 
2126
2297
  /* style inject shadow dom */
2127
2298
 
2128
- const __vue_component__$9 = /*#__PURE__*/normalizeComponent({
2129
- render: __vue_render__$9,
2130
- staticRenderFns: __vue_staticRenderFns__$9
2131
- }, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, undefined, undefined, undefined);
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);
2132
2303
 
2133
2304
  //
2134
- var script$8 = {
2305
+ var script$7 = {
2135
2306
  name: 'MapFloors',
2136
2307
  props: {
2137
2308
  showPOICount: {
@@ -2154,10 +2325,10 @@ var script$8 = {
2154
2325
  };
2155
2326
 
2156
2327
  /* script */
2157
- const __vue_script__$8 = script$8;
2328
+ const __vue_script__$7 = script$7;
2158
2329
  /* template */
2159
2330
 
2160
- var __vue_render__$8 = function () {
2331
+ var __vue_render__$7 = function () {
2161
2332
  var _vm = this;
2162
2333
 
2163
2334
  var _h = _vm.$createElement;
@@ -2188,211 +2359,13 @@ var __vue_render__$8 = function () {
2188
2359
  }), 0)]);
2189
2360
  };
2190
2361
 
2191
- var __vue_staticRenderFns__$8 = [];
2192
- /* style */
2193
-
2194
- const __vue_inject_styles__$8 = function (inject) {
2195
- if (!inject) return;
2196
- inject("data-v-59428f73_0", {
2197
- 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}",
2198
- map: undefined,
2199
- media: undefined
2200
- });
2201
- };
2202
- /* scoped */
2203
-
2204
-
2205
- const __vue_scope_id__$8 = "data-v-59428f73";
2206
- /* module identifier */
2207
-
2208
- const __vue_module_identifier__$8 = undefined;
2209
- /* functional template */
2210
-
2211
- const __vue_is_functional_template__$8 = false;
2212
- /* style inject SSR */
2213
-
2214
- /* style inject shadow dom */
2215
-
2216
- const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
2217
- render: __vue_render__$8,
2218
- staticRenderFns: __vue_staticRenderFns__$8
2219
- }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, createInjector, undefined, undefined);
2220
-
2221
- //
2222
- var script$7 = {
2223
- name: "POI",
2224
- computed: { ...mapState(['language'])
2225
- },
2226
- props: {
2227
- poi: {
2228
- type: Object,
2229
- default: null
2230
- },
2231
- showLogo: {
2232
- type: Boolean,
2233
- default: false
2234
- },
2235
- showName: {
2236
- type: Boolean,
2237
- default: true
2238
- },
2239
- showPathButton: {
2240
- type: Boolean,
2241
- default: false
2242
- },
2243
- showDescription: {
2244
- type: Boolean,
2245
- default: false
2246
- },
2247
- showRoomID: {
2248
- type: Boolean,
2249
- default: false
2250
- },
2251
- showFloor: {
2252
- type: Boolean,
2253
- default: false
2254
- }
2255
- },
2256
- watch: {
2257
- language() {
2258
- if (wayfinder) {
2259
- this.show_path = this.$wayfinder.translator.get('show_path');
2260
- }
2261
- }
2262
-
2263
- },
2264
- methods: {
2265
- update(id) {
2266
- /* global wayfinder window */
2267
- if (wayfinder.pois[id]) {
2268
- this.poi = Object.freeze(wayfinder.pois[id]);
2269
- this.language = wayfinder.getLanguage();
2270
- this.$emit('titleChanged', this.poi.getName(wayfinder.getLanguage()));
2271
- this.description = this.poi.getDescription(wayfinder.getLanguage()) ? this.poi.getDescription(wayfinder.getLanguage()) : '';
2272
-
2273
- if (this.poi.shop_logo) {
2274
- var scope = this;
2275
- window.requestAnimationFrame(function () {
2276
- scope.$app.getImage(scope.poi.shop_logo).then(function (image) {
2277
- scope.logo = image.url;
2278
- });
2279
- });
2280
- }
2281
- }
2282
- },
2283
-
2284
- showPath() {
2285
- if (this.poi) {
2286
- this.$emit('showPath', this.poi);
2287
- }
2288
- },
2289
-
2290
- open(type) {
2291
- if (type && this.poi[type]) {
2292
- if (type === 'shop_email') {
2293
- window.open('mailto:' + this.poi[type], '_system');
2294
- } else if (type === 'shop_phone') {
2295
- window.open('tel:' + this.poi[type], '_system');
2296
- } else {
2297
- window.open(this.poi[type], '_system');
2298
- }
2299
- }
2300
- },
2301
-
2302
- getImage() {
2303
- if (this.poi.getBackgroundUrl()) return 'url("' + this.poi.getBackgroundUrl() + '")';else if (this.poi.getIconUrl()) {
2304
- return 'url("' + this.poi.getIconUrl() + '")';
2305
- } else {
2306
- return false;
2307
- }
2308
- },
2309
-
2310
- isImage() {
2311
- if (this.poi.getBackgroundUrl()) return "image-background";else if (this.poi.getIconUrl()) return "image-logo";else return "image-none";
2312
- },
2313
-
2314
- truncate(str, len) {
2315
- if (str && str.length > len) {
2316
- return str.substring(0, len) + '...';
2317
- } else {
2318
- return str;
2319
- }
2320
- }
2321
-
2322
- },
2323
- data: function () {
2324
- return {
2325
- show_path: 'Show Path'
2326
- };
2327
- }
2328
- };
2329
-
2330
- /* script */
2331
- const __vue_script__$7 = script$7;
2332
- /* template */
2333
-
2334
- var __vue_render__$7 = function () {
2335
- var _vm = this;
2336
-
2337
- var _h = _vm.$createElement;
2338
-
2339
- var _c = _vm._self._c || _h;
2340
-
2341
- return _vm.poi ? _c('div', {
2342
- staticClass: "poi"
2343
- }, [_vm.showLogo ? _c('div', {
2344
- staticClass: "poi-image",
2345
- class: [_vm.isImage()],
2346
- style: {
2347
- 'background-image': _vm.getImage()
2348
- }
2349
- }) : _vm._e(), _vm._v(" "), _vm.showName ? _c('div', {
2350
- staticClass: "poi-name",
2351
- domProps: {
2352
- "innerHTML": _vm._s(_vm.poi.getName(_vm.language) || 'POI')
2353
- }
2354
- }) : _vm._e(), _vm._v(" "), _vm.showPathButton ? _c('div', {
2355
- directives: [{
2356
- name: "touch",
2357
- rawName: "v-touch:tap",
2358
- value: _vm.showPath,
2359
- expression: "showPath",
2360
- arg: "tap"
2361
- }],
2362
- staticClass: "show-path"
2363
- }, [_c('button', {
2364
- staticClass: "button secondary round button-small"
2365
- }, [_c('span', {
2366
- attrs: {
2367
- "data-translation-element": "show_path"
2368
- }
2369
- }, [_vm._v(_vm._s(_vm.show_path))]), _vm._v(" "), _c('i', {
2370
- staticClass: "icon icon-pin"
2371
- })])]) : _vm._e(), _vm._v(" "), _vm.showDescription ? _c('div', {
2372
- staticClass: "poi-description",
2373
- domProps: {
2374
- "innerHTML": _vm._s(_vm.poi.getDescription(_vm.language) || '')
2375
- }
2376
- }) : _vm._e(), _vm._v(" "), _vm.showRoomID ? _c('div', {
2377
- staticClass: "poi-description",
2378
- domProps: {
2379
- "innerHTML": _vm._s(_vm.poi.room_id || '')
2380
- }
2381
- }) : _vm._e(), _vm._v(" "), _vm.showFloor && _vm.poi.getFloor() ? _c('div', {
2382
- staticClass: "poi-floor",
2383
- domProps: {
2384
- "innerHTML": _vm._s(_vm.poi.getFloor().getName(_vm.language) || '')
2385
- }
2386
- }) : _vm._e()]) : _vm._e();
2387
- };
2388
-
2389
2362
  var __vue_staticRenderFns__$7 = [];
2390
2363
  /* style */
2391
2364
 
2392
2365
  const __vue_inject_styles__$7 = function (inject) {
2393
2366
  if (!inject) return;
2394
- inject("data-v-12662bbb_0", {
2395
- 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}",
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}",
2396
2369
  map: undefined,
2397
2370
  media: undefined
2398
2371
  });
@@ -2400,7 +2373,7 @@ const __vue_inject_styles__$7 = function (inject) {
2400
2373
  /* scoped */
2401
2374
 
2402
2375
 
2403
- const __vue_scope_id__$7 = "data-v-12662bbb";
2376
+ const __vue_scope_id__$7 = "data-v-59428f73";
2404
2377
  /* module identifier */
2405
2378
 
2406
2379
  const __vue_module_identifier__$7 = undefined;
@@ -2420,7 +2393,7 @@ const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
2420
2393
  var script$6 = {
2421
2394
  name: 'FilteredMenu',
2422
2395
  components: {
2423
- POI: __vue_component__$7
2396
+ POI: __vue_component__$f
2424
2397
  },
2425
2398
 
2426
2399
  data() {
@@ -2587,7 +2560,7 @@ var script$5 = {
2587
2560
  name: 'Search',
2588
2561
  components: {
2589
2562
  OSK: osk_common,
2590
- POI: __vue_component__$7
2563
+ POI: __vue_component__$f
2591
2564
  },
2592
2565
  computed: { ...mapState(['language', 'reset'])
2593
2566
  },
@@ -6844,13 +6817,13 @@ var store = new index.Store({
6844
6817
  var components = /*#__PURE__*/Object.freeze({
6845
6818
  __proto__: null,
6846
6819
  WFMap: __vue_component__$g,
6847
- WFAZMenu: __vue_component__$f,
6848
- WFFlagsMenu: __vue_component__$e,
6849
- WFGroupsMenu: __vue_component__$d,
6850
- WFBuildingLogo: __vue_component__$c,
6851
- WFShortcutsMenu: __vue_component__$a,
6852
- WFZoomMenu: __vue_component__$9,
6853
- WFFloorsMenu: __vue_component__$8,
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,
6854
6827
  WFFilteredMenu: __vue_component__$6,
6855
6828
  WFSearch: __vue_component__$5,
6856
6829
  WFTabs: __vue_component__$4,
@@ -6858,7 +6831,7 @@ var components = /*#__PURE__*/Object.freeze({
6858
6831
  WFTabButtons: __vue_component__$2,
6859
6832
  WFScrollableArea: __vue_component__$1,
6860
6833
  WFBanner: __vue_component__,
6861
- WFPOI: __vue_component__$7,
6834
+ WFPOI: __vue_component__$f,
6862
6835
  WFStore: store
6863
6836
  });
6864
6837
 
@@ -6871,4 +6844,4 @@ const install = function installWayfinderVueComponents(Vue) {
6871
6844
  }; // Create module definition for Vue.use()
6872
6845
 
6873
6846
  export default install;
6874
- export { __vue_component__$f as WFAZMenu, __vue_component__ as WFBanner, __vue_component__$c as WFBuildingLogo, __vue_component__$6 as WFFilteredMenu, __vue_component__$e as WFFlagsMenu, __vue_component__$8 as WFFloorsMenu, __vue_component__$d as WFGroupsMenu, __vue_component__$g as WFMap, __vue_component__$7 as WFPOI, __vue_component__$1 as WFScrollableArea, __vue_component__$5 as WFSearch, __vue_component__$a as WFShortcutsMenu, store as WFStore, __vue_component__$3 as WFTab, __vue_component__$2 as WFTabButtons, __vue_component__$4 as WFTabs, __vue_component__$9 as WFZoomMenu };
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 };