@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
|
@@ -150,6 +150,17 @@ module.exports = require("core-js/modules/es.array.concat");
|
|
|
150
150
|
|
|
151
151
|
/***/ }),
|
|
152
152
|
|
|
153
|
+
/***/ "1b25":
|
|
154
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
155
|
+
|
|
156
|
+
"use strict";
|
|
157
|
+
/* 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");
|
|
158
|
+
/* 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__);
|
|
159
|
+
/* unused harmony reexport * */
|
|
160
|
+
/* 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);
|
|
161
|
+
|
|
162
|
+
/***/ }),
|
|
163
|
+
|
|
153
164
|
/***/ "1ce0":
|
|
154
165
|
/***/ (function(module, exports) {
|
|
155
166
|
|
|
@@ -171,6 +182,13 @@ module.exports = require("core-js/modules/es.object.keys");
|
|
|
171
182
|
|
|
172
183
|
/***/ }),
|
|
173
184
|
|
|
185
|
+
/***/ "21a5":
|
|
186
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
187
|
+
|
|
188
|
+
// extracted by mini-css-extract-plugin
|
|
189
|
+
|
|
190
|
+
/***/ }),
|
|
191
|
+
|
|
174
192
|
/***/ "230a":
|
|
175
193
|
/***/ (function(module, exports) {
|
|
176
194
|
|
|
@@ -185,17 +203,6 @@ module.exports = require("element-ui/lib/theme-chalk/button.css");
|
|
|
185
203
|
|
|
186
204
|
/***/ }),
|
|
187
205
|
|
|
188
|
-
/***/ "26e6":
|
|
189
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
190
|
-
|
|
191
|
-
"use strict";
|
|
192
|
-
/* 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");
|
|
193
|
-
/* 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__);
|
|
194
|
-
/* unused harmony reexport * */
|
|
195
|
-
/* 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);
|
|
196
|
-
|
|
197
|
-
/***/ }),
|
|
198
|
-
|
|
199
206
|
/***/ "2a6f":
|
|
200
207
|
/***/ (function(module, exports) {
|
|
201
208
|
|
|
@@ -217,17 +224,21 @@ module.exports = require("element-ui/lib/drawer");
|
|
|
217
224
|
|
|
218
225
|
/***/ }),
|
|
219
226
|
|
|
220
|
-
/***/ "
|
|
221
|
-
/***/ (function(module, exports
|
|
227
|
+
/***/ "429c":
|
|
228
|
+
/***/ (function(module, exports) {
|
|
222
229
|
|
|
223
|
-
|
|
230
|
+
module.exports = require("@abi-software/svg-sprite");
|
|
224
231
|
|
|
225
232
|
/***/ }),
|
|
226
233
|
|
|
227
|
-
/***/ "
|
|
228
|
-
/***/ (function(module,
|
|
234
|
+
/***/ "42ed":
|
|
235
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
229
236
|
|
|
230
|
-
|
|
237
|
+
"use strict";
|
|
238
|
+
/* 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");
|
|
239
|
+
/* 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__);
|
|
240
|
+
/* unused harmony reexport * */
|
|
241
|
+
/* 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);
|
|
231
242
|
|
|
232
243
|
/***/ }),
|
|
233
244
|
|
|
@@ -326,13 +337,6 @@ module.exports = require("core-js/modules/es.array.slice");
|
|
|
326
337
|
|
|
327
338
|
/***/ }),
|
|
328
339
|
|
|
329
|
-
/***/ "6824":
|
|
330
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
331
|
-
|
|
332
|
-
// extracted by mini-css-extract-plugin
|
|
333
|
-
|
|
334
|
-
/***/ }),
|
|
335
|
-
|
|
336
340
|
/***/ "6b07":
|
|
337
341
|
/***/ (function(module, exports) {
|
|
338
342
|
|
|
@@ -375,14 +379,10 @@ module.exports = require("core-js/modules/es.number.constructor");
|
|
|
375
379
|
|
|
376
380
|
/***/ }),
|
|
377
381
|
|
|
378
|
-
/***/ "
|
|
379
|
-
/***/ (function(module,
|
|
382
|
+
/***/ "7963":
|
|
383
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
380
384
|
|
|
381
|
-
|
|
382
|
-
/* 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");
|
|
383
|
-
/* 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__);
|
|
384
|
-
/* unused harmony reexport * */
|
|
385
|
-
/* 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);
|
|
385
|
+
// extracted by mini-css-extract-plugin
|
|
386
386
|
|
|
387
387
|
/***/ }),
|
|
388
388
|
|
|
@@ -442,6 +442,13 @@ module.exports = require("core-js/modules/es.object.to-string");
|
|
|
442
442
|
|
|
443
443
|
/***/ }),
|
|
444
444
|
|
|
445
|
+
/***/ "872a":
|
|
446
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
447
|
+
|
|
448
|
+
// extracted by mini-css-extract-plugin
|
|
449
|
+
|
|
450
|
+
/***/ }),
|
|
451
|
+
|
|
445
452
|
/***/ "88eb":
|
|
446
453
|
/***/ (function(module, exports) {
|
|
447
454
|
|
|
@@ -614,14 +621,10 @@ module.exports = require("element-ui/lib/option");
|
|
|
614
621
|
|
|
615
622
|
/***/ }),
|
|
616
623
|
|
|
617
|
-
/***/ "
|
|
618
|
-
/***/ (function(module,
|
|
624
|
+
/***/ "dbad":
|
|
625
|
+
/***/ (function(module, exports) {
|
|
619
626
|
|
|
620
|
-
|
|
621
|
-
/* 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");
|
|
622
|
-
/* 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__);
|
|
623
|
-
/* unused harmony reexport * */
|
|
624
|
-
/* 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);
|
|
627
|
+
module.exports = require("core-js/modules/es.number.is-finite");
|
|
625
628
|
|
|
626
629
|
/***/ }),
|
|
627
630
|
|
|
@@ -653,6 +656,17 @@ module.exports = require("element-ui/lib/input");
|
|
|
653
656
|
|
|
654
657
|
/***/ }),
|
|
655
658
|
|
|
659
|
+
/***/ "e941":
|
|
660
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
661
|
+
|
|
662
|
+
"use strict";
|
|
663
|
+
/* 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");
|
|
664
|
+
/* 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__);
|
|
665
|
+
/* unused harmony reexport * */
|
|
666
|
+
/* 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);
|
|
667
|
+
|
|
668
|
+
/***/ }),
|
|
669
|
+
|
|
656
670
|
/***/ "ece9":
|
|
657
671
|
/***/ (function(module, exports) {
|
|
658
672
|
|
|
@@ -685,13 +699,6 @@ module.exports = require("core-js/modules/es.array.map");
|
|
|
685
699
|
|
|
686
700
|
/***/ }),
|
|
687
701
|
|
|
688
|
-
/***/ "f86d":
|
|
689
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
690
|
-
|
|
691
|
-
// extracted by mini-css-extract-plugin
|
|
692
|
-
|
|
693
|
-
/***/ }),
|
|
694
|
-
|
|
695
702
|
/***/ "f96d":
|
|
696
703
|
/***/ (function(module, exports) {
|
|
697
704
|
|
|
@@ -726,7 +733,7 @@ if (typeof window !== 'undefined') {
|
|
|
726
733
|
// Indicate to webpack that this file can be concatenated
|
|
727
734
|
/* harmony default export */ var setPublicPath = (null);
|
|
728
735
|
|
|
729
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
736
|
+
// 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&
|
|
730
737
|
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
738
|
var staticRenderFns = []
|
|
732
739
|
|
|
@@ -801,15 +808,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
801
808
|
var locale_ = __webpack_require__("7f9f");
|
|
802
809
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
803
810
|
|
|
804
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
805
|
-
var
|
|
806
|
-
var
|
|
807
|
-
|
|
811
|
+
// 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&
|
|
812
|
+
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)}
|
|
813
|
+
var SidebarContentvue_type_template_id_39cef630_scoped_true_staticRenderFns = []
|
|
808
814
|
|
|
809
|
-
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=53d83468&scoped=true&
|
|
810
815
|
|
|
811
|
-
//
|
|
812
|
-
var es_symbol_description_ = __webpack_require__("51e9");
|
|
816
|
+
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=39cef630&scoped=true&
|
|
813
817
|
|
|
814
818
|
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index"
|
|
815
819
|
var es_array_find_index_ = __webpack_require__("aecd");
|
|
@@ -869,6 +873,9 @@ function _arrayWithoutHoles(arr) {
|
|
|
869
873
|
return arr2;
|
|
870
874
|
}
|
|
871
875
|
}
|
|
876
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description"
|
|
877
|
+
var es_symbol_description_ = __webpack_require__("51e9");
|
|
878
|
+
|
|
872
879
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator"
|
|
873
880
|
var es_symbol_iterator_ = __webpack_require__("02ac");
|
|
874
881
|
|
|
@@ -976,7 +983,7 @@ var button_css_ = __webpack_require__("26bc");
|
|
|
976
983
|
var button_ = __webpack_require__("5d8c");
|
|
977
984
|
var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
978
985
|
|
|
979
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
986
|
+
// 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
987
|
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
988
|
var SearchFiltersvue_type_template_id_58d5fb22_scoped_true_staticRenderFns = []
|
|
982
989
|
|
|
@@ -1417,6 +1424,7 @@ function () {
|
|
|
1417
1424
|
value: function _processResultsForCards(results) {
|
|
1418
1425
|
var newResults = [];
|
|
1419
1426
|
var newResult = {};
|
|
1427
|
+
var id = 0;
|
|
1420
1428
|
var _iteratorNormalCompletion = true;
|
|
1421
1429
|
var _didIteratorError = false;
|
|
1422
1430
|
var _iteratorError = undefined;
|
|
@@ -1430,8 +1438,10 @@ function () {
|
|
|
1430
1438
|
name: res.item.name,
|
|
1431
1439
|
description: res.item.description,
|
|
1432
1440
|
updated: res.pennsieve.updatedAt,
|
|
1433
|
-
publishDate: res.pennsieve.publishDate
|
|
1441
|
+
publishDate: res.pennsieve.publishDate,
|
|
1442
|
+
id: id
|
|
1434
1443
|
};
|
|
1444
|
+
id++;
|
|
1435
1445
|
newResults.push(newResult);
|
|
1436
1446
|
}
|
|
1437
1447
|
} catch (err) {
|
|
@@ -2026,19 +2036,203 @@ var SearchFilters_component = normalizeComponent(
|
|
|
2026
2036
|
)
|
|
2027
2037
|
|
|
2028
2038
|
/* harmony default export */ var SearchFilters = (SearchFilters_component.exports);
|
|
2029
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2030
|
-
var
|
|
2031
|
-
var
|
|
2039
|
+
// 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&
|
|
2040
|
+
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()])])}
|
|
2041
|
+
var DatasetCardvue_type_template_id_5dcf465c_scoped_true_staticRenderFns = []
|
|
2032
2042
|
|
|
2033
2043
|
|
|
2034
|
-
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=
|
|
2044
|
+
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=5dcf465c&scoped=true&
|
|
2035
2045
|
|
|
2036
2046
|
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
2037
2047
|
|
|
2038
2048
|
var EventBus = new external_vue_default.a();
|
|
2039
2049
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
2040
2050
|
// CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
|
|
2041
|
-
/* harmony default export */ var hardcoded_context_info = ({
|
|
2051
|
+
/* harmony default export */ var hardcoded_context_info = ({
|
|
2052
|
+
221: {
|
|
2053
|
+
"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.",
|
|
2054
|
+
"heading": "Digital tracings of enteric plexus",
|
|
2055
|
+
"id": "sparc.science.context_data",
|
|
2056
|
+
"samples": [{
|
|
2057
|
+
"annotation": "",
|
|
2058
|
+
"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.",
|
|
2059
|
+
"doi": "",
|
|
2060
|
+
"heading": "Digital tracing for subject M11 ",
|
|
2061
|
+
"id": "Sample 1",
|
|
2062
|
+
"path": "derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
2063
|
+
"view": "View 1"
|
|
2064
|
+
}, {
|
|
2065
|
+
"annotation": "",
|
|
2066
|
+
"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.",
|
|
2067
|
+
"doi": "",
|
|
2068
|
+
"heading": "Digital tracing for subject M16",
|
|
2069
|
+
"id": "Sample 2",
|
|
2070
|
+
"path": "derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
2071
|
+
"view": "View 2"
|
|
2072
|
+
}, {
|
|
2073
|
+
"annotation": "",
|
|
2074
|
+
"description": "Digital traces demonstrate how the nerve fibers (dark green and orange) contact several neurons and/or run together with other fibers.",
|
|
2075
|
+
"doi": "",
|
|
2076
|
+
"heading": "Digital tracing for subject M134",
|
|
2077
|
+
"id": "Sample 3",
|
|
2078
|
+
"path": "derivative/sub-M134/sam-pCm134/digital-traces/pC XFP M134 20XZ 190806_191012_200130D_lx.xml",
|
|
2079
|
+
"view": "View 3"
|
|
2080
|
+
}, {
|
|
2081
|
+
"annotation": "",
|
|
2082
|
+
"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. ",
|
|
2083
|
+
"doi": "",
|
|
2084
|
+
"heading": "Digital tracing for subject M162",
|
|
2085
|
+
"id": "Sample 4",
|
|
2086
|
+
"path": "derivative/sub-M162/sam-pCm162/digital-traces/pCm162_AAV_Z_20x_20200204_S1D_lx_li_z-flip.xml",
|
|
2087
|
+
"view": "View 4"
|
|
2088
|
+
}, {
|
|
2089
|
+
"annotation": "",
|
|
2090
|
+
"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",
|
|
2091
|
+
"doi": "",
|
|
2092
|
+
"heading": "Digital tracing for subject M163",
|
|
2093
|
+
"id": "Sample 5",
|
|
2094
|
+
"path": "derivative/sub-M163/sam-pCm163/digital-traces/pCm163_AAV_Z_20x_20200206_S3-ab.xml",
|
|
2095
|
+
"view": "View 5"
|
|
2096
|
+
}, {
|
|
2097
|
+
"annotation": "",
|
|
2098
|
+
"description": "Digital tracings for subject M164 demonstrates wiring of neuronal clusters.",
|
|
2099
|
+
"doi": "",
|
|
2100
|
+
"heading": "Digital tracing for subject M164",
|
|
2101
|
+
"id": "Sample 6",
|
|
2102
|
+
"path": "derivative/sub-M164/sam-pCm164/digital-traces/pCm164_AAV_Z_20x_20200211_S2A.xml",
|
|
2103
|
+
"view": "View 6"
|
|
2104
|
+
}, {
|
|
2105
|
+
"annotation": "",
|
|
2106
|
+
"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.",
|
|
2107
|
+
"doi": "",
|
|
2108
|
+
"heading": "Digital tracing for subject M168",
|
|
2109
|
+
"id": "Sample 7",
|
|
2110
|
+
"path": "derivative/sub-M168/digital-traces/pCm168_AAV_Z_20x_191211_S3B_lx.xml",
|
|
2111
|
+
"view": "View 7"
|
|
2112
|
+
}],
|
|
2113
|
+
"version": "0.1.0",
|
|
2114
|
+
"views": [{
|
|
2115
|
+
"annotation": "",
|
|
2116
|
+
"description": "Digital tracing of neurons for subject M16.",
|
|
2117
|
+
"id": "View 2",
|
|
2118
|
+
"path": "derivative/Scaffolds/AAV_M16_view.json",
|
|
2119
|
+
"sample": "Sample 7",
|
|
2120
|
+
"thumbnail": "derivative/Scaffolds/AAV_M16_thumbnail.jpeg"
|
|
2121
|
+
}, {
|
|
2122
|
+
"annotation": "",
|
|
2123
|
+
"description": "Digital tracing of neurons for subject M134.",
|
|
2124
|
+
"id": "View 3",
|
|
2125
|
+
"path": "derivative/Scaffolds/AAV_M134_view.json",
|
|
2126
|
+
"sample": "Sample 7",
|
|
2127
|
+
"thumbnail": "derivative/Scaffolds/AAV_M134_thumbnail.jpeg"
|
|
2128
|
+
}, {
|
|
2129
|
+
"annotation": "",
|
|
2130
|
+
"description": "Digital tracing of neurons for subject M162.",
|
|
2131
|
+
"id": "View 4",
|
|
2132
|
+
"path": "derivative/Scaffolds/AAV_M162_view.json",
|
|
2133
|
+
"sample": "Sample 7",
|
|
2134
|
+
"thumbnail": "derivative/Scaffolds/AAV_M162_thumbnail.jpeg"
|
|
2135
|
+
}, {
|
|
2136
|
+
"annotation": "",
|
|
2137
|
+
"description": "Digital tracing of neurons for subject M163.",
|
|
2138
|
+
"id": "View 5",
|
|
2139
|
+
"path": "derivative/Scaffolds/AAV_M163_view.json",
|
|
2140
|
+
"sample": "Sample 7",
|
|
2141
|
+
"thumbnail": "derivative/Scaffolds/AAV_M163_thumbnail.jpeg"
|
|
2142
|
+
}, {
|
|
2143
|
+
"annotation": "",
|
|
2144
|
+
"description": "Digital tracing of neurons for subject M164.",
|
|
2145
|
+
"id": "View 6",
|
|
2146
|
+
"path": "derivative/Scaffolds/AAV_M164_view.json",
|
|
2147
|
+
"sample": "Sample 7",
|
|
2148
|
+
"thumbnail": "derivative/Scaffolds/AAV_M164_thumbnail.jpeg"
|
|
2149
|
+
}, {
|
|
2150
|
+
"annotation": "",
|
|
2151
|
+
"description": "Digital tracing of neurons for subject M168.",
|
|
2152
|
+
"id": "View 7",
|
|
2153
|
+
"path": "derivative/Scaffolds/AAV_M168_view.json",
|
|
2154
|
+
"sample": "Sample 7",
|
|
2155
|
+
"thumbnail": "derivative/Scaffolds/AAV_M168_thumbnail.jpeg"
|
|
2156
|
+
}, {
|
|
2157
|
+
"annotation": "",
|
|
2158
|
+
"description": "Digital tracing of neurons for subject M11.",
|
|
2159
|
+
"id": "View 1",
|
|
2160
|
+
"path": "derivative/Scaffolds/AAV_M11_view.json",
|
|
2161
|
+
"sample": "Sample 1",
|
|
2162
|
+
"thumbnail": "derivative/Scaffolds/AAV_M11_thumbnail.jpeg"
|
|
2163
|
+
}]
|
|
2164
|
+
},
|
|
2165
|
+
125: {
|
|
2166
|
+
"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.",
|
|
2167
|
+
"heading": "Mapped LMMN projections",
|
|
2168
|
+
"id": "sparc.science.context_data",
|
|
2169
|
+
"samples": [{
|
|
2170
|
+
"annotation": "",
|
|
2171
|
+
"description": "Excitatory motor neurons (ChAT+) are predominantly located aboral to the DiI application site, whereas inhibitory motor neurons (NOS+) are scattered across the distribution.",
|
|
2172
|
+
"doi": "",
|
|
2173
|
+
"heading": "Distribution of LMMN in inter-tenial region",
|
|
2174
|
+
"id": "Sample 2",
|
|
2175
|
+
"path": "",
|
|
2176
|
+
"view": "View 2"
|
|
2177
|
+
}, {
|
|
2178
|
+
"annotation": "",
|
|
2179
|
+
"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.",
|
|
2180
|
+
"doi": "",
|
|
2181
|
+
"heading": "Distribution of LMMN in tenial region",
|
|
2182
|
+
"id": "Sample 1",
|
|
2183
|
+
"path": "",
|
|
2184
|
+
"view": "View 1"
|
|
2185
|
+
}],
|
|
2186
|
+
"version": "0.1.0",
|
|
2187
|
+
"views": [{
|
|
2188
|
+
"annotation": "",
|
|
2189
|
+
"description": "Distribution of LMMN in tenial region",
|
|
2190
|
+
"id": "View 1",
|
|
2191
|
+
"path": "derivative/Scaffolds/scaffoldMap_tenial_view.json",
|
|
2192
|
+
"sample": "Sample 1",
|
|
2193
|
+
"thumbnail": "derivative/Scaffolds/scaffoldMap_tenial_thumbnail.jpeg"
|
|
2194
|
+
}, {
|
|
2195
|
+
"annotation": "",
|
|
2196
|
+
"description": "Distribution of LMMN in inter-tenial region",
|
|
2197
|
+
"id": "View 2",
|
|
2198
|
+
"path": "derivative/Scaffolds/scaffoldMap_intertenial_view.json",
|
|
2199
|
+
"sample": "Sample 2",
|
|
2200
|
+
"thumbnail": "derivative/Scaffolds/scaffoldMap_intertenial_thumbnail.jpeg"
|
|
2201
|
+
}]
|
|
2202
|
+
},
|
|
2203
|
+
34: {
|
|
2204
|
+
"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",
|
|
2205
|
+
"heading": "Direct distal colon stimulation",
|
|
2206
|
+
"id": "sparc.science.context_data",
|
|
2207
|
+
"samples": [{
|
|
2208
|
+
"annotation": "",
|
|
2209
|
+
"description": "",
|
|
2210
|
+
"doi": "",
|
|
2211
|
+
"heading": "Direct distal colon stimulation",
|
|
2212
|
+
"id": "Sample 1",
|
|
2213
|
+
"path": "derivative/sub-all_direct-stim_manometry_distal-colon.xlsx",
|
|
2214
|
+
"view": ""
|
|
2215
|
+
}],
|
|
2216
|
+
"version": "0.1.0",
|
|
2217
|
+
"views": []
|
|
2218
|
+
},
|
|
2219
|
+
150: {
|
|
2220
|
+
"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.",
|
|
2221
|
+
"heading": "Acute CBVN 300us pulse-train without block",
|
|
2222
|
+
"id": "sparc.science.context_data",
|
|
2223
|
+
"samples": [{
|
|
2224
|
+
"annotation": "",
|
|
2225
|
+
"description": "",
|
|
2226
|
+
"doi": "",
|
|
2227
|
+
"heading": "Acute CBVN 300us pulse-train without block",
|
|
2228
|
+
"id": "Sample 1",
|
|
2229
|
+
"path": "derivative/perf-CBVN-stim_300us_5mA_PT/sub-all_CBVN-stim_300us_5_mA_PT_woB_manometry.xlsx",
|
|
2230
|
+
"view": ""
|
|
2231
|
+
}],
|
|
2232
|
+
"version": "0.1.0",
|
|
2233
|
+
"views": []
|
|
2234
|
+
}
|
|
2235
|
+
}); // //Uncomment the code below to add in hardcoded data
|
|
2042
2236
|
// export default {
|
|
2043
2237
|
// 77: {
|
|
2044
2238
|
// "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.",
|
|
@@ -2097,7 +2291,7 @@ var EventBus = new external_vue_default.a();
|
|
|
2097
2291
|
// "version": "0.1.0",
|
|
2098
2292
|
// "views": [
|
|
2099
2293
|
// {
|
|
2100
|
-
// "annotation": "
|
|
2294
|
+
// "annotation": "",
|
|
2101
2295
|
// "description": "Digital tracing of neurons for subject M11.",
|
|
2102
2296
|
// "id": "View 1",
|
|
2103
2297
|
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
@@ -2105,7 +2299,7 @@ var EventBus = new external_vue_default.a();
|
|
|
2105
2299
|
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
2106
2300
|
// },
|
|
2107
2301
|
// {
|
|
2108
|
-
// "annotation": "
|
|
2302
|
+
// "annotation": "",
|
|
2109
2303
|
// "description": "Digital tracing of neurons for subject M16.",
|
|
2110
2304
|
// "id": "View 2",
|
|
2111
2305
|
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
@@ -2294,7 +2488,7 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2294
2488
|
};
|
|
2295
2489
|
|
|
2296
2490
|
if (hardcoded_context_info[this.discoverId]) {
|
|
2297
|
-
action.contextCardUrl =
|
|
2491
|
+
action.contextCardUrl = Math.random();
|
|
2298
2492
|
}
|
|
2299
2493
|
|
|
2300
2494
|
this.propogateCardAction(action);
|
|
@@ -2438,13 +2632,14 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2438
2632
|
this.cardOverflow = false;
|
|
2439
2633
|
this.expanded = false;
|
|
2440
2634
|
this.cardOverflow = this.isOverflown(this.$refs.card);
|
|
2635
|
+
this.getBanner();
|
|
2441
2636
|
}
|
|
2442
2637
|
}
|
|
2443
2638
|
});
|
|
2444
2639
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
2445
2640
|
/* harmony default export */ var components_DatasetCardvue_type_script_lang_js_ = (DatasetCardvue_type_script_lang_js_);
|
|
2446
|
-
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=
|
|
2447
|
-
var
|
|
2641
|
+
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=5dcf465c&scoped=true&lang=css&
|
|
2642
|
+
var DatasetCardvue_type_style_index_0_id_5dcf465c_scoped_true_lang_css_ = __webpack_require__("1b25");
|
|
2448
2643
|
|
|
2449
2644
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue
|
|
2450
2645
|
|
|
@@ -2457,22 +2652,25 @@ var DatasetCardvue_type_style_index_0_id_75e03782_scoped_true_lang_css_ = __webp
|
|
|
2457
2652
|
|
|
2458
2653
|
var DatasetCard_component = normalizeComponent(
|
|
2459
2654
|
components_DatasetCardvue_type_script_lang_js_,
|
|
2460
|
-
|
|
2461
|
-
|
|
2655
|
+
DatasetCardvue_type_template_id_5dcf465c_scoped_true_render,
|
|
2656
|
+
DatasetCardvue_type_template_id_5dcf465c_scoped_true_staticRenderFns,
|
|
2462
2657
|
false,
|
|
2463
2658
|
null,
|
|
2464
|
-
"
|
|
2659
|
+
"5dcf465c",
|
|
2465
2660
|
null
|
|
2466
2661
|
|
|
2467
2662
|
)
|
|
2468
2663
|
|
|
2469
2664
|
/* harmony default export */ var DatasetCard = (DatasetCard_component.exports);
|
|
2470
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2471
|
-
var
|
|
2472
|
-
var
|
|
2665
|
+
// 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&
|
|
2666
|
+
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)])}
|
|
2667
|
+
var ContextCardvue_type_template_id_e348049c_scoped_true_staticRenderFns = []
|
|
2473
2668
|
|
|
2474
2669
|
|
|
2475
|
-
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=
|
|
2670
|
+
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=e348049c&scoped=true&
|
|
2671
|
+
|
|
2672
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.is-finite"
|
|
2673
|
+
var es_number_is_finite_ = __webpack_require__("dbad");
|
|
2476
2674
|
|
|
2477
2675
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/link.css"
|
|
2478
2676
|
var link_css_ = __webpack_require__("230a");
|
|
@@ -2505,6 +2703,8 @@ var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
|
2505
2703
|
|
|
2506
2704
|
|
|
2507
2705
|
|
|
2706
|
+
|
|
2707
|
+
|
|
2508
2708
|
|
|
2509
2709
|
|
|
2510
2710
|
|
|
@@ -2590,7 +2790,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2590
2790
|
handler: function handler(val) {
|
|
2591
2791
|
if (val) {
|
|
2592
2792
|
// used for hardcoding data
|
|
2593
|
-
if (val
|
|
2793
|
+
if (Number.isFinite(val)) {
|
|
2594
2794
|
this.contextData = hardcoded_context_info[this.entry.discoverId];
|
|
2595
2795
|
} else {
|
|
2596
2796
|
this.getContextFile(val);
|
|
@@ -2616,7 +2816,6 @@ external_vue_default.a.use(input_default.a);
|
|
|
2616
2816
|
}
|
|
2617
2817
|
}).then(function (data) {
|
|
2618
2818
|
_this.contextData = data;
|
|
2619
|
-
console.log(data);
|
|
2620
2819
|
_this.loading = false;
|
|
2621
2820
|
}).catch(function () {
|
|
2622
2821
|
//set defaults if we hit an error
|
|
@@ -2641,7 +2840,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2641
2840
|
},
|
|
2642
2841
|
getFileFromPath: function getFileFromPath(path) {
|
|
2643
2842
|
// for hardcoded data
|
|
2644
|
-
if (this.entry.contextCardUrl
|
|
2843
|
+
if (this.entry.contextCardUrl && 1 > this.entry.contextCardUrl > 0) {
|
|
2645
2844
|
return path;
|
|
2646
2845
|
}
|
|
2647
2846
|
|
|
@@ -2661,8 +2860,8 @@ external_vue_default.a.use(input_default.a);
|
|
|
2661
2860
|
});
|
|
2662
2861
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=script&lang=js&
|
|
2663
2862
|
/* harmony default export */ var components_ContextCardvue_type_script_lang_js_ = (ContextCardvue_type_script_lang_js_);
|
|
2664
|
-
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=
|
|
2665
|
-
var
|
|
2863
|
+
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=e348049c&scoped=true&lang=css&
|
|
2864
|
+
var ContextCardvue_type_style_index_0_id_e348049c_scoped_true_lang_css_ = __webpack_require__("42ed");
|
|
2666
2865
|
|
|
2667
2866
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue
|
|
2668
2867
|
|
|
@@ -2675,11 +2874,11 @@ var ContextCardvue_type_style_index_0_id_41eb07ec_scoped_true_lang_css_ = __webp
|
|
|
2675
2874
|
|
|
2676
2875
|
var ContextCard_component = normalizeComponent(
|
|
2677
2876
|
components_ContextCardvue_type_script_lang_js_,
|
|
2678
|
-
|
|
2679
|
-
|
|
2877
|
+
ContextCardvue_type_template_id_e348049c_scoped_true_render,
|
|
2878
|
+
ContextCardvue_type_template_id_e348049c_scoped_true_staticRenderFns,
|
|
2680
2879
|
false,
|
|
2681
2880
|
null,
|
|
2682
|
-
"
|
|
2881
|
+
"e348049c",
|
|
2683
2882
|
null
|
|
2684
2883
|
|
|
2685
2884
|
)
|
|
@@ -2733,7 +2932,6 @@ var ContextCard_component = normalizeComponent(
|
|
|
2733
2932
|
|
|
2734
2933
|
|
|
2735
2934
|
|
|
2736
|
-
|
|
2737
2935
|
|
|
2738
2936
|
|
|
2739
2937
|
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; }
|
|
@@ -2926,15 +3124,20 @@ var initial_state = {
|
|
|
2926
3124
|
contextCardUpdate: function contextCardUpdate(val) {
|
|
2927
3125
|
this.contextCardEntry = val;
|
|
2928
3126
|
},
|
|
2929
|
-
openSearch: function openSearch(
|
|
3127
|
+
openSearch: function openSearch(filters) {
|
|
3128
|
+
var _this = this;
|
|
3129
|
+
|
|
2930
3130
|
var search = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
2931
3131
|
this.searchInput = search;
|
|
2932
3132
|
this.resetPageNavigation();
|
|
2933
|
-
this.searchAlgolia(
|
|
3133
|
+
this.searchAlgolia(filters, search);
|
|
2934
3134
|
|
|
2935
|
-
if (
|
|
2936
|
-
|
|
2937
|
-
|
|
3135
|
+
if (filters) {
|
|
3136
|
+
filters.forEach(function (filter) {
|
|
3137
|
+
_this.filter = _toConsumableArray(filter);
|
|
3138
|
+
|
|
3139
|
+
_this.$refs.filtersRef.setCascader(_this.filter);
|
|
3140
|
+
});
|
|
2938
3141
|
}
|
|
2939
3142
|
},
|
|
2940
3143
|
addFilter: function addFilter(filter) {
|
|
@@ -2968,19 +3171,19 @@ var initial_state = {
|
|
|
2968
3171
|
});
|
|
2969
3172
|
},
|
|
2970
3173
|
searchAlgolia: function searchAlgolia(filters) {
|
|
2971
|
-
var
|
|
3174
|
+
var _this2 = this;
|
|
2972
3175
|
|
|
2973
3176
|
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
2974
3177
|
// Algolia search
|
|
2975
3178
|
this.algoliaClient.search(getFilters(filters), query, this.numberPerPage, this.page).then(function (searchData) {
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
'dois':
|
|
3179
|
+
_this2.numberOfHits = searchData.total;
|
|
3180
|
+
_this2.discoverIds = searchData.discoverIds;
|
|
3181
|
+
_this2.dois = searchData.dois;
|
|
3182
|
+
_this2.results = searchData.items;
|
|
3183
|
+
_this2.loadingCards = false;
|
|
3184
|
+
|
|
3185
|
+
_this2.searchSciCrunch({
|
|
3186
|
+
'dois': _this2.dois
|
|
2984
3187
|
});
|
|
2985
3188
|
});
|
|
2986
3189
|
},
|
|
@@ -2997,7 +3200,7 @@ var initial_state = {
|
|
|
2997
3200
|
this.searchAlgolia(this.filters, this.searchInput, this.numberPerPage, this.page);
|
|
2998
3201
|
},
|
|
2999
3202
|
searchSciCrunch: function searchSciCrunch(params) {
|
|
3000
|
-
var
|
|
3203
|
+
var _this3 = this;
|
|
3001
3204
|
|
|
3002
3205
|
this.loadingScicrunch = true;
|
|
3003
3206
|
this.scrollToTop();
|
|
@@ -3008,18 +3211,18 @@ var initial_state = {
|
|
|
3008
3211
|
this.callSciCrunch(this.envVars.API_LOCATION, params).then(function (result) {
|
|
3009
3212
|
//Only process if the search term is the same as the last search term.
|
|
3010
3213
|
//This avoid old search being displayed.
|
|
3011
|
-
|
|
3214
|
+
_this3.sciCrunchError = false;
|
|
3012
3215
|
|
|
3013
|
-
|
|
3216
|
+
_this3.resultsProcessing(result);
|
|
3014
3217
|
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3218
|
+
_this3.$refs.content.style["overflow-y"] = "scroll";
|
|
3219
|
+
_this3.loadingCards = false;
|
|
3220
|
+
_this3.loadingScicrunch = false;
|
|
3018
3221
|
}).catch(function (result) {
|
|
3019
3222
|
if (result.name !== 'AbortError') {
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3223
|
+
_this3.loadingCards = false;
|
|
3224
|
+
_this3.loadingScicrunch = false;
|
|
3225
|
+
_this3.sciCrunchError = result.message;
|
|
3023
3226
|
}
|
|
3024
3227
|
});
|
|
3025
3228
|
},
|
|
@@ -3036,10 +3239,9 @@ var initial_state = {
|
|
|
3036
3239
|
this.page = 1;
|
|
3037
3240
|
},
|
|
3038
3241
|
resultsProcessing: function resultsProcessing(data) {
|
|
3039
|
-
var
|
|
3242
|
+
var _this4 = this;
|
|
3040
3243
|
|
|
3041
3244
|
this.lastSearch = this.searchInput;
|
|
3042
|
-
var id = 0;
|
|
3043
3245
|
|
|
3044
3246
|
if (data.results.length === 0) {
|
|
3045
3247
|
return;
|
|
@@ -3047,14 +3249,14 @@ var initial_state = {
|
|
|
3047
3249
|
|
|
3048
3250
|
data.results.forEach(function (element) {
|
|
3049
3251
|
// match the scicrunch result with algolia result
|
|
3050
|
-
var i =
|
|
3252
|
+
var i = _this4.results.findIndex(function (res) {
|
|
3051
3253
|
return res.name === element.name;
|
|
3052
3254
|
}); // Assign scicrunch results to the object
|
|
3053
3255
|
|
|
3054
3256
|
|
|
3055
|
-
Object.assign(
|
|
3257
|
+
Object.assign(_this4.results[i], element); // Assign the attributes that need some processing
|
|
3056
3258
|
|
|
3057
|
-
Object.assign(
|
|
3259
|
+
Object.assign(_this4.results[i], {
|
|
3058
3260
|
numberSamples: element.sampleSize ? parseInt(element.sampleSize) : 0,
|
|
3059
3261
|
numberSubjects: element.subjectSize ? parseInt(element.subjectSize) : 0,
|
|
3060
3262
|
updated: element.updated[0].timestamp.split("T")[0],
|
|
@@ -3067,13 +3269,11 @@ var initial_state = {
|
|
|
3067
3269
|
return v.species ? v.species.name : null;
|
|
3068
3270
|
}))) : undefined : undefined,
|
|
3069
3271
|
// This processing only includes each gender once into 'sexes'
|
|
3070
|
-
id: id,
|
|
3071
3272
|
scaffolds: element['abi-scaffold-metadata-file'] ? element['abi-scaffold-metadata-file'] : undefined,
|
|
3072
3273
|
contextualInformation: element['abi-contextual-information'].length > 0 ? element['abi-contextual-information'] : undefined,
|
|
3073
|
-
simulation: element
|
|
3274
|
+
simulation: element['abi-simulation-file']
|
|
3074
3275
|
});
|
|
3075
|
-
|
|
3076
|
-
external_vue_default.a.set(_this3.results, i, _this3.results[i]);
|
|
3276
|
+
external_vue_default.a.set(_this4.results, i, _this4.results[i]);
|
|
3077
3277
|
});
|
|
3078
3278
|
},
|
|
3079
3279
|
createfilterParams: function createfilterParams(params) {
|
|
@@ -3096,17 +3296,17 @@ var initial_state = {
|
|
|
3096
3296
|
return p.toString();
|
|
3097
3297
|
},
|
|
3098
3298
|
callSciCrunch: function callSciCrunch(apiLocation) {
|
|
3099
|
-
var
|
|
3299
|
+
var _this5 = this;
|
|
3100
3300
|
|
|
3101
3301
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3102
3302
|
return new Promise(function (resolve, reject) {
|
|
3103
3303
|
// the following controller will abort current search
|
|
3104
3304
|
// if a new one has been started
|
|
3105
|
-
if (
|
|
3106
|
-
|
|
3107
|
-
var signal =
|
|
3305
|
+
if (_this5._controller) _this5._controller.abort();
|
|
3306
|
+
_this5._controller = new AbortController();
|
|
3307
|
+
var signal = _this5._controller.signal; // Add parameters if we are sent them
|
|
3108
3308
|
|
|
3109
|
-
var fullEndpoint =
|
|
3309
|
+
var fullEndpoint = _this5.envVars.API_LOCATION + _this5.searchEndpoint + "?" + _this5.createfilterParams(params);
|
|
3110
3310
|
|
|
3111
3311
|
fetch(fullEndpoint, {
|
|
3112
3312
|
signal: signal
|
|
@@ -3139,8 +3339,8 @@ var initial_state = {
|
|
|
3139
3339
|
});
|
|
3140
3340
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=script&lang=js&
|
|
3141
3341
|
/* 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=
|
|
3143
|
-
var
|
|
3342
|
+
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=39cef630&scoped=true&lang=css&
|
|
3343
|
+
var SidebarContentvue_type_style_index_0_id_39cef630_scoped_true_lang_css_ = __webpack_require__("e941");
|
|
3144
3344
|
|
|
3145
3345
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue
|
|
3146
3346
|
|
|
@@ -3153,17 +3353,17 @@ var SidebarContentvue_type_style_index_0_id_53d83468_scoped_true_lang_css_ = __w
|
|
|
3153
3353
|
|
|
3154
3354
|
var SidebarContent_component = normalizeComponent(
|
|
3155
3355
|
components_SidebarContentvue_type_script_lang_js_,
|
|
3156
|
-
|
|
3157
|
-
|
|
3356
|
+
SidebarContentvue_type_template_id_39cef630_scoped_true_render,
|
|
3357
|
+
SidebarContentvue_type_template_id_39cef630_scoped_true_staticRenderFns,
|
|
3158
3358
|
false,
|
|
3159
3359
|
null,
|
|
3160
|
-
"
|
|
3360
|
+
"39cef630",
|
|
3161
3361
|
null
|
|
3162
3362
|
|
|
3163
3363
|
)
|
|
3164
3364
|
|
|
3165
3365
|
/* 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":"
|
|
3366
|
+
// 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
3367
|
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
3368
|
var Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns = []
|
|
3169
3369
|
|