@abi-software/map-side-bar 1.2.0-beta.6 → 1.2.0-beta.9

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.
@@ -161,6 +161,17 @@ module.exports = require("core-js/modules/web.dom-collections.iterator");
161
161
 
162
162
  /***/ }),
163
163
 
164
+ /***/ "207a":
165
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
166
+
167
+ "use strict";
168
+ /* 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");
169
+ /* 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__);
170
+ /* unused harmony reexport * */
171
+ /* 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
+
173
+ /***/ }),
174
+
164
175
  /***/ "2175":
165
176
  /***/ (function(module, exports) {
166
177
 
@@ -221,21 +232,17 @@ module.exports = require("@abi-software/gallery");
221
232
 
222
233
  /***/ }),
223
234
 
224
- /***/ "3b88":
225
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
235
+ /***/ "429c":
236
+ /***/ (function(module, exports) {
226
237
 
227
- "use strict";
228
- /* 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_d54e3d8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7e53");
229
- /* 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_d54e3d8e_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_d54e3d8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
230
- /* unused harmony reexport * */
231
- /* 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_d54e3d8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
238
+ module.exports = require("@abi-software/svg-sprite");
232
239
 
233
240
  /***/ }),
234
241
 
235
- /***/ "429c":
236
- /***/ (function(module, exports) {
242
+ /***/ "456a":
243
+ /***/ (function(module, exports, __webpack_require__) {
237
244
 
238
- module.exports = require("@abi-software/svg-sprite");
245
+ // extracted by mini-css-extract-plugin
239
246
 
240
247
  /***/ }),
241
248
 
@@ -267,24 +274,6 @@ module.exports = require("core-js/modules/es.array.filter");
267
274
 
268
275
  /***/ }),
269
276
 
270
- /***/ "4bff":
271
- /***/ (function(module, exports, __webpack_require__) {
272
-
273
- // extracted by mini-css-extract-plugin
274
-
275
- /***/ }),
276
-
277
- /***/ "4c16":
278
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
279
-
280
- "use strict";
281
- /* 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_3d1731ba_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4bff");
282
- /* 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_3d1731ba_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_3d1731ba_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
283
- /* unused harmony reexport * */
284
- /* 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_3d1731ba_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
285
-
286
- /***/ }),
287
-
288
277
  /***/ "4c76":
289
278
  /***/ (function(module, exports) {
290
279
 
@@ -355,17 +344,6 @@ module.exports = require("core-js/modules/es.object.get-own-property-descriptor"
355
344
 
356
345
  /***/ }),
357
346
 
358
- /***/ "6b90":
359
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
360
-
361
- "use strict";
362
- /* 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_b182aab0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9443");
363
- /* 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_b182aab0_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_b182aab0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
364
- /* unused harmony reexport * */
365
- /* 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_b182aab0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
366
-
367
- /***/ }),
368
-
369
347
  /***/ "6bd8":
370
348
  /***/ (function(module, exports) {
371
349
 
@@ -408,6 +386,13 @@ module.exports = require("core-js/modules/es.number.constructor");
408
386
 
409
387
  /***/ }),
410
388
 
389
+ /***/ "7171":
390
+ /***/ (function(module, exports, __webpack_require__) {
391
+
392
+ // extracted by mini-css-extract-plugin
393
+
394
+ /***/ }),
395
+
411
396
  /***/ "79d0":
412
397
  /***/ (function(module, exports) {
413
398
 
@@ -429,13 +414,6 @@ module.exports = require("element-ui/lib/link");
429
414
 
430
415
  /***/ }),
431
416
 
432
- /***/ "7e53":
433
- /***/ (function(module, exports, __webpack_require__) {
434
-
435
- // extracted by mini-css-extract-plugin
436
-
437
- /***/ }),
438
-
439
417
  /***/ "7f9f":
440
418
  /***/ (function(module, exports) {
441
419
 
@@ -492,6 +470,13 @@ module.exports = require("element-ui/lib/theme-chalk/icon.css");
492
470
 
493
471
  /***/ }),
494
472
 
473
+ /***/ "901a":
474
+ /***/ (function(module, exports) {
475
+
476
+ module.exports = require("element-ui/lib/theme-chalk/badge.css");
477
+
478
+ /***/ }),
479
+
495
480
  /***/ "907b":
496
481
  /***/ (function(module, exports) {
497
482
 
@@ -499,28 +484,32 @@ module.exports = require("core-js/modules/es.string.iterator");
499
484
 
500
485
  /***/ }),
501
486
 
502
- /***/ "93e6":
503
- /***/ (function(module, exports) {
487
+ /***/ "90b0":
488
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
504
489
 
505
- module.exports = require("element-ui/lib/popover");
490
+ "use strict";
491
+ /* 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");
492
+ /* 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__);
493
+ /* unused harmony reexport * */
494
+ /* 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);
506
495
 
507
496
  /***/ }),
508
497
 
509
- /***/ "9443":
510
- /***/ (function(module, exports, __webpack_require__) {
498
+ /***/ "93e6":
499
+ /***/ (function(module, exports) {
511
500
 
512
- // extracted by mini-css-extract-plugin
501
+ module.exports = require("element-ui/lib/popover");
513
502
 
514
503
  /***/ }),
515
504
 
516
- /***/ "947f":
505
+ /***/ "95ed":
517
506
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
518
507
 
519
508
  "use strict";
520
- /* 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_5de93eb9_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a6a7");
521
- /* 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_5de93eb9_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_5de93eb9_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
509
+ /* 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");
510
+ /* 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__);
522
511
  /* unused harmony reexport * */
523
- /* 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_5de93eb9_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
512
+ /* 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);
524
513
 
525
514
  /***/ }),
526
515
 
@@ -531,6 +520,17 @@ module.exports = require("core-js/modules/es.map");
531
520
 
532
521
  /***/ }),
533
522
 
523
+ /***/ "99d5":
524
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
525
+
526
+ "use strict";
527
+ /* 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");
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_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__);
529
+ /* unused harmony reexport * */
530
+ /* 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);
531
+
532
+ /***/ }),
533
+
534
534
  /***/ "9a25":
535
535
  /***/ (function(module, exports) {
536
536
 
@@ -552,6 +552,13 @@ module.exports = __webpack_require__.p + "img/missing-image.1878d8b8.svg";
552
552
 
553
553
  /***/ }),
554
554
 
555
+ /***/ "9b80":
556
+ /***/ (function(module, exports, __webpack_require__) {
557
+
558
+ // extracted by mini-css-extract-plugin
559
+
560
+ /***/ }),
561
+
555
562
  /***/ "a012":
556
563
  /***/ (function(module, exports) {
557
564
 
@@ -559,17 +566,17 @@ module.exports = require("@abi-software/gallery/src/mixins/GalleryHelpers");
559
566
 
560
567
  /***/ }),
561
568
 
