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