@abi-software/map-side-bar 1.2.3 → 1.3.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.
@@ -129,17 +129,21 @@ module.exports = require("element-ui/lib/theme-chalk/select.css");
129
129
 
130
130
  /***/ }),
131
131
 
132
- /***/ "139b":
133
- /***/ (function(module, exports, __webpack_require__) {
132
+ /***/ "139f":
133
+ /***/ (function(module, exports) {
134
134
 
135
- // extracted by mini-css-extract-plugin
135
+ module.exports = require("core-js/modules/es.array.for-each");
136
136
 
137
137
  /***/ }),
138
138
 
139
- /***/ "139f":
140
- /***/ (function(module, exports) {
139
+ /***/ "183e":
140
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
141
141
 
142
- module.exports = require("core-js/modules/es.array.for-each");
142
+ "use strict";
143
+ /* 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");
144
+ /* 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__);
145
+ /* unused harmony reexport * */
146
+ /* 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);
143
147
 
144
148
  /***/ }),
145
149
 
@@ -157,13 +161,6 @@ module.exports = require("core-js/modules/web.dom-collections.iterator");
157
161
 
158
162
  /***/ }),
159
163
 
160
- /***/ "1e9c":
161
- /***/ (function(module, exports, __webpack_require__) {
162
-
163
- // extracted by mini-css-extract-plugin
164
-
165
- /***/ }),
166
-
167
164
  /***/ "2175":
168
165
  /***/ (function(module, exports) {
169
166
 
@@ -199,35 +196,53 @@ module.exports = require("element-ui/lib/theme-chalk/loading.css");
199
196
 
200
197
  /***/ }),
201
198
 
202
- /***/ "373b":
203
- /***/ (function(module, exports) {
199
+ /***/ "2c6a":
200
+ /***/ (function(module, exports, __webpack_require__) {
204
201
 
205
- module.exports = require("element-ui/lib/drawer");
202
+ // extracted by mini-css-extract-plugin
206
203
 
207
204
  /***/ }),
208
205
 
209
- /***/ "3cbb":
210
- /***/ (function(module, exports, __webpack_require__) {
206
+ /***/ "2dd0":
207
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
211
208
 
212
- // extracted by mini-css-extract-plugin
209
+ "use strict";
210
+ /* 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");
211
+ /* 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__);
212
+ /* unused harmony reexport * */
213
+ /* 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);
213
214
 
214
215
  /***/ }),
215
216
 
216
- /***/ "429c":
217
+ /***/ "373b":
217
218
  /***/ (function(module, exports) {
218
219
 
219
- module.exports = require("@abi-software/svg-sprite");
220
+ module.exports = require("element-ui/lib/drawer");
221
+
222
+ /***/ }),
223
+
224
+ /***/ "3a09":
225
+ /***/ (function(module, exports) {
226
+
227
+ module.exports = require("@abi-software/gallery");
220
228
 
221
229
  /***/ }),
222
230
 
223
- /***/ "44cc":
231
+ /***/ "3d4f":
224
232
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
225
233
 
226
234
  "use strict";
227
- /* 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");
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_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__);
235
+ /* 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_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2c6a");
236
+ /* 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_0d501578_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_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
229
237
  /* unused harmony reexport * */
230
- /* 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);
238
+ /* 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_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
239
+
240
+ /***/ }),
241
+
242
+ /***/ "429c":
243
+ /***/ (function(module, exports) {
244
+
245
+ module.exports = require("@abi-software/svg-sprite");
231
246
 
232
247
  /***/ }),
233
248
 
@@ -287,6 +302,31 @@ module.exports = require("core-js/modules/es.regexp.exec");
287
302
 
288
303
  /***/ }),
289
304
 
305
+ /***/ "5658":
306
+ /***/ (function(module, exports) {
307
+
308
+ module.exports = require("@abi-software/gallery/dist/gallery.css");
309
+
310
+ /***/ }),
311
+
312
+ /***/ "5835":
313
+ /***/ (function(module, exports, __webpack_require__) {
314
+
315
+ // extracted by mini-css-extract-plugin
316
+
317
+ /***/ }),
318
+
319
+ /***/ "584e":
320
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
321
+
322
+ "use strict";
323
+ /* 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_2fb38a56_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6b3a");
324
+ /* 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_2fb38a56_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_2fb38a56_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
325
+ /* unused harmony reexport * */
326
+ /* 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_2fb38a56_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
327
+
328
+ /***/ }),
329
+
290
330
  /***/ "5d8c":
291
331
  /***/ (function(module, exports) {
292
332
 
@@ -322,6 +362,13 @@ module.exports = require("core-js/modules/es.object.get-own-property-descriptor"
322
362
 
323
363
  /***/ }),
324
364
 
365
+ /***/ "6b3a":
366
+ /***/ (function(module, exports, __webpack_require__) {
367
+
368
+ // extracted by mini-css-extract-plugin
369
+
370
+ /***/ }),
371
+
325
372
  /***/ "6bd8":
326
373
  /***/ (function(module, exports) {
327
374
 
@@ -336,6 +383,13 @@ module.exports = require("element-ui/lib/locale/lang/en");
336
383
 
337
384
  /***/ }),
338
385
 
386
+ /***/ "6cf4":
387
+ /***/ (function(module, exports, __webpack_require__) {
388
+
389
+ // extracted by mini-css-extract-plugin
390
+
391
+ /***/ }),
392
+
339
393
  /***/ "6e25":
340
394
  /***/ (function(module, exports) {
341
395
 
@@ -357,14 +411,14 @@ module.exports = require("core-js/modules/es.number.constructor");
357
411
 
358
412
  /***/ }),
359
413
 
360
- /***/ "718b":
414
+ /***/ "788d":
361
415
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
362
416
 
363
417
  "use strict";
364
- /* 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");
365
- /* 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__);
418
+ /* 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_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96d8");
419
+ /* 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_ee8bc524_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_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
366
420
  /* unused harmony reexport * */
367
- /* 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);
421
+ /* 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_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
368
422
 
369
423
  /***/ }),
370
424
 
@@ -375,13 +429,6 @@ module.exports = require("regenerator-runtime/runtime");
375
429
 
376
430
  /***/ }),
377
431
 
378
- /***/ "7ad0":
379
- /***/ (function(module, exports, __webpack_require__) {
380
-
381
- // extracted by mini-css-extract-plugin
382
-
383
- /***/ }),
384
-
385
432
  /***/ "7c81":
386
433
  /***/ (function(module, exports) {
387
434
 
@@ -445,6 +492,17 @@ module.exports = require("core-js/modules/es.array.iterator");
445
492
 
446
493
  /***/ }),
447
494
 
495
+ /***/ "8d78":
496
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
497
+
498
+ "use strict";
499
+ /* 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_14674f48_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b5e6");
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_DatasetCard_vue_vue_type_style_index_0_id_14674f48_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_14674f48_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
501
+ /* unused harmony reexport * */
502
+ /* 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_14674f48_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
503
+
504
+ /***/ }),
505
+
448
506
  /***/ "8f11":
449
507
  /***/ (function(module, exports) {
450
508
 
@@ -466,6 +524,13 @@ module.exports = require("element-ui/lib/popover");
466
524
 
467
525
  /***/ }),
468
526
 
527
+ /***/ "96d8":
528
+ /***/ (function(module, exports, __webpack_require__) {
529
+
530
+ // extracted by mini-css-extract-plugin
531
+
532
+ /***/ }),
533
+
469
534
  /***/ "9861":
470
535
  /***/ (function(module, exports) {
471
536
 
@@ -494,28 +559,28 @@ module.exports = __webpack_require__.p + "img/missing-image.1878d8b8.svg";
494
559
 
495
560
  /***/ }),
496
561
 
497
- /***/ "a3fe":
562
+ /***/ "9fdf":
498
563
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
499
564
 
500
565
  "use strict";
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_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1e9c");
502
- /* 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__);
566
+ /* 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_26e5ef37_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fde8");
567
+ /* 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_26e5ef37_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_26e5ef37_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
503
568
  /* unused harmony reexport * */
504
- /* 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);
569
+ /* 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_26e5ef37_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
505
570
 
506
571
  /***/ }),
507
572
 
508
- /***/ "a525":
573
+ /***/ "a012":
509
574
  /***/ (function(module, exports) {
510
575
 
511
- module.exports = require("element-ui/lib/theme-chalk/popover.css");
576
+ module.exports = require("@abi-software/gallery/src/mixins/GalleryHelpers");
512
577
 
513
578
  /***/ }),
514
579
 
515
- /***/ "a9e5":
516
- /***/ (function(module, exports, __webpack_require__) {
580
+ /***/ "a525":
581
+ /***/ (function(module, exports) {
517
582
 
518
- // extracted by mini-css-extract-plugin
583
+ module.exports = require("element-ui/lib/theme-chalk/popover.css");
519
584
 
520
585
  /***/ }),
521
586
 
@@ -561,6 +626,13 @@ module.exports = require("element-ui/lib/icon");
561
626
 
562
627
  /***/ }),
563
628
 
629
+ /***/ "b5e6":
630
+ /***/ (function(module, exports, __webpack_require__) {
631
+
632
+ // extracted by mini-css-extract-plugin
633
+
634
+ /***/ }),
635
+
564
636
  /***/ "b917":
565
637
  /***/ (function(module, exports) {
566
638
 
@@ -568,6 +640,17 @@ module.exports = require("core-js/modules/es.object.assign");
568
640
 
569
641
  /***/ }),
570
642
 
643
+ /***/ "bc5f":
644
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
645
+
646
+ "use strict";
647
+ /* 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");
648
+ /* 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__);
649
+ /* unused harmony reexport * */
650
+ /* 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);
651
+
652
+ /***/ }),
653
+
571
654
  /***/ "bcd8":
572
655
  /***/ (function(module, exports) {
573
656
 
@@ -603,14 +686,10 @@ module.exports = require("element-ui/lib/option");
603
686
 
604
687
  /***/ }),
605
688
 