562
- /***/ "a525":
569
+ /***/ "a295":
563
570
  /***/ (function(module, exports) {
564
571
 
565
- module.exports = require("element-ui/lib/theme-chalk/popover.css");
572
+ module.exports = require("element-ui/lib/badge");
566
573
 
567
574
  /***/ }),
568
575
 
569
- /***/ "a6a7":
570
- /***/ (function(module, exports, __webpack_require__) {
576
+ /***/ "a525":
577
+ /***/ (function(module, exports) {
571
578
 
572
- // extracted by mini-css-extract-plugin
579
+ module.exports = require("element-ui/lib/theme-chalk/popover.css");
573
580
 
574
581
  /***/ }),
575
582
 
@@ -654,6 +661,20 @@ module.exports = require("element-ui/lib/option");
654
661
 
655
662
  /***/ }),
656
663
 
664
+ /***/ "cfd8":
665
+ /***/ (function(module, exports, __webpack_require__) {
666
+
667
+ // extracted by mini-css-extract-plugin
668
+
669
+ /***/ }),
670
+
671
+ /***/ "d463":
672
+ /***/ (function(module, exports, __webpack_require__) {
673
+
674
+ // extracted by mini-css-extract-plugin
675
+
676
+ /***/ }),
677
+
657
678
  /***/ "db11":
658
679
  /***/ (function(module, exports, __webpack_require__) {
659
680
 
@@ -682,6 +703,17 @@ module.exports = require("core-js/modules/es.array.from");
682
703
 
683
704
  /***/ }),
684
705
 
706
+ /***/ "e636":
707
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
708
+
709
+ "use strict";
710
+ /* 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");
711
+ /* 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__);
712
+ /* unused harmony reexport * */
713
+ /* 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);
714
+
715
+ /***/ }),
716
+
685
717
  /***/ "e67a":
