@abi-software/map-side-bar 1.2.0-beta.9 → 1.2.0
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/LICENSE +201 -201
- package/README.md +53 -53
- package/babel.config.js +14 -14
- package/dist/map-side-bar.common.js +455 -1139
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +455 -1139
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package-lock.json +13548 -13653
- package/package.json +64 -65
- package/public/index.html +17 -17
- package/scaffold_context_info.json +28 -0
- package/src/App.vue +130 -133
- package/src/algolia/algolia.js +116 -99
- package/src/algolia/utils.js +51 -51
- package/src/components/Cascader.vue +49 -49
- package/src/components/ContextCard.vue +240 -240
- package/src/components/DatasetCard.vue +404 -351
- package/src/components/EventBus.js +3 -3
- package/src/components/SearchFilters.vue +557 -557
- package/src/components/SideBar.vue +239 -239
- package/src/components/SidebarContent.vue +458 -458
- package/src/components/Tabs.vue +78 -78
- package/src/components/hardcoded-context-info.js +79 -79
- package/src/components/index.js +8 -8
- package/src/components/processFilters.js +22 -0
- package/src/components/scaffold-meta-map.js +29 -0
- package/src/components/species-map.js +8 -8
- package/src/main.js +8 -8
- package/static.json +6 -6
- package/vue.config.js +11 -11
- package/src/components/BadgesGroup.vue +0 -141
- package/src/components/ImageGallery.vue +0 -528
package/dist/map-side-bar.umd.js
CHANGED
|
@@ -138,21 +138,17 @@ module.exports = require("element-ui/lib/theme-chalk/select.css");
|
|
|
138
138
|
|
|
139
139
|
/***/ }),
|
|
140
140
|
|
|
141
|
-
/***/ "
|
|
142
|
-
/***/ (function(module, exports) {
|
|
141
|
+
/***/ "139b":
|
|
142
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
// extracted by mini-css-extract-plugin
|
|
145
145
|
|
|
146
146
|
/***/ }),
|
|
147
147
|
|
|
148
|
-
/***/ "
|
|
149
|
-
/***/ (function(module,
|
|
148
|
+
/***/ "139f":
|
|
149
|
+
/***/ (function(module, exports) {
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6cf4");
|
|
153
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
154
|
-
/* unused harmony reexport * */
|
|
155
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
151
|
+
module.exports = require("core-js/modules/es.array.for-each");
|
|
156
152
|
|
|
157
153
|
/***/ }),
|
|
158
154
|
|
|
@@ -170,14 +166,10 @@ module.exports = require("core-js/modules/web.dom-collections.iterator");
|
|
|
170
166
|
|
|
171
167
|
/***/ }),
|
|
172
168
|
|
|
173
|
-
/***/ "
|
|
174
|
-
/***/ (function(module,
|
|
169
|
+
/***/ "1e9c":
|
|
170
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
175
171
|
|
|
176
|
-
|
|
177
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_7352f23b_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7171");
|
|
178
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_7352f23b_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_7352f23b_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
179
|
-
/* unused harmony reexport * */
|
|
180
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_7352f23b_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
172
|
+
// extracted by mini-css-extract-plugin
|
|
181
173
|
|
|
182
174
|
/***/ }),
|
|
183
175
|
|
|
@@ -202,6 +194,17 @@ module.exports = require("element-ui/lib/theme-chalk/button.css");
|
|
|
202
194
|
|
|
203
195
|
/***/ }),
|
|
204
196
|
|
|
197
|
+
/***/ "26e6":
|
|
198
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
199
|
+
|
|
200
|
+
"use strict";
|
|
201
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f86d");
|
|
202
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
203
|
+
/* unused harmony reexport * */
|
|
204
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
205
|
+
|
|
206
|
+
/***/ }),
|
|
207
|
+
|
|
205
208
|
/***/ "2a6f":
|
|
206
209
|
/***/ (function(module, exports) {
|
|
207
210
|
|
|
@@ -216,17 +219,6 @@ module.exports = require("element-ui/lib/theme-chalk/loading.css");
|
|
|
216
219
|
|
|
217
220
|
/***/ }),
|
|
218
221
|
|
|
219
|
-
/***/ "2dd0":
|
|
220
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
221
|
-
|
|
222
|
-
"use strict";
|
|
223
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("db11");
|
|
224
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
225
|
-
/* unused harmony reexport * */
|
|
226
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
227
|
-
|
|
228
|
-
/***/ }),
|
|
229
|
-
|
|
230
222
|
/***/ "373b":
|
|
231
223
|
/***/ (function(module, exports) {
|
|
232
224
|
|
|
@@ -234,10 +226,10 @@ module.exports = require("element-ui/lib/drawer");
|
|
|
234
226
|
|
|
235
227
|
/***/ }),
|
|
236
228
|
|
|
237
|
-
/***/ "
|
|
238
|
-
/***/ (function(module, exports) {
|
|
229
|
+
/***/ "3cbb":
|
|
230
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
239
231
|
|
|
240
|
-
|
|
232
|
+
// extracted by mini-css-extract-plugin
|
|
241
233
|
|
|
242
234
|
/***/ }),
|
|
243
235
|
|
|
@@ -248,10 +240,14 @@ module.exports = require("@abi-software/svg-sprite");
|
|
|
248
240
|
|
|
249
241
|
/***/ }),
|
|
250
242
|
|
|
251
|
-
/***/ "
|
|
252
|
-
/***/ (function(module,
|
|
243
|
+
/***/ "44cc":
|
|
244
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
253
245
|
|
|
254
|
-
|
|
246
|
+
"use strict";
|
|
247
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("139b");
|
|
248
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
249
|
+
/* unused harmony reexport * */
|
|
250
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
255
251
|
|
|
256
252
|
/***/ }),
|
|
257
253
|
|
|
@@ -311,13 +307,6 @@ module.exports = require("core-js/modules/es.regexp.exec");
|
|
|
311
307
|
|
|
312
308
|
/***/ }),
|
|
313
309
|
|
|
314
|
-
/***/ "5835":
|
|
315
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
316
|
-
|
|
317
|
-
// extracted by mini-css-extract-plugin
|
|
318
|
-
|
|
319
|
-
/***/ }),
|
|
320
|
-
|
|
321
310
|
/***/ "5d8c":
|
|
322
311
|
/***/ (function(module, exports) {
|
|
323
312
|
|
|
@@ -346,6 +335,13 @@ module.exports = require("core-js/modules/es.array.slice");
|
|
|
346
335
|
|
|
347
336
|
/***/ }),
|
|
348
337
|
|
|
338
|
+
/***/ "6824":
|
|
339
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
340
|
+
|
|
341
|
+
// extracted by mini-css-extract-plugin
|
|
342
|
+
|
|
343
|
+
/***/ }),
|
|
344
|
+
|
|
349
345
|
/***/ "6b07":
|
|
350
346
|
/***/ (function(module, exports) {
|
|
351
347
|
|
|
@@ -367,13 +363,6 @@ module.exports = require("element-ui/lib/locale/lang/en");
|
|
|
367
363
|
|
|
368
364
|
/***/ }),
|
|
369
365
|
|
|
370
|
-
/***/ "6cf4":
|
|
371
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
372
|
-
|
|
373
|
-
// extracted by mini-css-extract-plugin
|
|
374
|
-
|
|
375
|
-
/***/ }),
|
|
376
|
-
|
|
377
366
|
/***/ "6e25":
|
|
378
367
|
/***/ (function(module, exports) {
|
|
379
368
|
|
|
@@ -395,10 +384,14 @@ module.exports = require("core-js/modules/es.number.constructor");
|
|
|
395
384
|
|
|
396
385
|
/***/ }),
|
|
397
386
|
|
|
398
|
-
/***/ "
|
|
399
|
-
/***/ (function(module,
|
|
387
|
+
/***/ "718b":
|
|
388
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
400
389
|
|
|
401
|
-
|
|
390
|
+
"use strict";
|
|
391
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3cbb");
|
|
392
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
393
|
+
/* unused harmony reexport * */
|
|
394
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
402
395
|
|
|
403
396
|
/***/ }),
|
|
404
397
|
|
|
@@ -409,6 +402,13 @@ module.exports = require("regenerator-runtime/runtime");
|
|
|
409
402
|
|
|
410
403
|
/***/ }),
|
|
411
404
|
|
|
405
|
+
/***/ "7ad0":
|
|
406
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
407
|
+
|
|
408
|
+
// extracted by mini-css-extract-plugin
|
|
409
|
+
|
|
410
|
+
/***/ }),
|
|
411
|
+
|
|
412
412
|
/***/ "7c81":
|
|
413
413
|
/***/ (function(module, exports) {
|
|
414
414
|
|
|
@@ -479,13 +479,6 @@ module.exports = require("element-ui/lib/theme-chalk/icon.css");
|
|
|
479
479
|
|
|
480
480
|
/***/ }),
|
|
481
481
|
|
|
482
|
-
/***/ "901a":
|
|
483
|
-
/***/ (function(module, exports) {
|
|
484
|
-
|
|
485
|
-
module.exports = require("element-ui/lib/theme-chalk/badge.css");
|
|
486
|
-
|
|
487
|
-
/***/ }),
|
|
488
|
-
|
|
489
482
|
/***/ "907b":
|
|
490
483
|
/***/ (function(module, exports) {
|
|
491
484
|
|
|
@@ -493,17 +486,6 @@ module.exports = require("core-js/modules/es.string.iterator");
|
|
|
493
486
|
|
|
494
487
|
/***/ }),
|
|
495
488
|
|
|
496
|
-
/***/ "90b0":
|
|
497
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
498
|
-
|
|
499
|
-
"use strict";
|
|
500
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_b42ec7d6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d463");
|
|
501
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_b42ec7d6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_b42ec7d6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
502
|
-
/* unused harmony reexport * */
|
|
503
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_b42ec7d6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
504
|
-
|
|
505
|
-
/***/ }),
|
|
506
|
-
|
|
507
489
|
/***/ "93e6":
|
|
508
490
|
/***/ (function(module, exports) {
|
|
509
491
|
|
|
@@ -511,17 +493,6 @@ module.exports = require("element-ui/lib/popover");
|
|
|
511
493
|
|
|
512
494
|
/***/ }),
|
|
513
495
|
|
|
514
|
-
/***/ "95ed":
|
|
515
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
516
|
-
|
|
517
|
-
"use strict";
|
|
518
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_131d5180_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("456a");
|
|
519
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_131d5180_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_131d5180_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
520
|
-
/* unused harmony reexport * */
|
|
521
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_131d5180_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
522
|
-
|
|
523
|
-
/***/ }),
|
|
524
|
-
|
|
525
496
|
/***/ "9861":
|
|
526
497
|
/***/ (function(module, exports) {
|
|
527
498
|
|
|
@@ -529,17 +500,6 @@ module.exports = require("core-js/modules/es.map");
|
|
|
529
500
|
|
|
530
501
|
/***/ }),
|
|
531
502
|
|
|
532
|
-
/***/ "99d5":
|
|
533
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
534
|
-
|
|
535
|
-
"use strict";
|
|
536
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_5563bc45_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9b80");
|
|
537
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_5563bc45_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_5563bc45_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
538
|
-
/* unused harmony reexport * */
|
|
539
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_5563bc45_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
540
|
-
|
|
541
|
-
/***/ }),
|
|
542
|
-
|
|
543
503
|
/***/ "9a25":
|
|
544
504
|
/***/ (function(module, exports) {
|
|
545
505
|
|
|
@@ -561,24 +521,14 @@ module.exports = __webpack_require__.p + "img/missing-image.1878d8b8.svg";
|
|
|
561
521
|
|
|
562
522
|
/***/ }),
|
|
563
523
|
|
|
564
|
-
/***/ "
|
|
565
|
-
/***/ (function(module,
|
|
566
|
-
|
|
567
|
-
// extracted by mini-css-extract-plugin
|
|
568
|
-
|
|
569
|
-
/***/ }),
|
|
570
|
-
|
|
571
|
-
/***/ "a012":
|
|
572
|
-
/***/ (function(module, exports) {
|
|
573
|
-
|
|
574
|
-
module.exports = require("@abi-software/gallery/src/mixins/GalleryHelpers");
|
|
575
|
-
|
|
576
|
-
/***/ }),
|
|
577
|
-
|
|
578
|
-
/***/ "a295":
|
|
579
|
-
/***/ (function(module, exports) {
|
|
524
|
+
/***/ "a3fe":
|
|
525
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
580
526
|
|
|
581
|
-
|
|
527
|
+
"use strict";
|
|
528
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1e9c");
|
|
529
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
530
|
+
/* unused harmony reexport * */
|
|
531
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
582
532
|
|
|
583
533
|
/***/ }),
|
|
584
534
|
|
|
@@ -610,6 +560,13 @@ module.exports = require("element-ui/lib/loading");
|
|
|
610
560
|
|
|
611
561
|
/***/ }),
|
|
612
562
|
|
|
563
|
+
/***/ "aecd":
|
|
564
|
+
/***/ (function(module, exports) {
|
|
565
|
+
|
|
566
|
+
module.exports = require("core-js/modules/es.array.find-index");
|
|
567
|
+
|
|
568
|
+
/***/ }),
|
|
569
|
+
|
|
613
570
|
/***/ "b2c7":
|
|
614
571
|
/***/ (function(module, exports) {
|
|
615
572
|
|
|
@@ -624,14 +581,10 @@ module.exports = require("element-ui/lib/icon");
|
|
|
624
581
|
|
|
625
582
|
/***/ }),
|
|
626
583
|
|
|
627
|
-
/***/ "
|
|
628
|
-
/***/ (function(module,
|
|
584
|
+
/***/ "b917":
|
|
585
|
+
/***/ (function(module, exports) {
|
|
629
586
|
|
|
630
|
-
|
|
631
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5835");
|
|
632
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
633
|
-
/* unused harmony reexport * */
|
|
634
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
587
|
+
module.exports = require("core-js/modules/es.object.assign");
|
|
635
588
|
|
|
636
589
|
/***/ }),
|
|
637
590
|
|
|
@@ -670,24 +623,14 @@ module.exports = require("element-ui/lib/option");
|
|
|
670
623
|
|
|
671
624
|
/***/ }),
|
|
672
625
|
|
|
673
|
-
/***/ "
|
|
674
|
-
/***/ (function(module,
|
|
675
|
-
|
|
676
|
-
// extracted by mini-css-extract-plugin
|
|
677
|
-
|
|
678
|
-
/***/ }),
|
|
679
|
-
|
|
680
|
-
/***/ "d463":
|
|
681
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
682
|
-
|
|
683
|
-
// extracted by mini-css-extract-plugin
|
|
684
|
-
|
|
685
|
-
/***/ }),
|
|
686
|
-
|
|
687
|
-
/***/ "db11":
|
|
688
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
626
|
+
/***/ "c426":
|
|
627
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
689
628
|
|
|
690
|
-
|
|
629
|
+
"use strict";
|
|
630
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6824");
|
|
631
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
632
|
+
/* unused harmony reexport * */
|
|
633
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
691
634
|
|
|
692
635
|
/***/ }),
|
|
693
636
|
|
|
@@ -712,17 +655,6 @@ module.exports = require("core-js/modules/es.array.from");
|
|
|
712
655
|
|
|
713
656
|
/***/ }),
|
|
714
657
|
|
|
715
|
-
/***/ "e636":
|
|
716
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
717
|
-
|
|
718
|
-
"use strict";
|
|
719
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_08af9326_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cfd8");
|
|
720
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_08af9326_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_08af9326_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
721
|
-
/* unused harmony reexport * */
|
|
722
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_08af9326_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
723
|
-
|
|
724
|
-
/***/ }),
|
|
725
|
-
|
|
726
658
|
/***/ "e67a":
|
|
727
659
|
/***/ (function(module, exports) {
|
|
728
660
|
|
|
@@ -744,6 +676,17 @@ module.exports = require("core-js/modules/es.array.unscopables.flat");
|
|
|
744
676
|
|
|
745
677
|
/***/ }),
|
|
746
678
|
|
|
679
|
+
/***/ "efb8":
|
|
680
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
681
|
+
|
|
682
|
+
"use strict";
|
|
683
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7ad0");
|
|
684
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
685
|
+
/* unused harmony reexport * */
|
|
686
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
687
|
+
|
|
688
|
+
/***/ }),
|
|
689
|
+
|
|
747
690
|
/***/ "f705":
|
|
748
691
|
/***/ (function(module, exports) {
|
|
749
692
|
|
|
@@ -751,6 +694,13 @@ module.exports = require("core-js/modules/es.array.map");
|
|
|
751
694
|
|
|
752
695
|
/***/ }),
|
|
753
696
|
|
|
697
|
+
/***/ "f86d":
|
|
698
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
699
|
+
|
|
700
|
+
// extracted by mini-css-extract-plugin
|
|
701
|
+
|
|
702
|
+
/***/ }),
|
|
703
|
+
|
|
754
704
|
/***/ "f96d":
|
|
755
705
|
/***/ (function(module, exports) {
|
|
756
706
|
|
|
@@ -785,12 +735,12 @@ if (typeof window !== 'undefined') {
|
|
|
785
735
|
// Indicate to webpack that this file can be concatenated
|
|
786
736
|
/* harmony default export */ var setPublicPath = (null);
|
|
787
737
|
|
|
788
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
738
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4bc52cf4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SideBar.vue?vue&type=template&id=3f7eb1a5&scoped=true&
|
|
789
739
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container"},[(!_vm.drawerOpen)?_c('div',{staticClass:"open-tab",on:{"click":_vm.toggleDrawer}},[_c('i',{staticClass:"el-icon-arrow-left"})]):_vm._e(),_c('el-drawer',{staticClass:"side-bar",attrs:{"custom-class":"my-drawer","visible":_vm.drawerOpen,"appendToBody":false,"modal-append-to-body":false,"size":"550","with-header":false,"wrapperClosable":false,"modal":false},on:{"update:visible":function($event){_vm.drawerOpen=$event}}},[_c('div',{staticClass:"box-card"},[(_vm.drawerOpen)?_c('div',{staticClass:"close-tab",on:{"click":_vm.close}},[_c('i',{staticClass:"el-icon-arrow-right"})]):_vm._e(),_c('div',{staticClass:"sidebar-container"},[(_vm.tabs.length > 1)?_c('tabs',{attrs:{"tabTitles":_vm.tabs,"activeId":_vm.activeId},on:{"titleClicked":_vm.tabClicked}}):_vm._e(),_vm._l((_vm.tabs),function(tab){return [_c('sidebar-content',{directives:[{name:"show",rawName:"v-show",value:(tab.id===_vm.activeId),expression:"tab.id===activeId"}],key:tab.id,ref:tab.id,refInFor:true,staticClass:"sidebar-content-container",attrs:{"contextCardEntry":tab.contextCard,"envVars":_vm.envVars},on:{"search-changed":function($event){return _vm.searchChanged(tab.id, $event)}}})]})],2)])])],1)}
|
|
790
740
|
var staticRenderFns = []
|
|
791
741
|
|
|
792
742
|
|
|
793
|
-
// CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=template&id=
|
|
743
|
+
// CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=template&id=3f7eb1a5&scoped=true&
|
|
794
744
|
|
|
795
745
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol"
|
|
796
746
|
var es_symbol_ = __webpack_require__("6049");
|
|
@@ -860,16 +810,19 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
860
810
|
var locale_ = __webpack_require__("7f9f");
|
|
861
811
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
862
812
|
|
|
863
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
864
|
-
var
|
|
865
|
-
var
|
|
813
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4bc52cf4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SidebarContent.vue?vue&type=template&id=53d83468&scoped=true&
|
|
814
|
+
var SidebarContentvue_type_template_id_53d83468_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:"content-card",attrs:{"body-style":_vm.bodyStyle}},[_c('div',{staticClass:"header",attrs:{"slot":"header"},slot:"header"},[(_vm.contextCardEntry && _vm.contextCardEnabled)?_c('context-card',{attrs:{"entry":_vm.contextCardEntry}}):_vm._e(),_c('el-input',{staticClass:"search-input",attrs:{"placeholder":"Search","clearable":""},on:{"clear":_vm.clearSearchClicked},nativeOn:{"keyup":function($event){return _vm.searchEvent($event)}},model:{value:(_vm.searchInput),callback:function ($$v) {_vm.searchInput=$$v},expression:"searchInput"}}),_c('el-button',{staticClass:"button",on:{"click":_vm.searchEvent}},[_vm._v("Search")])],1),_c('SearchFilters',{ref:"filtersRef",staticClass:"filters",attrs:{"entry":_vm.filterEntry,"envVars":_vm.envVars},on:{"filterResults":_vm.filterUpdate,"numberPerPage":_vm.numberPerPageUpdate,"loading":_vm.filtersLoading}}),_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loadingCards),expression:"loadingCards"}],ref:"content",staticClass:"content scrollbar"},[(_vm.loadingScicrunch)?_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loadingScicrunch),expression:"loadingScicrunch"}],staticClass:"loading-icon"}):_vm._e(),(_vm.results.length === 0 && !_vm.loadingCards && !_vm.sciCrunchError)?_c('div',{staticClass:"error-feedback"},[_vm._v("No results found - Please change your search / filter criteria.")]):_vm._e(),(_vm.sciCrunchError)?_c('div',{staticClass:"error-feedback"},[_vm._v(_vm._s(_vm.sciCrunchError))]):_vm._e(),_vm._l((_vm.results),function(result){return _c('div',{key:result.id,staticClass:"step-item"},[_c('DatasetCard',{attrs:{"entry":result,"envVars":_vm.envVars},on:{"contextUpdate":_vm.contextCardUpdate}})],1)}),_c('el-pagination',{staticClass:"pagination",attrs:{"current-page":_vm.page,"hide-on-single-page":"","large":"","layout":"prev, pager, next","page-size":_vm.numberPerPage,"total":_vm.numberOfHits},on:{"update:currentPage":function($event){_vm.page=$event},"update:current-page":function($event){_vm.page=$event},"current-change":_vm.pageChange}})],2)],1)}
|
|
815
|
+
var SidebarContentvue_type_template_id_53d83468_scoped_true_staticRenderFns = []
|
|
866
816
|
|
|
867
817
|
|
|
868
|
-
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=
|
|
818
|
+
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=53d83468&scoped=true&
|
|
869
819
|
|
|
870
820
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description"
|
|
871
821
|
var es_symbol_description_ = __webpack_require__("51e9");
|
|
872
822
|
|
|
823
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index"
|
|
824
|
+
var es_array_find_index_ = __webpack_require__("aecd");
|
|
825
|
+
|
|
873
826
|
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator"
|
|
874
827
|
var es_array_iterator_ = __webpack_require__("8c84");
|
|
875
828
|
|
|
@@ -879,6 +832,9 @@ var es_array_map_ = __webpack_require__("f705");
|
|
|
879
832
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name"
|
|
880
833
|
var es_function_name_ = __webpack_require__("bcd8");
|
|
881
834
|
|
|
835
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.assign"
|
|
836
|
+
var es_object_assign_ = __webpack_require__("b917");
|
|
837
|
+
|
|
882
838
|
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string"
|
|
883
839
|
var es_object_to_string_ = __webpack_require__("850c");
|
|
884
840
|
|
|
@@ -1029,12 +985,12 @@ var button_css_ = __webpack_require__("26bc");
|
|
|
1029
985
|
var button_ = __webpack_require__("5d8c");
|
|
1030
986
|
var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
1031
987
|
|
|
1032
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1033
|
-
var
|
|
1034
|
-
var
|
|
988
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4bc52cf4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchFilters.vue?vue&type=template&id=58d5fb22&scoped=true&
|
|
989
|
+
var SearchFiltersvue_type_template_id_58d5fb22_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"filters"},[_c('map-svg-sprite-color'),_c('transition',{attrs:{"name":"el-zoom-in-top"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showFilters),expression:"showFilters"}],staticClass:"search-filters transition-box"},[_c('custom-cascader',{ref:"cascader",staticClass:"cascader",attrs:{"placeholder":"","collapse-tags":true,"options":_vm.options,"props":_vm.props,"show-all-levels":false,"append-to-body":false},on:{"change":function($event){return _vm.cascadeEvent($event)},"expand-change":_vm.cascadeExpandChange,"tags-changed":_vm.tagsChangedCallback},model:{value:(_vm.cascadeSelected),callback:function ($$v) {_vm.cascadeSelected=$$v},expression:"cascadeSelected"}}),(_vm.showFiltersText)?_c('div',{staticClass:"filter-default-value"},[_vm._v(" Filters ")]):_vm._e(),_c('el-popover',{attrs:{"title":"How do filters work?","width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover"}},[_c('map-svg-icon',{staticClass:"help",attrs:{"slot":"reference","icon":"help"},slot:"reference"}),_c('div',[_c('strong',[_vm._v("Within categories:")]),_vm._v(" OR "),_c('br'),_vm._v(" example: 'heart' OR 'colon' "),_c('br'),_c('br'),_c('strong',[_vm._v("Between categories:")]),_vm._v(" AND "),_c('br'),_vm._v(" example: 'rat' AND 'lung' ")])],1)],1)]),_c('el-select',{staticClass:"number-shown-select",attrs:{"placeholder":"10"},on:{"change":function($event){return _vm.numberShownChanged($event)}},model:{value:(_vm.numberShown),callback:function ($$v) {_vm.numberShown=$$v},expression:"numberShown"}},_vm._l((_vm.numberDatasetsShown),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1),_c('span',{staticClass:"dataset-results-feedback"},[_vm._v(_vm._s(this.numberOfResultsText))])],1)}
|
|
990
|
+
var SearchFiltersvue_type_template_id_58d5fb22_scoped_true_staticRenderFns = []
|
|
1035
991
|
|
|
1036
992
|
|
|
1037
|
-
// CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=template&id=
|
|
993
|
+
// CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=template&id=58d5fb22&scoped=true&
|
|
1038
994
|
|
|
1039
995
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes"
|
|
1040
996
|
var es_array_includes_ = __webpack_require__("ab7e");
|
|
@@ -1360,6 +1316,20 @@ var external_algoliasearch_default = /*#__PURE__*/__webpack_require__.n(external
|
|
|
1360
1316
|
|
|
1361
1317
|
|
|
1362
1318
|
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
1330
|
+
|
|
1331
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
1332
|
+
|
|
1363
1333
|
/* eslint-disable no-alert, no-console */
|
|
1364
1334
|
// export `createAlgoliaClient` to use it in page components
|
|
1365
1335
|
|
|
@@ -1451,9 +1421,48 @@ function () {
|
|
|
1451
1421
|
});
|
|
1452
1422
|
});
|
|
1453
1423
|
}
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1424
|
+
}, {
|
|
1425
|
+
key: "_processResultsForCards",
|
|
1426
|
+
value: function _processResultsForCards(results) {
|
|
1427
|
+
var newResults = [];
|
|
1428
|
+
var newResult = {};
|
|
1429
|
+
var _iteratorNormalCompletion = true;
|
|
1430
|
+
var _didIteratorError = false;
|
|
1431
|
+
var _iteratorError = undefined;
|
|
1432
|
+
|
|
1433
|
+
try {
|
|
1434
|
+
for (var _iterator = results[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
1435
|
+
var res = _step.value;
|
|
1436
|
+
newResult = _objectSpread({}, res);
|
|
1437
|
+
newResult = {
|
|
1438
|
+
doi: res.item.curie.split(':')[1],
|
|
1439
|
+
name: res.item.name,
|
|
1440
|
+
description: res.item.description,
|
|
1441
|
+
updated: res.pennsieve.updatedAt,
|
|
1442
|
+
publishDate: res.pennsieve.publishDate
|
|
1443
|
+
};
|
|
1444
|
+
newResults.push(newResult);
|
|
1445
|
+
}
|
|
1446
|
+
} catch (err) {
|
|
1447
|
+
_didIteratorError = true;
|
|
1448
|
+
_iteratorError = err;
|
|
1449
|
+
} finally {
|
|
1450
|
+
try {
|
|
1451
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
1452
|
+
_iterator.return();
|
|
1453
|
+
}
|
|
1454
|
+
} finally {
|
|
1455
|
+
if (_didIteratorError) {
|
|
1456
|
+
throw _iteratorError;
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
return newResults;
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* Get Search results
|
|
1465
|
+
* This is using fetch from the Algolia API
|
|
1457
1466
|
*/
|
|
1458
1467
|
|
|
1459
1468
|
}, {
|
|
@@ -1472,7 +1481,7 @@ function () {
|
|
|
1472
1481
|
filters: filter
|
|
1473
1482
|
}).then(function (response) {
|
|
1474
1483
|
var searchData = {
|
|
1475
|
-
items: response.hits,
|
|
1484
|
+
items: _this2._processResultsForCards(response.hits),
|
|
1476
1485
|
total: response.nbHits,
|
|
1477
1486
|
discoverIds: response.hits.map(function (r) {
|
|
1478
1487
|
return r.pennsieve.identifier;
|
|
@@ -1511,8 +1520,8 @@ var facetPropPathMapping = {
|
|
|
1511
1520
|
'attributes.subject.sex.value': 'Sex',
|
|
1512
1521
|
'attributes.subject.ageCategory.value': 'Age Categories'
|
|
1513
1522
|
};
|
|
1514
|
-
/* Returns filter for searching algolia. All facets of the same category are joined with OR,
|
|
1515
|
-
* and each of those results is then joined with an AND.
|
|
1523
|
+
/* Returns filter for searching algolia. All facets of the same category are joined with OR,
|
|
1524
|
+
* and each of those results is then joined with an AND.
|
|
1516
1525
|
* i.e. (color:blue OR color:red) AND (shape:circle OR shape:red) */
|
|
1517
1526
|
|
|
1518
1527
|
function getFilters() {
|
|
@@ -1588,9 +1597,9 @@ function removeShowAllFacets(facetArray) {
|
|
|
1588
1597
|
|
|
1589
1598
|
|
|
1590
1599
|
|
|
1591
|
-
function
|
|
1600
|
+
function SearchFiltersvue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
1592
1601
|
|
|
1593
|
-
function
|
|
1602
|
+
function SearchFiltersvue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { SearchFiltersvue_type_script_lang_js_ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { SearchFiltersvue_type_script_lang_js_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
1594
1603
|
|
|
1595
1604
|
//
|
|
1596
1605
|
//
|
|
@@ -1692,9 +1701,9 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
|
|
|
1692
1701
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"]
|
|
1693
1702
|
},
|
|
1694
1703
|
props: {
|
|
1695
|
-
/**
|
|
1696
|
-
* Object containing information for
|
|
1697
|
-
* the required viewing.
|
|
1704
|
+
/**
|
|
1705
|
+
* Object containing information for
|
|
1706
|
+
* the required viewing.
|
|
1698
1707
|
*/
|
|
1699
1708
|
entry: Object,
|
|
1700
1709
|
envVars: {
|
|
@@ -1880,7 +1889,7 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
|
|
|
1880
1889
|
return event;
|
|
1881
1890
|
},
|
|
1882
1891
|
createDataTypeFacet: function createDataTypeFacet() {
|
|
1883
|
-
var dataFacet =
|
|
1892
|
+
var dataFacet = SearchFiltersvue_type_script_lang_js_objectSpread({}, this.facets[2]); // copy the 'Experiemental approach' facet
|
|
1884
1893
|
|
|
1885
1894
|
|
|
1886
1895
|
var count = this.facets.at(-1).id; // get the last id count
|
|
@@ -2002,8 +2011,8 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
|
|
|
2002
2011
|
});
|
|
2003
2012
|
// CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=script&lang=js&
|
|
2004
2013
|
/* harmony default export */ var components_SearchFiltersvue_type_script_lang_js_ = (SearchFiltersvue_type_script_lang_js_);
|
|
2005
|
-
// EXTERNAL MODULE: ./src/components/SearchFilters.vue?vue&type=style&index=0&id=
|
|
2006
|
-
var
|
|
2014
|
+
// EXTERNAL MODULE: ./src/components/SearchFilters.vue?vue&type=style&index=0&id=58d5fb22&scoped=true&lang=css&
|
|
2015
|
+
var SearchFiltersvue_type_style_index_0_id_58d5fb22_scoped_true_lang_css_ = __webpack_require__("efb8");
|
|
2007
2016
|
|
|
2008
2017
|
// CONCATENATED MODULE: ./src/components/SearchFilters.vue
|
|
2009
2018
|
|
|
@@ -2016,770 +2025,105 @@ var SearchFiltersvue_type_style_index_0_id_57801ec0_scoped_true_lang_css_ = __we
|
|
|
2016
2025
|
|
|
2017
2026
|
var SearchFilters_component = normalizeComponent(
|
|
2018
2027
|
components_SearchFiltersvue_type_script_lang_js_,
|
|
2019
|
-
|
|
2020
|
-
|
|
2028
|
+
SearchFiltersvue_type_template_id_58d5fb22_scoped_true_render,
|
|
2029
|
+
SearchFiltersvue_type_template_id_58d5fb22_scoped_true_staticRenderFns,
|
|
2021
2030
|
false,
|
|
2022
2031
|
null,
|
|
2023
|
-
"
|
|
2032
|
+
"58d5fb22",
|
|
2024
2033
|
null
|
|
2025
2034
|
|
|
2026
2035
|
)
|
|
2027
2036
|
|
|
2028
2037
|
/* harmony default export */ var SearchFilters = (SearchFilters_component.exports);
|
|
2029
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2030
|
-
var
|
|
2031
|
-
var
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=5563bc45&scoped=true&
|
|
2035
|
-
|
|
2036
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"68cecb6b-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/BadgesGroup.vue?vue&type=template&id=b42ec7d6&scoped=true&
|
|
2037
|
-
var BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.categories['All'].size > 1)?_c('div',{ref:"container",staticClass:"container"},[_vm._l((_vm.categories),function(item,key){return [(item.size > 0)?_c('el-badge',{key:key,staticClass:"badge-item",attrs:{"value":item.size}},[_c('el-button',{class:[{ 'active': key == _vm.active},'badges-button'],attrs:{"size":"small"},on:{"click":function($event){return _vm.categoryClicked(key)}}},[_vm._v(_vm._s(key)+" ")])],1):_vm._e()]})],2):_vm._e()}
|
|
2038
|
-
var BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_staticRenderFns = []
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
// CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=template&id=b42ec7d6&scoped=true&
|
|
2042
|
-
|
|
2043
|
-
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/badge.css"
|
|
2044
|
-
var badge_css_ = __webpack_require__("901a");
|
|
2045
|
-
|
|
2046
|
-
// EXTERNAL MODULE: external "element-ui/lib/badge"
|
|
2047
|
-
var badge_ = __webpack_require__("a295");
|
|
2048
|
-
var badge_default = /*#__PURE__*/__webpack_require__.n(badge_);
|
|
2049
|
-
|
|
2050
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/BadgesGroup.vue?vue&type=script&lang=js&
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2038
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4bc52cf4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatasetCard.vue?vue&type=template&id=75e03782&scoped=true&
|
|
2039
|
+
var DatasetCardvue_type_template_id_75e03782_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"dataset-card-container"},[_c('div',{ref:"card",class:_vm.expanded ? 'dataset-card-expanded' : 'dataset-card'},[(_vm.entry.id !== 0)?_c('div',{staticClass:"seperator-path"}):_vm._e(),_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"card"},[_c('span',{staticClass:"card-left"},[_c('img',{staticClass:"banner-img",attrs:{"svg-inline":"","src":_vm.thumbnail},on:{"click":_vm.openDataset}})]),_c('div',{staticClass:"card-right"},[_c('div',{staticClass:"title",on:{"click":_vm.cardClicked}},[_vm._v(_vm._s(_vm.entry.name))]),_c('div',{staticClass:"details"},[_vm._v(_vm._s(_vm.contributors)+" "+_vm._s(_vm.entry.publishDate ? ("(" + _vm.publishYear + ")") : ''))]),_c('div',{staticClass:"details"},[_vm._v(_vm._s(_vm.samples))]),_c('div',{staticClass:"details"},[_vm._v("id: "+_vm._s(_vm.discoverId))]),_c('div',[(!_vm.entry.simulation)?_c('el-button',{staticClass:"button",attrs:{"size":"mini","icon":"el-icon-coin"},on:{"click":_vm.openDataset}},[_vm._v("View dataset")]):_vm._e()],1),_c('div',[(_vm.entry.scaffolds)?_c('el-button',{staticClass:"button",attrs:{"size":"mini","icon":"el-icon-view"},on:{"click":_vm.openScaffold}},[_vm._v("View scaffold")]):_vm._e()],1),_c('div',[(_vm.hasCSVFile)?_c('el-button',{staticClass:"button",attrs:{"size":"mini","icon":"el-icon-view"},on:{"click":_vm.openPlot}},[_vm._v("View plot")]):_vm._e()],1),_c('div',[(_vm.entry.simulation)?_c('el-button',{staticClass:"button",attrs:{"size":"mini","icon":"el-icon-view"},on:{"click":_vm.openRepository}},[_vm._v("View repository")]):_vm._e()],1),_c('div',[(_vm.entry.simulation)?_c('el-button',{staticClass:"button",attrs:{"size":"mini","icon":"el-icon-view"},on:{"click":_vm.openSimulation}},[_vm._v("View simulation")]):_vm._e()],1)])]),((_vm.cardOverflow && !_vm.expanded))?_c('p',{staticClass:"read-more"},[_c('el-button',{staticClass:"read-more-button",on:{"click":_vm.expand}},[_vm._v("Read more...")])],1):_vm._e()])])}
|
|
2040
|
+
var DatasetCardvue_type_template_id_75e03782_scoped_true_staticRenderFns = []
|
|
2054
2041
|
|
|
2055
2042
|
|
|
2043
|
+
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=75e03782&scoped=true&
|
|
2056
2044
|
|
|
2045
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
2057
2046
|
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
//
|
|
2062
|
-
//
|
|
2063
|
-
//
|
|
2064
|
-
//
|
|
2065
|
-
//
|
|
2066
|
-
//
|
|
2067
|
-
//
|
|
2068
|
-
//
|
|
2069
|
-
//
|
|
2070
|
-
//
|
|
2071
|
-
//
|
|
2072
|
-
//
|
|
2073
|
-
//
|
|
2074
|
-
//
|
|
2075
|
-
//
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
if (size > 0) {
|
|
2139
|
-
this.categories["Simulations"] = {
|
|
2140
|
-
size: size
|
|
2141
|
-
};
|
|
2142
|
-
this.categories["All"].size += size;
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
},
|
|
2146
|
-
categoryClicked: function categoryClicked(name) {
|
|
2147
|
-
this.active = name;
|
|
2148
|
-
this.$emit("categoryChanged", name);
|
|
2149
|
-
}
|
|
2150
|
-
},
|
|
2151
|
-
watch: {
|
|
2152
|
-
datasetBiolucida: {
|
|
2153
|
-
deep: true,
|
|
2154
|
-
immediate: true,
|
|
2155
|
-
handler: function handler(biolucidaData) {
|
|
2156
|
-
if ("dataset_images" in biolucidaData) {
|
|
2157
|
-
this.addToCategories(biolucidaData["dataset_images"], "Biolucida Images");
|
|
2158
|
-
}
|
|
2159
|
-
}
|
|
2160
|
-
},
|
|
2161
|
-
entry: {
|
|
2162
|
-
deep: true,
|
|
2163
|
-
immediate: true,
|
|
2164
|
-
handler: function handler() {
|
|
2165
|
-
this.addToCategories(this.entry.images, 'Images');
|
|
2166
|
-
this.addToCategories(this.entry.scaffolds, 'Scaffolds');
|
|
2167
|
-
this.addToCategories(this.entry.segmentation, 'Segmentations');
|
|
2168
|
-
this.addSimulationsToCategories(this.additionalLinks);
|
|
2169
|
-
this.addToCategories(this.entry.videos, 'Videos');
|
|
2170
|
-
}
|
|
2171
|
-
}
|
|
2172
|
-
}
|
|
2173
|
-
});
|
|
2174
|
-
// CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=script&lang=js&
|
|
2175
|
-
/* harmony default export */ var components_BadgesGroupvue_type_script_lang_js_ = (BadgesGroupvue_type_script_lang_js_);
|
|
2176
|
-
// EXTERNAL MODULE: ./src/components/BadgesGroup.vue?vue&type=style&index=0&id=b42ec7d6&scoped=true&lang=css&
|
|
2177
|
-
var BadgesGroupvue_type_style_index_0_id_b42ec7d6_scoped_true_lang_css_ = __webpack_require__("90b0");
|
|
2178
|
-
|
|
2179
|
-
// CONCATENATED MODULE: ./src/components/BadgesGroup.vue
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
/* normalize component */
|
|
2187
|
-
|
|
2188
|
-
var BadgesGroup_component = normalizeComponent(
|
|
2189
|
-
components_BadgesGroupvue_type_script_lang_js_,
|
|
2190
|
-
BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_render,
|
|
2191
|
-
BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_staticRenderFns,
|
|
2192
|
-
false,
|
|
2193
|
-
null,
|
|
2194
|
-
"b42ec7d6",
|
|
2195
|
-
null
|
|
2196
|
-
|
|
2197
|
-
)
|
|
2198
|
-
|
|
2199
|
-
/* harmony default export */ var BadgesGroup = (BadgesGroup_component.exports);
|
|
2200
|
-
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
2201
|
-
|
|
2202
|
-
var EventBus = new external_vue_default.a();
|
|
2203
|
-
/* harmony default export */ var components_EventBus = (EventBus);
|
|
2204
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"68cecb6b-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageGallery.vue?vue&type=template&id=7352f23b&scoped=true&
|
|
2205
|
-
var ImageGalleryvue_type_template_id_7352f23b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"full-size"},[_c('gallery',{ref:"gallery",attrs:{"bottomSpacer":_vm.bottomSpacer,"cardWidth":10,"items":_vm.galleryItems,"max-width":_vm.maxWidth,"show-indicator-bar":true,"show-card-details":true,"highlight-active":false,"image-style":_vm.imageStyle,"image-container-style":_vm.imageContainerStyle,"body-style":_vm.bodyStyle,"shadow":_vm.shadow},on:{"card-clicked":_vm.cardClicked}})],1)}
|
|
2206
|
-
var ImageGalleryvue_type_template_id_7352f23b_scoped_true_staticRenderFns = []
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
// CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=template&id=7352f23b&scoped=true&
|
|
2210
|
-
|
|
2211
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
function _iterableToArrayLimit(arr, i) {
|
|
2221
|
-
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
|
2222
|
-
return;
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2225
|
-
var _arr = [];
|
|
2226
|
-
var _n = true;
|
|
2227
|
-
var _d = false;
|
|
2228
|
-
var _e = undefined;
|
|
2229
|
-
|
|
2230
|
-
try {
|
|
2231
|
-
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
|
2232
|
-
_arr.push(_s.value);
|
|
2233
|
-
|
|
2234
|
-
if (i && _arr.length === i) break;
|
|
2235
|
-
}
|
|
2236
|
-
} catch (err) {
|
|
2237
|
-
_d = true;
|
|
2238
|
-
_e = err;
|
|
2239
|
-
} finally {
|
|
2240
|
-
try {
|
|
2241
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
2242
|
-
} finally {
|
|
2243
|
-
if (_d) throw _e;
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
|
|
2247
|
-
return _arr;
|
|
2248
|
-
}
|
|
2249
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
function _slicedToArray(arr, i) {
|
|
2254
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
|
2255
|
-
}
|
|
2256
|
-
// EXTERNAL MODULE: external "@abi-software/gallery/src/mixins/GalleryHelpers"
|
|
2257
|
-
var GalleryHelpers_ = __webpack_require__("a012");
|
|
2258
|
-
var GalleryHelpers_default = /*#__PURE__*/__webpack_require__.n(GalleryHelpers_);
|
|
2259
|
-
|
|
2260
|
-
// EXTERNAL MODULE: external "@abi-software/gallery"
|
|
2261
|
-
var gallery_ = __webpack_require__("3a09");
|
|
2262
|
-
var gallery_default = /*#__PURE__*/__webpack_require__.n(gallery_);
|
|
2263
|
-
|
|
2264
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageGallery.vue?vue&type=script&lang=js&
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
//
|
|
2282
|
-
//
|
|
2283
|
-
//
|
|
2284
|
-
//
|
|
2285
|
-
//
|
|
2286
|
-
//
|
|
2287
|
-
//
|
|
2288
|
-
//
|
|
2289
|
-
//
|
|
2290
|
-
//
|
|
2291
|
-
//
|
|
2292
|
-
//
|
|
2293
|
-
//
|
|
2294
|
-
//
|
|
2295
|
-
//
|
|
2296
|
-
//
|
|
2297
|
-
//
|
|
2298
|
-
//
|
|
2299
|
-
//
|
|
2300
|
-
//
|
|
2301
|
-
|
|
2302
|
-
/* eslint-disable no-alert, no-console */
|
|
2303
|
-
var baseName = function baseName(str) {
|
|
2304
|
-
return str.split("\\").pop().split("/").pop();
|
|
2305
|
-
};
|
|
2306
|
-
|
|
2307
|
-
var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string) {
|
|
2308
|
-
return string.replace(/\b\w/g, function (v) {
|
|
2309
|
-
return v.toUpperCase();
|
|
2310
|
-
});
|
|
2311
|
-
};
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
/* harmony default export */ var ImageGalleryvue_type_script_lang_js_ = ({
|
|
2316
|
-
name: "ImageGallery",
|
|
2317
|
-
components: {
|
|
2318
|
-
Gallery: gallery_default.a
|
|
2319
|
-
},
|
|
2320
|
-
mixins: [GalleryHelpers_default.a],
|
|
2321
|
-
props: {
|
|
2322
|
-
datasetScicrunch: {
|
|
2323
|
-
type: Object,
|
|
2324
|
-
default: function _default() {
|
|
2325
|
-
return {};
|
|
2326
|
-
}
|
|
2327
|
-
},
|
|
2328
|
-
datasetBiolucida: {
|
|
2329
|
-
type: Object,
|
|
2330
|
-
default: function _default() {
|
|
2331
|
-
return {};
|
|
2332
|
-
}
|
|
2333
|
-
},
|
|
2334
|
-
envVars: {
|
|
2335
|
-
type: Object,
|
|
2336
|
-
default: function _default() {}
|
|
2337
|
-
},
|
|
2338
|
-
label: {
|
|
2339
|
-
type: String,
|
|
2340
|
-
default: ""
|
|
2341
|
-
},
|
|
2342
|
-
images: {
|
|
2343
|
-
type: Array,
|
|
2344
|
-
default: function _default() {
|
|
2345
|
-
return [];
|
|
2346
|
-
}
|
|
2347
|
-
},
|
|
2348
|
-
plots: {
|
|
2349
|
-
type: Array,
|
|
2350
|
-
default: function _default() {
|
|
2351
|
-
return [];
|
|
2352
|
-
}
|
|
2353
|
-
},
|
|
2354
|
-
scaffolds: {
|
|
2355
|
-
type: Array,
|
|
2356
|
-
default: function _default() {
|
|
2357
|
-
return [];
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
scaffoldViews: {
|
|
2361
|
-
type: Array,
|
|
2362
|
-
default: function _default() {
|
|
2363
|
-
return [];
|
|
2364
|
-
}
|
|
2365
|
-
},
|
|
2366
|
-
segmentations: {
|
|
2367
|
-
type: Array,
|
|
2368
|
-
default: function _default() {
|
|
2369
|
-
return [];
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
additionalLinks: {
|
|
2373
|
-
type: Array,
|
|
2374
|
-
default: function _default() {
|
|
2375
|
-
return [];
|
|
2376
|
-
}
|
|
2377
|
-
},
|
|
2378
|
-
thumbnails: {
|
|
2379
|
-
type: Array,
|
|
2380
|
-
default: function _default() {
|
|
2381
|
-
return [];
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
videos: {
|
|
2385
|
-
type: Array,
|
|
2386
|
-
default: function _default() {
|
|
2387
|
-
return [];
|
|
2388
|
-
}
|
|
2389
|
-
},
|
|
2390
|
-
datasetId: {
|
|
2391
|
-
type: Number,
|
|
2392
|
-
default: -1
|
|
2393
|
-
},
|
|
2394
|
-
datasetVersion: {
|
|
2395
|
-
type: Number,
|
|
2396
|
-
default: -1
|
|
2397
|
-
},
|
|
2398
|
-
datasetThumbnail: {
|
|
2399
|
-
type: String,
|
|
2400
|
-
default: ""
|
|
2401
|
-
},
|
|
2402
|
-
name: {
|
|
2403
|
-
type: String,
|
|
2404
|
-
default: ""
|
|
2405
|
-
},
|
|
2406
|
-
description: {
|
|
2407
|
-
type: String,
|
|
2408
|
-
default: ""
|
|
2409
|
-
},
|
|
2410
|
-
category: {
|
|
2411
|
-
type: String,
|
|
2412
|
-
default: "All"
|
|
2413
|
-
}
|
|
2414
|
-
},
|
|
2415
|
-
data: function data() {
|
|
2416
|
-
return {
|
|
2417
|
-
currentIndex: 0,
|
|
2418
|
-
ro: null,
|
|
2419
|
-
maxWidth: 3,
|
|
2420
|
-
items: {
|
|
2421
|
-
"Biolucida Images": [],
|
|
2422
|
-
'Dataset': [],
|
|
2423
|
-
'Images': [],
|
|
2424
|
-
'Scaffolds': [],
|
|
2425
|
-
'Segmentations': [],
|
|
2426
|
-
'Simulations': [],
|
|
2427
|
-
'Videos': [],
|
|
2428
|
-
'Plots': []
|
|
2429
|
-
},
|
|
2430
|
-
bodyStyle: {
|
|
2431
|
-
padding: '0px',
|
|
2432
|
-
background: '#ffffff'
|
|
2433
|
-
},
|
|
2434
|
-
imageContainerStyle: {
|
|
2435
|
-
width: '160px',
|
|
2436
|
-
height: '160px',
|
|
2437
|
-
display: 'flex',
|
|
2438
|
-
alignItems: 'center',
|
|
2439
|
-
justifyContent: 'center'
|
|
2440
|
-
},
|
|
2441
|
-
imageStyle: {
|
|
2442
|
-
maxWidth: '160px',
|
|
2443
|
-
maxHeight: '160px'
|
|
2444
|
-
},
|
|
2445
|
-
shadow: "never",
|
|
2446
|
-
bottomSpacer: {
|
|
2447
|
-
minHeight: '1.5rem'
|
|
2448
|
-
},
|
|
2449
|
-
resetIndex: false
|
|
2450
|
-
};
|
|
2451
|
-
},
|
|
2452
|
-
methods: {
|
|
2453
|
-
cardClicked: function cardClicked(payload) {
|
|
2454
|
-
this.$emit('card-clicked', payload);
|
|
2455
|
-
},
|
|
2456
|
-
createSciCurnchItems: function createSciCurnchItems() {
|
|
2457
|
-
this.createDatasetItem();
|
|
2458
|
-
this.createScaffoldItems();
|
|
2459
|
-
this.createSimulationItems();
|
|
2460
|
-
this.createPlotItems();
|
|
2461
|
-
this.createSegmentationItems();
|
|
2462
|
-
this.createImageItems();
|
|
2463
|
-
this.createVideoItems();
|
|
2464
|
-
},
|
|
2465
|
-
createDatasetItem: function createDatasetItem() {
|
|
2466
|
-
var link = "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset");
|
|
2467
|
-
|
|
2468
|
-
if (this.datasetThumbnail) {
|
|
2469
|
-
this.items['Dataset'].push({
|
|
2470
|
-
id: -1,
|
|
2471
|
-
title: link,
|
|
2472
|
-
type: "Dataset ".concat(this.datasetId),
|
|
2473
|
-
thumbnail: this.datasetThumbnail,
|
|
2474
|
-
link: link
|
|
2475
|
-
});
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2478
|
-
createImageItems: function createImageItems() {
|
|
2479
|
-
var _this = this;
|
|
2480
|
-
|
|
2481
|
-
if (this.images) {
|
|
2482
|
-
this.images.forEach(function (image) {
|
|
2483
|
-
var filePath = image.dataset.path;
|
|
2484
|
-
var id = image.identifier;
|
|
2485
|
-
var linkUrl = "".concat(_this.envVars.ROOT_URL, "/datasets/imageviewer?dataset_id=").concat(_this.datasetId, "&dataset_version=").concat(_this.datasetVersion, "&file_path=").concat(filePath, "&mimetype=").concat(image.mimetype.name);
|
|
2486
|
-
|
|
2487
|
-
_this.items['Images'].push({
|
|
2488
|
-
id: id,
|
|
2489
|
-
title: baseName(filePath),
|
|
2490
|
-
type: "Image",
|
|
2491
|
-
link: linkUrl
|
|
2492
|
-
});
|
|
2493
|
-
});
|
|
2494
|
-
}
|
|
2495
|
-
},
|
|
2496
|
-
createPlotItems: function createPlotItems() {
|
|
2497
|
-
var _this2 = this;
|
|
2498
|
-
|
|
2499
|
-
if (this.plots) {
|
|
2500
|
-
this.plots.forEach(function (plot) {
|
|
2501
|
-
var filePath = plot.dataset.path;
|
|
2502
|
-
var id = plot.identifier;
|
|
2503
|
-
|
|
2504
|
-
var thumbnail = _this2.getThumbnailForPlot(plot, _this2.thumbnails);
|
|
2505
|
-
|
|
2506
|
-
var thumbnailURL = undefined;
|
|
2507
|
-
var mimetype = '';
|
|
2508
|
-
|
|
2509
|
-
if (thumbnail) {
|
|
2510
|
-
thumbnailURL = _this2.getImageURLFromS3(_this2.envVars.API_LOCATION, {
|
|
2511
|
-
id: id,
|
|
2512
|
-
datasetId: _this2.datasetId,
|
|
2513
|
-
datasetVersion: _this2.datasetVersion,
|
|
2514
|
-
file_path: thumbnail.dataset.path
|
|
2515
|
-
});
|
|
2516
|
-
mimetype = thumbnail.mimetype.name;
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2519
|
-
var action = {
|
|
2520
|
-
label: ImageGalleryvue_type_script_lang_js_capitalise(_this2.label),
|
|
2521
|
-
resource: "".concat(_this2.envVars.API_LOCATION, "s3-resource/").concat(_this2.datasetId, "/").concat(_this2.datasetVersion, "/").concat(filePath),
|
|
2522
|
-
title: "View plot",
|
|
2523
|
-
type: "Plot",
|
|
2524
|
-
discoverId: _this2.discoverId,
|
|
2525
|
-
version: _this2.datasetVersion
|
|
2526
|
-
};
|
|
2527
|
-
|
|
2528
|
-
_this2.items['Plots'].push({
|
|
2529
|
-
id: id,
|
|
2530
|
-
title: baseName(filePath),
|
|
2531
|
-
type: "Plot",
|
|
2532
|
-
thumbnail: thumbnailURL,
|
|
2533
|
-
userData: action,
|
|
2534
|
-
mimetype: mimetype
|
|
2535
|
-
});
|
|
2536
|
-
});
|
|
2537
|
-
}
|
|
2538
|
-
},
|
|
2539
|
-
createScaffoldItems: function createScaffoldItems() {
|
|
2540
|
-
var _this3 = this;
|
|
2541
|
-
|
|
2542
|
-
if (this.scaffolds) {
|
|
2543
|
-
var index = 0;
|
|
2544
|
-
this.scaffolds.forEach(function (scaffold) {
|
|
2545
|
-
var filePath = scaffold.dataset.path;
|
|
2546
|
-
var id = scaffold.identifier;
|
|
2547
|
-
|
|
2548
|
-
var thumbnail = _this3.getThumbnailForScaffold(scaffold, _this3.scaffoldViews, _this3.thumbnails, index);
|
|
2549
|
-
|
|
2550
|
-
var mimetype = '';
|
|
2551
|
-
var thumbnailURL = undefined;
|
|
2552
|
-
|
|
2553
|
-
if (thumbnail) {
|
|
2554
|
-
thumbnailURL = _this3.getImageURLFromS3(_this3.envVars.API_LOCATION, {
|
|
2555
|
-
id: id,
|
|
2556
|
-
datasetId: _this3.datasetId,
|
|
2557
|
-
datasetVersion: _this3.datasetVersion,
|
|
2558
|
-
file_path: thumbnail.dataset.path
|
|
2559
|
-
});
|
|
2560
|
-
mimetype = thumbnail.mimetype.name;
|
|
2561
|
-
}
|
|
2562
|
-
|
|
2563
|
-
var action = {
|
|
2564
|
-
label: ImageGalleryvue_type_script_lang_js_capitalise(_this3.label),
|
|
2565
|
-
resource: "".concat(_this3.envVars.API_LOCATION, "s3-resource/").concat(_this3.datasetId, "/").concat(_this3.datasetVersion, "/files/").concat(filePath),
|
|
2566
|
-
title: "View 3D scaffold",
|
|
2567
|
-
type: "Scaffold",
|
|
2568
|
-
discoverId: _this3.datasetId,
|
|
2569
|
-
apiLocation: _this3.envVars.API_LOCATION,
|
|
2570
|
-
version: _this3.datasetVersion
|
|
2571
|
-
};
|
|
2572
|
-
|
|
2573
|
-
_this3.items['Scaffolds'].push({
|
|
2574
|
-
id: id,
|
|
2575
|
-
title: baseName(filePath),
|
|
2576
|
-
type: "Scaffold",
|
|
2577
|
-
thumbnail: thumbnailURL,
|
|
2578
|
-
userData: action,
|
|
2579
|
-
mimetype: mimetype
|
|
2580
|
-
});
|
|
2581
|
-
});
|
|
2582
|
-
}
|
|
2583
|
-
},
|
|
2584
|
-
createSegmentationItems: function createSegmentationItems() {
|
|
2585
|
-
var _this4 = this;
|
|
2586
|
-
|
|
2587
|
-
if (this.segmentations) {
|
|
2588
|
-
this.segmentations.forEach(function (segmentation) {
|
|
2589
|
-
var id = segmentation.id;
|
|
2590
|
-
var filePath = segmentation.dataset.path;
|
|
2591
|
-
filePath = filePath.replaceAll(" ", "_");
|
|
2592
|
-
filePath = filePath.replaceAll(",", "_");
|
|
2593
|
-
var prefix = _this4.envVars.NL_LINK_PREFIX;
|
|
2594
|
-
var resource = {
|
|
2595
|
-
share_link: "".concat(prefix, "/dataviewer?datasetId=").concat(_this4.datasetId, "&version=").concat(_this4.datasetVersion, "&path=files/").concat(filePath)
|
|
2596
|
-
};
|
|
2597
|
-
var action = {
|
|
2598
|
-
label: ImageGalleryvue_type_script_lang_js_capitalise(_this4.label),
|
|
2599
|
-
resource: resource,
|
|
2600
|
-
datasetId: _this4.datasetId,
|
|
2601
|
-
title: "View segmentation",
|
|
2602
|
-
type: "Segmentation"
|
|
2603
|
-
};
|
|
2604
|
-
|
|
2605
|
-
var thumbnailURL = _this4.getSegmentationThumbnailURL(_this4.envVars.API_LOCATION, {
|
|
2606
|
-
id: id,
|
|
2607
|
-
datasetId: _this4.datasetId,
|
|
2608
|
-
datasetVersion: _this4.datasetVersion,
|
|
2609
|
-
segmentationFilePath: filePath
|
|
2610
|
-
});
|
|
2611
|
-
|
|
2612
|
-
_this4.items['Segmentations'].push({
|
|
2613
|
-
id: id,
|
|
2614
|
-
title: baseName(filePath),
|
|
2615
|
-
type: "Segmentation",
|
|
2616
|
-
thumbnail: thumbnailURL,
|
|
2617
|
-
userData: action,
|
|
2618
|
-
mimetype: 'image/png'
|
|
2619
|
-
});
|
|
2620
|
-
});
|
|
2621
|
-
}
|
|
2622
|
-
},
|
|
2623
|
-
createSimulationItems: function createSimulationItems() {
|
|
2624
|
-
var resource = undefined;
|
|
2625
|
-
|
|
2626
|
-
if (this.additionalLinks) {
|
|
2627
|
-
this.additionalLinks.forEach(function (el) {
|
|
2628
|
-
if (el.description == "SED-ML file" || el.description == "CellML file") {
|
|
2629
|
-
resource = el.uri;
|
|
2630
|
-
}
|
|
2631
|
-
});
|
|
2632
|
-
|
|
2633
|
-
if (resource) {
|
|
2634
|
-
var action = {
|
|
2635
|
-
label: undefined,
|
|
2636
|
-
resource: resource,
|
|
2637
|
-
apiLocation: this.envVars.API_LOCATION,
|
|
2638
|
-
version: this.datasetVersion,
|
|
2639
|
-
title: "View simulation",
|
|
2640
|
-
type: "Simulation",
|
|
2641
|
-
name: this.name,
|
|
2642
|
-
description: this.description,
|
|
2643
|
-
discoverId: this.datasetId,
|
|
2644
|
-
dataset: "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset")
|
|
2645
|
-
};
|
|
2646
|
-
this.items['Simulations'].push({
|
|
2647
|
-
id: "simulation",
|
|
2648
|
-
title: resource,
|
|
2649
|
-
type: "Simulation",
|
|
2650
|
-
userData: action
|
|
2651
|
-
});
|
|
2652
|
-
}
|
|
2653
|
-
}
|
|
2654
|
-
},
|
|
2655
|
-
createVideoItems: function createVideoItems() {
|
|
2656
|
-
var _this5 = this;
|
|
2657
|
-
|
|
2658
|
-
if (this.videos) {
|
|
2659
|
-
this.videos.forEach(function (video) {
|
|
2660
|
-
var filePath = _this5.getS3FilePath(_this5.datasetId, _this5.datasetVersion, video.dataset.path);
|
|
2661
|
-
|
|
2662
|
-
var linkUrl = "".concat(_this5.envVars.ROOT_URL, "/datasets/videoviewer?dataset_version=").concat(_this5.datasetVersion, "&dataset_id=").concat(_this5.datasetId, "&file_path=").concat(filePath, "&mimetype=").concat(video.mimetype.name);
|
|
2663
|
-
|
|
2664
|
-
_this5.items['Videos'].push({
|
|
2665
|
-
title: video.name,
|
|
2666
|
-
type: "Video",
|
|
2667
|
-
thumbnail: _this5.defaultVideoImg,
|
|
2668
|
-
link: linkUrl
|
|
2669
|
-
});
|
|
2670
|
-
});
|
|
2671
|
-
}
|
|
2672
|
-
},
|
|
2673
|
-
onResize: function onResize() {
|
|
2674
|
-
this.maxWidth = this.$el.clientWidth; // this.$emit('resize', this.$el.clientWidth)
|
|
2675
|
-
}
|
|
2676
|
-
},
|
|
2677
|
-
computed: {
|
|
2678
|
-
galleryItems: function galleryItems() {
|
|
2679
|
-
if (this.resetIndex) {
|
|
2680
|
-
this.$refs.gallery.indicatorClicked(0);
|
|
2681
|
-
}
|
|
2682
|
-
|
|
2683
|
-
var items = _toConsumableArray(this.items["Dataset"]);
|
|
2684
|
-
|
|
2685
|
-
if (this.category === "All") {
|
|
2686
|
-
for (var _i = 0, _Object$entries = Object.entries(this.items); _i < _Object$entries.length; _i++) {
|
|
2687
|
-
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
|
|
2688
|
-
key = _Object$entries$_i[0],
|
|
2689
|
-
value = _Object$entries$_i[1];
|
|
2690
|
-
|
|
2691
|
-
if (key !== "Dataset") items = items.concat(value);
|
|
2692
|
-
}
|
|
2693
|
-
|
|
2694
|
-
return items;
|
|
2695
|
-
} else return this.items[this.category];
|
|
2696
|
-
}
|
|
2697
|
-
},
|
|
2698
|
-
created: function created() {
|
|
2699
|
-
this.createSciCurnchItems();
|
|
2700
|
-
},
|
|
2701
|
-
watch: {
|
|
2702
|
-
category: function category() {
|
|
2703
|
-
this.resetIndex = true;
|
|
2704
|
-
},
|
|
2705
|
-
galleryItems: function galleryItems() {
|
|
2706
|
-
this.resetIndex = false;
|
|
2707
|
-
},
|
|
2708
|
-
datasetBiolucida: {
|
|
2709
|
-
deep: true,
|
|
2710
|
-
immediate: true,
|
|
2711
|
-
handler: function handler(biolucidaData) {
|
|
2712
|
-
var _this6 = this;
|
|
2713
|
-
|
|
2714
|
-
var items = [];
|
|
2715
|
-
|
|
2716
|
-
if ("dataset_images" in biolucidaData) {
|
|
2717
|
-
items.push.apply(items, _toConsumableArray(Array.from(biolucidaData.dataset_images, function (dataset_image) {
|
|
2718
|
-
var thumbnailURL = _this6.getThumbnailURLFromBiolucida(_this6.envVars.API_LOCATION, {
|
|
2719
|
-
id: dataset_image.image_id
|
|
2720
|
-
});
|
|
2721
|
-
|
|
2722
|
-
var resource = {
|
|
2723
|
-
share_link: dataset_image.share_link,
|
|
2724
|
-
id: dataset_image.image_id,
|
|
2725
|
-
itemId: dataset_image.sourcepkg_id
|
|
2726
|
-
};
|
|
2727
|
-
var action = {
|
|
2728
|
-
label: ImageGalleryvue_type_script_lang_js_capitalise(_this6.label),
|
|
2729
|
-
resource: resource,
|
|
2730
|
-
datasetId: _this6.datasetId,
|
|
2731
|
-
title: "View image",
|
|
2732
|
-
name: ImageGalleryvue_type_script_lang_js_capitalise(_this6.label),
|
|
2733
|
-
type: "Biolucida"
|
|
2734
|
-
};
|
|
2735
|
-
return {
|
|
2736
|
-
id: dataset_image.image_id,
|
|
2737
|
-
title: "Biolucida Image",
|
|
2738
|
-
type: "Image",
|
|
2739
|
-
thumbnail: thumbnailURL,
|
|
2740
|
-
userData: action,
|
|
2741
|
-
mimetype: 'image/png'
|
|
2742
|
-
};
|
|
2743
|
-
})));
|
|
2744
|
-
}
|
|
2745
|
-
|
|
2746
|
-
this.items['Biolucida Images'] = items;
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2749
|
-
},
|
|
2750
|
-
mounted: function mounted() {
|
|
2751
|
-
this.ro = new ResizeObserver(this.onResize).observe(this.$el);
|
|
2752
|
-
},
|
|
2753
|
-
destroyed: function destroyed() {
|
|
2754
|
-
delete this.ro;
|
|
2755
|
-
}
|
|
2756
|
-
});
|
|
2757
|
-
// CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=script&lang=js&
|
|
2758
|
-
/* harmony default export */ var components_ImageGalleryvue_type_script_lang_js_ = (ImageGalleryvue_type_script_lang_js_);
|
|
2759
|
-
// EXTERNAL MODULE: ./src/components/ImageGallery.vue?vue&type=style&index=0&id=7352f23b&scoped=true&lang=css&
|
|
2760
|
-
var ImageGalleryvue_type_style_index_0_id_7352f23b_scoped_true_lang_css_ = __webpack_require__("207a");
|
|
2761
|
-
|
|
2762
|
-
// CONCATENATED MODULE: ./src/components/ImageGallery.vue
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
/* normalize component */
|
|
2770
|
-
|
|
2771
|
-
var ImageGallery_component = normalizeComponent(
|
|
2772
|
-
components_ImageGalleryvue_type_script_lang_js_,
|
|
2773
|
-
ImageGalleryvue_type_template_id_7352f23b_scoped_true_render,
|
|
2774
|
-
ImageGalleryvue_type_template_id_7352f23b_scoped_true_staticRenderFns,
|
|
2775
|
-
false,
|
|
2776
|
-
null,
|
|
2777
|
-
"7352f23b",
|
|
2778
|
-
null
|
|
2779
|
-
|
|
2780
|
-
)
|
|
2781
|
-
|
|
2782
|
-
/* harmony default export */ var ImageGallery = (ImageGallery_component.exports);
|
|
2047
|
+
var EventBus = new external_vue_default.a();
|
|
2048
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
2049
|
+
// CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
|
|
2050
|
+
/* harmony default export */ var hardcoded_context_info = ({}); // //Uncomment the code below to add in hardcoded data
|
|
2051
|
+
// export default {
|
|
2052
|
+
// 77: {
|
|
2053
|
+
// "description": "This dataset contains single cell scale anatomical map of the rat intrinsic cardiac nervous system (ICNS) across four male and three female hearts. These cell clusters can be seen by the yellow data points on the image as well as spherical markers on the 3D heart scaffold. The dataset provides an integrative framework to visualise the spatial distribution of ICNS across different hearts.",
|
|
2054
|
+
// "heading": "Mapped ICN samples",
|
|
2055
|
+
// "id": "sparc.science.context_data",
|
|
2056
|
+
// "samples": [
|
|
2057
|
+
// {
|
|
2058
|
+
// "annotation": "",
|
|
2059
|
+
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
2060
|
+
// "doi": "",
|
|
2061
|
+
// "heading": "ICNS from subject M54-8",
|
|
2062
|
+
// "id": "Sample 1",
|
|
2063
|
+
// "path": "",
|
|
2064
|
+
// "view": "View 1",
|
|
2065
|
+
// "color": "#FFFF00",
|
|
2066
|
+
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
2067
|
+
// },
|
|
2068
|
+
// {
|
|
2069
|
+
// "annotation": "",
|
|
2070
|
+
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
2071
|
+
// "doi": "",
|
|
2072
|
+
// "heading": "ICNS from subject M54-5",
|
|
2073
|
+
// "id": "Sample 2",
|
|
2074
|
+
// "path": "",
|
|
2075
|
+
// "view": "View 2",
|
|
2076
|
+
// "color": "#FFA500",
|
|
2077
|
+
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
2078
|
+
// }
|
|
2079
|
+
// ],
|
|
2080
|
+
// "version": "0.1.0",
|
|
2081
|
+
// },
|
|
2082
|
+
// 221: {
|
|
2083
|
+
// "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M162, M163, M164, M168) are mapped randomly on mouse proximal colon. The data depicts individual neural wiring patterns in enteric microcircuits, and revealed both neuron and fiber units wired in a complex organization.",
|
|
2084
|
+
// "heading": "Digital tracings of enteric plexus",
|
|
2085
|
+
// "id": "sparc.science.context_data",
|
|
2086
|
+
// "samples": [
|
|
2087
|
+
// {
|
|
2088
|
+
// "annotation": "",
|
|
2089
|
+
// "description": "Neuronal soma and fibers in a myenteric ganglion in this subject are annotated into the following groups to highlight their interactions:\n\nNeuron1,2,3 Connex: Connections between 3 neurons and cross-ganglionic fibers\n\nNeuron4_Connex: A small neuron contacts fibers passing the ganglion\n\nNeuron5: Multiple projections of a neuron in an myenteric ganglion\n\nNeuron5,3,7 Connex: Connections between 3 neurons, nerve fibers, IGNEx (complex type of intraganglionic nerve endings) and fibers in the circular muscles.\n\nNeuron8,9,10 Connex: Connections of 3 neurons with each other and with long passing fibers. \n\nIntraganglionic Nerve Ending (IGNE): Digital traces of neurites consist of complex intraganglionic nerve endings. The blue fiber has branched terminals, more likely the afferent nerve endings; the violet and cyan terminals also interweave into the fiber nest; the orange, pink and peach fibers and one process of the neuron cross the IGNE to make 1-2 conjunctions. \n",
|
|
2090
|
+
// "doi": "",
|
|
2091
|
+
// "heading": "Digital tracing for subject M11",
|
|
2092
|
+
// "id": "Sample 1",
|
|
2093
|
+
// "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
2094
|
+
// "view": "View 1"
|
|
2095
|
+
// },
|
|
2096
|
+
// {
|
|
2097
|
+
// "annotation": "",
|
|
2098
|
+
// "description": "This digital trace demonstrates some types of wiring. A long process of the green neuron terminates in the intraganglionic nerve endings (IGNE) while in contact with a nerve fiber (cyan), soma of a neuron (peach) and processes of 3 neurons (magenta, yellow and red). Two neurons and one fiber are traced to an IGNE. ",
|
|
2099
|
+
// "doi": "",
|
|
2100
|
+
// "heading": "Digital tracing for subject M16",
|
|
2101
|
+
// "id": "Sample 2",
|
|
2102
|
+
// "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
2103
|
+
// "view": "View 2"
|
|
2104
|
+
// }
|
|
2105
|
+
// ],
|
|
2106
|
+
// "version": "0.1.0",
|
|
2107
|
+
// "views": [
|
|
2108
|
+
// {
|
|
2109
|
+
// "annotation": "--",
|
|
2110
|
+
// "description": "Digital tracing of neurons for subject M11.",
|
|
2111
|
+
// "id": "View 1",
|
|
2112
|
+
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
2113
|
+
// "sample": "Sample 1",
|
|
2114
|
+
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
2115
|
+
// },
|
|
2116
|
+
// {
|
|
2117
|
+
// "annotation": "--",
|
|
2118
|
+
// "description": "Digital tracing of neurons for subject M16.",
|
|
2119
|
+
// "id": "View 2",
|
|
2120
|
+
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
2121
|
+
// "sample": "Sample 2",
|
|
2122
|
+
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
|
|
2123
|
+
// }
|
|
2124
|
+
// ]
|
|
2125
|
+
// }
|
|
2126
|
+
// }
|
|
2783
2127
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
2784
2128
|
|
|
2785
2129
|
|
|
@@ -2797,21 +2141,7 @@ var ImageGallery_component = normalizeComponent(
|
|
|
2797
2141
|
|
|
2798
2142
|
|
|
2799
2143
|
|
|
2800
|
-
|
|
2801
|
-
//
|
|
2802
|
-
//
|
|
2803
|
-
//
|
|
2804
|
-
//
|
|
2805
|
-
//
|
|
2806
|
-
//
|
|
2807
|
-
//
|
|
2808
|
-
//
|
|
2809
|
-
//
|
|
2810
|
-
//
|
|
2811
|
-
//
|
|
2812
|
-
//
|
|
2813
|
-
//
|
|
2814
|
-
//
|
|
2144
|
+
|
|
2815
2145
|
//
|
|
2816
2146
|
//
|
|
2817
2147
|
//
|
|
@@ -2857,22 +2187,27 @@ var ImageGallery_component = normalizeComponent(
|
|
|
2857
2187
|
|
|
2858
2188
|
|
|
2859
2189
|
|
|
2860
|
-
|
|
2861
2190
|
locale_default.a.use(en_default.a);
|
|
2862
2191
|
external_vue_default.a.use(button_default.a);
|
|
2863
2192
|
external_vue_default.a.use(icon_default.a);
|
|
2193
|
+
|
|
2194
|
+
var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string) {
|
|
2195
|
+
return string.replace(/\b\w/g, function (v) {
|
|
2196
|
+
return v.toUpperCase();
|
|
2197
|
+
});
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2864
2200
|
/* harmony default export */ var DatasetCardvue_type_script_lang_js_ = ({
|
|
2865
2201
|
name: "DatasetCard",
|
|
2866
|
-
components: {
|
|
2867
|
-
BadgesGroup: BadgesGroup,
|
|
2868
|
-
ImageGallery: ImageGallery
|
|
2869
|
-
},
|
|
2870
2202
|
props: {
|
|
2871
|
-
/**
|
|
2872
|
-
* Object containing information for
|
|
2873
|
-
* the required viewing.
|
|
2203
|
+
/**
|
|
2204
|
+
* Object containing information for
|
|
2205
|
+
* the required viewing.
|
|
2874
2206
|
*/
|
|
2875
|
-
entry:
|
|
2207
|
+
entry: {
|
|
2208
|
+
type: Object,
|
|
2209
|
+
default: function _default() {}
|
|
2210
|
+
},
|
|
2876
2211
|
envVars: {
|
|
2877
2212
|
type: Object,
|
|
2878
2213
|
default: function _default() {}
|
|
@@ -2880,17 +2215,19 @@ external_vue_default.a.use(icon_default.a);
|
|
|
2880
2215
|
},
|
|
2881
2216
|
data: function data() {
|
|
2882
2217
|
return {
|
|
2883
|
-
dataIsReady: false,
|
|
2884
2218
|
thumbnail: __webpack_require__("9b53"),
|
|
2885
2219
|
dataLocation: this.entry.doi,
|
|
2886
2220
|
discoverId: undefined,
|
|
2887
2221
|
cardOverflow: false,
|
|
2888
2222
|
expanded: false,
|
|
2889
|
-
|
|
2890
|
-
|
|
2223
|
+
loading: false,
|
|
2224
|
+
lastDoi: undefined
|
|
2891
2225
|
};
|
|
2892
2226
|
},
|
|
2893
2227
|
computed: {
|
|
2228
|
+
hasCSVFile: function hasCSVFile() {
|
|
2229
|
+
return this.entry.csvFiles && this.entry.csvFiles.length !== 0;
|
|
2230
|
+
},
|
|
2894
2231
|
contributors: function contributors() {
|
|
2895
2232
|
var text = "";
|
|
2896
2233
|
|
|
@@ -2937,13 +2274,6 @@ external_vue_default.a.use(icon_default.a);
|
|
|
2937
2274
|
|
|
2938
2275
|
return text;
|
|
2939
2276
|
},
|
|
2940
|
-
simulationLinks: function simulationLinks() {
|
|
2941
|
-
if (this.entry.additionalLinks) {
|
|
2942
|
-
if (typeof this.entry.additionalLinks != "boolean") return this.entry.additionalLinks;
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
|
-
return [];
|
|
2946
|
-
},
|
|
2947
2277
|
label: function label() {
|
|
2948
2278
|
return this.entry.organs ? this.entry.organs[0] : this.entry.name;
|
|
2949
2279
|
},
|
|
@@ -2953,13 +2283,44 @@ external_vue_default.a.use(icon_default.a);
|
|
|
2953
2283
|
},
|
|
2954
2284
|
methods: {
|
|
2955
2285
|
cardClicked: function cardClicked() {
|
|
2956
|
-
this.
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2286
|
+
if (this.entry.scaffolds) {
|
|
2287
|
+
this.openScaffold();
|
|
2288
|
+
} else {
|
|
2289
|
+
this.openDataset();
|
|
2290
|
+
}
|
|
2960
2291
|
},
|
|
2961
|
-
|
|
2962
|
-
|
|
2292
|
+
openScaffold: function openScaffold() {
|
|
2293
|
+
var action = {
|
|
2294
|
+
label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
|
|
2295
|
+
resource: this.getScaffoldPath(this.discoverId, this.version, this.entry.scaffolds[0].dataset.path),
|
|
2296
|
+
title: "View 3D scaffold",
|
|
2297
|
+
type: "Scaffold",
|
|
2298
|
+
discoverId: this.discoverId,
|
|
2299
|
+
apiLocation: this.envVars.API_LOCATION,
|
|
2300
|
+
version: this.version,
|
|
2301
|
+
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
|
|
2302
|
+
banner: this.thumbnail
|
|
2303
|
+
};
|
|
2304
|
+
|
|
2305
|
+
if (hardcoded_context_info[this.discoverId]) {
|
|
2306
|
+
action.contextCardUrl = true;
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
this.propogateCardAction(action);
|
|
2310
|
+
},
|
|
2311
|
+
openPlot: function openPlot() {
|
|
2312
|
+
var action = {
|
|
2313
|
+
label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
|
|
2314
|
+
resource: this.getFileFromPath(this.discoverId, this.version, this.entry.csvFiles[0].dataset.path),
|
|
2315
|
+
title: "View plot",
|
|
2316
|
+
type: "Plot",
|
|
2317
|
+
discoverId: this.discoverId,
|
|
2318
|
+
apiLocation: this.envVars.API_LOCATION,
|
|
2319
|
+
version: this.version,
|
|
2320
|
+
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
|
|
2321
|
+
banner: this.thumbnail
|
|
2322
|
+
};
|
|
2323
|
+
this.propogateCardAction(action);
|
|
2963
2324
|
},
|
|
2964
2325
|
openDataset: function openDataset() {
|
|
2965
2326
|
window.open(this.dataLocation, '_blank');
|
|
@@ -2994,10 +2355,45 @@ external_vue_default.a.use(icon_default.a);
|
|
|
2994
2355
|
}
|
|
2995
2356
|
});
|
|
2996
2357
|
},
|
|
2358
|
+
openSimulation: function openSimulation() {
|
|
2359
|
+
var isSedmlResource = false;
|
|
2360
|
+
var resource = undefined;
|
|
2361
|
+
this.entry.additionalLinks.forEach(function (el) {
|
|
2362
|
+
if (el.description == "SED-ML file") {
|
|
2363
|
+
isSedmlResource = true;
|
|
2364
|
+
resource = el.uri;
|
|
2365
|
+
} else if (!isSedmlResource && el.description == "CellML file") {
|
|
2366
|
+
resource = el.uri;
|
|
2367
|
+
}
|
|
2368
|
+
});
|
|
2369
|
+
var action = {
|
|
2370
|
+
label: undefined,
|
|
2371
|
+
resource: resource,
|
|
2372
|
+
dataset: this.dataLocation,
|
|
2373
|
+
apiLocation: this.envVars.API_LOCATION,
|
|
2374
|
+
version: this.version,
|
|
2375
|
+
discoverId: this.discoverId,
|
|
2376
|
+
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
|
|
2377
|
+
banner: this.thumbnail,
|
|
2378
|
+
title: "View simulation",
|
|
2379
|
+
name: this.entry.name,
|
|
2380
|
+
description: this.entry.description,
|
|
2381
|
+
type: "Simulation"
|
|
2382
|
+
};
|
|
2383
|
+
this.propogateCardAction(action);
|
|
2384
|
+
},
|
|
2997
2385
|
propogateCardAction: function propogateCardAction(action) {
|
|
2998
2386
|
components_EventBus.$emit("PopoverActionClick", action);
|
|
2999
2387
|
this.$emit('contextUpdate', action);
|
|
3000
2388
|
},
|
|
2389
|
+
getScaffoldPath: function getScaffoldPath(discoverId, version, scaffoldPath) {
|
|
2390
|
+
var id = discoverId;
|
|
2391
|
+
var path = "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(id, "/").concat(version, "/files/").concat(scaffoldPath);
|
|
2392
|
+
return path;
|
|
2393
|
+
},
|
|
2394
|
+
getFileFromPath: function getFileFromPath(discoverId, version, path) {
|
|
2395
|
+
return "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(discoverId, "/").concat(version, "/files/").concat(path);
|
|
2396
|
+
},
|
|
3001
2397
|
isOverflown: function isOverflown(el) {
|
|
3002
2398
|
return el.clientHeight < el.scrollHeight;
|
|
3003
2399
|
},
|
|
@@ -3010,55 +2406,54 @@ external_vue_default.a.use(icon_default.a);
|
|
|
3010
2406
|
getBanner: function getBanner() {
|
|
3011
2407
|
var _this = this;
|
|
3012
2408
|
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
2409
|
+
// Only load banner if card has changed
|
|
2410
|
+
if (this.lastDoi !== this.entry.doi) {
|
|
2411
|
+
this.lastDoi = this.entry.doi;
|
|
2412
|
+
this.loading = true;
|
|
2413
|
+
var doi = this.splitDOI(this.entry.doi);
|
|
2414
|
+
fetch("https://api.pennsieve.io/discover/datasets/doi/".concat(doi[0], "/").concat(doi[1])).then(function (response) {
|
|
2415
|
+
if (!response.ok) {
|
|
2416
|
+
throw Error(response.statusText);
|
|
2417
|
+
} else {
|
|
2418
|
+
return response.json();
|
|
2419
|
+
}
|
|
2420
|
+
}).then(function (data) {
|
|
2421
|
+
_this.thumbnail = data.banner;
|
|
2422
|
+
_this.discoverId = data.id;
|
|
2423
|
+
_this.version = data.version;
|
|
2424
|
+
_this.dataLocation = "https://sparc.science/datasets/".concat(data.id, "?type=dataset");
|
|
2425
|
+
_this.loading = false;
|
|
2426
|
+
}).catch(function () {
|
|
2427
|
+
//set defaults if we hit an error
|
|
2428
|
+
_this.thumbnail = __webpack_require__("9b53");
|
|
2429
|
+
_this.discoverId = undefined;
|
|
2430
|
+
_this.loading = false;
|
|
2431
|
+
});
|
|
2432
|
+
}
|
|
3034
2433
|
},
|
|
3035
2434
|
lastName: function lastName(fullName) {
|
|
3036
2435
|
return fullName.split(',')[0];
|
|
3037
|
-
},
|
|
3038
|
-
getBiolucidaInfo: function getBiolucidaInfo(id) {
|
|
3039
|
-
var _this2 = this;
|
|
3040
|
-
|
|
3041
|
-
var apiLocation = this.envVars.API_LOCATION;
|
|
3042
|
-
var endpoint = apiLocation + "image_search/" + id; // Add parameters if we are sent them
|
|
3043
|
-
|
|
3044
|
-
fetch(endpoint).then(function (response) {
|
|
3045
|
-
return response.json();
|
|
3046
|
-
}).then(function (data) {
|
|
3047
|
-
if (data.status == "success") _this2.biolucidaData = data;
|
|
3048
|
-
});
|
|
3049
2436
|
}
|
|
3050
2437
|
},
|
|
3051
|
-
created: function created() {
|
|
3052
|
-
this.getBanner();
|
|
3053
|
-
},
|
|
3054
2438
|
mounted: function mounted() {
|
|
2439
|
+
this.getBanner();
|
|
3055
2440
|
this.cardOverflow = this.isOverflown(this.$refs.card);
|
|
2441
|
+
},
|
|
2442
|
+
updated: function updated() {},
|
|
2443
|
+
watch: {
|
|
2444
|
+
// currently not using card overflow
|
|
2445
|
+
'entry.description': function entryDescription() {
|
|
2446
|
+
// watch it
|
|
2447
|
+
this.cardOverflow = false;
|
|
2448
|
+
this.expanded = false;
|
|
2449
|
+
this.cardOverflow = this.isOverflown(this.$refs.card);
|
|
2450
|
+
}
|
|
3056
2451
|
}
|
|
3057
2452
|
});
|
|
3058
2453
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
3059
2454
|
/* harmony default export */ var components_DatasetCardvue_type_script_lang_js_ = (DatasetCardvue_type_script_lang_js_);
|
|
3060
|
-
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=
|
|
3061
|
-
var
|
|
2455
|
+
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=75e03782&scoped=true&lang=css&
|
|
2456
|
+
var DatasetCardvue_type_style_index_0_id_75e03782_scoped_true_lang_css_ = __webpack_require__("26e6");
|
|
3062
2457
|
|
|
3063
2458
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue
|
|
3064
2459
|
|
|
@@ -3071,22 +2466,22 @@ var DatasetCardvue_type_style_index_0_id_5563bc45_scoped_true_lang_css_ = __webp
|
|
|
3071
2466
|
|
|
3072
2467
|
var DatasetCard_component = normalizeComponent(
|
|
3073
2468
|
components_DatasetCardvue_type_script_lang_js_,
|
|
3074
|
-
|
|
3075
|
-
|
|
2469
|
+
DatasetCardvue_type_template_id_75e03782_scoped_true_render,
|
|
2470
|
+
DatasetCardvue_type_template_id_75e03782_scoped_true_staticRenderFns,
|
|
3076
2471
|
false,
|
|
3077
2472
|
null,
|
|
3078
|
-
"
|
|
2473
|
+
"75e03782",
|
|
3079
2474
|
null
|
|
3080
2475
|
|
|
3081
2476
|
)
|
|
3082
2477
|
|
|
3083
2478
|
/* harmony default export */ var DatasetCard = (DatasetCard_component.exports);
|
|
3084
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3085
|
-
var
|
|
3086
|
-
var
|
|
2479
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4bc52cf4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ContextCard.vue?vue&type=template&id=41eb07ec&scoped=true&
|
|
2480
|
+
var ContextCardvue_type_template_id_41eb07ec_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"context-card-container"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showContextCard),expression:"showContextCard"}]},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDetails),expression:"showDetails"}],staticClass:"hide",on:{"click":function($event){_vm.showDetails = !_vm.showDetails}}},[_vm._v("Hide information"),_c('i',{staticClass:"el-icon-arrow-up"})]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showDetails),expression:"!showDetails"}],staticClass:"hide",on:{"click":function($event){_vm.showDetails = !_vm.showDetails}}},[_vm._v("Show information"),_c('i',{staticClass:"el-icon-arrow-down"})]),(_vm.showDetails && Object.keys(_vm.contextData).length !== 0)?_c('el-card',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"context-card card"},[_c('div',{staticClass:"card-left"},[_c('img',{staticClass:"context-image",attrs:{"src":_vm.entry.banner}})]),_c('div',{staticClass:"card-right"},[_c('div',{staticClass:"title"},[_vm._v(_vm._s(_vm.contextData.heading))]),_c('div',[_vm._v(_vm._s(_vm.contextData.description))]),_c('br'),(_vm.contextData.views)?_c('div',{staticClass:"subtitle"},[_vm._v("Scaffold Views")]):_vm._e(),_vm._l((_vm.contextData.views),function(view,i){return [_c('span',{key:i+'_1',staticClass:"context-card-item",on:{"click":function($event){return _vm.openViewFile(view)}}},[_c('img',{staticClass:"key-image",attrs:{"src":_vm.getFileFromPath(view.thumbnail)}}),_vm._v(" "+_vm._s(view.description)+" ")]),_c('br',{key:i})]}),_c('div',{staticStyle:{"margin-bottom":"16px"}}),(_vm.contextData.samples && _vm.contextData.samples.length > 0)?_c('div',{staticClass:"subtitle"},[_vm._v("Samples on Scaffold")]):_vm._e(),_vm._l((_vm.contextData.samples),function(sample,i){return [_c('span',{key:i+'_3',staticClass:"context-card-item",on:{"click":function($event){return _vm.toggleSampleDetails(i)}}},[_c('div',{key:i+'_6',staticStyle:{"display":"flex"}},[(sample.color)?_c('div',{staticClass:"color-box",style:('background-color:'+ sample.color)}):(sample.thumbnail)?_c('img',{staticClass:"key-image",attrs:{"src":_vm.getFileFromPath(sample.thumbnail)}}):_vm._e(),_vm._v(" "+_vm._s(sample.heading)+" "),_c('i',{staticClass:"el-icon-warning-outline info"})])]),(_vm.sampleDetails[i])?_c('div',{key:i+'_4'},[_vm._v(" "+_vm._s(sample.description)+" "),(_vm.sampleDetails[i])?_c('a',{key:i+'_5',attrs:{"href":_vm.generateFileLink(sample.path),"target":"_blank"}},[_vm._v("View Source")]):_vm._e()]):_vm._e(),_c('br',{key:i+'_2'})]})],2)]):_vm._e()],1)])}
|
|
2481
|
+
var ContextCardvue_type_template_id_41eb07ec_scoped_true_staticRenderFns = []
|
|
3087
2482
|
|
|
3088
2483
|
|
|
3089
|
-
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=
|
|
2484
|
+
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=41eb07ec&scoped=true&
|
|
3090
2485
|
|
|
3091
2486
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/link.css"
|
|
3092
2487
|
var link_css_ = __webpack_require__("230a");
|
|
@@ -3095,84 +2490,6 @@ var link_css_ = __webpack_require__("230a");
|
|
|
3095
2490
|
var link_ = __webpack_require__("7db7");
|
|
3096
2491
|
var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
3097
2492
|
|
|
3098
|
-
// CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
|
|
3099
|
-
/* harmony default export */ var hardcoded_context_info = ({}); // //Uncomment the code below to add in hardcoded data
|
|
3100
|
-
// export default {
|
|
3101
|
-
// 77: {
|
|
3102
|
-
// "description": "This dataset contains single cell scale anatomical map of the rat intrinsic cardiac nervous system (ICNS) across four male and three female hearts. These cell clusters can be seen by the yellow data points on the image as well as spherical markers on the 3D heart scaffold. The dataset provides an integrative framework to visualise the spatial distribution of ICNS across different hearts.",
|
|
3103
|
-
// "heading": "Mapped ICN samples",
|
|
3104
|
-
// "id": "sparc.science.context_data",
|
|
3105
|
-
// "samples": [
|
|
3106
|
-
// {
|
|
3107
|
-
// "annotation": "",
|
|
3108
|
-
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
3109
|
-
// "doi": "",
|
|
3110
|
-
// "heading": "ICNS from subject M54-8",
|
|
3111
|
-
// "id": "Sample 1",
|
|
3112
|
-
// "path": "",
|
|
3113
|
-
// "view": "View 1",
|
|
3114
|
-
// "color": "#FFFF00",
|
|
3115
|
-
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
3116
|
-
// },
|
|
3117
|
-
// {
|
|
3118
|
-
// "annotation": "",
|
|
3119
|
-
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
3120
|
-
// "doi": "",
|
|
3121
|
-
// "heading": "ICNS from subject M54-5",
|
|
3122
|
-
// "id": "Sample 2",
|
|
3123
|
-
// "path": "",
|
|
3124
|
-
// "view": "View 2",
|
|
3125
|
-
// "color": "#FFA500",
|
|
3126
|
-
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
3127
|
-
// }
|
|
3128
|
-
// ],
|
|
3129
|
-
// "version": "0.1.0",
|
|
3130
|
-
// },
|
|
3131
|
-
// 221: {
|
|
3132
|
-
// "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M162, M163, M164, M168) are mapped randomly on mouse proximal colon. The data depicts individual neural wiring patterns in enteric microcircuits, and revealed both neuron and fiber units wired in a complex organization.",
|
|
3133
|
-
// "heading": "Digital tracings of enteric plexus",
|
|
3134
|
-
// "id": "sparc.science.context_data",
|
|
3135
|
-
// "samples": [
|
|
3136
|
-
// {
|
|
3137
|
-
// "annotation": "",
|
|
3138
|
-
// "description": "Neuronal soma and fibers in a myenteric ganglion in this subject are annotated into the following groups to highlight their interactions:\n\nNeuron1,2,3 Connex: Connections between 3 neurons and cross-ganglionic fibers\n\nNeuron4_Connex: A small neuron contacts fibers passing the ganglion\n\nNeuron5: Multiple projections of a neuron in an myenteric ganglion\n\nNeuron5,3,7 Connex: Connections between 3 neurons, nerve fibers, IGNEx (complex type of intraganglionic nerve endings) and fibers in the circular muscles.\n\nNeuron8,9,10 Connex: Connections of 3 neurons with each other and with long passing fibers. \n\nIntraganglionic Nerve Ending (IGNE): Digital traces of neurites consist of complex intraganglionic nerve endings. The blue fiber has branched terminals, more likely the afferent nerve endings; the violet and cyan terminals also interweave into the fiber nest; the orange, pink and peach fibers and one process of the neuron cross the IGNE to make 1-2 conjunctions. \n",
|
|
3139
|
-
// "doi": "",
|
|
3140
|
-
// "heading": "Digital tracing for subject M11",
|
|
3141
|
-
// "id": "Sample 1",
|
|
3142
|
-
// "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
3143
|
-
// "view": "View 1"
|
|
3144
|
-
// },
|
|
3145
|
-
// {
|
|
3146
|
-
// "annotation": "",
|
|
3147
|
-
// "description": "This digital trace demonstrates some types of wiring. A long process of the green neuron terminates in the intraganglionic nerve endings (IGNE) while in contact with a nerve fiber (cyan), soma of a neuron (peach) and processes of 3 neurons (magenta, yellow and red). Two neurons and one fiber are traced to an IGNE. ",
|
|
3148
|
-
// "doi": "",
|
|
3149
|
-
// "heading": "Digital tracing for subject M16",
|
|
3150
|
-
// "id": "Sample 2",
|
|
3151
|
-
// "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
3152
|
-
// "view": "View 2"
|
|
3153
|
-
// }
|
|
3154
|
-
// ],
|
|
3155
|
-
// "version": "0.1.0",
|
|
3156
|
-
// "views": [
|
|
3157
|
-
// {
|
|
3158
|
-
// "annotation": "--",
|
|
3159
|
-
// "description": "Digital tracing of neurons for subject M11.",
|
|
3160
|
-
// "id": "View 1",
|
|
3161
|
-
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
3162
|
-
// "sample": "Sample 1",
|
|
3163
|
-
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
3164
|
-
// },
|
|
3165
|
-
// {
|
|
3166
|
-
// "annotation": "--",
|
|
3167
|
-
// "description": "Digital tracing of neurons for subject M16.",
|
|
3168
|
-
// "id": "View 2",
|
|
3169
|
-
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
3170
|
-
// "sample": "Sample 2",
|
|
3171
|
-
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
|
|
3172
|
-
// }
|
|
3173
|
-
// ]
|
|
3174
|
-
// }
|
|
3175
|
-
// }
|
|
3176
2493
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ContextCard.vue?vue&type=script&lang=js&
|
|
3177
2494
|
|
|
3178
2495
|
|
|
@@ -3262,9 +2579,9 @@ external_vue_default.a.use(input_default.a);
|
|
|
3262
2579
|
/* harmony default export */ var ContextCardvue_type_script_lang_js_ = ({
|
|
3263
2580
|
name: "contextCard",
|
|
3264
2581
|
props: {
|
|
3265
|
-
/**
|
|
3266
|
-
* Object containing information for
|
|
3267
|
-
* the required viewing.
|
|
2582
|
+
/**
|
|
2583
|
+
* Object containing information for
|
|
2584
|
+
* the required viewing.
|
|
3268
2585
|
*/
|
|
3269
2586
|
entry: Object
|
|
3270
2587
|
},
|
|
@@ -3353,8 +2670,8 @@ external_vue_default.a.use(input_default.a);
|
|
|
3353
2670
|
});
|
|
3354
2671
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=script&lang=js&
|
|
3355
2672
|
/* harmony default export */ var components_ContextCardvue_type_script_lang_js_ = (ContextCardvue_type_script_lang_js_);
|
|
3356
|
-
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=
|
|
3357
|
-
var
|
|
2673
|
+
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=41eb07ec&scoped=true&lang=css&
|
|
2674
|
+
var ContextCardvue_type_style_index_0_id_41eb07ec_scoped_true_lang_css_ = __webpack_require__("718b");
|
|
3358
2675
|
|
|
3359
2676
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue
|
|
3360
2677
|
|
|
@@ -3367,11 +2684,11 @@ var ContextCardvue_type_style_index_0_id_131d5180_scoped_true_lang_css_ = __webp
|
|
|
3367
2684
|
|
|
3368
2685
|
var ContextCard_component = normalizeComponent(
|
|
3369
2686
|
components_ContextCardvue_type_script_lang_js_,
|
|
3370
|
-
|
|
3371
|
-
|
|
2687
|
+
ContextCardvue_type_template_id_41eb07ec_scoped_true_render,
|
|
2688
|
+
ContextCardvue_type_template_id_41eb07ec_scoped_true_staticRenderFns,
|
|
3372
2689
|
false,
|
|
3373
2690
|
null,
|
|
3374
|
-
"
|
|
2691
|
+
"41eb07ec",
|
|
3375
2692
|
null
|
|
3376
2693
|
|
|
3377
2694
|
)
|
|
@@ -3423,6 +2740,8 @@ var ContextCard_component = normalizeComponent(
|
|
|
3423
2740
|
|
|
3424
2741
|
|
|
3425
2742
|
|
|
2743
|
+
|
|
2744
|
+
|
|
3426
2745
|
|
|
3427
2746
|
|
|
3428
2747
|
|
|
@@ -3477,6 +2796,7 @@ function SidebarContentvue_type_script_lang_js_objectSpread(target) { for (var i
|
|
|
3477
2796
|
//
|
|
3478
2797
|
//
|
|
3479
2798
|
//
|
|
2799
|
+
//
|
|
3480
2800
|
|
|
3481
2801
|
/* eslint-disable no-alert, no-console */
|
|
3482
2802
|
|
|
@@ -3559,7 +2879,8 @@ var initial_state = {
|
|
|
3559
2879
|
hasSearched: false,
|
|
3560
2880
|
sciCrunchError: false,
|
|
3561
2881
|
contextCardEntry: undefined,
|
|
3562
|
-
contextCardEnabled: true
|
|
2882
|
+
contextCardEnabled: true,
|
|
2883
|
+
loadingScicrunch: false
|
|
3563
2884
|
};
|
|
3564
2885
|
/* harmony default export */ var SidebarContentvue_type_script_lang_js_ = ({
|
|
3565
2886
|
components: {
|
|
@@ -3665,6 +2986,7 @@ var initial_state = {
|
|
|
3665
2986
|
_this.discoverIds = searchData.discoverIds;
|
|
3666
2987
|
_this.dois = searchData.dois;
|
|
3667
2988
|
_this.results = searchData.items;
|
|
2989
|
+
_this.loadingCards = false;
|
|
3668
2990
|
|
|
3669
2991
|
_this.searchSciCrunch({
|
|
3670
2992
|
'dois': _this.dois
|
|
@@ -3686,9 +3008,8 @@ var initial_state = {
|
|
|
3686
3008
|
searchSciCrunch: function searchSciCrunch(params) {
|
|
3687
3009
|
var _this2 = this;
|
|
3688
3010
|
|
|
3689
|
-
this.
|
|
3690
|
-
this.
|
|
3691
|
-
this.disableCards();
|
|
3011
|
+
this.loadingScicrunch = true;
|
|
3012
|
+
this.scrollToTop();
|
|
3692
3013
|
this.$emit("search-changed", {
|
|
3693
3014
|
value: this.searchInput,
|
|
3694
3015
|
type: "query-update"
|
|
@@ -3702,20 +3023,21 @@ var initial_state = {
|
|
|
3702
3023
|
|
|
3703
3024
|
_this2.$refs.content.style["overflow-y"] = "scroll";
|
|
3704
3025
|
_this2.loadingCards = false;
|
|
3026
|
+
_this2.loadingScicrunch = false;
|
|
3705
3027
|
}).catch(function (result) {
|
|
3706
3028
|
if (result.name !== 'AbortError') {
|
|
3707
3029
|
_this2.loadingCards = false;
|
|
3030
|
+
_this2.loadingScicrunch = false;
|
|
3708
3031
|
_this2.sciCrunchError = result.message;
|
|
3709
3032
|
}
|
|
3710
3033
|
});
|
|
3711
3034
|
},
|
|
3712
|
-
|
|
3035
|
+
scrollToTop: function scrollToTop() {
|
|
3713
3036
|
if (this.$refs.content) {
|
|
3714
3037
|
this.$refs.content.scroll({
|
|
3715
3038
|
top: 0,
|
|
3716
3039
|
behavior: "smooth"
|
|
3717
3040
|
});
|
|
3718
|
-
this.$refs.content.style["overflow-y"] = "hidden";
|
|
3719
3041
|
}
|
|
3720
3042
|
},
|
|
3721
3043
|
resetPageNavigation: function resetPageNavigation() {
|
|
@@ -3726,25 +3048,27 @@ var initial_state = {
|
|
|
3726
3048
|
var _this3 = this;
|
|
3727
3049
|
|
|
3728
3050
|
this.lastSearch = this.searchInput;
|
|
3729
|
-
|
|
3051
|
+
var id = 0;
|
|
3730
3052
|
|
|
3731
3053
|
if (data.results.length === 0) {
|
|
3732
3054
|
return;
|
|
3733
3055
|
}
|
|
3734
3056
|
|
|
3735
3057
|
data.results.forEach(function (element) {
|
|
3736
|
-
//
|
|
3737
|
-
var
|
|
3738
|
-
name
|
|
3739
|
-
|
|
3740
|
-
|
|
3058
|
+
// match the scicrunch result with algolia result
|
|
3059
|
+
var i = _this3.results.findIndex(function (res) {
|
|
3060
|
+
return res.name === element.name;
|
|
3061
|
+
}); // Assign scicrunch results to the object
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
Object.assign(_this3.results[i], element); // Assign the attributes that need some processing
|
|
3065
|
+
|
|
3066
|
+
Object.assign(_this3.results[i], {
|
|
3741
3067
|
numberSamples: element.sampleSize ? parseInt(element.sampleSize) : 0,
|
|
3742
3068
|
numberSubjects: element.subjectSize ? parseInt(element.subjectSize) : 0,
|
|
3743
3069
|
updated: element.updated[0].timestamp.split("T")[0],
|
|
3744
3070
|
url: element.uri[0],
|
|
3745
|
-
datasetId: element.
|
|
3746
|
-
datasetRevision: element.dataset_revision,
|
|
3747
|
-
datasetVersion: element.dataset_version,
|
|
3071
|
+
datasetId: element.identifier,
|
|
3748
3072
|
organs: element.organs && element.organs.length > 0 ? _toConsumableArray(new Set(element.organs.map(function (v) {
|
|
3749
3073
|
return v.name;
|
|
3750
3074
|
}))) : undefined,
|
|
@@ -3752,22 +3076,13 @@ var initial_state = {
|
|
|
3752
3076
|
return v.species ? v.species.name : null;
|
|
3753
3077
|
}))) : undefined : undefined,
|
|
3754
3078
|
// This processing only includes each gender once into 'sexes'
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
scaffolds: element['abi-scaffold-metadata-file'],
|
|
3758
|
-
thumbnails: element['abi-thumbnail'] ? element['abi-thumbnail'] : element['abi-scaffold-thumbnail'],
|
|
3759
|
-
scaffoldViews: element['abi-scaffold-view-file'],
|
|
3760
|
-
videos: element.video,
|
|
3761
|
-
plots: element.plot,
|
|
3762
|
-
images: element['common-images'],
|
|
3079
|
+
id: id,
|
|
3080
|
+
scaffolds: element['abi-scaffold-metadata-file'] ? element['abi-scaffold-metadata-file'] : undefined,
|
|
3763
3081
|
contextualInformation: element['abi-contextual-information'].length > 0 ? element['abi-contextual-information'] : undefined,
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
};
|
|
3769
|
-
|
|
3770
|
-
_this3.results.push(datasetInfo);
|
|
3082
|
+
simulation: element.additionalLinks ? element.additionalLinks[0].description == 'Repository' : false
|
|
3083
|
+
});
|
|
3084
|
+
id++;
|
|
3085
|
+
external_vue_default.a.set(_this3.results, i, _this3.results[i]);
|
|
3771
3086
|
});
|
|
3772
3087
|
},
|
|
3773
3088
|
createfilterParams: function createfilterParams(params) {
|
|
@@ -3817,7 +3132,8 @@ var initial_state = {
|
|
|
3817
3132
|
mounted: function mounted() {
|
|
3818
3133
|
// initialise algolia
|
|
3819
3134
|
this.algoliaClient = new algolia_AlgoliaClient(this.envVars.ALGOLIA_ID, this.envVars.ALGOLIA_KEY, this.envVars.PENNSIEVE_API_LOCATION);
|
|
3820
|
-
this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX);
|
|
3135
|
+
this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX);
|
|
3136
|
+
console.log('Algolia initialised in sidebar'); // temporarily disable flatmap search since there are no datasets
|
|
3821
3137
|
|
|
3822
3138
|
if (this.firstSearch === "Flatmap" || this.firstSearch === "flatmap") {
|
|
3823
3139
|
this.openSearch(undefined, '');
|
|
@@ -3832,8 +3148,8 @@ var initial_state = {
|
|
|
3832
3148
|
});
|
|
3833
3149
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=script&lang=js&
|
|
3834
3150
|
/* harmony default export */ var components_SidebarContentvue_type_script_lang_js_ = (SidebarContentvue_type_script_lang_js_);
|
|
3835
|
-
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=
|
|
3836
|
-
var
|
|
3151
|
+
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=53d83468&scoped=true&lang=css&
|
|
3152
|
+
var SidebarContentvue_type_style_index_0_id_53d83468_scoped_true_lang_css_ = __webpack_require__("c426");
|
|
3837
3153
|
|
|
3838
3154
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue
|
|
3839
3155
|
|
|
@@ -3846,22 +3162,22 @@ var SidebarContentvue_type_style_index_0_id_08af9326_scoped_true_lang_css_ = __w
|
|
|
3846
3162
|
|
|
3847
3163
|
var SidebarContent_component = normalizeComponent(
|
|
3848
3164
|
components_SidebarContentvue_type_script_lang_js_,
|
|
3849
|
-
|
|
3850
|
-
|
|
3165
|
+
SidebarContentvue_type_template_id_53d83468_scoped_true_render,
|
|
3166
|
+
SidebarContentvue_type_template_id_53d83468_scoped_true_staticRenderFns,
|
|
3851
3167
|
false,
|
|
3852
3168
|
null,
|
|
3853
|
-
"
|
|
3169
|
+
"53d83468",
|
|
3854
3170
|
null
|
|
3855
3171
|
|
|
3856
3172
|
)
|
|
3857
3173
|
|
|
3858
3174
|
/* harmony default export */ var SidebarContent = (SidebarContent_component.exports);
|
|
3859
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3860
|
-
var
|
|
3861
|
-
var
|
|
3175
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4bc52cf4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tabs.vue?vue&type=template&id=d68260c4&scoped=true&
|
|
3176
|
+
var Tabsvue_type_template_id_d68260c4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tab-container"},_vm._l((_vm.tabTitles),function(title){return _c('div',{key:title.id,staticClass:"title"},[_c('div',{staticClass:"title-text-table",class:{ highlightText : (title.id==_vm.activeId) },on:{"click":function($event){return _vm.titleClicked(title.id)}}},[_c('div',{staticClass:"title-text"},[_vm._v(" "+_vm._s(title.title)+" ")])])])}),0)}
|
|
3177
|
+
var Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns = []
|
|
3862
3178
|
|
|
3863
3179
|
|
|
3864
|
-
// CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=template&id=
|
|
3180
|
+
// CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=template&id=d68260c4&scoped=true&
|
|
3865
3181
|
|
|
3866
3182
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tabs.vue?vue&type=script&lang=js&
|
|
3867
3183
|
|
|
@@ -3901,8 +3217,8 @@ var Tabsvue_type_template_id_5d1b9484_scoped_true_staticRenderFns = []
|
|
|
3901
3217
|
});
|
|
3902
3218
|
// CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=script&lang=js&
|
|
3903
3219
|
/* harmony default export */ var components_Tabsvue_type_script_lang_js_ = (Tabsvue_type_script_lang_js_);
|
|
3904
|
-
// EXTERNAL MODULE: ./src/components/Tabs.vue?vue&type=style&index=0&id=
|
|
3905
|
-
var
|
|
3220
|
+
// EXTERNAL MODULE: ./src/components/Tabs.vue?vue&type=style&index=0&id=d68260c4&scoped=true&lang=css&
|
|
3221
|
+
var Tabsvue_type_style_index_0_id_d68260c4_scoped_true_lang_css_ = __webpack_require__("44cc");
|
|
3906
3222
|
|
|
3907
3223
|
// CONCATENATED MODULE: ./src/components/Tabs.vue
|
|
3908
3224
|
|
|
@@ -3915,11 +3231,11 @@ var Tabsvue_type_style_index_0_id_5d1b9484_scoped_true_lang_css_ = __webpack_req
|
|
|
3915
3231
|
|
|
3916
3232
|
var Tabs_component = normalizeComponent(
|
|
3917
3233
|
components_Tabsvue_type_script_lang_js_,
|
|
3918
|
-
|
|
3919
|
-
|
|
3234
|
+
Tabsvue_type_template_id_d68260c4_scoped_true_render,
|
|
3235
|
+
Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns,
|
|
3920
3236
|
false,
|
|
3921
3237
|
null,
|
|
3922
|
-
"
|
|
3238
|
+
"d68260c4",
|
|
3923
3239
|
null
|
|
3924
3240
|
|
|
3925
3241
|
)
|
|
@@ -4111,8 +3427,8 @@ var SideBarvue_type_script_lang_js_initial_state = {
|
|
|
4111
3427
|
});
|
|
4112
3428
|
// CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=script&lang=js&
|
|
4113
3429
|
/* harmony default export */ var components_SideBarvue_type_script_lang_js_ = (SideBarvue_type_script_lang_js_);
|
|
4114
|
-
// EXTERNAL MODULE: ./src/components/SideBar.vue?vue&type=style&index=0&id=
|
|
4115
|
-
var
|
|
3430
|
+
// EXTERNAL MODULE: ./src/components/SideBar.vue?vue&type=style&index=0&id=3f7eb1a5&scoped=true&lang=css&
|
|
3431
|
+
var SideBarvue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css_ = __webpack_require__("a3fe");
|
|
4116
3432
|
|
|
4117
3433
|
// CONCATENATED MODULE: ./src/components/SideBar.vue
|
|
4118
3434
|
|
|
@@ -4129,7 +3445,7 @@ var SideBar_component = normalizeComponent(
|
|
|
4129
3445
|
staticRenderFns,
|
|
4130
3446
|
false,
|
|
4131
3447
|
null,
|
|
4132
|
-
"
|
|
3448
|
+
"3f7eb1a5",
|
|
4133
3449
|
null
|
|
4134
3450
|
|
|
4135
3451
|
)
|