606
- /***/ "c260":
607
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
689
+ /***/ "db11":
690
+ /***/ (function(module, exports, __webpack_require__) {
608
691
 
609
- "use strict";
610
- /* 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_2df4e2e0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e743");
611
- /* 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_2df4e2e0_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_2df4e2e0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
612
- /* unused harmony reexport * */
613
- /* 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_2df4e2e0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
692
+ // extracted by mini-css-extract-plugin
614
693
 
615
694
  /***/ }),
616
695
 
@@ -628,17 +707,6 @@ module.exports = require("current-script-polyfill");
628
707
 
629
708
  /***/ }),
630
709
 
631
- /***/ "e14d":
632
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
633
-
634
- "use strict";
635
- /* 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_380e4852_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a9e5");
636
- /* 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_380e4852_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_380e4852_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
637
- /* unused harmony reexport * */
638
- /* 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_380e4852_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
639
-
640
- /***/ }),
641
-
642
710
  /***/ "e42b":
643
711
  /***/ (function(module, exports) {
644
712
 
@@ -653,13 +721,6 @@ module.exports = require("element-ui/lib/input");
653
721
 
654
722
  /***/ }),
655
723
 
656
- /***/ "e743":
657
- /***/ (function(module, exports, __webpack_require__) {
658
-
659
- // extracted by mini-css-extract-plugin
660
-
661
- /***/ }),
662
-
663
724
  /***/ "ece9":
664
725
  /***/ (function(module, exports) {
665
726
 
@@ -674,17 +735,6 @@ module.exports = require("core-js/modules/es.array.unscopables.flat");
674
735
 
675
736
  /***/ }),
676
737
 
677
- /***/ "efb8":
678
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
679
-
680
- "use strict";
681
- /* 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");
682
- /* 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__);
683
- /* unused harmony reexport * */
684
- /* 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);
685
-
686
- /***/ }),
687
-
688
738
  /***/ "f705":
689
739
  /***/ (function(module, exports) {
690
740
 
@@ -726,12 +776,12 @@ if (typeof window !== 'undefined') {
726
776
  // Indicate to webpack that this file can be concatenated
727
777
  /* harmony default export */ var setPublicPath = (null);
728
778
 
729
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"258ee7b8-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&
779
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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&
730
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)}
731
781
  var staticRenderFns = []
732
782
 
733
783
 
734
- // CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=template&id=3f7eb1a5&scoped=true&
784
+ // CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=template&id=3d831a8e&scoped=true&
735
785
 
736
786
  // EXTERNAL MODULE: external "core-js/modules/es.symbol"
737
787
  var es_symbol_ = __webpack_require__("6049");
@@ -801,12 +851,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
801
851
  var locale_ = __webpack_require__("7f9f");
802
852
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
803
853
 
804
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"258ee7b8-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=2df4e2e0&scoped=true&
805
- var SidebarContentvue_type_template_id_2df4e2e0_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.loadingScicrunch)?_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loadingScicrunch),expression:"loadingScicrunch"}],staticClass:"loading-icon"}):_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)}
806
- var SidebarContentvue_type_template_id_2df4e2e0_scoped_true_staticRenderFns = []
854
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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=0d501578&scoped=true&
855
+ var SidebarContentvue_type_template_id_0d501578_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)?_c('div',{staticClass:"error-feedback"},[_vm._v("No results found - Please change your search / filter criteria.")]):_vm._e(),_vm._l((_vm.results),function(result){return _c('div',{key:result.doi,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)}
856
+ var SidebarContentvue_type_template_id_0d501578_scoped_true_staticRenderFns = []
807
857
 
808
858
 
809
- // CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=2df4e2e0&scoped=true&
859
+ // CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=0d501578&scoped=true&
810
860
 
811
861
  // EXTERNAL MODULE: external "core-js/modules/es.array.find-index"
812
862
  var es_array_find_index_ = __webpack_require__("aecd");
@@ -976,12 +1026,12 @@ var button_css_ = __webpack_require__("26bc");
976
1026
  var button_ = __webpack_require__("5d8c");
977
1027
  var button_default = /*#__PURE__*/__webpack_require__.n(button_);
978
1028
 
979
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"258ee7b8-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&
980
- 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)}
981
- var SearchFiltersvue_type_template_id_58d5fb22_scoped_true_staticRenderFns = []
1029
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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&
1030
+ 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)}
1031
+ var SearchFiltersvue_type_template_id_57801ec0_scoped_true_staticRenderFns = []
982
1032
 
983
1033
 
984
- // CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=template&id=58d5fb22&scoped=true&
1034
+ // CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=template&id=57801ec0&scoped=true&
985
1035
 
986
1036
  // EXTERNAL MODULE: external "core-js/modules/es.array.includes"
987
1037
  var es_array_includes_ = __webpack_require__("ab7e");
@@ -1417,7 +1467,6 @@ function () {
1417
1467
  value: function _processResultsForCards(results) {
1418
1468
  var newResults = [];
1419
1469
  var newResult = {};
1420
- var id = 0;
1421
1470
  var _iteratorNormalCompletion = true;
1422
1471
  var _didIteratorError = false;
1423
1472
  var _iteratorError = undefined;
@@ -1432,9 +1481,9 @@ function () {
1432
1481
  description: res.item.description,
1433
1482
  updated: res.pennsieve.updatedAt,
1434
1483
  publishDate: res.pennsieve.publishDate,
1435
- id: id
1484
+ datasetId: res.objectID,
1485
+ detailsReady: false
1436
1486
  };
1437
- id++;
1438
1487
  newResults.push(newResult);
1439
1488
  }
1440
1489
  } catch (err) {
@@ -1454,9 +1503,9 @@ function () {
1454
1503
 
1455
1504
  return newResults;
1456
1505
  }
1457
- /**
1458
- * Get Search results
1459
- * This is using fetch from the Algolia API
1506
+ /**
1507
+ * Get Search results
1508
+ * This is using fetch from the Algolia API
1460
1509
  */
1461
1510
 
1462
1511
  }, {
@@ -1472,7 +1521,9 @@ function () {
1472
1521
  facets: ['*'],
1473
1522
  hitsPerPage: hitsperPage,
1474
1523
  page: page - 1,
1475
- filters: filter
1524
+ filters: filter,
1525
+ attributesToHighlight: [],
1526
+ attributesToRetrieve: ['pennsieve.publishDate', 'pennsieve.updatedAt', 'item.curie', 'item.name', 'item.description', 'objectID']
1476
1527
  }).then(function (response) {
1477
1528
  var searchData = {
1478
1529
  items: _this2._processResultsForCards(response.hits),
@@ -1514,8 +1565,8 @@ var facetPropPathMapping = {
1514
1565
  'attributes.subject.sex.value': 'Sex',
1515
1566
  'attributes.subject.ageCategory.value': 'Age Categories'
1516
1567
  };
1517
- /* Returns filter for searching algolia. All facets of the same category are joined with OR,
1518
- * and each of those results is then joined with an AND.
1568
+ /* Returns filter for searching algolia. All facets of the same category are joined with OR,
1569
+ * and each of those results is then joined with an AND.
1519
1570
  * i.e. (color:blue OR color:red) AND (shape:circle OR shape:red) */
1520
1571
 
1521
1572
  function getFilters() {
@@ -1695,9 +1746,9 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
1695
1746
  MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"]
1696
1747
  },
1697
1748
  props: {
1698
- /**
1699
- * Object containing information for
1700
- * the required viewing.
1749
+ /**
1750
+ * Object containing information for
1751
+ * the required viewing.
1701
1752
  */
1702
1753
  entry: Object,
1703
1754
  envVars: {
@@ -2005,8 +2056,8 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
2005
2056
  });
2006
2057
  // CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=script&lang=js&
2007
2058
  /* harmony default export */ var components_SearchFiltersvue_type_script_lang_js_ = (SearchFiltersvue_type_script_lang_js_);
2008
- // EXTERNAL MODULE: ./src/components/SearchFilters.vue?vue&type=style&index=0&id=58d5fb22&scoped=true&lang=css&
2009
- var SearchFiltersvue_type_style_index_0_id_58d5fb22_scoped_true_lang_css_ = __webpack_require__("efb8");
2059
+ // EXTERNAL MODULE: ./src/components/SearchFilters.vue?vue&type=style&index=0&id=57801ec0&scoped=true&lang=css&
2060
+ var SearchFiltersvue_type_style_index_0_id_57801ec0_scoped_true_lang_css_ = __webpack_require__("2dd0");
2010
2061
 
2011
2062
  // CONCATENATED MODULE: ./src/components/SearchFilters.vue
2012
2063
 
@@ -2019,143 +2070,34 @@ var SearchFiltersvue_type_style_index_0_id_58d5fb22_scoped_true_lang_css_ = __we
2019
2070
 
2020
2071
  var SearchFilters_component = normalizeComponent(
2021
2072
  components_SearchFiltersvue_type_script_lang_js_,
2022
- SearchFiltersvue_type_template_id_58d5fb22_scoped_true_render,
2023
- SearchFiltersvue_type_template_id_58d5fb22_scoped_true_staticRenderFns,
2073
+ SearchFiltersvue_type_template_id_57801ec0_scoped_true_render,
2074
+ SearchFiltersvue_type_template_id_57801ec0_scoped_true_staticRenderFns,
2024
2075
  false,
2025
2076
  null,
2026
- "58d5fb22",
2077
+ "57801ec0",
2027
2078
  null
2028
2079
 
2029
2080
  )
2030
2081
 
2031
2082
  /* harmony default export */ var SearchFilters = (SearchFilters_component.exports);
2032
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"258ee7b8-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=380e4852&scoped=true&
2033
- var DatasetCardvue_type_template_id_380e4852_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()])])}
2034
- var DatasetCardvue_type_template_id_380e4852_scoped_true_staticRenderFns = []
2035
-
2036
-
2037
- // CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=380e4852&scoped=true&
2038
-
2039
- // CONCATENATED MODULE: ./src/components/EventBus.js
2040
-
2041
- var EventBus = new external_vue_default.a();
2042
- /* harmony default export */ var components_EventBus = (EventBus);
2043
- // CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
2044
- /* harmony default export */ var hardcoded_context_info = ({}); // //Uncomment the code below to add in hardcoded data
2045
- // export default {
2046
- // 77: {
2047
- // "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.",
2048
- // "heading": "Mapped ICN samples",
2049
- // "id": "sparc.science.context_data",
2050
- // "samples": [
2051
- // {
2052
- // "annotation": "",
2053
- // "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
2054
- // "doi": "",
2055
- // "heading": "ICNS from subject M54-8",
2056
- // "id": "Sample 1",
2057
- // "path": "",
2058
- // "view": "View 1",
2059
- // "color": "#FFFF00",
2060
- // "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
2061
- // },
2062
- // {
2063
- // "annotation": "",
2064
- // "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
2065
- // "doi": "",
2066
- // "heading": "ICNS from subject M54-5",
2067
- // "id": "Sample 2",
2068
- // "path": "",
2069
- // "view": "View 2",
2070
- // "color": "#FFA500",
2071
- // "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
2072
- // }
2073
- // ],
2074
- // "version": "0.1.0",
2075
- // },
2076
- // 221: {
2077
- // "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.",
2078
- // "heading": "Digital tracings of enteric plexus",
2079
- // "id": "sparc.science.context_data",
2080
- // "samples": [
2081
- // {
2082
- // "annotation": "",
2083
- // "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",
2084
- // "doi": "",
2085
- // "heading": "Digital tracing for subject M11",
2086
- // "id": "Sample 1",
2087
- // "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
2088
- // "view": "View 1"
2089
- // },
2090
- // {
2091
- // "annotation": "",
2092
- // "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. ",
2093
- // "doi": "",
2094
- // "heading": "Digital tracing for subject M16",
2095
- // "id": "Sample 2",
2096
- // "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
2097
- // "view": "View 2"
2098
- // }
2099
- // ],
2100
- // "version": "0.1.0",
2101
- // "views": [
2102
- // {
2103
- // "annotation": "--",
2104
- // "description": "Digital tracing of neurons for subject M11.",
2105
- // "id": "View 1",
2106
- // "path": "files/derivative/Scaffolds/M11_view.json",
2107
- // "sample": "Sample 1",
2108
- // "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
2109
- // },
2110
- // {
2111
- // "annotation": "--",
2112
- // "description": "Digital tracing of neurons for subject M16.",
2113
- // "id": "View 2",
2114
- // "path": "files/derivative/Scaffolds/M16_view.json",
2115
- // "sample": "Sample 2",
2116
- // "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
2117
- // }
2118
- // ]
2119
- // }
2120
- // }
2121
- // 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&
2122
-
2083
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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=14674f48&scoped=true&
2084
+ var DatasetCardvue_type_template_id_14674f48_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",staticClass:"dataset-card"},[_c('div',{staticClass:"seperator-path"}),_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"card"},[_c('span',{staticClass:"card-left"},[(!_vm.loading && _vm.discoverId)?_c('image-gallery',{attrs:{"datasetId":_vm.discoverId,"datasetVersion":_vm.version,"entry":_vm.entry,"envVars":_vm.envVars,"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))]),(!_vm.entry.detailsReady)?_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(!_vm.entry.detailsReady),expression:"!entry.detailsReady"}],staticClass:"details loading-icon"}):_vm._e(),_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},on:{"categoryChanged":_vm.categoryChanged}})],1)])])])])}
2085
+ var DatasetCardvue_type_template_id_14674f48_scoped_true_staticRenderFns = []
2123
2086
 
