@3dwayfinder/wayfinder-vue-components 1.0.89 → 1.0.90

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.
@@ -2999,102 +2999,409 @@ const __vue_component__$6 = /*#__PURE__*/normalizeComponent({
2999
2999
  staticRenderFns: __vue_staticRenderFns__$6
3000
3000
  }, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, createInjector, undefined, undefined);
3001
3001
 
3002
- /*!
3003
- * better-scroll / core
3004
- * (c) 2016-2019 ustbhuangyi
3005
- * Released under the MIT License.
3006
- */
3007
- /*! *****************************************************************************
3008
- Copyright (c) Microsoft Corporation. All rights reserved.
3009
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
3010
- this file except in compliance with the License. You may obtain a copy of the
3011
- License at http://www.apache.org/licenses/LICENSE-2.0
3002
+ //
3003
+ //
3004
+ //
3005
+ //
3006
+ //
3007
+ //
3008
+ //
3009
+ //
3010
+ var script$5 = {
3011
+ name: 'Tabs',
3012
+ props: {
3013
+ activeTab: '',
3014
+ animate: {
3015
+ type: String,
3016
+ default: "none"
3017
+ }
3018
+ },
3019
+ data: () => ({
3020
+ tabs: [],
3021
+ activeTabIndex: 0,
3022
+ currentTab: null
3023
+ }),
3012
3024
 
3013
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
3014
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
3015
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
3016
- MERCHANTABLITY OR NON-INFRINGEMENT.
3025
+ created() {
3026
+ this.tabs = this.$children;
3027
+ },
3017
3028
 
3018
- See the Apache Version 2.0 License for specific language governing permissions
3019
- and limitations under the License.
3020
- ***************************************************************************** */
3021
- /* global Reflect, Promise */
3029
+ mounted() {
3030
+ if (this.$props.activeTab) {
3031
+ this.activate(this.$props.activeTab);
3032
+ } else {
3033
+ console.log('no active tab');
3034
+ }
3035
+ },
3022
3036
 
3023
- var extendStatics = function(d, b) {
3024
- extendStatics = Object.setPrototypeOf ||
3025
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3026
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
3027
- return extendStatics(d, b);
3037
+ watch: {
3038
+ activeTab: function (newVal) {
3039
+ // watch it
3040
+ if (newVal) {
3041
+ this.activate(newVal);
3042
+ }
3043
+ }
3044
+ },
3045
+ methods: {
3046
+ activate() {
3047
+ this.currentTab = null;
3048
+
3049
+ for (var tab in this.tabs) {
3050
+ if (this.tabs[tab].name == this.$props.activeTab) {
3051
+ this.tabs[tab].isActive = true;
3052
+ this.$emit('tabChanged', this.tabs[tab]);
3053
+ this.currentTab = this.tabs[tab];
3054
+ this.activeTabIndex = tab;
3055
+ } else {
3056
+ this.tabs[tab].isActive = false;
3057
+ }
3058
+ }
3059
+ }
3060
+
3061
+ }
3028
3062
  };
3029
3063
 
3030
- function __extends(d, b) {
3031
- extendStatics(d, b);
3032
- function __() { this.constructor = d; }
3033
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3034
- }
3064
+ /* script */
3065
+ const __vue_script__$5 = script$5;
3066
+ /* template */
3035
3067
 
