@abi-software/map-side-bar 1.2.0 → 1.2.3-hardcoded-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/map-side-bar.common.js +324 -124
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +324 -124
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/scaffold_context_info.json +3 -1
- package/src/algolia/algolia.js +4 -1
- package/src/components/ContextCard.vue +25 -6
- package/src/components/DatasetCard.vue +2 -1
- package/src/components/SidebarContent.vue +16 -15
- package/src/components/hardcoded-context-info.js +211 -2
package/dist/map-side-bar.umd.js
CHANGED
|
@@ -159,6 +159,17 @@ module.exports = require("core-js/modules/es.array.concat");
|
|
|
159
159
|
|
|
160
160
|
/***/ }),
|
|
161
161
|
|
|
162
|
+
/***/ "1b25":
|
|
163
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164
|
+
|
|
165
|
+
"use strict";
|
|
166
|
+
/* 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_5dcf465c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("872a");
|
|
167
|
+
/* 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_5dcf465c_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_5dcf465c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
168
|
+
/* unused harmony reexport * */
|
|
169
|
+
/* 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_5dcf465c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
170
|
+
|
|
171
|
+
/***/ }),
|
|
172
|
+
|
|
162
173
|
/***/ "1ce0":
|
|
163
174
|
/***/ (function(module, exports) {
|
|
164
175
|
|
|
@@ -180,6 +191,13 @@ module.exports = require("core-js/modules/es.object.keys");
|
|
|
180
191
|
|
|
181
192
|
/***/ }),
|
|
182
193
|
|
|
194
|
+
/***/ "21a5":
|
|
195
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
196
|
+
|
|
197
|
+
// extracted by mini-css-extract-plugin
|
|
198
|
+
|
|
199
|
+
/***/ }),
|
|
200
|
+
|
|
183
201
|
/***/ "230a":
|
|
184
202
|
/***/ (function(module, exports) {
|
|
185
203
|
|
|
@@ -194,17 +212,6 @@ module.exports = require("element-ui/lib/theme-chalk/button.css");
|
|
|
194
212
|
|
|
195
213
|
/***/ }),
|
|
196
214
|
|
|
197
|
-
/***/ "26e6":
|
|
198
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
199
|
-
|
|
200
|
-
"use strict";
|
|
201
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f86d");
|
|
202
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
203
|
-
/* unused harmony reexport * */
|
|
204
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_75e03782_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
205
|
-
|
|
206
|
-
/***/ }),
|
|
207
|
-
|
|
208
215
|
/***/ "2a6f":
|
|
209
216
|
/***/ (function(module, exports) {
|
|
210
217
|
|
|
@@ -226,17 +233,21 @@ module.exports = require("element-ui/lib/drawer");
|
|
|
226
233
|
|
|
227
234
|
/***/ }),
|
|
228
235
|
|
|
229
|
-
/***/ "
|
|
230
|
-
/***/ (function(module, exports
|
|
236
|
+
/***/ "429c":
|
|
237
|
+
/***/ (function(module, exports) {
|
|
231
238
|
|
|
232
|
-
|
|
239
|
+
module.exports = require("@abi-software/svg-sprite");
|
|
233
240
|
|
|
234
241
|
/***/ }),
|
|
235
242
|
|
|
236
|
-
/***/ "
|
|
237
|
-
/***/ (function(module,
|
|
243
|
+
/***/ "42ed":
|
|
244
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
238
245
|
|
|
239
|
-
|
|
246
|
+
"use strict";
|
|
247
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_e348049c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("21a5");
|
|
248
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_e348049c_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_e348049c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
249
|
+
/* unused harmony reexport * */
|
|
250
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_e348049c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
240
251
|
|
|
241
252
|
/***/ }),
|
|
242
253
|
|
|
@@ -335,13 +346,6 @@ module.exports = require("core-js/modules/es.array.slice");
|
|
|
335
346
|
|
|
336
347
|
/***/ }),
|
|
337
348
|
|
|
338
|
-
/***/ "6824":
|
|
339
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
340
|
-
|
|
341
|
-
// extracted by mini-css-extract-plugin
|
|
342
|
-
|
|
343
|
-
/***/ }),
|
|
344
|
-
|
|
345
349
|
/***/ "6b07":
|
|
346
350
|
/***/ (function(module, exports) {
|
|
347
351
|
|
|
@@ -384,14 +388,10 @@ module.exports = require("core-js/modules/es.number.constructor");
|
|
|
384
388
|
|
|
385
389
|
/***/ }),
|
|
386
390
|
|
|
387
|
-
/***/ "
|
|
388
|
-
/***/ (function(module,
|
|
391
|
+
/***/ "7963":
|
|
392
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
389
393
|
|
|
390
|
-
|
|
391
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3cbb");
|
|
392
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
393
|
-
/* unused harmony reexport * */
|
|
394
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ContextCard_vue_vue_type_style_index_0_id_41eb07ec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
394
|
+
// extracted by mini-css-extract-plugin
|
|
395
395
|
|
|
396
396
|
/***/ }),
|
|
397
397
|
|
|
@@ -451,6 +451,13 @@ module.exports = require("core-js/modules/es.object.to-string");
|
|
|
451
451
|
|
|
452
452
|
/***/ }),
|
|
453
453
|
|
|
454
|
+
/***/ "872a":
|
|
455
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
456
|
+
|
|
457
|
+
// extracted by mini-css-extract-plugin
|
|
458
|
+
|
|
459
|
+
/***/ }),
|
|
460
|
+
|
|
454
461
|
/***/ "88eb":
|
|
455
462
|
/***/ (function(module, exports) {
|
|
456
463
|
|
|
@@ -623,14 +630,10 @@ module.exports = require("element-ui/lib/option");
|
|
|
623
630
|
|
|
624
631
|
/***/ }),
|
|
625
632
|
|
|
626
|
-
/***/ "
|
|
627
|
-
/***/ (function(module,
|
|
633
|
+
/***/ "dbad":
|
|
634
|
+
/***/ (function(module, exports) {
|
|
628
635
|
|
|
629
|
-
|
|
630
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6824");
|
|
631
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
632
|
-
/* unused harmony reexport * */
|
|
633
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_53d83468_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
636
|
+
module.exports = require("core-js/modules/es.number.is-finite");
|
|
634
637
|
|
|
635
638
|
/***/ }),
|
|
636
639
|
|
|
@@ -662,6 +665,17 @@ module.exports = require("element-ui/lib/input");
|
|
|
662
665
|
|
|
663
666
|
/***/ }),
|
|
664
667
|
|
|
668
|
+
/***/ "e941":
|
|
669
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
670
|
+
|
|
671
|
+
"use strict";
|
|
672
|
+
/* 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_39cef630_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7963");
|
|
673
|
+
/* 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_39cef630_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_39cef630_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
674
|
+
/* unused harmony reexport * */
|
|
675
|
+
/* 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_39cef630_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
676
|
+
|
|
677
|
+
/***/ }),
|
|
678
|
+
|
|
665
679
|
/***/ "ece9":
|
|
666
680
|
/***/ (function(module, exports) {
|
|
667
681
|
|
|
@@ -694,13 +708,6 @@ module.exports = require("core-js/modules/es.array.map");
|
|
|
694
708
|
|
|
695
709
|
/***/ }),
|
|
696
710
|
|
|
697
|
-
/***/ "f86d":
|
|
698
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
699
|
-
|
|
700
|
-
// extracted by mini-css-extract-plugin
|
|
701
|
-
|
|
702
|
-
/***/ }),
|
|
703
|
-
|
|
704
711
|
/***/ "f96d":
|
|
705
712
|
/***/ (function(module, exports) {
|
|
706
713
|
|
|
@@ -735,7 +742,7 @@ if (typeof window !== 'undefined') {
|
|
|
735
742
|
// Indicate to webpack that this file can be concatenated
|
|
736
743
|
/* harmony default export */ var setPublicPath = (null);
|
|
737
744
|
|
|
738
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
745
|
+
// 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&
|
|
739
746
|
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)}
|
|
740
747
|
var staticRenderFns = []
|
|
741
748
|
|
|
@@ -810,15 +817,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
810
817
|
var locale_ = __webpack_require__("7f9f");
|
|
811
818
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
812
819
|
|
|
813
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
814
|
-
var
|
|
815
|
-
var
|
|
816
|
-
|
|
820
|
+
// 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=39cef630&scoped=true&
|
|
821
|
+
var SidebarContentvue_type_template_id_39cef630_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)}
|
|
822
|
+
var SidebarContentvue_type_template_id_39cef630_scoped_true_staticRenderFns = []
|
|
817
823
|
|
|
818
|
-
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=53d83468&scoped=true&
|
|
819
824
|
|
|
820
|
-
//
|
|
821
|
-
var es_symbol_description_ = __webpack_require__("51e9");
|
|
825
|
+
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=39cef630&scoped=true&
|
|
822
826
|
|
|
823
827
|
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index"
|
|
824
828
|
var es_array_find_index_ = __webpack_require__("aecd");
|
|
@@ -878,6 +882,9 @@ function _arrayWithoutHoles(arr) {
|
|
|
878
882
|
return arr2;
|
|
879
883
|
}
|
|
880
884
|
}
|
|
885
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description"
|
|
886
|
+
var es_symbol_description_ = __webpack_require__("51e9");
|
|
887
|
+
|
|
881
888
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator"
|
|
882
889
|
var es_symbol_iterator_ = __webpack_require__("02ac");
|
|
883
890
|
|
|
@@ -985,7 +992,7 @@ var button_css_ = __webpack_require__("26bc");
|
|
|
985
992
|
var button_ = __webpack_require__("5d8c");
|
|
986
993
|
var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
987
994
|
|
|
988
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
995
|
+
// 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&
|
|
989
996
|
var SearchFiltersvue_type_template_id_58d5fb22_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"filters"},[_c('map-svg-sprite-color'),_c('transition',{attrs:{"name":"el-zoom-in-top"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showFilters),expression:"showFilters"}],staticClass:"search-filters transition-box"},[_c('custom-cascader',{ref:"cascader",staticClass:"cascader",attrs:{"placeholder":"","collapse-tags":true,"options":_vm.options,"props":_vm.props,"show-all-levels":false,"append-to-body":false},on:{"change":function($event){return _vm.cascadeEvent($event)},"expand-change":_vm.cascadeExpandChange,"tags-changed":_vm.tagsChangedCallback},model:{value:(_vm.cascadeSelected),callback:function ($$v) {_vm.cascadeSelected=$$v},expression:"cascadeSelected"}}),(_vm.showFiltersText)?_c('div',{staticClass:"filter-default-value"},[_vm._v(" Filters ")]):_vm._e(),_c('el-popover',{attrs:{"title":"How do filters work?","width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover"}},[_c('map-svg-icon',{staticClass:"help",attrs:{"slot":"reference","icon":"help"},slot:"reference"}),_c('div',[_c('strong',[_vm._v("Within categories:")]),_vm._v(" OR "),_c('br'),_vm._v(" example: 'heart' OR 'colon' "),_c('br'),_c('br'),_c('strong',[_vm._v("Between categories:")]),_vm._v(" AND "),_c('br'),_vm._v(" example: 'rat' AND 'lung' ")])],1)],1)]),_c('el-select',{staticClass:"number-shown-select",attrs:{"placeholder":"10"},on:{"change":function($event){return _vm.numberShownChanged($event)}},model:{value:(_vm.numberShown),callback:function ($$v) {_vm.numberShown=$$v},expression:"numberShown"}},_vm._l((_vm.numberDatasetsShown),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1),_c('span',{staticClass:"dataset-results-feedback"},[_vm._v(_vm._s(this.numberOfResultsText))])],1)}
|
|
990
997
|
var SearchFiltersvue_type_template_id_58d5fb22_scoped_true_staticRenderFns = []
|
|
991
998
|
|
|
@@ -1426,6 +1433,7 @@ function () {
|
|
|
1426
1433
|
value: function _processResultsForCards(results) {
|
|
1427
1434
|
var newResults = [];
|
|
1428
1435
|
var newResult = {};
|
|
1436
|
+
var id = 0;
|
|
1429
1437
|
var _iteratorNormalCompletion = true;
|
|
1430
1438
|
var _didIteratorError = false;
|
|
1431
1439
|
var _iteratorError = undefined;
|
|
@@ -1439,8 +1447,10 @@ function () {
|
|
|
1439
1447
|
name: res.item.name,
|
|
1440
1448
|
description: res.item.description,
|
|
1441
1449
|
updated: res.pennsieve.updatedAt,
|
|
1442
|
-
publishDate: res.pennsieve.publishDate
|
|
1450
|
+
publishDate: res.pennsieve.publishDate,
|
|
1451
|
+
id: id
|
|
1443
1452
|
};
|
|
1453
|
+
id++;
|
|
1444
1454
|
newResults.push(newResult);
|
|
1445
1455
|
}
|
|
1446
1456
|
} catch (err) {
|
|
@@ -2035,19 +2045,203 @@ var SearchFilters_component = normalizeComponent(
|
|
|
2035
2045
|
)
|
|
2036
2046
|
|
|
2037
2047
|
/* harmony default export */ var SearchFilters = (SearchFilters_component.exports);
|
|
2038
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2039
|
-
var
|
|
2040
|
-
var
|
|
2048
|
+
// 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=5dcf465c&scoped=true&
|
|
2049
|
+
var DatasetCardvue_type_template_id_5dcf465c_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()])])}
|
|
2050
|
+
var DatasetCardvue_type_template_id_5dcf465c_scoped_true_staticRenderFns = []
|
|
2041
2051
|
|
|
2042
2052
|
|
|
2043
|
-
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=
|
|
2053
|
+
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=5dcf465c&scoped=true&
|
|
2044
2054
|
|
|
2045
2055
|
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
2046
2056
|
|
|
2047
2057
|
var EventBus = new external_vue_default.a();
|
|
2048
2058
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
2049
2059
|
// CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
|
|
2050
|
-
/* harmony default export */ var hardcoded_context_info = ({
|
|
2060
|
+
/* harmony default export */ var hardcoded_context_info = ({
|
|
2061
|
+
221: {
|
|
2062
|
+
"description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M134, 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.",
|
|
2063
|
+
"heading": "Digital tracings of enteric plexus",
|
|
2064
|
+
"id": "sparc.science.context_data",
|
|
2065
|
+
"samples": [{
|
|
2066
|
+
"annotation": "",
|
|
2067
|
+
"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.",
|
|
2068
|
+
"doi": "",
|
|
2069
|
+
"heading": "Digital tracing for subject M11 ",
|
|
2070
|
+
"id": "Sample 1",
|
|
2071
|
+
"path": "derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
2072
|
+
"view": "View 1"
|
|
2073
|
+
}, {
|
|
2074
|
+
"annotation": "",
|
|
2075
|
+
"description": "Digital traces demonstrate 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.",
|
|
2076
|
+
"doi": "",
|
|
2077
|
+
"heading": "Digital tracing for subject M16",
|
|
2078
|
+
"id": "Sample 2",
|
|
2079
|
+
"path": "derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
2080
|
+
"view": "View 2"
|
|
2081
|
+
}, {
|
|
2082
|
+
"annotation": "",
|
|
2083
|
+
"description": "Digital traces demonstrate how the nerve fibers (dark green and orange) contact several neurons and/or run together with other fibers.",
|
|
2084
|
+
"doi": "",
|
|
2085
|
+
"heading": "Digital tracing for subject M134",
|
|
2086
|
+
"id": "Sample 3",
|
|
2087
|
+
"path": "derivative/sub-M134/sam-pCm134/digital-traces/pC XFP M134 20XZ 190806_191012_200130D_lx.xml",
|
|
2088
|
+
"view": "View 3"
|
|
2089
|
+
}, {
|
|
2090
|
+
"annotation": "",
|
|
2091
|
+
"description": "Various types of labeled neurons located in one large ganglion. Long nerve fibers from different directions cross the ganglion, and two fibers (magenta and green) run closely apposed in segments with axons of neurons (white and red). Two axons (aqua and peach on the top) are adjacent to each other, as well as two somas (red and yellow). One neuron (cyan) displays complex wiring with neurons nearby via the axon-soma, axon-dendritic and axon-axon contacts. Vertically projecting fibers in the left side are the fibers innervating the circular muscle. ",
|
|
2092
|
+
"doi": "",
|
|
2093
|
+
"heading": "Digital tracing for subject M162",
|
|
2094
|
+
"id": "Sample 4",
|
|
2095
|
+
"path": "derivative/sub-M162/sam-pCm162/digital-traces/pCm162_AAV_Z_20x_20200204_S1D_lx_li_z-flip.xml",
|
|
2096
|
+
"view": "View 4"
|
|
2097
|
+
}, {
|
|
2098
|
+
"annotation": "",
|
|
2099
|
+
"description": "Digital tracings from subject M163 are annotated into the following groups to highlight their interactions:\n\nF peach connex: A nerve fiber (peach) displays close appositions with a few neuronal processes. \n\nInterganglionic strand joined by Ns Fs:Axons (with contacts) and a long crossing fiber (dark green) join an interganglionic strand.\n\nN12 Connex: One neuron (green) is in contact with four others via axon-soma, axon-dendrites and axon-axon connections, as well as one passing fiber.\n",
|
|
2100
|
+
"doi": "",
|
|
2101
|
+
"heading": "Digital tracing for subject M163",
|
|
2102
|
+
"id": "Sample 5",
|
|
2103
|
+
"path": "derivative/sub-M163/sam-pCm163/digital-traces/pCm163_AAV_Z_20x_20200206_S3-ab.xml",
|
|
2104
|
+
"view": "View 5"
|
|
2105
|
+
}, {
|
|
2106
|
+
"annotation": "",
|
|
2107
|
+
"description": "Digital tracings for subject M164 demonstrates wiring of neuronal clusters.",
|
|
2108
|
+
"doi": "",
|
|
2109
|
+
"heading": "Digital tracing for subject M164",
|
|
2110
|
+
"id": "Sample 6",
|
|
2111
|
+
"path": "derivative/sub-M164/sam-pCm164/digital-traces/pCm164_AAV_Z_20x_20200211_S2A.xml",
|
|
2112
|
+
"view": "View 6"
|
|
2113
|
+
}, {
|
|
2114
|
+
"annotation": "",
|
|
2115
|
+
"description": "Digital tracings from subject M168 are annotated into the following groups to highlight their interactions:\n\nF Beige connex: Connections of one ganglion-crossing fiber (beige) with neurons and ganglion-crossing nerve fibers. \n\nF Green connex : Interganglionic connections.\n\nInterganglionic connex: Connections of one ganglion-crossing fiber (green) with neurons in two ganglia and ganglion-crossing nerve fibers. A nerve fiber (red) runs a long distance together with another fiber (green). \n\nIntraganglionic strand: Ganglia crossing fibers and axons of neurons join an interganglionic strand.",
|
|
2116
|
+
"doi": "",
|
|
2117
|
+
"heading": "Digital tracing for subject M168",
|
|
2118
|
+
"id": "Sample 7",
|
|
2119
|
+
"path": "derivative/sub-M168/digital-traces/pCm168_AAV_Z_20x_191211_S3B_lx.xml",
|
|
2120
|
+
"view": "View 7"
|
|
2121
|
+
}],
|
|
2122
|
+
"version": "0.1.0",
|
|
2123
|
+
"views": [{
|
|
2124
|
+
"annotation": "",
|
|
2125
|
+
"description": "Digital tracing of neurons for subject M16.",
|
|
2126
|
+
"id": "View 2",
|
|
2127
|
+
"path": "derivative/Scaffolds/AAV_M16_view.json",
|
|
2128
|
+
"sample": "Sample 7",
|
|
2129
|
+
"thumbnail": "derivative/Scaffolds/AAV_M16_thumbnail.jpeg"
|
|
2130
|
+
}, {
|
|
2131
|
+
"annotation": "",
|
|
2132
|
+
"description": "Digital tracing of neurons for subject M134.",
|
|
2133
|
+
"id": "View 3",
|
|
2134
|
+
"path": "derivative/Scaffolds/AAV_M134_view.json",
|
|
2135
|
+
"sample": "Sample 7",
|
|
2136
|
+
"thumbnail": "derivative/Scaffolds/AAV_M134_thumbnail.jpeg"
|
|
2137
|
+
}, {
|
|
2138
|
+
"annotation": "",
|
|
2139
|
+
"description": "Digital tracing of neurons for subject M162.",
|
|
2140
|
+
"id": "View 4",
|
|
2141
|
+
"path": "derivative/Scaffolds/AAV_M162_view.json",
|
|
2142
|
+
"sample": "Sample 7",
|
|
2143
|
+
"thumbnail": "derivative/Scaffolds/AAV_M162_thumbnail.jpeg"
|
|
2144
|
+
}, {
|
|
2145
|
+
"annotation": "",
|
|
2146
|
+
"description": "Digital tracing of neurons for subject M163.",
|
|
2147
|
+
"id": "View 5",
|
|
2148
|
+
"path": "derivative/Scaffolds/AAV_M163_view.json",
|
|
2149
|
+
"sample": "Sample 7",
|
|
2150
|
+
"thumbnail": "derivative/Scaffolds/AAV_M163_thumbnail.jpeg"
|
|
2151
|
+
}, {
|
|
2152
|
+
"annotation": "",
|
|
2153
|
+
"description": "Digital tracing of neurons for subject M164.",
|
|
2154
|
+
"id": "View 6",
|
|
2155
|
+
"path": "derivative/Scaffolds/AAV_M164_view.json",
|
|
2156
|
+
"sample": "Sample 7",
|
|
2157
|
+
"thumbnail": "derivative/Scaffolds/AAV_M164_thumbnail.jpeg"
|
|
2158
|
+
}, {
|
|
2159
|
+
"annotation": "",
|
|
2160
|
+
"description": "Digital tracing of neurons for subject M168.",
|
|
2161
|
+
"id": "View 7",
|
|
2162
|
+
"path": "derivative/Scaffolds/AAV_M168_view.json",
|
|
2163
|
+
"sample": "Sample 7",
|
|
2164
|
+
"thumbnail": "derivative/Scaffolds/AAV_M168_thumbnail.jpeg"
|
|
2165
|
+
}, {
|
|
2166
|
+
"annotation": "",
|
|
2167
|
+
"description": "Digital tracing of neurons for subject M11.",
|
|
2168
|
+
"id": "View 1",
|
|
2169
|
+
"path": "derivative/Scaffolds/AAV_M11_view.json",
|
|
2170
|
+
"sample": "Sample 1",
|
|
2171
|
+
"thumbnail": "derivative/Scaffolds/AAV_M11_thumbnail.jpeg"
|
|
2172
|
+
}]
|
|
2173
|
+
},
|
|
2174
|
+
125: {
|
|
2175
|
+
"description": "Cumulative distributions of retrogradely labeled motor neurons from 8 inter-tenial longitudinal muscle preparations and 7 preparations from the tenial region are mapped onto the human colon scaffold. \n\nNote that the distributions are mapped to the descending colon but consistent pattern were observed along the entire length of the colon.",
|
|
2176
|
+
"heading": "Mapped LMMN projections",
|
|
2177
|
+
"id": "sparc.science.context_data",
|
|
2178
|
+
"samples": [{
|
|
2179
|
+
"annotation": "",
|
|
2180
|
+
"description": "Excitatory motor neurons (ChAT+) are predominantly located aboral to the DiI application site, whereas inhibitory motor neurons (NOS+) are scattered across the distribution.",
|
|
2181
|
+
"doi": "",
|
|
2182
|
+
"heading": "Distribution of LMMN in inter-tenial region",
|
|
2183
|
+
"id": "Sample 2",
|
|
2184
|
+
"path": "",
|
|
2185
|
+
"view": "View 2"
|
|
2186
|
+
}, {
|
|
2187
|
+
"annotation": "",
|
|
2188
|
+
"description": "Excitatory motor neuron cell bodies (ChAT+) are clustered anal to the DiI application site and thus mostly had ascending projections while inhibitory motor neurons (NOS+) are located on both sides of the application site.",
|
|
2189
|
+
"doi": "",
|
|
2190
|
+
"heading": "Distribution of LMMN in tenial region",
|
|
2191
|
+
"id": "Sample 1",
|
|
2192
|
+
"path": "",
|
|
2193
|
+
"view": "View 1"
|
|
2194
|
+
}],
|
|
2195
|
+
"version": "0.1.0",
|
|
2196
|
+
"views": [{
|
|
2197
|
+
"annotation": "",
|
|
2198
|
+
"description": "Distribution of LMMN in tenial region",
|
|
2199
|
+
"id": "View 1",
|
|
2200
|
+
"path": "derivative/Scaffolds/scaffoldMap_tenial_view.json",
|
|
2201
|
+
"sample": "Sample 1",
|
|
2202
|
+
"thumbnail": "derivative/Scaffolds/scaffoldMap_tenial_thumbnail.jpeg"
|
|
2203
|
+
}, {
|
|
2204
|
+
"annotation": "",
|
|
2205
|
+
"description": "Distribution of LMMN in inter-tenial region",
|
|
2206
|
+
"id": "View 2",
|
|
2207
|
+
"path": "derivative/Scaffolds/scaffoldMap_intertenial_view.json",
|
|
2208
|
+
"sample": "Sample 2",
|
|
2209
|
+
"thumbnail": "derivative/Scaffolds/scaffoldMap_intertenial_thumbnail.jpeg"
|
|
2210
|
+
}]
|
|
2211
|
+
},
|
|
2212
|
+
34: {
|
|
2213
|
+
"description": "Relative contraction and mean luminal pressure (represented by a color field with red as high pressure and blue as low pressure) are mapped on the proximal, transverse and distal sections of the pig colon scaffold. Only sections monitored with manometry probes are displayed here and these sections are not contiguous. \n\nBaseline data was collected for 30min, followed by 15min of stimulation and 30min of post-stimulation.\n\nDuring stimulation, the distal colon was also observed to display longitudinal contraction which is not captured on the scaffold due to the lack of measurements. \n\n",
|
|
2214
|
+
"heading": "Direct distal colon stimulation",
|
|
2215
|
+
"id": "sparc.science.context_data",
|
|
2216
|
+
"samples": [{
|
|
2217
|
+
"annotation": "",
|
|
2218
|
+
"description": "",
|
|
2219
|
+
"doi": "",
|
|
2220
|
+
"heading": "Direct distal colon stimulation",
|
|
2221
|
+
"id": "Sample 1",
|
|
2222
|
+
"path": "derivative/sub-all_direct-stim_manometry_distal-colon.xlsx",
|
|
2223
|
+
"view": ""
|
|
2224
|
+
}],
|
|
2225
|
+
"version": "0.1.0",
|
|
2226
|
+
"views": []
|
|
2227
|
+
},
|
|
2228
|
+
150: {
|
|
2229
|
+
"description": "Relative contraction and mean luminal pressure (represented by a color field with red as high pressure and blue as low pressure) are mapped on the proximal, transverse and distal sections of the pig colon scaffold. Only sections monitored with manometry probes are displayed here and these sections are not contiguous. \n\nBaseline data was collected for 15min, followed by 10min of stimulation and 30min of post-stimulation.",
|
|
2230
|
+
"heading": "Acute CBVN 300us pulse-train without block",
|
|
2231
|
+
"id": "sparc.science.context_data",
|
|
2232
|
+
"samples": [{
|
|
2233
|
+
"annotation": "",
|
|
2234
|
+
"description": "",
|
|
2235
|
+
"doi": "",
|
|
2236
|
+
"heading": "Acute CBVN 300us pulse-train without block",
|
|
2237
|
+
"id": "Sample 1",
|
|
2238
|
+
"path": "derivative/perf-CBVN-stim_300us_5mA_PT/sub-all_CBVN-stim_300us_5_mA_PT_woB_manometry.xlsx",
|
|
2239
|
+
"view": ""
|
|
2240
|
+
}],
|
|
2241
|
+
"version": "0.1.0",
|
|
2242
|
+
"views": []
|
|
2243
|
+
}
|
|
2244
|
+
}); // //Uncomment the code below to add in hardcoded data
|
|
2051
2245
|
// export default {
|
|
2052
2246
|
// 77: {
|
|
2053
2247
|
// "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.",
|
|
@@ -2106,7 +2300,7 @@ var EventBus = new external_vue_default.a();
|
|
|
2106
2300
|
// "version": "0.1.0",
|
|
2107
2301
|
// "views": [
|
|
2108
2302
|
// {
|
|
2109
|
-
// "annotation": "
|
|
2303
|
+
// "annotation": "",
|
|
2110
2304
|
// "description": "Digital tracing of neurons for subject M11.",
|
|
2111
2305
|
// "id": "View 1",
|
|
2112
2306
|
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
@@ -2114,7 +2308,7 @@ var EventBus = new external_vue_default.a();
|
|
|
2114
2308
|
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
2115
2309
|
// },
|
|
2116
2310
|
// {
|
|
2117
|
-
// "annotation": "
|
|
2311
|
+
// "annotation": "",
|
|
2118
2312
|
// "description": "Digital tracing of neurons for subject M16.",
|
|
2119
2313
|
// "id": "View 2",
|
|
2120
2314
|
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
@@ -2303,7 +2497,7 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2303
2497
|
};
|
|
2304
2498
|
|
|
2305
2499
|
if (hardcoded_context_info[this.discoverId]) {
|
|
2306
|
-
action.contextCardUrl =
|
|
2500
|
+
action.contextCardUrl = Math.random();
|
|
2307
2501
|
}
|
|
2308
2502
|
|
|
2309
2503
|
this.propogateCardAction(action);
|
|
@@ -2447,13 +2641,14 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2447
2641
|
this.cardOverflow = false;
|
|
2448
2642
|
this.expanded = false;
|
|
2449
2643
|
this.cardOverflow = this.isOverflown(this.$refs.card);
|
|
2644
|
+
this.getBanner();
|
|
2450
2645
|
}
|
|
2451
2646
|
}
|
|
2452
2647
|
});
|
|
2453
2648
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
2454
2649
|
/* harmony default export */ var components_DatasetCardvue_type_script_lang_js_ = (DatasetCardvue_type_script_lang_js_);
|
|
2455
|
-
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=
|
|
2456
|
-
var
|
|
2650
|
+
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=5dcf465c&scoped=true&lang=css&
|
|
2651
|
+
var DatasetCardvue_type_style_index_0_id_5dcf465c_scoped_true_lang_css_ = __webpack_require__("1b25");
|
|
2457
2652
|
|
|
2458
2653
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue
|
|
2459
2654
|
|
|
@@ -2466,22 +2661,25 @@ var DatasetCardvue_type_style_index_0_id_75e03782_scoped_true_lang_css_ = __webp
|
|
|
2466
2661
|
|
|
2467
2662
|
var DatasetCard_component = normalizeComponent(
|
|
2468
2663
|
components_DatasetCardvue_type_script_lang_js_,
|
|
2469
|
-
|
|
2470
|
-
|
|
2664
|
+
DatasetCardvue_type_template_id_5dcf465c_scoped_true_render,
|
|
2665
|
+
DatasetCardvue_type_template_id_5dcf465c_scoped_true_staticRenderFns,
|
|
2471
2666
|
false,
|
|
2472
2667
|
null,
|
|
2473
|
-
"
|
|
2668
|
+
"5dcf465c",
|
|
2474
2669
|
null
|
|
2475
2670
|
|
|
2476
2671
|
)
|
|
2477
2672
|
|
|
2478
2673
|
/* harmony default export */ var DatasetCard = (DatasetCard_component.exports);
|
|
2479
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2480
|
-
var
|
|
2481
|
-
var
|
|
2674
|
+
// 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=e348049c&scoped=true&
|
|
2675
|
+
var ContextCardvue_type_template_id_e348049c_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)])}
|
|
2676
|
+
var ContextCardvue_type_template_id_e348049c_scoped_true_staticRenderFns = []
|
|
2482
2677
|
|
|
2483
2678
|
|
|
2484
|
-
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=
|
|
2679
|
+
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=e348049c&scoped=true&
|
|
2680
|
+
|
|
2681
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.is-finite"
|
|
2682
|
+
var es_number_is_finite_ = __webpack_require__("dbad");
|
|
2485
2683
|
|
|
2486
2684
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/link.css"
|
|
2487
2685
|
var link_css_ = __webpack_require__("230a");
|
|
@@ -2514,6 +2712,8 @@ var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
|
2514
2712
|
|
|
2515
2713
|
|
|
2516
2714
|
|
|
2715
|
+
|
|
2716
|
+
|
|
2517
2717
|
|
|
2518
2718
|
|
|
2519
2719
|
|
|
@@ -2599,7 +2799,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2599
2799
|
handler: function handler(val) {
|
|
2600
2800
|
if (val) {
|
|
2601
2801
|
// used for hardcoding data
|
|
2602
|
-
if (val
|
|
2802
|
+
if (Number.isFinite(val)) {
|
|
2603
2803
|
this.contextData = hardcoded_context_info[this.entry.discoverId];
|
|
2604
2804
|
} else {
|
|
2605
2805
|
this.getContextFile(val);
|
|
@@ -2625,7 +2825,6 @@ external_vue_default.a.use(input_default.a);
|
|
|
2625
2825
|
}
|
|
2626
2826
|
}).then(function (data) {
|
|
2627
2827
|
_this.contextData = data;
|
|
2628
|
-
console.log(data);
|
|
2629
2828
|
_this.loading = false;
|
|
2630
2829
|
}).catch(function () {
|
|
2631
2830
|
//set defaults if we hit an error
|
|
@@ -2650,7 +2849,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2650
2849
|
},
|
|
2651
2850
|
getFileFromPath: function getFileFromPath(path) {
|
|
2652
2851
|
// for hardcoded data
|
|
2653
|
-
if (this.entry.contextCardUrl
|
|
2852
|
+
if (this.entry.contextCardUrl && 1 > this.entry.contextCardUrl > 0) {
|
|
2654
2853
|
return path;
|
|
2655
2854
|
}
|
|
2656
2855
|
|
|
@@ -2670,8 +2869,8 @@ external_vue_default.a.use(input_default.a);
|
|
|
2670
2869
|
});
|
|
2671
2870
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=script&lang=js&
|
|
2672
2871
|
/* harmony default export */ var components_ContextCardvue_type_script_lang_js_ = (ContextCardvue_type_script_lang_js_);
|
|
2673
|
-
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=
|
|
2674
|
-
var
|
|
2872
|
+
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=e348049c&scoped=true&lang=css&
|
|
2873
|
+
var ContextCardvue_type_style_index_0_id_e348049c_scoped_true_lang_css_ = __webpack_require__("42ed");
|
|
2675
2874
|
|
|
2676
2875
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue
|
|
2677
2876
|
|
|
@@ -2684,11 +2883,11 @@ var ContextCardvue_type_style_index_0_id_41eb07ec_scoped_true_lang_css_ = __webp
|
|
|
2684
2883
|
|
|
2685
2884
|
var ContextCard_component = normalizeComponent(
|
|
2686
2885
|
components_ContextCardvue_type_script_lang_js_,
|
|
2687
|
-
|
|
2688
|
-
|
|
2886
|
+
ContextCardvue_type_template_id_e348049c_scoped_true_render,
|
|
2887
|
+
ContextCardvue_type_template_id_e348049c_scoped_true_staticRenderFns,
|
|
2689
2888
|
false,
|
|
2690
2889
|
null,
|
|
2691
|
-
"
|
|
2890
|
+
"e348049c",
|
|
2692
2891
|
null
|
|
2693
2892
|
|
|
2694
2893
|
)
|
|
@@ -2742,7 +2941,6 @@ var ContextCard_component = normalizeComponent(
|
|
|
2742
2941
|
|
|
2743
2942
|
|
|
2744
2943
|
|
|
2745
|
-
|
|
2746
2944
|
|
|
2747
2945
|
|
|
2748
2946
|
function SidebarContentvue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -2935,15 +3133,20 @@ var initial_state = {
|
|
|
2935
3133
|
contextCardUpdate: function contextCardUpdate(val) {
|
|
2936
3134
|
this.contextCardEntry = val;
|
|
2937
3135
|
},
|
|
2938
|
-
openSearch: function openSearch(
|
|
3136
|
+
openSearch: function openSearch(filters) {
|
|
3137
|
+
var _this = this;
|
|
3138
|
+
|
|
2939
3139
|
var search = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
2940
3140
|
this.searchInput = search;
|
|
2941
3141
|
this.resetPageNavigation();
|
|
2942
|
-
this.searchAlgolia(
|
|
3142
|
+
this.searchAlgolia(filters, search);
|
|
2943
3143
|
|
|
2944
|
-
if (
|
|
2945
|
-
|
|
2946
|
-
|
|
3144
|
+
if (filters) {
|
|
3145
|
+
filters.forEach(function (filter) {
|
|
3146
|
+
_this.filter = _toConsumableArray(filter);
|
|
3147
|
+
|
|
3148
|
+
_this.$refs.filtersRef.setCascader(_this.filter);
|
|
3149
|
+
});
|
|
2947
3150
|
}
|
|
2948
3151
|
},
|
|
2949
3152
|
addFilter: function addFilter(filter) {
|
|
@@ -2977,19 +3180,19 @@ var initial_state = {
|
|
|
2977
3180
|
});
|
|
2978
3181
|
},
|
|
2979
3182
|
searchAlgolia: function searchAlgolia(filters) {
|
|
2980
|
-
var
|
|
3183
|
+
var _this2 = this;
|
|
2981
3184
|
|
|
2982
3185
|
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
2983
3186
|
// Algolia search
|
|
2984
3187
|
this.algoliaClient.search(getFilters(filters), query, this.numberPerPage, this.page).then(function (searchData) {
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
'dois':
|
|
3188
|
+
_this2.numberOfHits = searchData.total;
|
|
3189
|
+
_this2.discoverIds = searchData.discoverIds;
|
|
3190
|
+
_this2.dois = searchData.dois;
|
|
3191
|
+
_this2.results = searchData.items;
|
|
3192
|
+
_this2.loadingCards = false;
|
|
3193
|
+
|
|
3194
|
+
_this2.searchSciCrunch({
|
|
3195
|
+
'dois': _this2.dois
|
|
2993
3196
|
});
|
|
2994
3197
|
});
|
|
2995
3198
|
},
|
|
@@ -3006,7 +3209,7 @@ var initial_state = {
|
|
|
3006
3209
|
this.searchAlgolia(this.filters, this.searchInput, this.numberPerPage, this.page);
|
|
3007
3210
|
},
|
|
3008
3211
|
searchSciCrunch: function searchSciCrunch(params) {
|
|
3009
|
-
var
|
|
3212
|
+
var _this3 = this;
|
|
3010
3213
|
|
|
3011
3214
|
this.loadingScicrunch = true;
|
|
3012
3215
|
this.scrollToTop();
|
|
@@ -3017,18 +3220,18 @@ var initial_state = {
|
|
|
3017
3220
|
this.callSciCrunch(this.envVars.API_LOCATION, params).then(function (result) {
|
|
3018
3221
|
//Only process if the search term is the same as the last search term.
|
|
3019
3222
|
//This avoid old search being displayed.
|
|
3020
|
-
|
|
3223
|
+
_this3.sciCrunchError = false;
|
|
3021
3224
|
|
|
3022
|
-
|
|
3225
|
+
_this3.resultsProcessing(result);
|
|
3023
3226
|
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3227
|
+
_this3.$refs.content.style["overflow-y"] = "scroll";
|
|
3228
|
+
_this3.loadingCards = false;
|
|
3229
|
+
_this3.loadingScicrunch = false;
|
|
3027
3230
|
}).catch(function (result) {
|
|
3028
3231
|
if (result.name !== 'AbortError') {
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3232
|
+
_this3.loadingCards = false;
|
|
3233
|
+
_this3.loadingScicrunch = false;
|
|
3234
|
+
_this3.sciCrunchError = result.message;
|
|
3032
3235
|
}
|
|
3033
3236
|
});
|
|
3034
3237
|
},
|
|
@@ -3045,10 +3248,9 @@ var initial_state = {
|
|
|
3045
3248
|
this.page = 1;
|
|
3046
3249
|
},
|
|
3047
3250
|
resultsProcessing: function resultsProcessing(data) {
|
|
3048
|
-
var
|
|
3251
|
+
var _this4 = this;
|
|
3049
3252
|
|
|
3050
3253
|
this.lastSearch = this.searchInput;
|
|
3051
|
-
var id = 0;
|
|
3052
3254
|
|
|
3053
3255
|
if (data.results.length === 0) {
|
|
3054
3256
|
return;
|
|
@@ -3056,14 +3258,14 @@ var initial_state = {
|
|
|
3056
3258
|
|
|
3057
3259
|
data.results.forEach(function (element) {
|
|
3058
3260
|
// match the scicrunch result with algolia result
|
|
3059
|
-
var i =
|
|
3261
|
+
var i = _this4.results.findIndex(function (res) {
|
|
3060
3262
|
return res.name === element.name;
|
|
3061
3263
|
}); // Assign scicrunch results to the object
|
|
3062
3264
|
|
|
3063
3265
|
|
|
3064
|
-
Object.assign(
|
|
3266
|
+
Object.assign(_this4.results[i], element); // Assign the attributes that need some processing
|
|
3065
3267
|
|
|
3066
|
-
Object.assign(
|
|
3268
|
+
Object.assign(_this4.results[i], {
|
|
3067
3269
|
numberSamples: element.sampleSize ? parseInt(element.sampleSize) : 0,
|
|
3068
3270
|
numberSubjects: element.subjectSize ? parseInt(element.subjectSize) : 0,
|
|
3069
3271
|
updated: element.updated[0].timestamp.split("T")[0],
|
|
@@ -3076,13 +3278,11 @@ var initial_state = {
|
|
|
3076
3278
|
return v.species ? v.species.name : null;
|
|
3077
3279
|
}))) : undefined : undefined,
|
|
3078
3280
|
// This processing only includes each gender once into 'sexes'
|
|
3079
|
-
id: id,
|
|
3080
3281
|
scaffolds: element['abi-scaffold-metadata-file'] ? element['abi-scaffold-metadata-file'] : undefined,
|
|
3081
3282
|
contextualInformation: element['abi-contextual-information'].length > 0 ? element['abi-contextual-information'] : undefined,
|
|
3082
|
-
simulation: element
|
|
3283
|
+
simulation: element['abi-simulation-file']
|
|
3083
3284
|
});
|
|
3084
|
-
|
|
3085
|
-
external_vue_default.a.set(_this3.results, i, _this3.results[i]);
|
|
3285
|
+
external_vue_default.a.set(_this4.results, i, _this4.results[i]);
|
|
3086
3286
|
});
|
|
3087
3287
|
},
|
|
3088
3288
|
createfilterParams: function createfilterParams(params) {
|
|
@@ -3105,17 +3305,17 @@ var initial_state = {
|
|
|
3105
3305
|
return p.toString();
|
|
3106
3306
|
},
|
|
3107
3307
|
callSciCrunch: function callSciCrunch(apiLocation) {
|
|
3108
|
-
var
|
|
3308
|
+
var _this5 = this;
|
|
3109
3309
|
|
|
3110
3310
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3111
3311
|
return new Promise(function (resolve, reject) {
|
|
3112
3312
|
// the following controller will abort current search
|
|
3113
3313
|
// if a new one has been started
|
|
3114
|
-
if (
|
|
3115
|
-
|
|
3116
|
-
var signal =
|
|
3314
|
+
if (_this5._controller) _this5._controller.abort();
|
|
3315
|
+
_this5._controller = new AbortController();
|
|
3316
|
+
var signal = _this5._controller.signal; // Add parameters if we are sent them
|
|
3117
3317
|
|
|
3118
|
-
var fullEndpoint =
|
|
3318
|
+
var fullEndpoint = _this5.envVars.API_LOCATION + _this5.searchEndpoint + "?" + _this5.createfilterParams(params);
|
|
3119
3319
|
|
|
3120
3320
|
fetch(fullEndpoint, {
|
|
3121
3321
|
signal: signal
|
|
@@ -3148,8 +3348,8 @@ var initial_state = {
|
|
|
3148
3348
|
});
|
|
3149
3349
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=script&lang=js&
|
|
3150
3350
|
/* harmony default export */ var components_SidebarContentvue_type_script_lang_js_ = (SidebarContentvue_type_script_lang_js_);
|
|
3151
|
-
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=
|
|
3152
|
-
var
|
|
3351
|
+
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=39cef630&scoped=true&lang=css&
|
|
3352
|
+
var SidebarContentvue_type_style_index_0_id_39cef630_scoped_true_lang_css_ = __webpack_require__("e941");
|
|
3153
3353
|
|
|
3154
3354
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue
|
|
3155
3355
|
|
|
@@ -3162,17 +3362,17 @@ var SidebarContentvue_type_style_index_0_id_53d83468_scoped_true_lang_css_ = __w
|
|
|
3162
3362
|
|
|
3163
3363
|
var SidebarContent_component = normalizeComponent(
|
|
3164
3364
|
components_SidebarContentvue_type_script_lang_js_,
|
|
3165
|
-
|
|
3166
|
-
|
|
3365
|
+
SidebarContentvue_type_template_id_39cef630_scoped_true_render,
|
|
3366
|
+
SidebarContentvue_type_template_id_39cef630_scoped_true_staticRenderFns,
|
|
3167
3367
|
false,
|
|
3168
3368
|
null,
|
|
3169
|
-
"
|
|
3369
|
+
"39cef630",
|
|
3170
3370
|
null
|
|
3171
3371
|
|
|
3172
3372
|
)
|
|
3173
3373
|
|
|
3174
3374
|
/* harmony default export */ var SidebarContent = (SidebarContent_component.exports);
|
|
3175
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3375
|
+
// 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&
|
|
3176
3376
|
var Tabsvue_type_template_id_d68260c4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tab-container"},_vm._l((_vm.tabTitles),function(title){return _c('div',{key:title.id,staticClass:"title"},[_c('div',{staticClass:"title-text-table",class:{ highlightText : (title.id==_vm.activeId) },on:{"click":function($event){return _vm.titleClicked(title.id)}}},[_c('div',{staticClass:"title-text"},[_vm._v(" "+_vm._s(title.title)+" ")])])])}),0)}
|
|
3177
3377
|
var Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns = []
|
|
3178
3378
|
|