@abi-software/flatmapvuer 0.3.9 → 0.3.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.
- package/dist/flatmapvuer.common.js +272 -1927
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +272 -1927
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +4 -4
- package/package.json +2 -2
- package/src/App.vue +6 -8
- package/src/components/FlatmapVuer.vue +17 -7
- package/src/components/PubmedViewer.vue +29 -78
- package/src/components/Tooltip.vue +35 -32
|
@@ -94,13 +94,6 @@ module.exports =
|
|
|
94
94
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
|
-
/***/ "0875":
|
|
98
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
99
|
-
|
|
100
|
-
// extracted by mini-css-extract-plugin
|
|
101
|
-
|
|
102
|
-
/***/ }),
|
|
103
|
-
|
|
104
97
|
/***/ "0f6c":
|
|
105
98
|
/***/ (function(module, exports) {
|
|
106
99
|
|
|
@@ -723,14 +716,14 @@ module.exports = __webpack_require__("e62d");
|
|
|
723
716
|
|
|
724
717
|
/***/ }),
|
|
725
718
|
|
|
726
|
-
/***/ "
|
|
719
|
+
/***/ "1951":
|
|
727
720
|
/***/ (function(module, exports, __webpack_require__) {
|
|
728
721
|
|
|
729
722
|
// extracted by mini-css-extract-plugin
|
|
730
723
|
|
|
731
724
|
/***/ }),
|
|
732
725
|
|
|
733
|
-
/***/ "
|
|
726
|
+
/***/ "1959":
|
|
734
727
|
/***/ (function(module, exports, __webpack_require__) {
|
|
735
728
|
|
|
736
729
|
// extracted by mini-css-extract-plugin
|
|
@@ -758,18 +751,29 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
758
751
|
|
|
759
752
|
/***/ }),
|
|
760
753
|
|
|
761
|
-
/***/ "
|
|
762
|
-
/***/ (function(module, exports) {
|
|
754
|
+
/***/ "1f1a":
|
|
755
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
763
756
|
|
|
764
|
-
|
|
757
|
+
// extracted by mini-css-extract-plugin
|
|
765
758
|
|
|
766
759
|
/***/ }),
|
|
767
760
|
|
|
768
|
-
/***/ "
|
|
761
|
+
/***/ "21d1":
|
|
769
762
|
/***/ (function(module, exports, __webpack_require__) {
|
|
770
763
|
|
|
771
764
|
// extracted by mini-css-extract-plugin
|
|
772
765
|
|
|
766
|
+
/***/ }),
|
|
767
|
+
|
|
768
|
+
/***/ "233b":
|
|
769
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
770
|
+
|
|
771
|
+
"use strict";
|
|
772
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
|
|
773
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
774
|
+
/* unused harmony reexport * */
|
|
775
|
+
|
|
776
|
+
|
|
773
777
|
/***/ }),
|
|
774
778
|
|
|
775
779
|
/***/ "2439":
|
|
@@ -907,7 +911,14 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
907
911
|
|
|
908
912
|
/***/ }),
|
|
909
913
|
|
|
910
|
-
/***/ "
|
|
914
|
+
/***/ "30df":
|
|
915
|
+
/***/ (function(module, exports) {
|
|
916
|
+
|
|
917
|
+
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
918
|
+
|
|
919
|
+
/***/ }),
|
|
920
|
+
|
|
921
|
+
/***/ "3d2d":
|
|
911
922
|
/***/ (function(module, exports, __webpack_require__) {
|
|
912
923
|
|
|
913
924
|
module.exports =
|
|
@@ -994,7 +1005,7 @@ module.exports =
|
|
|
994
1005
|
/******/
|
|
995
1006
|
/******/
|
|
996
1007
|
/******/ // Load entry module and return exports
|
|
997
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1008
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
998
1009
|
/******/ })
|
|
999
1010
|
/************************************************************************/
|
|
1000
1011
|
/******/ ({
|
|
@@ -1101,55 +1112,21 @@ function normalizeComponent (
|
|
|
1101
1112
|
|
|
1102
1113
|
/***/ }),
|
|
1103
1114
|
|
|
1104
|
-
/***/
|
|
1115
|
+
/***/ 116:
|
|
1105
1116
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1106
1117
|
|
|
1107
1118
|
"use strict";
|
|
1108
1119
|
__webpack_require__.r(__webpack_exports__);
|
|
1109
1120
|
|
|
1110
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
1121
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=template&id=5bf181d4&
|
|
1111
1122
|
var render = function() {
|
|
1112
1123
|
var _vm = this
|
|
1113
1124
|
var _h = _vm.$createElement
|
|
1114
1125
|
var _c = _vm._self._c || _h
|
|
1115
1126
|
return _c(
|
|
1116
|
-
"
|
|
1117
|
-
{
|
|
1118
|
-
|
|
1119
|
-
{
|
|
1120
|
-
name: "show",
|
|
1121
|
-
rawName: "v-show",
|
|
1122
|
-
value: _vm.ready,
|
|
1123
|
-
expression: "ready"
|
|
1124
|
-
}
|
|
1125
|
-
],
|
|
1126
|
-
staticClass: "el-carousel__item",
|
|
1127
|
-
class: {
|
|
1128
|
-
"is-active": _vm.active,
|
|
1129
|
-
"el-carousel__item--card": _vm.$parent.type === "card",
|
|
1130
|
-
"is-in-stage": _vm.inStage,
|
|
1131
|
-
"is-hover": _vm.hover,
|
|
1132
|
-
"is-animating": _vm.animating
|
|
1133
|
-
},
|
|
1134
|
-
style: _vm.itemStyle,
|
|
1135
|
-
on: { click: _vm.handleItemClick }
|
|
1136
|
-
},
|
|
1137
|
-
[
|
|
1138
|
-
_vm.$parent.type === "card"
|
|
1139
|
-
? _c("div", {
|
|
1140
|
-
directives: [
|
|
1141
|
-
{
|
|
1142
|
-
name: "show",
|
|
1143
|
-
rawName: "v-show",
|
|
1144
|
-
value: !_vm.active,
|
|
1145
|
-
expression: "!active"
|
|
1146
|
-
}
|
|
1147
|
-
],
|
|
1148
|
-
staticClass: "el-carousel__mask"
|
|
1149
|
-
})
|
|
1150
|
-
: _vm._e(),
|
|
1151
|
-
_vm._t("default")
|
|
1152
|
-
],
|
|
1127
|
+
"section",
|
|
1128
|
+
{ staticClass: "el-container", class: { "is-vertical": _vm.isVertical } },
|
|
1129
|
+
[_vm._t("default")],
|
|
1153
1130
|
2
|
|
1154
1131
|
)
|
|
1155
1132
|
}
|
|
@@ -1157,28 +1134,9 @@ var staticRenderFns = []
|
|
|
1157
1134
|
render._withStripped = true
|
|
1158
1135
|
|
|
1159
1136
|
|
|
1160
|
-
// CONCATENATED MODULE: ./packages/
|
|
1161
|
-
|
|
1162
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
1163
|
-
var util_ = __webpack_require__(3);
|
|
1137
|
+
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=template&id=5bf181d4&
|
|
1164
1138
|
|
|
1165
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
1166
|
-
//
|
|
1167
|
-
//
|
|
1168
|
-
//
|
|
1169
|
-
//
|
|
1170
|
-
//
|
|
1171
|
-
//
|
|
1172
|
-
//
|
|
1173
|
-
//
|
|
1174
|
-
//
|
|
1175
|
-
//
|
|
1176
|
-
//
|
|
1177
|
-
//
|
|
1178
|
-
//
|
|
1179
|
-
//
|
|
1180
|
-
//
|
|
1181
|
-
//
|
|
1139
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=script&lang=js&
|
|
1182
1140
|
//
|
|
1183
1141
|
//
|
|
1184
1142
|
//
|
|
@@ -1186,121 +1144,35 @@ var util_ = __webpack_require__(3);
|
|
|
1186
1144
|
//
|
|
1187
1145
|
//
|
|
1188
1146
|
|
|
1147
|
+
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
1148
|
+
name: 'ElContainer',
|
|
1189
1149
|
|
|
1190
|
-
|
|
1191
|
-
/* harmony default export */ var itemvue_type_script_lang_js_ = ({
|
|
1192
|
-
name: 'ElCarouselItem',
|
|
1150
|
+
componentName: 'ElContainer',
|
|
1193
1151
|
|
|
1194
1152
|
props: {
|
|
1195
|
-
|
|
1196
|
-
label: {
|
|
1197
|
-
type: [String, Number],
|
|
1198
|
-
default: ''
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
|
|
1202
|
-
data: function data() {
|
|
1203
|
-
return {
|
|
1204
|
-
hover: false,
|
|
1205
|
-
translate: 0,
|
|
1206
|
-
scale: 1,
|
|
1207
|
-
active: false,
|
|
1208
|
-
ready: false,
|
|
1209
|
-
inStage: false,
|
|
1210
|
-
animating: false
|
|
1211
|
-
};
|
|
1212
|
-
},
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
methods: {
|
|
1216
|
-
processIndex: function processIndex(index, activeIndex, length) {
|
|
1217
|
-
if (activeIndex === 0 && index === length - 1) {
|
|
1218
|
-
return -1;
|
|
1219
|
-
} else if (activeIndex === length - 1 && index === 0) {
|
|
1220
|
-
return length;
|
|
1221
|
-
} else if (index < activeIndex - 1 && activeIndex - index >= length / 2) {
|
|
1222
|
-
return length + 1;
|
|
1223
|
-
} else if (index > activeIndex + 1 && index - activeIndex >= length / 2) {
|
|
1224
|
-
return -2;
|
|
1225
|
-
}
|
|
1226
|
-
return index;
|
|
1227
|
-
},
|
|
1228
|
-
calcCardTranslate: function calcCardTranslate(index, activeIndex) {
|
|
1229
|
-
var parentWidth = this.$parent.$el.offsetWidth;
|
|
1230
|
-
if (this.inStage) {
|
|
1231
|
-
return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4;
|
|
1232
|
-
} else if (index < activeIndex) {
|
|
1233
|
-
return -(1 + CARD_SCALE) * parentWidth / 4;
|
|
1234
|
-
} else {
|
|
1235
|
-
return (3 + CARD_SCALE) * parentWidth / 4;
|
|
1236
|
-
}
|
|
1237
|
-
},
|
|
1238
|
-
calcTranslate: function calcTranslate(index, activeIndex, isVertical) {
|
|
1239
|
-
var distance = this.$parent.$el[isVertical ? 'offsetHeight' : 'offsetWidth'];
|
|
1240
|
-
return distance * (index - activeIndex);
|
|
1241
|
-
},
|
|
1242
|
-
translateItem: function translateItem(index, activeIndex, oldIndex) {
|
|
1243
|
-
var parentType = this.$parent.type;
|
|
1244
|
-
var parentDirection = this.parentDirection;
|
|
1245
|
-
var length = this.$parent.items.length;
|
|
1246
|
-
if (parentType !== 'card' && oldIndex !== undefined) {
|
|
1247
|
-
this.animating = index === activeIndex || index === oldIndex;
|
|
1248
|
-
}
|
|
1249
|
-
if (index !== activeIndex && length > 2 && this.$parent.loop) {
|
|
1250
|
-
index = this.processIndex(index, activeIndex, length);
|
|
1251
|
-
}
|
|
1252
|
-
if (parentType === 'card') {
|
|
1253
|
-
if (parentDirection === 'vertical') {
|
|
1254
|
-
console.warn('[Element Warn][Carousel]vertical direction is not supported in card mode');
|
|
1255
|
-
}
|
|
1256
|
-
this.inStage = Math.round(Math.abs(index - activeIndex)) <= 1;
|
|
1257
|
-
this.active = index === activeIndex;
|
|
1258
|
-
this.translate = this.calcCardTranslate(index, activeIndex);
|
|
1259
|
-
this.scale = this.active ? 1 : CARD_SCALE;
|
|
1260
|
-
} else {
|
|
1261
|
-
this.active = index === activeIndex;
|
|
1262
|
-
var isVertical = parentDirection === 'vertical';
|
|
1263
|
-
this.translate = this.calcTranslate(index, activeIndex, isVertical);
|
|
1264
|
-
this.scale = 1;
|
|
1265
|
-
}
|
|
1266
|
-
this.ready = true;
|
|
1267
|
-
},
|
|
1268
|
-
handleItemClick: function handleItemClick() {
|
|
1269
|
-
var parent = this.$parent;
|
|
1270
|
-
if (parent && parent.type === 'card') {
|
|
1271
|
-
var index = parent.items.indexOf(this);
|
|
1272
|
-
parent.setActiveItem(index);
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1153
|
+
direction: String
|
|
1275
1154
|
},
|
|
1276
1155
|
|
|
1277
1156
|
computed: {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1157
|
+
isVertical: function isVertical() {
|
|
1158
|
+
if (this.direction === 'vertical') {
|
|
1159
|
+
return true;
|
|
1160
|
+
} else if (this.direction === 'horizontal') {
|
|
1161
|
+
return false;
|
|
1162
|
+
}
|
|
1163
|
+
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
|
|
1164
|
+
var tag = vnode.componentOptions && vnode.componentOptions.tag;
|
|
1165
|
+
return tag === 'el-header' || tag === 'el-footer';
|
|
1166
|
+
}) : false;
|
|
1288
1167
|
}
|
|
1289
|
-
},
|
|
1290
|
-
|
|
1291
|
-
created: function created() {
|
|
1292
|
-
this.$parent && this.$parent.updateItems();
|
|
1293
|
-
},
|
|
1294
|
-
destroyed: function destroyed() {
|
|
1295
|
-
this.$parent && this.$parent.updateItems();
|
|
1296
1168
|
}
|
|
1297
1169
|
});
|
|
1298
|
-
// CONCATENATED MODULE: ./packages/
|
|
1299
|
-
/* harmony default export */ var
|
|
1170
|
+
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=script&lang=js&
|
|
1171
|
+
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
1300
1172
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1301
1173
|
var componentNormalizer = __webpack_require__(0);
|
|
1302
1174
|
|
|
1303
|
-
// CONCATENATED MODULE: ./packages/
|
|
1175
|
+
// CONCATENATED MODULE: ./packages/container/src/main.vue
|
|
1304
1176
|
|
|
1305
1177
|
|
|
1306
1178
|
|
|
@@ -1309,7 +1181,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
1309
1181
|
/* normalize component */
|
|
1310
1182
|
|
|
1311
1183
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
1312
|
-
|
|
1184
|
+
src_mainvue_type_script_lang_js_,
|
|
1313
1185
|
render,
|
|
1314
1186
|
staticRenderFns,
|
|
1315
1187
|
false,
|
|
@@ -1321,24 +1193,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1321
1193
|
|
|
1322
1194
|
/* hot reload */
|
|
1323
1195
|
if (false) { var api; }
|
|
1324
|
-
component.options.__file = "packages/
|
|
1325
|
-
/* harmony default export */ var
|
|
1326
|
-
// CONCATENATED MODULE: ./packages/
|
|
1196
|
+
component.options.__file = "packages/container/src/main.vue"
|
|
1197
|
+
/* harmony default export */ var main = (component.exports);
|
|
1198
|
+
// CONCATENATED MODULE: ./packages/container/index.js
|
|
1327
1199
|
|
|
1328
1200
|
|
|
1329
1201
|
/* istanbul ignore next */
|
|
1330
|
-
|
|
1331
|
-
Vue.component(
|
|
1202
|
+
main.install = function (Vue) {
|
|
1203
|
+
Vue.component(main.name, main);
|
|
1332
1204
|
};
|
|
1333
1205
|
|
|
1334
|
-
/* harmony default export */ var
|
|
1335
|
-
|
|
1336
|
-
/***/ }),
|
|
1337
|
-
|
|
1338
|
-
/***/ 3:
|
|
1339
|
-
/***/ (function(module, exports) {
|
|
1340
|
-
|
|
1341
|
-
module.exports = __webpack_require__("8122");
|
|
1206
|
+
/* harmony default export */ var container = __webpack_exports__["default"] = (main);
|
|
1342
1207
|
|
|
1343
1208
|
/***/ })
|
|
1344
1209
|
|
|
@@ -1346,323 +1211,23 @@ module.exports = __webpack_require__("8122");
|
|
|
1346
1211
|
|
|
1347
1212
|
/***/ }),
|
|
1348
1213
|
|
|
1349
|
-
/***/ "
|
|
1350
|
-
/***/ (function(module, exports) {
|
|
1214
|
+
/***/ "3ec8":
|
|
1215
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1351
1216
|
|
|
1352
|
-
|
|
1217
|
+
// extracted by mini-css-extract-plugin
|
|
1353
1218
|
|
|
1354
1219
|
/***/ }),
|
|
1355
1220
|
|
|
1356
|
-
/***/ "
|
|
1221
|
+
/***/ "4010":
|
|
1357
1222
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1358
1223
|
|
|
1359
|
-
|
|
1360
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
1361
|
-
/******/ // The module cache
|
|
1362
|
-
/******/ var installedModules = {};
|
|
1363
|
-
/******/
|
|
1364
|
-
/******/ // The require function
|
|
1365
|
-
/******/ function __webpack_require__(moduleId) {
|
|
1366
|
-
/******/
|
|
1367
|
-
/******/ // Check if module is in cache
|
|
1368
|
-
/******/ if(installedModules[moduleId]) {
|
|
1369
|
-
/******/ return installedModules[moduleId].exports;
|
|
1370
|
-
/******/ }
|
|
1371
|
-
/******/ // Create a new module (and put it into the cache)
|
|
1372
|
-
/******/ var module = installedModules[moduleId] = {
|
|
1373
|
-
/******/ i: moduleId,
|
|
1374
|
-
/******/ l: false,
|
|
1375
|
-
/******/ exports: {}
|
|
1376
|
-
/******/ };
|
|
1377
|
-
/******/
|
|
1378
|
-
/******/ // Execute the module function
|
|
1379
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1380
|
-
/******/
|
|
1381
|
-
/******/ // Flag the module as loaded
|
|
1382
|
-
/******/ module.l = true;
|
|
1383
|
-
/******/
|
|
1384
|
-
/******/ // Return the exports of the module
|
|
1385
|
-
/******/ return module.exports;
|
|
1386
|
-
/******/ }
|
|
1387
|
-
/******/
|
|
1388
|
-
/******/
|
|
1389
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
1390
|
-
/******/ __webpack_require__.m = modules;
|
|
1391
|
-
/******/
|
|
1392
|
-
/******/ // expose the module cache
|
|
1393
|
-
/******/ __webpack_require__.c = installedModules;
|
|
1394
|
-
/******/
|
|
1395
|
-
/******/ // define getter function for harmony exports
|
|
1396
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
1397
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
1398
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
1399
|
-
/******/ }
|
|
1400
|
-
/******/ };
|
|
1401
|
-
/******/
|
|
1402
|
-
/******/ // define __esModule on exports
|
|
1403
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
1404
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1405
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1406
|
-
/******/ }
|
|
1407
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1408
|
-
/******/ };
|
|
1409
|
-
/******/
|
|
1410
|
-
/******/ // create a fake namespace object
|
|
1411
|
-
/******/ // mode & 1: value is a module id, require it
|
|
1412
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
1413
|
-
/******/ // mode & 4: return value when already ns object
|
|
1414
|
-
/******/ // mode & 8|1: behave like require
|
|
1415
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
1416
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
1417
|
-
/******/ if(mode & 8) return value;
|
|
1418
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
1419
|
-
/******/ var ns = Object.create(null);
|
|
1420
|
-
/******/ __webpack_require__.r(ns);
|
|
1421
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
1422
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
1423
|
-
/******/ return ns;
|
|
1424
|
-
/******/ };
|
|
1425
|
-
/******/
|
|
1426
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
1427
|
-
/******/ __webpack_require__.n = function(module) {
|
|
1428
|
-
/******/ var getter = module && module.__esModule ?
|
|
1429
|
-
/******/ function getDefault() { return module['default']; } :
|
|
1430
|
-
/******/ function getModuleExports() { return module; };
|
|
1431
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
1432
|
-
/******/ return getter;
|
|
1433
|
-
/******/ };
|
|
1434
|
-
/******/
|
|
1435
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
1436
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
1437
|
-
/******/
|
|
1438
|
-
/******/ // __webpack_public_path__
|
|
1439
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
1440
|
-
/******/
|
|
1441
|
-
/******/
|
|
1442
|
-
/******/ // Load entry module and return exports
|
|
1443
|
-
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1444
|
-
/******/ })
|
|
1445
|
-
/************************************************************************/
|
|
1446
|
-
/******/ ({
|
|
1224
|
+
"use strict";
|
|
1447
1225
|
|
|
1448
|
-
/***/ 0:
|
|
1449
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1450
1226
|
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
1227
|
+
exports.__esModule = true;
|
|
1228
|
+
exports.removeResizeListener = exports.addResizeListener = undefined;
|
|
1454
1229
|
|
|
1455
|
-
|
|
1456
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
1457
|
-
// be included in the final webpack user bundle.
|
|
1458
|
-
|
|
1459
|
-
function normalizeComponent (
|
|
1460
|
-
scriptExports,
|
|
1461
|
-
render,
|
|
1462
|
-
staticRenderFns,
|
|
1463
|
-
functionalTemplate,
|
|
1464
|
-
injectStyles,
|
|
1465
|
-
scopeId,
|
|
1466
|
-
moduleIdentifier, /* server only */
|
|
1467
|
-
shadowMode /* vue-cli only */
|
|
1468
|
-
) {
|
|
1469
|
-
// Vue.extend constructor export interop
|
|
1470
|
-
var options = typeof scriptExports === 'function'
|
|
1471
|
-
? scriptExports.options
|
|
1472
|
-
: scriptExports
|
|
1473
|
-
|
|
1474
|
-
// render functions
|
|
1475
|
-
if (render) {
|
|
1476
|
-
options.render = render
|
|
1477
|
-
options.staticRenderFns = staticRenderFns
|
|
1478
|
-
options._compiled = true
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
// functional template
|
|
1482
|
-
if (functionalTemplate) {
|
|
1483
|
-
options.functional = true
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
// scopedId
|
|
1487
|
-
if (scopeId) {
|
|
1488
|
-
options._scopeId = 'data-v-' + scopeId
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
var hook
|
|
1492
|
-
if (moduleIdentifier) { // server build
|
|
1493
|
-
hook = function (context) {
|
|
1494
|
-
// 2.3 injection
|
|
1495
|
-
context =
|
|
1496
|
-
context || // cached call
|
|
1497
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1498
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
1499
|
-
// 2.2 with runInNewContext: true
|
|
1500
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1501
|
-
context = __VUE_SSR_CONTEXT__
|
|
1502
|
-
}
|
|
1503
|
-
// inject component styles
|
|
1504
|
-
if (injectStyles) {
|
|
1505
|
-
injectStyles.call(this, context)
|
|
1506
|
-
}
|
|
1507
|
-
// register component module identifier for async chunk inferrence
|
|
1508
|
-
if (context && context._registeredComponents) {
|
|
1509
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
// used by ssr in case component is cached and beforeCreate
|
|
1513
|
-
// never gets called
|
|
1514
|
-
options._ssrRegister = hook
|
|
1515
|
-
} else if (injectStyles) {
|
|
1516
|
-
hook = shadowMode
|
|
1517
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
1518
|
-
: injectStyles
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
if (hook) {
|
|
1522
|
-
if (options.functional) {
|
|
1523
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
1524
|
-
// go through the normalizer
|
|
1525
|
-
options._injectStyles = hook
|
|
1526
|
-
// register for functioal component in vue file
|
|
1527
|
-
var originalRender = options.render
|
|
1528
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
1529
|
-
hook.call(context)
|
|
1530
|
-
return originalRender(h, context)
|
|
1531
|
-
}
|
|
1532
|
-
} else {
|
|
1533
|
-
// inject component registration as beforeCreate hook
|
|
1534
|
-
var existing = options.beforeCreate
|
|
1535
|
-
options.beforeCreate = existing
|
|
1536
|
-
? [].concat(existing, hook)
|
|
1537
|
-
: [hook]
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
return {
|
|
1542
|
-
exports: scriptExports,
|
|
1543
|
-
options: options
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
/***/ }),
|
|
1549
|
-
|
|
1550
|
-
/***/ 116:
|
|
1551
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1552
|
-
|
|
1553
|
-
"use strict";
|
|
1554
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1555
|
-
|
|
1556
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=template&id=5bf181d4&
|
|
1557
|
-
var render = function() {
|
|
1558
|
-
var _vm = this
|
|
1559
|
-
var _h = _vm.$createElement
|
|
1560
|
-
var _c = _vm._self._c || _h
|
|
1561
|
-
return _c(
|
|
1562
|
-
"section",
|
|
1563
|
-
{ staticClass: "el-container", class: { "is-vertical": _vm.isVertical } },
|
|
1564
|
-
[_vm._t("default")],
|
|
1565
|
-
2
|
|
1566
|
-
)
|
|
1567
|
-
}
|
|
1568
|
-
var staticRenderFns = []
|
|
1569
|
-
render._withStripped = true
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=template&id=5bf181d4&
|
|
1573
|
-
|
|
1574
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=script&lang=js&
|
|
1575
|
-
//
|
|
1576
|
-
//
|
|
1577
|
-
//
|
|
1578
|
-
//
|
|
1579
|
-
//
|
|
1580
|
-
//
|
|
1581
|
-
|
|
1582
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
1583
|
-
name: 'ElContainer',
|
|
1584
|
-
|
|
1585
|
-
componentName: 'ElContainer',
|
|
1586
|
-
|
|
1587
|
-
props: {
|
|
1588
|
-
direction: String
|
|
1589
|
-
},
|
|
1590
|
-
|
|
1591
|
-
computed: {
|
|
1592
|
-
isVertical: function isVertical() {
|
|
1593
|
-
if (this.direction === 'vertical') {
|
|
1594
|
-
return true;
|
|
1595
|
-
} else if (this.direction === 'horizontal') {
|
|
1596
|
-
return false;
|
|
1597
|
-
}
|
|
1598
|
-
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
|
|
1599
|
-
var tag = vnode.componentOptions && vnode.componentOptions.tag;
|
|
1600
|
-
return tag === 'el-header' || tag === 'el-footer';
|
|
1601
|
-
}) : false;
|
|
1602
|
-
}
|
|
1603
|
-
}
|
|
1604
|
-
});
|
|
1605
|
-
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=script&lang=js&
|
|
1606
|
-
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
1607
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1608
|
-
var componentNormalizer = __webpack_require__(0);
|
|
1609
|
-
|
|
1610
|
-
// CONCATENATED MODULE: ./packages/container/src/main.vue
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
/* normalize component */
|
|
1617
|
-
|
|
1618
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
1619
|
-
src_mainvue_type_script_lang_js_,
|
|
1620
|
-
render,
|
|
1621
|
-
staticRenderFns,
|
|
1622
|
-
false,
|
|
1623
|
-
null,
|
|
1624
|
-
null,
|
|
1625
|
-
null
|
|
1626
|
-
|
|
1627
|
-
)
|
|
1628
|
-
|
|
1629
|
-
/* hot reload */
|
|
1630
|
-
if (false) { var api; }
|
|
1631
|
-
component.options.__file = "packages/container/src/main.vue"
|
|
1632
|
-
/* harmony default export */ var main = (component.exports);
|
|
1633
|
-
// CONCATENATED MODULE: ./packages/container/index.js
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
/* istanbul ignore next */
|
|
1637
|
-
main.install = function (Vue) {
|
|
1638
|
-
Vue.component(main.name, main);
|
|
1639
|
-
};
|
|
1640
|
-
|
|
1641
|
-
/* harmony default export */ var container = __webpack_exports__["default"] = (main);
|
|
1642
|
-
|
|
1643
|
-
/***/ })
|
|
1644
|
-
|
|
1645
|
-
/******/ });
|
|
1646
|
-
|
|
1647
|
-
/***/ }),
|
|
1648
|
-
|
|
1649
|
-
/***/ "3ec8":
|
|
1650
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1651
|
-
|
|
1652
|
-
// extracted by mini-css-extract-plugin
|
|
1653
|
-
|
|
1654
|
-
/***/ }),
|
|
1655
|
-
|
|
1656
|
-
/***/ "4010":
|
|
1657
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1658
|
-
|
|
1659
|
-
"use strict";
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
exports.__esModule = true;
|
|
1663
|
-
exports.removeResizeListener = exports.addResizeListener = undefined;
|
|
1664
|
-
|
|
1665
|
-
var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
1230
|
+
var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
1666
1231
|
|
|
1667
1232
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1668
1233
|
|
|
@@ -4559,17 +4124,6 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4559
4124
|
|
|
4560
4125
|
// extracted by mini-css-extract-plugin
|
|
4561
4126
|
|
|
4562
|
-
/***/ }),
|
|
4563
|
-
|
|
4564
|
-
/***/ "587b":
|
|
4565
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4566
|
-
|
|
4567
|
-
"use strict";
|
|
4568
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_601cf5a4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a445");
|
|
4569
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_601cf5a4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_601cf5a4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
4570
|
-
/* unused harmony reexport * */
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
4127
|
/***/ }),
|
|
4574
4128
|
|
|
4575
4129
|
/***/ "5924":
|
|
@@ -6084,13 +5638,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
6084
5638
|
|
|
6085
5639
|
/***/ }),
|
|
6086
5640
|
|
|
6087
|
-
/***/ "6259":
|
|
6088
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6089
|
-
|
|
6090
|
-
// extracted by mini-css-extract-plugin
|
|
6091
|
-
|
|
6092
|
-
/***/ }),
|
|
6093
|
-
|
|
6094
5641
|
/***/ "6378":
|
|
6095
5642
|
/***/ (function(module, exports) {
|
|
6096
5643
|
|
|
@@ -7168,18 +6715,14 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
7168
6715
|
|
|
7169
6716
|
/***/ }),
|
|
7170
6717
|
|
|
7171
|
-
/***/ "
|
|
7172
|
-
/***/ (function(module,
|
|
7173
|
-
|
|
7174
|
-
"use strict";
|
|
7175
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_aae60614_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6259");
|
|
7176
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_aae60614_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_aae60614_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7177
|
-
/* unused harmony reexport * */
|
|
6718
|
+
/***/ "7a0f":
|
|
6719
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7178
6720
|
|
|
6721
|
+
// extracted by mini-css-extract-plugin
|
|
7179
6722
|
|
|
7180
6723
|
/***/ }),
|
|
7181
6724
|
|
|
7182
|
-
/***/ "
|
|
6725
|
+
/***/ "7a9a":
|
|
7183
6726
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7184
6727
|
|
|
7185
6728
|
// extracted by mini-css-extract-plugin
|
|
@@ -9069,13 +8612,6 @@ module.exports = require("vue");
|
|
|
9069
8612
|
|
|
9070
8613
|
/***/ }),
|
|
9071
8614
|
|
|
9072
|
-
/***/ "96dc":
|
|
9073
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9074
|
-
|
|
9075
|
-
// extracted by mini-css-extract-plugin
|
|
9076
|
-
|
|
9077
|
-
/***/ }),
|
|
9078
|
-
|
|
9079
8615
|
/***/ "97d3":
|
|
9080
8616
|
/***/ (function(module, exports) {
|
|
9081
8617
|
|
|
@@ -9102,1129 +8638,75 @@ module.exports = require("@soda/get-current-script");
|
|
|
9102
8638
|
|
|
9103
8639
|
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
9104
8640
|
|
|
9105
|
-
/***/ }),
|
|
9106
|
-
|
|
9107
|
-
/***/ "9cea":
|
|
9108
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9109
|
-
|
|
9110
|
-
module.exports =
|
|
9111
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
9112
|
-
/******/ // The module cache
|
|
9113
|
-
/******/ var installedModules = {};
|
|
9114
|
-
/******/
|
|
9115
|
-
/******/ // The require function
|
|
9116
|
-
/******/ function __webpack_require__(moduleId) {
|
|
9117
|
-
/******/
|
|
9118
|
-
/******/ // Check if module is in cache
|
|
9119
|
-
/******/ if(installedModules[moduleId]) {
|
|
9120
|
-
/******/ return installedModules[moduleId].exports;
|
|
9121
|
-
/******/ }
|
|
9122
|
-
/******/ // Create a new module (and put it into the cache)
|
|
9123
|
-
/******/ var module = installedModules[moduleId] = {
|
|
9124
|
-
/******/ i: moduleId,
|
|
9125
|
-
/******/ l: false,
|
|
9126
|
-
/******/ exports: {}
|
|
9127
|
-
/******/ };
|
|
9128
|
-
/******/
|
|
9129
|
-
/******/ // Execute the module function
|
|
9130
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
9131
|
-
/******/
|
|
9132
|
-
/******/ // Flag the module as loaded
|
|
9133
|
-
/******/ module.l = true;
|
|
9134
|
-
/******/
|
|
9135
|
-
/******/ // Return the exports of the module
|
|
9136
|
-
/******/ return module.exports;
|
|
9137
|
-
/******/ }
|
|
9138
|
-
/******/
|
|
9139
|
-
/******/
|
|
9140
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
9141
|
-
/******/ __webpack_require__.m = modules;
|
|
9142
|
-
/******/
|
|
9143
|
-
/******/ // expose the module cache
|
|
9144
|
-
/******/ __webpack_require__.c = installedModules;
|
|
9145
|
-
/******/
|
|
9146
|
-
/******/ // define getter function for harmony exports
|
|
9147
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
9148
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
9149
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
9150
|
-
/******/ }
|
|
9151
|
-
/******/ };
|
|
9152
|
-
/******/
|
|
9153
|
-
/******/ // define __esModule on exports
|
|
9154
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
9155
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
9156
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
9157
|
-
/******/ }
|
|
9158
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9159
|
-
/******/ };
|
|
9160
|
-
/******/
|
|
9161
|
-
/******/ // create a fake namespace object
|
|
9162
|
-
/******/ // mode & 1: value is a module id, require it
|
|
9163
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
9164
|
-
/******/ // mode & 4: return value when already ns object
|
|
9165
|
-
/******/ // mode & 8|1: behave like require
|
|
9166
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
9167
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
9168
|
-
/******/ if(mode & 8) return value;
|
|
9169
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
9170
|
-
/******/ var ns = Object.create(null);
|
|
9171
|
-
/******/ __webpack_require__.r(ns);
|
|
9172
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
9173
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
9174
|
-
/******/ return ns;
|
|
9175
|
-
/******/ };
|
|
9176
|
-
/******/
|
|
9177
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
9178
|
-
/******/ __webpack_require__.n = function(module) {
|
|
9179
|
-
/******/ var getter = module && module.__esModule ?
|
|
9180
|
-
/******/ function getDefault() { return module['default']; } :
|
|
9181
|
-
/******/ function getModuleExports() { return module; };
|
|
9182
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
9183
|
-
/******/ return getter;
|
|
9184
|
-
/******/ };
|
|
9185
|
-
/******/
|
|
9186
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
9187
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
9188
|
-
/******/
|
|
9189
|
-
/******/ // __webpack_public_path__
|
|
9190
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
9191
|
-
/******/
|
|
9192
|
-
/******/
|
|
9193
|
-
/******/ // Load entry module and return exports
|
|
9194
|
-
/******/ return __webpack_require__(__webpack_require__.s = 111);
|
|
9195
|
-
/******/ })
|
|
9196
|
-
/************************************************************************/
|
|
9197
|
-
/******/ ({
|
|
9198
|
-
|
|
9199
|
-
/***/ 0:
|
|
9200
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9201
|
-
|
|
9202
|
-
"use strict";
|
|
9203
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
9204
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
9205
|
-
|
|
9206
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
9207
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
9208
|
-
// be included in the final webpack user bundle.
|
|
9209
|
-
|
|
9210
|
-
function normalizeComponent (
|
|
9211
|
-
scriptExports,
|
|
9212
|
-
render,
|
|
9213
|
-
staticRenderFns,
|
|
9214
|
-
functionalTemplate,
|
|
9215
|
-
injectStyles,
|
|
9216
|
-
scopeId,
|
|
9217
|
-
moduleIdentifier, /* server only */
|
|
9218
|
-
shadowMode /* vue-cli only */
|
|
9219
|
-
) {
|
|
9220
|
-
// Vue.extend constructor export interop
|
|
9221
|
-
var options = typeof scriptExports === 'function'
|
|
9222
|
-
? scriptExports.options
|
|
9223
|
-
: scriptExports
|
|
9224
|
-
|
|
9225
|
-
// render functions
|
|
9226
|
-
if (render) {
|
|
9227
|
-
options.render = render
|
|
9228
|
-
options.staticRenderFns = staticRenderFns
|
|
9229
|
-
options._compiled = true
|
|
9230
|
-
}
|
|
9231
|
-
|
|
9232
|
-
// functional template
|
|
9233
|
-
if (functionalTemplate) {
|
|
9234
|
-
options.functional = true
|
|
9235
|
-
}
|
|
9236
|
-
|
|
9237
|
-
// scopedId
|
|
9238
|
-
if (scopeId) {
|
|
9239
|
-
options._scopeId = 'data-v-' + scopeId
|
|
9240
|
-
}
|
|
9241
|
-
|
|
9242
|
-
var hook
|
|
9243
|
-
if (moduleIdentifier) { // server build
|
|
9244
|
-
hook = function (context) {
|
|
9245
|
-
// 2.3 injection
|
|
9246
|
-
context =
|
|
9247
|
-
context || // cached call
|
|
9248
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
9249
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
9250
|
-
// 2.2 with runInNewContext: true
|
|
9251
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
9252
|
-
context = __VUE_SSR_CONTEXT__
|
|
9253
|
-
}
|
|
9254
|
-
// inject component styles
|
|
9255
|
-
if (injectStyles) {
|
|
9256
|
-
injectStyles.call(this, context)
|
|
9257
|
-
}
|
|
9258
|
-
// register component module identifier for async chunk inferrence
|
|
9259
|
-
if (context && context._registeredComponents) {
|
|
9260
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
9261
|
-
}
|
|
9262
|
-
}
|
|
9263
|
-
// used by ssr in case component is cached and beforeCreate
|
|
9264
|
-
// never gets called
|
|
9265
|
-
options._ssrRegister = hook
|
|
9266
|
-
} else if (injectStyles) {
|
|
9267
|
-
hook = shadowMode
|
|
9268
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
9269
|
-
: injectStyles
|
|
9270
|
-
}
|
|
9271
|
-
|
|
9272
|
-
if (hook) {
|
|
9273
|
-
if (options.functional) {
|
|
9274
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
9275
|
-
// go through the normalizer
|
|
9276
|
-
options._injectStyles = hook
|
|
9277
|
-
// register for functioal component in vue file
|
|
9278
|
-
var originalRender = options.render
|
|
9279
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
9280
|
-
hook.call(context)
|
|
9281
|
-
return originalRender(h, context)
|
|
9282
|
-
}
|
|
9283
|
-
} else {
|
|
9284
|
-
// inject component registration as beforeCreate hook
|
|
9285
|
-
var existing = options.beforeCreate
|
|
9286
|
-
options.beforeCreate = existing
|
|
9287
|
-
? [].concat(existing, hook)
|
|
9288
|
-
: [hook]
|
|
9289
|
-
}
|
|
9290
|
-
}
|
|
9291
|
-
|
|
9292
|
-
return {
|
|
9293
|
-
exports: scriptExports,
|
|
9294
|
-
options: options
|
|
9295
|
-
}
|
|
9296
|
-
}
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
/***/ }),
|
|
9300
|
-
|
|
9301
|
-
/***/ 111:
|
|
9302
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9303
|
-
|
|
9304
|
-
"use strict";
|
|
9305
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9306
|
-
|
|
9307
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482&
|
|
9308
|
-
var render = function() {
|
|
9309
|
-
var _vm = this
|
|
9310
|
-
var _h = _vm.$createElement
|
|
9311
|
-
var _c = _vm._self._c || _h
|
|
9312
|
-
return _c(
|
|
9313
|
-
"div",
|
|
9314
|
-
{
|
|
9315
|
-
class: _vm.carouselClasses,
|
|
9316
|
-
on: {
|
|
9317
|
-
mouseenter: function($event) {
|
|
9318
|
-
$event.stopPropagation()
|
|
9319
|
-
return _vm.handleMouseEnter($event)
|
|
9320
|
-
},
|
|
9321
|
-
mouseleave: function($event) {
|
|
9322
|
-
$event.stopPropagation()
|
|
9323
|
-
return _vm.handleMouseLeave($event)
|
|
9324
|
-
}
|
|
9325
|
-
}
|
|
9326
|
-
},
|
|
9327
|
-
[
|
|
9328
|
-
_c(
|
|
9329
|
-
"div",
|
|
9330
|
-
{
|
|
9331
|
-
staticClass: "el-carousel__container",
|
|
9332
|
-
style: { height: _vm.height }
|
|
9333
|
-
},
|
|
9334
|
-
[
|
|
9335
|
-
_vm.arrowDisplay
|
|
9336
|
-
? _c("transition", { attrs: { name: "carousel-arrow-left" } }, [
|
|
9337
|
-
_c(
|
|
9338
|
-
"button",
|
|
9339
|
-
{
|
|
9340
|
-
directives: [
|
|
9341
|
-
{
|
|
9342
|
-
name: "show",
|
|
9343
|
-
rawName: "v-show",
|
|
9344
|
-
value:
|
|
9345
|
-
(_vm.arrow === "always" || _vm.hover) &&
|
|
9346
|
-
(_vm.loop || _vm.activeIndex > 0),
|
|
9347
|
-
expression:
|
|
9348
|
-
"(arrow === 'always' || hover) && (loop || activeIndex > 0)"
|
|
9349
|
-
}
|
|
9350
|
-
],
|
|
9351
|
-
staticClass: "el-carousel__arrow el-carousel__arrow--left",
|
|
9352
|
-
attrs: { type: "button" },
|
|
9353
|
-
on: {
|
|
9354
|
-
mouseenter: function($event) {
|
|
9355
|
-
_vm.handleButtonEnter("left")
|
|
9356
|
-
},
|
|
9357
|
-
mouseleave: _vm.handleButtonLeave,
|
|
9358
|
-
click: function($event) {
|
|
9359
|
-
$event.stopPropagation()
|
|
9360
|
-
_vm.throttledArrowClick(_vm.activeIndex - 1)
|
|
9361
|
-
}
|
|
9362
|
-
}
|
|
9363
|
-
},
|
|
9364
|
-
[_c("i", { staticClass: "el-icon-arrow-left" })]
|
|
9365
|
-
)
|
|
9366
|
-
])
|
|
9367
|
-
: _vm._e(),
|
|
9368
|
-
_vm.arrowDisplay
|
|
9369
|
-
? _c("transition", { attrs: { name: "carousel-arrow-right" } }, [
|
|
9370
|
-
_c(
|
|
9371
|
-
"button",
|
|
9372
|
-
{
|
|
9373
|
-
directives: [
|
|
9374
|
-
{
|
|
9375
|
-
name: "show",
|
|
9376
|
-
rawName: "v-show",
|
|
9377
|
-
value:
|
|
9378
|
-
(_vm.arrow === "always" || _vm.hover) &&
|
|
9379
|
-
(_vm.loop || _vm.activeIndex < _vm.items.length - 1),
|
|
9380
|
-
expression:
|
|
9381
|
-
"(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)"
|
|
9382
|
-
}
|
|
9383
|
-
],
|
|
9384
|
-
staticClass: "el-carousel__arrow el-carousel__arrow--right",
|
|
9385
|
-
attrs: { type: "button" },
|
|
9386
|
-
on: {
|
|
9387
|
-
mouseenter: function($event) {
|
|
9388
|
-
_vm.handleButtonEnter("right")
|
|
9389
|
-
},
|
|
9390
|
-
mouseleave: _vm.handleButtonLeave,
|
|
9391
|
-
click: function($event) {
|
|
9392
|
-
$event.stopPropagation()
|
|
9393
|
-
_vm.throttledArrowClick(_vm.activeIndex + 1)
|
|
9394
|
-
}
|
|
9395
|
-
}
|
|
9396
|
-
},
|
|
9397
|
-
[_c("i", { staticClass: "el-icon-arrow-right" })]
|
|
9398
|
-
)
|
|
9399
|
-
])
|
|
9400
|
-
: _vm._e(),
|
|
9401
|
-
_vm._t("default")
|
|
9402
|
-
],
|
|
9403
|
-
2
|
|
9404
|
-
),
|
|
9405
|
-
_vm.indicatorPosition !== "none"
|
|
9406
|
-
? _c(
|
|
9407
|
-
"ul",
|
|
9408
|
-
{ class: _vm.indicatorsClasses },
|
|
9409
|
-
_vm._l(_vm.items, function(item, index) {
|
|
9410
|
-
return _c(
|
|
9411
|
-
"li",
|
|
9412
|
-
{
|
|
9413
|
-
key: index,
|
|
9414
|
-
class: [
|
|
9415
|
-
"el-carousel__indicator",
|
|
9416
|
-
"el-carousel__indicator--" + _vm.direction,
|
|
9417
|
-
{ "is-active": index === _vm.activeIndex }
|
|
9418
|
-
],
|
|
9419
|
-
on: {
|
|
9420
|
-
mouseenter: function($event) {
|
|
9421
|
-
_vm.throttledIndicatorHover(index)
|
|
9422
|
-
},
|
|
9423
|
-
click: function($event) {
|
|
9424
|
-
$event.stopPropagation()
|
|
9425
|
-
_vm.handleIndicatorClick(index)
|
|
9426
|
-
}
|
|
9427
|
-
}
|
|
9428
|
-
},
|
|
9429
|
-
[
|
|
9430
|
-
_c("button", { staticClass: "el-carousel__button" }, [
|
|
9431
|
-
_vm.hasLabel
|
|
9432
|
-
? _c("span", [_vm._v(_vm._s(item.label))])
|
|
9433
|
-
: _vm._e()
|
|
9434
|
-
])
|
|
9435
|
-
]
|
|
9436
|
-
)
|
|
9437
|
-
}),
|
|
9438
|
-
0
|
|
9439
|
-
)
|
|
9440
|
-
: _vm._e()
|
|
9441
|
-
]
|
|
9442
|
-
)
|
|
9443
|
-
}
|
|
9444
|
-
var staticRenderFns = []
|
|
9445
|
-
render._withStripped = true
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
// CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482&
|
|
9449
|
-
|
|
9450
|
-
// EXTERNAL MODULE: external "throttle-debounce/throttle"
|
|
9451
|
-
var throttle_ = __webpack_require__(25);
|
|
9452
|
-
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
9453
|
-
|
|
9454
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/resize-event"
|
|
9455
|
-
var resize_event_ = __webpack_require__(16);
|
|
9456
|
-
|
|
9457
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=script&lang=js&
|
|
9458
|
-
//
|
|
9459
|
-
//
|
|
9460
|
-
//
|
|
9461
|
-
//
|
|
9462
|
-
//
|
|
9463
|
-
//
|
|
9464
|
-
//
|
|
9465
|
-
//
|
|
9466
|
-
//
|
|
9467
|
-
//
|
|
9468
|
-
//
|
|
9469
|
-
//
|
|
9470
|
-
//
|
|
9471
|
-
//
|
|
9472
|
-
//
|
|
9473
|
-
//
|
|
9474
|
-
//
|
|
9475
|
-
//
|
|
9476
|
-
//
|
|
9477
|
-
//
|
|
9478
|
-
//
|
|
9479
|
-
//
|
|
9480
|
-
//
|
|
9481
|
-
//
|
|
9482
|
-
//
|
|
9483
|
-
//
|
|
9484
|
-
//
|
|
9485
|
-
//
|
|
9486
|
-
//
|
|
9487
|
-
//
|
|
9488
|
-
//
|
|
9489
|
-
//
|
|
9490
|
-
//
|
|
9491
|
-
//
|
|
9492
|
-
//
|
|
9493
|
-
//
|
|
9494
|
-
//
|
|
9495
|
-
//
|
|
9496
|
-
//
|
|
9497
|
-
//
|
|
9498
|
-
//
|
|
9499
|
-
//
|
|
9500
|
-
//
|
|
9501
|
-
//
|
|
9502
|
-
//
|
|
9503
|
-
//
|
|
9504
|
-
//
|
|
9505
|
-
//
|
|
9506
|
-
//
|
|
9507
|
-
//
|
|
9508
|
-
//
|
|
9509
|
-
//
|
|
9510
|
-
//
|
|
9511
|
-
//
|
|
9512
|
-
//
|
|
9513
|
-
//
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
9519
|
-
name: 'ElCarousel',
|
|
9520
|
-
|
|
9521
|
-
props: {
|
|
9522
|
-
initialIndex: {
|
|
9523
|
-
type: Number,
|
|
9524
|
-
default: 0
|
|
9525
|
-
},
|
|
9526
|
-
height: String,
|
|
9527
|
-
trigger: {
|
|
9528
|
-
type: String,
|
|
9529
|
-
default: 'hover'
|
|
9530
|
-
},
|
|
9531
|
-
autoplay: {
|
|
9532
|
-
type: Boolean,
|
|
9533
|
-
default: true
|
|
9534
|
-
},
|
|
9535
|
-
interval: {
|
|
9536
|
-
type: Number,
|
|
9537
|
-
default: 3000
|
|
9538
|
-
},
|
|
9539
|
-
indicatorPosition: String,
|
|
9540
|
-
indicator: {
|
|
9541
|
-
type: Boolean,
|
|
9542
|
-
default: true
|
|
9543
|
-
},
|
|
9544
|
-
arrow: {
|
|
9545
|
-
type: String,
|
|
9546
|
-
default: 'hover'
|
|
9547
|
-
},
|
|
9548
|
-
type: String,
|
|
9549
|
-
loop: {
|
|
9550
|
-
type: Boolean,
|
|
9551
|
-
default: true
|
|
9552
|
-
},
|
|
9553
|
-
direction: {
|
|
9554
|
-
type: String,
|
|
9555
|
-
default: 'horizontal',
|
|
9556
|
-
validator: function validator(val) {
|
|
9557
|
-
return ['horizontal', 'vertical'].indexOf(val) !== -1;
|
|
9558
|
-
}
|
|
9559
|
-
}
|
|
9560
|
-
},
|
|
9561
|
-
|
|
9562
|
-
data: function data() {
|
|
9563
|
-
return {
|
|
9564
|
-
items: [],
|
|
9565
|
-
activeIndex: -1,
|
|
9566
|
-
containerWidth: 0,
|
|
9567
|
-
timer: null,
|
|
9568
|
-
hover: false
|
|
9569
|
-
};
|
|
9570
|
-
},
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
computed: {
|
|
9574
|
-
arrowDisplay: function arrowDisplay() {
|
|
9575
|
-
return this.arrow !== 'never' && this.direction !== 'vertical';
|
|
9576
|
-
},
|
|
9577
|
-
hasLabel: function hasLabel() {
|
|
9578
|
-
return this.items.some(function (item) {
|
|
9579
|
-
return item.label.toString().length > 0;
|
|
9580
|
-
});
|
|
9581
|
-
},
|
|
9582
|
-
carouselClasses: function carouselClasses() {
|
|
9583
|
-
var classes = ['el-carousel', 'el-carousel--' + this.direction];
|
|
9584
|
-
if (this.type === 'card') {
|
|
9585
|
-
classes.push('el-carousel--card');
|
|
9586
|
-
}
|
|
9587
|
-
return classes;
|
|
9588
|
-
},
|
|
9589
|
-
indicatorsClasses: function indicatorsClasses() {
|
|
9590
|
-
var classes = ['el-carousel__indicators', 'el-carousel__indicators--' + this.direction];
|
|
9591
|
-
if (this.hasLabel) {
|
|
9592
|
-
classes.push('el-carousel__indicators--labels');
|
|
9593
|
-
}
|
|
9594
|
-
if (this.indicatorPosition === 'outside' || this.type === 'card') {
|
|
9595
|
-
classes.push('el-carousel__indicators--outside');
|
|
9596
|
-
}
|
|
9597
|
-
return classes;
|
|
9598
|
-
}
|
|
9599
|
-
},
|
|
9600
|
-
|
|
9601
|
-
watch: {
|
|
9602
|
-
items: function items(val) {
|
|
9603
|
-
if (val.length > 0) this.setActiveItem(this.initialIndex);
|
|
9604
|
-
},
|
|
9605
|
-
activeIndex: function activeIndex(val, oldVal) {
|
|
9606
|
-
this.resetItemPosition(oldVal);
|
|
9607
|
-
if (oldVal > -1) {
|
|
9608
|
-
this.$emit('change', val, oldVal);
|
|
9609
|
-
}
|
|
9610
|
-
},
|
|
9611
|
-
autoplay: function autoplay(val) {
|
|
9612
|
-
val ? this.startTimer() : this.pauseTimer();
|
|
9613
|
-
},
|
|
9614
|
-
loop: function loop() {
|
|
9615
|
-
this.setActiveItem(this.activeIndex);
|
|
9616
|
-
},
|
|
9617
|
-
interval: function interval() {
|
|
9618
|
-
this.pauseTimer();
|
|
9619
|
-
this.startTimer();
|
|
9620
|
-
}
|
|
9621
|
-
},
|
|
9622
|
-
|
|
9623
|
-
methods: {
|
|
9624
|
-
handleMouseEnter: function handleMouseEnter() {
|
|
9625
|
-
this.hover = true;
|
|
9626
|
-
this.pauseTimer();
|
|
9627
|
-
},
|
|
9628
|
-
handleMouseLeave: function handleMouseLeave() {
|
|
9629
|
-
this.hover = false;
|
|
9630
|
-
this.startTimer();
|
|
9631
|
-
},
|
|
9632
|
-
itemInStage: function itemInStage(item, index) {
|
|
9633
|
-
var length = this.items.length;
|
|
9634
|
-
if (index === length - 1 && item.inStage && this.items[0].active || item.inStage && this.items[index + 1] && this.items[index + 1].active) {
|
|
9635
|
-
return 'left';
|
|
9636
|
-
} else if (index === 0 && item.inStage && this.items[length - 1].active || item.inStage && this.items[index - 1] && this.items[index - 1].active) {
|
|
9637
|
-
return 'right';
|
|
9638
|
-
}
|
|
9639
|
-
return false;
|
|
9640
|
-
},
|
|
9641
|
-
handleButtonEnter: function handleButtonEnter(arrow) {
|
|
9642
|
-
var _this = this;
|
|
9643
|
-
|
|
9644
|
-
if (this.direction === 'vertical') return;
|
|
9645
|
-
this.items.forEach(function (item, index) {
|
|
9646
|
-
if (arrow === _this.itemInStage(item, index)) {
|
|
9647
|
-
item.hover = true;
|
|
9648
|
-
}
|
|
9649
|
-
});
|
|
9650
|
-
},
|
|
9651
|
-
handleButtonLeave: function handleButtonLeave() {
|
|
9652
|
-
if (this.direction === 'vertical') return;
|
|
9653
|
-
this.items.forEach(function (item) {
|
|
9654
|
-
item.hover = false;
|
|
9655
|
-
});
|
|
9656
|
-
},
|
|
9657
|
-
updateItems: function updateItems() {
|
|
9658
|
-
this.items = this.$children.filter(function (child) {
|
|
9659
|
-
return child.$options.name === 'ElCarouselItem';
|
|
9660
|
-
});
|
|
9661
|
-
},
|
|
9662
|
-
resetItemPosition: function resetItemPosition(oldIndex) {
|
|
9663
|
-
var _this2 = this;
|
|
9664
|
-
|
|
9665
|
-
this.items.forEach(function (item, index) {
|
|
9666
|
-
item.translateItem(index, _this2.activeIndex, oldIndex);
|
|
9667
|
-
});
|
|
9668
|
-
},
|
|
9669
|
-
playSlides: function playSlides() {
|
|
9670
|
-
if (this.activeIndex < this.items.length - 1) {
|
|
9671
|
-
this.activeIndex++;
|
|
9672
|
-
} else if (this.loop) {
|
|
9673
|
-
this.activeIndex = 0;
|
|
9674
|
-
}
|
|
9675
|
-
},
|
|
9676
|
-
pauseTimer: function pauseTimer() {
|
|
9677
|
-
if (this.timer) {
|
|
9678
|
-
clearInterval(this.timer);
|
|
9679
|
-
this.timer = null;
|
|
9680
|
-
}
|
|
9681
|
-
},
|
|
9682
|
-
startTimer: function startTimer() {
|
|
9683
|
-
if (this.interval <= 0 || !this.autoplay || this.timer) return;
|
|
9684
|
-
this.timer = setInterval(this.playSlides, this.interval);
|
|
9685
|
-
},
|
|
9686
|
-
resetTimer: function resetTimer() {
|
|
9687
|
-
this.pauseTimer();
|
|
9688
|
-
this.startTimer();
|
|
9689
|
-
},
|
|
9690
|
-
setActiveItem: function setActiveItem(index) {
|
|
9691
|
-
if (typeof index === 'string') {
|
|
9692
|
-
var filteredItems = this.items.filter(function (item) {
|
|
9693
|
-
return item.name === index;
|
|
9694
|
-
});
|
|
9695
|
-
if (filteredItems.length > 0) {
|
|
9696
|
-
index = this.items.indexOf(filteredItems[0]);
|
|
9697
|
-
}
|
|
9698
|
-
}
|
|
9699
|
-
index = Number(index);
|
|
9700
|
-
if (isNaN(index) || index !== Math.floor(index)) {
|
|
9701
|
-
console.warn('[Element Warn][Carousel]index must be an integer.');
|
|
9702
|
-
return;
|
|
9703
|
-
}
|
|
9704
|
-
var length = this.items.length;
|
|
9705
|
-
var oldIndex = this.activeIndex;
|
|
9706
|
-
if (index < 0) {
|
|
9707
|
-
this.activeIndex = this.loop ? length - 1 : 0;
|
|
9708
|
-
} else if (index >= length) {
|
|
9709
|
-
this.activeIndex = this.loop ? 0 : length - 1;
|
|
9710
|
-
} else {
|
|
9711
|
-
this.activeIndex = index;
|
|
9712
|
-
}
|
|
9713
|
-
if (oldIndex === this.activeIndex) {
|
|
9714
|
-
this.resetItemPosition(oldIndex);
|
|
9715
|
-
}
|
|
9716
|
-
this.resetTimer();
|
|
9717
|
-
},
|
|
9718
|
-
prev: function prev() {
|
|
9719
|
-
this.setActiveItem(this.activeIndex - 1);
|
|
9720
|
-
},
|
|
9721
|
-
next: function next() {
|
|
9722
|
-
this.setActiveItem(this.activeIndex + 1);
|
|
9723
|
-
},
|
|
9724
|
-
handleIndicatorClick: function handleIndicatorClick(index) {
|
|
9725
|
-
this.activeIndex = index;
|
|
9726
|
-
},
|
|
9727
|
-
handleIndicatorHover: function handleIndicatorHover(index) {
|
|
9728
|
-
if (this.trigger === 'hover' && index !== this.activeIndex) {
|
|
9729
|
-
this.activeIndex = index;
|
|
9730
|
-
}
|
|
9731
|
-
}
|
|
9732
|
-
},
|
|
9733
|
-
|
|
9734
|
-
created: function created() {
|
|
9735
|
-
var _this3 = this;
|
|
9736
|
-
|
|
9737
|
-
this.throttledArrowClick = throttle_default()(300, true, function (index) {
|
|
9738
|
-
_this3.setActiveItem(index);
|
|
9739
|
-
});
|
|
9740
|
-
this.throttledIndicatorHover = throttle_default()(300, function (index) {
|
|
9741
|
-
_this3.handleIndicatorHover(index);
|
|
9742
|
-
});
|
|
9743
|
-
},
|
|
9744
|
-
mounted: function mounted() {
|
|
9745
|
-
var _this4 = this;
|
|
9746
|
-
|
|
9747
|
-
this.updateItems();
|
|
9748
|
-
this.$nextTick(function () {
|
|
9749
|
-
Object(resize_event_["addResizeListener"])(_this4.$el, _this4.resetItemPosition);
|
|
9750
|
-
if (_this4.initialIndex < _this4.items.length && _this4.initialIndex >= 0) {
|
|
9751
|
-
_this4.activeIndex = _this4.initialIndex;
|
|
9752
|
-
}
|
|
9753
|
-
_this4.startTimer();
|
|
9754
|
-
});
|
|
9755
|
-
},
|
|
9756
|
-
beforeDestroy: function beforeDestroy() {
|
|
9757
|
-
if (this.$el) Object(resize_event_["removeResizeListener"])(this.$el, this.resetItemPosition);
|
|
9758
|
-
this.pauseTimer();
|
|
9759
|
-
}
|
|
9760
|
-
});
|
|
9761
|
-
// CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=script&lang=js&
|
|
9762
|
-
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
9763
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
9764
|
-
var componentNormalizer = __webpack_require__(0);
|
|
9765
|
-
|
|
9766
|
-
// CONCATENATED MODULE: ./packages/carousel/src/main.vue
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
/* normalize component */
|
|
9773
|
-
|
|
9774
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
9775
|
-
src_mainvue_type_script_lang_js_,
|
|
9776
|
-
render,
|
|
9777
|
-
staticRenderFns,
|
|
9778
|
-
false,
|
|
9779
|
-
null,
|
|
9780
|
-
null,
|
|
9781
|
-
null
|
|
9782
|
-
|
|
9783
|
-
)
|
|
9784
|
-
|
|
9785
|
-
/* hot reload */
|
|
9786
|
-
if (false) { var api; }
|
|
9787
|
-
component.options.__file = "packages/carousel/src/main.vue"
|
|
9788
|
-
/* harmony default export */ var main = (component.exports);
|
|
9789
|
-
// CONCATENATED MODULE: ./packages/carousel/index.js
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
/* istanbul ignore next */
|
|
9793
|
-
main.install = function (Vue) {
|
|
9794
|
-
Vue.component(main.name, main);
|
|
9795
|
-
};
|
|
9796
|
-
|
|
9797
|
-
/* harmony default export */ var carousel = __webpack_exports__["default"] = (main);
|
|
9798
|
-
|
|
9799
|
-
/***/ }),
|
|
9800
|
-
|
|
9801
|
-
/***/ 16:
|
|
9802
|
-
/***/ (function(module, exports) {
|
|
9803
|
-
|
|
9804
|
-
module.exports = __webpack_require__("4010");
|
|
9805
|
-
|
|
9806
|
-
/***/ }),
|
|
9807
|
-
|
|
9808
|
-
/***/ 25:
|
|
9809
|
-
/***/ (function(module, exports) {
|
|
9810
|
-
|
|
9811
|
-
module.exports = __webpack_require__("1e79");
|
|
9812
|
-
|
|
9813
|
-
/***/ })
|
|
9814
|
-
|
|
9815
|
-
/******/ });
|
|
9816
|
-
|
|
9817
|
-
/***/ }),
|
|
9818
|
-
|
|
9819
|
-
/***/ "9d7e":
|
|
9820
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9821
|
-
|
|
9822
|
-
"use strict";
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
exports.__esModule = true;
|
|
9826
|
-
|
|
9827
|
-
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
9828
|
-
|
|
9829
|
-
exports.default = function (Vue) {
|
|
9830
|
-
|
|
9831
|
-
/**
|
|
9832
|
-
* template
|
|
9833
|
-
*
|
|
9834
|
-
* @param {String} string
|
|
9835
|
-
* @param {Array} ...args
|
|
9836
|
-
* @return {String}
|
|
9837
|
-
*/
|
|
9838
|
-
|
|
9839
|
-
function template(string) {
|
|
9840
|
-
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
9841
|
-
args[_key - 1] = arguments[_key];
|
|
9842
|
-
}
|
|
9843
|
-
|
|
9844
|
-
if (args.length === 1 && _typeof(args[0]) === 'object') {
|
|
9845
|
-
args = args[0];
|
|
9846
|
-
}
|
|
9847
|
-
|
|
9848
|
-
if (!args || !args.hasOwnProperty) {
|
|
9849
|
-
args = {};
|
|
9850
|
-
}
|
|
9851
|
-
|
|
9852
|
-
return string.replace(RE_NARGS, function (match, prefix, i, index) {
|
|
9853
|
-
var result = void 0;
|
|
9854
|
-
|
|
9855
|
-
if (string[index - 1] === '{' && string[index + match.length] === '}') {
|
|
9856
|
-
return i;
|
|
9857
|
-
} else {
|
|
9858
|
-
result = (0, _util.hasOwn)(args, i) ? args[i] : null;
|
|
9859
|
-
if (result === null || result === undefined) {
|
|
9860
|
-
return '';
|
|
9861
|
-
}
|
|
9862
|
-
|
|
9863
|
-
return result;
|
|
9864
|
-
}
|
|
9865
|
-
});
|
|
9866
|
-
}
|
|
9867
|
-
|
|
9868
|
-
return template;
|
|
9869
|
-
};
|
|
9870
|
-
|
|
9871
|
-
var _util = __webpack_require__("8122");
|
|
9872
|
-
|
|
9873
|
-
var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
9874
|
-
/**
|
|
9875
|
-
* String format template
|
|
9876
|
-
* - Inspired:
|
|
9877
|
-
* https://github.com/Matt-Esch/string-template/index.js
|
|
9878
|
-
*/
|
|
9879
|
-
|
|
9880
|
-
/***/ }),
|
|
9881
|
-
|
|
9882
|
-
/***/ "a1cc":
|
|
9883
|
-
/***/ (function(module, exports) {
|
|
9884
|
-
|
|
9885
|
-
module.exports = require("resize-observer-polyfill");
|
|
9886
|
-
|
|
9887
|
-
/***/ }),
|
|
9888
|
-
|
|
9889
|
-
/***/ "a445":
|
|
9890
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9891
|
-
|
|
9892
|
-
// extracted by mini-css-extract-plugin
|
|
9893
|
-
|
|
9894
|
-
/***/ }),
|
|
9895
|
-
|
|
9896
|
-
/***/ "a447":
|
|
9897
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9898
|
-
|
|
9899
|
-
module.exports =
|
|
9900
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
9901
|
-
/******/ // The module cache
|
|
9902
|
-
/******/ var installedModules = {};
|
|
9903
|
-
/******/
|
|
9904
|
-
/******/ // The require function
|
|
9905
|
-
/******/ function __webpack_require__(moduleId) {
|
|
9906
|
-
/******/
|
|
9907
|
-
/******/ // Check if module is in cache
|
|
9908
|
-
/******/ if(installedModules[moduleId]) {
|
|
9909
|
-
/******/ return installedModules[moduleId].exports;
|
|
9910
|
-
/******/ }
|
|
9911
|
-
/******/ // Create a new module (and put it into the cache)
|
|
9912
|
-
/******/ var module = installedModules[moduleId] = {
|
|
9913
|
-
/******/ i: moduleId,
|
|
9914
|
-
/******/ l: false,
|
|
9915
|
-
/******/ exports: {}
|
|
9916
|
-
/******/ };
|
|
9917
|
-
/******/
|
|
9918
|
-
/******/ // Execute the module function
|
|
9919
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
9920
|
-
/******/
|
|
9921
|
-
/******/ // Flag the module as loaded
|
|
9922
|
-
/******/ module.l = true;
|
|
9923
|
-
/******/
|
|
9924
|
-
/******/ // Return the exports of the module
|
|
9925
|
-
/******/ return module.exports;
|
|
9926
|
-
/******/ }
|
|
9927
|
-
/******/
|
|
9928
|
-
/******/
|
|
9929
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
9930
|
-
/******/ __webpack_require__.m = modules;
|
|
9931
|
-
/******/
|
|
9932
|
-
/******/ // expose the module cache
|
|
9933
|
-
/******/ __webpack_require__.c = installedModules;
|
|
9934
|
-
/******/
|
|
9935
|
-
/******/ // define getter function for harmony exports
|
|
9936
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
9937
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
9938
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
9939
|
-
/******/ }
|
|
9940
|
-
/******/ };
|
|
9941
|
-
/******/
|
|
9942
|
-
/******/ // define __esModule on exports
|
|
9943
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
9944
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
9945
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
9946
|
-
/******/ }
|
|
9947
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9948
|
-
/******/ };
|
|
9949
|
-
/******/
|
|
9950
|
-
/******/ // create a fake namespace object
|
|
9951
|
-
/******/ // mode & 1: value is a module id, require it
|
|
9952
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
9953
|
-
/******/ // mode & 4: return value when already ns object
|
|
9954
|
-
/******/ // mode & 8|1: behave like require
|
|
9955
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
9956
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
9957
|
-
/******/ if(mode & 8) return value;
|
|
9958
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
9959
|
-
/******/ var ns = Object.create(null);
|
|
9960
|
-
/******/ __webpack_require__.r(ns);
|
|
9961
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
9962
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
9963
|
-
/******/ return ns;
|
|
9964
|
-
/******/ };
|
|
9965
|
-
/******/
|
|
9966
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
9967
|
-
/******/ __webpack_require__.n = function(module) {
|
|
9968
|
-
/******/ var getter = module && module.__esModule ?
|
|
9969
|
-
/******/ function getDefault() { return module['default']; } :
|
|
9970
|
-
/******/ function getModuleExports() { return module; };
|
|
9971
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
9972
|
-
/******/ return getter;
|
|
9973
|
-
/******/ };
|
|
9974
|
-
/******/
|
|
9975
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
9976
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
9977
|
-
/******/
|
|
9978
|
-
/******/ // __webpack_public_path__
|
|
9979
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
9980
|
-
/******/
|
|
9981
|
-
/******/
|
|
9982
|
-
/******/ // Load entry module and return exports
|
|
9983
|
-
/******/ return __webpack_require__(__webpack_require__.s = 122);
|
|
9984
|
-
/******/ })
|
|
9985
|
-
/************************************************************************/
|
|
9986
|
-
/******/ ({
|
|
9987
|
-
|
|
9988
|
-
/***/ 0:
|
|
9989
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9990
|
-
|
|
9991
|
-
"use strict";
|
|
9992
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
9993
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
9994
|
-
|
|
9995
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
9996
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
9997
|
-
// be included in the final webpack user bundle.
|
|
9998
|
-
|
|
9999
|
-
function normalizeComponent (
|
|
10000
|
-
scriptExports,
|
|
10001
|
-
render,
|
|
10002
|
-
staticRenderFns,
|
|
10003
|
-
functionalTemplate,
|
|
10004
|
-
injectStyles,
|
|
10005
|
-
scopeId,
|
|
10006
|
-
moduleIdentifier, /* server only */
|
|
10007
|
-
shadowMode /* vue-cli only */
|
|
10008
|
-
) {
|
|
10009
|
-
// Vue.extend constructor export interop
|
|
10010
|
-
var options = typeof scriptExports === 'function'
|
|
10011
|
-
? scriptExports.options
|
|
10012
|
-
: scriptExports
|
|
10013
|
-
|
|
10014
|
-
// render functions
|
|
10015
|
-
if (render) {
|
|
10016
|
-
options.render = render
|
|
10017
|
-
options.staticRenderFns = staticRenderFns
|
|
10018
|
-
options._compiled = true
|
|
10019
|
-
}
|
|
10020
|
-
|
|
10021
|
-
// functional template
|
|
10022
|
-
if (functionalTemplate) {
|
|
10023
|
-
options.functional = true
|
|
10024
|
-
}
|
|
10025
|
-
|
|
10026
|
-
// scopedId
|
|
10027
|
-
if (scopeId) {
|
|
10028
|
-
options._scopeId = 'data-v-' + scopeId
|
|
10029
|
-
}
|
|
10030
|
-
|
|
10031
|
-
var hook
|
|
10032
|
-
if (moduleIdentifier) { // server build
|
|
10033
|
-
hook = function (context) {
|
|
10034
|
-
// 2.3 injection
|
|
10035
|
-
context =
|
|
10036
|
-
context || // cached call
|
|
10037
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
10038
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
10039
|
-
// 2.2 with runInNewContext: true
|
|
10040
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
10041
|
-
context = __VUE_SSR_CONTEXT__
|
|
10042
|
-
}
|
|
10043
|
-
// inject component styles
|
|
10044
|
-
if (injectStyles) {
|
|
10045
|
-
injectStyles.call(this, context)
|
|
10046
|
-
}
|
|
10047
|
-
// register component module identifier for async chunk inferrence
|
|
10048
|
-
if (context && context._registeredComponents) {
|
|
10049
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
10050
|
-
}
|
|
10051
|
-
}
|
|
10052
|
-
// used by ssr in case component is cached and beforeCreate
|
|
10053
|
-
// never gets called
|
|
10054
|
-
options._ssrRegister = hook
|
|
10055
|
-
} else if (injectStyles) {
|
|
10056
|
-
hook = shadowMode
|
|
10057
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
10058
|
-
: injectStyles
|
|
10059
|
-
}
|
|
10060
|
-
|
|
10061
|
-
if (hook) {
|
|
10062
|
-
if (options.functional) {
|
|
10063
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
10064
|
-
// go through the normalizer
|
|
10065
|
-
options._injectStyles = hook
|
|
10066
|
-
// register for functioal component in vue file
|
|
10067
|
-
var originalRender = options.render
|
|
10068
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
10069
|
-
hook.call(context)
|
|
10070
|
-
return originalRender(h, context)
|
|
10071
|
-
}
|
|
10072
|
-
} else {
|
|
10073
|
-
// inject component registration as beforeCreate hook
|
|
10074
|
-
var existing = options.beforeCreate
|
|
10075
|
-
options.beforeCreate = existing
|
|
10076
|
-
? [].concat(existing, hook)
|
|
10077
|
-
: [hook]
|
|
10078
|
-
}
|
|
10079
|
-
}
|
|
10080
|
-
|
|
10081
|
-
return {
|
|
10082
|
-
exports: scriptExports,
|
|
10083
|
-
options: options
|
|
10084
|
-
}
|
|
10085
|
-
}
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
/***/ }),
|
|
10089
|
-
|
|
10090
|
-
/***/ 122:
|
|
10091
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10092
|
-
|
|
10093
|
-
"use strict";
|
|
10094
|
-
__webpack_require__.r(__webpack_exports__);
|
|
10095
|
-
|
|
10096
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/link/src/main.vue?vue&type=template&id=01cf3b65&
|
|
10097
|
-
var render = function() {
|
|
10098
|
-
var _vm = this
|
|
10099
|
-
var _h = _vm.$createElement
|
|
10100
|
-
var _c = _vm._self._c || _h
|
|
10101
|
-
return _c(
|
|
10102
|
-
"a",
|
|
10103
|
-
_vm._b(
|
|
10104
|
-
{
|
|
10105
|
-
class: [
|
|
10106
|
-
"el-link",
|
|
10107
|
-
_vm.type ? "el-link--" + _vm.type : "",
|
|
10108
|
-
_vm.disabled && "is-disabled",
|
|
10109
|
-
_vm.underline && !_vm.disabled && "is-underline"
|
|
10110
|
-
],
|
|
10111
|
-
attrs: { href: _vm.disabled ? null : _vm.href },
|
|
10112
|
-
on: { click: _vm.handleClick }
|
|
10113
|
-
},
|
|
10114
|
-
"a",
|
|
10115
|
-
_vm.$attrs,
|
|
10116
|
-
false
|
|
10117
|
-
),
|
|
10118
|
-
[
|
|
10119
|
-
_vm.icon ? _c("i", { class: _vm.icon }) : _vm._e(),
|
|
10120
|
-
_vm.$slots.default
|
|
10121
|
-
? _c("span", { staticClass: "el-link--inner" }, [_vm._t("default")], 2)
|
|
10122
|
-
: _vm._e(),
|
|
10123
|
-
_vm.$slots.icon ? [_vm.$slots.icon ? _vm._t("icon") : _vm._e()] : _vm._e()
|
|
10124
|
-
],
|
|
10125
|
-
2
|
|
10126
|
-
)
|
|
10127
|
-
}
|
|
10128
|
-
var staticRenderFns = []
|
|
10129
|
-
render._withStripped = true
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
// CONCATENATED MODULE: ./packages/link/src/main.vue?vue&type=template&id=01cf3b65&
|
|
10133
|
-
|
|
10134
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/link/src/main.vue?vue&type=script&lang=js&
|
|
10135
|
-
//
|
|
10136
|
-
//
|
|
10137
|
-
//
|
|
10138
|
-
//
|
|
10139
|
-
//
|
|
10140
|
-
//
|
|
10141
|
-
//
|
|
10142
|
-
//
|
|
10143
|
-
//
|
|
10144
|
-
//
|
|
10145
|
-
//
|
|
10146
|
-
//
|
|
10147
|
-
//
|
|
10148
|
-
//
|
|
10149
|
-
//
|
|
10150
|
-
//
|
|
10151
|
-
//
|
|
10152
|
-
//
|
|
10153
|
-
//
|
|
10154
|
-
//
|
|
10155
|
-
//
|
|
10156
|
-
//
|
|
10157
|
-
//
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
10161
|
-
name: 'ElLink',
|
|
10162
|
-
|
|
10163
|
-
props: {
|
|
10164
|
-
type: {
|
|
10165
|
-
type: String,
|
|
10166
|
-
default: 'default'
|
|
10167
|
-
},
|
|
10168
|
-
underline: {
|
|
10169
|
-
type: Boolean,
|
|
10170
|
-
default: true
|
|
10171
|
-
},
|
|
10172
|
-
disabled: Boolean,
|
|
10173
|
-
href: String,
|
|
10174
|
-
icon: String
|
|
10175
|
-
},
|
|
10176
|
-
|
|
10177
|
-
methods: {
|
|
10178
|
-
handleClick: function handleClick(event) {
|
|
10179
|
-
if (!this.disabled) {
|
|
10180
|
-
if (!this.href) {
|
|
10181
|
-
this.$emit('click', event);
|
|
10182
|
-
}
|
|
10183
|
-
}
|
|
10184
|
-
}
|
|
10185
|
-
}
|
|
10186
|
-
});
|
|
10187
|
-
// CONCATENATED MODULE: ./packages/link/src/main.vue?vue&type=script&lang=js&
|
|
10188
|
-
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
10189
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
10190
|
-
var componentNormalizer = __webpack_require__(0);
|
|
8641
|
+
/***/ }),
|
|
10191
8642
|
|
|
10192
|
-
|
|
8643
|
+
/***/ "9d7e":
|
|
8644
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10193
8645
|
|
|
8646
|
+
"use strict";
|
|
10194
8647
|
|
|
10195
8648
|
|
|
8649
|
+
exports.__esModule = true;
|
|
10196
8650
|
|
|
8651
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
10197
8652
|
|
|
10198
|
-
|
|
8653
|
+
exports.default = function (Vue) {
|
|
10199
8654
|
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
null
|
|
10208
|
-
|
|
10209
|
-
)
|
|
8655
|
+
/**
|
|
8656
|
+
* template
|
|
8657
|
+
*
|
|
8658
|
+
* @param {String} string
|
|
8659
|
+
* @param {Array} ...args
|
|
8660
|
+
* @return {String}
|
|
8661
|
+
*/
|
|
10210
8662
|
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
// CONCATENATED MODULE: ./packages/link/index.js
|
|
8663
|
+
function template(string) {
|
|
8664
|
+
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
8665
|
+
args[_key - 1] = arguments[_key];
|
|
8666
|
+
}
|
|
10216
8667
|
|
|
8668
|
+
if (args.length === 1 && _typeof(args[0]) === 'object') {
|
|
8669
|
+
args = args[0];
|
|
8670
|
+
}
|
|
10217
8671
|
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
8672
|
+
if (!args || !args.hasOwnProperty) {
|
|
8673
|
+
args = {};
|
|
8674
|
+
}
|
|
8675
|
+
|
|
8676
|
+
return string.replace(RE_NARGS, function (match, prefix, i, index) {
|
|
8677
|
+
var result = void 0;
|
|
8678
|
+
|
|
8679
|
+
if (string[index - 1] === '{' && string[index + match.length] === '}') {
|
|
8680
|
+
return i;
|
|
8681
|
+
} else {
|
|
8682
|
+
result = (0, _util.hasOwn)(args, i) ? args[i] : null;
|
|
8683
|
+
if (result === null || result === undefined) {
|
|
8684
|
+
return '';
|
|
8685
|
+
}
|
|
8686
|
+
|
|
8687
|
+
return result;
|
|
8688
|
+
}
|
|
8689
|
+
});
|
|
8690
|
+
}
|
|
8691
|
+
|
|
8692
|
+
return template;
|
|
10221
8693
|
};
|
|
10222
8694
|
|
|
10223
|
-
|
|
8695
|
+
var _util = __webpack_require__("8122");
|
|
10224
8696
|
|
|
10225
|
-
|
|
8697
|
+
var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
8698
|
+
/**
|
|
8699
|
+
* String format template
|
|
8700
|
+
* - Inspired:
|
|
8701
|
+
* https://github.com/Matt-Esch/string-template/index.js
|
|
8702
|
+
*/
|
|
10226
8703
|
|
|
10227
|
-
|
|
8704
|
+
/***/ }),
|
|
8705
|
+
|
|
8706
|
+
/***/ "a1cc":
|
|
8707
|
+
/***/ (function(module, exports) {
|
|
8708
|
+
|
|
8709
|
+
module.exports = require("resize-observer-polyfill");
|
|
10228
8710
|
|
|
10229
8711
|
/***/ }),
|
|
10230
8712
|
|
|
@@ -10743,22 +9225,33 @@ exports.default = {
|
|
|
10743
9225
|
|
|
10744
9226
|
/***/ }),
|
|
10745
9227
|
|
|
10746
|
-
/***/ "
|
|
10747
|
-
/***/ (function(module,
|
|
9228
|
+
/***/ "b64b":
|
|
9229
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9230
|
+
|
|
9231
|
+
"use strict";
|
|
9232
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("21d1");
|
|
9233
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9234
|
+
/* unused harmony reexport * */
|
|
10748
9235
|
|
|
10749
|
-
// extracted by mini-css-extract-plugin
|
|
10750
9236
|
|
|
10751
9237
|
/***/ }),
|
|
10752
9238
|
|
|
10753
|
-
/***/ "
|
|
9239
|
+
/***/ "b9e5":
|
|
10754
9240
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10755
9241
|
|
|
10756
9242
|
"use strict";
|
|
10757
|
-
/* harmony import */ var
|
|
10758
|
-
/* harmony import */ var
|
|
9243
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_0f3b65f0_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1959");
|
|
9244
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_0f3b65f0_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_0f3b65f0_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
10759
9245
|
/* unused harmony reexport * */
|
|
10760
9246
|
|
|
10761
9247
|
|
|
9248
|
+
/***/ }),
|
|
9249
|
+
|
|
9250
|
+
/***/ "be4f":
|
|
9251
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9252
|
+
|
|
9253
|
+
// extracted by mini-css-extract-plugin
|
|
9254
|
+
|
|
10762
9255
|
/***/ }),
|
|
10763
9256
|
|
|
10764
9257
|
/***/ "c2cc":
|
|
@@ -14809,7 +13302,7 @@ if (typeof window !== 'undefined') {
|
|
|
14809
13302
|
// Indicate to webpack that this file can be concatenated
|
|
14810
13303
|
/* harmony default export */ var setPublicPath = (null);
|
|
14811
13304
|
|
|
14812
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13305
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=0f3b65f0&scoped=true&
|
|
14813
13306
|
var render = function render() {
|
|
14814
13307
|
var _vm = this,
|
|
14815
13308
|
_c = _vm._self._c;
|
|
@@ -15273,7 +13766,7 @@ var render = function render() {
|
|
|
15273
13766
|
};
|
|
15274
13767
|
var staticRenderFns = [];
|
|
15275
13768
|
|
|
15276
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13769
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=0f3b65f0&scoped=true&
|
|
15277
13770
|
|
|
15278
13771
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
15279
13772
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -15480,8 +13973,8 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
15480
13973
|
var external_vue_ = __webpack_require__("8bbf");
|
|
15481
13974
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
15482
13975
|
|
|
15483
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15484
|
-
var
|
|
13976
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
13977
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function render() {
|
|
15485
13978
|
var _vm = this,
|
|
15486
13979
|
_c = _vm._self._c;
|
|
15487
13980
|
return _c('div', {
|
|
@@ -15504,21 +13997,7 @@ var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render()
|
|
|
15504
13997
|
staticClass: "title"
|
|
15505
13998
|
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
15506
13999
|
staticClass: "content-container scrollbar"
|
|
15507
|
-
}, [_vm.content.
|
|
15508
|
-
directives: [{
|
|
15509
|
-
name: "show",
|
|
15510
|
-
rawName: "v-show",
|
|
15511
|
-
value: false,
|
|
15512
|
-
expression: "false"
|
|
15513
|
-
}],
|
|
15514
|
-
staticClass: "block",
|
|
15515
|
-
attrs: {
|
|
15516
|
-
"entry": _vm.content
|
|
15517
|
-
},
|
|
15518
|
-
on: {
|
|
15519
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
15520
|
-
}
|
|
15521
|
-
}) : _vm._e(), _vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
14000
|
+
}, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
15522
14001
|
staticClass: "block"
|
|
15523
14002
|
}, [_c('div', [_c('span', {
|
|
15524
14003
|
staticClass: "attribute-title"
|
|
@@ -15618,7 +14097,20 @@ var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render()
|
|
|
15618
14097
|
on: {
|
|
15619
14098
|
"click": _vm.openAll
|
|
15620
14099
|
}
|
|
15621
|
-
}, [_vm._v(" Search for data on components ")]), _vm.
|
|
14100
|
+
}, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
|
|
14101
|
+
directives: [{
|
|
14102
|
+
name: "show",
|
|
14103
|
+
rawName: "v-show",
|
|
14104
|
+
value: false,
|
|
14105
|
+
expression: "false"
|
|
14106
|
+
}],
|
|
14107
|
+
attrs: {
|
|
14108
|
+
"entry": _vm.content
|
|
14109
|
+
},
|
|
14110
|
+
on: {
|
|
14111
|
+
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14112
|
+
}
|
|
14113
|
+
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
15622
14114
|
staticClass: "button",
|
|
15623
14115
|
attrs: {
|
|
15624
14116
|
"icon": "el-icon-notebook-2"
|
|
@@ -15630,9 +14122,9 @@ var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render()
|
|
|
15630
14122
|
}
|
|
15631
14123
|
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
15632
14124
|
};
|
|
15633
|
-
var
|
|
14125
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
|
|
15634
14126
|
|
|
15635
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
14127
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
15636
14128
|
|
|
15637
14129
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
15638
14130
|
|
|
@@ -15728,127 +14220,17 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15728
14220
|
var locale = __webpack_require__("4897");
|
|
15729
14221
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15730
14222
|
|
|
15731
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15732
|
-
var
|
|
14223
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14224
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function render() {
|
|
15733
14225
|
var _vm = this,
|
|
15734
14226
|
_c = _vm._self._c;
|
|
15735
14227
|
return _c('div', {
|
|
15736
14228
|
staticClass: "pubmed-container"
|
|
15737
|
-
}
|
|
15738
|
-
directives: [{
|
|
15739
|
-
name: "loading",
|
|
15740
|
-
rawName: "v-loading",
|
|
15741
|
-
value: _vm.loading.response,
|
|
15742
|
-
expression: "loading.response"
|
|
15743
|
-
}],
|
|
15744
|
-
staticClass: "block"
|
|
15745
|
-
}, [_c('div', {
|
|
15746
|
-
staticClass: "attribute-title"
|
|
15747
|
-
}, [_vm._v("Pubmed Resources")]), _c('br'), _c('el-carousel', {
|
|
15748
|
-
attrs: {
|
|
15749
|
-
"autoplay": false,
|
|
15750
|
-
"indicator-position": "outside",
|
|
15751
|
-
"height": "250px",
|
|
15752
|
-
"width": "200px"
|
|
15753
|
-
}
|
|
15754
|
-
}, _vm._l(_vm.pubmeds, function (pub, i) {
|
|
15755
|
-
return _c('el-carousel-item', {
|
|
15756
|
-
key: i
|
|
15757
|
-
}, [_c('div', {
|
|
15758
|
-
staticClass: "attribute-content"
|
|
15759
|
-
}, [_c('div', {
|
|
15760
|
-
domProps: {
|
|
15761
|
-
"innerHTML": _vm._s(pub.html)
|
|
15762
|
-
}
|
|
15763
|
-
}), _c('el-link', {
|
|
15764
|
-
staticClass: "el-link",
|
|
15765
|
-
attrs: {
|
|
15766
|
-
"href": pub.url,
|
|
15767
|
-
"underline": false,
|
|
15768
|
-
"target": "_blank"
|
|
15769
|
-
}
|
|
15770
|
-
}, [_vm._v(_vm._s(pub.url))])], 1)]);
|
|
15771
|
-
}), 1)], 1)]);
|
|
14229
|
+
});
|
|
15772
14230
|
};
|
|
15773
|
-
var
|
|
15774
|
-
|
|
15775
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
|
|
15776
|
-
|
|
15777
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
15778
|
-
function _arrayWithHoles(arr) {
|
|
15779
|
-
if (Array.isArray(arr)) return arr;
|
|
15780
|
-
}
|
|
15781
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
15782
|
-
|
|
15783
|
-
|
|
15784
|
-
|
|
15785
|
-
|
|
15786
|
-
|
|
15787
|
-
|
|
15788
|
-
|
|
15789
|
-
|
|
15790
|
-
function _iterableToArrayLimit(arr, i) {
|
|
15791
|
-
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15792
|
-
if (null != _i) {
|
|
15793
|
-
var _s,
|
|
15794
|
-
_e,
|
|
15795
|
-
_x,
|
|
15796
|
-
_r,
|
|
15797
|
-
_arr = [],
|
|
15798
|
-
_n = !0,
|
|
15799
|
-
_d = !1;
|
|
15800
|
-
try {
|
|
15801
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
15802
|
-
if (Object(_i) !== _i) return;
|
|
15803
|
-
_n = !1;
|
|
15804
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
|
|
15805
|
-
;
|
|
15806
|
-
}
|
|
15807
|
-
} catch (err) {
|
|
15808
|
-
_d = !0, _e = err;
|
|
15809
|
-
} finally {
|
|
15810
|
-
try {
|
|
15811
|
-
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
15812
|
-
} finally {
|
|
15813
|
-
if (_d) throw _e;
|
|
15814
|
-
}
|
|
15815
|
-
}
|
|
15816
|
-
return _arr;
|
|
15817
|
-
}
|
|
15818
|
-
}
|
|
15819
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
15820
|
-
|
|
15821
|
-
function _nonIterableRest() {
|
|
15822
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15823
|
-
}
|
|
15824
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
15825
|
-
|
|
14231
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
|
|
15826
14232
|
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
function _slicedToArray(arr, i) {
|
|
15830
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
15831
|
-
}
|
|
15832
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/carousel-item.css
|
|
15833
|
-
var carousel_item = __webpack_require__("186a");
|
|
15834
|
-
|
|
15835
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/carousel-item.js
|
|
15836
|
-
var lib_carousel_item = __webpack_require__("301f");
|
|
15837
|
-
var lib_carousel_item_default = /*#__PURE__*/__webpack_require__.n(lib_carousel_item);
|
|
15838
|
-
|
|
15839
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/carousel.css
|
|
15840
|
-
var carousel = __webpack_require__("96dc");
|
|
15841
|
-
|
|
15842
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/carousel.js
|
|
15843
|
-
var lib_carousel = __webpack_require__("9cea");
|
|
15844
|
-
var lib_carousel_default = /*#__PURE__*/__webpack_require__.n(lib_carousel);
|
|
15845
|
-
|
|
15846
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/link.css
|
|
15847
|
-
var theme_chalk_link = __webpack_require__("fd71");
|
|
15848
|
-
|
|
15849
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/link.js
|
|
15850
|
-
var lib_link = __webpack_require__("a447");
|
|
15851
|
-
var lib_link_default = /*#__PURE__*/__webpack_require__.n(lib_link);
|
|
14233
|
+
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
15852
14234
|
|
|
15853
14235
|
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
15854
14236
|
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
@@ -15862,21 +14244,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
15862
14244
|
|
|
15863
14245
|
|
|
15864
14246
|
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
15878
|
-
|
|
15879
|
-
|
|
15880
14247
|
|
|
15881
14248
|
|
|
15882
14249
|
|
|
@@ -15884,13 +14251,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
15884
14251
|
|
|
15885
14252
|
/* eslint-disable no-alert, no-console */
|
|
15886
14253
|
|
|
15887
|
-
|
|
15888
|
-
|
|
15889
|
-
locale_default.a.use(en_default.a);
|
|
15890
|
-
external_vue_default.a.use(lib_link_default.a);
|
|
15891
|
-
external_vue_default.a.use(lib_carousel_default.a);
|
|
15892
|
-
external_vue_default.a.use(lib_carousel_item_default.a);
|
|
15893
|
-
external_vue_default.a.use(lib_button_default.a);
|
|
15894
14254
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
15895
14255
|
name: "Tooltip",
|
|
15896
14256
|
props: {
|
|
@@ -15900,52 +14260,26 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15900
14260
|
}
|
|
15901
14261
|
},
|
|
15902
14262
|
watch: {
|
|
15903
|
-
'entry.featureId': function entryFeatureId(val) {
|
|
15904
|
-
var _this = this;
|
|
15905
|
-
this.flatmapQuery(val).then(function (pb) {
|
|
15906
|
-
return _this.pubmeds = pb;
|
|
15907
|
-
});
|
|
15908
|
-
},
|
|
15909
14263
|
'entry.featureIds': {
|
|
15910
14264
|
handler: function handler(ids) {
|
|
15911
|
-
this.
|
|
14265
|
+
this.pubmedQueryOnIds(ids);
|
|
15912
14266
|
}
|
|
15913
14267
|
}
|
|
15914
14268
|
},
|
|
15915
14269
|
inject: ['flatmapAPI'],
|
|
15916
14270
|
data: function data() {
|
|
15917
14271
|
return {
|
|
15918
|
-
data: {},
|
|
15919
14272
|
pubmeds: [],
|
|
15920
|
-
pubmedIds: []
|
|
15921
|
-
loading: {
|
|
15922
|
-
response: true,
|
|
15923
|
-
publications: true
|
|
15924
|
-
}
|
|
14273
|
+
pubmedIds: []
|
|
15925
14274
|
};
|
|
15926
14275
|
},
|
|
15927
14276
|
mounted: function mounted() {
|
|
15928
|
-
if (this.entry.featureIds) this.
|
|
14277
|
+
if (this.entry.featureIds) this.pubmedQueryOnIds(this.entry.featureIds);
|
|
15929
14278
|
},
|
|
15930
14279
|
methods: {
|
|
15931
14280
|
stripPMIDPrefix: function stripPMIDPrefix(pubmedId) {
|
|
15932
14281
|
return pubmedId.split(':')[1];
|
|
15933
14282
|
},
|
|
15934
|
-
titleFromPubmed: function titleFromPubmed(pubmedId) {
|
|
15935
|
-
return new Promise(function (resolve) {
|
|
15936
|
-
fetch("https://api.ncbi.nlm.nih.gov/lit/ctxp/v1/pubmed/?format=citation&contenttype=json&id=".concat(pubmedId)).then(function (response) {
|
|
15937
|
-
return response.json();
|
|
15938
|
-
}).then(function (data) {
|
|
15939
|
-
resolve(data.apa.format);
|
|
15940
|
-
}).catch(function (error) {
|
|
15941
|
-
console.error('Error:', error);
|
|
15942
|
-
});
|
|
15943
|
-
});
|
|
15944
|
-
},
|
|
15945
|
-
splitLink: function splitLink(bibliographyString) {
|
|
15946
|
-
var split = bibliographyString.split('https');
|
|
15947
|
-
return [split[0], 'https' + split[1]];
|
|
15948
|
-
},
|
|
15949
14283
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
15950
14284
|
var sql = 'select distinct publication from publications where entity in (';
|
|
15951
14285
|
if (keastIds.length === 1) {
|
|
@@ -15957,17 +14291,14 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15957
14291
|
}
|
|
15958
14292
|
return sql;
|
|
15959
14293
|
},
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
-
|
|
15964
|
-
this.loading.response = true;
|
|
15965
|
-
|
|
15966
|
-
// fetch pubmed publications for the given ids
|
|
14294
|
+
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
14295
|
+
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
14296
|
+
},
|
|
14297
|
+
flatmapQuery: function flatmapQuery(sql) {
|
|
15967
14298
|
var data = {
|
|
15968
|
-
sql:
|
|
14299
|
+
sql: sql
|
|
15969
14300
|
};
|
|
15970
|
-
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14301
|
+
return fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
15971
14302
|
method: 'POST',
|
|
15972
14303
|
headers: {
|
|
15973
14304
|
'Content-Type': 'application/json'
|
|
@@ -15975,36 +14306,40 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15975
14306
|
body: JSON.stringify(data)
|
|
15976
14307
|
}).then(function (response) {
|
|
15977
14308
|
return response.json();
|
|
15978
|
-
}).
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
14309
|
+
}).catch(function (error) {
|
|
14310
|
+
console.error('Error:', error);
|
|
14311
|
+
});
|
|
14312
|
+
},
|
|
14313
|
+
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
14314
|
+
var _this = this;
|
|
14315
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
14316
|
+
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14317
|
+
this.flatmapQuery(sql).then(function (data) {
|
|
14318
|
+
_this.responseData = data;
|
|
14319
|
+
// Create pubmed url on paths if we have them
|
|
15983
14320
|
if (data.values.length > 0) {
|
|
15984
|
-
data.values.
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
15992
|
-
|
|
15993
|
-
|
|
15994
|
-
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
});
|
|
14321
|
+
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14322
|
+
return _this.stripPMIDPrefix(id[0]);
|
|
14323
|
+
})));
|
|
14324
|
+
} else {
|
|
14325
|
+
// Create pubmed url on models
|
|
14326
|
+
_this.pubmedQueryOnModels(_this.entry.source);
|
|
14327
|
+
}
|
|
14328
|
+
});
|
|
14329
|
+
},
|
|
14330
|
+
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14331
|
+
var _this2 = this;
|
|
14332
|
+
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14333
|
+
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
15998
14334
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
15999
14335
|
return _this2.stripPMIDPrefix(id[0]);
|
|
16000
14336
|
})));
|
|
16001
14337
|
} else {
|
|
16002
14338
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
16003
14339
|
}
|
|
16004
|
-
}).catch(function (error) {
|
|
16005
|
-
console.error('Error:', error);
|
|
16006
14340
|
});
|
|
16007
14341
|
},
|
|
14342
|
+
|
|
16008
14343
|
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
16009
14344
|
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
16010
14345
|
var params = new URLSearchParams();
|
|
@@ -16015,8 +14350,8 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
16015
14350
|
});
|
|
16016
14351
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
16017
14352
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
16018
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=
|
|
16019
|
-
var
|
|
14353
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&prod&scoped=true&lang=scss&
|
|
14354
|
+
var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ = __webpack_require__("233b");
|
|
16020
14355
|
|
|
16021
14356
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
16022
14357
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -16127,11 +14462,11 @@ function normalizeComponent(
|
|
|
16127
14462
|
|
|
16128
14463
|
var component = normalizeComponent(
|
|
16129
14464
|
components_PubmedViewervue_type_script_lang_js_,
|
|
16130
|
-
|
|
16131
|
-
|
|
14465
|
+
PubmedViewervue_type_template_id_58832c92_scoped_true_render,
|
|
14466
|
+
PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns,
|
|
16132
14467
|
false,
|
|
16133
14468
|
null,
|
|
16134
|
-
"
|
|
14469
|
+
"58832c92",
|
|
16135
14470
|
null
|
|
16136
14471
|
|
|
16137
14472
|
)
|
|
@@ -16440,8 +14775,51 @@ var _capitalise = function capitalise(str) {
|
|
|
16440
14775
|
}
|
|
16441
14776
|
return label;
|
|
16442
14777
|
},
|
|
16443
|
-
|
|
14778
|
+
processConnectivity: function processConnectivity(connectivity) {
|
|
16444
14779
|
var _this4 = this;
|
|
14780
|
+
// Filter the origin and destinations from components
|
|
14781
|
+
var components = this.findComponents(connectivity);
|
|
14782
|
+
|
|
14783
|
+
// Remove duplicates
|
|
14784
|
+
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14785
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14786
|
+
|
|
14787
|
+
// Create list of ids to get labels for
|
|
14788
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14789
|
+
|
|
14790
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14791
|
+
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14792
|
+
_this4.destinations = axons.map(function (a) {
|
|
14793
|
+
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
14794
|
+
});
|
|
14795
|
+
_this4.origins = dendrites.map(function (d) {
|
|
14796
|
+
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
14797
|
+
});
|
|
14798
|
+
_this4.components = components.map(function (c) {
|
|
14799
|
+
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
14800
|
+
});
|
|
14801
|
+
});
|
|
14802
|
+
this.flattenAndFindDatasets(components, axons, dendrites);
|
|
14803
|
+
},
|
|
14804
|
+
flattenAndFindDatasets: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
14805
|
+
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14806
|
+
var componentsFlat = this.flattenConntectivity(components);
|
|
14807
|
+
var axonsFlat = this.flattenConntectivity(axons);
|
|
14808
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14809
|
+
|
|
14810
|
+
// Filter for the anatomy which is annotated on datasets
|
|
14811
|
+
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14812
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14813
|
+
});
|
|
14814
|
+
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
14815
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
14816
|
+
});
|
|
14817
|
+
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
14818
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
14819
|
+
});
|
|
14820
|
+
},
|
|
14821
|
+
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14822
|
+
var _this5 = this;
|
|
16445
14823
|
this.destinations = [];
|
|
16446
14824
|
this.origins = [];
|
|
16447
14825
|
this.components = [];
|
|
@@ -16460,41 +14838,8 @@ var _capitalise = function capitalise(str) {
|
|
|
16460
14838
|
return response.json();
|
|
16461
14839
|
}).then(function (data) {
|
|
16462
14840
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
16463
|
-
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
// process the nodes for finding datasets
|
|
16467
|
-
var componentsFlat = _this4.flattenConntectivity(components);
|
|
16468
|
-
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
16469
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
16470
|
-
var axonsFlat = _this4.flattenConntectivity(axons);
|
|
16471
|
-
var dendritesFlat = _this4.flattenConntectivity(dendrites);
|
|
16472
|
-
var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
|
|
16473
|
-
|
|
16474
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
16475
|
-
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
16476
|
-
_this4.destinations = axons.map(function (a) {
|
|
16477
|
-
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
16478
|
-
});
|
|
16479
|
-
_this4.origins = dendrites.map(function (d) {
|
|
16480
|
-
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
16481
|
-
});
|
|
16482
|
-
_this4.components = components.map(function (c) {
|
|
16483
|
-
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
16484
|
-
});
|
|
16485
|
-
});
|
|
16486
|
-
|
|
16487
|
-
// Filter for the anatomy which is annotated on datasets
|
|
16488
|
-
_this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
16489
|
-
return axonsFlat.indexOf(ub.id) !== -1;
|
|
16490
|
-
});
|
|
16491
|
-
_this4.originsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
16492
|
-
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
16493
|
-
});
|
|
16494
|
-
_this4.componentsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
16495
|
-
return componentsFlat.indexOf(ub.id) !== -1;
|
|
16496
|
-
});
|
|
16497
|
-
_this4.loading = false;
|
|
14841
|
+
_this5.processConnectivity(connectivity);
|
|
14842
|
+
_this5.loading = false;
|
|
16498
14843
|
}).catch(function (error) {
|
|
16499
14844
|
console.error('Error:', error);
|
|
16500
14845
|
});
|
|
@@ -16503,8 +14848,8 @@ var _capitalise = function capitalise(str) {
|
|
|
16503
14848
|
});
|
|
16504
14849
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
16505
14850
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
16506
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
16507
|
-
var
|
|
14851
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&prod&scoped=true&lang=scss&
|
|
14852
|
+
var Tooltipvue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss_ = __webpack_require__("b64b");
|
|
16508
14853
|
|
|
16509
14854
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
16510
14855
|
|
|
@@ -16517,11 +14862,11 @@ var Tooltipvue_type_style_index_0_id_4a14f4de_prod_scoped_true_lang_scss_ = __we
|
|
|
16517
14862
|
|
|
16518
14863
|
var Tooltip_component = normalizeComponent(
|
|
16519
14864
|
components_Tooltipvue_type_script_lang_js_,
|
|
16520
|
-
|
|
16521
|
-
|
|
14865
|
+
Tooltipvue_type_template_id_6d6dee76_scoped_true_render,
|
|
14866
|
+
Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns,
|
|
16522
14867
|
false,
|
|
16523
14868
|
null,
|
|
16524
|
-
"
|
|
14869
|
+
"6d6dee76",
|
|
16525
14870
|
null
|
|
16526
14871
|
|
|
16527
14872
|
)
|
|
@@ -16530,7 +14875,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
16530
14875
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
16531
14876
|
var svg_sprite_ = __webpack_require__("429c");
|
|
16532
14877
|
|
|
16533
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14878
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
|
|
16534
14879
|
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function render() {
|
|
16535
14880
|
var _vm = this,
|
|
16536
14881
|
_c = _vm._self._c;
|
|
@@ -16890,6 +15235,7 @@ var mapResize = function mapResize(map) {
|
|
|
16890
15235
|
this.tooltipVisible = true;
|
|
16891
15236
|
this.tooltipContent = content;
|
|
16892
15237
|
this.tooltipContent.uberon = feature;
|
|
15238
|
+
this.tooltipContent.source = data.feature.source;
|
|
16893
15239
|
this.tooltipContent.title = data.label;
|
|
16894
15240
|
this.tooltipContent.featureIds = [feature];
|
|
16895
15241
|
this.tooltipContent.actions.push({
|
|
@@ -16907,6 +15253,7 @@ var mapResize = function mapResize(map) {
|
|
|
16907
15253
|
this.tooltipVisible = true;
|
|
16908
15254
|
this.tooltipContent = content;
|
|
16909
15255
|
this.tooltipContent.uberon = feature;
|
|
15256
|
+
this.tooltipContent.source = data.feature.source;
|
|
16910
15257
|
this.tooltipContent.title = data.label;
|
|
16911
15258
|
this.tooltipContent.actions.push({
|
|
16912
15259
|
title: "View dataset",
|
|
@@ -17004,9 +15351,11 @@ var mapResize = function mapResize(map) {
|
|
|
17004
15351
|
if (this.mapImp) {
|
|
17005
15352
|
var state = {
|
|
17006
15353
|
entry: this.entry,
|
|
17007
|
-
biologicalSex: this.biologicalSex,
|
|
17008
15354
|
viewport: this.mapImp.getState()
|
|
17009
15355
|
};
|
|
15356
|
+
var identifier = this.mapImp.getIdentifier();
|
|
15357
|
+
if (this.biologicalSex) state['biologicalSex'] = this.biologicalSex;else if (identifier && identifier.biologicalSex) state['biologicalSex'] = identifier.biologicalSex;
|
|
15358
|
+
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
17010
15359
|
return state;
|
|
17011
15360
|
}
|
|
17012
15361
|
return undefined;
|
|
@@ -17033,7 +15382,7 @@ var mapResize = function mapResize(map) {
|
|
|
17033
15382
|
};
|
|
17034
15383
|
}
|
|
17035
15384
|
|
|
17036
|
-
//As for flatmap-viewer@2.2.
|
|
15385
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
17037
15386
|
//for the identifier:
|
|
17038
15387
|
|
|
17039
15388
|
//@arg identifier {string|Object}
|
|
@@ -17126,7 +15475,10 @@ var mapResize = function mapResize(map) {
|
|
|
17126
15475
|
},
|
|
17127
15476
|
props: {
|
|
17128
15477
|
entry: String,
|
|
17129
|
-
biologicalSex:
|
|
15478
|
+
biologicalSex: {
|
|
15479
|
+
type: String,
|
|
15480
|
+
default: ""
|
|
15481
|
+
},
|
|
17130
15482
|
featureInfo: {
|
|
17131
15483
|
type: Boolean,
|
|
17132
15484
|
default: false
|
|
@@ -17259,8 +15611,8 @@ var mapResize = function mapResize(map) {
|
|
|
17259
15611
|
});
|
|
17260
15612
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
17261
15613
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
17262
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
17263
|
-
var
|
|
15614
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=0f3b65f0&prod&scoped=true&lang=scss&
|
|
15615
|
+
var FlatmapVuervue_type_style_index_0_id_0f3b65f0_prod_scoped_true_lang_scss_ = __webpack_require__("b9e5");
|
|
17264
15616
|
|
|
17265
15617
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
17266
15618
|
|
|
@@ -17277,13 +15629,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
17277
15629
|
staticRenderFns,
|
|
17278
15630
|
false,
|
|
17279
15631
|
null,
|
|
17280
|
-
"
|
|
15632
|
+
"0f3b65f0",
|
|
17281
15633
|
null
|
|
17282
15634
|
|
|
17283
15635
|
)
|
|
17284
15636
|
|
|
17285
15637
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
17286
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15638
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0ad8a77b&scoped=true&
|
|
17287
15639
|
var MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render = function render() {
|
|
17288
15640
|
var _vm = this,
|
|
17289
15641
|
_c = _vm._self._c;
|
|
@@ -17708,13 +16060,6 @@ module.exports = require("core-js/modules/es.string.includes.js");
|
|
|
17708
16060
|
|
|
17709
16061
|
/***/ }),
|
|
17710
16062
|
|
|
17711
|
-
/***/ "fd71":
|
|
17712
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
17713
|
-
|
|
17714
|
-
// extracted by mini-css-extract-plugin
|
|
17715
|
-
|
|
17716
|
-
/***/ }),
|
|
17717
|
-
|
|
17718
16063
|
/***/ "fe07":
|
|
17719
16064
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17720
16065
|
|