2124
2087
 
2088
+ // CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=14674f48&scoped=true&
2125
2089
 
2090
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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=ee8bc524&scoped=true&
2091
+ var BadgesGroupvue_type_template_id_ee8bc524_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"},[_c('div',[_vm._v(" View data types: ")]),_vm._l((_vm.categories),function(item,key){return [(item.size > 0)?_c('el-button',{key:key,class:[{ 'active': key == _vm.active},'tag-button'],attrs:{"size":"small"},on:{"click":function($event){return _vm.categoryClicked(key)}}},[_vm._v(_vm._s(key + " (" + item.size + ")")+" ")]):_vm._e()]})],2):_vm._e()}
2092
+ var BadgesGroupvue_type_template_id_ee8bc524_scoped_true_staticRenderFns = []
2126
2093
 
2127
2094
 
2095
+ // CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=template&id=ee8bc524&scoped=true&
2128
2096
 
2097
+ // 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&
2129
2098
 
2130
2099
 
2131
2100
 
2132
-
2133
-
2134
-
2135
-
2136
-
2137
-
2138
-
2139
- //
2140
- //
2141
- //
2142
- //
2143
- //
2144
- //
2145
- //
2146
- //
2147
- //
2148
- //
2149
- //
2150
- //
2151
- //
2152
- //
2153
- //
2154
- //
2155
- //
2156
- //
2157
- //
2158
- //
2159
2101
  //
2160
2102
  //
2161
2103
  //
@@ -2178,25 +2120,756 @@ var EventBus = new external_vue_default.a();
2178
2120
 
2179
2121
 
2180
2122
 
2181
-
2182
-
2183
-
2184
2123
  locale_default.a.use(en_default.a);
2185
2124
  external_vue_default.a.use(button_default.a);
2186
- external_vue_default.a.use(icon_default.a);
2187
-
2188
- var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string) {
2125
+ /* harmony default export */ var BadgesGroupvue_type_script_lang_js_ = ({
2126
+ name: "BadgesGroup",
2127
+ props: {
2128
+ /**
2129
+ * Object containing information for
2130
+ * the required viewing.
2131
+ */
2132
+ additionalLinks: {
2133
+ type: Array,
2134
+ default: function _default() {
2135
+ return [];
2136
+ }
2137
+ },
2138
+ datasetBiolucida: {
2139
+ type: Object,
2140
+ default: function _default() {
2141
+ return {};
2142
+ }
2143
+ },
2144
+ entry: {
2145
+ type: Object,
2146
+ default: function _default() {
2147
+ return {};
2148
+ }
2149
+ }
2150
+ },
2151
+ data: function data() {
2152
+ return {
2153
+ categories: {
2154
+ "All": {
2155
+ size: 1
2156
+ }
2157
+ },
2158
+ active: "All"
2159
+ };
2160
+ },
2161
+ methods: {
2162
+ addToCategories: function addToCategories(array, name) {
2163
+ if (array && array.length > 0) {
2164
+ this.categories[name] = {
2165
+ size: array.length
2166
+ };
2167
+ this.categories["All"].size += array.length;
2168
+ }
2169
+ },
2170
+ addSimulationsToCategories: function addSimulationsToCategories(array) {
2171
+ if (array && array.length > 0) {
2172
+ var size = 1;
2173
+ this.categories["Simulations"] = {
2174
+ size: size
2175
+ };
2176
+ this.categories["All"].size += size;
2177
+ }
2178
+ },
2179
+ categoryClicked: function categoryClicked(name) {
2180
+ this.active = name;
2181
+ this.$emit("categoryChanged", name);
2182
+ }
2183
+ },
2184
+ watch: {
2185
+ datasetBiolucida: {
2186
+ deep: true,
2187
+ immediate: true,
2188
+ handler: function handler(biolucidaData) {
2189
+ if ("dataset_images" in biolucidaData) {
2190
+ this.addToCategories(biolucidaData["dataset_images"], "Biolucida Images");
2191
+ }
2192
+ }
2193
+ },
2194
+ entry: {
2195
+ deep: true,
2196
+ immediate: true,
2197
+ handler: function handler() {
2198
+ this.addToCategories(this.entry.scaffolds, 'Scaffolds');
2199
+ this.addToCategories(this.entry.segmentation, 'Segmentations');
2200
+ this.addToCategories(this.entry.plots, 'Plots');
2201
+ this.addSimulationsToCategories(this.entry.simulation);
2202
+ /** disable the following
2203
+ this.addToCategories(this.entry.images, 'Images');
2204
+ this.addToCategories(this.entry.videos, 'Videos');
2205
+ **/
2206
+ }
2207
+ }
2208
+ }
2209
+ });
2210
+ // CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=script&lang=js&
2211
+ /* harmony default export */ var components_BadgesGroupvue_type_script_lang_js_ = (BadgesGroupvue_type_script_lang_js_);
2212
+ // EXTERNAL MODULE: ./src/components/BadgesGroup.vue?vue&type=style&index=0&id=ee8bc524&scoped=true&lang=css&
2213
+ var BadgesGroupvue_type_style_index_0_id_ee8bc524_scoped_true_lang_css_ = __webpack_require__("788d");
2214
+
2215
+ // CONCATENATED MODULE: ./src/components/BadgesGroup.vue
2216
+
2217
+
2218
+
2219
+
2220
+
2221
+
2222
+ /* normalize component */
2223
+
2224
+ var BadgesGroup_component = normalizeComponent(
2225
+ components_BadgesGroupvue_type_script_lang_js_,
2226
+ BadgesGroupvue_type_template_id_ee8bc524_scoped_true_render,
2227
+ BadgesGroupvue_type_template_id_ee8bc524_scoped_true_staticRenderFns,
2228
+ false,
2229
+ null,
2230
+ "ee8bc524",
2231
+ null
2232
+
2233
+ )
2234
+
2235
+ /* harmony default export */ var BadgesGroup = (BadgesGroup_component.exports);
2236
+ // CONCATENATED MODULE: ./src/components/EventBus.js
2237
+
2238
+ var EventBus = new external_vue_default.a();
2239
+ /* harmony default export */ var components_EventBus = (EventBus);
2240
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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=2fb38a56&scoped=true&
2241
+ var ImageGalleryvue_type_template_id_2fb38a56_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":false,"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)}
2242
+ var ImageGalleryvue_type_template_id_2fb38a56_scoped_true_staticRenderFns = []
2243
+
2244
+
2245
+ // CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=template&id=2fb38a56&scoped=true&
2246
+
2247
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
2248
+
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+
2256
+ function _iterableToArrayLimit(arr, i) {
2257
+ if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
2258
+ return;
2259
+ }
2260
+
2261
+ var _arr = [];
2262
+ var _n = true;
2263
+ var _d = false;
2264
+ var _e = undefined;
2265
+
2266
+ try {
2267
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
2268
+ _arr.push(_s.value);
2269
+
2270
+ if (i && _arr.length === i) break;
2271
+ }
2272
+ } catch (err) {
2273
+ _d = true;
2274
+ _e = err;
2275
+ } finally {
2276
+ try {
2277
+ if (!_n && _i["return"] != null) _i["return"]();
2278
+ } finally {
2279
+ if (_d) throw _e;
2280
+ }
2281
+ }
2282
+
2283
+ return _arr;
2284
+ }
2285
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
2286
+
2287
+
2288
+
2289
+ function _slicedToArray(arr, i) {
2290
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
2291
+ }
2292
+ // EXTERNAL MODULE: external "@abi-software/gallery/src/mixins/GalleryHelpers"
2293
+ var GalleryHelpers_ = __webpack_require__("a012");
2294
+ var GalleryHelpers_default = /*#__PURE__*/__webpack_require__.n(GalleryHelpers_);
2295
+
2296
+ // EXTERNAL MODULE: external "@abi-software/gallery"
2297
+ var gallery_ = __webpack_require__("3a09");
2298
+ var gallery_default = /*#__PURE__*/__webpack_require__.n(gallery_);
2299
+
2300
+ // EXTERNAL MODULE: external "@abi-software/gallery/dist/gallery.css"
2301
+ var gallery_css_ = __webpack_require__("5658");
2302
+
2303
+ // 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&
2304
+
2305
+
2306
+
2307
+
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+ //
2321
+ //
2322
+ //
2323
+ //
2324
+ //
2325
+ //
2326
+ //
2327
+ //
2328
+ //
2329
+ //
2330
+ //
2331
+ //
2332
+ //
2333
+ //
2334
+ //
2335
+ //
2336
+ //
2337
+ //
2338
+ //
2339
+ //
2340
+
2341
+ /* eslint-disable no-alert, no-console */
2342
+ var baseName = function baseName(str) {
2343
+ return str.split("\\").pop().split("/").pop();
2344
+ };
2345
+
2346
+ var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string) {
2189
2347
  return string.replace(/\b\w/g, function (v) {
2190
2348
  return v.toUpperCase();
2191
2349
  });
2192
2350
  };
