@3dwayfinder/wayfinder-vue-components 1.2.10 → 1.2.11
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.
|
@@ -2,7 +2,7 @@ import Vue$1 from 'vue';
|
|
|
2
2
|
|
|
3
3
|
//
|
|
4
4
|
var wayfinder$1;
|
|
5
|
-
var script$
|
|
5
|
+
var script$p = {
|
|
6
6
|
name: 'Map',
|
|
7
7
|
props: {
|
|
8
8
|
project: {
|
|
@@ -281,10 +281,10 @@ function addStyle(id, css) {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
/* script */
|
|
284
|
-
const __vue_script__$
|
|
284
|
+
const __vue_script__$p = script$p;
|
|
285
285
|
/* template */
|
|
286
286
|
|
|
287
|
-
var __vue_render__$
|
|
287
|
+
var __vue_render__$p = function () {
|
|
288
288
|
var _vm = this;
|
|
289
289
|
|
|
290
290
|
var _h = _vm.$createElement;
|
|
@@ -314,10 +314,10 @@ var __vue_render__$o = function () {
|
|
|
314
314
|
}, [_vm._v(_vm._s(_vm.pathText))])]);
|
|
315
315
|
};
|
|
316
316
|
|
|
317
|
-
var __vue_staticRenderFns__$
|
|
317
|
+
var __vue_staticRenderFns__$p = [];
|
|
318
318
|
/* style */
|
|
319
319
|
|
|
320
|
-
const __vue_inject_styles__$
|
|
320
|
+
const __vue_inject_styles__$p = function (inject) {
|
|
321
321
|
if (!inject) return;
|
|
322
322
|
inject("data-v-00d2773a_0", {
|
|
323
323
|
source: ".wf-map-container[data-v-00d2773a]{position:relative;width:100%;height:100%}.wf-map-container canvas[data-v-00d2773a]{width:100%;height:100%}.wf-map-container .wf-map-path-text[data-v-00d2773a]{width:30ch;text-align:center;background-color:#fff;position:absolute;bottom:25%;margin:auto;left:50%;margin-left:-15ch;padding:.5em}",
|
|
@@ -328,21 +328,21 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
328
328
|
/* scoped */
|
|
329
329
|
|
|
330
330
|
|
|
331
|
-
const __vue_scope_id__$
|
|
331
|
+
const __vue_scope_id__$p = "data-v-00d2773a";
|
|
332
332
|
/* module identifier */
|
|
333
333
|
|
|
334
|
-
const __vue_module_identifier__$
|
|
334
|
+
const __vue_module_identifier__$p = undefined;
|
|
335
335
|
/* functional template */
|
|
336
336
|
|
|
337
|
-
const __vue_is_functional_template__$
|
|
337
|
+
const __vue_is_functional_template__$p = false;
|
|
338
338
|
/* style inject SSR */
|
|
339
339
|
|
|
340
340
|
/* style inject shadow dom */
|
|
341
341
|
|
|
342
|
-
const __vue_component__$
|
|
343
|
-
render: __vue_render__$
|
|
344
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
345
|
-
}, __vue_inject_styles__$
|
|
342
|
+
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
343
|
+
render: __vue_render__$p,
|
|
344
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
345
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
|
|
346
346
|
|
|
347
347
|
/*!
|
|
348
348
|
* vuex v3.6.2
|
|
@@ -1161,7 +1161,7 @@ function getModuleByNamespace (store, helper, namespace) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
1163
|
//
|
|
1164
|
-
var script$
|
|
1164
|
+
var script$o = {
|
|
1165
1165
|
name: "POI",
|
|
1166
1166
|
computed: { ...mapState('wf', ['language']),
|
|
1167
1167
|
|
|
@@ -1260,10 +1260,10 @@ var script$n = {
|
|
|
1260
1260
|
};
|
|
1261
1261
|
|
|
1262
1262
|
/* script */
|
|
1263
|
-
const __vue_script__$
|
|
1263
|
+
const __vue_script__$o = script$o;
|
|
1264
1264
|
/* template */
|
|
1265
1265
|
|
|
1266
|
-
var __vue_render__$
|
|
1266
|
+
var __vue_render__$o = function () {
|
|
1267
1267
|
var _vm = this;
|
|
1268
1268
|
|
|
1269
1269
|
var _h = _vm.$createElement;
|
|
@@ -1314,10 +1314,10 @@ var __vue_render__$n = function () {
|
|
|
1314
1314
|
}) : _vm._e()]) : _vm._e();
|
|
1315
1315
|
};
|
|
1316
1316
|
|
|
1317
|
-
var __vue_staticRenderFns__$
|
|
1317
|
+
var __vue_staticRenderFns__$o = [];
|
|
1318
1318
|
/* style */
|
|
1319
1319
|
|
|
1320
|
-
const __vue_inject_styles__$
|
|
1320
|
+
const __vue_inject_styles__$o = function (inject) {
|
|
1321
1321
|
if (!inject) return;
|
|
1322
1322
|
inject("data-v-658b6c14_0", {
|
|
1323
1323
|
source: ".layout-view[data-v-658b6c14]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-658b6c14]{padding:1rem}.poi-info h2[data-v-658b6c14]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-658b6c14]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-658b6c14]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-658b6c14]{background-size:cover}.show-path[data-v-658b6c14]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-658b6c14]{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-658b6c14]{line-height:1.2}.poi-contact .address[data-v-658b6c14]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-658b6c14]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-658b6c14]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-658b6c14]:before{mix-blend-mode:initial;color:#fff}",
|
|
@@ -1328,27 +1328,27 @@ const __vue_inject_styles__$n = function (inject) {
|
|
|
1328
1328
|
/* scoped */
|
|
1329
1329
|
|
|
1330
1330
|
|
|
1331
|
-
const __vue_scope_id__$
|
|
1331
|
+
const __vue_scope_id__$o = "data-v-658b6c14";
|
|
1332
1332
|
/* module identifier */
|
|
1333
1333
|
|
|
1334
|
-
const __vue_module_identifier__$
|
|
1334
|
+
const __vue_module_identifier__$o = undefined;
|
|
1335
1335
|
/* functional template */
|
|
1336
1336
|
|
|
1337
|
-
const __vue_is_functional_template__$
|
|
1337
|
+
const __vue_is_functional_template__$o = false;
|
|
1338
1338
|
/* style inject SSR */
|
|
1339
1339
|
|
|
1340
1340
|
/* style inject shadow dom */
|
|
1341
1341
|
|
|
1342
|
-
const __vue_component__$
|
|
1343
|
-
render: __vue_render__$
|
|
1344
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1345
|
-
}, __vue_inject_styles__$
|
|
1342
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
1343
|
+
render: __vue_render__$o,
|
|
1344
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
1345
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
1346
1346
|
|
|
1347
1347
|
//
|
|
1348
|
-
var script$
|
|
1348
|
+
var script$n = {
|
|
1349
1349
|
name: 'AZMenu',
|
|
1350
1350
|
components: {
|
|
1351
|
-
POI: __vue_component__$
|
|
1351
|
+
POI: __vue_component__$o
|
|
1352
1352
|
},
|
|
1353
1353
|
props: {
|
|
1354
1354
|
showLogo: {
|
|
@@ -1418,10 +1418,10 @@ var script$m = {
|
|
|
1418
1418
|
};
|
|
1419
1419
|
|
|
1420
1420
|
/* script */
|
|
1421
|
-
const __vue_script__$
|
|
1421
|
+
const __vue_script__$n = script$n;
|
|
1422
1422
|
/* template */
|
|
1423
1423
|
|
|
1424
|
-
var __vue_render__$
|
|
1424
|
+
var __vue_render__$n = function () {
|
|
1425
1425
|
var _vm = this;
|
|
1426
1426
|
|
|
1427
1427
|
var _h = _vm.$createElement;
|
|
@@ -1470,10 +1470,10 @@ var __vue_render__$m = function () {
|
|
|
1470
1470
|
}), 0)]);
|
|
1471
1471
|
};
|
|
1472
1472
|
|
|
1473
|
-
var __vue_staticRenderFns__$
|
|
1473
|
+
var __vue_staticRenderFns__$n = [];
|
|
1474
1474
|
/* style */
|
|
1475
1475
|
|
|
1476
|
-
const __vue_inject_styles__$
|
|
1476
|
+
const __vue_inject_styles__$n = function (inject) {
|
|
1477
1477
|
if (!inject) return;
|
|
1478
1478
|
inject("data-v-17afa634_0", {
|
|
1479
1479
|
source: ".wf-list-item[data-v-17afa634]{list-style:none}",
|
|
@@ -1484,24 +1484,24 @@ const __vue_inject_styles__$m = function (inject) {
|
|
|
1484
1484
|
/* scoped */
|
|
1485
1485
|
|
|
1486
1486
|
|
|
1487
|
-
const __vue_scope_id__$
|
|
1487
|
+
const __vue_scope_id__$n = "data-v-17afa634";
|
|
1488
1488
|
/* module identifier */
|
|
1489
1489
|
|
|
1490
|
-
const __vue_module_identifier__$
|
|
1490
|
+
const __vue_module_identifier__$n = undefined;
|
|
1491
1491
|
/* functional template */
|
|
1492
1492
|
|
|
1493
|
-
const __vue_is_functional_template__$
|
|
1493
|
+
const __vue_is_functional_template__$n = false;
|
|
1494
1494
|
/* style inject SSR */
|
|
1495
1495
|
|
|
1496
1496
|
/* style inject shadow dom */
|
|
1497
1497
|
|
|
1498
|
-
const __vue_component__$
|
|
1499
|
-
render: __vue_render__$
|
|
1500
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1501
|
-
}, __vue_inject_styles__$
|
|
1498
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
1499
|
+
render: __vue_render__$n,
|
|
1500
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
1501
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
|
|
1502
1502
|
|
|
1503
1503
|
//
|
|
1504
|
-
var script$
|
|
1504
|
+
var script$m = {
|
|
1505
1505
|
name: 'FlagsMenu',
|
|
1506
1506
|
computed: { ...mapState('wf', ['languages', 'language', 'reset']),
|
|
1507
1507
|
|
|
@@ -1550,10 +1550,10 @@ var script$l = {
|
|
|
1550
1550
|
};
|
|
1551
1551
|
|
|
1552
1552
|
/* script */
|
|
1553
|
-
const __vue_script__$
|
|
1553
|
+
const __vue_script__$m = script$m;
|
|
1554
1554
|
/* template */
|
|
1555
1555
|
|
|
1556
|
-
var __vue_render__$
|
|
1556
|
+
var __vue_render__$m = function () {
|
|
1557
1557
|
var _vm = this;
|
|
1558
1558
|
|
|
1559
1559
|
var _h = _vm.$createElement;
|
|
@@ -1589,10 +1589,10 @@ var __vue_render__$l = function () {
|
|
|
1589
1589
|
}), 0)]);
|
|
1590
1590
|
};
|
|
1591
1591
|
|
|
1592
|
-
var __vue_staticRenderFns__$
|
|
1592
|
+
var __vue_staticRenderFns__$m = [];
|
|
1593
1593
|
/* style */
|
|
1594
1594
|
|
|
1595
|
-
const __vue_inject_styles__$
|
|
1595
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
1596
1596
|
if (!inject) return;
|
|
1597
1597
|
inject("data-v-64144cc4_0", {
|
|
1598
1598
|
source: ".languages-container.active[data-v-64144cc4]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-64144cc4]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-64144cc4]{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-64144cc4]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-64144cc4]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-64144cc4]{height:3.5rem;margin-bottom:1.5rem}",
|
|
@@ -1603,24 +1603,24 @@ const __vue_inject_styles__$l = function (inject) {
|
|
|
1603
1603
|
/* scoped */
|
|
1604
1604
|
|
|
1605
1605
|
|
|
1606
|
-
const __vue_scope_id__$
|
|
1606
|
+
const __vue_scope_id__$m = "data-v-64144cc4";
|
|
1607
1607
|
/* module identifier */
|
|
1608
1608
|
|
|
1609
|
-
const __vue_module_identifier__$
|
|
1609
|
+
const __vue_module_identifier__$m = undefined;
|
|
1610
1610
|
/* functional template */
|
|
1611
1611
|
|
|
1612
|
-
const __vue_is_functional_template__$
|
|
1612
|
+
const __vue_is_functional_template__$m = false;
|
|
1613
1613
|
/* style inject SSR */
|
|
1614
1614
|
|
|
1615
1615
|
/* style inject shadow dom */
|
|
1616
1616
|
|
|
1617
|
-
const __vue_component__$
|
|
1618
|
-
render: __vue_render__$
|
|
1619
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1620
|
-
}, __vue_inject_styles__$
|
|
1617
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
1618
|
+
render: __vue_render__$m,
|
|
1619
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
1620
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
1621
1621
|
|
|
1622
1622
|
//
|
|
1623
|
-
var script$
|
|
1623
|
+
var script$l = {
|
|
1624
1624
|
name: 'LanguagesMenu',
|
|
1625
1625
|
computed: { ...mapState('wf', ['languages', 'language', 'reset']),
|
|
1626
1626
|
|
|
@@ -1680,10 +1680,10 @@ var script$k = {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
|
|
1682
1682
|
/* script */
|
|
1683
|
-
const __vue_script__$
|
|
1683
|
+
const __vue_script__$l = script$l;
|
|
1684
1684
|
/* template */
|
|
1685
1685
|
|
|
1686
|
-
var __vue_render__$
|
|
1686
|
+
var __vue_render__$l = function () {
|
|
1687
1687
|
var _vm = this;
|
|
1688
1688
|
|
|
1689
1689
|
var _h = _vm.$createElement;
|
|
@@ -1726,10 +1726,10 @@ var __vue_render__$k = function () {
|
|
|
1726
1726
|
}), 0)]);
|
|
1727
1727
|
};
|
|
1728
1728
|
|
|
1729
|
-
var __vue_staticRenderFns__$
|
|
1729
|
+
var __vue_staticRenderFns__$l = [];
|
|
1730
1730
|
/* style */
|
|
1731
1731
|
|
|
1732
|
-
const __vue_inject_styles__$
|
|
1732
|
+
const __vue_inject_styles__$l = function (inject) {
|
|
1733
1733
|
if (!inject) return;
|
|
1734
1734
|
inject("data-v-2b86d0a6_0", {
|
|
1735
1735
|
source: ".wf-languages-menu.active[data-v-2b86d0a6]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-2b86d0a6]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-2b86d0a6]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden}.wf-languages-menu .wf-language .wf-lang-flag[data-v-2b86d0a6]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1.5rem}",
|
|
@@ -1740,24 +1740,24 @@ const __vue_inject_styles__$k = function (inject) {
|
|
|
1740
1740
|
/* scoped */
|
|
1741
1741
|
|
|
1742
1742
|
|
|
1743
|
-
const __vue_scope_id__$
|
|
1743
|
+
const __vue_scope_id__$l = "data-v-2b86d0a6";
|
|
1744
1744
|
/* module identifier */
|
|
1745
1745
|
|
|
1746
|
-
const __vue_module_identifier__$
|
|
1746
|
+
const __vue_module_identifier__$l = undefined;
|
|
1747
1747
|
/* functional template */
|
|
1748
1748
|
|
|
1749
|
-
const __vue_is_functional_template__$
|
|
1749
|
+
const __vue_is_functional_template__$l = false;
|
|
1750
1750
|
/* style inject SSR */
|
|
1751
1751
|
|
|
1752
1752
|
/* style inject shadow dom */
|
|
1753
1753
|
|
|
1754
|
-
const __vue_component__$
|
|
1755
|
-
render: __vue_render__$
|
|
1756
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1757
|
-
}, __vue_inject_styles__$
|
|
1754
|
+
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
1755
|
+
render: __vue_render__$l,
|
|
1756
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
1757
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
|
|
1758
1758
|
|
|
1759
1759
|
//
|
|
1760
|
-
var script$
|
|
1760
|
+
var script$k = {
|
|
1761
1761
|
name: "Group",
|
|
1762
1762
|
computed: { ...mapState('wf', ['language'])
|
|
1763
1763
|
},
|
|
@@ -1792,10 +1792,10 @@ var script$j = {
|
|
|
1792
1792
|
};
|
|
1793
1793
|
|
|
1794
1794
|
/* script */
|
|
1795
|
-
const __vue_script__$
|
|
1795
|
+
const __vue_script__$k = script$k;
|
|
1796
1796
|
/* template */
|
|
1797
1797
|
|
|
1798
|
-
var __vue_render__$
|
|
1798
|
+
var __vue_render__$k = function () {
|
|
1799
1799
|
var _vm = this;
|
|
1800
1800
|
|
|
1801
1801
|
var _h = _vm.$createElement;
|
|
@@ -1820,21 +1820,322 @@ var __vue_render__$j = function () {
|
|
|
1820
1820
|
}) : _vm._e()]) : _vm._e();
|
|
1821
1821
|
};
|
|
1822
1822
|
|
|
1823
|
+
var __vue_staticRenderFns__$k = [];
|
|
1824
|
+
/* style */
|
|
1825
|
+
|
|
1826
|
+
const __vue_inject_styles__$k = undefined;
|
|
1827
|
+
/* scoped */
|
|
1828
|
+
|
|
1829
|
+
const __vue_scope_id__$k = "data-v-077cd362";
|
|
1830
|
+
/* module identifier */
|
|
1831
|
+
|
|
1832
|
+
const __vue_module_identifier__$k = undefined;
|
|
1833
|
+
/* functional template */
|
|
1834
|
+
|
|
1835
|
+
const __vue_is_functional_template__$k = false;
|
|
1836
|
+
/* style inject */
|
|
1837
|
+
|
|
1838
|
+
/* style inject SSR */
|
|
1839
|
+
|
|
1840
|
+
/* style inject shadow dom */
|
|
1841
|
+
|
|
1842
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
1843
|
+
render: __vue_render__$k,
|
|
1844
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
1845
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
|
|
1846
|
+
|
|
1847
|
+
//
|
|
1848
|
+
var script$j = {
|
|
1849
|
+
name: 'GroupsMenu',
|
|
1850
|
+
components: {
|
|
1851
|
+
Group: __vue_component__$k,
|
|
1852
|
+
POI: __vue_component__$o
|
|
1853
|
+
},
|
|
1854
|
+
props: {
|
|
1855
|
+
parent: {
|
|
1856
|
+
type: Number,
|
|
1857
|
+
default: -1
|
|
1858
|
+
},
|
|
1859
|
+
showPOICount: {
|
|
1860
|
+
type: Boolean,
|
|
1861
|
+
default: false
|
|
1862
|
+
},
|
|
1863
|
+
az: {
|
|
1864
|
+
type: Boolean,
|
|
1865
|
+
default: false
|
|
1866
|
+
},
|
|
1867
|
+
order: {
|
|
1868
|
+
type: Boolean,
|
|
1869
|
+
default: false
|
|
1870
|
+
},
|
|
1871
|
+
showIcon: {
|
|
1872
|
+
type: Boolean,
|
|
1873
|
+
default: false
|
|
1874
|
+
},
|
|
1875
|
+
showSubGroups: {
|
|
1876
|
+
type: Boolean,
|
|
1877
|
+
default: true
|
|
1878
|
+
},
|
|
1879
|
+
showPOIs: {
|
|
1880
|
+
type: Boolean,
|
|
1881
|
+
default: false
|
|
1882
|
+
},
|
|
1883
|
+
showPOILogo: {
|
|
1884
|
+
type: Boolean,
|
|
1885
|
+
default: false
|
|
1886
|
+
},
|
|
1887
|
+
showPOIName: {
|
|
1888
|
+
type: Boolean,
|
|
1889
|
+
default: true
|
|
1890
|
+
},
|
|
1891
|
+
showPOIPathButton: {
|
|
1892
|
+
type: Boolean,
|
|
1893
|
+
default: false
|
|
1894
|
+
},
|
|
1895
|
+
showPOIDescription: {
|
|
1896
|
+
type: Boolean,
|
|
1897
|
+
default: false
|
|
1898
|
+
},
|
|
1899
|
+
showPOIRoomID: {
|
|
1900
|
+
type: Boolean,
|
|
1901
|
+
default: false
|
|
1902
|
+
},
|
|
1903
|
+
showPOIFloor: {
|
|
1904
|
+
type: Boolean,
|
|
1905
|
+
default: false
|
|
1906
|
+
},
|
|
1907
|
+
openGroup: {
|
|
1908
|
+
type: Boolean,
|
|
1909
|
+
default: true
|
|
1910
|
+
},
|
|
1911
|
+
sortPOIs: {
|
|
1912
|
+
type: Boolean,
|
|
1913
|
+
default: true
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
|
|
1917
|
+
data() {
|
|
1918
|
+
return {
|
|
1919
|
+
current: null,
|
|
1920
|
+
count: 0
|
|
1921
|
+
};
|
|
1922
|
+
},
|
|
1923
|
+
|
|
1924
|
+
computed: { ...mapState('wf', ['poiGroups', 'currentGroup', 'language']),
|
|
1925
|
+
|
|
1926
|
+
sortedGroups() {
|
|
1927
|
+
let arr = []; // Copy arr for sorting
|
|
1928
|
+
|
|
1929
|
+
let topic;
|
|
1930
|
+
let groups = this.poiGroups;
|
|
1931
|
+
|
|
1932
|
+
for (let i in groups) {
|
|
1933
|
+
topic = groups[i];
|
|
1934
|
+
|
|
1935
|
+
if (topic && topic.getShowInMenu() && topic.getName(this.language)) {
|
|
1936
|
+
console.log('sorted', topic.parent_id, this.parent);
|
|
1937
|
+
|
|
1938
|
+
if (this.parent > -1 && parseInt(topic.parent_id) == this.parent) {
|
|
1939
|
+
arr.push(topic);
|
|
1940
|
+
} else if (this.parent === -1 && topic.parent_id === null) {
|
|
1941
|
+
arr.push(topic);
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
if (this.az) {
|
|
1947
|
+
arr = arr.sort((a, b) => {
|
|
1948
|
+
if (a && a.getName(this.language) && b && b.getName(this.language)) {
|
|
1949
|
+
return a.getName(this.language).localeCompare(b.getName(this.language), this.language, {
|
|
1950
|
+
sensitivity: 'accent'
|
|
1951
|
+
});
|
|
1952
|
+
} else {
|
|
1953
|
+
return 0;
|
|
1954
|
+
}
|
|
1955
|
+
});
|
|
1956
|
+
} else if (this.order) {
|
|
1957
|
+
arr = arr.sort((a, b) => {
|
|
1958
|
+
if (a && b) {
|
|
1959
|
+
return a.order - b.order;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
return 0;
|
|
1963
|
+
});
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
this.count = arr.length;
|
|
1967
|
+
return arr;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
},
|
|
1971
|
+
watch: {
|
|
1972
|
+
currentGroup: function () {
|
|
1973
|
+
this.current = this.currentGroup;
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
methods: {
|
|
1977
|
+
onClick(group) {
|
|
1978
|
+
return () => {
|
|
1979
|
+
if (this.current == group) {
|
|
1980
|
+
this.current = null;
|
|
1981
|
+
} else {
|
|
1982
|
+
this.current = group;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
this.$emit('clicked', group);
|
|
1986
|
+
};
|
|
1987
|
+
},
|
|
1988
|
+
|
|
1989
|
+
onPOICLick(poi) {
|
|
1990
|
+
return () => {
|
|
1991
|
+
this.$emit('poiClicked', poi);
|
|
1992
|
+
};
|
|
1993
|
+
},
|
|
1994
|
+
|
|
1995
|
+
reset() {
|
|
1996
|
+
this.$store.dispatch('wf/SET_CURRENT_GROUP', null);
|
|
1997
|
+
},
|
|
1998
|
+
|
|
1999
|
+
subGroups(subGroups) {
|
|
2000
|
+
if (subGroups) {
|
|
2001
|
+
let groups = [];
|
|
2002
|
+
|
|
2003
|
+
let _g;
|
|
2004
|
+
|
|
2005
|
+
for (let g in subGroups) {
|
|
2006
|
+
_g = parseInt(subGroups[g]);
|
|
2007
|
+
|
|
2008
|
+
if (this.poiGroups[_g] && this.poiGroups[_g].getShowInMenu()) {
|
|
2009
|
+
groups.push(this.poiGroups[_g]);
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
return groups;
|
|
2014
|
+
} else {
|
|
2015
|
+
return [];
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
|
|
2019
|
+
sortedPOIs(pois) {
|
|
2020
|
+
let arr = pois.slice().filter(poi => {
|
|
2021
|
+
return poi && poi.getShowInMenu();
|
|
2022
|
+
}); // Copy and filter array
|
|
2023
|
+
|
|
2024
|
+
if (!this.sortPOIs) return arr;
|
|
2025
|
+
arr = arr.sort((a, b) => {
|
|
2026
|
+
if (a.getName(this.language) && b.getName(this.language)) {
|
|
2027
|
+
return a.getName(this.language).localeCompare(b.getName(this.language));
|
|
2028
|
+
} else {
|
|
2029
|
+
return 0;
|
|
2030
|
+
}
|
|
2031
|
+
});
|
|
2032
|
+
return arr;
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
}
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
/* script */
|
|
2039
|
+
const __vue_script__$j = script$j;
|
|
2040
|
+
/* template */
|
|
2041
|
+
|
|
2042
|
+
var __vue_render__$j = function () {
|
|
2043
|
+
var _vm = this;
|
|
2044
|
+
|
|
2045
|
+
var _h = _vm.$createElement;
|
|
2046
|
+
|
|
2047
|
+
var _c = _vm._self._c || _h;
|
|
2048
|
+
|
|
2049
|
+
return _c('div', {
|
|
2050
|
+
staticClass: "wf-component wf-groups-menu"
|
|
2051
|
+
}, [_c('ul', {
|
|
2052
|
+
staticClass: "wf-list",
|
|
2053
|
+
class: ['wf-list-count-' + _vm.count]
|
|
2054
|
+
}, _vm._l(_vm.sortedGroups, function (topic) {
|
|
2055
|
+
return _c('li', {
|
|
2056
|
+
key: topic.id,
|
|
2057
|
+
staticClass: "wf-list-item",
|
|
2058
|
+
class: {
|
|
2059
|
+
"active": _vm.current && topic.id == _vm.current.id
|
|
2060
|
+
}
|
|
2061
|
+
}, [_c('div', {
|
|
2062
|
+
directives: [{
|
|
2063
|
+
name: "touch",
|
|
2064
|
+
rawName: "v-touch:tap",
|
|
2065
|
+
value: _vm.onClick(topic),
|
|
2066
|
+
expression: "onClick(topic)",
|
|
2067
|
+
arg: "tap"
|
|
2068
|
+
}],
|
|
2069
|
+
staticClass: "wf-item-content"
|
|
2070
|
+
}, [_vm._t("default", function () {
|
|
2071
|
+
return [_c('Group', {
|
|
2072
|
+
attrs: {
|
|
2073
|
+
"group": topic,
|
|
2074
|
+
"showIcon": _vm.showIcon,
|
|
2075
|
+
"showPOICount": _vm.showPOICount
|
|
2076
|
+
}
|
|
2077
|
+
})];
|
|
2078
|
+
}, {
|
|
2079
|
+
"group": topic
|
|
2080
|
+
})], 2), _vm._v(" "), topic.pois.length > 0 && _vm.showPOIs ? _c('ul', {
|
|
2081
|
+
directives: [{
|
|
2082
|
+
name: "show",
|
|
2083
|
+
rawName: "v-show",
|
|
2084
|
+
value: _vm.current && topic.id == _vm.current.id,
|
|
2085
|
+
expression: "current && topic.id == current.id"
|
|
2086
|
+
}],
|
|
2087
|
+
staticClass: "wf-list wf-sublist"
|
|
2088
|
+
}, _vm._l(_vm.sortedPOIs(topic.pois), function (poi) {
|
|
2089
|
+
return _c('li', {
|
|
2090
|
+
directives: [{
|
|
2091
|
+
name: "touch",
|
|
2092
|
+
rawName: "v-touch:tap",
|
|
2093
|
+
value: _vm.onPOICLick(poi),
|
|
2094
|
+
expression: "onPOICLick(poi)",
|
|
2095
|
+
arg: "tap"
|
|
2096
|
+
}],
|
|
2097
|
+
key: poi.id,
|
|
2098
|
+
staticClass: "wf-list-item"
|
|
2099
|
+
}, [_vm._t("poi", function () {
|
|
2100
|
+
return [_c('POI', {
|
|
2101
|
+
attrs: {
|
|
2102
|
+
"poi": poi,
|
|
2103
|
+
"showLogo": _vm.showPOILogo,
|
|
2104
|
+
"showName": _vm.showPOIName,
|
|
2105
|
+
"showPathButton": _vm.showPOIPathButton,
|
|
2106
|
+
"showDescription": _vm.showPOIDescription,
|
|
2107
|
+
"showRoomID": _vm.showPOIRoomID,
|
|
2108
|
+
"showFloor": _vm.showPOIFloor
|
|
2109
|
+
}
|
|
2110
|
+
})];
|
|
2111
|
+
}, {
|
|
2112
|
+
"poi": poi
|
|
2113
|
+
})], 2);
|
|
2114
|
+
}), 0) : _vm._e()]);
|
|
2115
|
+
}), 0)]);
|
|
2116
|
+
};
|
|
2117
|
+
|
|
1823
2118
|
var __vue_staticRenderFns__$j = [];
|
|
1824
2119
|
/* style */
|
|
1825
2120
|
|
|
1826
|
-
const __vue_inject_styles__$j =
|
|
2121
|
+
const __vue_inject_styles__$j = function (inject) {
|
|
2122
|
+
if (!inject) return;
|
|
2123
|
+
inject("data-v-a5a9d312_0", {
|
|
2124
|
+
source: ".wf-groups-menu .wf-list-item[data-v-a5a9d312]{list-style:none}.wf-groups-menu .wf-list[data-v-a5a9d312]{margin:0;padding:0}",
|
|
2125
|
+
map: undefined,
|
|
2126
|
+
media: undefined
|
|
2127
|
+
});
|
|
2128
|
+
};
|
|
1827
2129
|
/* scoped */
|
|
1828
2130
|
|
|
1829
|
-
|
|
2131
|
+
|
|
2132
|
+
const __vue_scope_id__$j = "data-v-a5a9d312";
|
|
1830
2133
|
/* module identifier */
|
|
1831
2134
|
|
|
1832
2135
|
const __vue_module_identifier__$j = undefined;
|
|
1833
2136
|
/* functional template */
|
|
1834
2137
|
|
|
1835
2138
|
const __vue_is_functional_template__$j = false;
|
|
1836
|
-
/* style inject */
|
|
1837
|
-
|
|
1838
2139
|
/* style inject SSR */
|
|
1839
2140
|
|
|
1840
2141
|
/* style inject shadow dom */
|
|
@@ -1842,14 +2143,15 @@ const __vue_is_functional_template__$j = false;
|
|
|
1842
2143
|
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
1843
2144
|
render: __vue_render__$j,
|
|
1844
2145
|
staticRenderFns: __vue_staticRenderFns__$j
|
|
1845
|
-
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false,
|
|
2146
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
|
|
1846
2147
|
|
|
1847
2148
|
//
|
|
1848
2149
|
var script$i = {
|
|
1849
2150
|
name: 'GroupsMenu',
|
|
1850
2151
|
components: {
|
|
1851
|
-
Group: __vue_component__$
|
|
1852
|
-
POI: __vue_component__$
|
|
2152
|
+
Group: __vue_component__$k,
|
|
2153
|
+
POI: __vue_component__$o,
|
|
2154
|
+
SubGroupMenu: __vue_component__$j
|
|
1853
2155
|
},
|
|
1854
2156
|
props: {
|
|
1855
2157
|
parent: {
|
|
@@ -1998,9 +2300,13 @@ var script$i = {
|
|
|
1998
2300
|
if (subGroups) {
|
|
1999
2301
|
let groups = [];
|
|
2000
2302
|
|
|
2303
|
+
let _g;
|
|
2304
|
+
|
|
2001
2305
|
for (let g in subGroups) {
|
|
2002
|
-
|
|
2003
|
-
|
|
2306
|
+
_g = parseInt(subGroups[g]);
|
|
2307
|
+
|
|
2308
|
+
if (this.poiGroups[_g] && this.poiGroups[_g].getShowInMenu()) {
|
|
2309
|
+
groups.push(this.poiGroups[_g]);
|
|
2004
2310
|
}
|
|
2005
2311
|
}
|
|
2006
2312
|
|
|
@@ -2071,28 +2377,27 @@ var __vue_render__$i = function () {
|
|
|
2071
2377
|
})];
|
|
2072
2378
|
}, {
|
|
2073
2379
|
"group": topic
|
|
2074
|
-
})], 2), _vm._v(" "),
|
|
2380
|
+
})], 2), _vm._v(" "), _c('ul', {
|
|
2075
2381
|
directives: [{
|
|
2076
2382
|
name: "show",
|
|
2077
2383
|
rawName: "v-show",
|
|
2078
|
-
value: _vm.current && topic.id == _vm.current.id,
|
|
2079
|
-
expression: "current && topic.id == current.id"
|
|
2384
|
+
value: _vm.current && topic.id == _vm.current.id && _vm.subGroups(topic.childGroups).length > 0,
|
|
2385
|
+
expression: "current && topic.id == current.id && subGroups(topic.childGroups).length > 0"
|
|
2080
2386
|
}]
|
|
2081
|
-
},
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
}), 0) : _vm._e(), _vm._v(" "), topic.pois.length > 0 && _vm.showPOIs ? _c('ul', {
|
|
2387
|
+
}, [_c('SubGroupMenu', {
|
|
2388
|
+
attrs: {
|
|
2389
|
+
"parent": parseInt(topic.id),
|
|
2390
|
+
"showPOICount": _vm.showPOICount,
|
|
2391
|
+
"az": _vm.az,
|
|
2392
|
+
"order": _vm.order,
|
|
2393
|
+
"showIcon": _vm.showIcon,
|
|
2394
|
+
"showPOIs": _vm.showPOIs,
|
|
2395
|
+
"sortPOIs": _vm.sortPOIs
|
|
2396
|
+
},
|
|
2397
|
+
on: {
|
|
2398
|
+
"onPOICLick": _vm.onPOICLick
|
|
2399
|
+
}
|
|
2400
|
+
})], 1), _vm._v(" "), topic.pois.length > 0 && _vm.showPOIs ? _c('ul', {
|
|
2096
2401
|
directives: [{
|
|
2097
2402
|
name: "show",
|
|
2098
2403
|
rawName: "v-show",
|
|
@@ -2135,8 +2440,8 @@ var __vue_staticRenderFns__$i = [];
|
|
|
2135
2440
|
|
|
2136
2441
|
const __vue_inject_styles__$i = function (inject) {
|
|
2137
2442
|
if (!inject) return;
|
|
2138
|
-
inject("data-v-
|
|
2139
|
-
source: ".wf-groups-menu .wf-list-item[data-v-
|
|
2443
|
+
inject("data-v-462ffa2e_0", {
|
|
2444
|
+
source: ".wf-groups-menu .wf-list-item[data-v-462ffa2e]{list-style:none}.wf-groups-menu .wf-list[data-v-462ffa2e]{margin:0;padding:0}",
|
|
2140
2445
|
map: undefined,
|
|
2141
2446
|
media: undefined
|
|
2142
2447
|
});
|
|
@@ -2144,7 +2449,7 @@ const __vue_inject_styles__$i = function (inject) {
|
|
|
2144
2449
|
/* scoped */
|
|
2145
2450
|
|
|
2146
2451
|
|
|
2147
|
-
const __vue_scope_id__$i = "data-v-
|
|
2452
|
+
const __vue_scope_id__$i = "data-v-462ffa2e";
|
|
2148
2453
|
/* module identifier */
|
|
2149
2454
|
|
|
2150
2455
|
const __vue_module_identifier__$i = undefined;
|
|
@@ -2795,7 +3100,7 @@ const __vue_component__$c = /*#__PURE__*/normalizeComponent({
|
|
|
2795
3100
|
var script$b = {
|
|
2796
3101
|
name: 'FilteredMenu',
|
|
2797
3102
|
components: {
|
|
2798
|
-
POI: __vue_component__$
|
|
3103
|
+
POI: __vue_component__$o
|
|
2799
3104
|
},
|
|
2800
3105
|
|
|
2801
3106
|
data() {
|
|
@@ -2965,7 +3270,7 @@ var script$a = {
|
|
|
2965
3270
|
name: 'Search',
|
|
2966
3271
|
components: {
|
|
2967
3272
|
OSK: osk_common,
|
|
2968
|
-
POI: __vue_component__$
|
|
3273
|
+
POI: __vue_component__$o
|
|
2969
3274
|
},
|
|
2970
3275
|
computed: { ...mapState('wf', ['language', 'reset'])
|
|
2971
3276
|
},
|
|
@@ -4541,10 +4846,10 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
4541
4846
|
|
|
4542
4847
|
var components = /*#__PURE__*/Object.freeze({
|
|
4543
4848
|
__proto__: null,
|
|
4544
|
-
WFMap: __vue_component__$
|
|
4545
|
-
WFAZMenu: __vue_component__$
|
|
4546
|
-
WFFlagsMenu: __vue_component__$
|
|
4547
|
-
WFLanguagesMenu: __vue_component__$
|
|
4849
|
+
WFMap: __vue_component__$p,
|
|
4850
|
+
WFAZMenu: __vue_component__$n,
|
|
4851
|
+
WFFlagsMenu: __vue_component__$m,
|
|
4852
|
+
WFLanguagesMenu: __vue_component__$l,
|
|
4548
4853
|
WFGroupsMenu: __vue_component__$i,
|
|
4549
4854
|
WFGroupPOIsMenu: __vue_component__$h,
|
|
4550
4855
|
WFBuildingLogo: __vue_component__$g,
|
|
@@ -4560,7 +4865,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
4560
4865
|
WFBanner: __vue_component__$5,
|
|
4561
4866
|
WFPageMenu: __vue_component__$4,
|
|
4562
4867
|
WFAlphabet: __vue_component__$3,
|
|
4563
|
-
WFPOI: __vue_component__$
|
|
4868
|
+
WFPOI: __vue_component__$o,
|
|
4564
4869
|
WFPage: __vue_component__$1,
|
|
4565
4870
|
WFYAH: __vue_component__$f,
|
|
4566
4871
|
WFBrowser: __vue_component__
|
|
@@ -4691,7 +4996,6 @@ var store = {
|
|
|
4691
4996
|
state.filteredPOIs = pois;
|
|
4692
4997
|
},
|
|
4693
4998
|
SET_PAGES: (state, pages) => {
|
|
4694
|
-
console.log('SET_PAGES', pages);
|
|
4695
4999
|
state.pages = pages;
|
|
4696
5000
|
},
|
|
4697
5001
|
RESET: (state, pois) => {
|
|
@@ -4731,8 +5035,6 @@ var store = {
|
|
|
4731
5035
|
},
|
|
4732
5036
|
LOAD_PAGES: context => {
|
|
4733
5037
|
Logistics.getJSON(WayfinderAPI.getURL("pages", "getAll", []), null, function (data) {
|
|
4734
|
-
console.log('data', data.data);
|
|
4735
|
-
|
|
4736
5038
|
if (data && data.data) {
|
|
4737
5039
|
context.commit('SET_PAGES', Object.freeze(data.data));
|
|
4738
5040
|
}
|
|
@@ -4771,4 +5073,4 @@ const install = function installWayfinderVueComponents(Vue, store) {
|
|
|
4771
5073
|
}; // Create module definition for Vue.use()
|
|
4772
5074
|
|
|
4773
5075
|
export default install;
|
|
4774
|
-
export { __vue_component__$
|
|
5076
|
+
export { __vue_component__$n as WFAZMenu, __vue_component__$3 as WFAlphabet, __vue_component__$5 as WFBanner, __vue_component__ as WFBrowser, __vue_component__$g as WFBuildingLogo, __vue_component__$b as WFFilteredMenu, __vue_component__$m as WFFlagsMenu, __vue_component__$c as WFFloorsMenu, __vue_component__$h as WFGroupPOIsMenu, __vue_component__$i as WFGroupsMenu, __vue_component__$l as WFLanguagesMenu, __vue_component__$p as WFMap, __vue_component__$o as WFPOI, __vue_component__$1 as WFPage, __vue_component__$4 as WFPageMenu, __vue_component__$6 as WFScrollableArea, __vue_component__$a as WFSearch, __vue_component__$e as WFShortcutsMenu, __vue_component__$8 as WFTab, __vue_component__$7 as WFTabButtons, __vue_component__$9 as WFTabs, __vue_component__$f as WFYAH, __vue_component__$d as WFZoomMenu };
|