@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -103,13 +103,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
103
103
|
|
|
104
104
|
/***/ }),
|
|
105
105
|
|
|
106
|
-
/***/ "0875":
|
|
107
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
108
|
-
|
|
109
|
-
// extracted by mini-css-extract-plugin
|
|
110
|
-
|
|
111
|
-
/***/ }),
|
|
112
|
-
|
|
113
106
|
/***/ "0f6c":
|
|
114
107
|
/***/ (function(module, exports) {
|
|
115
108
|
|
|
@@ -732,14 +725,14 @@ module.exports = __webpack_require__("e62d");
|
|
|
732
725
|
|
|
733
726
|
/***/ }),
|
|
734
727
|
|
|
735
|
-
/***/ "
|
|
728
|
+
/***/ "1951":
|
|
736
729
|
/***/ (function(module, exports, __webpack_require__) {
|
|
737
730
|
|
|
738
731
|
// extracted by mini-css-extract-plugin
|
|
739
732
|
|
|
740
733
|
/***/ }),
|
|
741
734
|
|
|
742
|
-
/***/ "
|
|
735
|
+
/***/ "1959":
|
|
743
736
|
/***/ (function(module, exports, __webpack_require__) {
|
|
744
737
|
|
|
745
738
|
// extracted by mini-css-extract-plugin
|
|
@@ -767,18 +760,29 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
767
760
|
|
|
768
761
|
/***/ }),
|
|
769
762
|
|
|
770
|
-
/***/ "
|
|
771
|
-
/***/ (function(module, exports) {
|
|
763
|
+
/***/ "1f1a":
|
|
764
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
772
765
|
|
|
773
|
-
|
|
766
|
+
// extracted by mini-css-extract-plugin
|
|
774
767
|
|
|
775
768
|
/***/ }),
|
|
776
769
|
|
|
777
|
-
/***/ "
|
|
770
|
+
/***/ "21d1":
|
|
778
771
|
/***/ (function(module, exports, __webpack_require__) {
|
|
779
772
|
|
|
780
773
|
// extracted by mini-css-extract-plugin
|
|
781
774
|
|
|
775
|
+
/***/ }),
|
|
776
|
+
|
|
777
|
+
/***/ "233b":
|
|
778
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
779
|
+
|
|
780
|
+
"use strict";
|
|
781
|
+
/* 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");
|
|
782
|
+
/* 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__);
|
|
783
|
+
/* unused harmony reexport * */
|
|
784
|
+
|
|
785
|
+
|
|
782
786
|
/***/ }),
|
|
783
787
|
|
|
784
788
|
/***/ "2439":
|
|
@@ -916,7 +920,14 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
916
920
|
|
|
917
921
|
/***/ }),
|
|
918
922
|
|
|
919
|
-
/***/ "
|
|
923
|
+
/***/ "30df":
|
|
924
|
+
/***/ (function(module, exports) {
|
|
925
|
+
|
|
926
|
+
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
927
|
+
|
|
928
|
+
/***/ }),
|
|
929
|
+
|
|
930
|
+
/***/ "3d2d":
|
|
920
931
|
/***/ (function(module, exports, __webpack_require__) {
|
|
921
932
|
|
|
922
933
|
module.exports =
|
|
@@ -1003,7 +1014,7 @@ module.exports =
|
|
|
1003
1014
|
/******/
|
|
1004
1015
|
/******/
|
|
1005
1016
|
/******/ // Load entry module and return exports
|
|
1006
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1017
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1007
1018
|
/******/ })
|
|
1008
1019
|
/************************************************************************/
|
|
1009
1020
|
/******/ ({
|
|
@@ -1110,55 +1121,21 @@ function normalizeComponent (
|
|
|
1110
1121
|
|
|
1111
1122
|
/***/ }),
|
|
1112
1123
|
|
|
1113
|
-
/***/
|
|
1124
|
+
/***/ 116:
|
|
1114
1125
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1115
1126
|
|
|
1116
1127
|
"use strict";
|
|
1117
1128
|
__webpack_require__.r(__webpack_exports__);
|
|
1118
1129
|
|
|
1119
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
1130
|
+
// 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&
|
|
1120
1131
|
var render = function() {
|
|
1121
1132
|
var _vm = this
|
|
1122
1133
|
var _h = _vm.$createElement
|
|
1123
1134
|
var _c = _vm._self._c || _h
|
|
1124
1135
|
return _c(
|
|
1125
|
-
"
|
|
1126
|
-
{
|
|
1127
|
-
|
|
1128
|
-
{
|
|
1129
|
-
name: "show",
|
|
1130
|
-
rawName: "v-show",
|
|
1131
|
-
value: _vm.ready,
|
|
1132
|
-
expression: "ready"
|
|
1133
|
-
}
|
|
1134
|
-
],
|
|
1135
|
-
staticClass: "el-carousel__item",
|
|
1136
|
-
class: {
|
|
1137
|
-
"is-active": _vm.active,
|
|
1138
|
-
"el-carousel__item--card": _vm.$parent.type === "card",
|
|
1139
|
-
"is-in-stage": _vm.inStage,
|
|
1140
|
-
"is-hover": _vm.hover,
|
|
1141
|
-
"is-animating": _vm.animating
|
|
1142
|
-
},
|
|
1143
|
-
style: _vm.itemStyle,
|
|
1144
|
-
on: { click: _vm.handleItemClick }
|
|
1145
|
-
},
|
|
1146
|
-
[
|
|
1147
|
-
_vm.$parent.type === "card"
|
|
1148
|
-
? _c("div", {
|
|
1149
|
-
directives: [
|
|
1150
|
-
{
|
|
1151
|
-
name: "show",
|
|
1152
|
-
rawName: "v-show",
|
|
1153
|
-
value: !_vm.active,
|
|
1154
|
-
expression: "!active"
|
|
1155
|
-
}
|
|
1156
|
-
],
|
|
1157
|
-
staticClass: "el-carousel__mask"
|
|
1158
|
-
})
|
|
1159
|
-
: _vm._e(),
|
|
1160
|
-
_vm._t("default")
|
|
1161
|
-
],
|
|
1136
|
+
"section",
|
|
1137
|
+
{ staticClass: "el-container", class: { "is-vertical": _vm.isVertical } },
|
|
1138
|
+
[_vm._t("default")],
|
|
1162
1139
|
2
|
|
1163
1140
|
)
|
|
1164
1141
|
}
|
|
@@ -1166,28 +1143,9 @@ var staticRenderFns = []
|
|
|
1166
1143
|
render._withStripped = true
|
|
1167
1144
|
|
|
1168
1145
|
|
|
1169
|
-
// CONCATENATED MODULE: ./packages/
|
|
1170
|
-
|
|
1171
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
1172
|
-
var util_ = __webpack_require__(3);
|
|
1146
|
+
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=template&id=5bf181d4&
|
|
1173
1147
|
|
|
1174
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
1175
|
-
//
|
|
1176
|
-
//
|
|
1177
|
-
//
|
|
1178
|
-
//
|
|
1179
|
-
//
|
|
1180
|
-
//
|
|
1181
|
-
//
|
|
1182
|
-
//
|
|
1183
|
-
//
|
|
1184
|
-
//
|
|
1185
|
-
//
|
|
1186
|
-
//
|
|
1187
|
-
//
|
|
1188
|
-
//
|
|
1189
|
-
//
|
|
1190
|
-
//
|
|
1148
|
+
// 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&
|
|
1191
1149
|
//
|
|
1192
1150
|
//
|
|
1193
1151
|
//
|
|
@@ -1195,121 +1153,35 @@ var util_ = __webpack_require__(3);
|
|
|
1195
1153
|
//
|
|
1196
1154
|
//
|
|
1197
1155
|
|
|
1156
|
+
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
1157
|
+
name: 'ElContainer',
|
|
1198
1158
|
|
|
1199
|
-
|
|
1200
|
-
/* harmony default export */ var itemvue_type_script_lang_js_ = ({
|
|
1201
|
-
name: 'ElCarouselItem',
|
|
1159
|
+
componentName: 'ElContainer',
|
|
1202
1160
|
|
|
1203
1161
|
props: {
|
|
1204
|
-
|
|
1205
|
-
label: {
|
|
1206
|
-
type: [String, Number],
|
|
1207
|
-
default: ''
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
|
|
1211
|
-
data: function data() {
|
|
1212
|
-
return {
|
|
1213
|
-
hover: false,
|
|
1214
|
-
translate: 0,
|
|
1215
|
-
scale: 1,
|
|
1216
|
-
active: false,
|
|
1217
|
-
ready: false,
|
|
1218
|
-
inStage: false,
|
|
1219
|
-
animating: false
|
|
1220
|
-
};
|
|
1221
|
-
},
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
methods: {
|
|
1225
|
-
processIndex: function processIndex(index, activeIndex, length) {
|
|
1226
|
-
if (activeIndex === 0 && index === length - 1) {
|
|
1227
|
-
return -1;
|
|
1228
|
-
} else if (activeIndex === length - 1 && index === 0) {
|
|
1229
|
-
return length;
|
|
1230
|
-
} else if (index < activeIndex - 1 && activeIndex - index >= length / 2) {
|
|
1231
|
-
return length + 1;
|
|
1232
|
-
} else if (index > activeIndex + 1 && index - activeIndex >= length / 2) {
|
|
1233
|
-
return -2;
|
|
1234
|
-
}
|
|
1235
|
-
return index;
|
|
1236
|
-
},
|
|
1237
|
-
calcCardTranslate: function calcCardTranslate(index, activeIndex) {
|
|
1238
|
-
var parentWidth = this.$parent.$el.offsetWidth;
|
|
1239
|
-
if (this.inStage) {
|
|
1240
|
-
return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4;
|
|
1241
|
-
} else if (index < activeIndex) {
|
|
1242
|
-
return -(1 + CARD_SCALE) * parentWidth / 4;
|
|
1243
|
-
} else {
|
|
1244
|
-
return (3 + CARD_SCALE) * parentWidth / 4;
|
|
1245
|
-
}
|
|
1246
|
-
},
|
|
1247
|
-
calcTranslate: function calcTranslate(index, activeIndex, isVertical) {
|
|
1248
|
-
var distance = this.$parent.$el[isVertical ? 'offsetHeight' : 'offsetWidth'];
|
|
1249
|
-
return distance * (index - activeIndex);
|
|
1250
|
-
},
|
|
1251
|
-
translateItem: function translateItem(index, activeIndex, oldIndex) {
|
|
1252
|
-
var parentType = this.$parent.type;
|
|
1253
|
-
var parentDirection = this.parentDirection;
|
|
1254
|
-
var length = this.$parent.items.length;
|
|
1255
|
-
if (parentType !== 'card' && oldIndex !== undefined) {
|
|
1256
|
-
this.animating = index === activeIndex || index === oldIndex;
|
|
1257
|
-
}
|
|
1258
|
-
if (index !== activeIndex && length > 2 && this.$parent.loop) {
|
|
1259
|
-
index = this.processIndex(index, activeIndex, length);
|
|
1260
|
-
}
|
|
1261
|
-
if (parentType === 'card') {
|
|
1262
|
-
if (parentDirection === 'vertical') {
|
|
1263
|
-
console.warn('[Element Warn][Carousel]vertical direction is not supported in card mode');
|
|
1264
|
-
}
|
|
1265
|
-
this.inStage = Math.round(Math.abs(index - activeIndex)) <= 1;
|
|
1266
|
-
this.active = index === activeIndex;
|
|
1267
|
-
this.translate = this.calcCardTranslate(index, activeIndex);
|
|
1268
|
-
this.scale = this.active ? 1 : CARD_SCALE;
|
|
1269
|
-
} else {
|
|
1270
|
-
this.active = index === activeIndex;
|
|
1271
|
-
var isVertical = parentDirection === 'vertical';
|
|
1272
|
-
this.translate = this.calcTranslate(index, activeIndex, isVertical);
|
|
1273
|
-
this.scale = 1;
|
|
1274
|
-
}
|
|
1275
|
-
this.ready = true;
|
|
1276
|
-
},
|
|
1277
|
-
handleItemClick: function handleItemClick() {
|
|
1278
|
-
var parent = this.$parent;
|
|
1279
|
-
if (parent && parent.type === 'card') {
|
|
1280
|
-
var index = parent.items.indexOf(this);
|
|
1281
|
-
parent.setActiveItem(index);
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1162
|
+
direction: String
|
|
1284
1163
|
},
|
|
1285
1164
|
|
|
1286
1165
|
computed: {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1166
|
+
isVertical: function isVertical() {
|
|
1167
|
+
if (this.direction === 'vertical') {
|
|
1168
|
+
return true;
|
|
1169
|
+
} else if (this.direction === 'horizontal') {
|
|
1170
|
+
return false;
|
|
1171
|
+
}
|
|
1172
|
+
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
|
|
1173
|
+
var tag = vnode.componentOptions && vnode.componentOptions.tag;
|
|
1174
|
+
return tag === 'el-header' || tag === 'el-footer';
|
|
1175
|
+
}) : false;
|
|
1297
1176
|
}
|
|
1298
|
-
},
|
|
1299
|
-
|
|
1300
|
-
created: function created() {
|
|
1301
|
-
this.$parent && this.$parent.updateItems();
|
|
1302
|
-
},
|
|
1303
|
-
destroyed: function destroyed() {
|
|
1304
|
-
this.$parent && this.$parent.updateItems();
|
|
1305
1177
|
}
|
|
1306
1178
|
});
|
|
1307
|
-
// CONCATENATED MODULE: ./packages/
|
|
1308
|
-
/* harmony default export */ var
|
|
1179
|
+
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=script&lang=js&
|
|
1180
|
+
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
1309
1181
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1310
1182
|
var componentNormalizer = __webpack_require__(0);
|
|
1311
1183
|
|
|
1312
|
-
// CONCATENATED MODULE: ./packages/
|
|
1184
|
+
// CONCATENATED MODULE: ./packages/container/src/main.vue
|
|
1313
1185
|
|
|
1314
1186
|
|
|
1315
1187
|
|
|
@@ -1318,7 +1190,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
1318
1190
|
/* normalize component */
|
|
1319
1191
|
|
|
1320
1192
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
1321
|
-
|
|
1193
|
+
src_mainvue_type_script_lang_js_,
|
|
1322
1194
|
render,
|
|
1323
1195
|
staticRenderFns,
|
|
1324
1196
|
false,
|
|
@@ -1330,24 +1202,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1330
1202
|
|
|
1331
1203
|
/* hot reload */
|
|
1332
1204
|
if (false) { var api; }
|
|
1333
|
-
component.options.__file = "packages/
|
|
1334
|
-
/* harmony default export */ var
|
|
1335
|
-
// CONCATENATED MODULE: ./packages/
|
|
1205
|
+
component.options.__file = "packages/container/src/main.vue"
|
|
1206
|
+
/* harmony default export */ var main = (component.exports);
|
|
1207
|
+
// CONCATENATED MODULE: ./packages/container/index.js
|
|
1336
1208
|
|
|
1337
1209
|
|
|
1338
1210
|
/* istanbul ignore next */
|
|
1339
|
-
|
|
1340
|
-
Vue.component(
|
|
1211
|
+
main.install = function (Vue) {
|
|
1212
|
+
Vue.component(main.name, main);
|
|
1341
1213
|
};
|
|
1342
1214
|
|
|
1343
|
-
/* harmony default export */ var
|
|
1344
|
-
|
|
1345
|
-
/***/ }),
|
|
1346
|
-
|
|
1347
|
-
/***/ 3:
|
|
1348
|
-
/***/ (function(module, exports) {
|
|
1349
|
-
|
|
1350
|
-
module.exports = __webpack_require__("8122");
|
|
1215
|
+
/* harmony default export */ var container = __webpack_exports__["default"] = (main);
|
|
1351
1216
|
|
|
1352
1217
|
/***/ })
|
|
1353
1218
|
|
|
@@ -1355,323 +1220,23 @@ module.exports = __webpack_require__("8122");
|
|
|
1355
1220
|
|
|
1356
1221
|
/***/ }),
|
|
1357
1222
|
|
|
1358
|
-
/***/ "
|
|
1359
|
-
/***/ (function(module, exports) {
|
|
1223
|
+
/***/ "3ec8":
|
|
1224
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1360
1225
|
|
|
1361
|
-
|
|
1226
|
+
// extracted by mini-css-extract-plugin
|
|
1362
1227
|
|
|
1363
1228
|
/***/ }),
|
|
1364
1229
|
|
|
1365
|
-
/***/ "
|
|
1230
|
+
/***/ "4010":
|
|
1366
1231
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1367
1232
|
|
|
1368
|
-
|
|
1369
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
1370
|
-
/******/ // The module cache
|
|
1371
|
-
/******/ var installedModules = {};
|
|
1372
|
-
/******/
|
|
1373
|
-
/******/ // The require function
|
|
1374
|
-
/******/ function __webpack_require__(moduleId) {
|
|
1375
|
-
/******/
|
|
1376
|
-
/******/ // Check if module is in cache
|
|
1377
|
-
/******/ if(installedModules[moduleId]) {
|
|
1378
|
-
/******/ return installedModules[moduleId].exports;
|
|
1379
|
-
/******/ }
|
|
1380
|
-
/******/ // Create a new module (and put it into the cache)
|
|
1381
|
-
/******/ var module = installedModules[moduleId] = {
|
|
1382
|
-
/******/ i: moduleId,
|
|
1383
|
-
/******/ l: false,
|
|
1384
|
-
/******/ exports: {}
|
|
1385
|
-
/******/ };
|
|
1386
|
-
/******/
|
|
1387
|
-
/******/ // Execute the module function
|
|
1388
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1389
|
-
/******/
|
|
1390
|
-
/******/ // Flag the module as loaded
|
|
1391
|
-
/******/ module.l = true;
|
|
1392
|
-
/******/
|
|
1393
|
-
/******/ // Return the exports of the module
|
|
1394
|
-
/******/ return module.exports;
|
|
1395
|
-
/******/ }
|
|
1396
|
-
/******/
|
|
1397
|
-
/******/
|
|
1398
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
1399
|
-
/******/ __webpack_require__.m = modules;
|
|
1400
|
-
/******/
|
|
1401
|
-
/******/ // expose the module cache
|
|
1402
|
-
/******/ __webpack_require__.c = installedModules;
|
|
1403
|
-
/******/
|
|
1404
|
-
/******/ // define getter function for harmony exports
|
|
1405
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
1406
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
1407
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
1408
|
-
/******/ }
|
|
1409
|
-
/******/ };
|
|
1410
|
-
/******/
|
|
1411
|
-
/******/ // define __esModule on exports
|
|
1412
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
1413
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1414
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1415
|
-
/******/ }
|
|
1416
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1417
|
-
/******/ };
|
|
1418
|
-
/******/
|
|
1419
|
-
/******/ // create a fake namespace object
|
|
1420
|
-
/******/ // mode & 1: value is a module id, require it
|
|
1421
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
1422
|
-
/******/ // mode & 4: return value when already ns object
|
|
1423
|
-
/******/ // mode & 8|1: behave like require
|
|
1424
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
1425
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
1426
|
-
/******/ if(mode & 8) return value;
|
|
1427
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
1428
|
-
/******/ var ns = Object.create(null);
|
|
1429
|
-
/******/ __webpack_require__.r(ns);
|
|
1430
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
1431
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
1432
|
-
/******/ return ns;
|
|
1433
|
-
/******/ };
|
|
1434
|
-
/******/
|
|
1435
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
1436
|
-
/******/ __webpack_require__.n = function(module) {
|
|
1437
|
-
/******/ var getter = module && module.__esModule ?
|
|
1438
|
-
/******/ function getDefault() { return module['default']; } :
|
|
1439
|
-
/******/ function getModuleExports() { return module; };
|
|
1440
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
1441
|
-
/******/ return getter;
|
|
1442
|
-
/******/ };
|
|
1443
|
-
/******/
|
|
1444
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
1445
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
1446
|
-
/******/
|
|
1447
|
-
/******/ // __webpack_public_path__
|
|
1448
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
1449
|
-
/******/
|
|
1450
|
-
/******/
|
|
1451
|
-
/******/ // Load entry module and return exports
|
|
1452
|
-
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1453
|
-
/******/ })
|
|
1454
|
-
/************************************************************************/
|
|
1455
|
-
/******/ ({
|
|
1233
|
+
"use strict";
|
|
1456
1234
|
|
|
1457
|
-
/***/ 0:
|
|
1458
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1459
1235
|
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
1236
|
+
exports.__esModule = true;
|
|
1237
|
+
exports.removeResizeListener = exports.addResizeListener = undefined;
|
|
1463
1238
|
|
|
1464
|
-
|
|
1465
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
1466
|
-
// be included in the final webpack user bundle.
|
|
1467
|
-
|
|
1468
|
-
function normalizeComponent (
|
|
1469
|
-
scriptExports,
|
|
1470
|
-
render,
|
|
1471
|
-
staticRenderFns,
|
|
1472
|
-
functionalTemplate,
|
|
1473
|
-
injectStyles,
|
|
1474
|
-
scopeId,
|
|
1475
|
-
moduleIdentifier, /* server only */
|
|
1476
|
-
shadowMode /* vue-cli only */
|
|
1477
|
-
) {
|
|
1478
|
-
// Vue.extend constructor export interop
|
|
1479
|
-
var options = typeof scriptExports === 'function'
|
|
1480
|
-
? scriptExports.options
|
|
1481
|
-
: scriptExports
|
|
1482
|
-
|
|
1483
|
-
// render functions
|
|
1484
|
-
if (render) {
|
|
1485
|
-
options.render = render
|
|
1486
|
-
options.staticRenderFns = staticRenderFns
|
|
1487
|
-
options._compiled = true
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
// functional template
|
|
1491
|
-
if (functionalTemplate) {
|
|
1492
|
-
options.functional = true
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
// scopedId
|
|
1496
|
-
if (scopeId) {
|
|
1497
|
-
options._scopeId = 'data-v-' + scopeId
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
var hook
|
|
1501
|
-
if (moduleIdentifier) { // server build
|
|
1502
|
-
hook = function (context) {
|
|
1503
|
-
// 2.3 injection
|
|
1504
|
-
context =
|
|
1505
|
-
context || // cached call
|
|
1506
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1507
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
1508
|
-
// 2.2 with runInNewContext: true
|
|
1509
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1510
|
-
context = __VUE_SSR_CONTEXT__
|
|
1511
|
-
}
|
|
1512
|
-
// inject component styles
|
|
1513
|
-
if (injectStyles) {
|
|
1514
|
-
injectStyles.call(this, context)
|
|
1515
|
-
}
|
|
1516
|
-
// register component module identifier for async chunk inferrence
|
|
1517
|
-
if (context && context._registeredComponents) {
|
|
1518
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
// used by ssr in case component is cached and beforeCreate
|
|
1522
|
-
// never gets called
|
|
1523
|
-
options._ssrRegister = hook
|
|
1524
|
-
} else if (injectStyles) {
|
|
1525
|
-
hook = shadowMode
|
|
1526
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
1527
|
-
: injectStyles
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
if (hook) {
|
|
1531
|
-
if (options.functional) {
|
|
1532
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
1533
|
-
// go through the normalizer
|
|
1534
|
-
options._injectStyles = hook
|
|
1535
|
-
// register for functioal component in vue file
|
|
1536
|
-
var originalRender = options.render
|
|
1537
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
1538
|
-
hook.call(context)
|
|
1539
|
-
return originalRender(h, context)
|
|
1540
|
-
}
|
|
1541
|
-
} else {
|
|
1542
|
-
// inject component registration as beforeCreate hook
|
|
1543
|
-
var existing = options.beforeCreate
|
|
1544
|
-
options.beforeCreate = existing
|
|
1545
|
-
? [].concat(existing, hook)
|
|
1546
|
-
: [hook]
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
return {
|
|
1551
|
-
exports: scriptExports,
|
|
1552
|
-
options: options
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
/***/ }),
|
|
1558
|
-
|
|
1559
|
-
/***/ 116:
|
|
1560
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1561
|
-
|
|
1562
|
-
"use strict";
|
|
1563
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1564
|
-
|
|
1565
|
-
// 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&
|
|
1566
|
-
var render = function() {
|
|
1567
|
-
var _vm = this
|
|
1568
|
-
var _h = _vm.$createElement
|
|
1569
|
-
var _c = _vm._self._c || _h
|
|
1570
|
-
return _c(
|
|
1571
|
-
"section",
|
|
1572
|
-
{ staticClass: "el-container", class: { "is-vertical": _vm.isVertical } },
|
|
1573
|
-
[_vm._t("default")],
|
|
1574
|
-
2
|
|
1575
|
-
)
|
|
1576
|
-
}
|
|
1577
|
-
var staticRenderFns = []
|
|
1578
|
-
render._withStripped = true
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=template&id=5bf181d4&
|
|
1582
|
-
|
|
1583
|
-
// 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&
|
|
1584
|
-
//
|
|
1585
|
-
//
|
|
1586
|
-
//
|
|
1587
|
-
//
|
|
1588
|
-
//
|
|
1589
|
-
//
|
|
1590
|
-
|
|
1591
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
1592
|
-
name: 'ElContainer',
|
|
1593
|
-
|
|
1594
|
-
componentName: 'ElContainer',
|
|
1595
|
-
|
|
1596
|
-
props: {
|
|
1597
|
-
direction: String
|
|
1598
|
-
},
|
|
1599
|
-
|
|
1600
|
-
computed: {
|
|
1601
|
-
isVertical: function isVertical() {
|
|
1602
|
-
if (this.direction === 'vertical') {
|
|
1603
|
-
return true;
|
|
1604
|
-
} else if (this.direction === 'horizontal') {
|
|
1605
|
-
return false;
|
|
1606
|
-
}
|
|
1607
|
-
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
|
|
1608
|
-
var tag = vnode.componentOptions && vnode.componentOptions.tag;
|
|
1609
|
-
return tag === 'el-header' || tag === 'el-footer';
|
|
1610
|
-
}) : false;
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
});
|
|
1614
|
-
// CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=script&lang=js&
|
|
1615
|
-
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
1616
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1617
|
-
var componentNormalizer = __webpack_require__(0);
|
|
1618
|
-
|
|
1619
|
-
// CONCATENATED MODULE: ./packages/container/src/main.vue
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
/* normalize component */
|
|
1626
|
-
|
|
1627
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
1628
|
-
src_mainvue_type_script_lang_js_,
|
|
1629
|
-
render,
|
|
1630
|
-
staticRenderFns,
|
|
1631
|
-
false,
|
|
1632
|
-
null,
|
|
1633
|
-
null,
|
|
1634
|
-
null
|
|
1635
|
-
|
|
1636
|
-
)
|
|
1637
|
-
|
|
1638
|
-
/* hot reload */
|
|
1639
|
-
if (false) { var api; }
|
|
1640
|
-
component.options.__file = "packages/container/src/main.vue"
|
|
1641
|
-
/* harmony default export */ var main = (component.exports);
|
|
1642
|
-
// CONCATENATED MODULE: ./packages/container/index.js
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
/* istanbul ignore next */
|
|
1646
|
-
main.install = function (Vue) {
|
|
1647
|
-
Vue.component(main.name, main);
|
|
1648
|
-
};
|
|
1649
|
-
|
|
1650
|
-
/* harmony default export */ var container = __webpack_exports__["default"] = (main);
|
|
1651
|
-
|
|
1652
|
-
/***/ })
|
|
1653
|
-
|
|
1654
|
-
/******/ });
|
|
1655
|
-
|
|
1656
|
-
/***/ }),
|
|
1657
|
-
|
|
1658
|
-
/***/ "3ec8":
|
|
1659
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1660
|
-
|
|
1661
|
-
// extracted by mini-css-extract-plugin
|
|
1662
|
-
|
|
1663
|
-
/***/ }),
|
|
1664
|
-
|
|
1665
|
-
/***/ "4010":
|
|
1666
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1667
|
-
|
|
1668
|
-
"use strict";
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
exports.__esModule = true;
|
|
1672
|
-
exports.removeResizeListener = exports.addResizeListener = undefined;
|
|
1673
|
-
|
|
1674
|
-
var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
1239
|
+
var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
1675
1240
|
|
|
1676
1241
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1677
1242
|
|
|
@@ -4568,17 +4133,6 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4568
4133
|
|
|
4569
4134
|
// extracted by mini-css-extract-plugin
|
|
4570
4135
|
|
|
4571
|
-
/***/ }),
|
|
4572
|
-
|
|
4573
|
-
/***/ "587b":
|
|
4574
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4575
|
-
|
|
4576
|
-
"use strict";
|
|
4577
|
-
/* 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");
|
|
4578
|
-
/* 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__);
|
|
4579
|
-
/* unused harmony reexport * */
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
4136
|
/***/ }),
|
|
4583
4137
|
|
|
4584
4138
|
/***/ "5924":
|
|
@@ -6093,13 +5647,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
6093
5647
|
|
|
6094
5648
|
/***/ }),
|
|
6095
5649
|
|
|
6096
|
-
/***/ "6259":
|
|
6097
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6098
|
-
|
|
6099
|
-
// extracted by mini-css-extract-plugin
|
|
6100
|
-
|
|
6101
|
-
/***/ }),
|
|
6102
|
-
|
|
6103
5650
|
/***/ "6378":
|
|
6104
5651
|
/***/ (function(module, exports) {
|
|
6105
5652
|
|
|
@@ -7177,18 +6724,14 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
7177
6724
|
|
|
7178
6725
|
/***/ }),
|
|
7179
6726
|
|
|
7180
|
-
/***/ "
|
|
7181
|
-
/***/ (function(module,
|
|
7182
|
-
|
|
7183
|
-
"use strict";
|
|
7184
|
-
/* 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");
|
|
7185
|
-
/* 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__);
|
|
7186
|
-
/* unused harmony reexport * */
|
|
6727
|
+
/***/ "7a0f":
|
|
6728
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7187
6729
|
|
|
6730
|
+
// extracted by mini-css-extract-plugin
|
|
7188
6731
|
|
|
7189
6732
|
/***/ }),
|
|
7190
6733
|
|
|
7191
|
-
/***/ "
|
|
6734
|
+
/***/ "7a9a":
|
|
7192
6735
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7193
6736
|
|
|
7194
6737
|
// extracted by mini-css-extract-plugin
|
|
@@ -9078,13 +8621,6 @@ module.exports = require("vue");
|
|
|
9078
8621
|
|
|
9079
8622
|
/***/ }),
|
|
9080
8623
|
|
|
9081
|
-
/***/ "96dc":
|
|
9082
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9083
|
-
|
|
9084
|
-
// extracted by mini-css-extract-plugin
|
|
9085
|
-
|
|
9086
|
-
/***/ }),
|
|
9087
|
-
|
|
9088
8624
|
/***/ "97d3":
|
|
9089
8625
|
/***/ (function(module, exports) {
|
|
9090
8626
|
|
|
@@ -9111,1129 +8647,75 @@ module.exports = require("@soda/get-current-script");
|
|
|
9111
8647
|
|
|
9112
8648
|
module.exports = require("core-js/modules/es.string.iterator.js");
|
|
9113
8649
|
|
|
9114
|
-
/***/ }),
|
|
9115
|
-
|
|
9116
|
-
/***/ "9cea":
|
|
9117
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9118
|
-
|
|
9119
|
-
module.exports =
|
|
9120
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
9121
|
-
/******/ // The module cache
|
|
9122
|
-
/******/ var installedModules = {};
|
|
9123
|
-
/******/
|
|
9124
|
-
/******/ // The require function
|
|
9125
|
-
/******/ function __webpack_require__(moduleId) {
|
|
9126
|
-
/******/
|
|
9127
|
-
/******/ // Check if module is in cache
|
|
9128
|
-
/******/ if(installedModules[moduleId]) {
|
|
9129
|
-
/******/ return installedModules[moduleId].exports;
|
|
9130
|
-
/******/ }
|
|
9131
|
-
/******/ // Create a new module (and put it into the cache)
|
|
9132
|
-
/******/ var module = installedModules[moduleId] = {
|
|
9133
|
-
/******/ i: moduleId,
|
|
9134
|
-
/******/ l: false,
|
|
9135
|
-
/******/ exports: {}
|
|
9136
|
-
/******/ };
|
|
9137
|
-
/******/
|
|
9138
|
-
/******/ // Execute the module function
|
|
9139
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
9140
|
-
/******/
|
|
9141
|
-
/******/ // Flag the module as loaded
|
|
9142
|
-
/******/ module.l = true;
|
|
9143
|
-
/******/
|
|
9144
|
-
/******/ // Return the exports of the module
|
|
9145
|
-
/******/ return module.exports;
|
|
9146
|
-
/******/ }
|
|
9147
|
-
/******/
|
|
9148
|
-
/******/
|
|
9149
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
9150
|
-
/******/ __webpack_require__.m = modules;
|
|
9151
|
-
/******/
|
|
9152
|
-
/******/ // expose the module cache
|
|
9153
|
-
/******/ __webpack_require__.c = installedModules;
|
|
9154
|
-
/******/
|
|
9155
|
-
/******/ // define getter function for harmony exports
|
|
9156
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
9157
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
9158
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
9159
|
-
/******/ }
|
|
9160
|
-
/******/ };
|
|
9161
|
-
/******/
|
|
9162
|
-
/******/ // define __esModule on exports
|
|
9163
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
9164
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
9165
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
9166
|
-
/******/ }
|
|
9167
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9168
|
-
/******/ };
|
|
9169
|
-
/******/
|
|
9170
|
-
/******/ // create a fake namespace object
|
|
9171
|
-
/******/ // mode & 1: value is a module id, require it
|
|
9172
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
9173
|
-
/******/ // mode & 4: return value when already ns object
|
|
9174
|
-
/******/ // mode & 8|1: behave like require
|
|
9175
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
9176
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
9177
|
-
/******/ if(mode & 8) return value;
|
|
9178
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
9179
|
-
/******/ var ns = Object.create(null);
|
|
9180
|
-
/******/ __webpack_require__.r(ns);
|
|
9181
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
9182
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
9183
|
-
/******/ return ns;
|
|
9184
|
-
/******/ };
|
|
9185
|
-
/******/
|
|
9186
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
9187
|
-
/******/ __webpack_require__.n = function(module) {
|
|
9188
|
-
/******/ var getter = module && module.__esModule ?
|
|
9189
|
-
/******/ function getDefault() { return module['default']; } :
|
|
9190
|
-
/******/ function getModuleExports() { return module; };
|
|
9191
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
9192
|
-
/******/ return getter;
|
|
9193
|
-
/******/ };
|
|
9194
|
-
/******/
|
|
9195
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
9196
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
9197
|
-
/******/
|
|
9198
|
-
/******/ // __webpack_public_path__
|
|
9199
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
9200
|
-
/******/
|
|
9201
|
-
/******/
|
|
9202
|
-
/******/ // Load entry module and return exports
|
|
9203
|
-
/******/ return __webpack_require__(__webpack_require__.s = 111);
|
|
9204
|
-
/******/ })
|
|
9205
|
-
/************************************************************************/
|
|
9206
|
-
/******/ ({
|
|
9207
|
-
|
|
9208
|
-
/***/ 0:
|
|
9209
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9210
|
-
|
|
9211
|
-
"use strict";
|
|
9212
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
9213
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
9214
|
-
|
|
9215
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
9216
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
9217
|
-
// be included in the final webpack user bundle.
|
|
9218
|
-
|
|
9219
|
-
function normalizeComponent (
|
|
9220
|
-
scriptExports,
|
|
9221
|
-
render,
|
|
9222
|
-
staticRenderFns,
|
|
9223
|
-
functionalTemplate,
|
|
9224
|
-
injectStyles,
|
|
9225
|
-
scopeId,
|
|
9226
|
-
moduleIdentifier, /* server only */
|
|
9227
|
-
shadowMode /* vue-cli only */
|
|
9228
|
-
) {
|
|
9229
|
-
// Vue.extend constructor export interop
|
|
9230
|
-
var options = typeof scriptExports === 'function'
|
|
9231
|
-
? scriptExports.options
|
|
9232
|
-
: scriptExports
|
|
9233
|
-
|
|
9234
|
-
// render functions
|
|
9235
|
-
if (render) {
|
|
9236
|
-
options.render = render
|
|
9237
|
-
options.staticRenderFns = staticRenderFns
|
|
9238
|
-
options._compiled = true
|
|
9239
|
-
}
|
|
9240
|
-
|
|
9241
|
-
// functional template
|
|
9242
|
-
if (functionalTemplate) {
|
|
9243
|
-
options.functional = true
|
|
9244
|
-
}
|
|
9245
|
-
|
|
9246
|
-
// scopedId
|
|
9247
|
-
if (scopeId) {
|
|
9248
|
-
options._scopeId = 'data-v-' + scopeId
|
|
9249
|
-
}
|
|
9250
|
-
|
|
9251
|
-
var hook
|
|
9252
|
-
if (moduleIdentifier) { // server build
|
|
9253
|
-
hook = function (context) {
|
|
9254
|
-
// 2.3 injection
|
|
9255
|
-
context =
|
|
9256
|
-
context || // cached call
|
|
9257
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
9258
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
9259
|
-
// 2.2 with runInNewContext: true
|
|
9260
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
9261
|
-
context = __VUE_SSR_CONTEXT__
|
|
9262
|
-
}
|
|
9263
|
-
// inject component styles
|
|
9264
|
-
if (injectStyles) {
|
|
9265
|
-
injectStyles.call(this, context)
|
|
9266
|
-
}
|
|
9267
|
-
// register component module identifier for async chunk inferrence
|
|
9268
|
-
if (context && context._registeredComponents) {
|
|
9269
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
9270
|
-
}
|
|
9271
|
-
}
|
|
9272
|
-
// used by ssr in case component is cached and beforeCreate
|
|
9273
|
-
// never gets called
|
|
9274
|
-
options._ssrRegister = hook
|
|
9275
|
-
} else if (injectStyles) {
|
|
9276
|
-
hook = shadowMode
|
|
9277
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
9278
|
-
: injectStyles
|
|
9279
|
-
}
|
|
9280
|
-
|
|
9281
|
-
if (hook) {
|
|
9282
|
-
if (options.functional) {
|
|
9283
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
9284
|
-
// go through the normalizer
|
|
9285
|
-
options._injectStyles = hook
|
|
9286
|
-
// register for functioal component in vue file
|
|
9287
|
-
var originalRender = options.render
|
|
9288
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
9289
|
-
hook.call(context)
|
|
9290
|
-
return originalRender(h, context)
|
|
9291
|
-
}
|
|
9292
|
-
} else {
|
|
9293
|
-
// inject component registration as beforeCreate hook
|
|
9294
|
-
var existing = options.beforeCreate
|
|
9295
|
-
options.beforeCreate = existing
|
|
9296
|
-
? [].concat(existing, hook)
|
|
9297
|
-
: [hook]
|
|
9298
|
-
}
|
|
9299
|
-
}
|
|
9300
|
-
|
|
9301
|
-
return {
|
|
9302
|
-
exports: scriptExports,
|
|
9303
|
-
options: options
|
|
9304
|
-
}
|
|
9305
|
-
}
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
/***/ }),
|
|
9309
|
-
|
|
9310
|
-
/***/ 111:
|
|
9311
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9312
|
-
|
|
9313
|
-
"use strict";
|
|
9314
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9315
|
-
|
|
9316
|
-
// 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&
|
|
9317
|
-
var render = function() {
|
|
9318
|
-
var _vm = this
|
|
9319
|
-
var _h = _vm.$createElement
|
|
9320
|
-
var _c = _vm._self._c || _h
|
|
9321
|
-
return _c(
|
|
9322
|
-
"div",
|
|
9323
|
-
{
|
|
9324
|
-
class: _vm.carouselClasses,
|
|
9325
|
-
on: {
|
|
9326
|
-
mouseenter: function($event) {
|
|
9327
|
-
$event.stopPropagation()
|
|
9328
|
-
return _vm.handleMouseEnter($event)
|
|
9329
|
-
},
|
|
9330
|
-
mouseleave: function($event) {
|
|
9331
|
-
$event.stopPropagation()
|
|
9332
|
-
return _vm.handleMouseLeave($event)
|
|
9333
|
-
}
|
|
9334
|
-
}
|
|
9335
|
-
},
|
|
9336
|
-
[
|
|
9337
|
-
_c(
|
|
9338
|
-
"div",
|
|
9339
|
-
{
|
|
9340
|
-
staticClass: "el-carousel__container",
|
|
9341
|
-
style: { height: _vm.height }
|
|
9342
|
-
},
|
|
9343
|
-
[
|
|
9344
|
-
_vm.arrowDisplay
|
|
9345
|
-
? _c("transition", { attrs: { name: "carousel-arrow-left" } }, [
|
|
9346
|
-
_c(
|
|
9347
|
-
"button",
|
|
9348
|
-
{
|
|
9349
|
-
directives: [
|
|
9350
|
-
{
|
|
9351
|
-
name: "show",
|
|
9352
|
-
rawName: "v-show",
|
|
9353
|
-
value:
|
|
9354
|
-
(_vm.arrow === "always" || _vm.hover) &&
|
|
9355
|
-
(_vm.loop || _vm.activeIndex > 0),
|
|
9356
|
-
expression:
|
|
9357
|
-
"(arrow === 'always' || hover) && (loop || activeIndex > 0)"
|
|
9358
|
-
}
|
|
9359
|
-
],
|
|
9360
|
-
staticClass: "el-carousel__arrow el-carousel__arrow--left",
|
|
9361
|
-
attrs: { type: "button" },
|
|
9362
|
-
on: {
|
|
9363
|
-
mouseenter: function($event) {
|
|
9364
|
-
_vm.handleButtonEnter("left")
|
|
9365
|
-
},
|
|
9366
|
-
mouseleave: _vm.handleButtonLeave,
|
|
9367
|
-
click: function($event) {
|
|
9368
|
-
$event.stopPropagation()
|
|
9369
|
-
_vm.throttledArrowClick(_vm.activeIndex - 1)
|
|
9370
|
-
}
|
|
9371
|
-
}
|
|
9372
|
-
},
|
|
9373
|
-
[_c("i", { staticClass: "el-icon-arrow-left" })]
|
|
9374
|
-
)
|
|
9375
|
-
])
|
|
9376
|
-
: _vm._e(),
|
|
9377
|
-
_vm.arrowDisplay
|
|
9378
|
-
? _c("transition", { attrs: { name: "carousel-arrow-right" } }, [
|
|
9379
|
-
_c(
|
|
9380
|
-
"button",
|
|
9381
|
-
{
|
|
9382
|
-
directives: [
|
|
9383
|
-
{
|
|
9384
|
-
name: "show",
|
|
9385
|
-
rawName: "v-show",
|
|
9386
|
-
value:
|
|
9387
|
-
(_vm.arrow === "always" || _vm.hover) &&
|
|
9388
|
-
(_vm.loop || _vm.activeIndex < _vm.items.length - 1),
|
|
9389
|
-
expression:
|
|
9390
|
-
"(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)"
|
|
9391
|
-
}
|
|
9392
|
-
],
|
|
9393
|
-
staticClass: "el-carousel__arrow el-carousel__arrow--right",
|
|
9394
|
-
attrs: { type: "button" },
|
|
9395
|
-
on: {
|
|
9396
|
-
mouseenter: function($event) {
|
|
9397
|
-
_vm.handleButtonEnter("right")
|
|
9398
|
-
},
|
|
9399
|
-
mouseleave: _vm.handleButtonLeave,
|
|
9400
|
-
click: function($event) {
|
|
9401
|
-
$event.stopPropagation()
|
|
9402
|
-
_vm.throttledArrowClick(_vm.activeIndex + 1)
|
|
9403
|
-
}
|
|
9404
|
-
}
|
|
9405
|
-
},
|
|
9406
|
-
[_c("i", { staticClass: "el-icon-arrow-right" })]
|
|
9407
|
-
)
|
|
9408
|
-
])
|
|
9409
|
-
: _vm._e(),
|
|
9410
|
-
_vm._t("default")
|
|
9411
|
-
],
|
|
9412
|
-
2
|
|
9413
|
-
),
|
|
9414
|
-
_vm.indicatorPosition !== "none"
|
|
9415
|
-
? _c(
|
|
9416
|
-
"ul",
|
|
9417
|
-
{ class: _vm.indicatorsClasses },
|
|
9418
|
-
_vm._l(_vm.items, function(item, index) {
|
|
9419
|
-
return _c(
|
|
9420
|
-
"li",
|
|
9421
|
-
{
|
|
9422
|
-
key: index,
|
|
9423
|
-
class: [
|
|
9424
|
-
"el-carousel__indicator",
|
|
9425
|
-
"el-carousel__indicator--" + _vm.direction,
|
|
9426
|
-
{ "is-active": index === _vm.activeIndex }
|
|
9427
|
-
],
|
|
9428
|
-
on: {
|
|
9429
|
-
mouseenter: function($event) {
|
|
9430
|
-
_vm.throttledIndicatorHover(index)
|
|
9431
|
-
},
|
|
9432
|
-
click: function($event) {
|
|
9433
|
-
$event.stopPropagation()
|
|
9434
|
-
_vm.handleIndicatorClick(index)
|
|
9435
|
-
}
|
|
9436
|
-
}
|
|
9437
|
-
},
|
|
9438
|
-
[
|
|
9439
|
-
_c("button", { staticClass: "el-carousel__button" }, [
|
|
9440
|
-
_vm.hasLabel
|
|
9441
|
-
? _c("span", [_vm._v(_vm._s(item.label))])
|
|
9442
|
-
: _vm._e()
|
|
9443
|
-
])
|
|
9444
|
-
]
|
|
9445
|
-
)
|
|
9446
|
-
}),
|
|
9447
|
-
0
|
|
9448
|
-
)
|
|
9449
|
-
: _vm._e()
|
|
9450
|
-
]
|
|
9451
|
-
)
|
|
9452
|
-
}
|
|
9453
|
-
var staticRenderFns = []
|
|
9454
|
-
render._withStripped = true
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
// CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482&
|
|
9458
|
-
|
|
9459
|
-
// EXTERNAL MODULE: external "throttle-debounce/throttle"
|
|
9460
|
-
var throttle_ = __webpack_require__(25);
|
|
9461
|
-
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
9462
|
-
|
|
9463
|
-
// EXTERNAL MODULE: external "element-ui/lib/utils/resize-event"
|
|
9464
|
-
var resize_event_ = __webpack_require__(16);
|
|
9465
|
-
|
|
9466
|
-
// 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&
|
|
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
|
-
//
|
|
9519
|
-
//
|
|
9520
|
-
//
|
|
9521
|
-
//
|
|
9522
|
-
//
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
9528
|
-
name: 'ElCarousel',
|
|
9529
|
-
|
|
9530
|
-
props: {
|
|
9531
|
-
initialIndex: {
|
|
9532
|
-
type: Number,
|
|
9533
|
-
default: 0
|
|
9534
|
-
},
|
|
9535
|
-
height: String,
|
|
9536
|
-
trigger: {
|
|
9537
|
-
type: String,
|
|
9538
|
-
default: 'hover'
|
|
9539
|
-
},
|
|
9540
|
-
autoplay: {
|
|
9541
|
-
type: Boolean,
|
|
9542
|
-
default: true
|
|
9543
|
-
},
|
|
9544
|
-
interval: {
|
|
9545
|
-
type: Number,
|
|
9546
|
-
default: 3000
|
|
9547
|
-
},
|
|
9548
|
-
indicatorPosition: String,
|
|
9549
|
-
indicator: {
|
|
9550
|
-
type: Boolean,
|
|
9551
|
-
default: true
|
|
9552
|
-
},
|
|
9553
|
-
arrow: {
|
|
9554
|
-
type: String,
|
|
9555
|
-
default: 'hover'
|
|
9556
|
-
},
|
|
9557
|
-
type: String,
|
|
9558
|
-
loop: {
|
|
9559
|
-
type: Boolean,
|
|
9560
|
-
default: true
|
|
9561
|
-
},
|
|
9562
|
-
direction: {
|
|
9563
|
-
type: String,
|
|
9564
|
-
default: 'horizontal',
|
|
9565
|
-
validator: function validator(val) {
|
|
9566
|
-
return ['horizontal', 'vertical'].indexOf(val) !== -1;
|
|
9567
|
-
}
|
|
9568
|
-
}
|
|
9569
|
-
},
|
|
9570
|
-
|
|
9571
|
-
data: function data() {
|
|
9572
|
-
return {
|
|
9573
|
-
items: [],
|
|
9574
|
-
activeIndex: -1,
|
|
9575
|
-
containerWidth: 0,
|
|
9576
|
-
timer: null,
|
|
9577
|
-
hover: false
|
|
9578
|
-
};
|
|
9579
|
-
},
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
computed: {
|
|
9583
|
-
arrowDisplay: function arrowDisplay() {
|
|
9584
|
-
return this.arrow !== 'never' && this.direction !== 'vertical';
|
|
9585
|
-
},
|
|
9586
|
-
hasLabel: function hasLabel() {
|
|
9587
|
-
return this.items.some(function (item) {
|
|
9588
|
-
return item.label.toString().length > 0;
|
|
9589
|
-
});
|
|
9590
|
-
},
|
|
9591
|
-
carouselClasses: function carouselClasses() {
|
|
9592
|
-
var classes = ['el-carousel', 'el-carousel--' + this.direction];
|
|
9593
|
-
if (this.type === 'card') {
|
|
9594
|
-
classes.push('el-carousel--card');
|
|
9595
|
-
}
|
|
9596
|
-
return classes;
|
|
9597
|
-
},
|
|
9598
|
-
indicatorsClasses: function indicatorsClasses() {
|
|
9599
|
-
var classes = ['el-carousel__indicators', 'el-carousel__indicators--' + this.direction];
|
|
9600
|
-
if (this.hasLabel) {
|
|
9601
|
-
classes.push('el-carousel__indicators--labels');
|
|
9602
|
-
}
|
|
9603
|
-
if (this.indicatorPosition === 'outside' || this.type === 'card') {
|
|
9604
|
-
classes.push('el-carousel__indicators--outside');
|
|
9605
|
-
}
|
|
9606
|
-
return classes;
|
|
9607
|
-
}
|
|
9608
|
-
},
|
|
9609
|
-
|
|
9610
|
-
watch: {
|
|
9611
|
-
items: function items(val) {
|
|
9612
|
-
if (val.length > 0) this.setActiveItem(this.initialIndex);
|
|
9613
|
-
},
|
|
9614
|
-
activeIndex: function activeIndex(val, oldVal) {
|
|
9615
|
-
this.resetItemPosition(oldVal);
|
|
9616
|
-
if (oldVal > -1) {
|
|
9617
|
-
this.$emit('change', val, oldVal);
|
|
9618
|
-
}
|
|
9619
|
-
},
|
|
9620
|
-
autoplay: function autoplay(val) {
|
|
9621
|
-
val ? this.startTimer() : this.pauseTimer();
|
|
9622
|
-
},
|
|
9623
|
-
loop: function loop() {
|
|
9624
|
-
this.setActiveItem(this.activeIndex);
|
|
9625
|
-
},
|
|
9626
|
-
interval: function interval() {
|
|
9627
|
-
this.pauseTimer();
|
|
9628
|
-
this.startTimer();
|
|
9629
|
-
}
|
|
9630
|
-
},
|
|
9631
|
-
|
|
9632
|
-
methods: {
|
|
9633
|
-
handleMouseEnter: function handleMouseEnter() {
|
|
9634
|
-
this.hover = true;
|
|
9635
|
-
this.pauseTimer();
|
|
9636
|
-
},
|
|
9637
|
-
handleMouseLeave: function handleMouseLeave() {
|
|
9638
|
-
this.hover = false;
|
|
9639
|
-
this.startTimer();
|
|
9640
|
-
},
|
|
9641
|
-
itemInStage: function itemInStage(item, index) {
|
|
9642
|
-
var length = this.items.length;
|
|
9643
|
-
if (index === length - 1 && item.inStage && this.items[0].active || item.inStage && this.items[index + 1] && this.items[index + 1].active) {
|
|
9644
|
-
return 'left';
|
|
9645
|
-
} else if (index === 0 && item.inStage && this.items[length - 1].active || item.inStage && this.items[index - 1] && this.items[index - 1].active) {
|
|
9646
|
-
return 'right';
|
|
9647
|
-
}
|
|
9648
|
-
return false;
|
|
9649
|
-
},
|
|
9650
|
-
handleButtonEnter: function handleButtonEnter(arrow) {
|
|
9651
|
-
var _this = this;
|
|
9652
|
-
|
|
9653
|
-
if (this.direction === 'vertical') return;
|
|
9654
|
-
this.items.forEach(function (item, index) {
|
|
9655
|
-
if (arrow === _this.itemInStage(item, index)) {
|
|
9656
|
-
item.hover = true;
|
|
9657
|
-
}
|
|
9658
|
-
});
|
|
9659
|
-
},
|
|
9660
|
-
handleButtonLeave: function handleButtonLeave() {
|
|
9661
|
-
if (this.direction === 'vertical') return;
|
|
9662
|
-
this.items.forEach(function (item) {
|
|
9663
|
-
item.hover = false;
|
|
9664
|
-
});
|
|
9665
|
-
},
|
|
9666
|
-
updateItems: function updateItems() {
|
|
9667
|
-
this.items = this.$children.filter(function (child) {
|
|
9668
|
-
return child.$options.name === 'ElCarouselItem';
|
|
9669
|
-
});
|
|
9670
|
-
},
|
|
9671
|
-
resetItemPosition: function resetItemPosition(oldIndex) {
|
|
9672
|
-
var _this2 = this;
|
|
9673
|
-
|
|
9674
|
-
this.items.forEach(function (item, index) {
|
|
9675
|
-
item.translateItem(index, _this2.activeIndex, oldIndex);
|
|
9676
|
-
});
|
|
9677
|
-
},
|
|
9678
|
-
playSlides: function playSlides() {
|
|
9679
|
-
if (this.activeIndex < this.items.length - 1) {
|
|
9680
|
-
this.activeIndex++;
|
|
9681
|
-
} else if (this.loop) {
|
|
9682
|
-
this.activeIndex = 0;
|
|
9683
|
-
}
|
|
9684
|
-
},
|
|
9685
|
-
pauseTimer: function pauseTimer() {
|
|
9686
|
-
if (this.timer) {
|
|
9687
|
-
clearInterval(this.timer);
|
|
9688
|
-
this.timer = null;
|
|
9689
|
-
}
|
|
9690
|
-
},
|
|
9691
|
-
startTimer: function startTimer() {
|
|
9692
|
-
if (this.interval <= 0 || !this.autoplay || this.timer) return;
|
|
9693
|
-
this.timer = setInterval(this.playSlides, this.interval);
|
|
9694
|
-
},
|
|
9695
|
-
resetTimer: function resetTimer() {
|
|
9696
|
-
this.pauseTimer();
|
|
9697
|
-
this.startTimer();
|
|
9698
|
-
},
|
|
9699
|
-
setActiveItem: function setActiveItem(index) {
|
|
9700
|
-
if (typeof index === 'string') {
|
|
9701
|
-
var filteredItems = this.items.filter(function (item) {
|
|
9702
|
-
return item.name === index;
|
|
9703
|
-
});
|
|
9704
|
-
if (filteredItems.length > 0) {
|
|
9705
|
-
index = this.items.indexOf(filteredItems[0]);
|
|
9706
|
-
}
|
|
9707
|
-
}
|
|
9708
|
-
index = Number(index);
|
|
9709
|
-
if (isNaN(index) || index !== Math.floor(index)) {
|
|
9710
|
-
console.warn('[Element Warn][Carousel]index must be an integer.');
|
|
9711
|
-
return;
|
|
9712
|
-
}
|
|
9713
|
-
var length = this.items.length;
|
|
9714
|
-
var oldIndex = this.activeIndex;
|
|
9715
|
-
if (index < 0) {
|
|
9716
|
-
this.activeIndex = this.loop ? length - 1 : 0;
|
|
9717
|
-
} else if (index >= length) {
|
|
9718
|
-
this.activeIndex = this.loop ? 0 : length - 1;
|
|
9719
|
-
} else {
|
|
9720
|
-
this.activeIndex = index;
|
|
9721
|
-
}
|
|
9722
|
-
if (oldIndex === this.activeIndex) {
|
|
9723
|
-
this.resetItemPosition(oldIndex);
|
|
9724
|
-
}
|
|
9725
|
-
this.resetTimer();
|
|
9726
|
-
},
|
|
9727
|
-
prev: function prev() {
|
|
9728
|
-
this.setActiveItem(this.activeIndex - 1);
|
|
9729
|
-
},
|
|
9730
|
-
next: function next() {
|
|
9731
|
-
this.setActiveItem(this.activeIndex + 1);
|
|
9732
|
-
},
|
|
9733
|
-
handleIndicatorClick: function handleIndicatorClick(index) {
|
|
9734
|
-
this.activeIndex = index;
|
|
9735
|
-
},
|
|
9736
|
-
handleIndicatorHover: function handleIndicatorHover(index) {
|
|
9737
|
-
if (this.trigger === 'hover' && index !== this.activeIndex) {
|
|
9738
|
-
this.activeIndex = index;
|
|
9739
|
-
}
|
|
9740
|
-
}
|
|
9741
|
-
},
|
|
9742
|
-
|
|
9743
|
-
created: function created() {
|
|
9744
|
-
var _this3 = this;
|
|
9745
|
-
|
|
9746
|
-
this.throttledArrowClick = throttle_default()(300, true, function (index) {
|
|
9747
|
-
_this3.setActiveItem(index);
|
|
9748
|
-
});
|
|
9749
|
-
this.throttledIndicatorHover = throttle_default()(300, function (index) {
|
|
9750
|
-
_this3.handleIndicatorHover(index);
|
|
9751
|
-
});
|
|
9752
|
-
},
|
|
9753
|
-
mounted: function mounted() {
|
|
9754
|
-
var _this4 = this;
|
|
9755
|
-
|
|
9756
|
-
this.updateItems();
|
|
9757
|
-
this.$nextTick(function () {
|
|
9758
|
-
Object(resize_event_["addResizeListener"])(_this4.$el, _this4.resetItemPosition);
|
|
9759
|
-
if (_this4.initialIndex < _this4.items.length && _this4.initialIndex >= 0) {
|
|
9760
|
-
_this4.activeIndex = _this4.initialIndex;
|
|
9761
|
-
}
|
|
9762
|
-
_this4.startTimer();
|
|
9763
|
-
});
|
|
9764
|
-
},
|
|
9765
|
-
beforeDestroy: function beforeDestroy() {
|
|
9766
|
-
if (this.$el) Object(resize_event_["removeResizeListener"])(this.$el, this.resetItemPosition);
|
|
9767
|
-
this.pauseTimer();
|
|
9768
|
-
}
|
|
9769
|
-
});
|
|
9770
|
-
// CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=script&lang=js&
|
|
9771
|
-
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
9772
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
9773
|
-
var componentNormalizer = __webpack_require__(0);
|
|
9774
|
-
|
|
9775
|
-
// CONCATENATED MODULE: ./packages/carousel/src/main.vue
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
/* normalize component */
|
|
9782
|
-
|
|
9783
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
9784
|
-
src_mainvue_type_script_lang_js_,
|
|
9785
|
-
render,
|
|
9786
|
-
staticRenderFns,
|
|
9787
|
-
false,
|
|
9788
|
-
null,
|
|
9789
|
-
null,
|
|
9790
|
-
null
|
|
9791
|
-
|
|
9792
|
-
)
|
|
9793
|
-
|
|
9794
|
-
/* hot reload */
|
|
9795
|
-
if (false) { var api; }
|
|
9796
|
-
component.options.__file = "packages/carousel/src/main.vue"
|
|
9797
|
-
/* harmony default export */ var main = (component.exports);
|
|
9798
|
-
// CONCATENATED MODULE: ./packages/carousel/index.js
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
/* istanbul ignore next */
|
|
9802
|
-
main.install = function (Vue) {
|
|
9803
|
-
Vue.component(main.name, main);
|
|
9804
|
-
};
|
|
9805
|
-
|
|
9806
|
-
/* harmony default export */ var carousel = __webpack_exports__["default"] = (main);
|
|
9807
|
-
|
|
9808
|
-
/***/ }),
|
|
9809
|
-
|
|
9810
|
-
/***/ 16:
|
|
9811
|
-
/***/ (function(module, exports) {
|
|
9812
|
-
|
|
9813
|
-
module.exports = __webpack_require__("4010");
|
|
9814
|
-
|
|
9815
|
-
/***/ }),
|
|
9816
|
-
|
|
9817
|
-
/***/ 25:
|
|
9818
|
-
/***/ (function(module, exports) {
|
|
9819
|
-
|
|
9820
|
-
module.exports = __webpack_require__("1e79");
|
|
9821
|
-
|
|
9822
|
-
/***/ })
|
|
9823
|
-
|
|
9824
|
-
/******/ });
|
|
9825
|
-
|
|
9826
|
-
/***/ }),
|
|
9827
|
-
|
|
9828
|
-
/***/ "9d7e":
|
|
9829
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9830
|
-
|
|
9831
|
-
"use strict";
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
exports.__esModule = true;
|
|
9835
|
-
|
|
9836
|
-
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; };
|
|
9837
|
-
|
|
9838
|
-
exports.default = function (Vue) {
|
|
9839
|
-
|
|
9840
|
-
/**
|
|
9841
|
-
* template
|
|
9842
|
-
*
|
|
9843
|
-
* @param {String} string
|
|
9844
|
-
* @param {Array} ...args
|
|
9845
|
-
* @return {String}
|
|
9846
|
-
*/
|
|
9847
|
-
|
|
9848
|
-
function template(string) {
|
|
9849
|
-
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
9850
|
-
args[_key - 1] = arguments[_key];
|
|
9851
|
-
}
|
|
9852
|
-
|
|
9853
|
-
if (args.length === 1 && _typeof(args[0]) === 'object') {
|
|
9854
|
-
args = args[0];
|
|
9855
|
-
}
|
|
9856
|
-
|
|
9857
|
-
if (!args || !args.hasOwnProperty) {
|
|
9858
|
-
args = {};
|
|
9859
|
-
}
|
|
9860
|
-
|
|
9861
|
-
return string.replace(RE_NARGS, function (match, prefix, i, index) {
|
|
9862
|
-
var result = void 0;
|
|
9863
|
-
|
|
9864
|
-
if (string[index - 1] === '{' && string[index + match.length] === '}') {
|
|
9865
|
-
return i;
|
|
9866
|
-
} else {
|
|
9867
|
-
result = (0, _util.hasOwn)(args, i) ? args[i] : null;
|
|
9868
|
-
if (result === null || result === undefined) {
|
|
9869
|
-
return '';
|
|
9870
|
-
}
|
|
9871
|
-
|
|
9872
|
-
return result;
|
|
9873
|
-
}
|
|
9874
|
-
});
|
|
9875
|
-
}
|
|
9876
|
-
|
|
9877
|
-
return template;
|
|
9878
|
-
};
|
|
9879
|
-
|
|
9880
|
-
var _util = __webpack_require__("8122");
|
|
9881
|
-
|
|
9882
|
-
var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
9883
|
-
/**
|
|
9884
|
-
* String format template
|
|
9885
|
-
* - Inspired:
|
|
9886
|
-
* https://github.com/Matt-Esch/string-template/index.js
|
|
9887
|
-
*/
|
|
9888
|
-
|
|
9889
|
-
/***/ }),
|
|
9890
|
-
|
|
9891
|
-
/***/ "a1cc":
|
|
9892
|
-
/***/ (function(module, exports) {
|
|
9893
|
-
|
|
9894
|
-
module.exports = require("resize-observer-polyfill");
|
|
9895
|
-
|
|
9896
|
-
/***/ }),
|
|
9897
|
-
|
|
9898
|
-
/***/ "a445":
|
|
9899
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9900
|
-
|
|
9901
|
-
// extracted by mini-css-extract-plugin
|
|
9902
|
-
|
|
9903
|
-
/***/ }),
|
|
9904
|
-
|
|
9905
|
-
/***/ "a447":
|
|
9906
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9907
|
-
|
|
9908
|
-
module.exports =
|
|
9909
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
9910
|
-
/******/ // The module cache
|
|
9911
|
-
/******/ var installedModules = {};
|
|
9912
|
-
/******/
|
|
9913
|
-
/******/ // The require function
|
|
9914
|
-
/******/ function __webpack_require__(moduleId) {
|
|
9915
|
-
/******/
|
|
9916
|
-
/******/ // Check if module is in cache
|
|
9917
|
-
/******/ if(installedModules[moduleId]) {
|
|
9918
|
-
/******/ return installedModules[moduleId].exports;
|
|
9919
|
-
/******/ }
|
|
9920
|
-
/******/ // Create a new module (and put it into the cache)
|
|
9921
|
-
/******/ var module = installedModules[moduleId] = {
|
|
9922
|
-
/******/ i: moduleId,
|
|
9923
|
-
/******/ l: false,
|
|
9924
|
-
/******/ exports: {}
|
|
9925
|
-
/******/ };
|
|
9926
|
-
/******/
|
|
9927
|
-
/******/ // Execute the module function
|
|
9928
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
9929
|
-
/******/
|
|
9930
|
-
/******/ // Flag the module as loaded
|
|
9931
|
-
/******/ module.l = true;
|
|
9932
|
-
/******/
|
|
9933
|
-
/******/ // Return the exports of the module
|
|
9934
|
-
/******/ return module.exports;
|
|
9935
|
-
/******/ }
|
|
9936
|
-
/******/
|
|
9937
|
-
/******/
|
|
9938
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
9939
|
-
/******/ __webpack_require__.m = modules;
|
|
9940
|
-
/******/
|
|
9941
|
-
/******/ // expose the module cache
|
|
9942
|
-
/******/ __webpack_require__.c = installedModules;
|
|
9943
|
-
/******/
|
|
9944
|
-
/******/ // define getter function for harmony exports
|
|
9945
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
9946
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
9947
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
9948
|
-
/******/ }
|
|
9949
|
-
/******/ };
|
|
9950
|
-
/******/
|
|
9951
|
-
/******/ // define __esModule on exports
|
|
9952
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
9953
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
9954
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
9955
|
-
/******/ }
|
|
9956
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9957
|
-
/******/ };
|
|
9958
|
-
/******/
|
|
9959
|
-
/******/ // create a fake namespace object
|
|
9960
|
-
/******/ // mode & 1: value is a module id, require it
|
|
9961
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
9962
|
-
/******/ // mode & 4: return value when already ns object
|
|
9963
|
-
/******/ // mode & 8|1: behave like require
|
|
9964
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
9965
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
9966
|
-
/******/ if(mode & 8) return value;
|
|
9967
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
9968
|
-
/******/ var ns = Object.create(null);
|
|
9969
|
-
/******/ __webpack_require__.r(ns);
|
|
9970
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
9971
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
9972
|
-
/******/ return ns;
|
|
9973
|
-
/******/ };
|
|
9974
|
-
/******/
|
|
9975
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
9976
|
-
/******/ __webpack_require__.n = function(module) {
|
|
9977
|
-
/******/ var getter = module && module.__esModule ?
|
|
9978
|
-
/******/ function getDefault() { return module['default']; } :
|
|
9979
|
-
/******/ function getModuleExports() { return module; };
|
|
9980
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
9981
|
-
/******/ return getter;
|
|
9982
|
-
/******/ };
|
|
9983
|
-
/******/
|
|
9984
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
9985
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
9986
|
-
/******/
|
|
9987
|
-
/******/ // __webpack_public_path__
|
|
9988
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
9989
|
-
/******/
|
|
9990
|
-
/******/
|
|
9991
|
-
/******/ // Load entry module and return exports
|
|
9992
|
-
/******/ return __webpack_require__(__webpack_require__.s = 122);
|
|
9993
|
-
/******/ })
|
|
9994
|
-
/************************************************************************/
|
|
9995
|
-
/******/ ({
|
|
9996
|
-
|
|
9997
|
-
/***/ 0:
|
|
9998
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9999
|
-
|
|
10000
|
-
"use strict";
|
|
10001
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
10002
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
10003
|
-
|
|
10004
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
10005
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
10006
|
-
// be included in the final webpack user bundle.
|
|
10007
|
-
|
|
10008
|
-
function normalizeComponent (
|
|
10009
|
-
scriptExports,
|
|
10010
|
-
render,
|
|
10011
|
-
staticRenderFns,
|
|
10012
|
-
functionalTemplate,
|
|
10013
|
-
injectStyles,
|
|
10014
|
-
scopeId,
|
|
10015
|
-
moduleIdentifier, /* server only */
|
|
10016
|
-
shadowMode /* vue-cli only */
|
|
10017
|
-
) {
|
|
10018
|
-
// Vue.extend constructor export interop
|
|
10019
|
-
var options = typeof scriptExports === 'function'
|
|
10020
|
-
? scriptExports.options
|
|
10021
|
-
: scriptExports
|
|
10022
|
-
|
|
10023
|
-
// render functions
|
|
10024
|
-
if (render) {
|
|
10025
|
-
options.render = render
|
|
10026
|
-
options.staticRenderFns = staticRenderFns
|
|
10027
|
-
options._compiled = true
|
|
10028
|
-
}
|
|
10029
|
-
|
|
10030
|
-
// functional template
|
|
10031
|
-
if (functionalTemplate) {
|
|
10032
|
-
options.functional = true
|
|
10033
|
-
}
|
|
10034
|
-
|
|
10035
|
-
// scopedId
|
|
10036
|
-
if (scopeId) {
|
|
10037
|
-
options._scopeId = 'data-v-' + scopeId
|
|
10038
|
-
}
|
|
10039
|
-
|
|
10040
|
-
var hook
|
|
10041
|
-
if (moduleIdentifier) { // server build
|
|
10042
|
-
hook = function (context) {
|
|
10043
|
-
// 2.3 injection
|
|
10044
|
-
context =
|
|
10045
|
-
context || // cached call
|
|
10046
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
10047
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
10048
|
-
// 2.2 with runInNewContext: true
|
|
10049
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
10050
|
-
context = __VUE_SSR_CONTEXT__
|
|
10051
|
-
}
|
|
10052
|
-
// inject component styles
|
|
10053
|
-
if (injectStyles) {
|
|
10054
|
-
injectStyles.call(this, context)
|
|
10055
|
-
}
|
|
10056
|
-
// register component module identifier for async chunk inferrence
|
|
10057
|
-
if (context && context._registeredComponents) {
|
|
10058
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
10059
|
-
}
|
|
10060
|
-
}
|
|
10061
|
-
// used by ssr in case component is cached and beforeCreate
|
|
10062
|
-
// never gets called
|
|
10063
|
-
options._ssrRegister = hook
|
|
10064
|
-
} else if (injectStyles) {
|
|
10065
|
-
hook = shadowMode
|
|
10066
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
10067
|
-
: injectStyles
|
|
10068
|
-
}
|
|
10069
|
-
|
|
10070
|
-
if (hook) {
|
|
10071
|
-
if (options.functional) {
|
|
10072
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
10073
|
-
// go through the normalizer
|
|
10074
|
-
options._injectStyles = hook
|
|
10075
|
-
// register for functioal component in vue file
|
|
10076
|
-
var originalRender = options.render
|
|
10077
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
10078
|
-
hook.call(context)
|
|
10079
|
-
return originalRender(h, context)
|
|
10080
|
-
}
|
|
10081
|
-
} else {
|
|
10082
|
-
// inject component registration as beforeCreate hook
|
|
10083
|
-
var existing = options.beforeCreate
|
|
10084
|
-
options.beforeCreate = existing
|
|
10085
|
-
? [].concat(existing, hook)
|
|
10086
|
-
: [hook]
|
|
10087
|
-
}
|
|
10088
|
-
}
|
|
10089
|
-
|
|
10090
|
-
return {
|
|
10091
|
-
exports: scriptExports,
|
|
10092
|
-
options: options
|
|
10093
|
-
}
|
|
10094
|
-
}
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
/***/ }),
|
|
10098
|
-
|
|
10099
|
-
/***/ 122:
|
|
10100
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10101
|
-
|
|
10102
|
-
"use strict";
|
|
10103
|
-
__webpack_require__.r(__webpack_exports__);
|
|
10104
|
-
|
|
10105
|
-
// 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&
|
|
10106
|
-
var render = function() {
|
|
10107
|
-
var _vm = this
|
|
10108
|
-
var _h = _vm.$createElement
|
|
10109
|
-
var _c = _vm._self._c || _h
|
|
10110
|
-
return _c(
|
|
10111
|
-
"a",
|
|
10112
|
-
_vm._b(
|
|
10113
|
-
{
|
|
10114
|
-
class: [
|
|
10115
|
-
"el-link",
|
|
10116
|
-
_vm.type ? "el-link--" + _vm.type : "",
|
|
10117
|
-
_vm.disabled && "is-disabled",
|
|
10118
|
-
_vm.underline && !_vm.disabled && "is-underline"
|
|
10119
|
-
],
|
|
10120
|
-
attrs: { href: _vm.disabled ? null : _vm.href },
|
|
10121
|
-
on: { click: _vm.handleClick }
|
|
10122
|
-
},
|
|
10123
|
-
"a",
|
|
10124
|
-
_vm.$attrs,
|
|
10125
|
-
false
|
|
10126
|
-
),
|
|
10127
|
-
[
|
|
10128
|
-
_vm.icon ? _c("i", { class: _vm.icon }) : _vm._e(),
|
|
10129
|
-
_vm.$slots.default
|
|
10130
|
-
? _c("span", { staticClass: "el-link--inner" }, [_vm._t("default")], 2)
|
|
10131
|
-
: _vm._e(),
|
|
10132
|
-
_vm.$slots.icon ? [_vm.$slots.icon ? _vm._t("icon") : _vm._e()] : _vm._e()
|
|
10133
|
-
],
|
|
10134
|
-
2
|
|
10135
|
-
)
|
|
10136
|
-
}
|
|
10137
|
-
var staticRenderFns = []
|
|
10138
|
-
render._withStripped = true
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
// CONCATENATED MODULE: ./packages/link/src/main.vue?vue&type=template&id=01cf3b65&
|
|
10142
|
-
|
|
10143
|
-
// 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&
|
|
10144
|
-
//
|
|
10145
|
-
//
|
|
10146
|
-
//
|
|
10147
|
-
//
|
|
10148
|
-
//
|
|
10149
|
-
//
|
|
10150
|
-
//
|
|
10151
|
-
//
|
|
10152
|
-
//
|
|
10153
|
-
//
|
|
10154
|
-
//
|
|
10155
|
-
//
|
|
10156
|
-
//
|
|
10157
|
-
//
|
|
10158
|
-
//
|
|
10159
|
-
//
|
|
10160
|
-
//
|
|
10161
|
-
//
|
|
10162
|
-
//
|
|
10163
|
-
//
|
|
10164
|
-
//
|
|
10165
|
-
//
|
|
10166
|
-
//
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
10170
|
-
name: 'ElLink',
|
|
10171
|
-
|
|
10172
|
-
props: {
|
|
10173
|
-
type: {
|
|
10174
|
-
type: String,
|
|
10175
|
-
default: 'default'
|
|
10176
|
-
},
|
|
10177
|
-
underline: {
|
|
10178
|
-
type: Boolean,
|
|
10179
|
-
default: true
|
|
10180
|
-
},
|
|
10181
|
-
disabled: Boolean,
|
|
10182
|
-
href: String,
|
|
10183
|
-
icon: String
|
|
10184
|
-
},
|
|
10185
|
-
|
|
10186
|
-
methods: {
|
|
10187
|
-
handleClick: function handleClick(event) {
|
|
10188
|
-
if (!this.disabled) {
|
|
10189
|
-
if (!this.href) {
|
|
10190
|
-
this.$emit('click', event);
|
|
10191
|
-
}
|
|
10192
|
-
}
|
|
10193
|
-
}
|
|
10194
|
-
}
|
|
10195
|
-
});
|
|
10196
|
-
// CONCATENATED MODULE: ./packages/link/src/main.vue?vue&type=script&lang=js&
|
|
10197
|
-
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
10198
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
10199
|
-
var componentNormalizer = __webpack_require__(0);
|
|
8650
|
+
/***/ }),
|
|
10200
8651
|
|
|
10201
|
-
|
|
8652
|
+
/***/ "9d7e":
|
|
8653
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10202
8654
|
|
|
8655
|
+
"use strict";
|
|
10203
8656
|
|
|
10204
8657
|
|
|
8658
|
+
exports.__esModule = true;
|
|
10205
8659
|
|
|
8660
|
+
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; };
|
|
10206
8661
|
|
|
10207
|
-
|
|
8662
|
+
exports.default = function (Vue) {
|
|
10208
8663
|
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
null
|
|
10217
|
-
|
|
10218
|
-
)
|
|
8664
|
+
/**
|
|
8665
|
+
* template
|
|
8666
|
+
*
|
|
8667
|
+
* @param {String} string
|
|
8668
|
+
* @param {Array} ...args
|
|
8669
|
+
* @return {String}
|
|
8670
|
+
*/
|
|
10219
8671
|
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
// CONCATENATED MODULE: ./packages/link/index.js
|
|
8672
|
+
function template(string) {
|
|
8673
|
+
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
8674
|
+
args[_key - 1] = arguments[_key];
|
|
8675
|
+
}
|
|
10225
8676
|
|
|
8677
|
+
if (args.length === 1 && _typeof(args[0]) === 'object') {
|
|
8678
|
+
args = args[0];
|
|
8679
|
+
}
|
|
10226
8680
|
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
8681
|
+
if (!args || !args.hasOwnProperty) {
|
|
8682
|
+
args = {};
|
|
8683
|
+
}
|
|
8684
|
+
|
|
8685
|
+
return string.replace(RE_NARGS, function (match, prefix, i, index) {
|
|
8686
|
+
var result = void 0;
|
|
8687
|
+
|
|
8688
|
+
if (string[index - 1] === '{' && string[index + match.length] === '}') {
|
|
8689
|
+
return i;
|
|
8690
|
+
} else {
|
|
8691
|
+
result = (0, _util.hasOwn)(args, i) ? args[i] : null;
|
|
8692
|
+
if (result === null || result === undefined) {
|
|
8693
|
+
return '';
|
|
8694
|
+
}
|
|
8695
|
+
|
|
8696
|
+
return result;
|
|
8697
|
+
}
|
|
8698
|
+
});
|
|
8699
|
+
}
|
|
8700
|
+
|
|
8701
|
+
return template;
|
|
10230
8702
|
};
|
|
10231
8703
|
|
|
10232
|
-
|
|
8704
|
+
var _util = __webpack_require__("8122");
|
|
10233
8705
|
|
|
10234
|
-
|
|
8706
|
+
var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
8707
|
+
/**
|
|
8708
|
+
* String format template
|
|
8709
|
+
* - Inspired:
|
|
8710
|
+
* https://github.com/Matt-Esch/string-template/index.js
|
|
8711
|
+
*/
|
|
10235
8712
|
|
|
10236
|
-
|
|
8713
|
+
/***/ }),
|
|
8714
|
+
|
|
8715
|
+
/***/ "a1cc":
|
|
8716
|
+
/***/ (function(module, exports) {
|
|
8717
|
+
|
|
8718
|
+
module.exports = require("resize-observer-polyfill");
|
|
10237
8719
|
|
|
10238
8720
|
/***/ }),
|
|
10239
8721
|
|
|
@@ -10752,22 +9234,33 @@ exports.default = {
|
|
|
10752
9234
|
|
|
10753
9235
|
/***/ }),
|
|
10754
9236
|
|
|
10755
|
-
/***/ "
|
|
10756
|
-
/***/ (function(module,
|
|
9237
|
+
/***/ "b64b":
|
|
9238
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9239
|
+
|
|
9240
|
+
"use strict";
|
|
9241
|
+
/* 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");
|
|
9242
|
+
/* 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__);
|
|
9243
|
+
/* unused harmony reexport * */
|
|
10757
9244
|
|
|
10758
|
-
// extracted by mini-css-extract-plugin
|
|
10759
9245
|
|
|
10760
9246
|
/***/ }),
|
|
10761
9247
|
|
|
10762
|
-
/***/ "
|
|
9248
|
+
/***/ "b9e5":
|
|
10763
9249
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10764
9250
|
|
|
10765
9251
|
"use strict";
|
|
10766
|
-
/* harmony import */ var
|
|
10767
|
-
/* harmony import */ var
|
|
9252
|
+
/* 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");
|
|
9253
|
+
/* 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__);
|
|
10768
9254
|
/* unused harmony reexport * */
|
|
10769
9255
|
|
|
10770
9256
|
|
|
9257
|
+
/***/ }),
|
|
9258
|
+
|
|
9259
|
+
/***/ "be4f":
|
|
9260
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9261
|
+
|
|
9262
|
+
// extracted by mini-css-extract-plugin
|
|
9263
|
+
|
|
10771
9264
|
/***/ }),
|
|
10772
9265
|
|
|
10773
9266
|
/***/ "c2cc":
|
|
@@ -14818,7 +13311,7 @@ if (typeof window !== 'undefined') {
|
|
|
14818
13311
|
// Indicate to webpack that this file can be concatenated
|
|
14819
13312
|
/* harmony default export */ var setPublicPath = (null);
|
|
14820
13313
|
|
|
14821
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13314
|
+
// 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&
|
|
14822
13315
|
var render = function render() {
|
|
14823
13316
|
var _vm = this,
|
|
14824
13317
|
_c = _vm._self._c;
|
|
@@ -15282,7 +13775,7 @@ var render = function render() {
|
|
|
15282
13775
|
};
|
|
15283
13776
|
var staticRenderFns = [];
|
|
15284
13777
|
|
|
15285
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13778
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=0f3b65f0&scoped=true&
|
|
15286
13779
|
|
|
15287
13780
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
15288
13781
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -15489,8 +13982,8 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
15489
13982
|
var external_vue_ = __webpack_require__("8bbf");
|
|
15490
13983
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
15491
13984
|
|
|
15492
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15493
|
-
var
|
|
13985
|
+
// 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&
|
|
13986
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function render() {
|
|
15494
13987
|
var _vm = this,
|
|
15495
13988
|
_c = _vm._self._c;
|
|
15496
13989
|
return _c('div', {
|
|
@@ -15513,21 +14006,7 @@ var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render()
|
|
|
15513
14006
|
staticClass: "title"
|
|
15514
14007
|
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
15515
14008
|
staticClass: "content-container scrollbar"
|
|
15516
|
-
}, [_vm.content.
|
|
15517
|
-
directives: [{
|
|
15518
|
-
name: "show",
|
|
15519
|
-
rawName: "v-show",
|
|
15520
|
-
value: false,
|
|
15521
|
-
expression: "false"
|
|
15522
|
-
}],
|
|
15523
|
-
staticClass: "block",
|
|
15524
|
-
attrs: {
|
|
15525
|
-
"entry": _vm.content
|
|
15526
|
-
},
|
|
15527
|
-
on: {
|
|
15528
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
15529
|
-
}
|
|
15530
|
-
}) : _vm._e(), _vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
14009
|
+
}, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
15531
14010
|
staticClass: "block"
|
|
15532
14011
|
}, [_c('div', [_c('span', {
|
|
15533
14012
|
staticClass: "attribute-title"
|
|
@@ -15627,7 +14106,20 @@ var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render()
|
|
|
15627
14106
|
on: {
|
|
15628
14107
|
"click": _vm.openAll
|
|
15629
14108
|
}
|
|
15630
|
-
}, [_vm._v(" Search for data on components ")]), _vm.
|
|
14109
|
+
}, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
|
|
14110
|
+
directives: [{
|
|
14111
|
+
name: "show",
|
|
14112
|
+
rawName: "v-show",
|
|
14113
|
+
value: false,
|
|
14114
|
+
expression: "false"
|
|
14115
|
+
}],
|
|
14116
|
+
attrs: {
|
|
14117
|
+
"entry": _vm.content
|
|
14118
|
+
},
|
|
14119
|
+
on: {
|
|
14120
|
+
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14121
|
+
}
|
|
14122
|
+
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
15631
14123
|
staticClass: "button",
|
|
15632
14124
|
attrs: {
|
|
15633
14125
|
"icon": "el-icon-notebook-2"
|
|
@@ -15639,9 +14131,9 @@ var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render()
|
|
|
15639
14131
|
}
|
|
15640
14132
|
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
15641
14133
|
};
|
|
15642
|
-
var
|
|
14134
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
|
|
15643
14135
|
|
|
15644
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
14136
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
15645
14137
|
|
|
15646
14138
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
15647
14139
|
|
|
@@ -15737,127 +14229,17 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15737
14229
|
var locale = __webpack_require__("4897");
|
|
15738
14230
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15739
14231
|
|
|
15740
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15741
|
-
var
|
|
14232
|
+
// 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&
|
|
14233
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function render() {
|
|
15742
14234
|
var _vm = this,
|
|
15743
14235
|
_c = _vm._self._c;
|
|
15744
14236
|
return _c('div', {
|
|
15745
14237
|
staticClass: "pubmed-container"
|
|
15746
|
-
}
|
|
15747
|
-
directives: [{
|
|
15748
|
-
name: "loading",
|
|
15749
|
-
rawName: "v-loading",
|
|
15750
|
-
value: _vm.loading.response,
|
|
15751
|
-
expression: "loading.response"
|
|
15752
|
-
}],
|
|
15753
|
-
staticClass: "block"
|
|
15754
|
-
}, [_c('div', {
|
|
15755
|
-
staticClass: "attribute-title"
|
|
15756
|
-
}, [_vm._v("Pubmed Resources")]), _c('br'), _c('el-carousel', {
|
|
15757
|
-
attrs: {
|
|
15758
|
-
"autoplay": false,
|
|
15759
|
-
"indicator-position": "outside",
|
|
15760
|
-
"height": "250px",
|
|
15761
|
-
"width": "200px"
|
|
15762
|
-
}
|
|
15763
|
-
}, _vm._l(_vm.pubmeds, function (pub, i) {
|
|
15764
|
-
return _c('el-carousel-item', {
|
|
15765
|
-
key: i
|
|
15766
|
-
}, [_c('div', {
|
|
15767
|
-
staticClass: "attribute-content"
|
|
15768
|
-
}, [_c('div', {
|
|
15769
|
-
domProps: {
|
|
15770
|
-
"innerHTML": _vm._s(pub.html)
|
|
15771
|
-
}
|
|
15772
|
-
}), _c('el-link', {
|
|
15773
|
-
staticClass: "el-link",
|
|
15774
|
-
attrs: {
|
|
15775
|
-
"href": pub.url,
|
|
15776
|
-
"underline": false,
|
|
15777
|
-
"target": "_blank"
|
|
15778
|
-
}
|
|
15779
|
-
}, [_vm._v(_vm._s(pub.url))])], 1)]);
|
|
15780
|
-
}), 1)], 1)]);
|
|
14238
|
+
});
|
|
15781
14239
|
};
|
|
15782
|
-
var
|
|
15783
|
-
|
|
15784
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
|
|
15785
|
-
|
|
15786
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
15787
|
-
function _arrayWithHoles(arr) {
|
|
15788
|
-
if (Array.isArray(arr)) return arr;
|
|
15789
|
-
}
|
|
15790
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
15791
|
-
|
|
15792
|
-
|
|
15793
|
-
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
function _iterableToArrayLimit(arr, i) {
|
|
15800
|
-
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15801
|
-
if (null != _i) {
|
|
15802
|
-
var _s,
|
|
15803
|
-
_e,
|
|
15804
|
-
_x,
|
|
15805
|
-
_r,
|
|
15806
|
-
_arr = [],
|
|
15807
|
-
_n = !0,
|
|
15808
|
-
_d = !1;
|
|
15809
|
-
try {
|
|
15810
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
15811
|
-
if (Object(_i) !== _i) return;
|
|
15812
|
-
_n = !1;
|
|
15813
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
|
|
15814
|
-
;
|
|
15815
|
-
}
|
|
15816
|
-
} catch (err) {
|
|
15817
|
-
_d = !0, _e = err;
|
|
15818
|
-
} finally {
|
|
15819
|
-
try {
|
|
15820
|
-
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
15821
|
-
} finally {
|
|
15822
|
-
if (_d) throw _e;
|
|
15823
|
-
}
|
|
15824
|
-
}
|
|
15825
|
-
return _arr;
|
|
15826
|
-
}
|
|
15827
|
-
}
|
|
15828
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
15829
|
-
|
|
15830
|
-
function _nonIterableRest() {
|
|
15831
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15832
|
-
}
|
|
15833
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
15834
|
-
|
|
14240
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
|
|
15835
14241
|
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
function _slicedToArray(arr, i) {
|
|
15839
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
15840
|
-
}
|
|
15841
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/carousel-item.css
|
|
15842
|
-
var carousel_item = __webpack_require__("186a");
|
|
15843
|
-
|
|
15844
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/carousel-item.js
|
|
15845
|
-
var lib_carousel_item = __webpack_require__("301f");
|
|
15846
|
-
var lib_carousel_item_default = /*#__PURE__*/__webpack_require__.n(lib_carousel_item);
|
|
15847
|
-
|
|
15848
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/carousel.css
|
|
15849
|
-
var carousel = __webpack_require__("96dc");
|
|
15850
|
-
|
|
15851
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/carousel.js
|
|
15852
|
-
var lib_carousel = __webpack_require__("9cea");
|
|
15853
|
-
var lib_carousel_default = /*#__PURE__*/__webpack_require__.n(lib_carousel);
|
|
15854
|
-
|
|
15855
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/link.css
|
|
15856
|
-
var theme_chalk_link = __webpack_require__("fd71");
|
|
15857
|
-
|
|
15858
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/link.js
|
|
15859
|
-
var lib_link = __webpack_require__("a447");
|
|
15860
|
-
var lib_link_default = /*#__PURE__*/__webpack_require__.n(lib_link);
|
|
14242
|
+
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
15861
14243
|
|
|
15862
14244
|
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
15863
14245
|
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
@@ -15871,21 +14253,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
15871
14253
|
|
|
15872
14254
|
|
|
15873
14255
|
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
15878
|
-
|
|
15879
|
-
|
|
15880
|
-
|
|
15881
|
-
|
|
15882
|
-
|
|
15883
|
-
|
|
15884
|
-
|
|
15885
|
-
|
|
15886
|
-
|
|
15887
|
-
|
|
15888
|
-
|
|
15889
14256
|
|
|
15890
14257
|
|
|
15891
14258
|
|
|
@@ -15893,13 +14260,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
15893
14260
|
|
|
15894
14261
|
/* eslint-disable no-alert, no-console */
|
|
15895
14262
|
|
|
15896
|
-
|
|
15897
|
-
|
|
15898
|
-
locale_default.a.use(en_default.a);
|
|
15899
|
-
external_vue_default.a.use(lib_link_default.a);
|
|
15900
|
-
external_vue_default.a.use(lib_carousel_default.a);
|
|
15901
|
-
external_vue_default.a.use(lib_carousel_item_default.a);
|
|
15902
|
-
external_vue_default.a.use(lib_button_default.a);
|
|
15903
14263
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
15904
14264
|
name: "Tooltip",
|
|
15905
14265
|
props: {
|
|
@@ -15909,52 +14269,26 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15909
14269
|
}
|
|
15910
14270
|
},
|
|
15911
14271
|
watch: {
|
|
15912
|
-
'entry.featureId': function entryFeatureId(val) {
|
|
15913
|
-
var _this = this;
|
|
15914
|
-
this.flatmapQuery(val).then(function (pb) {
|
|
15915
|
-
return _this.pubmeds = pb;
|
|
15916
|
-
});
|
|
15917
|
-
},
|
|
15918
14272
|
'entry.featureIds': {
|
|
15919
14273
|
handler: function handler(ids) {
|
|
15920
|
-
this.
|
|
14274
|
+
this.pubmedQueryOnIds(ids);
|
|
15921
14275
|
}
|
|
15922
14276
|
}
|
|
15923
14277
|
},
|
|
15924
14278
|
inject: ['flatmapAPI'],
|
|
15925
14279
|
data: function data() {
|
|
15926
14280
|
return {
|
|
15927
|
-
data: {},
|
|
15928
14281
|
pubmeds: [],
|
|
15929
|
-
pubmedIds: []
|
|
15930
|
-
loading: {
|
|
15931
|
-
response: true,
|
|
15932
|
-
publications: true
|
|
15933
|
-
}
|
|
14282
|
+
pubmedIds: []
|
|
15934
14283
|
};
|
|
15935
14284
|
},
|
|
15936
14285
|
mounted: function mounted() {
|
|
15937
|
-
if (this.entry.featureIds) this.
|
|
14286
|
+
if (this.entry.featureIds) this.pubmedQueryOnIds(this.entry.featureIds);
|
|
15938
14287
|
},
|
|
15939
14288
|
methods: {
|
|
15940
14289
|
stripPMIDPrefix: function stripPMIDPrefix(pubmedId) {
|
|
15941
14290
|
return pubmedId.split(':')[1];
|
|
15942
14291
|
},
|
|
15943
|
-
titleFromPubmed: function titleFromPubmed(pubmedId) {
|
|
15944
|
-
return new Promise(function (resolve) {
|
|
15945
|
-
fetch("https://api.ncbi.nlm.nih.gov/lit/ctxp/v1/pubmed/?format=citation&contenttype=json&id=".concat(pubmedId)).then(function (response) {
|
|
15946
|
-
return response.json();
|
|
15947
|
-
}).then(function (data) {
|
|
15948
|
-
resolve(data.apa.format);
|
|
15949
|
-
}).catch(function (error) {
|
|
15950
|
-
console.error('Error:', error);
|
|
15951
|
-
});
|
|
15952
|
-
});
|
|
15953
|
-
},
|
|
15954
|
-
splitLink: function splitLink(bibliographyString) {
|
|
15955
|
-
var split = bibliographyString.split('https');
|
|
15956
|
-
return [split[0], 'https' + split[1]];
|
|
15957
|
-
},
|
|
15958
14292
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
15959
14293
|
var sql = 'select distinct publication from publications where entity in (';
|
|
15960
14294
|
if (keastIds.length === 1) {
|
|
@@ -15966,17 +14300,14 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15966
14300
|
}
|
|
15967
14301
|
return sql;
|
|
15968
14302
|
},
|
|
15969
|
-
|
|
15970
|
-
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
this.loading.response = true;
|
|
15974
|
-
|
|
15975
|
-
// fetch pubmed publications for the given ids
|
|
14303
|
+
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
14304
|
+
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
14305
|
+
},
|
|
14306
|
+
flatmapQuery: function flatmapQuery(sql) {
|
|
15976
14307
|
var data = {
|
|
15977
|
-
sql:
|
|
14308
|
+
sql: sql
|
|
15978
14309
|
};
|
|
15979
|
-
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14310
|
+
return fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
15980
14311
|
method: 'POST',
|
|
15981
14312
|
headers: {
|
|
15982
14313
|
'Content-Type': 'application/json'
|
|
@@ -15984,36 +14315,40 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15984
14315
|
body: JSON.stringify(data)
|
|
15985
14316
|
}).then(function (response) {
|
|
15986
14317
|
return response.json();
|
|
15987
|
-
}).
|
|
15988
|
-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
14318
|
+
}).catch(function (error) {
|
|
14319
|
+
console.error('Error:', error);
|
|
14320
|
+
});
|
|
14321
|
+
},
|
|
14322
|
+
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
14323
|
+
var _this = this;
|
|
14324
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
14325
|
+
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14326
|
+
this.flatmapQuery(sql).then(function (data) {
|
|
14327
|
+
_this.responseData = data;
|
|
14328
|
+
// Create pubmed url on paths if we have them
|
|
15992
14329
|
if (data.values.length > 0) {
|
|
15993
|
-
data.values.
|
|
15994
|
-
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
});
|
|
14330
|
+
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14331
|
+
return _this.stripPMIDPrefix(id[0]);
|
|
14332
|
+
})));
|
|
14333
|
+
} else {
|
|
14334
|
+
// Create pubmed url on models
|
|
14335
|
+
_this.pubmedQueryOnModels(_this.entry.source);
|
|
14336
|
+
}
|
|
14337
|
+
});
|
|
14338
|
+
},
|
|
14339
|
+
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14340
|
+
var _this2 = this;
|
|
14341
|
+
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14342
|
+
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
16007
14343
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
16008
14344
|
return _this2.stripPMIDPrefix(id[0]);
|
|
16009
14345
|
})));
|
|
16010
14346
|
} else {
|
|
16011
14347
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
16012
14348
|
}
|
|
16013
|
-
}).catch(function (error) {
|
|
16014
|
-
console.error('Error:', error);
|
|
16015
14349
|
});
|
|
16016
14350
|
},
|
|
14351
|
+
|
|
16017
14352
|
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
16018
14353
|
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
16019
14354
|
var params = new URLSearchParams();
|
|
@@ -16024,8 +14359,8 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
16024
14359
|
});
|
|
16025
14360
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
16026
14361
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
16027
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=
|
|
16028
|
-
var
|
|
14362
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&prod&scoped=true&lang=scss&
|
|
14363
|
+
var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ = __webpack_require__("233b");
|
|
16029
14364
|
|
|
16030
14365
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
16031
14366
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -16136,11 +14471,11 @@ function normalizeComponent(
|
|
|
16136
14471
|
|
|
16137
14472
|
var component = normalizeComponent(
|
|
16138
14473
|
components_PubmedViewervue_type_script_lang_js_,
|
|
16139
|
-
|
|
16140
|
-
|
|
14474
|
+
PubmedViewervue_type_template_id_58832c92_scoped_true_render,
|
|
14475
|
+
PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns,
|
|
16141
14476
|
false,
|
|
16142
14477
|
null,
|
|
16143
|
-
"
|
|
14478
|
+
"58832c92",
|
|
16144
14479
|
null
|
|
16145
14480
|
|
|
16146
14481
|
)
|
|
@@ -16449,8 +14784,51 @@ var _capitalise = function capitalise(str) {
|
|
|
16449
14784
|
}
|
|
16450
14785
|
return label;
|
|
16451
14786
|
},
|
|
16452
|
-
|
|
14787
|
+
processConnectivity: function processConnectivity(connectivity) {
|
|
16453
14788
|
var _this4 = this;
|
|
14789
|
+
// Filter the origin and destinations from components
|
|
14790
|
+
var components = this.findComponents(connectivity);
|
|
14791
|
+
|
|
14792
|
+
// Remove duplicates
|
|
14793
|
+
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14794
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14795
|
+
|
|
14796
|
+
// Create list of ids to get labels for
|
|
14797
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14798
|
+
|
|
14799
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14800
|
+
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14801
|
+
_this4.destinations = axons.map(function (a) {
|
|
14802
|
+
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
14803
|
+
});
|
|
14804
|
+
_this4.origins = dendrites.map(function (d) {
|
|
14805
|
+
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
14806
|
+
});
|
|
14807
|
+
_this4.components = components.map(function (c) {
|
|
14808
|
+
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
14809
|
+
});
|
|
14810
|
+
});
|
|
14811
|
+
this.flattenAndFindDatasets(components, axons, dendrites);
|
|
14812
|
+
},
|
|
14813
|
+
flattenAndFindDatasets: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
14814
|
+
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14815
|
+
var componentsFlat = this.flattenConntectivity(components);
|
|
14816
|
+
var axonsFlat = this.flattenConntectivity(axons);
|
|
14817
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14818
|
+
|
|
14819
|
+
// Filter for the anatomy which is annotated on datasets
|
|
14820
|
+
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14821
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14822
|
+
});
|
|
14823
|
+
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
14824
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
14825
|
+
});
|
|
14826
|
+
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
14827
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
14828
|
+
});
|
|
14829
|
+
},
|
|
14830
|
+
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14831
|
+
var _this5 = this;
|
|
16454
14832
|
this.destinations = [];
|
|
16455
14833
|
this.origins = [];
|
|
16456
14834
|
this.components = [];
|
|
@@ -16469,41 +14847,8 @@ var _capitalise = function capitalise(str) {
|
|
|
16469
14847
|
return response.json();
|
|
16470
14848
|
}).then(function (data) {
|
|
16471
14849
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
// process the nodes for finding datasets
|
|
16476
|
-
var componentsFlat = _this4.flattenConntectivity(components);
|
|
16477
|
-
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
16478
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
16479
|
-
var axonsFlat = _this4.flattenConntectivity(axons);
|
|
16480
|
-
var dendritesFlat = _this4.flattenConntectivity(dendrites);
|
|
16481
|
-
var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
|
|
16482
|
-
|
|
16483
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
16484
|
-
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
16485
|
-
_this4.destinations = axons.map(function (a) {
|
|
16486
|
-
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
16487
|
-
});
|
|
16488
|
-
_this4.origins = dendrites.map(function (d) {
|
|
16489
|
-
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
16490
|
-
});
|
|
16491
|
-
_this4.components = components.map(function (c) {
|
|
16492
|
-
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
16493
|
-
});
|
|
16494
|
-
});
|
|
16495
|
-
|
|
16496
|
-
// Filter for the anatomy which is annotated on datasets
|
|
16497
|
-
_this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
16498
|
-
return axonsFlat.indexOf(ub.id) !== -1;
|
|
16499
|
-
});
|
|
16500
|
-
_this4.originsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
16501
|
-
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
16502
|
-
});
|
|
16503
|
-
_this4.componentsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
16504
|
-
return componentsFlat.indexOf(ub.id) !== -1;
|
|
16505
|
-
});
|
|
16506
|
-
_this4.loading = false;
|
|
14850
|
+
_this5.processConnectivity(connectivity);
|
|
14851
|
+
_this5.loading = false;
|
|
16507
14852
|
}).catch(function (error) {
|
|
16508
14853
|
console.error('Error:', error);
|
|
16509
14854
|
});
|
|
@@ -16512,8 +14857,8 @@ var _capitalise = function capitalise(str) {
|
|
|
16512
14857
|
});
|
|
16513
14858
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
16514
14859
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
16515
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
16516
|
-
var
|
|
14860
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&prod&scoped=true&lang=scss&
|
|
14861
|
+
var Tooltipvue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss_ = __webpack_require__("b64b");
|
|
16517
14862
|
|
|
16518
14863
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
16519
14864
|
|
|
@@ -16526,11 +14871,11 @@ var Tooltipvue_type_style_index_0_id_4a14f4de_prod_scoped_true_lang_scss_ = __we
|
|
|
16526
14871
|
|
|
16527
14872
|
var Tooltip_component = normalizeComponent(
|
|
16528
14873
|
components_Tooltipvue_type_script_lang_js_,
|
|
16529
|
-
|
|
16530
|
-
|
|
14874
|
+
Tooltipvue_type_template_id_6d6dee76_scoped_true_render,
|
|
14875
|
+
Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns,
|
|
16531
14876
|
false,
|
|
16532
14877
|
null,
|
|
16533
|
-
"
|
|
14878
|
+
"6d6dee76",
|
|
16534
14879
|
null
|
|
16535
14880
|
|
|
16536
14881
|
)
|
|
@@ -16539,7 +14884,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
16539
14884
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
16540
14885
|
var svg_sprite_ = __webpack_require__("429c");
|
|
16541
14886
|
|
|
16542
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14887
|
+
// 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&
|
|
16543
14888
|
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function render() {
|
|
16544
14889
|
var _vm = this,
|
|
16545
14890
|
_c = _vm._self._c;
|
|
@@ -16899,6 +15244,7 @@ var mapResize = function mapResize(map) {
|
|
|
16899
15244
|
this.tooltipVisible = true;
|
|
16900
15245
|
this.tooltipContent = content;
|
|
16901
15246
|
this.tooltipContent.uberon = feature;
|
|
15247
|
+
this.tooltipContent.source = data.feature.source;
|
|
16902
15248
|
this.tooltipContent.title = data.label;
|
|
16903
15249
|
this.tooltipContent.featureIds = [feature];
|
|
16904
15250
|
this.tooltipContent.actions.push({
|
|
@@ -16916,6 +15262,7 @@ var mapResize = function mapResize(map) {
|
|
|
16916
15262
|
this.tooltipVisible = true;
|
|
16917
15263
|
this.tooltipContent = content;
|
|
16918
15264
|
this.tooltipContent.uberon = feature;
|
|
15265
|
+
this.tooltipContent.source = data.feature.source;
|
|
16919
15266
|
this.tooltipContent.title = data.label;
|
|
16920
15267
|
this.tooltipContent.actions.push({
|
|
16921
15268
|
title: "View dataset",
|
|
@@ -17013,9 +15360,11 @@ var mapResize = function mapResize(map) {
|
|
|
17013
15360
|
if (this.mapImp) {
|
|
17014
15361
|
var state = {
|
|
17015
15362
|
entry: this.entry,
|
|
17016
|
-
biologicalSex: this.biologicalSex,
|
|
17017
15363
|
viewport: this.mapImp.getState()
|
|
17018
15364
|
};
|
|
15365
|
+
var identifier = this.mapImp.getIdentifier();
|
|
15366
|
+
if (this.biologicalSex) state['biologicalSex'] = this.biologicalSex;else if (identifier && identifier.biologicalSex) state['biologicalSex'] = identifier.biologicalSex;
|
|
15367
|
+
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
17019
15368
|
return state;
|
|
17020
15369
|
}
|
|
17021
15370
|
return undefined;
|
|
@@ -17042,7 +15391,7 @@ var mapResize = function mapResize(map) {
|
|
|
17042
15391
|
};
|
|
17043
15392
|
}
|
|
17044
15393
|
|
|
17045
|
-
//As for flatmap-viewer@2.2.
|
|
15394
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
17046
15395
|
//for the identifier:
|
|
17047
15396
|
|
|
17048
15397
|
//@arg identifier {string|Object}
|
|
@@ -17135,7 +15484,10 @@ var mapResize = function mapResize(map) {
|
|
|
17135
15484
|
},
|
|
17136
15485
|
props: {
|
|
17137
15486
|
entry: String,
|
|
17138
|
-
biologicalSex:
|
|
15487
|
+
biologicalSex: {
|
|
15488
|
+
type: String,
|
|
15489
|
+
default: ""
|
|
15490
|
+
},
|
|
17139
15491
|
featureInfo: {
|
|
17140
15492
|
type: Boolean,
|
|
17141
15493
|
default: false
|
|
@@ -17268,8 +15620,8 @@ var mapResize = function mapResize(map) {
|
|
|
17268
15620
|
});
|
|
17269
15621
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
17270
15622
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
17271
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
17272
|
-
var
|
|
15623
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=0f3b65f0&prod&scoped=true&lang=scss&
|
|
15624
|
+
var FlatmapVuervue_type_style_index_0_id_0f3b65f0_prod_scoped_true_lang_scss_ = __webpack_require__("b9e5");
|
|
17273
15625
|
|
|
17274
15626
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
17275
15627
|
|
|
@@ -17286,13 +15638,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
17286
15638
|
staticRenderFns,
|
|
17287
15639
|
false,
|
|
17288
15640
|
null,
|
|
17289
|
-
"
|
|
15641
|
+
"0f3b65f0",
|
|
17290
15642
|
null
|
|
17291
15643
|
|
|
17292
15644
|
)
|
|
17293
15645
|
|
|
17294
15646
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
17295
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15647
|
+
// 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&
|
|
17296
15648
|
var MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render = function render() {
|
|
17297
15649
|
var _vm = this,
|
|
17298
15650
|
_c = _vm._self._c;
|
|
@@ -17717,13 +16069,6 @@ module.exports = require("core-js/modules/es.string.includes.js");
|
|
|
17717
16069
|
|
|
17718
16070
|
/***/ }),
|
|
17719
16071
|
|
|
17720
|
-
/***/ "fd71":
|
|
17721
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
17722
|
-
|
|
17723
|
-
// extracted by mini-css-extract-plugin
|
|
17724
|
-
|
|
17725
|
-
/***/ }),
|
|
17726
|
-
|
|
17727
16072
|
/***/ "fe07":
|
|
17728
16073
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17729
16074
|
|