2193
2351
 
2352
+
2353
+
2354
+
2355
+ /* harmony default export */ var ImageGalleryvue_type_script_lang_js_ = ({
2356
+ name: "ImageGallery",
2357
+ components: {
2358
+ Gallery: gallery_default.a
2359
+ },
2360
+ mixins: [GalleryHelpers_default.a],
2361
+ props: {
2362
+ datasetBiolucida: {
2363
+ type: Object,
2364
+ default: function _default() {
2365
+ return {};
2366
+ }
2367
+ },
2368
+ envVars: {
2369
+ type: Object,
2370
+ default: function _default() {}
2371
+ },
2372
+ label: {
2373
+ type: String,
2374
+ default: ""
2375
+ },
2376
+ plots: {
2377
+ type: Array,
2378
+ default: function _default() {
2379
+ return [];
2380
+ }
2381
+ },
2382
+ datasetId: {
2383
+ type: Number,
2384
+ default: -1
2385
+ },
2386
+ datasetVersion: {
2387
+ type: Number,
2388
+ default: -1
2389
+ },
2390
+ datasetThumbnail: {
2391
+ type: String,
2392
+ default: ""
2393
+ },
2394
+ category: {
2395
+ type: String,
2396
+ default: "All"
2397
+ },
2398
+ entry: {
2399
+ type: Object,
2400
+ default: function _default() {
2401
+ return {};
2402
+ }
2403
+ }
2404
+ },
2405
+ data: function data() {
2406
+ return {
2407
+ currentIndex: 0,
2408
+ ro: null,
2409
+ maxWidth: 3,
2410
+ items: {
2411
+ "Biolucida Images": [],
2412
+ 'Dataset': [],
2413
+ 'Images': [],
2414
+ 'Scaffolds': [],
2415
+ 'Segmentations': [],
2416
+ 'Simulations': [],
2417
+ 'Videos': [],
2418
+ 'Plots': []
2419
+ },
2420
+ bodyStyle: {
2421
+ padding: '0px',
2422
+ background: '#ffffff'
2423
+ },
2424
+ imageContainerStyle: {
2425
+ width: '160px',
2426
+ height: '160px',
2427
+ display: 'flex',
2428
+ alignItems: 'center',
2429
+ justifyContent: 'center'
2430
+ },
2431
+ imageStyle: {
2432
+ maxWidth: '160px',
2433
+ maxHeight: '160px'
2434
+ },
2435
+ shadow: "never",
2436
+ bottomSpacer: {
2437
+ minHeight: '1.5rem'
2438
+ },
2439
+ resetIndex: false
2440
+ };
2441
+ },
2442
+ methods: {
2443
+ cardClicked: function cardClicked(payload) {
2444
+ this.$emit('card-clicked', payload);
2445
+ },
2446
+ createSciCurnchItems: function createSciCurnchItems() {
2447
+ this.createDatasetItem();
2448
+ this.createScaffoldItems();
2449
+ this.createSimulationItems();
2450
+ this.createPlotItems();
2451
+ this.createSegmentationItems();
2452
+ /* Disable these two
2453
+ this.createImageItems();
2454
+ this.createVideoItems();
2455
+ */
2456
+ },
2457
+ createDatasetItem: function createDatasetItem() {
2458
+ var link = "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset");
2459
+
2460
+ if (this.datasetThumbnail) {
2461
+ this.items['Dataset'].push({
2462
+ id: -1,
2463
+ //Work around gallery requires a truthy string
2464
+ title: " ",
2465
+ type: "Dataset ".concat(this.datasetId),
2466
+ thumbnail: this.datasetThumbnail,
2467
+ link: link,
2468
+ hideType: true
2469
+ });
2470
+ }
2471
+ },
2472
+ createImageItems: function createImageItems() {
2473
+ var _this = this;
2474
+
2475
+ if (this.entry.images) {
2476
+ this.entry.images.forEach(function (image) {
2477
+ var filePath = image.dataset.path;
2478
+ var id = image.identifier;
2479
+ 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);
2480
+
2481
+ _this.items['Images'].push({
2482
+ id: id,
2483
+ title: baseName(filePath),
2484
+ type: "Image",
2485
+ link: linkUrl,
2486
+ hideType: true
2487
+ });
2488
+ });
2489
+ }
2490
+ },
2491
+ createPlotItems: function createPlotItems() {
2492
+ var _this2 = this;
2493
+
2494
+ if (this.entry.plots) {
2495
+ this.entry.plots.forEach(function (plot) {
2496
+ var filePath = plot.dataset.path;
2497
+ var id = plot.identifier;
2498
+
2499
+ var thumbnail = _this2.getThumbnailForPlot(plot, _this2.entry.thumbnails);
2500
+
2501
+ var thumbnailURL = undefined;
2502
+ var mimetype = '';
2503
+
2504
+ if (thumbnail) {
2505
+ thumbnailURL = _this2.getImageURLFromS3(_this2.envVars.API_LOCATION, {
2506
+ id: id,
2507
+ datasetId: _this2.datasetId,
2508
+ datasetVersion: _this2.datasetVersion,
2509
+ file_path: thumbnail.dataset.path
2510
+ });
2511
+ mimetype = thumbnail.mimetype.name;
2512
+ }
2513
+
2514
+ var plotAnnotation = plot.datacite;
2515
+ var filePathPrefix = "".concat(_this2.envVars.API_LOCATION, "/s3-resource/").concat(_this2.datasetId, "/").concat(_this2.datasetVersion, "/files/");
2516
+ var sourceUrl = filePathPrefix + plot.dataset.path;
2517
+ var metadata = JSON.parse(plotAnnotation.supplemental_json_metadata.description);
2518
+ var supplementalData = [];
2519
+
2520
+ if (plotAnnotation.isDescribedBy) {
2521
+ supplementalData.push({
2522
+ url: filePathPrefix + plotAnnotation.isDescribedBy.path
2523
+ });
2524
+ }
2525
+
2526
+ var resource = {
2527
+ dataSource: {
2528
+ url: sourceUrl
2529
+ },
2530
+ metadata: metadata,
2531
+ supplementalData: supplementalData
2532
+ };
2533
+ var action = {
2534
+ label: ImageGalleryvue_type_script_lang_js_capitalise(_this2.label),
2535
+ resource: resource,
2536
+ title: "View plot",
2537
+ type: "Plot",
2538
+ discoverId: _this2.discoverId,
2539
+ version: _this2.datasetVersion
2540
+ };
2541
+
2542
+ _this2.items['Plots'].push({
2543
+ id: id,
2544
+ title: baseName(filePath),
2545
+ type: "Plot",
2546
+ thumbnail: thumbnailURL,
2547
+ userData: action,
2548
+ hideType: true,
2549
+ mimetype: mimetype
2550
+ });
2551
+ });
2552
+ }
2553
+ },
2554
+ createScaffoldItems: function createScaffoldItems() {
2555
+ var _this3 = this;
2556
+
2557
+ if (this.entry.scaffolds) {
2558
+ var index = 0;
2559
+ this.entry.scaffolds.forEach(function (scaffold) {
2560
+ var filePath = scaffold.dataset.path;
2561
+ var id = scaffold.identifier;
2562
+
2563
+ var thumbnail = _this3.getThumbnailForScaffold(scaffold, _this3.entry.scaffoldViews, _this3.entry.thumbnails, index);
2564
+
2565
+ var mimetype = '';
2566
+ var thumbnailURL = undefined;
2567
+
2568
+ if (thumbnail) {
2569
+ thumbnailURL = _this3.getImageURLFromS3(_this3.envVars.API_LOCATION, {
2570
+ id: id,
2571
+ datasetId: _this3.datasetId,
2572
+ datasetVersion: _this3.datasetVersion,
2573
+ file_path: thumbnail.dataset.path
2574
+ });
2575
+ mimetype = thumbnail.mimetype.name;
2576
+ }
2577
+
2578
+ var action = {
2579
+ label: ImageGalleryvue_type_script_lang_js_capitalise(_this3.label),
2580
+ resource: "".concat(_this3.envVars.API_LOCATION, "s3-resource/").concat(_this3.datasetId, "/").concat(_this3.datasetVersion, "/files/").concat(filePath),
2581
+ title: "View 3D scaffold",
2582
+ type: "Scaffold",
2583
+ discoverId: _this3.datasetId,
2584
+ apiLocation: _this3.envVars.API_LOCATION,
2585
+ version: _this3.datasetVersion,
2586
+ contextCardUrl: _this3.entry.contextualInformation ? "".concat(_this3.envVars.API_LOCATION, "s3-resource/").concat(_this3.datasetId, "/").concat(_this3.datasetVersion, "/files/").concat(_this3.entry.contextualInformation) : undefined
2587
+ };
2588
+
2589
+ _this3.items['Scaffolds'].push({
2590
+ id: id,
2591
+ title: baseName(filePath),
2592
+ type: "Scaffold",
2593
+ thumbnail: thumbnailURL,
2594
+ userData: action,
2595
+ hideType: true,
2596
+ mimetype: mimetype
2597
+ });
2598
+ });
2599
+ }
2600
+ },
2601
+ createSegmentationItems: function createSegmentationItems() {
2602
+ var _this4 = this;
2603
+
2604
+ if (this.entry.segmentation) {
2605
+ this.entry.segmentation.forEach(function (segmentation) {
2606
+ var id = segmentation.id;
2607
+ var filePath = segmentation.dataset.path;
2608
+ filePath = filePath.replaceAll(" ", "_");
2609
+ filePath = filePath.replaceAll(",", "_");
2610
+ var prefix = _this4.envVars.NL_LINK_PREFIX;
2611
+ var resource = {
2612
+ share_link: "".concat(prefix, "/dataviewer?datasetId=").concat(_this4.datasetId, "&version=").concat(_this4.datasetVersion, "&path=files/").concat(filePath)
2613
+ };
2614
+ var action = {
2615
+ label: ImageGalleryvue_type_script_lang_js_capitalise(_this4.label),
2616
+ resource: resource,
2617
+ datasetId: _this4.datasetId,
2618
+ title: "View segmentation",
2619
+ type: "Segmentation"
2620
+ };
2621
+
2622
+ var thumbnailURL = _this4.getSegmentationThumbnailURL(_this4.envVars.API_LOCATION, {
2623
+ id: id,
2624
+ datasetId: _this4.datasetId,
2625
+ datasetVersion: _this4.datasetVersion,
2626
+ segmentationFilePath: filePath
2627
+ });
2628
+
2629
+ _this4.items['Segmentations'].push({
2630
+ id: id,
2631
+ title: baseName(filePath),
2632
+ type: "Segmentation",
2633
+ thumbnail: thumbnailURL,
2634
+ userData: action,
2635
+ hideType: true,
2636
+ mimetype: 'image/png'
2637
+ });
2638
+ });
2639
+ }
2640
+ },
2641
+ createSimulationItems: function createSimulationItems() {
2642
+ if (this.entry.simulation && this.entry.simulation.length > 0) {
2643
+ var action = {
2644
+ label: undefined,
2645
+ apiLocation: this.envVars.API_LOCATION,
2646
+ version: this.datasetVersion,
2647
+ title: "View simulation",
2648
+ type: "Simulation",
2649
+ name: this.entry.name,
2650
+ description: this.entry.description,
2651
+ discoverId: this.datasetId,
2652
+ dataset: "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset")
2653
+ };
2654
+ this.items['Simulations'].push({
2655
+ id: "simulation",
2656
+ title: " ",
2657
+ type: "Simulation",
2658
+ hideType: true,
2659
+ userData: action
2660
+ });
2661
+ }
2662
+ },
2663
+ createVideoItems: function createVideoItems() {
2664
+ var _this5 = this;
2665
+
2666
+ if (this.entry.videos) {
2667
+ this.entry.videos.forEach(function (video) {
2668
+ var filePath = _this5.getS3FilePath(_this5.datasetId, _this5.datasetVersion, video.dataset.path);
2669
+
2670
+ 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);
2671
+
2672
+ _this5.items['Videos'].push({
2673
+ title: video.name,
2674
+ type: "Video",
2675
+ thumbnail: _this5.defaultVideoImg,
2676
+ hideType: true,
2677
+ link: linkUrl
2678
+ });
2679
+ });
2680
+ }
2681
+ },
2682
+ onResize: function onResize() {
2683
+ this.maxWidth = this.$el.clientWidth; // this.$emit('resize', this.$el.clientWidth)
2684
+ }
2685
+ },
2686
+ computed: {
2687
+ galleryItems: function galleryItems() {
2688
+ if (this.resetIndex) {
2689
+ this.$refs.gallery.indicatorClicked(0);
2690
+ }
2691
+
2692
+ var items = _toConsumableArray(this.items["Dataset"]);
2693
+
2694
+ if (this.category === "All") {
2695
+ for (var _i = 0, _Object$entries = Object.entries(this.items); _i < _Object$entries.length; _i++) {
2696
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
2697
+ key = _Object$entries$_i[0],
2698
+ value = _Object$entries$_i[1];
2699
+
2700
+ if (key !== "Dataset") items = items.concat(value);
2701
+ }
2702
+
2703
+ return items;
2704
+ } else return this.items[this.category];
2705
+ }
2706
+ },
2707
+ created: function created() {
2708
+ this.createSciCurnchItems();
2709
+ },
2710
+ watch: {
2711
+ category: function category() {
2712
+ this.resetIndex = true;
2713
+ },
2714
+ galleryItems: function galleryItems() {
2715
+ this.resetIndex = false;
2716
+ },
2717
+ datasetBiolucida: {
2718
+ deep: true,
2719
+ immediate: true,
2720
+ handler: function handler(biolucidaData) {
2721
+ var _this6 = this;
2722
+
2723
+ var items = [];
2724
+
2725
+ if ("dataset_images" in biolucidaData) {
2726
+ items.push.apply(items, _toConsumableArray(Array.from(biolucidaData.dataset_images, function (dataset_image) {
2727
+ var thumbnailURL = _this6.getThumbnailURLFromBiolucida(_this6.envVars.API_LOCATION, {
2728
+ id: dataset_image.image_id
2729
+ });
2730
+
2731
+ var resource = {
2732
+ share_link: dataset_image.share_link,
2733
+ id: dataset_image.image_id,
2734
+ itemId: dataset_image.sourcepkg_id
2735
+ };
2736
+ var action = {
2737
+ label: ImageGalleryvue_type_script_lang_js_capitalise(_this6.label),
2738
+ resource: resource,
2739
+ datasetId: _this6.datasetId,
2740
+ title: "View image",
2741
+ name: ImageGalleryvue_type_script_lang_js_capitalise(_this6.label),
2742
+ type: "Biolucida"
2743
+ };
2744
+ return {
2745
+ id: dataset_image.image_id,
2746
+ title: "Biolucida Image",
2747
+ type: "Image",
2748
+ thumbnail: thumbnailURL,
2749
+ userData: action,
2750
+ mimetype: 'image/png',
2751
+ hideType: true
2752
+ };
2753
+ })));
2754
+ }
2755
+
2756
+ this.items['Biolucida Images'] = items;
2757
+ }
2758
+ }
2759
+ },
2760
+ mounted: function mounted() {
2761
+ this.ro = new ResizeObserver(this.onResize).observe(this.$el);
2762
+ },
2763
+ destroyed: function destroyed() {
2764
+ delete this.ro;
2765
+ }
2766
+ });
2767
+ // CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=script&lang=js&
2768
+ /* harmony default export */ var components_ImageGalleryvue_type_script_lang_js_ = (ImageGalleryvue_type_script_lang_js_);
2769
+ // EXTERNAL MODULE: ./src/components/ImageGallery.vue?vue&type=style&index=0&id=2fb38a56&scoped=true&lang=css&
2770
+ var ImageGalleryvue_type_style_index_0_id_2fb38a56_scoped_true_lang_css_ = __webpack_require__("584e");
2771
+
2772
+ // CONCATENATED MODULE: ./src/components/ImageGallery.vue
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+ /* normalize component */
2780
+
2781
+ var ImageGallery_component = normalizeComponent(
2782
+ components_ImageGalleryvue_type_script_lang_js_,
2783
+ ImageGalleryvue_type_template_id_2fb38a56_scoped_true_render,
2784
+ ImageGalleryvue_type_template_id_2fb38a56_scoped_true_staticRenderFns,
2785
+ false,
2786
+ null,
2787
+ "2fb38a56",
2788
+ null
2789
+
2790
+ )
2791
+
2792
+ /* harmony default export */ var ImageGallery = (ImageGallery_component.exports);
2793
+ // 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&
2794
+
2795
+
2796
+
2797
+
2798
+
2799
+
2800
+
2801
+
2802
+
2803
+
2804
+
2805
+
2806
+
2807
+
2808
+
2809
+
2810
+
2811
+ //
2812
+ //
2813
+ //
2814
+ //
2815
+ //
2816
+ //
2817
+ //
2818
+ //
2819
+ //
2820
+ //
2821
+ //
2822
+ //
2823
+ //
2824
+ //
2825
+ //
2826
+ //
2827
+ //
2828
+ //
2829
+ //
2830
+ //
2831
+ //
2832
+ //
2833
+ //
2834
+ //
2835
+ //
2836
+ //
2837
+ //
2838
+ //
2839
+ //
2840
+ //
2841
+ //
2842
+ //
2843
+ //
2844
+ //
2845
+ //
2846
+ //
2847
+ //
2848
+ //
2849
+ //
2850
+ //
2851
+
2852
+ /* eslint-disable no-alert, no-console */
2853
+
2854
+
2855
+
2856
+
2857
+
2858
+
2859
+
2860
+ locale_default.a.use(en_default.a);
2861
+ external_vue_default.a.use(button_default.a);
2862
+ external_vue_default.a.use(icon_default.a);
2194
2863
  /* harmony default export */ var DatasetCardvue_type_script_lang_js_ = ({
2195
2864
  name: "DatasetCard",
2865
+ components: {
2866
+ BadgesGroup: BadgesGroup,
2867
+ ImageGallery: ImageGallery
2868
+ },
2196
2869
  props: {
2197
- /**
2198
- * Object containing information for
2199
- * the required viewing.
2870
+ /**
2871
+ * Object containing information for
2872
+ * the required viewing.
2200
2873
  */
2201
2874
  entry: {
2202
2875
  type: Object,
@@ -2212,16 +2885,14 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2212
2885
  thumbnail: __webpack_require__("9b53"),
2213
2886
  dataLocation: this.entry.doi,
2214
2887
  discoverId: undefined,
2215
- cardOverflow: false,
2216
- expanded: false,
2217
- loading: false,
2218
- lastDoi: undefined
2888
+ loading: true,
2889
+ version: 1,
2890
+ lastDoi: undefined,
2891
+ biolucidaData: undefined,
2892
+ currentCategory: "All"
2219
2893
  };
2220
2894
  },
2221
2895
  computed: {
2222
- hasCSVFile: function hasCSVFile() {
2223
- return this.entry.csvFiles && this.entry.csvFiles.length !== 0;
2224
- },
2225
2896
  contributors: function contributors() {
2226
2897
  var text = "";
2227
2898
 
@@ -2277,44 +2948,13 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2277
2948
  },
2278
2949
  methods: {
2279
2950
  cardClicked: function cardClicked() {
2280
- if (this.entry.scaffolds) {
2281
- this.openScaffold();
2282
- } else {
2283
- this.openDataset();
2284
- }
2951
+ this.openDataset();
2285
2952
  },
2286
- openScaffold: function openScaffold() {
2287
- var action = {
2288
- label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
2289
- resource: this.getScaffoldPath(this.discoverId, this.version, this.entry.scaffolds[0].dataset.path),
2290
- title: "View 3D scaffold",
2291
- type: "Scaffold",
2292
- discoverId: this.discoverId,
2293
- apiLocation: this.envVars.API_LOCATION,
2294
- version: this.version,
2295
- contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
2296
- banner: this.thumbnail
2297
- };
2298
-
2299
- if (hardcoded_context_info[this.discoverId]) {
2300
- action.contextCardUrl = true;
2301
- }
2302
-
2303
- this.propogateCardAction(action);
2304
- },
2305
- openPlot: function openPlot() {
2306
- var action = {
2307
- label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
2308
- resource: this.getFileFromPath(this.discoverId, this.version, this.entry.csvFiles[0].dataset.path),
2309
- title: "View plot",
2310
- type: "Plot",
2311
- discoverId: this.discoverId,
2312
- apiLocation: this.envVars.API_LOCATION,
2313
- version: this.version,
2314
- contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
2315
- banner: this.thumbnail
2316
- };
2317
- this.propogateCardAction(action);
2953
+ categoryChanged: function categoryChanged(name) {
2954
+ this.currentCategory = name;
2955
+ },
2956
+ galleryClicked: function galleryClicked(payload) {
2957
+ this.propogateCardAction(payload);
2318
2958
  },
2319
2959
  openDataset: function openDataset() {
2320
2960
  window.open(this.dataLocation, '_blank');
@@ -2349,51 +2989,10 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2349
2989
  }
2350
2990
  });
2351
2991
  },
2352
- openSimulation: function openSimulation() {
2353
- var isSedmlResource = false;
2354
- var resource = undefined;
2355
- this.entry.additionalLinks.forEach(function (el) {
2356
- if (el.description == "SED-ML file") {
2357
- isSedmlResource = true;
2358
- resource = el.uri;
2359
- } else if (!isSedmlResource && el.description == "CellML file") {
2360
- resource = el.uri;
2361
- }
2362
- });
2363
- var action = {
2364
- label: undefined,
2365
- resource: resource,
2366
- dataset: this.dataLocation,
2367
- apiLocation: this.envVars.API_LOCATION,
2368
- version: this.version,
2369
- discoverId: this.discoverId,
2370
- contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
2371
- banner: this.thumbnail,
2372
- title: "View simulation",
2373
- name: this.entry.name,
2374
- description: this.entry.description,
2375
- type: "Simulation"
2376
- };
2377
- this.propogateCardAction(action);
2378
- },
2379
2992
  propogateCardAction: function propogateCardAction(action) {
2380
2993
  components_EventBus.$emit("PopoverActionClick", action);
2381
2994
  this.$emit('contextUpdate', action);
2382
2995
  },
2383
- getScaffoldPath: function getScaffoldPath(discoverId, version, scaffoldPath) {
2384
- var id = discoverId;
2385
- var path = "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(id, "/").concat(version, "/files/").concat(scaffoldPath);
2386
- return path;
2387
- },
2388
- getFileFromPath: function getFileFromPath(discoverId, version, path) {
2389
- return "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(discoverId, "/").concat(version, "/files/").concat(path);
2390
- },
2391
- isOverflown: function isOverflown(el) {
2392
- return el.clientHeight < el.scrollHeight;
2393
- },
2394
- expand: function expand() {
2395
- this.expanded = true;
2396
- },
2397
2996
  splitDOI: function splitDOI(doi) {
2398
2997
  return [doi.split('/')[doi.split('/').length - 2], doi.split('/')[doi.split('/').length - 1]];
2399
2998
  },
@@ -2405,7 +3004,7 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2405
3004
  this.lastDoi = this.entry.doi;
2406
3005
  this.loading = true;
2407
3006
  var doi = this.splitDOI(this.entry.doi);
2408
- fetch("https://api.pennsieve.io/discover/datasets/doi/".concat(doi[0], "/").concat(doi[1])).then(function (response) {
3007
+ fetch("".concat(this.envVars.PENNSIEVE_API_LOCATION, "/discover/datasets/doi/").concat(doi[0], "/").concat(doi[1])).then(function (response) {
2409
3008
  if (!response.ok) {
2410
3009
  throw Error(response.statusText);
2411
3010
  } else {
@@ -2416,39 +3015,49 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
2416
3015
  _this.discoverId = data.id;
2417
3016
  _this.version = data.version;
2418
3017
  _this.dataLocation = "https://sparc.science/datasets/".concat(data.id, "?type=dataset");
3018
+
3019
+ _this.getBiolucidaInfo(_this.discoverId);
3020
+
2419
3021
  _this.loading = false;
2420
3022
  }).catch(function () {
2421
3023
  //set defaults if we hit an error
2422
3024
  _this.thumbnail = __webpack_require__("9b53");
2423
- _this.discoverId = undefined;
3025
+ _this.discoverId = Number(_this.entry.datasetId);
2424
3026
  _this.loading = false;
2425
3027
  });
2426
3028
  }
2427
3029
  },
2428
3030
  lastName: function lastName(fullName) {
2429
3031
  return fullName.split(',')[0];
3032
+ },
3033
+ getBiolucidaInfo: function getBiolucidaInfo(id) {
3034
+ var _this2 = this;
3035
+
3036
+ var apiLocation = this.envVars.API_LOCATION;
3037
+ var endpoint = apiLocation + "image_search/" + id; // Add parameters if we are sent them
3038
+
3039
+ fetch(endpoint).then(function (response) {
3040
+ return response.json();
3041
+ }).then(function (data) {
3042
+ if (data.status == "success") _this2.biolucidaData = data;
3043
+ });
2430
3044
  }
2431
3045
  },
2432
- mounted: function mounted() {
3046
+ created: function created() {
2433
3047
  this.getBanner();
2434
- this.cardOverflow = this.isOverflown(this.$refs.card);
2435
3048
  },
2436
- updated: function updated() {},
2437
3049
  watch: {
2438
3050
  // currently not using card overflow
2439
3051
  'entry.description': function entryDescription() {
2440
3052
  // watch it
2441
- this.cardOverflow = false;
2442
- this.expanded = false;
2443
- this.cardOverflow = this.isOverflown(this.$refs.card);
2444
3053
  this.getBanner();
2445
3054
  }
2446
3055
  }
2447
3056
  });
2448
3057
  // CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=script&lang=js&
2449
3058
  /* harmony default export */ var components_DatasetCardvue_type_script_lang_js_ = (DatasetCardvue_type_script_lang_js_);
2450
- // EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=380e4852&scoped=true&lang=css&
2451
- var DatasetCardvue_type_style_index_0_id_380e4852_scoped_true_lang_css_ = __webpack_require__("e14d");
3059
+ // EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=14674f48&scoped=true&lang=css&
3060
+ var DatasetCardvue_type_style_index_0_id_14674f48_scoped_true_lang_css_ = __webpack_require__("8d78");
2452
3061
 
2453
3062
  // CONCATENATED MODULE: ./src/components/DatasetCard.vue
2454
3063
 
@@ -2461,22 +3070,22 @@ var DatasetCardvue_type_style_index_0_id_380e4852_scoped_true_lang_css_ = __webp
2461
3070
 
2462
3071
  var DatasetCard_component = normalizeComponent(
2463
3072
  components_DatasetCardvue_type_script_lang_js_,
2464
- DatasetCardvue_type_template_id_380e4852_scoped_true_render,
2465
- DatasetCardvue_type_template_id_380e4852_scoped_true_staticRenderFns,
3073
+ DatasetCardvue_type_template_id_14674f48_scoped_true_render,
3074
+ DatasetCardvue_type_template_id_14674f48_scoped_true_staticRenderFns,
2466
3075
  false,
2467
3076
  null,
2468
- "380e4852",
3077
+ "14674f48",
2469
3078
  null
2470
3079
 
2471
3080
  )
2472
3081
 
2473
3082
  /* harmony default export */ var DatasetCard = (DatasetCard_component.exports);
2474
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"258ee7b8-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&
2475
- 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)])}
2476
- var ContextCardvue_type_template_id_41eb07ec_scoped_true_staticRenderFns = []
3083
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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=26e5ef37&scoped=true&
3084
+ var ContextCardvue_type_template_id_26e5ef37_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 && _vm.contextData.views.length > 0)?_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)])}
3085
+ var ContextCardvue_type_template_id_26e5ef37_scoped_true_staticRenderFns = []
2477
3086
 