3036
- var __assign = function() {
3037
- __assign = Object.assign || function __assign(t) {
3038
- for (var s, i = 1, n = arguments.length; i < n; i++) {
3039
- s = arguments[i];
3040
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3041
- }
3042
- return t;
3043
- };
3044
- return __assign.apply(this, arguments);
3068
+ var __vue_render__$5 = function () {
3069
+ var _vm = this;
3070
+
3071
+ var _h = _vm.$createElement;
3072
+
3073
+ var _c = _vm._self._c || _h;
3074
+
3075
+ return _c('div', {
3076
+ ref: "tabs",
3077
+ staticClass: "wf-component tabs",
3078
+ class: ['tabs-' + _vm.activeTab, 'tabs-index-' + _vm.activeTabIndex, 'tabs-animate-' + _vm.animate]
3079
+ }, [_c('div', {
3080
+ staticClass: "tabs-content"
3081
+ }, [_vm._t("default")], 2)]);
3045
3082
  };
3046
3083
 
3047
- function warn$2(msg) {
3048
- console.error("[BScroll warn]: " + msg);
3049
- }
3084
+ var __vue_staticRenderFns__$5 = [];
3085
+ /* style */
3050
3086
 
3051
- // ssr support
3052
- var inBrowser$2 = typeof window !== 'undefined';
3053
- var ua$2 = inBrowser$2 && navigator.userAgent.toLowerCase();
3054
- ua$2 && /wechatdevtools/.test(ua$2);
3055
- var isAndroid = ua$2 && ua$2.indexOf('android') > 0;
3087
+ const __vue_inject_styles__$5 = function (inject) {
3088
+ if (!inject) return;
3089
+ inject("data-v-38607192_0", {
3090
+ source: ".tabs[data-v-38607192]{overflow:hidden;position:relative;width:100%;height:100%}.tabs-content[data-v-38607192]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.tabs.tabs-animate-vertical .tabs-content[data-v-38607192]{flex-direction:column}.tab[data-v-38607192]{opacity:0;transition:opacity .3s ease-out .5s}.tab.active[data-v-38607192]{opacity:1;transition:opacity .3s ease-in}.tabs.tabs-animate-horisontal .tabs-content[data-v-38607192],.tabs.tabs-animate-vertical .tabs-content[data-v-38607192]{transition:transform .5s ease-in-out .2s}.tabs-index-1 .tabs-content[data-v-38607192]{transform:translateX(-100%)}.tabs-index-2 .tabs-content[data-v-38607192]{transform:translateX(-200%)}.tabs-index-3 .tabs-content[data-v-38607192]{transform:translateX(-300%)}.tabs-index-4 .tabs-content[data-v-38607192]{transform:translateX(-400%)}.tabs-index-5 .tabs-content[data-v-38607192]{transform:translateX(-500%)}.tabs.tabs-animate-vertical.tabs-index-1 .tabs-content[data-v-38607192]{transform:translateX(0) translateY(-100%)!important}.tabs.tabs-animate-vertical.tabs-index-2 .tabs-content[data-v-38607192]{transform:translateX(0) translateY(-200%)!important}.tabs.tabs-animate-vertical.tabs-index-3 .tabs-content[data-v-38607192]{transform:translateX(0) translateY(-300%)!important}.tabs.tabs-animate-vertical.tabs-index-4 .tabs-content[data-v-38607192]{transform:translateX(0) translateY(-400%)!important}.tabs.tabs-animate-vertical.tabs-index-5 .tabs-content[data-v-38607192]{transform:translateX(0) translateY(-500%)!important}",
3091
+ map: undefined,
3092
+ media: undefined
3093
+ });
3094
+ };
3095
+ /* scoped */
3056
3096
 
3057
- function getNow() {
3058
- return window.performance && window.performance.now
3059
- ? window.performance.now() + window.performance.timing.navigationStart
3060
- : +new Date();
3061
- }
3062
- function extend$1(target) {
3063
- var rest = [];
3064
- for (var _i = 1; _i < arguments.length; _i++) {
3065
- rest[_i - 1] = arguments[_i];
3066
- }
3067
- for (var i = 0; i < rest.length; i++) {
3068
- var source = rest[i];
3069
- for (var key in source) {
3070
- target[key] = source[key];
3071
- }
3072
- }
3073
- return target;
3074
- }
3075
- function isUndef(v) {
3076
- return v === undefined || v === null;
3077
- }
3078
3097
 
3079
- var elementStyle$2 = (inBrowser$2 &&
3080
- document.createElement('div').style);
3081
- var vendor$2 = (function () {
3082
- if (!inBrowser$2) {
3083
- return false;
3098
+ const __vue_scope_id__$5 = "data-v-38607192";
3099
+ /* module identifier */
3100
+
3101
+ const __vue_module_identifier__$5 = undefined;
3102
+ /* functional template */
3103
+
3104
+ const __vue_is_functional_template__$5 = false;
3105
+ /* style inject SSR */
3106
+
3107
+ /* style inject shadow dom */
3108
+
3109
+ const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
3110
+ render: __vue_render__$5,
3111
+ staticRenderFns: __vue_staticRenderFns__$5
3112
+ }, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, createInjector, undefined, undefined);
3113
+
3114
+ //
3115
+ //
3116
+ //
3117
+ //
3118
+ //
3119
+ //
3120
+ var script$4 = {
3121
+ name: 'Tab',
3122
+ props: {
3123
+ name: ''
3124
+ },
3125
+ data: () => ({
3126
+ isActive: false,
3127
+ isVisible: true
3128
+ }),
3129
+
3130
+ created() {},
3131
+
3132
+ methods: {}
3133
+ };
3134
+
3135
+ /* script */
3136
+ const __vue_script__$4 = script$4;
3137
+ /* template */
3138
+
3139
+ var __vue_render__$4 = function () {
3140
+ var _vm = this;
3141
+
3142
+ var _h = _vm.$createElement;
3143
+
3144
+ var _c = _vm._self._c || _h;
3145
+
3146
+ return _c('section', {
3147
+ staticClass: "wf-component tab",
3148
+ class: {
3149
+ 'active': _vm.isActive
3084
3150
  }
3085
- var transformNames = {
3086
- webkit: 'webkitTransform',
3087
- Moz: 'MozTransform',
3088
- O: 'OTransform',
3089
- ms: 'msTransform',
3090
- standard: 'transform'
3151
+ }, [_vm._t("default")], 2);
3152
+ };
3153
+
3154
+ var __vue_staticRenderFns__$4 = [];
3155
+ /* style */
3156
+
3157
+ const __vue_inject_styles__$4 = function (inject) {
3158
+ if (!inject) return;
3159
+ inject("data-v-d4663578_0", {
3160
+ source: ".tab[data-v-d4663578]{width:100%;height:100%;overflow:hidden;flex-grow:1;flex-shrink:0}",
3161
+ map: undefined,
3162
+ media: undefined
3163
+ });
3164
+ };
3165
+ /* scoped */
3166
+
3167
+
3168
+ const __vue_scope_id__$4 = "data-v-d4663578";
3169
+ /* module identifier */
3170
+
3171
+ const __vue_module_identifier__$4 = undefined;
3172
+ /* functional template */
3173
+
3174
+ const __vue_is_functional_template__$4 = false;
3175
+ /* style inject SSR */
3176
+
3177
+ /* style inject shadow dom */
3178
+
3179
+ const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
3180
+ render: __vue_render__$4,
3181
+ staticRenderFns: __vue_staticRenderFns__$4
3182
+ }, __vue_inject_styles__$4, __vue_script__$4, __vue_scope_id__$4, __vue_is_functional_template__$4, __vue_module_identifier__$4, false, createInjector, undefined, undefined);
3183
+
3184
+ //
3185
+ var script$3 = {
3186
+ name: 'Tabs',
3187
+ computed: { ...mapState(['currentTab', 'searchVisible', 'mobile', 'landscape', 'shortcuts', 'language'])
3188
+ },
3189
+
3190
+ data() {
3191
+ return {
3192
+ toilet: false,
3193
+ toiletsIcon: false
3091
3194
  };
3092
- for (var key in transformNames) {
3093
- if (elementStyle$2[transformNames[key]] !== undefined) {
3094
- return key;
3095
- }
3096
- }
3097
- return false;
3195
+ },
3196
+
3197
+ methods: {
3198
+ switchTab(tab) {
3199
+ this.$emit('switchTab', tab);
3200
+ }
3201
+
3202
+ }
3203
+ };
3204
+
3205
+ /* script */
3206
+ const __vue_script__$3 = script$3;
3207
+ /* template */
3208
+
3209
+ var __vue_render__$3 = function () {
3210
+ var _vm = this;
3211
+
3212
+ var _h = _vm.$createElement;
3213
+
3214
+ var _c = _vm._self._c || _h;
3215
+
3216
+ return _c('div', {
3217
+ staticClass: "wf-component tab-buttons"
3218
+ }, [_c('div', {
3219
+ directives: [{
3220
+ name: "show",
3221
+ rawName: "v-show",
3222
+ value: _vm.mobile && !_vm.landscape,
3223
+ expression: "mobile && !landscape"
3224
+ }],
3225
+ staticClass: "item tab-map",
3226
+ class: {
3227
+ active: _vm.currentTab == 'map'
3228
+ },
3229
+ attrs: {
3230
+ "data-translation-element": "map"
3231
+ },
3232
+ on: {
3233
+ "click": function ($event) {
3234
+ return _vm.switchTab('map');
3235
+ }
3236
+ }
3237
+ }), _vm._v(" "), _c('div', {
3238
+ staticClass: "item tab-topics",
3239
+ class: {
3240
+ active: _vm.currentTab == 'groups' || _vm.currentTab == 'group-pois'
3241
+ },
3242
+ attrs: {
3243
+ "data-translation-element": "topics"
3244
+ },
3245
+ on: {
3246
+ "click": function ($event) {
3247
+ return _vm.switchTab('groups');
3248
+ }
3249
+ }
3250
+ }), _vm._v(" "), _c('div', {
3251
+ staticClass: "item tab-az",
3252
+ class: {
3253
+ active: _vm.currentTab == 'az'
3254
+ },
3255
+ attrs: {
3256
+ "data-translation-element": "az"
3257
+ },
3258
+ on: {
3259
+ "click": function ($event) {
3260
+ return _vm.switchTab('az');
3261
+ }
3262
+ }
3263
+ }), _vm._v(" "), _c('div', {
3264
+ staticClass: "item tab-search",
3265
+ class: {
3266
+ active: _vm.currentTab == 'search'
3267
+ },
3268
+ attrs: {
3269
+ "data-translation-element": "search"
3270
+ },
3271
+ on: {
3272
+ "click": function ($event) {
3273
+ return _vm.switchTab('search');
3274
+ }
3275
+ }
3276
+ })]);
3277
+ };
3278
+
3279
+ var __vue_staticRenderFns__$3 = [];
3280
+ /* style */
3281
+
3282
+ const __vue_inject_styles__$3 = function (inject) {
3283
+ if (!inject) return;
3284
+ inject("data-v-d346ebf2_0", {
3285
+ source: ".tab-buttons[data-v-d346ebf2]{display:flex;align-content:stretch;justify-content:space-between}.tab-buttons .item[data-v-d346ebf2]{background-size:auto 30%;background-repeat:no-repeat}",
3286
+ map: undefined,
3287
+ media: undefined
3288
+ });
3289
+ };
3290
+ /* scoped */
3291
+
3292
+
3293
+ const __vue_scope_id__$3 = "data-v-d346ebf2";
3294
+ /* module identifier */
3295
+
3296
+ const __vue_module_identifier__$3 = undefined;
3297
+ /* functional template */
3298
+
3299
+ const __vue_is_functional_template__$3 = false;
3300
+ /* style inject SSR */
3301
+
3302
+ /* style inject shadow dom */
3303
+
3304
+ const __vue_component__$3 = /*#__PURE__*/normalizeComponent({
3305
+ render: __vue_render__$3,
3306
+ staticRenderFns: __vue_staticRenderFns__$3
3307
+ }, __vue_inject_styles__$3, __vue_script__$3, __vue_scope_id__$3, __vue_is_functional_template__$3, __vue_module_identifier__$3, false, createInjector, undefined, undefined);
3308
+
3309
+ /*!
3310
+ * better-scroll / core
3311
+ * (c) 2016-2019 ustbhuangyi
3312
+ * Released under the MIT License.
3313
+ */
3314
+ /*! *****************************************************************************
3315
+ Copyright (c) Microsoft Corporation. All rights reserved.
3316
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
3317
+ this file except in compliance with the License. You may obtain a copy of the
3318
+ License at http://www.apache.org/licenses/LICENSE-2.0
3319
+
3320
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
3321
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
3322
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
3323
+ MERCHANTABLITY OR NON-INFRINGEMENT.
3324
+
3325
+ See the Apache Version 2.0 License for specific language governing permissions
3326
+ and limitations under the License.
3327
+ ***************************************************************************** */
3328
+ /* global Reflect, Promise */
3329
+
3330
+ var extendStatics = function(d, b) {
3331
+ extendStatics = Object.setPrototypeOf ||
3332
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3333
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
3334
+ return extendStatics(d, b);
3335
+ };
3336
+
3337
+ function __extends(d, b) {
3338
+ extendStatics(d, b);
3339
+ function __() { this.constructor = d; }
3340
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3341
+ }
3342
+
3343
+ var __assign = function() {
3344
+ __assign = Object.assign || function __assign(t) {
3345
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
3346
+ s = arguments[i];
3347
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3348
+ }
3349
+ return t;
3350
+ };
3351
+ return __assign.apply(this, arguments);
3352
+ };
3353
+
3354
+ function warn$2(msg) {
3355
+ console.error("[BScroll warn]: " + msg);
3356
+ }
3357
+
3358
+ // ssr support
3359
+ var inBrowser$2 = typeof window !== 'undefined';
3360
+ var ua$2 = inBrowser$2 && navigator.userAgent.toLowerCase();
3361
+ ua$2 && /wechatdevtools/.test(ua$2);
3362
+ var isAndroid = ua$2 && ua$2.indexOf('android') > 0;
3363
+
3364
+ function getNow() {
3365
+ return window.performance && window.performance.now
3366
+ ? window.performance.now() + window.performance.timing.navigationStart
3367
+ : +new Date();
3368
+ }
3369
+ function extend$1(target) {
3370
+ var rest = [];
3371
+ for (var _i = 1; _i < arguments.length; _i++) {
3372
+ rest[_i - 1] = arguments[_i];
3373
+ }
3374
+ for (var i = 0; i < rest.length; i++) {
3375
+ var source = rest[i];
3376
+ for (var key in source) {
3377
+ target[key] = source[key];
3378
+ }
3379
+ }
3380
+ return target;
3381
+ }
3382
+ function isUndef(v) {
3383
+ return v === undefined || v === null;
3384
+ }
3385
+
3386
+ var elementStyle$2 = (inBrowser$2 &&
3387
+ document.createElement('div').style);
3388
+ var vendor$2 = (function () {
3389
+ if (!inBrowser$2) {
3390
+ return false;
3391
+ }
3392
+ var transformNames = {
3393
+ webkit: 'webkitTransform',
3394
+ Moz: 'MozTransform',
3395
+ O: 'OTransform',
3396
+ ms: 'msTransform',
3397
+ standard: 'transform'
3398
+ };
3399
+ for (var key in transformNames) {
3400
+ if (elementStyle$2[transformNames[key]] !== undefined) {
3401
+ return key;
3402
+ }
3403
+ }
3404
+ return false;
3098
3405
  })();