686
718
  /***/ (function(module, exports) {
687
719
 
@@ -744,7 +776,7 @@ if (typeof window !== 'undefined') {
744
776
  // Indicate to webpack that this file can be concatenated
745
777
  /* harmony default export */ var setPublicPath = (null);
746
778
 
747
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=3d831a8e&scoped=true&
779
+ // 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/SideBar.vue?vue&type=template&id=3d831a8e&scoped=true&
748
780
  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)}
749
781
  var staticRenderFns = []
750
782
 
@@ -819,12 +851,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
819
851
  var locale_ = __webpack_require__("7f9f");
820
852
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
821
853
 
822
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=3d1731ba&scoped=true&
823
- var SidebarContentvue_type_template_id_3d1731ba_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.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(o){return _c('div',{key:o.id,staticClass:"step-item"},[_c('DatasetCard',{attrs:{"entry":o,"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)}
824
- var SidebarContentvue_type_template_id_3d1731ba_scoped_true_staticRenderFns = []
854
+ // 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/SidebarContent.vue?vue&type=template&id=08af9326&scoped=true&
855
+ var SidebarContentvue_type_template_id_08af9326_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.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(o){return _c('div',{key:o.id,staticClass:"step-item"},[_c('DatasetCard',{attrs:{"entry":o,"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)}
856
+ var SidebarContentvue_type_template_id_08af9326_scoped_true_staticRenderFns = []
825
857
 
826
858
 
827
- // CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=3d1731ba&scoped=true&
859
+ // CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=08af9326&scoped=true&
828
860
 
829
861
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.description"
830
862
  var es_symbol_description_ = __webpack_require__("51e9");
@@ -988,7 +1020,7 @@ var button_css_ = __webpack_require__("26bc");
988
1020
  var button_ = __webpack_require__("5d8c");
989
1021
  var button_default = /*#__PURE__*/__webpack_require__.n(button_);
990
1022
 
991
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=57801ec0&scoped=true&
1023
+ // 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/SearchFilters.vue?vue&type=template&id=57801ec0&scoped=true&
992
1024
  var SearchFiltersvue_type_template_id_57801ec0_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)}
993
1025
  var SearchFiltersvue_type_template_id_57801ec0_scoped_true_staticRenderFns = []
994
1026
 
@@ -1985,24 +2017,233 @@ var SearchFilters_component = normalizeComponent(
1985
2017
  )
1986
2018
 
1987
2019
  /* harmony default export */ var SearchFilters = (SearchFilters_component.exports);
1988
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=d54e3d8e&scoped=true&
1989
- var DatasetCardvue_type_template_id_d54e3d8e_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'},[_c('div',{staticClass:"seperator-path"}),_c('div',{staticClass:"card"},[_c('span',{staticClass:"card-left"},[(_vm.dataIsReady)?_c('image-gallery',{attrs:{"datasetId":_vm.discoverId,"datasetVersion":_vm.version,"name":_vm.entry.name,"description":_vm.entry.description,"envVars":_vm.envVars,"images":_vm.entry.images,"scaffolds":_vm.entry.scaffolds,"scaffoldViews":_vm.entry.scaffoldViews,"segmentations":_vm.entry.segmentation,"additionalLinks":_vm.simulationLinks,"videos":_vm.entry.videos,"thumbnails":_vm.entry.thumbnails,"label":_vm.label,"datasetThumbnail":_vm.thumbnail},on:{"card-clicked":_vm.galleryClicked}}):_vm._e()],1),_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-view"},on:{"click":_vm.openRepository}},[_vm._v("View repository")]):_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()])])}
1990
- var DatasetCardvue_type_template_id_d54e3d8e_scoped_true_staticRenderFns = []
2020
+ // 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/DatasetCard.vue?vue&type=template&id=5563bc45&scoped=true&
2021
+ var DatasetCardvue_type_template_id_5563bc45_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'},[_c('div',{staticClass:"seperator-path"}),_c('div',{staticClass:"card"},[_c('span',{staticClass:"card-left"},[(_vm.dataIsReady)?_c('image-gallery',{attrs:{"datasetId":_vm.discoverId,"datasetVersion":_vm.version,"name":_vm.entry.name,"description":_vm.entry.description,"envVars":_vm.envVars,"images":_vm.entry.images,"scaffolds":_vm.entry.scaffolds,"scaffoldViews":_vm.entry.scaffoldViews,"segmentations":_vm.entry.segmentation,"additionalLinks":_vm.simulationLinks,"videos":_vm.entry.videos,"thumbnails":_vm.entry.thumbnails,"label":_vm.label,"datasetThumbnail":_vm.thumbnail,"dataset-biolucida":_vm.biolucidaData,"category":_vm.currentCategory},on:{"card-clicked":_vm.galleryClicked}}):_vm._e()],1),_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-view"},on:{"click":_vm.openRepository}},[_vm._v("View repository")]):_vm._e()],1),_c('div',{staticClass:"badges-container"},[_c('badges-group',{attrs:{"entry":_vm.entry,"dataset-biolucida":_vm.biolucidaData,"additionalLinks":_vm.simulationLinks},on:{"categoryChanged":_vm.categoryChanged}})],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()])])}
2022
+ var DatasetCardvue_type_template_id_5563bc45_scoped_true_staticRenderFns = []
2023
+
2024
+
2025
+ // CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=5563bc45&scoped=true&
2026
+
2027
+ // 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&
2028
+ 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()}
2029
+ var BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_staticRenderFns = []
2030
+
2031
+
2032
+ // CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=template&id=b42ec7d6&scoped=true&
1991
2033
 
2034
+ // EXTERNAL MODULE: external "element-ui/lib/theme-chalk/badge.css"
2035
+ var badge_css_ = __webpack_require__("901a");
1992
2036
 
1993
- // CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=d54e3d8e&scoped=true&
2037
+ // EXTERNAL MODULE: external "element-ui/lib/badge"
2038
+ var badge_ = __webpack_require__("a295");
2039
+ var badge_default = /*#__PURE__*/__webpack_require__.n(badge_);
1994
2040
 
2041
+ // 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&
2042
+
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+
2049
+
2050
+
2051
+
2052
+ //
2053
+ //
2054
+ //
2055
+ //
2056
+ //
2057
+ //
2058
+ //
2059
+ //
2060
+ //
2061
+ //
2062
+ //
2063
+ //
2064
+ //
2065
+ //
2066
+ //
2067
+
2068
+ /* eslint-disable no-alert, no-console */
2069
+
2070
+
2071
+
2072
+ locale_default.a.use(en_default.a);
2073
+ external_vue_default.a.use(badge_default.a);
2074
+ external_vue_default.a.use(button_default.a);
2075
+ /* harmony default export */ var BadgesGroupvue_type_script_lang_js_ = ({
2076
+ name: "BadgesGroup",
2077
+ props: {
2078
+ /**
2079
+ * Object containing information for
2080
+ * the required viewing.
2081
+ */
2082
+ additionalLinks: {
2083
+ type: Array,
2084
+ default: function _default() {
2085
+ return [];
2086
+ }
2087
+ },
2088
+ datasetBiolucida: {
2089
+ type: Object,
2090
+ default: function _default() {
2091
+ return {};
2092
+ }
2093
+ },
2094
+ entry: {
2095
+ type: Object,
2096
+ default: function _default() {
2097
+ return {};
2098
+ }
2099
+ }
2100
+ },
2101
+ data: function data() {
2102
+ return {
2103
+ categories: {
2104
+ "All": {
2105
+ size: 1
2106
+ }
2107
+ },
2108
+ active: "All"
2109
+ };
2110
+ },
2111
+ methods: {
2112
+ addToCategories: function addToCategories(array, name) {
2113
+ if (array && array.length > 0) {
2114
+ this.categories[name] = {
2115
+ size: array.length
2116
+ };
2117
+ this.categories["All"].size += array.length;
2118
+ }
2119
+ },
2120
+ addSimulationsToCategories: function addSimulationsToCategories(array) {
2121
+ if (array) {
2122
+ var size = 0;
2123
+ array.forEach(function (item) {
2124
+ if (item.description == "SED-ML file" || item.description == "CellML file") {
2125
+ size = 1;
2126
+ }
2127
+ });
2128
+
2129
+ if (size > 0) {
2130
+ this.categories["Simulations"] = {
2131
+ size: size
2132
+ };
2133
+ this.categories["All"].size += size;
2134
+ }
2135
+ }
2136
+ },
2137
+ categoryClicked: function categoryClicked(name) {
2138
+ this.active = name;
2139
+ this.$emit("categoryChanged", name);
2140
+ }
2141
+ },
2142
+ watch: {
2143
+ datasetBiolucida: {
2144
+ deep: true,
2145
+ immediate: true,
2146
+ handler: function handler(biolucidaData) {
2147
+ if ("dataset_images" in biolucidaData) {
2148
+ this.addToCategories(biolucidaData["dataset_images"], "Biolucida Images");
2149
+ }
2150
+ }
2151
+ },
2152
+ entry: {
2153
+ deep: true,
2154
+ immediate: true,
2155
+ handler: function handler() {
2156
+ this.addToCategories(this.entry.images, 'Images');
2157
+ this.addToCategories(this.entry.scaffolds, 'Scaffolds');
2158
+ this.addToCategories(this.entry.segmentation, 'Segmentations');
2159
+ this.addSimulationsToCategories(this.additionalLinks);
2160
+ this.addToCategories(this.entry.videos, 'Videos');
2161
+ }
2162
+ }
2163
+ }
2164
+ });
2165
+ // CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=script&lang=js&
2166
+ /* harmony default export */ var components_BadgesGroupvue_type_script_lang_js_ = (BadgesGroupvue_type_script_lang_js_);
2167
+ // EXTERNAL MODULE: ./src/components/BadgesGroup.vue?vue&type=style&index=0&id=b42ec7d6&scoped=true&lang=css&
2168
+ var BadgesGroupvue_type_style_index_0_id_b42ec7d6_scoped_true_lang_css_ = __webpack_require__("90b0");
2169
+
2170
+ // CONCATENATED MODULE: ./src/components/BadgesGroup.vue
2171
+
2172
+
2173
+
2174
+
2175
+
2176
+
2177
+ /* normalize component */
2178
+
2179
+ var BadgesGroup_component = normalizeComponent(
2180
+ components_BadgesGroupvue_type_script_lang_js_,
2181
+ BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_render,
2182
+ BadgesGroupvue_type_template_id_b42ec7d6_scoped_true_staticRenderFns,
2183
+ false,
2184
+ null,
2185
+ "b42ec7d6",
2186
+ null
2187
+
2188
+ )
2189
+
2190
+ /* harmony default export */ var BadgesGroup = (BadgesGroup_component.exports);
1995
2191
  // CONCATENATED MODULE: ./src/components/EventBus.js
1996
2192
 
1997
2193
  var EventBus = new external_vue_default.a();
1998
2194
  /* harmony default export */ var components_EventBus = (EventBus);
1999
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=b182aab0&scoped=true&
2000
- var ImageGalleryvue_type_template_id_b182aab0_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',{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)}
2001
- var ImageGalleryvue_type_template_id_b182aab0_scoped_true_staticRenderFns = []
2195
+ // 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&
2196
+ 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)}
2197
+ var ImageGalleryvue_type_template_id_7352f23b_scoped_true_staticRenderFns = []
2198
+
2199
+
2200
+ // CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=template&id=7352f23b&scoped=true&
2201
+
2202
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
2002
2203
 
2003
2204
 
2004
- // CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=template&id=b182aab0&scoped=true&
2005
2205
 
2206
+
2207
+
2208
+
2209
+
2210
+
2211
+ function _iterableToArrayLimit(arr, i) {
2212
+ if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
2213
+ return;
2214
+ }
2215
+
2216
+ var _arr = [];
2217
+ var _n = true;
2218
+ var _d = false;
2219
+ var _e = undefined;
2220
+
2221
+ try {
2222
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
2223
+ _arr.push(_s.value);
2224
+
2225
+ if (i && _arr.length === i) break;
2226
+ }
2227
+ } catch (err) {
2228
+ _d = true;
2229
+ _e = err;
2230
+ } finally {
2231
+ try {
2232
+ if (!_n && _i["return"] != null) _i["return"]();
2233
+ } finally {
2234
+ if (_d) throw _e;
2235
+ }
2236
+ }
2237
+
2238
+ return _arr;
2239
+ }
2240
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
2241
+
2242
+
2243
+
2244
+ function _slicedToArray(arr, i) {
2245
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
2246
+ }
2006
2247
  // EXTERNAL MODULE: external "@abi-software/gallery/src/mixins/GalleryHelpers"
2007
2248
  var GalleryHelpers_ = __webpack_require__("a012");
2008
2249
  var GalleryHelpers_default = /*#__PURE__*/__webpack_require__.n(GalleryHelpers_);
@@ -2026,6 +2267,9 @@ var gallery_default = /*#__PURE__*/__webpack_require__.n(gallery_);
2026
2267
 
2027
2268
 
2028
2269
 
2270
+
2271
+
2272
+ //
2029
2273
  //
2030
2274
  //
2031
2275
  //
@@ -2153,6 +2397,10 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2153
2397
  description: {
2154
2398
  type: String,
2155
2399
  default: ""
2400
+ },
2401
+ category: {
2402
+ type: String,
2403
+ default: "All"
2156
2404
  }
2157
2405
  },
2158
2406
  data: function data() {
@@ -2160,15 +2408,26 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2160
2408
  currentIndex: 0,
2161
2409
  ro: null,
2162
2410
  maxWidth: 3,
2163
- scicrunchItems: [],
2164
- biolucidaItems: [],
2411
+ items: {
2412
+ "Biolucida Images": [],
2413
+ 'Dataset': [],
2414
+ 'Images': [],
2415
+ 'Scaffolds': [],
2416
+ 'Segmentations': [],
2417
+ 'Simulations': [],
2418
+ 'Videos': [],
2419
+ 'Plots': []
2420
+ },
2165
2421
  bodyStyle: {
2166
2422
  padding: '0px',
2167
2423
  background: '#ffffff'
2168
2424
  },
2169
2425
  imageContainerStyle: {
2170
2426
  width: '160px',
2171
- height: '160px'
2427
+ height: '160px',
2428
+ display: 'flex',
2429
+ alignItems: 'center',
2430
+ justifyContent: 'center'
2172
2431
  },
2173
2432
  imageStyle: {
2174
2433
  maxWidth: '160px',
@@ -2177,7 +2436,8 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2177
2436
  shadow: "never",
2178
2437
  bottomSpacer: {
2179
2438
  minHeight: '1.5rem'
2180
- }
2439
+ },
2440
+ resetIndex: false
2181
2441
  };
2182
2442
  },
2183
2443
  methods: {
@@ -2197,7 +2457,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2197
2457
  var link = "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset");
2198
2458
 
2199
2459
  if (this.datasetThumbnail) {
2200
- this.scicrunchItems.push({
2460
+ this.items['Dataset'].push({
2201
2461
  id: -1,
2202
2462
  title: link,
2203
2463
  type: "Dataset ".concat(this.datasetId),
@@ -2215,7 +2475,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2215
2475
  var id = image.identifier;
2216
2476
  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);
2217
2477
 
2218
- _this.scicrunchItems.push({
2478
+ _this.items['Images'].push({
2219
2479
  id: id,
2220
2480
  title: baseName(filePath),
2221
2481
  type: "Image",
@@ -2249,14 +2509,14 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2249
2509
 
2250
2510
  var action = {
2251
2511
  label: ImageGalleryvue_type_script_lang_js_capitalise(_this2.label),
2252
- resource: "".concat(_this2.envVars.API_LOCATION, "s3-resource/").concat(_this2.datasetId, "/").concat(_this2.datasetVersion, "/files/").concat(filePath),
2512
+ resource: "".concat(_this2.envVars.API_LOCATION, "s3-resource/").concat(_this2.datasetId, "/").concat(_this2.datasetVersion, "/").concat(filePath),
2253
2513
  title: "View plot",
2254
2514
  type: "Plot",
2255
2515
  discoverId: _this2.discoverId,
2256
2516
  version: _this2.datasetVersion
2257
2517
  };
2258
2518
 
2259
- _this2.scicrunchItems.push({
2519
+ _this2.items['Plots'].push({
2260
2520
  id: id,
2261
2521
  title: baseName(filePath),
2262
2522
  type: "Plot",
@@ -2301,7 +2561,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2301
2561
  version: _this3.datasetVersion
2302
2562
  };
2303
2563
 
2304
- _this3.scicrunchItems.push({
2564
+ _this3.items['Scaffolds'].push({
2305
2565
  id: id,
2306
2566
  title: baseName(filePath),
2307
2567
  type: "Scaffold",
@@ -2323,7 +2583,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2323
2583
  filePath = filePath.replaceAll(",", "_");
2324
2584
  var prefix = _this4.envVars.NL_LINK_PREFIX;
2325
2585
  var resource = {
2326
- share_link: "".concat(prefix, "/dataviewer?datasetId=").concat(_this4.datasetId, "&version=").concat(_this4.datasetVersion, "&path=").concat(filePath)
2586
+ share_link: "".concat(prefix, "/dataviewer?datasetId=").concat(_this4.datasetId, "&version=").concat(_this4.datasetVersion, "&path=files/").concat(filePath)
2327
2587
  };
2328
2588
  var action = {
2329
2589
  label: ImageGalleryvue_type_script_lang_js_capitalise(_this4.label),
@@ -2340,7 +2600,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2340
2600
  segmentationFilePath: filePath
2341
2601
  });
2342
2602
 
2343
- _this4.scicrunchItems.push({
2603
+ _this4.items['Segmentations'].push({
2344
2604
  id: id,
2345
2605
  title: baseName(filePath),
2346
2606
  type: "Segmentation",
@@ -2352,15 +2612,11 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2352
2612
  }
2353
2613
  },
2354
2614
  createSimulationItems: function createSimulationItems() {
2355
- var isSedmlResource = false;
2356
2615
  var resource = undefined;
2357
2616
 
2358
2617
  if (this.additionalLinks) {
2359
2618
  this.additionalLinks.forEach(function (el) {
2360
- if (el.description == "SED-ML file") {
2361
- isSedmlResource = true;
2362
- resource = el.uri;
2363
- } else if (!isSedmlResource && el.description == "CellML file") {
2619
+ if (el.description == "SED-ML file" || el.description == "CellML file") {
2364
2620
  resource = el.uri;
2365
2621
  }
2366
2622
  });
@@ -2378,7 +2634,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2378
2634
  discoverId: this.datasetId,
2379
2635
  dataset: "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset")
2380
2636
  };
2381
- this.scicrunchItems.push({
2637
+ this.items['Simulations'].push({
2382
2638
  id: "simulation",
2383
2639
  title: resource,
2384
2640
  type: "Simulation",
@@ -2396,7 +2652,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2396
2652
 
2397
2653
  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);
2398
2654
 
2399
- _this5.scicrunchItems.push({
2655
+ _this5.items['Videos'].push({
2400
2656
  title: video.name,
2401
2657
  type: "Video",
2402
2658
  thumbnail: _this5.defaultVideoImg,
@@ -2411,13 +2667,35 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2411
2667
  },
2412
2668
  computed: {
2413
2669
  galleryItems: function galleryItems() {
2414
- return this.scicrunchItems.concat(this.biolucidaItems);
2670
+ if (this.resetIndex) {
2671
+ this.$refs.gallery.indicatorClicked(0);
2672
+ }
2673
+
2674
+ var items = _toConsumableArray(this.items["Dataset"]);
2675
+
2676
+ if (this.category === "All") {
2677
+ for (var _i = 0, _Object$entries = Object.entries(this.items); _i < _Object$entries.length; _i++) {
2678
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
2679
+ key = _Object$entries$_i[0],
2680
+ value = _Object$entries$_i[1];
2681
+
2682
+ if (key !== "Dataset") items = items.concat(value);
2683
+ }
2684
+
2685
+ return items;
2686
+ } else return this.items[this.category];
2415
2687
  }
2416
2688
  },
2417
2689
  created: function created() {
2418
2690
  this.createSciCurnchItems();
2419
2691
  },
2420
2692
  watch: {
2693
+ category: function category() {
2694
+ this.resetIndex = true;
2695
+ },
2696
+ galleryItems: function galleryItems() {
2697
+ this.resetIndex = false;
2698
+ },
2421
2699
  datasetBiolucida: {
2422
2700
  deep: true,
2423
2701
  immediate: true,
@@ -2432,11 +2710,6 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2432
2710
  id: dataset_image.image_id
2433
2711
  });
2434
2712
 
2435
- _this6.getImageInfoFromBiolucida(_this6.envVars.API_LOCATION, items, {
2436
- id: dataset_image.image_id,
2437
- fetchAttempts: 0
2438
- });
2439
-
2440
2713
  var resource = {
2441
2714
  share_link: dataset_image.share_link,
2442
2715
  id: dataset_image.image_id,
@@ -2452,7 +2725,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2452
2725
  };
2453
2726
  return {
2454
2727
  id: dataset_image.image_id,
2455
- title: null,
2728
+ title: "Biolucida Image",
2456
2729
  type: "Image",
2457
2730
  thumbnail: thumbnailURL,
2458
2731
  userData: action,
@@ -2461,7 +2734,7 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2461
2734
  })));
2462
2735
  }
2463
2736
 
2464
- this.biolucidaItems = items;
2737
+ this.items['Biolucida Images'] = items;
2465
2738
  }
2466
2739
  }
2467
2740
  },
@@ -2474,8 +2747,8 @@ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string)
2474
2747
  });
2475
2748
  // CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=script&lang=js&
2476
2749
  /* harmony default export */ var components_ImageGalleryvue_type_script_lang_js_ = (ImageGalleryvue_type_script_lang_js_);
2477
- // EXTERNAL MODULE: ./src/components/ImageGallery.vue?vue&type=style&index=0&id=b182aab0&scoped=true&lang=css&
2478
- var ImageGalleryvue_type_style_index_0_id_b182aab0_scoped_true_lang_css_ = __webpack_require__("6b90");
2750
+ // EXTERNAL MODULE: ./src/components/ImageGallery.vue?vue&type=style&index=0&id=7352f23b&scoped=true&lang=css&
2751
+ var ImageGalleryvue_type_style_index_0_id_7352f23b_scoped_true_lang_css_ = __webpack_require__("207a");
2479
2752
 
2480
2753
  // CONCATENATED MODULE: ./src/components/ImageGallery.vue
2481
2754
 
@@ -2488,11 +2761,11 @@ var ImageGalleryvue_type_style_index_0_id_b182aab0_scoped_true_lang_css_ = __web
2488
2761
 
2489
2762
  var ImageGallery_component = normalizeComponent(
2490
2763
  components_ImageGalleryvue_type_script_lang_js_,
2491
- ImageGalleryvue_type_template_id_b182aab0_scoped_true_render,
2492
- ImageGalleryvue_type_template_id_b182aab0_scoped_true_staticRenderFns,
2764
+ ImageGalleryvue_type_template_id_7352f23b_scoped_true_render,
2765
+ ImageGalleryvue_type_template_id_7352f23b_scoped_true_staticRenderFns,
2493
2766
  false,
2494
2767
  null,
2495
- "b182aab0",
2768
+ "7352f23b",
2496
2769
  null
2497
2770
 
2498
2771
  )
@@ -2515,25 +2788,6 @@ var ImageGallery_component = normalizeComponent(
2515
2788
 
2516
2789
 
2517
2790
 
2518
-
2519
- //
2520
- //
2521
- //
2522
- //
2523
- //
2524
- //
2525
- //
2526
- //
2527
- //
2528
- //
2529
- //
2530
- //
2531
- //
2532
- //
2533
- //
2534
- //
2535
- //
2536
- //
2537
2791
  //
2538
2792
  //
2539
2793
  //
@@ -2594,19 +2848,14 @@ var ImageGallery_component = normalizeComponent(
2594
2848
 
2595
2849
 
2596
2850
 
2851
+
2597
2852
  locale_default.a.use(en_default.a);
2598
2853
  external_vue_default.a.use(button_default.a);
2599
2854
  external_vue_default.a.use(icon_default.a);
2600
-
2601
- var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string) {
2602
- return string.replace(/\b\w/g, function (v) {
2603
- return v.toUpperCase();
2604
- });
2605
- };
2606
-
2607
2855
  /* harmony default export */ var DatasetCardvue_type_script_lang_js_ = ({
2608
2856
  name: "DatasetCard",
2609
2857
  components: {
2858
+ BadgesGroup: BadgesGroup,
2610
2859
  ImageGallery: ImageGallery
2611
2860
  },
2612
2861
  props: {
@@ -2628,7 +2877,8 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2628
2877
  discoverId: undefined,
2629
2878
  cardOverflow: false,
2630
2879
  expanded: false,
2631
- biolucidaData: undefined
2880
+ biolucidaData: undefined,
2881
+ currentCategory: "All"
2632
2882
  };
2633
2883
  },
2634
2884
  computed: {
@@ -2696,37 +2946,12 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2696
2946
  cardClicked: function cardClicked() {
2697
2947
  this.openDataset();
2698
2948
  },
2949
+ categoryChanged: function categoryChanged(name) {
2950
+ this.currentCategory = name;
2951
+ },
2699
2952
  galleryClicked: function galleryClicked(payload) {
2700
2953
  this.propogateCardAction(payload);
2701
2954
  },
2702
- openScaffold: function openScaffold() {
2703
- var action = {
2704
- label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
2705
- resource: this.getScaffoldPath(this.discoverId, this.version, this.entry.scaffolds[0].dataset.path),
2706
- title: "View 3D scaffold",
2707
- type: "Scaffold",
2708
- discoverId: this.discoverId,
2709
- apiLocation: this.envVars.API_LOCATION,
2710
- version: this.version,
2711
- contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
2712
- banner: this.thumbnail
2713
- };
2714
- this.propogateCardAction(action);
2715
- },
2716
- openPlot: function openPlot() {
2717
- var action = {
2718
- label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
2719
- resource: this.getFileFromPath(this.discoverId, this.version, this.entry.csvFiles[0].dataset.path),
2720
- title: "View plot",
2721
- type: "Plot",
2722
- discoverId: this.discoverId,
2723
- apiLocation: this.envVars.API_LOCATION,
2724
- version: this.version,
2725
- contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
2726
- banner: this.thumbnail
2727
- };
2728
- this.propogateCardAction(action);
2729
- },
2730
2955
  openDataset: function openDataset() {
2731
2956
  window.open(this.dataLocation, '_blank');
2732
2957
  },
@@ -2760,94 +2985,9 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2760
2985
  }
2761
2986
  });
2762
2987
  },
2763
- openSimulation: function openSimulation() {
2764
- var isSedmlResource = false;
2765
- var resource = undefined;
2766
- this.entry.additionalLinks.forEach(function (el) {
2767
- if (el.description == "SED-ML file") {
2768
- isSedmlResource = true;
2769
- resource = el.uri;
2770
- } else if (!isSedmlResource && el.description == "CellML file") {
2771
- resource = el.uri;
2772
- }
2773
- });
2774
- var action = {
2775
- label: undefined,
2776
- resource: resource,
2777
- discoverId: this.dataLocation,
2778
- apiLocation: this.envVars.API_LOCATION,
2779
- version: this.version,
2780
- contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
2781
- banner: this.thumbnail,
2782
- title: "View simulation",
2783
- name: this.entry.name,
2784
- description: this.entry.description,
2785
- type: "Simulation"
2786
- };
2787
- components_EventBus.$emit("PopoverActionClick", action);
2788
- },
2789
- openSegmentation: function openSegmentation() {
2790
- if (this.entry.segmentation && this.entry.segmentation[0]) {
2791
- var segmentation = this.entry.segmentation[0];
2792
- var filePath = segmentation.dataset.path;
2793
- var datasetId = this.discoverId;
2794
- var datasetVersion = this.version;
2795
- var prefix = this.envVars.NL_LINK_PREFIX;
2796
- var resource = {
2797
- share_link: "".concat(prefix, "/dataviewer?datasetId=").concat(datasetId, "&version=").concat(datasetVersion, "&path=").concat(filePath)
2798
- };
2799
- var action = {
2800
- label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
2801
- resource: resource,
2802
- dataset: this.dataLocation,
2803
- datasetId: this.discoverId,
2804
- title: "View segmentation",
2805
- name: this.entry.name,
2806
- description: this.entry.description,
2807
- type: "Segmentation"
2808
- };
2809
- components_EventBus.$emit("PopoverActionClick", action);
2810
- }
2811
- },
2812
- openImage: function openImage() {
2813
- if (this.biolucidaData) {
2814
- var biolucidaData = this.biolucidaData;
2815
-
2816
- if ('dataset_images' in biolucidaData) {
2817
- var image = biolucidaData['dataset_images'][0];
2818
- var resource = {
2819
- share_link: image.share_link,
2820
- id: image.image_id,
2821
- itemId: image.sourcepkg_id
2822
- };
2823
- var action = {
2824
- label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
2825
- resource: resource,
2826
- dataset: this.dataLocation,
2827
- datasetId: this.discoverId,
2828
- title: "View image",
2829
- name: this.entry.name,
2830
- description: this.entry.description,
2831
- type: "Biolucida"
2832
- };
2833
- components_EventBus.$emit("PopoverActionClick", action);
2834
- }
2835
- }
2836
- },
2837
2988
  propogateCardAction: function propogateCardAction(action) {
2838
2989
  components_EventBus.$emit("PopoverActionClick", action);
2839
-
2840
- if (action.contextCardUrl) {
2841
- this.$emit('contextUpdate', action);
2842
- }
2843
- },
2844
- getScaffoldPath: function getScaffoldPath(discoverId, version, scaffoldPath) {
2845
- var id = discoverId;
2846
- var path = "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(id, "/").concat(version, "/files/").concat(scaffoldPath);
2847
- return path;
2848
- },
2849
- getFileFromPath: function getFileFromPath(discoverId, version, path) {
2850
- return "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(discoverId, "/").concat(version, "/files/").concat(path);
2990
+ this.$emit('contextUpdate', action);
2851
2991
  },
2852
2992
  isOverflown: function isOverflown(el) {
2853
2993
  return el.clientHeight < el.scrollHeight;
@@ -2908,8 +3048,8 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2908
3048
  });
2909
3049
  // CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=script&lang=js&
2910
3050
  /* harmony default export */ var components_DatasetCardvue_type_script_lang_js_ = (DatasetCardvue_type_script_lang_js_);
2911
- // EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=d54e3d8e&scoped=true&lang=css&
2912
- var DatasetCardvue_type_style_index_0_id_d54e3d8e_scoped_true_lang_css_ = __webpack_require__("3b88");
3051
+ // EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=5563bc45&scoped=true&lang=css&
3052
+ var DatasetCardvue_type_style_index_0_id_5563bc45_scoped_true_lang_css_ = __webpack_require__("99d5");
2913
3053
 
2914
3054
  // CONCATENATED MODULE: ./src/components/DatasetCard.vue
2915
3055
 
@@ -2922,22 +3062,22 @@ var DatasetCardvue_type_style_index_0_id_d54e3d8e_scoped_true_lang_css_ = __webp
2922
3062
 
2923
3063
  var DatasetCard_component = normalizeComponent(
2924
3064
  components_DatasetCardvue_type_script_lang_js_,
2925
- DatasetCardvue_type_template_id_d54e3d8e_scoped_true_render,
2926
- DatasetCardvue_type_template_id_d54e3d8e_scoped_true_staticRenderFns,
3065
+ DatasetCardvue_type_template_id_5563bc45_scoped_true_render,
3066
+ DatasetCardvue_type_template_id_5563bc45_scoped_true_staticRenderFns,
2927
3067
  false,
2928
3068
  null,
2929
- "d54e3d8e",
3069
+ "5563bc45",
2930
3070
  null
2931
3071
 
2932
3072
  )
2933
3073
 
2934
3074
  /* harmony default export */ var DatasetCard = (DatasetCard_component.exports);
2935
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=5de93eb9&scoped=true&
2936
- var ContextCardvue_type_template_id_5de93eb9_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',{staticClass:"context-card card"},[_c('img',{staticClass:"context-image card-left",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))]),_vm._l((_vm.contextData.views),function(view,i){return [_c('br',{key:i}),_c('span',{key:i+'_1',staticClass:"scaffold-view",on:{"click":function($event){return _vm.openViewFile(view)}}},[_c('img',{attrs:{"src":_vm.getFileFromPath(view.thumbnail)}}),_vm._v(" "+_vm._s(view.description))])]})],2)]):_vm._e()],1)])}
2937
- var ContextCardvue_type_template_id_5de93eb9_scoped_true_staticRenderFns = []
3075
+ // 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/ContextCard.vue?vue&type=template&id=131d5180&scoped=true&
3076
+ var ContextCardvue_type_template_id_131d5180_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)])}
3077
+ var ContextCardvue_type_template_id_131d5180_scoped_true_staticRenderFns = []
2938
3078
 
2939
3079
 
2940
- // CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=5de93eb9&scoped=true&
3080
+ // CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=131d5180&scoped=true&
2941
3081
 
2942
3082
  // EXTERNAL MODULE: external "element-ui/lib/theme-chalk/link.css"
2943
3083
  var link_css_ = __webpack_require__("230a");
@@ -2946,6 +3086,84 @@ var link_css_ = __webpack_require__("230a");
2946
3086
  var link_ = __webpack_require__("7db7");
2947
3087
  var link_default = /*#__PURE__*/__webpack_require__.n(link_);
2948
3088
 
3089
+ // CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
3090
+ /* harmony default export */ var hardcoded_context_info = ({}); // //Uncomment the code below to add in hardcoded data
3091
+ // export default {
3092
+ // 77: {
3093
+ // "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.",
3094
+ // "heading": "Mapped ICN samples",
3095
+ // "id": "sparc.science.context_data",
3096
+ // "samples": [
3097
+ // {
3098
+ // "annotation": "",
3099
+ // "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
3100
+ // "doi": "",
3101
+ // "heading": "ICNS from subject M54-8",
3102
+ // "id": "Sample 1",
3103
+ // "path": "",
3104
+ // "view": "View 1",
3105
+ // "color": "#FFFF00",
3106
+ // "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
3107
+ // },
3108
+ // {
3109
+ // "annotation": "",
3110
+ // "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
3111
+ // "doi": "",
3112
+ // "heading": "ICNS from subject M54-5",
3113
+ // "id": "Sample 2",
3114
+ // "path": "",
3115
+ // "view": "View 2",
3116
+ // "color": "#FFA500",
3117
+ // "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
3118
+ // }
3119
+ // ],
3120
+ // "version": "0.1.0",
3121
+ // },
3122
+ // 221: {
3123
+ // "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.",
3124
+ // "heading": "Digital tracings of enteric plexus",
3125
+ // "id": "sparc.science.context_data",
3126
+ // "samples": [
3127
+ // {
3128
+ // "annotation": "",
3129
+ // "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",
3130
+ // "doi": "",
3131
+ // "heading": "Digital tracing for subject M11",
3132
+ // "id": "Sample 1",
3133
+ // "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
3134
+ // "view": "View 1"
3135
+ // },
3136
+ // {
3137
+ // "annotation": "",
3138
+ // "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. ",
3139
+ // "doi": "",
3140
+ // "heading": "Digital tracing for subject M16",
3141
+ // "id": "Sample 2",
3142
+ // "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
3143
+ // "view": "View 2"
3144
+ // }
3145
+ // ],
3146
+ // "version": "0.1.0",
3147
+ // "views": [
3148
+ // {
3149
+ // "annotation": "--",
3150
+ // "description": "Digital tracing of neurons for subject M11.",
3151
+ // "id": "View 1",
3152
+ // "path": "files/derivative/Scaffolds/M11_view.json",
3153
+ // "sample": "Sample 1",
3154
+ // "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
3155
+ // },
3156
+ // {
3157
+ // "annotation": "--",
3158
+ // "description": "Digital tracing of neurons for subject M16.",
3159
+ // "id": "View 2",
3160
+ // "path": "files/derivative/Scaffolds/M16_view.json",
3161
+ // "sample": "Sample 2",
3162
+ // "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
3163
+ // }
3164
+ // ]
3165
+ // }
3166
+ // }
2949
3167
  // 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&
2950
3168
 
2951
3169
 
@@ -2973,6 +3191,30 @@ var link_default = /*#__PURE__*/__webpack_require__.n(link_);
2973
3191
 
2974
3192
 
2975
3193
 
3194
+ //
3195
+ //
3196
+ //
3197
+ //
3198
+ //
3199
+ //
3200
+ //
3201
+ //
3202
+ //
3203
+ //
3204
+ //
3205
+ //
3206
+ //
3207
+ //
3208
+ //
3209
+ //
3210
+ //
3211
+ //
3212
+ //
3213
+ //
3214
+ //
3215
+ //
3216
+ //
3217
+ //
2976
3218
  //
2977
3219
  //
2978
3220
  //
@@ -3000,6 +3242,7 @@ var link_default = /*#__PURE__*/__webpack_require__.n(link_);
3000
3242
 
3001
3243
 
3002
3244
 
3245
+
3003
3246
  locale_default.a.use(en_default.a);
3004
3247
  external_vue_default.a.use(link_default.a);
3005
3248
  external_vue_default.a.use(icon_default.a);
@@ -3020,15 +3263,22 @@ external_vue_default.a.use(input_default.a);
3020
3263
  return {
3021
3264
  contextData: {},
3022
3265
  showDetails: true,
3023
- showContextCard: true
3266
+ showContextCard: true,
3267
+ sampleDetails: {},
3268
+ loading: false
3024
3269
  };
3025
3270
  },
3026
3271
  watch: {
3027
3272
  'entry.contextCardUrl': {
3028
3273
  handler: function handler(val) {
3029
3274
  if (val) {
3030
- this.getContextFile(val);
3031
- this.showContextCard = true;
3275
+ // used for hardcoding data
3276
+ if (val === true) {
3277
+ this.contextData = hardcoded_context_info[this.entry.discoverId];
3278
+ } else {
3279
+ this.getContextFile(val);
3280
+ this.showContextCard = true;
3281
+ }
3032
3282
  } else {
3033
3283
  this.showContextCard = false;
3034
3284
  }
@@ -3040,6 +3290,7 @@ external_vue_default.a.use(input_default.a);
3040
3290
  getContextFile: function getContextFile(contextFileUrl) {
3041
3291
  var _this = this;
3042
3292
 
3293
+ this.loading = true;
3043
3294
  fetch(contextFileUrl).then(function (response) {
3044
3295
  if (!response.ok) {
3045
3296
  throw Error(response.statusText);
@@ -3048,23 +3299,41 @@ external_vue_default.a.use(input_default.a);
3048
3299
  }
3049
3300
  }).then(function (data) {
3050
3301
  _this.contextData = data;
3302
+ console.log(data);
3303
+ _this.loading = false;
3051
3304
  }).catch(function () {
3052
3305
  //set defaults if we hit an error
3053
3306
  _this.thumbnail = __webpack_require__("9b53");
3054
3307
  _this.discoverId = undefined;
3308
+ _this.loading = false;
3055
3309
  });
3056
3310
  },
3057
3311
  removeDoubleFilesPath: function removeDoubleFilesPath(path) {
3058
- if (path.includes('files/files/')) {
3059
- return path.replace('files/files/', 'files/');
3312
+ if (path.includes('files/')) {
3313
+ return path.replace('files/', '');
3060
3314
  } else {
3061
3315
  return path;
3062
3316
  }
3063
3317
  },
3318
+ toggleSampleDetails: function toggleSampleDetails(i) {
3319
+ if (this.sampleDetails[i] === undefined) {
3320
+ external_vue_default.a.set(this.sampleDetails, i, true);
3321
+ } else {
3322
+ external_vue_default.a.set(this.sampleDetails, i, !this.sampleDetails[i]);
3323
+ }
3324
+ },
3064
3325
  getFileFromPath: function getFileFromPath(path) {
3326
+ // for hardcoded data
3327
+ if (this.entry.contextCardUrl === true) {
3328
+ return path;
3329
+ }
3330
+
3065
3331
  path = this.removeDoubleFilesPath(path);
3066
3332
  return "".concat(this.entry.apiLocation, "s3-resource/").concat(this.entry.discoverId, "/").concat(this.entry.version, "/files/").concat(path);
3067
3333
  },
3334
+ generateFileLink: function generateFileLink(path) {
3335
+ return "https://sparc.science/file/".concat(this.entry.discoverId, "/").concat(this.entry.version, "?path=").concat(encodeURI(path));
3336
+ },
3068
3337
  openViewFile: function openViewFile(view) {
3069
3338
  // note that we assume that the view file is in the same directory as the scaffold (viewUrls take relative paths)
3070
3339
  this.entry.viewUrl = view.path.split('/')[view.path.split('/').length - 1];
@@ -3075,8 +3344,8 @@ external_vue_default.a.use(input_default.a);
3075
3344
  });
3076
3345
  // CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=script&lang=js&
3077
3346
  /* harmony default export */ var components_ContextCardvue_type_script_lang_js_ = (ContextCardvue_type_script_lang_js_);
3078
- // EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=5de93eb9&scoped=true&lang=css&
3079
- var ContextCardvue_type_style_index_0_id_5de93eb9_scoped_true_lang_css_ = __webpack_require__("947f");
3347
+ // EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=131d5180&scoped=true&lang=css&
3348
+ var ContextCardvue_type_style_index_0_id_131d5180_scoped_true_lang_css_ = __webpack_require__("95ed");
3080
3349
 
3081
3350
  // CONCATENATED MODULE: ./src/components/ContextCard.vue
3082
3351
 
@@ -3089,11 +3358,11 @@ var ContextCardvue_type_style_index_0_id_5de93eb9_scoped_true_lang_css_ = __webp
3089
3358
 
3090
3359
  var ContextCard_component = normalizeComponent(
3091
3360
  components_ContextCardvue_type_script_lang_js_,
3092
- ContextCardvue_type_template_id_5de93eb9_scoped_true_render,
3093
- ContextCardvue_type_template_id_5de93eb9_scoped_true_staticRenderFns,
3361
+ ContextCardvue_type_template_id_131d5180_scoped_true_render,
3362
+ ContextCardvue_type_template_id_131d5180_scoped_true_staticRenderFns,
3094
3363
  false,
3095
3364
  null,
3096
- "5de93eb9",
3365
+ "131d5180",
3097
3366
  null
3098
3367
 
3099
3368
  )
@@ -3281,7 +3550,7 @@ var initial_state = {
3281
3550
  hasSearched: false,
3282
3551
  sciCrunchError: false,
3283
3552
  contextCardEntry: undefined,
3284
- contextCardEnabled: false
3553
+ contextCardEnabled: true
3285
3554
  };
3286
3555
  /* harmony default export */ var SidebarContentvue_type_script_lang_js_ = ({
3287
3556
  components: {
@@ -3539,8 +3808,7 @@ var initial_state = {
3539
3808
  mounted: function mounted() {
3540
3809
  // initialise algolia
3541
3810
  this.algoliaClient = new algolia_AlgoliaClient(this.envVars.ALGOLIA_ID, this.envVars.ALGOLIA_KEY, this.envVars.PENNSIEVE_API_LOCATION);
3542
- this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX);
3543
- console.log('Algolia initialised in sidebar'); // temporarily disable flatmap search since there are no datasets
3811
+ this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX); // temporarily disable flatmap search since there are no datasets
3544
3812
 
3545
3813
  if (this.firstSearch === "Flatmap" || this.firstSearch === "flatmap") {
3546
3814
  this.openSearch(undefined, '');
@@ -3555,8 +3823,8 @@ var initial_state = {
3555
3823
  });
3556
3824
  // CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=script&lang=js&
3557
3825
  /* harmony default export */ var components_SidebarContentvue_type_script_lang_js_ = (SidebarContentvue_type_script_lang_js_);
3558
- // EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=3d1731ba&scoped=true&lang=css&
3559
- var SidebarContentvue_type_style_index_0_id_3d1731ba_scoped_true_lang_css_ = __webpack_require__("4c16");
3826
+ // EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=08af9326&scoped=true&lang=css&
3827
+ var SidebarContentvue_type_style_index_0_id_08af9326_scoped_true_lang_css_ = __webpack_require__("e636");
3560
3828
 
3561
3829
  // CONCATENATED MODULE: ./src/components/SidebarContent.vue
3562
3830
 
@@ -3569,17 +3837,17 @@ var SidebarContentvue_type_style_index_0_id_3d1731ba_scoped_true_lang_css_ = __w
3569
3837
 
3570
3838
  var SidebarContent_component = normalizeComponent(
3571
3839
  components_SidebarContentvue_type_script_lang_js_,
3572
- SidebarContentvue_type_template_id_3d1731ba_scoped_true_render,
3573
- SidebarContentvue_type_template_id_3d1731ba_scoped_true_staticRenderFns,
3840
+ SidebarContentvue_type_template_id_08af9326_scoped_true_render,
3841
+ SidebarContentvue_type_template_id_08af9326_scoped_true_staticRenderFns,
3574
3842
  false,
3575
3843
  null,
3576
- "3d1731ba",
3844
+ "08af9326",
3577
3845
  null
3578
3846
 
3579
3847
  )
3580
3848
 
3581
3849
  /* harmony default export */ var SidebarContent = (SidebarContent_component.exports);
3582
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d106872-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=5d1b9484&scoped=true&
3850
+ // 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/Tabs.vue?vue&type=template&id=5d1b9484&scoped=true&
3583
3851
  var Tabsvue_type_template_id_5d1b9484_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)}
3584
3852
  var Tabsvue_type_template_id_5d1b9484_scoped_true_staticRenderFns = []
3585
3853