2478
3087
 
2479
- // CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=41eb07ec&scoped=true&
3088
+ // CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=26e5ef37&scoped=true&
2480
3089
 
2481
3090
  // EXTERNAL MODULE: external "element-ui/lib/theme-chalk/link.css"
2482
3091
  var link_css_ = __webpack_require__("230a");
@@ -2485,6 +3094,84 @@ var link_css_ = __webpack_require__("230a");
2485
3094
  var link_ = __webpack_require__("7db7");
2486
3095
  var link_default = /*#__PURE__*/__webpack_require__.n(link_);
2487
3096
 
3097
+ // CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
3098
+ /* harmony default export */ var hardcoded_context_info = ({}); // //Uncomment the code below to add in hardcoded data
3099
+ // export default {
3100
+ // 77: {
3101
+ // "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.",
3102
+ // "heading": "Mapped ICN samples",
3103
+ // "id": "sparc.science.context_data",
3104
+ // "samples": [
3105
+ // {
3106
+ // "annotation": "",
3107
+ // "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
3108
+ // "doi": "",
3109
+ // "heading": "ICNS from subject M54-8",
3110
+ // "id": "Sample 1",
3111
+ // "path": "",
3112
+ // "view": "View 1",
3113
+ // "color": "#FFFF00",
3114
+ // "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
3115
+ // },
3116
+ // {
3117
+ // "annotation": "",
3118
+ // "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
3119
+ // "doi": "",
3120
+ // "heading": "ICNS from subject M54-5",
3121
+ // "id": "Sample 2",
3122
+ // "path": "",
3123
+ // "view": "View 2",
3124
+ // "color": "#FFA500",
3125
+ // "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
3126
+ // }
3127
+ // ],
3128
+ // "version": "0.1.0",
3129
+ // },
3130
+ // 221: {
3131
+ // "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.",
3132
+ // "heading": "Digital tracings of enteric plexus",
3133
+ // "id": "sparc.science.context_data",
3134
+ // "samples": [
3135
+ // {
3136
+ // "annotation": "",
3137
+ // "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",
3138
+ // "doi": "",
3139
+ // "heading": "Digital tracing for subject M11",
3140
+ // "id": "Sample 1",
3141
+ // "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
3142
+ // "view": "View 1"
3143
+ // },
3144
+ // {
3145
+ // "annotation": "",
3146
+ // "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. ",
3147
+ // "doi": "",
3148
+ // "heading": "Digital tracing for subject M16",
3149
+ // "id": "Sample 2",
3150
+ // "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
3151
+ // "view": "View 2"
3152
+ // }
3153
+ // ],
3154
+ // "version": "0.1.0",
3155
+ // "views": [
3156
+ // {
3157
+ // "annotation": "--",
3158
+ // "description": "Digital tracing of neurons for subject M11.",
3159
+ // "id": "View 1",
3160
+ // "path": "files/derivative/Scaffolds/M11_view.json",
3161
+ // "sample": "Sample 1",
3162
+ // "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
3163
+ // },
3164
+ // {
3165
+ // "annotation": "--",
3166
+ // "description": "Digital tracing of neurons for subject M16.",
3167
+ // "id": "View 2",
3168
+ // "path": "files/derivative/Scaffolds/M16_view.json",
3169
+ // "sample": "Sample 2",
3170
+ // "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
3171
+ // }
3172
+ // ]
3173
+ // }
3174
+ // }
2488
3175
  // 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&