3099
3406
  function prefixStyle$2(style) {
3100
3407
  if (vendor$2 === false) {
@@ -6058,354 +6365,6 @@ var MouseWheel = /** @class */ (function () {
6058
6365
  return MouseWheel;
6059
6366
  }());
6060
6367
 
6061
- //
6062
- BScroll.use(ScrollBar);
6063
- BScroll.use(MouseWheel);
6064
- var script$5 = {
6065
- name: 'Tabs',
6066
- props: {
6067
- activeTab: ''
6068
- },
6069
- data: () => ({
6070
- tabs: [],
6071
- activeTabIndex: 0,
6072
- currentTab: null,
6073
- scroll: null,
6074
- scrollOptions: {
6075
- scrollbar: {
6076
- fade: false,
6077
- interactive: true
6078
- },
6079
- click: true,
6080
- mouseWheel: {
6081
- speed: 20,
6082
- invert: false
6083
- }
6084
- }
6085
- }),
6086
-
6087
- created() {
6088
- this.tabs = this.$children;
6089
- },
6090
-
6091
- updated() {
6092
- this.$nextTick(() => {
6093
- if (this.scroll && this.currentTab != null) {
6094
- this.scroll.refresh();
6095
- }
6096
- });
6097
- },
6098
-
6099
- mounted() {
6100
- if (this.$props.activeTab) {
6101
- this.activate(this.$props.activeTab);
6102
- } else {
6103
- console.log('no active tab');
6104
- }
6105
-
6106
- this.$nextTick(() => {
6107
- if (this.currentTab != null) {
6108
- this.scroll = new BScroll(this.$refs.tabs, this.scrollOptions);
6109
- }
6110
- });
6111
- },
6112
-
6113
- watch: {
6114
- activeTab: function (newVal) {
6115
- // watch it
6116
- if (newVal) {
6117
- this.activate(newVal);
6118
- }
6119
- }
6120
- },
6121
- methods: {
6122
- activate() {
6123
- this.currentTab = null;
6124
-
6125
- for (var tab in this.tabs) {
6126
- console.log('tab', tab);
6127
-
6128
- if (this.tabs[tab].name == this.$props.activeTab) {
6129
- this.tabs[tab].isActive = true;
6130
- this.$emit('tabChanged', this.tabs[tab]);
6131
- this.currentTab = this.tabs[tab];
6132
- this.activeTabIndex = tab;
6133
- } else {
6134
- this.tabs[tab].isActive = false;
6135
- }
6136
- }
6137
-
6138
- if (this.$props.activeTab !== "search") {
6139
- this.makeScroll();
6140
- }
6141
- },
6142
-
6143
- makeScroll() {
6144
- this.$nextTick(() => {
6145
- this.$nextTick(() => {
6146
- if (this.scroll) {
6147
- this.scroll.destroy();
6148
- this.scroll = null;
6149
- }
6150
-
6151
- if (this.currentTab != null) {
6152
- this.scroll = new BScroll(this.$refs.tabs, this.scrollOptions);
6153
- }
6154
- });
6155
- });
6156
- },
6157
-
6158
- move() {//console.log('move');
6159
- }
6160
-
6161
- }
6162
- };
6163
-
6164
- /* script */
6165
- const __vue_script__$5 = script$5;
6166
- /* template */
6167
-
6168
- var __vue_render__$5 = function () {
6169
- var _vm = this;
6170
-
6171
- var _h = _vm.$createElement;
6172
-
6173
- var _c = _vm._self._c || _h;
6174
-
6175
- return _c('div', {
6176
- ref: "tabs",
6177
- staticClass: "wf-component tabs",
6178
- class: ['tabs-' + _vm.activeTab, 'tabs-index-' + _vm.activeTabIndex]
6179
- }, [_c('div', {
6180
- staticClass: "tabs-content"
6181
- }, [_vm._t("default")], 2)]);
6182
- };
6183
-
6184
- var __vue_staticRenderFns__$5 = [];
6185
- /* style */
6186
-
6187
- const __vue_inject_styles__$5 = function (inject) {
6188
- if (!inject) return;
6189
- inject("data-v-31904bda_0", {
6190
- source: ".tabs[data-v-31904bda]{overflow:hidden;position:relative;width:100%;height:100%}.tabs-content[data-v-31904bda]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0);transition:transform .5s ease-in-out}.tabs-index-1 .tabs-content[data-v-31904bda]{transform:translateX(-100%)}.tabs-index-2 .tabs-content[data-v-31904bda]{transform:translateX(-200%)}.tabs-index-3 .tabs-content[data-v-31904bda]{transform:translateX(-300%)}.tabs-index-4 .tabs-content[data-v-31904bda]{transform:translateX(-400%)}.tabs-index-5 .tabs-content[data-v-31904bda]{transform:translateX(-500%)}",
6191
- map: undefined,
6192
- media: undefined
6193
- });
6194
- };
6195
- /* scoped */
6196
-
6197
-
6198
- const __vue_scope_id__$5 = "data-v-31904bda";
6199
- /* module identifier */
6200
-
6201
- const __vue_module_identifier__$5 = undefined;
6202
- /* functional template */
6203
-
6204
- const __vue_is_functional_template__$5 = false;
6205
- /* style inject SSR */
6206
-
6207
- /* style inject shadow dom */
6208
-
6209
- const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
6210
- render: __vue_render__$5,
6211
- staticRenderFns: __vue_staticRenderFns__$5
6212
- }, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, createInjector, undefined, undefined);
6213
-
6214
- //
6215
- //
6216
- //
6217
- //
6218
- //
6219
- //
6220
- var script$4 = {
6221
- name: 'Tab',
6222
- props: {
6223
- name: ''
6224
- },
6225
- data: () => ({
6226
- isActive: false,
6227
- isVisible: true
6228
- }),
6229
-
6230
- created() {},
6231
-
6232
- methods: {}
6233
- };
6234
-
6235
- /* script */
6236
- const __vue_script__$4 = script$4;
6237
- /* template */
6238
-
6239
- var __vue_render__$4 = function () {
6240
- var _vm = this;
6241
-
6242
- var _h = _vm.$createElement;
6243
-
6244
- var _c = _vm._self._c || _h;
6245
-
6246
- return _c('section', {
6247
- staticClass: "wf-component tab",
6248
- class: {
6249
- 'active': _vm.isActive
6250
- }
6251
- }, [_vm._t("default")], 2);
6252
- };
6253
-
6254
- var __vue_staticRenderFns__$4 = [];
6255
- /* style */
6256
-
6257
- const __vue_inject_styles__$4 = function (inject) {
6258
- if (!inject) return;
6259
- inject("data-v-d4663578_0", {
6260
- source: ".tab[data-v-d4663578]{width:100%;height:100%;overflow:hidden;flex-grow:1;flex-shrink:0}",
6261
- map: undefined,
6262
- media: undefined
6263
- });
6264
- };
6265
- /* scoped */
6266
-
6267
-
6268
- const __vue_scope_id__$4 = "data-v-d4663578";
6269
- /* module identifier */
6270
-
6271
- const __vue_module_identifier__$4 = undefined;
6272
- /* functional template */
6273
-
6274
- const __vue_is_functional_template__$4 = false;
6275
- /* style inject SSR */
6276
-
6277
- /* style inject shadow dom */
6278
-
6279
- const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
6280
- render: __vue_render__$4,
6281
- staticRenderFns: __vue_staticRenderFns__$4
6282
- }, __vue_inject_styles__$4, __vue_script__$4, __vue_scope_id__$4, __vue_is_functional_template__$4, __vue_module_identifier__$4, false, createInjector, undefined, undefined);
6283
-
6284
- //
6285
- var script$3 = {
6286
- name: 'Tabs',
6287
- computed: { ...mapState(['currentTab', 'searchVisible', 'mobile', 'landscape', 'shortcuts', 'language'])
6288
- },
6289
-
6290
- data() {
6291
- return {
6292
- toilet: false,
6293
- toiletsIcon: false
6294
- };
6295
- },
6296
-
6297
- methods: {
6298
- switchTab(tab) {
6299
- this.$emit('switchTab', tab);
6300
- }
6301
-
6302
- }
6303
- };
6304
-
6305
- /* script */
6306
- const __vue_script__$3 = script$3;
6307
- /* template */
6308
-
6309
- var __vue_render__$3 = function () {
6310
- var _vm = this;
6311
-
6312
- var _h = _vm.$createElement;
6313
-
6314
- var _c = _vm._self._c || _h;
6315
-
6316
- return _c('div', {
6317
- staticClass: "wf-component tab-buttons"
6318
- }, [_c('div', {
6319
- directives: [{
6320
- name: "show",
6321
- rawName: "v-show",
6322
- value: _vm.mobile && !_vm.landscape,
6323
- expression: "mobile && !landscape"
6324
- }],
6325
- staticClass: "item tab-map",
6326
- class: {
6327
- active: _vm.currentTab == 'map'
6328
- },
6329
- attrs: {
6330
- "data-translation-element": "map"
6331
- },
6332
- on: {
6333
- "click": function ($event) {
6334
- return _vm.switchTab('map');
6335
- }
6336
- }
6337
- }), _vm._v(" "), _c('div', {
6338
- staticClass: "item tab-topics",
6339
- class: {
6340
- active: _vm.currentTab == 'groups' || _vm.currentTab == 'group-pois'
6341
- },
6342
- attrs: {
6343
- "data-translation-element": "topics"
6344
- },
6345
- on: {
6346
- "click": function ($event) {
6347
- return _vm.switchTab('groups');
6348
- }
6349
- }
6350
- }), _vm._v(" "), _c('div', {
6351
- staticClass: "item tab-az",
6352
- class: {
6353
- active: _vm.currentTab == 'az'
6354
- },
6355
- attrs: {
6356
- "data-translation-element": "az"
6357
- },
6358
- on: {
6359
- "click": function ($event) {
6360
- return _vm.switchTab('az');
6361
- }
6362
- }
6363
- }), _vm._v(" "), _c('div', {
6364
- staticClass: "item tab-search",
6365
- class: {
6366
- active: _vm.currentTab == 'search'
6367
- },
6368
- attrs: {
6369
- "data-translation-element": "search"
6370
- },
6371
- on: {
6372
- "click": function ($event) {
6373
- return _vm.switchTab('search');
6374
- }
6375
- }
6376
- })]);
6377
- };
6378
-
6379
- var __vue_staticRenderFns__$3 = [];
6380
- /* style */
6381
-
6382
- const __vue_inject_styles__$3 = function (inject) {
6383
- if (!inject) return;
6384
- inject("data-v-d346ebf2_0", {
6385
- source: ".tab-buttons[data-v-d346ebf2]{display:flex;align-content:stretch;justify-content:space-between}.tab-buttons .item[data-v-d346ebf2]{background-size:auto 30%;background-repeat:no-repeat}",
6386
- map: undefined,
6387
- media: undefined
6388
- });
6389
- };
6390
- /* scoped */
6391
-
6392
-
6393
- const __vue_scope_id__$3 = "data-v-d346ebf2";
6394
- /* module identifier */
6395
-
6396
- const __vue_module_identifier__$3 = undefined;
6397
- /* functional template */
6398
-
6399
- const __vue_is_functional_template__$3 = false;
6400
- /* style inject SSR */
6401
-
6402
- /* style inject shadow dom */
6403
-
6404
- const __vue_component__$3 = /*#__PURE__*/normalizeComponent({
6405
- render: __vue_render__$3,
6406
- staticRenderFns: __vue_staticRenderFns__$3
6407
- }, __vue_inject_styles__$3, __vue_script__$3, __vue_scope_id__$3, __vue_is_functional_template__$3, __vue_module_identifier__$3, false, createInjector, undefined, undefined);
6408
-
6409
6368
  //
6410
6369
  BScroll.use(ScrollBar);
6411
6370
  BScroll.use(MouseWheel);