@3dwayfinder/wayfinder-vue-components 1.0.96 → 1.0.97

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.
@@ -1075,7 +1075,7 @@ var index = {
1075
1075
 
1076
1076
  //
1077
1077
  var wayfinder$1;
1078
- var script$h = {
1078
+ var script$i = {
1079
1079
  name: 'Map',
1080
1080
  props: {
1081
1081
  project: {
@@ -1352,10 +1352,10 @@ function addStyle(id, css) {
1352
1352
  }
1353
1353
 
1354
1354
  /* script */
1355
- const __vue_script__$h = script$h;
1355
+ const __vue_script__$i = script$i;
1356
1356
  /* template */
1357
1357
 
1358
- var __vue_render__$h = function () {
1358
+ var __vue_render__$i = function () {
1359
1359
  var _vm = this;
1360
1360
 
1361
1361
  var _h = _vm.$createElement;
@@ -1385,10 +1385,10 @@ var __vue_render__$h = function () {
1385
1385
  }, [_vm._v(_vm._s(_vm.pathText))])]);
1386
1386
  };
1387
1387
 
1388
- var __vue_staticRenderFns__$h = [];
1388
+ var __vue_staticRenderFns__$i = [];
1389
1389
  /* style */
1390
1390
 
1391
- const __vue_inject_styles__$h = function (inject) {
1391
+ const __vue_inject_styles__$i = function (inject) {
1392
1392
  if (!inject) return;
1393
1393
  inject("data-v-56a8b7f2_0", {
1394
1394
  source: ".map-container[data-v-56a8b7f2]{position:relative;width:100%;height:100%}.map-container canvas[data-v-56a8b7f2]{width:100%;height:100%}.map-container .map-path-text[data-v-56a8b7f2]{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-56a8b7f2]{position:absolute;bottom:-1px;width:100%;height:9rem}.currentFloor[data-v-56a8b7f2]{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}",
@@ -1399,24 +1399,24 @@ const __vue_inject_styles__$h = function (inject) {
1399
1399
  /* scoped */
1400
1400
 
1401
1401
 
1402
- const __vue_scope_id__$h = "data-v-56a8b7f2";
1402
+ const __vue_scope_id__$i = "data-v-56a8b7f2";
1403
1403
  /* module identifier */
1404
1404
 
1405
- const __vue_module_identifier__$h = undefined;
1405
+ const __vue_module_identifier__$i = undefined;
1406
1406
  /* functional template */
1407
1407
 
1408
- const __vue_is_functional_template__$h = false;
1408
+ const __vue_is_functional_template__$i = false;
1409
1409
  /* style inject SSR */
1410
1410
 
1411
1411
  /* style inject shadow dom */
1412
1412
 
1413
- const __vue_component__$h = /*#__PURE__*/normalizeComponent({
1414
- render: __vue_render__$h,
1415
- staticRenderFns: __vue_staticRenderFns__$h
1416
- }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
1413
+ const __vue_component__$i = /*#__PURE__*/normalizeComponent({
1414
+ render: __vue_render__$i,
1415
+ staticRenderFns: __vue_staticRenderFns__$i
1416
+ }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
1417
1417
 
1418
1418
  //
1419
- var script$g = {
1419
+ var script$h = {
1420
1420
  name: "POI",
1421
1421
  computed: { ...mapState(['language'])
1422
1422
  },
@@ -1525,10 +1525,10 @@ var script$g = {
1525
1525
  };
1526
1526
 
1527
1527
  /* script */
1528
- const __vue_script__$g = script$g;
1528
+ const __vue_script__$h = script$h;
1529
1529
  /* template */
1530
1530
 
1531
- var __vue_render__$g = function () {
1531
+ var __vue_render__$h = function () {
1532
1532
  var _vm = this;
1533
1533
 
1534
1534
  var _h = _vm.$createElement;
@@ -1583,10 +1583,10 @@ var __vue_render__$g = function () {
1583
1583
  }) : _vm._e()]) : _vm._e();
1584
1584
  };
1585
1585
 
1586
- var __vue_staticRenderFns__$g = [];
1586
+ var __vue_staticRenderFns__$h = [];
1587
1587
  /* style */
1588
1588
 
1589
- const __vue_inject_styles__$g = function (inject) {
1589
+ const __vue_inject_styles__$h = function (inject) {
1590
1590
  if (!inject) return;
1591
1591
  inject("data-v-12662bbb_0", {
1592
1592
  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}",
@@ -1597,27 +1597,27 @@ const __vue_inject_styles__$g = function (inject) {
1597
1597
  /* scoped */
1598
1598
 
1599
1599
 
1600
- const __vue_scope_id__$g = "data-v-12662bbb";
1600
+ const __vue_scope_id__$h = "data-v-12662bbb";
1601
1601
  /* module identifier */
1602
1602
 
1603
- const __vue_module_identifier__$g = undefined;
1603
+ const __vue_module_identifier__$h = undefined;
1604
1604
  /* functional template */
1605
1605
 
1606
- const __vue_is_functional_template__$g = false;
1606
+ const __vue_is_functional_template__$h = false;
1607
1607
  /* style inject SSR */
1608
1608
 
1609
1609
  /* style inject shadow dom */
1610
1610
 
1611
- const __vue_component__$g = /*#__PURE__*/normalizeComponent({
1612
- render: __vue_render__$g,
1613
- staticRenderFns: __vue_staticRenderFns__$g
1614
- }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
1611
+ const __vue_component__$h = /*#__PURE__*/normalizeComponent({
1612
+ render: __vue_render__$h,
1613
+ staticRenderFns: __vue_staticRenderFns__$h
1614
+ }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
1615
1615
 
1616
1616
  //
1617
- var script$f = {
1617
+ var script$g = {
1618
1618
  name: 'AZMenu',
1619
1619
  components: {
1620
- POI: __vue_component__$g
1620
+ POI: __vue_component__$h
1621
1621
  },
1622
1622
  props: {
1623
1623
  showLogo: {
@@ -1679,10 +1679,10 @@ var script$f = {
1679
1679
  };
1680
1680
 
1681
1681
  /* script */
1682
- const __vue_script__$f = script$f;
1682
+ const __vue_script__$g = script$g;
1683
1683
  /* template */
1684
1684
 
1685
- var __vue_render__$f = function () {
1685
+ var __vue_render__$g = function () {
1686
1686
  var _vm = this;
1687
1687
 
1688
1688
  var _h = _vm.$createElement;
@@ -1730,32 +1730,32 @@ var __vue_render__$f = function () {
1730
1730
  }), 0)]);
1731
1731
  };
1732
1732
 
1733
- var __vue_staticRenderFns__$f = [];
1733
+ var __vue_staticRenderFns__$g = [];
1734
1734
  /* style */
1735
1735
 
1736
- const __vue_inject_styles__$f = undefined;
1736
+ const __vue_inject_styles__$g = undefined;
1737
1737
  /* scoped */
1738
1738
 
1739
- const __vue_scope_id__$f = "data-v-d48c542c";
1739
+ const __vue_scope_id__$g = "data-v-d48c542c";
1740
1740
  /* module identifier */
1741
1741
 
1742
- const __vue_module_identifier__$f = undefined;
1742
+ const __vue_module_identifier__$g = undefined;
1743
1743
  /* functional template */
1744
1744
 
1745
- const __vue_is_functional_template__$f = false;
1745
+ const __vue_is_functional_template__$g = false;
1746
1746
  /* style inject */
1747
1747
 
1748
1748
  /* style inject SSR */
1749
1749
 
1750
1750
  /* style inject shadow dom */
1751
1751
 
1752
- const __vue_component__$f = /*#__PURE__*/normalizeComponent({
1753
- render: __vue_render__$f,
1754
- staticRenderFns: __vue_staticRenderFns__$f
1755
- }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, undefined, undefined);
1752
+ const __vue_component__$g = /*#__PURE__*/normalizeComponent({
1753
+ render: __vue_render__$g,
1754
+ staticRenderFns: __vue_staticRenderFns__$g
1755
+ }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, undefined, undefined);
1756
1756
 
1757
1757
  //
1758
- var script$e = {
1758
+ var script$f = {
1759
1759
  name: 'FlagsMenu',
1760
1760
  computed: { ...mapState(['languages', 'language', 'reset'])
1761
1761
  },
@@ -1799,10 +1799,10 @@ var script$e = {
1799
1799
  };
1800
1800
 
1801
1801
  /* script */
1802
- const __vue_script__$e = script$e;
1802
+ const __vue_script__$f = script$f;
1803
1803
  /* template */
1804
1804
 
1805
- var __vue_render__$e = function () {
1805
+ var __vue_render__$f = function () {
1806
1806
  var _vm = this;
1807
1807
 
1808
1808
  var _h = _vm.$createElement;
@@ -1810,7 +1810,7 @@ var __vue_render__$e = function () {
1810
1810
  var _c = _vm._self._c || _h;
1811
1811
 
1812
1812
  return _c('div', {
1813
- staticClass: "wf-component languages-container",
1813
+ staticClass: "wf-component wf-languages-container",
1814
1814
  class: {
1815
1815
  'active': _vm.active
1816
1816
  }
@@ -1839,13 +1839,145 @@ var __vue_render__$e = function () {
1839
1839
  }), 0)]);
1840
1840
  };
1841
1841
 
1842
+ var __vue_staticRenderFns__$f = [];
1843
+ /* style */
1844
+
1845
+ const __vue_inject_styles__$f = function (inject) {
1846
+ if (!inject) return;
1847
+ inject("data-v-a003406a_0", {
1848
+ source: ".languages-container.active[data-v-a003406a]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-a003406a]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-a003406a]{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-a003406a]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-a003406a]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-a003406a]{height:3.5rem;margin-bottom:1.5rem}",
1849
+ map: undefined,
1850
+ media: undefined
1851
+ });
1852
+ };
1853
+ /* scoped */
1854
+
1855
+
1856
+ const __vue_scope_id__$f = "data-v-a003406a";
1857
+ /* module identifier */
1858
+
1859
+ const __vue_module_identifier__$f = undefined;
1860
+ /* functional template */
1861
+
1862
+ const __vue_is_functional_template__$f = false;
1863
+ /* style inject SSR */
1864
+
1865
+ /* style inject shadow dom */
1866
+
1867
+ const __vue_component__$f = /*#__PURE__*/normalizeComponent({
1868
+ render: __vue_render__$f,
1869
+ staticRenderFns: __vue_staticRenderFns__$f
1870
+ }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
1871
+
1872
+ //
1873
+ var script$e = {
1874
+ name: 'LanguagesMenu',
1875
+ computed: { ...mapState(['languages', 'language', 'reset'])
1876
+ },
1877
+ props: {
1878
+ showTitle: {
1879
+ type: Boolean,
1880
+ default: false
1881
+ },
1882
+ showFlag: {
1883
+ type: Boolean,
1884
+ default: true
1885
+ },
1886
+ labelType: {
1887
+ type: String,
1888
+ default: "none"
1889
+ },
1890
+ hideActive: {
1891
+ type: Boolean,
1892
+ default: false
1893
+ },
1894
+ title: {
1895
+ type: String,
1896
+ default: "Select language"
1897
+ }
1898
+ },
1899
+
1900
+ data() {
1901
+ return {
1902
+ active: false
1903
+ };
1904
+ },
1905
+
1906
+ methods: {
1907
+ changeLanguage(language) {
1908
+ if (this.$listeners && this.$listeners.changeLanguage) {
1909
+ this.$emit("change", language);
1910
+ } else {
1911
+ this.$wayfinder.setLanguage(language.name);
1912
+ }
1913
+ },
1914
+
1915
+ getFlagImage(id) {
1916
+ return WayfinderAPI.getURL("images", "thumbnail", [id]);
1917
+ }
1918
+
1919
+ },
1920
+ watch: {
1921
+ reset: function () {
1922
+ this.active = false;
1923
+ }
1924
+ }
1925
+ };
1926
+
1927
+ /* script */
1928
+ const __vue_script__$e = script$e;
1929
+ /* template */
1930
+
1931
+ var __vue_render__$e = function () {
1932
+ var _vm = this;
1933
+
1934
+ var _h = _vm.$createElement;
1935
+
1936
+ var _c = _vm._self._c || _h;
1937
+
1938
+ return _c('div', {
1939
+ staticClass: "wf-component wf-languages-menu",
1940
+ class: {
1941
+ 'wf-active': _vm.active
1942
+ }
1943
+ }, [_vm.showTitle ? _c('div', {
1944
+ staticClass: "wf-languages-title"
1945
+ }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm._v(" "), _c('div', {
1946
+ staticClass: "wf-list"
1947
+ }, _vm._l(_vm.languages, function (lang, index) {
1948
+ return _c('div', {
1949
+ directives: [{
1950
+ name: "hide",
1951
+ rawName: "v-hide",
1952
+ value: _vm.hideActive && lang.getName() == _vm.language,
1953
+ expression: "hideActive && lang.getName() == language"
1954
+ }],
1955
+ key: index,
1956
+ class: ["wf-item", "wf-language", "wf-lang-" + lang.getName(), {
1957
+ "wf-active": lang.getName() == _vm.language,
1958
+ "wf-display": _vm.active
1959
+ }],
1960
+ on: {
1961
+ "click": function ($event) {
1962
+ return _vm.changeLanguage(lang);
1963
+ }
1964
+ }
1965
+ }, [_vm.showFlag ? _c('div', {
1966
+ staticClass: "wf-lang-flag",
1967
+ style: {
1968
+ backgroundImage: 'url(' + _vm.getFlagImage(lang.flagImage) + ')'
1969
+ }
1970
+ }) : _vm._e(), _vm._v(" "), _vm.labelType == 'wf-lang-code' ? _c('label', [_vm._v(_vm._s(lang.getName()))]) : _vm._e(), _vm._v(" "), _vm.labelType == 'wf-lang-native' ? _c('label', [_vm._v(_vm._s(lang.getNativeName()))]) : _vm._e()]);
1971
+ }), 0)]);
1972
+ };
1973
+
1842
1974
  var __vue_staticRenderFns__$e = [];
1843
1975
  /* style */
1844
1976
 
1845
1977
  const __vue_inject_styles__$e = function (inject) {
1846
1978
  if (!inject) return;
1847
- inject("data-v-b70751ee_0", {
1848
- source: ".languages-container.active[data-v-b70751ee]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-b70751ee]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-b70751ee]{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-b70751ee]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-b70751ee]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-b70751ee]{height:3.5rem;margin-bottom:1.5rem}",
1979
+ inject("data-v-93185b90_0", {
1980
+ source: ".wf-languages-menu.active[data-v-93185b90]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-93185b90]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-93185b90]{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-93185b90]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-93185b90]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-93185b90]{height:3.5rem;margin-bottom:1.5rem}",
1849
1981
  map: undefined,
1850
1982
  media: undefined
1851
1983
  });
@@ -1853,7 +1985,7 @@ const __vue_inject_styles__$e = function (inject) {
1853
1985
  /* scoped */
1854
1986
 
1855
1987
 
1856
- const __vue_scope_id__$e = "data-v-b70751ee";
1988
+ const __vue_scope_id__$e = "data-v-93185b90";
1857
1989
  /* module identifier */
1858
1990
 
1859
1991
  const __vue_module_identifier__$e = undefined;
@@ -2572,7 +2704,7 @@ const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
2572
2704
  var script$7 = {
2573
2705
  name: 'FilteredMenu',
2574
2706
  components: {
2575
- POI: __vue_component__$g
2707
+ POI: __vue_component__$h
2576
2708
  },
2577
2709
 
2578
2710
  data() {
@@ -2739,7 +2871,7 @@ var script$6 = {
2739
2871
  name: 'Search',
2740
2872
  components: {
2741
2873
  OSK: osk_common,
2742
- POI: __vue_component__$g
2874
+ POI: __vue_component__$h
2743
2875
  },
2744
2876
  computed: { ...mapState(['language', 'reset'])
2745
2877
  },
@@ -3921,9 +4053,10 @@ var store = new index.Store({
3921
4053
 
3922
4054
  var components = /*#__PURE__*/Object.freeze({
3923
4055
  __proto__: null,
3924
- WFMap: __vue_component__$h,
3925
- WFAZMenu: __vue_component__$f,
3926
- WFFlagsMenu: __vue_component__$e,
4056
+ WFMap: __vue_component__$i,
4057
+ WFAZMenu: __vue_component__$g,
4058
+ WFFlagsMenu: __vue_component__$f,
4059
+ WFLanguagesMenu: __vue_component__$e,
3927
4060
  WFGroupsMenu: __vue_component__$d,
3928
4061
  WFBuildingLogo: __vue_component__$c,
3929
4062
  WFShortcutsMenu: __vue_component__$a,
@@ -3936,7 +4069,7 @@ var components = /*#__PURE__*/Object.freeze({
3936
4069
  WFTabButtons: __vue_component__$3,
3937
4070
  WFScrollableArea: __vue_component__$2,
3938
4071
  WFBanner: __vue_component__$1,
3939
- WFPOI: __vue_component__$g,
4072
+ WFPOI: __vue_component__$h,
3940
4073
  WFYAH: __vue_component__$b,
3941
4074
  WFBrowser: __vue_component__,
3942
4075
  WFStore: store
@@ -3951,4 +4084,4 @@ const install = function installWayfinderVueComponents(Vue) {
3951
4084
  }; // Create module definition for Vue.use()
3952
4085
 
3953
4086
  export default install;
3954
- export { __vue_component__$f as WFAZMenu, __vue_component__$1 as WFBanner, __vue_component__ as WFBrowser, __vue_component__$c as WFBuildingLogo, __vue_component__$7 as WFFilteredMenu, __vue_component__$e as WFFlagsMenu, __vue_component__$8 as WFFloorsMenu, __vue_component__$d as WFGroupsMenu, __vue_component__$h as WFMap, __vue_component__$g as WFPOI, __vue_component__$2 as WFScrollableArea, __vue_component__$6 as WFSearch, __vue_component__$a as WFShortcutsMenu, store as WFStore, __vue_component__$4 as WFTab, __vue_component__$3 as WFTabButtons, __vue_component__$5 as WFTabs, __vue_component__$b as WFYAH, __vue_component__$9 as WFZoomMenu };
4087
+ export { __vue_component__$g as WFAZMenu, __vue_component__$1 as WFBanner, __vue_component__ as WFBrowser, __vue_component__$c as WFBuildingLogo, __vue_component__$7 as WFFilteredMenu, __vue_component__$f as WFFlagsMenu, __vue_component__$8 as WFFloorsMenu, __vue_component__$d as WFGroupsMenu, __vue_component__$e as WFLanguagesMenu, __vue_component__$i as WFMap, __vue_component__$h as WFPOI, __vue_component__$2 as WFScrollableArea, __vue_component__$6 as WFSearch, __vue_component__$a as WFShortcutsMenu, store as WFStore, __vue_component__$4 as WFTab, __vue_component__$3 as WFTabButtons, __vue_component__$5 as WFTabs, __vue_component__$b as WFYAH, __vue_component__$9 as WFZoomMenu };