2489
3176
 
2490
3177
 
@@ -2574,9 +3261,9 @@ external_vue_default.a.use(input_default.a);
2574
3261
  /* harmony default export */ var ContextCardvue_type_script_lang_js_ = ({
2575
3262
  name: "contextCard",
2576
3263
  props: {
2577
- /**
2578
- * Object containing information for
2579
- * the required viewing.
3264
+ /**
3265
+ * Object containing information for
3266
+ * the required viewing.
2580
3267
  */
2581
3268
  entry: Object
2582
3269
  },
@@ -2665,8 +3352,8 @@ external_vue_default.a.use(input_default.a);
2665
3352
  });
2666
3353
  // CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=script&lang=js&
2667
3354
  /* harmony default export */ var components_ContextCardvue_type_script_lang_js_ = (ContextCardvue_type_script_lang_js_);
2668
- // EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=41eb07ec&scoped=true&lang=css&
2669
- var ContextCardvue_type_style_index_0_id_41eb07ec_scoped_true_lang_css_ = __webpack_require__("718b");
3355
+ // EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=26e5ef37&scoped=true&lang=css&
3356
+ var ContextCardvue_type_style_index_0_id_26e5ef37_scoped_true_lang_css_ = __webpack_require__("9fdf");
2670
3357
 
2671
3358
  // CONCATENATED MODULE: ./src/components/ContextCard.vue
2672
3359
 
@@ -2679,11 +3366,11 @@ var ContextCardvue_type_style_index_0_id_41eb07ec_scoped_true_lang_css_ = __webp
2679
3366
 
2680
3367
  var ContextCard_component = normalizeComponent(
2681
3368
  components_ContextCardvue_type_script_lang_js_,
2682
- ContextCardvue_type_template_id_41eb07ec_scoped_true_render,
2683
- ContextCardvue_type_template_id_41eb07ec_scoped_true_staticRenderFns,
3369
+ ContextCardvue_type_template_id_26e5ef37_scoped_true_render,
3370
+ ContextCardvue_type_template_id_26e5ef37_scoped_true_staticRenderFns,
2684
3371
  false,
2685
3372
  null,
2686
- "41eb07ec",
3373
+ "26e5ef37",
2687
3374
  null
2688
3375
 
2689
3376
  )
@@ -2789,8 +3476,6 @@ function SidebarContentvue_type_script_lang_js_objectSpread(target) { for (var i
2789
3476
  //
2790
3477
  //
2791
3478
  //
2792
- //
2793
- //
2794
3479
 
2795
3480
  /* eslint-disable no-alert, no-console */
2796
3481
 
@@ -2871,10 +3556,8 @@ var initial_state = {
2871
3556
  pageModel: 1,
2872
3557
  start: 0,
2873
3558
  hasSearched: false,
2874
- sciCrunchError: false,
2875
3559
  contextCardEntry: undefined,
2876
- contextCardEnabled: true,
2877
- loadingScicrunch: false
3560
+ contextCardEnabled: true
2878
3561
  };
2879
3562
  /* harmony default export */ var SidebarContentvue_type_script_lang_js_ = ({
2880
3563
  components: {
@@ -2975,15 +3658,27 @@ var initial_state = {
2975
3658
 
2976
3659
  var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
2977
3660
  // Algolia search
3661
+ this.loadingCards = true;
2978
3662
  this.algoliaClient.search(getFilters(filters), query, this.numberPerPage, this.page).then(function (searchData) {
2979
3663
  _this.numberOfHits = searchData.total;
2980
3664
  _this.discoverIds = searchData.discoverIds;
2981
- _this.dois = searchData.dois;
3665
+ _this._dois = searchData.dois;
2982
3666
  _this.results = searchData.items;
2983
3667
  _this.loadingCards = false;
2984
3668
 
2985
- _this.searchSciCrunch({
2986
- 'dois': _this.dois
3669
+ _this.scrollToTop();
3670
+
3671
+ _this.$emit("search-changed", {
3672
+ value: _this.searchInput,
3673
+ type: "query-update"
3674
+ });
3675
+
3676
+ if (_this._abortController) _this._abortController.abort();
3677
+ _this._abortController = new AbortController();
3678
+ var signal = _this._abortController.signal; //Search ongoing, let the current flow progress
3679
+
3680
+ _this.perItemSearch(signal, {
3681
+ count: 0
2987
3682
  });
2988
3683
  });
2989
3684
  },
@@ -2999,32 +3694,45 @@ var initial_state = {
2999
3694
  this.page = page;
3000
3695
  this.searchAlgolia(this.filters, this.searchInput, this.numberPerPage, this.page);
3001
3696
  },
3002
- searchSciCrunch: function searchSciCrunch(params) {
3697
+ handleMissingData: function handleMissingData(doi) {
3698
+ var i = this.results.findIndex(function (res) {
3699
+ return res.doi === doi;
3700
+ });
3701
+ if (this.results[i]) this.results[i].detailsReady = true;
3702
+ },
3703
+ perItemSearch: function perItemSearch(signal, data) {
3003
3704
  var _this2 = this;
3004
3705
 
3005
- this.loadingScicrunch = true;
3006
- this.scrollToTop();
3007
- this.$emit("search-changed", {
3008
- value: this.searchInput,
3009
- type: "query-update"
3010
- });
3011
- this.callSciCrunch(this.envVars.API_LOCATION, params).then(function (result) {
3012
- //Only process if the search term is the same as the last search term.
3013
- //This avoid old search being displayed.
3014
- _this2.sciCrunchError = false;
3015
-
3016
- _this2.resultsProcessing(result);
3017
-
3018
- _this2.$refs.content.style["overflow-y"] = "scroll";
3019
- _this2.loadingCards = false;
3020
- _this2.loadingScicrunch = false;
3021
- }).catch(function (result) {
3022
- if (result.name !== 'AbortError') {
3023
- _this2.loadingCards = false;
3024
- _this2.loadingScicrunch = false;
3025
- _this2.sciCrunchError = result.message;
3706
+ //Maximum 10 downloads at once to prevent long waiting time
3707
+ //between unfinished search and new search
3708
+ var maxDownloads = 10;
3709
+
3710
+ if (maxDownloads > data.count) {
3711
+ var doi = this._dois.shift();
3712
+
3713
+ if (doi) {
3714
+ data.count++;
3715
+ this.callSciCrunch(this.envVars.API_LOCATION, {
3716
+ 'dois': [doi]
3717
+ }, signal).then(function (result) {
3718
+ if (result.numberOfHits === 0) _this2.handleMissingData(doi);else _this2.resultsProcessing(result);
3719
+ _this2.$refs.content.style["overflow-y"] = "scroll";
3720
+ data.count--; //Async::Download finished, get the next one
3721
+
3722
+ _this2.perItemSearch(signal, data);
3723
+ }).catch(function (result) {
3724
+ if (result.name !== 'AbortError') {
3725
+ _this2.handleMissingData(doi);
3726
+
3727
+ data.count--; //Async::Download not aborted, get the next one
3728
+
3729
+ _this2.perItemSearch(signal, data);
3730
+ }
3731
+ }); //Check and make another request until it gets to max downloads
3732
+
3733
+ this.perItemSearch(signal, data);
3026
3734
  }
3027
- });
3735
+ }
3028
3736
  },
3029
3737
  scrollToTop: function scrollToTop() {
3030
3738
  if (this.$refs.content) {
@@ -3061,7 +3769,9 @@ var initial_state = {
3061
3769
  numberSubjects: element.subjectSize ? parseInt(element.subjectSize) : 0,
3062
3770
  updated: element.updated[0].timestamp.split("T")[0],
3063
3771
  url: element.uri[0],
3064
- datasetId: element.identifier,
3772
+ datasetId: element.dataset_identifier,
3773
+ datasetRevision: element.dataset_revision,
3774
+ datasetVersion: element.dataset_version,
3065
3775
  organs: element.organs && element.organs.length > 0 ? _toConsumableArray(new Set(element.organs.map(function (v) {
3066
3776
  return v.name;
3067
3777
  }))) : undefined,
@@ -3069,9 +3779,17 @@ var initial_state = {
3069
3779
  return v.species ? v.species.name : null;
3070
3780
  }))) : undefined : undefined,
3071
3781
  // This processing only includes each gender once into 'sexes'
3072
- scaffolds: element['abi-scaffold-metadata-file'] ? element['abi-scaffold-metadata-file'] : undefined,
3782
+ scaffolds: element['abi-scaffold-metadata-file'],
3783
+ thumbnails: element['abi-thumbnail'] ? element['abi-thumbnail'] : element['abi-scaffold-thumbnail'],
3784
+ scaffoldViews: element['abi-scaffold-view-file'],
3785
+ videos: element.video,
3786
+ plots: element['abi-plot'],
3787
+ images: element['common-images'],
3073
3788
  contextualInformation: element['abi-contextual-information'].length > 0 ? element['abi-contextual-information'] : undefined,
3074
- simulation: element['abi-simulation-file']
3789
+ segmentation: element['mbf-segmentation'],
3790
+ simulation: element['abi-simulation-file'],
3791
+ additionalLinks: element.additionalLinks,
3792
+ detailsReady: true
3075
3793
  });
3076
3794
  external_vue_default.a.set(_this3.results, i, _this3.results[i]);
3077
3795
  });
@@ -3099,13 +3817,9 @@ var initial_state = {
3099
3817
  var _this4 = this;
3100
3818
 
3101
3819
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
3820
+ var signal = arguments.length > 2 ? arguments[2] : undefined;
3102
3821
  return new Promise(function (resolve, reject) {
3103
- // the following controller will abort current search
3104
- // if a new one has been started
3105
- if (_this4._controller) _this4._controller.abort();
3106
- _this4._controller = new AbortController();
3107
- var signal = _this4._controller.signal; // Add parameters if we are sent them
3108
-
3822
+ // Add parameters if we are sent them
3109
3823
  var fullEndpoint = _this4.envVars.API_LOCATION + _this4.searchEndpoint + "?" + _this4.createfilterParams(params);
3110
3824
 
3111
3825
  fetch(fullEndpoint, {
@@ -3123,8 +3837,7 @@ var initial_state = {
3123
3837
  mounted: function mounted() {
3124
3838
  // initialise algolia
3125
3839
  this.algoliaClient = new algolia_AlgoliaClient(this.envVars.ALGOLIA_ID, this.envVars.ALGOLIA_KEY, this.envVars.PENNSIEVE_API_LOCATION);
3126
- this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX);
3127
- console.log('Algolia initialised in sidebar'); // temporarily disable flatmap search since there are no datasets
3840
+ this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX); // temporarily disable flatmap search since there are no datasets
3128
3841
 
3129
3842
  if (this.firstSearch === "Flatmap" || this.firstSearch === "flatmap") {
3130
3843
  this.openSearch(undefined, '');
@@ -3139,8 +3852,8 @@ var initial_state = {
3139
3852
  });
3140
3853
  // CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=script&lang=js&
3141
3854
  /* harmony default export */ var components_SidebarContentvue_type_script_lang_js_ = (SidebarContentvue_type_script_lang_js_);
3142
- // EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=2df4e2e0&scoped=true&lang=css&
3143
- var SidebarContentvue_type_style_index_0_id_2df4e2e0_scoped_true_lang_css_ = __webpack_require__("c260");
3855
+ // EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=0d501578&scoped=true&lang=css&
3856
+ var SidebarContentvue_type_style_index_0_id_0d501578_scoped_true_lang_css_ = __webpack_require__("3d4f");
3144
3857
 
3145
3858
  // CONCATENATED MODULE: ./src/components/SidebarContent.vue
3146
3859
 
@@ -3153,22 +3866,22 @@ var SidebarContentvue_type_style_index_0_id_2df4e2e0_scoped_true_lang_css_ = __w
3153
3866
 
3154
3867
  var SidebarContent_component = normalizeComponent(
3155
3868
  components_SidebarContentvue_type_script_lang_js_,
3156
- SidebarContentvue_type_template_id_2df4e2e0_scoped_true_render,
3157
- SidebarContentvue_type_template_id_2df4e2e0_scoped_true_staticRenderFns,
3869
+ SidebarContentvue_type_template_id_0d501578_scoped_true_render,
3870
+ SidebarContentvue_type_template_id_0d501578_scoped_true_staticRenderFns,
3158
3871
  false,
3159
3872
  null,
3160
- "2df4e2e0",
3873
+ "0d501578",
3161
3874
  null
3162
3875
 
3163
3876
  )
3164
3877
 
3165
3878
  /* harmony default export */ var SidebarContent = (SidebarContent_component.exports);
3166
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"258ee7b8-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&
3167
- 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)}
3168
- var Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns = []
3879
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"14374f4c-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&
3880
+ 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)}
3881
+ var Tabsvue_type_template_id_5d1b9484_scoped_true_staticRenderFns = []
3169
3882
 
3170
3883
 
3171
- // CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=template&id=d68260c4&scoped=true&
3884
+ // CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=template&id=5d1b9484&scoped=true&
3172
3885
 
3173
3886
  // 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&
3174
3887
 
@@ -3208,8 +3921,8 @@ var Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns = []
3208
3921
  });
3209
3922
  // CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=script&lang=js&
3210
3923
  /* harmony default export */ var components_Tabsvue_type_script_lang_js_ = (Tabsvue_type_script_lang_js_);
3211
- // EXTERNAL MODULE: ./src/components/Tabs.vue?vue&type=style&index=0&id=d68260c4&scoped=true&lang=css&
3212
- var Tabsvue_type_style_index_0_id_d68260c4_scoped_true_lang_css_ = __webpack_require__("44cc");
3924
+ // EXTERNAL MODULE: ./src/components/Tabs.vue?vue&type=style&index=0&id=5d1b9484&scoped=true&lang=css&
3925
+ var Tabsvue_type_style_index_0_id_5d1b9484_scoped_true_lang_css_ = __webpack_require__("183e");
3213
3926
 
3214
3927
  // CONCATENATED MODULE: ./src/components/Tabs.vue
3215
3928
 
@@ -3222,11 +3935,11 @@ var Tabsvue_type_style_index_0_id_d68260c4_scoped_true_lang_css_ = __webpack_req
3222
3935
 
3223
3936
  var Tabs_component = normalizeComponent(
3224
3937
  components_Tabsvue_type_script_lang_js_,
3225
- Tabsvue_type_template_id_d68260c4_scoped_true_render,
3226
- Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns,
3938
+ Tabsvue_type_template_id_5d1b9484_scoped_true_render,
3939
+ Tabsvue_type_template_id_5d1b9484_scoped_true_staticRenderFns,
3227
3940
  false,
3228
3941
  null,
3229
- "d68260c4",
3942
+ "5d1b9484",
3230
3943
  null
3231
3944
 
3232
3945
  )
@@ -3418,8 +4131,8 @@ var SideBarvue_type_script_lang_js_initial_state = {
3418
4131
  });
3419
4132
  // CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=script&lang=js&
3420
4133
  /* harmony default export */ var components_SideBarvue_type_script_lang_js_ = (SideBarvue_type_script_lang_js_);
3421
- // EXTERNAL MODULE: ./src/components/SideBar.vue?vue&type=style&index=0&id=3f7eb1a5&scoped=true&lang=css&
3422
- var SideBarvue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css_ = __webpack_require__("a3fe");
4134
+ // EXTERNAL MODULE: ./src/components/SideBar.vue?vue&type=style&index=0&id=3d831a8e&scoped=true&lang=css&
4135
+ var SideBarvue_type_style_index_0_id_3d831a8e_scoped_true_lang_css_ = __webpack_require__("bc5f");
3423
4136
 
3424
4137
  // CONCATENATED MODULE: ./src/components/SideBar.vue
3425
4138
 
@@ -3436,7 +4149,7 @@ var SideBar_component = normalizeComponent(
3436
4149
  staticRenderFns,
3437
4150
  false,
3438
4151
  null,
3439
- "3f7eb1a5",
4152
+ "3d831a8e",
3440
4153
  null
3441
4154
 
3442
4155
  )
@@ -3457,6 +4170,13 @@ var SideBar_component = normalizeComponent(
3457
4170
 
3458
4171
  module.exports = require("core-js/modules/es.string.includes");
3459
4172
 
4173
+ /***/ }),
4174
+
4175
+ /***/ "fde8":
4176
+ /***/ (function(module, exports, __webpack_require__) {
4177
+
4178
+ // extracted by mini-css-extract-plugin
4179
+
3460
4180
  /***/ })
3461
4181
 
3462
4182
  /******/ });