@abi-software/map-side-bar 1.2.3-hardcoded-1 → 1.3.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/LICENSE +201 -201
- package/README.md +53 -53
- package/babel.config.js +14 -14
- package/dist/map-side-bar.common.js +1147 -623
- 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 +1147 -623
- 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 +13698 -13548
- package/package.json +65 -64
- package/public/index.html +17 -17
- package/src/App.vue +133 -130
- package/src/algolia/algolia.js +127 -119
- package/src/algolia/utils.js +51 -51
- package/src/components/BadgesGroup.vue +141 -0
- package/src/components/Cascader.vue +49 -49
- package/src/components/ContextCard.vue +241 -259
- package/src/components/DatasetCard.vue +325 -405
- package/src/components/EventBus.js +3 -3
- package/src/components/ImageGallery.vue +505 -0
- package/src/components/SearchFilters.vue +557 -557
- package/src/components/SideBar.vue +239 -239
- package/src/components/SidebarContent.vue +476 -459
- package/src/components/Tabs.vue +78 -78
- package/src/components/hardcoded-context-info.js +79 -288
- package/src/components/index.js +8 -8
- package/src/components/species-map.js +8 -8
- package/src/main.js +8 -8
- package/static.json +6 -6
- package/vue.config.js +11 -11
- package/scaffold_context_info.json +0 -30
- package/src/components/processFilters.js +0 -22
- package/src/components/scaffold-meta-map.js +0 -29
package/dist/map-side-bar.umd.js
CHANGED
|
@@ -138,13 +138,6 @@ module.exports = require("element-ui/lib/theme-chalk/select.css");
|
|
|
138
138
|
|
|
139
139
|
/***/ }),
|
|
140
140
|
|
|
141
|
-
/***/ "139b":
|
|
142
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
143
|
-
|
|
144
|
-
// extracted by mini-css-extract-plugin
|
|
145
|
-
|
|
146
|
-
/***/ }),
|
|
147
|
-
|
|
148
141
|
/***/ "139f":
|
|
149
142
|
/***/ (function(module, exports) {
|
|
150
143
|
|
|
@@ -152,35 +145,39 @@ module.exports = require("core-js/modules/es.array.for-each");
|
|
|
152
145
|
|
|
153
146
|
/***/ }),
|
|
154
147
|
|
|
155
|
-
/***/ "
|
|
156
|
-
/***/ (function(module,
|
|
148
|
+
/***/ "1466":
|
|
149
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
157
150
|
|
|
158
|
-
|
|
151
|
+
"use strict";
|
|
152
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_bf387872_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("85ca");
|
|
153
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_bf387872_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_bf387872_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
154
|
+
/* unused harmony reexport * */
|
|
155
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DatasetCard_vue_vue_type_style_index_0_id_bf387872_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
159
156
|
|
|
160
157
|
/***/ }),
|
|
161
158
|
|
|
162
|
-
/***/ "
|
|
159
|
+
/***/ "183e":
|
|
163
160
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164
161
|
|
|
165
162
|
"use strict";
|
|
166
|
-
/* harmony import */ var
|
|
167
|
-
/* harmony import */ var
|
|
163
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6cf4");
|
|
164
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
168
165
|
/* unused harmony reexport * */
|
|
169
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (
|
|
166
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_5d1b9484_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
170
167
|
|
|
171
168
|
/***/ }),
|
|
172
169
|
|
|
173
|
-
/***/ "
|
|
170
|
+
/***/ "18d2":
|
|
174
171
|
/***/ (function(module, exports) {
|
|
175
172
|
|
|
176
|
-
module.exports = require("core-js/modules/
|
|
173
|
+
module.exports = require("core-js/modules/es.array.concat");
|
|
177
174
|
|
|
178
175
|
/***/ }),
|
|
179
176
|
|
|
180
|
-
/***/ "
|
|
181
|
-
/***/ (function(module, exports
|
|
177
|
+
/***/ "1ce0":
|
|
178
|
+
/***/ (function(module, exports) {
|
|
182
179
|
|
|
183
|
-
|
|
180
|
+
module.exports = require("core-js/modules/web.dom-collections.iterator");
|
|
184
181
|
|
|
185
182
|
/***/ }),
|
|
186
183
|
|
|
@@ -191,13 +188,6 @@ module.exports = require("core-js/modules/es.object.keys");
|
|
|
191
188
|
|
|
192
189
|
/***/ }),
|
|
193
190
|
|
|
194
|
-
/***/ "21a5":
|
|
195
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
196
|
-
|
|
197
|
-
// extracted by mini-css-extract-plugin
|
|
198
|
-
|
|
199
|
-
/***/ }),
|
|
200
|
-
|
|
201
191
|
/***/ "230a":
|
|
202
192
|
/***/ (function(module, exports) {
|
|
203
193
|
|
|
@@ -226,6 +216,24 @@ module.exports = require("element-ui/lib/theme-chalk/loading.css");
|
|
|
226
216
|
|
|
227
217
|
/***/ }),
|
|
228
218
|
|
|
219
|
+
/***/ "2c6a":
|
|
220
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
221
|
+
|
|
222
|
+
// extracted by mini-css-extract-plugin
|
|
223
|
+
|
|
224
|
+
/***/ }),
|
|
225
|
+
|
|
226
|
+
/***/ "2dd0":
|
|
227
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
228
|
+
|
|
229
|
+
"use strict";
|
|
230
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("db11");
|
|
231
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
232
|
+
/* unused harmony reexport * */
|
|
233
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_57801ec0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
234
|
+
|
|
235
|
+
/***/ }),
|
|
236
|
+
|
|
229
237
|
/***/ "373b":
|
|
230
238
|
/***/ (function(module, exports) {
|
|
231
239
|
|
|
@@ -233,32 +241,28 @@ module.exports = require("element-ui/lib/drawer");
|
|
|
233
241
|
|
|
234
242
|
/***/ }),
|
|
235
243
|
|
|
236
|
-
/***/ "
|
|
244
|
+
/***/ "3a09":
|
|
237
245
|
/***/ (function(module, exports) {
|
|
238
246
|
|
|
239
|
-
module.exports = require("@abi-software/
|
|
247
|
+
module.exports = require("@abi-software/gallery");
|
|
240
248
|
|
|
241
249
|
/***/ }),
|
|
242
250
|
|
|
243
|
-
/***/ "
|
|
251
|
+
/***/ "3d4f":
|
|
244
252
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
245
253
|
|
|
246
254
|
"use strict";
|
|
247
|
-
/* harmony import */ var
|
|
248
|
-
/* harmony import */ var
|
|
255
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2c6a");
|
|
256
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
249
257
|
/* unused harmony reexport * */
|
|
250
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (
|
|
258
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SidebarContent_vue_vue_type_style_index_0_id_0d501578_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
251
259
|
|
|
252
260
|
/***/ }),
|
|
253
261
|
|
|
254
|
-
/***/ "
|
|
255
|
-
/***/ (function(module,
|
|
262
|
+
/***/ "429c":
|
|
263
|
+
/***/ (function(module, exports) {
|
|
256
264
|
|
|
257
|
-
|
|
258
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("139b");
|
|
259
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
260
|
-
/* unused harmony reexport * */
|
|
261
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tabs_vue_vue_type_style_index_0_id_d68260c4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
265
|
+
module.exports = require("@abi-software/svg-sprite");
|
|
262
266
|
|
|
263
267
|
/***/ }),
|
|
264
268
|
|
|
@@ -318,6 +322,31 @@ module.exports = require("core-js/modules/es.regexp.exec");
|
|
|
318
322
|
|
|
319
323
|
/***/ }),
|
|
320
324
|
|
|
325
|
+
/***/ "549b":
|
|
326
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
327
|
+
|
|
328
|
+
"use strict";
|
|
329
|
+
/* 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_3d0e62ac_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("741b");
|
|
330
|
+
/* 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_3d0e62ac_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_3d0e62ac_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
331
|
+
/* unused harmony reexport * */
|
|
332
|
+
/* 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_3d0e62ac_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
333
|
+
|
|
334
|
+
/***/ }),
|
|
335
|
+
|
|
336
|
+
/***/ "5658":
|
|
337
|
+
/***/ (function(module, exports) {
|
|
338
|
+
|
|
339
|
+
module.exports = require("@abi-software/gallery/dist/gallery.css");
|
|
340
|
+
|
|
341
|
+
/***/ }),
|
|
342
|
+
|
|
343
|
+
/***/ "5835":
|
|
344
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
345
|
+
|
|
346
|
+
// extracted by mini-css-extract-plugin
|
|
347
|
+
|
|
348
|
+
/***/ }),
|
|
349
|
+
|
|
321
350
|
/***/ "5d8c":
|
|
322
351
|
/***/ (function(module, exports) {
|
|
323
352
|
|
|
@@ -332,6 +361,13 @@ module.exports = require("core-js/modules/es.regexp.to-string");
|
|
|
332
361
|
|
|
333
362
|
/***/ }),
|
|
334
363
|
|
|
364
|
+
/***/ "6006":
|
|
365
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
366
|
+
|
|
367
|
+
// extracted by mini-css-extract-plugin
|
|
368
|
+
|
|
369
|
+
/***/ }),
|
|
370
|
+
|
|
335
371
|
/***/ "6049":
|
|
336
372
|
/***/ (function(module, exports) {
|
|
337
373
|
|
|
@@ -367,6 +403,13 @@ module.exports = require("element-ui/lib/locale/lang/en");
|
|
|
367
403
|
|
|
368
404
|
/***/ }),
|
|
369
405
|
|
|
406
|
+
/***/ "6cf4":
|
|
407
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
408
|
+
|
|
409
|
+
// extracted by mini-css-extract-plugin
|
|
410
|
+
|
|
411
|
+
/***/ }),
|
|
412
|
+
|
|
370
413
|
/***/ "6e25":
|
|
371
414
|
/***/ (function(module, exports) {
|
|
372
415
|
|
|
@@ -388,24 +431,28 @@ module.exports = require("core-js/modules/es.number.constructor");
|
|
|
388
431
|
|
|
389
432
|
/***/ }),
|
|
390
433
|
|
|
391
|
-
/***/ "
|
|
434
|
+
/***/ "741b":
|
|
392
435
|
/***/ (function(module, exports, __webpack_require__) {
|
|
393
436
|
|
|
394
437
|
// extracted by mini-css-extract-plugin
|
|
395
438
|
|
|
396
439
|
/***/ }),
|
|
397
440
|
|
|
398
|
-
/***/ "
|
|
399
|
-
/***/ (function(module,
|
|
441
|
+
/***/ "788d":
|
|
442
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
400
443
|
|
|
401
|
-
|
|
444
|
+
"use strict";
|
|
445
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("96d8");
|
|
446
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
447
|
+
/* unused harmony reexport * */
|
|
448
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BadgesGroup_vue_vue_type_style_index_0_id_ee8bc524_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
402
449
|
|
|
403
450
|
/***/ }),
|
|
404
451
|
|
|
405
|
-
/***/ "
|
|
406
|
-
/***/ (function(module, exports
|
|
452
|
+
/***/ "79d0":
|
|
453
|
+
/***/ (function(module, exports) {
|
|
407
454
|
|
|
408
|
-
|
|
455
|
+
module.exports = require("regenerator-runtime/runtime");
|
|
409
456
|
|
|
410
457
|
/***/ }),
|
|
411
458
|
|
|
@@ -451,7 +498,7 @@ module.exports = require("core-js/modules/es.object.to-string");
|
|
|
451
498
|
|
|
452
499
|
/***/ }),
|
|
453
500
|
|
|
454
|
-
/***/ "
|
|
501
|
+
/***/ "85ca":
|
|
455
502
|
/***/ (function(module, exports, __webpack_require__) {
|
|
456
503
|
|
|
457
504
|
// extracted by mini-css-extract-plugin
|
|
@@ -500,6 +547,13 @@ module.exports = require("element-ui/lib/popover");
|
|
|
500
547
|
|
|
501
548
|
/***/ }),
|
|
502
549
|
|
|
550
|
+
/***/ "96d8":
|
|
551
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
552
|
+
|
|
553
|
+
// extracted by mini-css-extract-plugin
|
|
554
|
+
|
|
555
|
+
/***/ }),
|
|
556
|
+
|
|
503
557
|
/***/ "9861":
|
|
504
558
|
/***/ (function(module, exports) {
|
|
505
559
|
|
|
@@ -528,14 +582,10 @@ module.exports = __webpack_require__.p + "img/missing-image.1878d8b8.svg";
|
|
|
528
582
|
|
|
529
583
|
/***/ }),
|
|
530
584
|
|
|
531
|
-
/***/ "
|
|
532
|
-
/***/ (function(module,
|
|
585
|
+
/***/ "a012":
|
|
586
|
+
/***/ (function(module, exports) {
|
|
533
587
|
|
|
534
|
-
|
|
535
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1e9c");
|
|
536
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
537
|
-
/* unused harmony reexport * */
|
|
538
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3f7eb1a5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
588
|
+
module.exports = require("@abi-software/gallery/src/mixins/GalleryHelpers");
|
|
539
589
|
|
|
540
590
|
/***/ }),
|
|
541
591
|
|
|
@@ -595,6 +645,17 @@ module.exports = require("core-js/modules/es.object.assign");
|
|
|
595
645
|
|
|
596
646
|
/***/ }),
|
|
597
647
|
|
|
648
|
+
/***/ "bc5f":
|
|
649
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
650
|
+
|
|
651
|
+
"use strict";
|
|
652
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5835");
|
|
653
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
654
|
+
/* unused harmony reexport * */
|
|
655
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SideBar_vue_vue_type_style_index_0_id_3d831a8e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
656
|
+
|
|
657
|
+
/***/ }),
|
|
658
|
+
|
|
598
659
|
/***/ "bcd8":
|
|
599
660
|
/***/ (function(module, exports) {
|
|
600
661
|
|
|
@@ -630,10 +691,21 @@ module.exports = require("element-ui/lib/option");
|
|
|
630
691
|
|
|
631
692
|
/***/ }),
|
|
632
693
|
|
|
633
|
-
/***/ "
|
|
634
|
-
/***/ (function(module,
|
|
694
|
+
/***/ "d76d":
|
|
695
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
696
|
+
|
|
697
|
+
"use strict";
|
|
698
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_6c38fe3e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6006");
|
|
699
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_6c38fe3e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_6c38fe3e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
700
|
+
/* unused harmony reexport * */
|
|
701
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageGallery_vue_vue_type_style_index_0_id_6c38fe3e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
702
|
+
|
|
703
|
+
/***/ }),
|
|
704
|
+
|
|
705
|
+
/***/ "db11":
|
|
706
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
635
707
|
|
|
636
|
-
|
|
708
|
+
// extracted by mini-css-extract-plugin
|
|
637
709
|
|
|
638
710
|
/***/ }),
|
|
639
711
|
|
|
@@ -665,17 +737,6 @@ module.exports = require("element-ui/lib/input");
|
|
|
665
737
|
|
|
666
738
|
/***/ }),
|
|
667
739
|
|
|
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
|
-
|
|
679
740
|
/***/ "ece9":
|
|
680
741
|
/***/ (function(module, exports) {
|
|
681
742
|
|
|
@@ -690,17 +751,6 @@ module.exports = require("core-js/modules/es.array.unscopables.flat");
|
|
|
690
751
|
|
|
691
752
|
/***/ }),
|
|
692
753
|
|
|
693
|
-
/***/ "efb8":
|
|
694
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
695
|
-
|
|
696
|
-
"use strict";
|
|
697
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7ad0");
|
|
698
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
699
|
-
/* unused harmony reexport * */
|
|
700
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchFilters_vue_vue_type_style_index_0_id_58d5fb22_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
701
|
-
|
|
702
|
-
/***/ }),
|
|
703
|
-
|
|
704
754
|
/***/ "f705":
|
|
705
755
|
/***/ (function(module, exports) {
|
|
706
756
|
|
|
@@ -742,12 +792,12 @@ if (typeof window !== 'undefined') {
|
|
|
742
792
|
// Indicate to webpack that this file can be concatenated
|
|
743
793
|
/* harmony default export */ var setPublicPath = (null);
|
|
744
794
|
|
|
745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
795
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SideBar.vue?vue&type=template&id=3d831a8e&scoped=true&
|
|
746
796
|
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)}
|
|
747
797
|
var staticRenderFns = []
|
|
748
798
|
|
|
749
799
|
|
|
750
|
-
// CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=template&id=
|
|
800
|
+
// CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=template&id=3d831a8e&scoped=true&
|
|
751
801
|
|
|
752
802
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol"
|
|
753
803
|
var es_symbol_ = __webpack_require__("6049");
|
|
@@ -817,12 +867,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
817
867
|
var locale_ = __webpack_require__("7f9f");
|
|
818
868
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
819
869
|
|
|
820
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
821
|
-
var
|
|
822
|
-
var
|
|
870
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SidebarContent.vue?vue&type=template&id=0d501578&scoped=true&
|
|
871
|
+
var SidebarContentvue_type_template_id_0d501578_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:"content-card",attrs:{"body-style":_vm.bodyStyle}},[_c('div',{staticClass:"header",attrs:{"slot":"header"},slot:"header"},[(_vm.contextCardEntry && _vm.contextCardEnabled)?_c('context-card',{attrs:{"entry":_vm.contextCardEntry}}):_vm._e(),_c('el-input',{staticClass:"search-input",attrs:{"placeholder":"Search","clearable":""},on:{"clear":_vm.clearSearchClicked},nativeOn:{"keyup":function($event){return _vm.searchEvent($event)}},model:{value:(_vm.searchInput),callback:function ($$v) {_vm.searchInput=$$v},expression:"searchInput"}}),_c('el-button',{staticClass:"button",on:{"click":_vm.searchEvent}},[_vm._v("Search")])],1),_c('SearchFilters',{ref:"filtersRef",staticClass:"filters",attrs:{"entry":_vm.filterEntry,"envVars":_vm.envVars},on:{"filterResults":_vm.filterUpdate,"numberPerPage":_vm.numberPerPageUpdate,"loading":_vm.filtersLoading}}),_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loadingCards),expression:"loadingCards"}],ref:"content",staticClass:"content scrollbar"},[(_vm.results.length === 0 && !_vm.loadingCards)?_c('div',{staticClass:"error-feedback"},[_vm._v("No results found - Please change your search / filter criteria.")]):_vm._e(),_vm._l((_vm.results),function(result){return _c('div',{key:result.doi,staticClass:"step-item"},[_c('DatasetCard',{attrs:{"entry":result,"envVars":_vm.envVars},on:{"contextUpdate":_vm.contextCardUpdate}})],1)}),_c('el-pagination',{staticClass:"pagination",attrs:{"current-page":_vm.page,"hide-on-single-page":"","large":"","layout":"prev, pager, next","page-size":_vm.numberPerPage,"total":_vm.numberOfHits},on:{"update:currentPage":function($event){_vm.page=$event},"update:current-page":function($event){_vm.page=$event},"current-change":_vm.pageChange}})],2)],1)}
|
|
872
|
+
var SidebarContentvue_type_template_id_0d501578_scoped_true_staticRenderFns = []
|
|
823
873
|
|
|
824
874
|
|
|
825
|
-
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=
|
|
875
|
+
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=template&id=0d501578&scoped=true&
|
|
826
876
|
|
|
827
877
|
// EXTERNAL MODULE: external "core-js/modules/es.array.find-index"
|
|
828
878
|
var es_array_find_index_ = __webpack_require__("aecd");
|
|
@@ -992,12 +1042,12 @@ var button_css_ = __webpack_require__("26bc");
|
|
|
992
1042
|
var button_ = __webpack_require__("5d8c");
|
|
993
1043
|
var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
994
1044
|
|
|
995
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
996
|
-
var
|
|
997
|
-
var
|
|
1045
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchFilters.vue?vue&type=template&id=57801ec0&scoped=true&
|
|
1046
|
+
var SearchFiltersvue_type_template_id_57801ec0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"filters"},[_c('map-svg-sprite-color'),_c('transition',{attrs:{"name":"el-zoom-in-top"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showFilters),expression:"showFilters"}],staticClass:"search-filters transition-box"},[_c('custom-cascader',{ref:"cascader",staticClass:"cascader",attrs:{"placeholder":"","collapse-tags":true,"options":_vm.options,"props":_vm.props,"show-all-levels":false,"append-to-body":false},on:{"change":function($event){return _vm.cascadeEvent($event)},"expand-change":_vm.cascadeExpandChange,"tags-changed":_vm.tagsChangedCallback},model:{value:(_vm.cascadeSelected),callback:function ($$v) {_vm.cascadeSelected=$$v},expression:"cascadeSelected"}}),(_vm.showFiltersText)?_c('div',{staticClass:"filter-default-value"},[_vm._v(" Filters ")]):_vm._e(),_c('el-popover',{attrs:{"title":"How do filters work?","width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover"}},[_c('map-svg-icon',{staticClass:"help",attrs:{"slot":"reference","icon":"help"},slot:"reference"}),_c('div',[_c('strong',[_vm._v("Within categories:")]),_vm._v(" OR "),_c('br'),_vm._v(" example: 'heart' OR 'colon' "),_c('br'),_c('br'),_c('strong',[_vm._v("Between categories:")]),_vm._v(" AND "),_c('br'),_vm._v(" example: 'rat' AND 'lung' ")])],1)],1)]),_c('el-select',{staticClass:"number-shown-select",attrs:{"placeholder":"10"},on:{"change":function($event){return _vm.numberShownChanged($event)}},model:{value:(_vm.numberShown),callback:function ($$v) {_vm.numberShown=$$v},expression:"numberShown"}},_vm._l((_vm.numberDatasetsShown),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1),_c('span',{staticClass:"dataset-results-feedback"},[_vm._v(_vm._s(this.numberOfResultsText))])],1)}
|
|
1047
|
+
var SearchFiltersvue_type_template_id_57801ec0_scoped_true_staticRenderFns = []
|
|
998
1048
|
|
|
999
1049
|
|
|
1000
|
-
// CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=template&id=
|
|
1050
|
+
// CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=template&id=57801ec0&scoped=true&
|
|
1001
1051
|
|
|
1002
1052
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes"
|
|
1003
1053
|
var es_array_includes_ = __webpack_require__("ab7e");
|
|
@@ -1433,7 +1483,6 @@ function () {
|
|
|
1433
1483
|
value: function _processResultsForCards(results) {
|
|
1434
1484
|
var newResults = [];
|
|
1435
1485
|
var newResult = {};
|
|
1436
|
-
var id = 0;
|
|
1437
1486
|
var _iteratorNormalCompletion = true;
|
|
1438
1487
|
var _didIteratorError = false;
|
|
1439
1488
|
var _iteratorError = undefined;
|
|
@@ -1448,9 +1497,9 @@ function () {
|
|
|
1448
1497
|
description: res.item.description,
|
|
1449
1498
|
updated: res.pennsieve.updatedAt,
|
|
1450
1499
|
publishDate: res.pennsieve.publishDate,
|
|
1451
|
-
|
|
1500
|
+
datasetId: res.objectID,
|
|
1501
|
+
detailsReady: false
|
|
1452
1502
|
};
|
|
1453
|
-
id++;
|
|
1454
1503
|
newResults.push(newResult);
|
|
1455
1504
|
}
|
|
1456
1505
|
} catch (err) {
|
|
@@ -1470,9 +1519,9 @@ function () {
|
|
|
1470
1519
|
|
|
1471
1520
|
return newResults;
|
|
1472
1521
|
}
|
|
1473
|
-
/**
|
|
1474
|
-
* Get Search results
|
|
1475
|
-
* This is using fetch from the Algolia API
|
|
1522
|
+
/**
|
|
1523
|
+
* Get Search results
|
|
1524
|
+
* This is using fetch from the Algolia API
|
|
1476
1525
|
*/
|
|
1477
1526
|
|
|
1478
1527
|
}, {
|
|
@@ -1488,7 +1537,9 @@ function () {
|
|
|
1488
1537
|
facets: ['*'],
|
|
1489
1538
|
hitsPerPage: hitsperPage,
|
|
1490
1539
|
page: page - 1,
|
|
1491
|
-
filters: filter
|
|
1540
|
+
filters: filter,
|
|
1541
|
+
attributesToHighlight: [],
|
|
1542
|
+
attributesToRetrieve: ['pennsieve.publishDate', 'pennsieve.updatedAt', 'item.curie', 'item.name', 'item.description', 'objectID']
|
|
1492
1543
|
}).then(function (response) {
|
|
1493
1544
|
var searchData = {
|
|
1494
1545
|
items: _this2._processResultsForCards(response.hits),
|
|
@@ -1530,8 +1581,8 @@ var facetPropPathMapping = {
|
|
|
1530
1581
|
'attributes.subject.sex.value': 'Sex',
|
|
1531
1582
|
'attributes.subject.ageCategory.value': 'Age Categories'
|
|
1532
1583
|
};
|
|
1533
|
-
/* Returns filter for searching algolia. All facets of the same category are joined with OR,
|
|
1534
|
-
* and each of those results is then joined with an AND.
|
|
1584
|
+
/* Returns filter for searching algolia. All facets of the same category are joined with OR,
|
|
1585
|
+
* and each of those results is then joined with an AND.
|
|
1535
1586
|
* i.e. (color:blue OR color:red) AND (shape:circle OR shape:red) */
|
|
1536
1587
|
|
|
1537
1588
|
function getFilters() {
|
|
@@ -1711,9 +1762,9 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
|
|
|
1711
1762
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"]
|
|
1712
1763
|
},
|
|
1713
1764
|
props: {
|
|
1714
|
-
/**
|
|
1715
|
-
* Object containing information for
|
|
1716
|
-
* the required viewing.
|
|
1765
|
+
/**
|
|
1766
|
+
* Object containing information for
|
|
1767
|
+
* the required viewing.
|
|
1717
1768
|
*/
|
|
1718
1769
|
entry: Object,
|
|
1719
1770
|
envVars: {
|
|
@@ -2021,8 +2072,8 @@ var SearchFiltersvue_type_script_lang_js_convertReadableLabel = function convert
|
|
|
2021
2072
|
});
|
|
2022
2073
|
// CONCATENATED MODULE: ./src/components/SearchFilters.vue?vue&type=script&lang=js&
|
|
2023
2074
|
/* harmony default export */ var components_SearchFiltersvue_type_script_lang_js_ = (SearchFiltersvue_type_script_lang_js_);
|
|
2024
|
-
// EXTERNAL MODULE: ./src/components/SearchFilters.vue?vue&type=style&index=0&id=
|
|
2025
|
-
var
|
|
2075
|
+
// EXTERNAL MODULE: ./src/components/SearchFilters.vue?vue&type=style&index=0&id=57801ec0&scoped=true&lang=css&
|
|
2076
|
+
var SearchFiltersvue_type_style_index_0_id_57801ec0_scoped_true_lang_css_ = __webpack_require__("2dd0");
|
|
2026
2077
|
|
|
2027
2078
|
// CONCATENATED MODULE: ./src/components/SearchFilters.vue
|
|
2028
2079
|
|
|
@@ -2035,327 +2086,34 @@ var SearchFiltersvue_type_style_index_0_id_58d5fb22_scoped_true_lang_css_ = __we
|
|
|
2035
2086
|
|
|
2036
2087
|
var SearchFilters_component = normalizeComponent(
|
|
2037
2088
|
components_SearchFiltersvue_type_script_lang_js_,
|
|
2038
|
-
|
|
2039
|
-
|
|
2089
|
+
SearchFiltersvue_type_template_id_57801ec0_scoped_true_render,
|
|
2090
|
+
SearchFiltersvue_type_template_id_57801ec0_scoped_true_staticRenderFns,
|
|
2040
2091
|
false,
|
|
2041
2092
|
null,
|
|
2042
|
-
"
|
|
2093
|
+
"57801ec0",
|
|
2043
2094
|
null
|
|
2044
2095
|
|
|
2045
2096
|
)
|
|
2046
2097
|
|
|
2047
2098
|
/* harmony default export */ var SearchFilters = (SearchFilters_component.exports);
|
|
2048
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2049
|
-
var
|
|
2050
|
-
var
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=5dcf465c&scoped=true&
|
|
2054
|
-
|
|
2055
|
-
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
2056
|
-
|
|
2057
|
-
var EventBus = new external_vue_default.a();
|
|
2058
|
-
/* harmony default export */ var components_EventBus = (EventBus);
|
|
2059
|
-
// CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
|
|
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
|
|
2245
|
-
// export default {
|
|
2246
|
-
// 77: {
|
|
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.",
|
|
2248
|
-
// "heading": "Mapped ICN samples",
|
|
2249
|
-
// "id": "sparc.science.context_data",
|
|
2250
|
-
// "samples": [
|
|
2251
|
-
// {
|
|
2252
|
-
// "annotation": "",
|
|
2253
|
-
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
2254
|
-
// "doi": "",
|
|
2255
|
-
// "heading": "ICNS from subject M54-8",
|
|
2256
|
-
// "id": "Sample 1",
|
|
2257
|
-
// "path": "",
|
|
2258
|
-
// "view": "View 1",
|
|
2259
|
-
// "color": "#FFFF00",
|
|
2260
|
-
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
2261
|
-
// },
|
|
2262
|
-
// {
|
|
2263
|
-
// "annotation": "",
|
|
2264
|
-
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
2265
|
-
// "doi": "",
|
|
2266
|
-
// "heading": "ICNS from subject M54-5",
|
|
2267
|
-
// "id": "Sample 2",
|
|
2268
|
-
// "path": "",
|
|
2269
|
-
// "view": "View 2",
|
|
2270
|
-
// "color": "#FFA500",
|
|
2271
|
-
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
2272
|
-
// }
|
|
2273
|
-
// ],
|
|
2274
|
-
// "version": "0.1.0",
|
|
2275
|
-
// },
|
|
2276
|
-
// 221: {
|
|
2277
|
-
// "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M162, M163, M164, M168) are mapped randomly on mouse proximal colon. The data depicts individual neural wiring patterns in enteric microcircuits, and revealed both neuron and fiber units wired in a complex organization.",
|
|
2278
|
-
// "heading": "Digital tracings of enteric plexus",
|
|
2279
|
-
// "id": "sparc.science.context_data",
|
|
2280
|
-
// "samples": [
|
|
2281
|
-
// {
|
|
2282
|
-
// "annotation": "",
|
|
2283
|
-
// "description": "Neuronal soma and fibers in a myenteric ganglion in this subject are annotated into the following groups to highlight their interactions:\n\nNeuron1,2,3 Connex: Connections between 3 neurons and cross-ganglionic fibers\n\nNeuron4_Connex: A small neuron contacts fibers passing the ganglion\n\nNeuron5: Multiple projections of a neuron in an myenteric ganglion\n\nNeuron5,3,7 Connex: Connections between 3 neurons, nerve fibers, IGNEx (complex type of intraganglionic nerve endings) and fibers in the circular muscles.\n\nNeuron8,9,10 Connex: Connections of 3 neurons with each other and with long passing fibers. \n\nIntraganglionic Nerve Ending (IGNE): Digital traces of neurites consist of complex intraganglionic nerve endings. The blue fiber has branched terminals, more likely the afferent nerve endings; the violet and cyan terminals also interweave into the fiber nest; the orange, pink and peach fibers and one process of the neuron cross the IGNE to make 1-2 conjunctions. \n",
|
|
2284
|
-
// "doi": "",
|
|
2285
|
-
// "heading": "Digital tracing for subject M11",
|
|
2286
|
-
// "id": "Sample 1",
|
|
2287
|
-
// "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
2288
|
-
// "view": "View 1"
|
|
2289
|
-
// },
|
|
2290
|
-
// {
|
|
2291
|
-
// "annotation": "",
|
|
2292
|
-
// "description": "This digital trace demonstrates some types of wiring. A long process of the green neuron terminates in the intraganglionic nerve endings (IGNE) while in contact with a nerve fiber (cyan), soma of a neuron (peach) and processes of 3 neurons (magenta, yellow and red). Two neurons and one fiber are traced to an IGNE. ",
|
|
2293
|
-
// "doi": "",
|
|
2294
|
-
// "heading": "Digital tracing for subject M16",
|
|
2295
|
-
// "id": "Sample 2",
|
|
2296
|
-
// "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
2297
|
-
// "view": "View 2"
|
|
2298
|
-
// }
|
|
2299
|
-
// ],
|
|
2300
|
-
// "version": "0.1.0",
|
|
2301
|
-
// "views": [
|
|
2302
|
-
// {
|
|
2303
|
-
// "annotation": "",
|
|
2304
|
-
// "description": "Digital tracing of neurons for subject M11.",
|
|
2305
|
-
// "id": "View 1",
|
|
2306
|
-
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
2307
|
-
// "sample": "Sample 1",
|
|
2308
|
-
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
2309
|
-
// },
|
|
2310
|
-
// {
|
|
2311
|
-
// "annotation": "",
|
|
2312
|
-
// "description": "Digital tracing of neurons for subject M16.",
|
|
2313
|
-
// "id": "View 2",
|
|
2314
|
-
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
2315
|
-
// "sample": "Sample 2",
|
|
2316
|
-
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
|
|
2317
|
-
// }
|
|
2318
|
-
// ]
|
|
2319
|
-
// }
|
|
2320
|
-
// }
|
|
2321
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2099
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-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=bf387872&scoped=true&
|
|
2100
|
+
var DatasetCardvue_type_template_id_bf387872_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"dataset-card-container"},[_c('div',{ref:"card",staticClass:"dataset-card"},[_c('div',{staticClass:"seperator-path"}),_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"card"},[_c('span',{staticClass:"card-left"},[(!_vm.loading && _vm.discoverId)?_c('image-gallery',{attrs:{"datasetId":_vm.discoverId,"datasetVersion":_vm.version,"entry":_vm.entry,"envVars":_vm.envVars,"label":_vm.label,"datasetThumbnail":_vm.thumbnail,"dataset-biolucida":_vm.biolucidaData,"category":_vm.currentCategory},on:{"card-clicked":_vm.galleryClicked}}):_vm._e()],1),_c('div',{staticClass:"card-right"},[_c('div',{staticClass:"title",on:{"click":_vm.cardClicked}},[_vm._v(_vm._s(_vm.entry.name))]),_c('div',{staticClass:"details"},[_vm._v(_vm._s(_vm.contributors)+" "+_vm._s(_vm.entry.publishDate ? ("(" + _vm.publishYear + ")") : ''))]),_c('div',{staticClass:"details"},[_vm._v(_vm._s(_vm.samples))]),(!_vm.entry.detailsReady)?_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(!_vm.entry.detailsReady),expression:"!entry.detailsReady"}],staticClass:"details loading-icon"}):_vm._e(),_c('div',[(_vm.entry.simulation)?_c('el-button',{staticClass:"button",attrs:{"size":"mini","icon":"el-icon-view"},on:{"click":_vm.openRepository}},[_vm._v("View repository")]):_vm._e()],1),_c('div',{staticClass:"badges-container"},[_c('badges-group',{attrs:{"entry":_vm.entry,"dataset-biolucida":_vm.biolucidaData},on:{"categoryChanged":_vm.categoryChanged}})],1)])])])])}
|
|
2101
|
+
var DatasetCardvue_type_template_id_bf387872_scoped_true_staticRenderFns = []
|
|
2327
2102
|
|
|
2328
2103
|
|
|
2104
|
+
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=template&id=bf387872&scoped=true&
|
|
2329
2105
|
|
|
2106
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/BadgesGroup.vue?vue&type=template&id=ee8bc524&scoped=true&
|
|
2107
|
+
var BadgesGroupvue_type_template_id_ee8bc524_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.categories['All'].size > 1)?_c('div',{ref:"container",staticClass:"container"},[_c('div',[_vm._v(" View data types: ")]),_vm._l((_vm.categories),function(item,key){return [(item.size > 0)?_c('el-button',{key:key,class:[{ 'active': key == _vm.active},'tag-button'],attrs:{"size":"small"},on:{"click":function($event){return _vm.categoryClicked(key)}}},[_vm._v(_vm._s(key + " (" + item.size + ")")+" ")]):_vm._e()]})],2):_vm._e()}
|
|
2108
|
+
var BadgesGroupvue_type_template_id_ee8bc524_scoped_true_staticRenderFns = []
|
|
2330
2109
|
|
|
2331
2110
|
|
|
2111
|
+
// CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=template&id=ee8bc524&scoped=true&
|
|
2332
2112
|
|
|
2113
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/BadgesGroup.vue?vue&type=script&lang=js&
|
|
2333
2114
|
|
|
2334
2115
|
|
|
2335
2116
|
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
//
|
|
2340
|
-
//
|
|
2341
|
-
//
|
|
2342
|
-
//
|
|
2343
|
-
//
|
|
2344
|
-
//
|
|
2345
|
-
//
|
|
2346
|
-
//
|
|
2347
|
-
//
|
|
2348
|
-
//
|
|
2349
|
-
//
|
|
2350
|
-
//
|
|
2351
|
-
//
|
|
2352
|
-
//
|
|
2353
|
-
//
|
|
2354
|
-
//
|
|
2355
|
-
//
|
|
2356
|
-
//
|
|
2357
|
-
//
|
|
2358
|
-
//
|
|
2359
2117
|
//
|
|
2360
2118
|
//
|
|
2361
2119
|
//
|
|
@@ -2378,25 +2136,759 @@ var EventBus = new external_vue_default.a();
|
|
|
2378
2136
|
|
|
2379
2137
|
|
|
2380
2138
|
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
2139
|
locale_default.a.use(en_default.a);
|
|
2385
2140
|
external_vue_default.a.use(button_default.a);
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2141
|
+
/* harmony default export */ var BadgesGroupvue_type_script_lang_js_ = ({
|
|
2142
|
+
name: "BadgesGroup",
|
|
2143
|
+
props: {
|
|
2144
|
+
/**
|
|
2145
|
+
* Object containing information for
|
|
2146
|
+
* the required viewing.
|
|
2147
|
+
*/
|
|
2148
|
+
additionalLinks: {
|
|
2149
|
+
type: Array,
|
|
2150
|
+
default: function _default() {
|
|
2151
|
+
return [];
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
datasetBiolucida: {
|
|
2155
|
+
type: Object,
|
|
2156
|
+
default: function _default() {
|
|
2157
|
+
return {};
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
entry: {
|
|
2161
|
+
type: Object,
|
|
2162
|
+
default: function _default() {
|
|
2163
|
+
return {};
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
data: function data() {
|
|
2168
|
+
return {
|
|
2169
|
+
categories: {
|
|
2170
|
+
"All": {
|
|
2171
|
+
size: 1
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
active: "All"
|
|
2175
|
+
};
|
|
2176
|
+
},
|
|
2177
|
+
methods: {
|
|
2178
|
+
addToCategories: function addToCategories(array, name) {
|
|
2179
|
+
if (array && array.length > 0) {
|
|
2180
|
+
this.categories[name] = {
|
|
2181
|
+
size: array.length
|
|
2182
|
+
};
|
|
2183
|
+
this.categories["All"].size += array.length;
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
2186
|
+
addSimulationsToCategories: function addSimulationsToCategories(array) {
|
|
2187
|
+
if (array && array.length > 0) {
|
|
2188
|
+
var size = 1;
|
|
2189
|
+
this.categories["Simulations"] = {
|
|
2190
|
+
size: size
|
|
2191
|
+
};
|
|
2192
|
+
this.categories["All"].size += size;
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
categoryClicked: function categoryClicked(name) {
|
|
2196
|
+
this.active = name;
|
|
2197
|
+
this.$emit("categoryChanged", name);
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
watch: {
|
|
2201
|
+
datasetBiolucida: {
|
|
2202
|
+
deep: true,
|
|
2203
|
+
immediate: true,
|
|
2204
|
+
handler: function handler(biolucidaData) {
|
|
2205
|
+
if ("dataset_images" in biolucidaData) {
|
|
2206
|
+
this.addToCategories(biolucidaData["dataset_images"], "Biolucida Images");
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2210
|
+
entry: {
|
|
2211
|
+
deep: true,
|
|
2212
|
+
immediate: true,
|
|
2213
|
+
handler: function handler() {
|
|
2214
|
+
this.addToCategories(this.entry.scaffolds, 'Scaffolds');
|
|
2215
|
+
this.addToCategories(this.entry.segmentation, 'Segmentations');
|
|
2216
|
+
this.addToCategories(this.entry.plots, 'Plots');
|
|
2217
|
+
this.addSimulationsToCategories(this.entry.simulation);
|
|
2218
|
+
/** disable the following
|
|
2219
|
+
this.addToCategories(this.entry.images, 'Images');
|
|
2220
|
+
this.addToCategories(this.entry.videos, 'Videos');
|
|
2221
|
+
**/
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
});
|
|
2226
|
+
// CONCATENATED MODULE: ./src/components/BadgesGroup.vue?vue&type=script&lang=js&
|
|
2227
|
+
/* harmony default export */ var components_BadgesGroupvue_type_script_lang_js_ = (BadgesGroupvue_type_script_lang_js_);
|
|
2228
|
+
// EXTERNAL MODULE: ./src/components/BadgesGroup.vue?vue&type=style&index=0&id=ee8bc524&scoped=true&lang=css&
|
|
2229
|
+
var BadgesGroupvue_type_style_index_0_id_ee8bc524_scoped_true_lang_css_ = __webpack_require__("788d");
|
|
2230
|
+
|
|
2231
|
+
// CONCATENATED MODULE: ./src/components/BadgesGroup.vue
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
/* normalize component */
|
|
2239
|
+
|
|
2240
|
+
var BadgesGroup_component = normalizeComponent(
|
|
2241
|
+
components_BadgesGroupvue_type_script_lang_js_,
|
|
2242
|
+
BadgesGroupvue_type_template_id_ee8bc524_scoped_true_render,
|
|
2243
|
+
BadgesGroupvue_type_template_id_ee8bc524_scoped_true_staticRenderFns,
|
|
2244
|
+
false,
|
|
2245
|
+
null,
|
|
2246
|
+
"ee8bc524",
|
|
2247
|
+
null
|
|
2248
|
+
|
|
2249
|
+
)
|
|
2250
|
+
|
|
2251
|
+
/* harmony default export */ var BadgesGroup = (BadgesGroup_component.exports);
|
|
2252
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
2253
|
+
|
|
2254
|
+
var EventBus = new external_vue_default.a();
|
|
2255
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
2256
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageGallery.vue?vue&type=template&id=6c38fe3e&scoped=true&
|
|
2257
|
+
var ImageGalleryvue_type_template_id_6c38fe3e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"full-size"},[_c('gallery',{ref:"gallery",attrs:{"bottomSpacer":_vm.bottomSpacer,"cardWidth":10,"items":_vm.galleryItems,"max-width":_vm.maxWidth,"show-indicator-bar":false,"show-card-details":true,"highlight-active":false,"image-style":_vm.imageStyle,"image-container-style":_vm.imageContainerStyle,"body-style":_vm.bodyStyle,"shadow":_vm.shadow},on:{"card-clicked":_vm.cardClicked}})],1)}
|
|
2258
|
+
var ImageGalleryvue_type_template_id_6c38fe3e_scoped_true_staticRenderFns = []
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
// CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=template&id=6c38fe3e&scoped=true&
|
|
2262
|
+
|
|
2263
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
|
|
2272
|
+
function _iterableToArrayLimit(arr, i) {
|
|
2273
|
+
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
|
2274
|
+
return;
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
var _arr = [];
|
|
2278
|
+
var _n = true;
|
|
2279
|
+
var _d = false;
|
|
2280
|
+
var _e = undefined;
|
|
2281
|
+
|
|
2282
|
+
try {
|
|
2283
|
+
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
|
2284
|
+
_arr.push(_s.value);
|
|
2285
|
+
|
|
2286
|
+
if (i && _arr.length === i) break;
|
|
2287
|
+
}
|
|
2288
|
+
} catch (err) {
|
|
2289
|
+
_d = true;
|
|
2290
|
+
_e = err;
|
|
2291
|
+
} finally {
|
|
2292
|
+
try {
|
|
2293
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
2294
|
+
} finally {
|
|
2295
|
+
if (_d) throw _e;
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
return _arr;
|
|
2300
|
+
}
|
|
2301
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
2302
|
+
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
function _slicedToArray(arr, i) {
|
|
2306
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
|
2307
|
+
}
|
|
2308
|
+
// EXTERNAL MODULE: external "@abi-software/gallery/src/mixins/GalleryHelpers"
|
|
2309
|
+
var GalleryHelpers_ = __webpack_require__("a012");
|
|
2310
|
+
var GalleryHelpers_default = /*#__PURE__*/__webpack_require__.n(GalleryHelpers_);
|
|
2311
|
+
|
|
2312
|
+
// EXTERNAL MODULE: external "@abi-software/gallery"
|
|
2313
|
+
var gallery_ = __webpack_require__("3a09");
|
|
2314
|
+
var gallery_default = /*#__PURE__*/__webpack_require__.n(gallery_);
|
|
2315
|
+
|
|
2316
|
+
// EXTERNAL MODULE: external "@abi-software/gallery/dist/gallery.css"
|
|
2317
|
+
var gallery_css_ = __webpack_require__("5658");
|
|
2318
|
+
|
|
2319
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageGallery.vue?vue&type=script&lang=js&
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
//
|
|
2337
|
+
//
|
|
2338
|
+
//
|
|
2339
|
+
//
|
|
2340
|
+
//
|
|
2341
|
+
//
|
|
2342
|
+
//
|
|
2343
|
+
//
|
|
2344
|
+
//
|
|
2345
|
+
//
|
|
2346
|
+
//
|
|
2347
|
+
//
|
|
2348
|
+
//
|
|
2349
|
+
//
|
|
2350
|
+
//
|
|
2351
|
+
//
|
|
2352
|
+
//
|
|
2353
|
+
//
|
|
2354
|
+
//
|
|
2355
|
+
//
|
|
2356
|
+
|
|
2357
|
+
/* eslint-disable no-alert, no-console */
|
|
2358
|
+
var baseName = function baseName(str) {
|
|
2359
|
+
return str.split("\\").pop().split("/").pop();
|
|
2360
|
+
};
|
|
2361
|
+
|
|
2362
|
+
var ImageGalleryvue_type_script_lang_js_capitalise = function capitalise(string) {
|
|
2363
|
+
return string.replace(/\b\w/g, function (v) {
|
|
2364
|
+
return v.toUpperCase();
|
|
2365
|
+
});
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
/* harmony default export */ var ImageGalleryvue_type_script_lang_js_ = ({
|
|
2372
|
+
name: "ImageGallery",
|
|
2373
|
+
components: {
|
|
2374
|
+
Gallery: gallery_default.a
|
|
2375
|
+
},
|
|
2376
|
+
mixins: [GalleryHelpers_default.a],
|
|
2377
|
+
props: {
|
|
2378
|
+
datasetBiolucida: {
|
|
2379
|
+
type: Object,
|
|
2380
|
+
default: function _default() {
|
|
2381
|
+
return {};
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
envVars: {
|
|
2385
|
+
type: Object,
|
|
2386
|
+
default: function _default() {}
|
|
2387
|
+
},
|
|
2388
|
+
label: {
|
|
2389
|
+
type: String,
|
|
2390
|
+
default: ""
|
|
2391
|
+
},
|
|
2392
|
+
plots: {
|
|
2393
|
+
type: Array,
|
|
2394
|
+
default: function _default() {
|
|
2395
|
+
return [];
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
datasetId: {
|
|
2399
|
+
type: Number,
|
|
2400
|
+
default: -1
|
|
2401
|
+
},
|
|
2402
|
+
datasetVersion: {
|
|
2403
|
+
type: Number,
|
|
2404
|
+
default: -1
|
|
2405
|
+
},
|
|
2406
|
+
datasetThumbnail: {
|
|
2407
|
+
type: String,
|
|
2408
|
+
default: ""
|
|
2409
|
+
},
|
|
2410
|
+
category: {
|
|
2411
|
+
type: String,
|
|
2412
|
+
default: "All"
|
|
2413
|
+
},
|
|
2414
|
+
entry: {
|
|
2415
|
+
type: Object,
|
|
2416
|
+
default: function _default() {
|
|
2417
|
+
return {};
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
data: function data() {
|
|
2422
|
+
return {
|
|
2423
|
+
currentIndex: 0,
|
|
2424
|
+
ro: null,
|
|
2425
|
+
maxWidth: 3,
|
|
2426
|
+
items: {
|
|
2427
|
+
"Biolucida Images": [],
|
|
2428
|
+
'Dataset': [],
|
|
2429
|
+
'Images': [],
|
|
2430
|
+
'Scaffolds': [],
|
|
2431
|
+
'Segmentations': [],
|
|
2432
|
+
'Simulations': [],
|
|
2433
|
+
'Videos': [],
|
|
2434
|
+
'Plots': []
|
|
2435
|
+
},
|
|
2436
|
+
bodyStyle: {
|
|
2437
|
+
padding: '0px',
|
|
2438
|
+
background: '#ffffff'
|
|
2439
|
+
},
|
|
2440
|
+
imageContainerStyle: {
|
|
2441
|
+
width: '160px',
|
|
2442
|
+
height: '160px',
|
|
2443
|
+
display: 'flex',
|
|
2444
|
+
alignItems: 'center',
|
|
2445
|
+
justifyContent: 'center'
|
|
2446
|
+
},
|
|
2447
|
+
imageStyle: {
|
|
2448
|
+
maxWidth: '160px',
|
|
2449
|
+
maxHeight: '160px'
|
|
2450
|
+
},
|
|
2451
|
+
shadow: "never",
|
|
2452
|
+
bottomSpacer: {
|
|
2453
|
+
minHeight: '0rem'
|
|
2454
|
+
},
|
|
2455
|
+
resetIndex: false
|
|
2456
|
+
};
|
|
2457
|
+
},
|
|
2458
|
+
methods: {
|
|
2459
|
+
cardClicked: function cardClicked(payload) {
|
|
2460
|
+
this.$emit('card-clicked', payload);
|
|
2461
|
+
},
|
|
2462
|
+
createSciCurnchItems: function createSciCurnchItems() {
|
|
2463
|
+
this.createDatasetItem();
|
|
2464
|
+
this.createScaffoldItems();
|
|
2465
|
+
this.createSimulationItems();
|
|
2466
|
+
this.createPlotItems();
|
|
2467
|
+
this.createSegmentationItems();
|
|
2468
|
+
/* Disable these two
|
|
2469
|
+
this.createImageItems();
|
|
2470
|
+
this.createVideoItems();
|
|
2471
|
+
*/
|
|
2472
|
+
},
|
|
2473
|
+
createDatasetItem: function createDatasetItem() {
|
|
2474
|
+
var link = "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset");
|
|
2475
|
+
|
|
2476
|
+
if (this.datasetThumbnail) {
|
|
2477
|
+
this.items['Dataset'].push({
|
|
2478
|
+
id: -1,
|
|
2479
|
+
//Work around gallery requires a truthy string
|
|
2480
|
+
title: " ",
|
|
2481
|
+
type: "Dataset ".concat(this.datasetId),
|
|
2482
|
+
thumbnail: this.datasetThumbnail,
|
|
2483
|
+
link: link,
|
|
2484
|
+
hideType: true,
|
|
2485
|
+
hideTitle: true
|
|
2486
|
+
});
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
createImageItems: function createImageItems() {
|
|
2490
|
+
var _this = this;
|
|
2491
|
+
|
|
2492
|
+
if (this.entry.images) {
|
|
2493
|
+
this.entry.images.forEach(function (image) {
|
|
2494
|
+
var filePath = image.dataset.path;
|
|
2495
|
+
var id = image.identifier;
|
|
2496
|
+
var linkUrl = "".concat(_this.envVars.ROOT_URL, "/datasets/imageviewer?dataset_id=").concat(_this.datasetId, "&dataset_version=").concat(_this.datasetVersion, "&file_path=").concat(filePath, "&mimetype=").concat(image.mimetype.name);
|
|
2497
|
+
|
|
2498
|
+
_this.items['Images'].push({
|
|
2499
|
+
id: id,
|
|
2500
|
+
title: baseName(filePath),
|
|
2501
|
+
type: "Image",
|
|
2502
|
+
link: linkUrl,
|
|
2503
|
+
hideType: true
|
|
2504
|
+
});
|
|
2505
|
+
});
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
createPlotItems: function createPlotItems() {
|
|
2509
|
+
var _this2 = this;
|
|
2510
|
+
|
|
2511
|
+
if (this.entry.plots) {
|
|
2512
|
+
this.entry.plots.forEach(function (plot) {
|
|
2513
|
+
var filePath = plot.dataset.path;
|
|
2514
|
+
var id = plot.identifier;
|
|
2515
|
+
|
|
2516
|
+
var thumbnail = _this2.getThumbnailForPlot(plot, _this2.entry.thumbnails);
|
|
2517
|
+
|
|
2518
|
+
var thumbnailURL = undefined;
|
|
2519
|
+
var mimetype = '';
|
|
2520
|
+
|
|
2521
|
+
if (thumbnail) {
|
|
2522
|
+
thumbnailURL = _this2.getImageURLFromS3(_this2.envVars.API_LOCATION, {
|
|
2523
|
+
id: id,
|
|
2524
|
+
datasetId: _this2.datasetId,
|
|
2525
|
+
datasetVersion: _this2.datasetVersion,
|
|
2526
|
+
file_path: thumbnail.dataset.path
|
|
2527
|
+
});
|
|
2528
|
+
mimetype = thumbnail.mimetype.name;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
var plotAnnotation = plot.datacite;
|
|
2532
|
+
var filePathPrefix = "".concat(_this2.envVars.API_LOCATION, "/s3-resource/").concat(_this2.datasetId, "/").concat(_this2.datasetVersion, "/files/");
|
|
2533
|
+
var sourceUrl = filePathPrefix + plot.dataset.path;
|
|
2534
|
+
var metadata = JSON.parse(plotAnnotation.supplemental_json_metadata.description);
|
|
2535
|
+
var supplementalData = [];
|
|
2536
|
+
|
|
2537
|
+
if (plotAnnotation.isDescribedBy) {
|
|
2538
|
+
supplementalData.push({
|
|
2539
|
+
url: filePathPrefix + plotAnnotation.isDescribedBy.path
|
|
2540
|
+
});
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
var resource = {
|
|
2544
|
+
dataSource: {
|
|
2545
|
+
url: sourceUrl
|
|
2546
|
+
},
|
|
2547
|
+
metadata: metadata,
|
|
2548
|
+
supplementalData: supplementalData
|
|
2549
|
+
};
|
|
2550
|
+
var action = {
|
|
2551
|
+
label: ImageGalleryvue_type_script_lang_js_capitalise(_this2.label),
|
|
2552
|
+
resource: resource,
|
|
2553
|
+
title: "View plot",
|
|
2554
|
+
type: "Plot",
|
|
2555
|
+
discoverId: _this2.discoverId,
|
|
2556
|
+
version: _this2.datasetVersion
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
_this2.items['Plots'].push({
|
|
2560
|
+
id: id,
|
|
2561
|
+
title: baseName(filePath),
|
|
2562
|
+
type: "Plot",
|
|
2563
|
+
thumbnail: thumbnailURL,
|
|
2564
|
+
userData: action,
|
|
2565
|
+
hideType: true,
|
|
2566
|
+
mimetype: mimetype
|
|
2567
|
+
});
|
|
2568
|
+
});
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
createScaffoldItems: function createScaffoldItems() {
|
|
2572
|
+
var _this3 = this;
|
|
2573
|
+
|
|
2574
|
+
if (this.entry.scaffolds) {
|
|
2575
|
+
var index = 0;
|
|
2576
|
+
this.entry.scaffolds.forEach(function (scaffold) {
|
|
2577
|
+
var filePath = scaffold.dataset.path;
|
|
2578
|
+
var id = scaffold.identifier;
|
|
2579
|
+
|
|
2580
|
+
var thumbnail = _this3.getThumbnailForScaffold(scaffold, _this3.entry.scaffoldViews, _this3.entry.thumbnails, index);
|
|
2581
|
+
|
|
2582
|
+
var mimetype = '';
|
|
2583
|
+
var thumbnailURL = undefined;
|
|
2584
|
+
|
|
2585
|
+
if (thumbnail) {
|
|
2586
|
+
thumbnailURL = _this3.getImageURLFromS3(_this3.envVars.API_LOCATION, {
|
|
2587
|
+
id: id,
|
|
2588
|
+
datasetId: _this3.datasetId,
|
|
2589
|
+
datasetVersion: _this3.datasetVersion,
|
|
2590
|
+
file_path: thumbnail.dataset.path
|
|
2591
|
+
});
|
|
2592
|
+
mimetype = thumbnail.mimetype.name;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
var action = {
|
|
2596
|
+
label: ImageGalleryvue_type_script_lang_js_capitalise(_this3.label),
|
|
2597
|
+
resource: "".concat(_this3.envVars.API_LOCATION, "s3-resource/").concat(_this3.datasetId, "/").concat(_this3.datasetVersion, "/files/").concat(filePath),
|
|
2598
|
+
title: "View 3D scaffold",
|
|
2599
|
+
type: "Scaffold",
|
|
2600
|
+
discoverId: _this3.datasetId,
|
|
2601
|
+
apiLocation: _this3.envVars.API_LOCATION,
|
|
2602
|
+
version: _this3.datasetVersion,
|
|
2603
|
+
banner: _this3.datasetThumbnail,
|
|
2604
|
+
contextCardUrl: _this3.entry.contextualInformation ? "".concat(_this3.envVars.API_LOCATION, "s3-resource/").concat(_this3.datasetId, "/").concat(_this3.datasetVersion, "/files/").concat(_this3.entry.contextualInformation) : undefined
|
|
2605
|
+
};
|
|
2606
|
+
|
|
2607
|
+
_this3.items['Scaffolds'].push({
|
|
2608
|
+
id: id,
|
|
2609
|
+
title: baseName(filePath),
|
|
2610
|
+
type: "Scaffold",
|
|
2611
|
+
thumbnail: thumbnailURL,
|
|
2612
|
+
userData: action,
|
|
2613
|
+
hideType: true,
|
|
2614
|
+
mimetype: mimetype
|
|
2615
|
+
});
|
|
2616
|
+
});
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
createSegmentationItems: function createSegmentationItems() {
|
|
2620
|
+
var _this4 = this;
|
|
2621
|
+
|
|
2622
|
+
if (this.entry.segmentation) {
|
|
2623
|
+
this.entry.segmentation.forEach(function (segmentation) {
|
|
2624
|
+
var id = segmentation.id;
|
|
2625
|
+
var filePath = segmentation.dataset.path;
|
|
2626
|
+
filePath = filePath.replaceAll(" ", "_");
|
|
2627
|
+
filePath = filePath.replaceAll(",", "_");
|
|
2628
|
+
var prefix = _this4.envVars.NL_LINK_PREFIX;
|
|
2629
|
+
var resource = {
|
|
2630
|
+
share_link: "".concat(prefix, "/dataviewer?datasetId=").concat(_this4.datasetId, "&version=").concat(_this4.datasetVersion, "&path=files/").concat(filePath)
|
|
2631
|
+
};
|
|
2632
|
+
var action = {
|
|
2633
|
+
label: ImageGalleryvue_type_script_lang_js_capitalise(_this4.label),
|
|
2634
|
+
resource: resource,
|
|
2635
|
+
datasetId: _this4.datasetId,
|
|
2636
|
+
title: "View segmentation",
|
|
2637
|
+
type: "Segmentation"
|
|
2638
|
+
};
|
|
2639
|
+
|
|
2640
|
+
var thumbnailURL = _this4.getSegmentationThumbnailURL(_this4.envVars.API_LOCATION, {
|
|
2641
|
+
id: id,
|
|
2642
|
+
datasetId: _this4.datasetId,
|
|
2643
|
+
datasetVersion: _this4.datasetVersion,
|
|
2644
|
+
segmentationFilePath: filePath
|
|
2645
|
+
});
|
|
2646
|
+
|
|
2647
|
+
_this4.items['Segmentations'].push({
|
|
2648
|
+
id: id,
|
|
2649
|
+
title: baseName(filePath),
|
|
2650
|
+
type: "Segmentation",
|
|
2651
|
+
thumbnail: thumbnailURL,
|
|
2652
|
+
userData: action,
|
|
2653
|
+
hideType: true,
|
|
2654
|
+
mimetype: 'image/png'
|
|
2655
|
+
});
|
|
2656
|
+
});
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
createSimulationItems: function createSimulationItems() {
|
|
2660
|
+
if (this.entry.simulation && this.entry.simulation.length > 0) {
|
|
2661
|
+
var action = {
|
|
2662
|
+
label: undefined,
|
|
2663
|
+
apiLocation: this.envVars.API_LOCATION,
|
|
2664
|
+
version: this.datasetVersion,
|
|
2665
|
+
title: "View simulation",
|
|
2666
|
+
type: "Simulation",
|
|
2667
|
+
name: this.entry.name,
|
|
2668
|
+
description: this.entry.description,
|
|
2669
|
+
discoverId: this.datasetId,
|
|
2670
|
+
dataset: "".concat(this.envVars.ROOT_URL, "/datasets/").concat(this.datasetId, "?type=dataset")
|
|
2671
|
+
};
|
|
2672
|
+
this.items['Simulations'].push({
|
|
2673
|
+
id: "simulation",
|
|
2674
|
+
title: " ",
|
|
2675
|
+
type: "Simulation",
|
|
2676
|
+
hideType: true,
|
|
2677
|
+
hideTitle: true,
|
|
2678
|
+
userData: action
|
|
2679
|
+
});
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
createVideoItems: function createVideoItems() {
|
|
2683
|
+
var _this5 = this;
|
|
2684
|
+
|
|
2685
|
+
if (this.entry.videos) {
|
|
2686
|
+
this.entry.videos.forEach(function (video) {
|
|
2687
|
+
var filePath = _this5.getS3FilePath(_this5.datasetId, _this5.datasetVersion, video.dataset.path);
|
|
2688
|
+
|
|
2689
|
+
var linkUrl = "".concat(_this5.envVars.ROOT_URL, "/datasets/videoviewer?dataset_version=").concat(_this5.datasetVersion, "&dataset_id=").concat(_this5.datasetId, "&file_path=").concat(filePath, "&mimetype=").concat(video.mimetype.name);
|
|
2690
|
+
|
|
2691
|
+
_this5.items['Videos'].push({
|
|
2692
|
+
title: video.name,
|
|
2693
|
+
type: "Video",
|
|
2694
|
+
thumbnail: _this5.defaultVideoImg,
|
|
2695
|
+
hideType: true,
|
|
2696
|
+
link: linkUrl
|
|
2697
|
+
});
|
|
2698
|
+
});
|
|
2699
|
+
}
|
|
2700
|
+
},
|
|
2701
|
+
onResize: function onResize() {
|
|
2702
|
+
this.maxWidth = this.$el.clientWidth; // this.$emit('resize', this.$el.clientWidth)
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2705
|
+
computed: {
|
|
2706
|
+
galleryItems: function galleryItems() {
|
|
2707
|
+
if (this.resetIndex) {
|
|
2708
|
+
this.$refs.gallery.indicatorClicked(0);
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
var items = _toConsumableArray(this.items["Dataset"]);
|
|
2393
2712
|
|
|
2713
|
+
if (this.category === "All") {
|
|
2714
|
+
for (var _i = 0, _Object$entries = Object.entries(this.items); _i < _Object$entries.length; _i++) {
|
|
2715
|
+
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
|
|
2716
|
+
key = _Object$entries$_i[0],
|
|
2717
|
+
value = _Object$entries$_i[1];
|
|
2718
|
+
|
|
2719
|
+
if (key !== "Dataset") items = items.concat(value);
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
return items;
|
|
2723
|
+
} else return this.items[this.category];
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
created: function created() {
|
|
2727
|
+
this.createSciCurnchItems();
|
|
2728
|
+
},
|
|
2729
|
+
watch: {
|
|
2730
|
+
category: function category() {
|
|
2731
|
+
this.resetIndex = true;
|
|
2732
|
+
},
|
|
2733
|
+
galleryItems: function galleryItems() {
|
|
2734
|
+
this.resetIndex = false;
|
|
2735
|
+
},
|
|
2736
|
+
datasetBiolucida: {
|
|
2737
|
+
deep: true,
|
|
2738
|
+
immediate: true,
|
|
2739
|
+
handler: function handler(biolucidaData) {
|
|
2740
|
+
var _this6 = this;
|
|
2741
|
+
|
|
2742
|
+
var items = [];
|
|
2743
|
+
|
|
2744
|
+
if ("dataset_images" in biolucidaData) {
|
|
2745
|
+
items.push.apply(items, _toConsumableArray(Array.from(biolucidaData.dataset_images, function (dataset_image) {
|
|
2746
|
+
var thumbnailURL = _this6.getThumbnailURLFromBiolucida(_this6.envVars.API_LOCATION, {
|
|
2747
|
+
id: dataset_image.image_id
|
|
2748
|
+
});
|
|
2749
|
+
|
|
2750
|
+
var resource = {
|
|
2751
|
+
share_link: dataset_image.share_link,
|
|
2752
|
+
id: dataset_image.image_id,
|
|
2753
|
+
itemId: dataset_image.sourcepkg_id
|
|
2754
|
+
};
|
|
2755
|
+
var action = {
|
|
2756
|
+
label: ImageGalleryvue_type_script_lang_js_capitalise(_this6.label),
|
|
2757
|
+
resource: resource,
|
|
2758
|
+
datasetId: _this6.datasetId,
|
|
2759
|
+
title: "View image",
|
|
2760
|
+
name: ImageGalleryvue_type_script_lang_js_capitalise(_this6.label),
|
|
2761
|
+
type: "Biolucida"
|
|
2762
|
+
};
|
|
2763
|
+
return {
|
|
2764
|
+
id: dataset_image.image_id,
|
|
2765
|
+
title: "Biolucida Image",
|
|
2766
|
+
type: "Image",
|
|
2767
|
+
thumbnail: thumbnailURL,
|
|
2768
|
+
userData: action,
|
|
2769
|
+
mimetype: 'image/png',
|
|
2770
|
+
hideType: true
|
|
2771
|
+
};
|
|
2772
|
+
})));
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
this.items['Biolucida Images'] = items;
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2779
|
+
mounted: function mounted() {
|
|
2780
|
+
this.ro = new ResizeObserver(this.onResize).observe(this.$el);
|
|
2781
|
+
},
|
|
2782
|
+
destroyed: function destroyed() {
|
|
2783
|
+
delete this.ro;
|
|
2784
|
+
}
|
|
2785
|
+
});
|
|
2786
|
+
// CONCATENATED MODULE: ./src/components/ImageGallery.vue?vue&type=script&lang=js&
|
|
2787
|
+
/* harmony default export */ var components_ImageGalleryvue_type_script_lang_js_ = (ImageGalleryvue_type_script_lang_js_);
|
|
2788
|
+
// EXTERNAL MODULE: ./src/components/ImageGallery.vue?vue&type=style&index=0&id=6c38fe3e&scoped=true&lang=css&
|
|
2789
|
+
var ImageGalleryvue_type_style_index_0_id_6c38fe3e_scoped_true_lang_css_ = __webpack_require__("d76d");
|
|
2790
|
+
|
|
2791
|
+
// CONCATENATED MODULE: ./src/components/ImageGallery.vue
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
/* normalize component */
|
|
2799
|
+
|
|
2800
|
+
var ImageGallery_component = normalizeComponent(
|
|
2801
|
+
components_ImageGalleryvue_type_script_lang_js_,
|
|
2802
|
+
ImageGalleryvue_type_template_id_6c38fe3e_scoped_true_render,
|
|
2803
|
+
ImageGalleryvue_type_template_id_6c38fe3e_scoped_true_staticRenderFns,
|
|
2804
|
+
false,
|
|
2805
|
+
null,
|
|
2806
|
+
"6c38fe3e",
|
|
2807
|
+
null
|
|
2808
|
+
|
|
2809
|
+
)
|
|
2810
|
+
|
|
2811
|
+
/* harmony default export */ var ImageGallery = (ImageGallery_component.exports);
|
|
2812
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
//
|
|
2831
|
+
//
|
|
2832
|
+
//
|
|
2833
|
+
//
|
|
2834
|
+
//
|
|
2835
|
+
//
|
|
2836
|
+
//
|
|
2837
|
+
//
|
|
2838
|
+
//
|
|
2839
|
+
//
|
|
2840
|
+
//
|
|
2841
|
+
//
|
|
2842
|
+
//
|
|
2843
|
+
//
|
|
2844
|
+
//
|
|
2845
|
+
//
|
|
2846
|
+
//
|
|
2847
|
+
//
|
|
2848
|
+
//
|
|
2849
|
+
//
|
|
2850
|
+
//
|
|
2851
|
+
//
|
|
2852
|
+
//
|
|
2853
|
+
//
|
|
2854
|
+
//
|
|
2855
|
+
//
|
|
2856
|
+
//
|
|
2857
|
+
//
|
|
2858
|
+
//
|
|
2859
|
+
//
|
|
2860
|
+
//
|
|
2861
|
+
//
|
|
2862
|
+
//
|
|
2863
|
+
//
|
|
2864
|
+
//
|
|
2865
|
+
//
|
|
2866
|
+
//
|
|
2867
|
+
//
|
|
2868
|
+
//
|
|
2869
|
+
//
|
|
2870
|
+
|
|
2871
|
+
/* eslint-disable no-alert, no-console */
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
locale_default.a.use(en_default.a);
|
|
2880
|
+
external_vue_default.a.use(button_default.a);
|
|
2881
|
+
external_vue_default.a.use(icon_default.a);
|
|
2394
2882
|
/* harmony default export */ var DatasetCardvue_type_script_lang_js_ = ({
|
|
2395
2883
|
name: "DatasetCard",
|
|
2884
|
+
components: {
|
|
2885
|
+
BadgesGroup: BadgesGroup,
|
|
2886
|
+
ImageGallery: ImageGallery
|
|
2887
|
+
},
|
|
2396
2888
|
props: {
|
|
2397
|
-
/**
|
|
2398
|
-
* Object containing information for
|
|
2399
|
-
* the required viewing.
|
|
2889
|
+
/**
|
|
2890
|
+
* Object containing information for
|
|
2891
|
+
* the required viewing.
|
|
2400
2892
|
*/
|
|
2401
2893
|
entry: {
|
|
2402
2894
|
type: Object,
|
|
@@ -2412,16 +2904,14 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2412
2904
|
thumbnail: __webpack_require__("9b53"),
|
|
2413
2905
|
dataLocation: this.entry.doi,
|
|
2414
2906
|
discoverId: undefined,
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2907
|
+
loading: true,
|
|
2908
|
+
version: 1,
|
|
2909
|
+
lastDoi: undefined,
|
|
2910
|
+
biolucidaData: undefined,
|
|
2911
|
+
currentCategory: "All"
|
|
2419
2912
|
};
|
|
2420
2913
|
},
|
|
2421
2914
|
computed: {
|
|
2422
|
-
hasCSVFile: function hasCSVFile() {
|
|
2423
|
-
return this.entry.csvFiles && this.entry.csvFiles.length !== 0;
|
|
2424
|
-
},
|
|
2425
2915
|
contributors: function contributors() {
|
|
2426
2916
|
var text = "";
|
|
2427
2917
|
|
|
@@ -2477,44 +2967,13 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2477
2967
|
},
|
|
2478
2968
|
methods: {
|
|
2479
2969
|
cardClicked: function cardClicked() {
|
|
2480
|
-
|
|
2481
|
-
this.openScaffold();
|
|
2482
|
-
} else {
|
|
2483
|
-
this.openDataset();
|
|
2484
|
-
}
|
|
2970
|
+
this.openDataset();
|
|
2485
2971
|
},
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
type: "Scaffold",
|
|
2492
|
-
discoverId: this.discoverId,
|
|
2493
|
-
apiLocation: this.envVars.API_LOCATION,
|
|
2494
|
-
version: this.version,
|
|
2495
|
-
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
|
|
2496
|
-
banner: this.thumbnail
|
|
2497
|
-
};
|
|
2498
|
-
|
|
2499
|
-
if (hardcoded_context_info[this.discoverId]) {
|
|
2500
|
-
action.contextCardUrl = Math.random();
|
|
2501
|
-
}
|
|
2502
|
-
|
|
2503
|
-
this.propogateCardAction(action);
|
|
2504
|
-
},
|
|
2505
|
-
openPlot: function openPlot() {
|
|
2506
|
-
var action = {
|
|
2507
|
-
label: DatasetCardvue_type_script_lang_js_capitalise(this.label),
|
|
2508
|
-
resource: this.getFileFromPath(this.discoverId, this.version, this.entry.csvFiles[0].dataset.path),
|
|
2509
|
-
title: "View plot",
|
|
2510
|
-
type: "Plot",
|
|
2511
|
-
discoverId: this.discoverId,
|
|
2512
|
-
apiLocation: this.envVars.API_LOCATION,
|
|
2513
|
-
version: this.version,
|
|
2514
|
-
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
|
|
2515
|
-
banner: this.thumbnail
|
|
2516
|
-
};
|
|
2517
|
-
this.propogateCardAction(action);
|
|
2972
|
+
categoryChanged: function categoryChanged(name) {
|
|
2973
|
+
this.currentCategory = name;
|
|
2974
|
+
},
|
|
2975
|
+
galleryClicked: function galleryClicked(payload) {
|
|
2976
|
+
this.propogateCardAction(payload);
|
|
2518
2977
|
},
|
|
2519
2978
|
openDataset: function openDataset() {
|
|
2520
2979
|
window.open(this.dataLocation, '_blank');
|
|
@@ -2549,51 +3008,10 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2549
3008
|
}
|
|
2550
3009
|
});
|
|
2551
3010
|
},
|
|
2552
|
-
openSimulation: function openSimulation() {
|
|
2553
|
-
var isSedmlResource = false;
|
|
2554
|
-
var resource = undefined;
|
|
2555
|
-
this.entry.additionalLinks.forEach(function (el) {
|
|
2556
|
-
if (el.description == "SED-ML file") {
|
|
2557
|
-
isSedmlResource = true;
|
|
2558
|
-
resource = el.uri;
|
|
2559
|
-
} else if (!isSedmlResource && el.description == "CellML file") {
|
|
2560
|
-
resource = el.uri;
|
|
2561
|
-
}
|
|
2562
|
-
});
|
|
2563
|
-
var action = {
|
|
2564
|
-
label: undefined,
|
|
2565
|
-
resource: resource,
|
|
2566
|
-
dataset: this.dataLocation,
|
|
2567
|
-
apiLocation: this.envVars.API_LOCATION,
|
|
2568
|
-
version: this.version,
|
|
2569
|
-
discoverId: this.discoverId,
|
|
2570
|
-
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version, this.entry.contextualInformation) : undefined,
|
|
2571
|
-
banner: this.thumbnail,
|
|
2572
|
-
title: "View simulation",
|
|
2573
|
-
name: this.entry.name,
|
|
2574
|
-
description: this.entry.description,
|
|
2575
|
-
type: "Simulation"
|
|
2576
|
-
};
|
|
2577
|
-
this.propogateCardAction(action);
|
|
2578
|
-
},
|
|
2579
3011
|
propogateCardAction: function propogateCardAction(action) {
|
|
2580
3012
|
components_EventBus.$emit("PopoverActionClick", action);
|
|
2581
3013
|
this.$emit('contextUpdate', action);
|
|
2582
3014
|
},
|
|
2583
|
-
getScaffoldPath: function getScaffoldPath(discoverId, version, scaffoldPath) {
|
|
2584
|
-
var id = discoverId;
|
|
2585
|
-
var path = "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(id, "/").concat(version, "/files/").concat(scaffoldPath);
|
|
2586
|
-
return path;
|
|
2587
|
-
},
|
|
2588
|
-
getFileFromPath: function getFileFromPath(discoverId, version, path) {
|
|
2589
|
-
return "".concat(this.envVars.API_LOCATION, "s3-resource/").concat(discoverId, "/").concat(version, "/files/").concat(path);
|
|
2590
|
-
},
|
|
2591
|
-
isOverflown: function isOverflown(el) {
|
|
2592
|
-
return el.clientHeight < el.scrollHeight;
|
|
2593
|
-
},
|
|
2594
|
-
expand: function expand() {
|
|
2595
|
-
this.expanded = true;
|
|
2596
|
-
},
|
|
2597
3015
|
splitDOI: function splitDOI(doi) {
|
|
2598
3016
|
return [doi.split('/')[doi.split('/').length - 2], doi.split('/')[doi.split('/').length - 1]];
|
|
2599
3017
|
},
|
|
@@ -2605,7 +3023,7 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2605
3023
|
this.lastDoi = this.entry.doi;
|
|
2606
3024
|
this.loading = true;
|
|
2607
3025
|
var doi = this.splitDOI(this.entry.doi);
|
|
2608
|
-
fetch("
|
|
3026
|
+
fetch("".concat(this.envVars.PENNSIEVE_API_LOCATION, "/discover/datasets/doi/").concat(doi[0], "/").concat(doi[1])).then(function (response) {
|
|
2609
3027
|
if (!response.ok) {
|
|
2610
3028
|
throw Error(response.statusText);
|
|
2611
3029
|
} else {
|
|
@@ -2616,39 +3034,49 @@ var DatasetCardvue_type_script_lang_js_capitalise = function capitalise(string)
|
|
|
2616
3034
|
_this.discoverId = data.id;
|
|
2617
3035
|
_this.version = data.version;
|
|
2618
3036
|
_this.dataLocation = "https://sparc.science/datasets/".concat(data.id, "?type=dataset");
|
|
3037
|
+
|
|
3038
|
+
_this.getBiolucidaInfo(_this.discoverId);
|
|
3039
|
+
|
|
2619
3040
|
_this.loading = false;
|
|
2620
3041
|
}).catch(function () {
|
|
2621
3042
|
//set defaults if we hit an error
|
|
2622
3043
|
_this.thumbnail = __webpack_require__("9b53");
|
|
2623
|
-
_this.discoverId =
|
|
3044
|
+
_this.discoverId = Number(_this.entry.datasetId);
|
|
2624
3045
|
_this.loading = false;
|
|
2625
3046
|
});
|
|
2626
3047
|
}
|
|
2627
3048
|
},
|
|
2628
3049
|
lastName: function lastName(fullName) {
|
|
2629
3050
|
return fullName.split(',')[0];
|
|
3051
|
+
},
|
|
3052
|
+
getBiolucidaInfo: function getBiolucidaInfo(id) {
|
|
3053
|
+
var _this2 = this;
|
|
3054
|
+
|
|
3055
|
+
var apiLocation = this.envVars.API_LOCATION;
|
|
3056
|
+
var endpoint = apiLocation + "image_search/" + id; // Add parameters if we are sent them
|
|
3057
|
+
|
|
3058
|
+
fetch(endpoint).then(function (response) {
|
|
3059
|
+
return response.json();
|
|
3060
|
+
}).then(function (data) {
|
|
3061
|
+
if (data.status == "success") _this2.biolucidaData = data;
|
|
3062
|
+
});
|
|
2630
3063
|
}
|
|
2631
3064
|
},
|
|
2632
|
-
|
|
3065
|
+
created: function created() {
|
|
2633
3066
|
this.getBanner();
|
|
2634
|
-
this.cardOverflow = this.isOverflown(this.$refs.card);
|
|
2635
3067
|
},
|
|
2636
|
-
updated: function updated() {},
|
|
2637
3068
|
watch: {
|
|
2638
3069
|
// currently not using card overflow
|
|
2639
3070
|
'entry.description': function entryDescription() {
|
|
2640
3071
|
// watch it
|
|
2641
|
-
this.cardOverflow = false;
|
|
2642
|
-
this.expanded = false;
|
|
2643
|
-
this.cardOverflow = this.isOverflown(this.$refs.card);
|
|
2644
3072
|
this.getBanner();
|
|
2645
3073
|
}
|
|
2646
3074
|
}
|
|
2647
3075
|
});
|
|
2648
3076
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue?vue&type=script&lang=js&
|
|
2649
3077
|
/* harmony default export */ var components_DatasetCardvue_type_script_lang_js_ = (DatasetCardvue_type_script_lang_js_);
|
|
2650
|
-
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=
|
|
2651
|
-
var
|
|
3078
|
+
// EXTERNAL MODULE: ./src/components/DatasetCard.vue?vue&type=style&index=0&id=bf387872&scoped=true&lang=css&
|
|
3079
|
+
var DatasetCardvue_type_style_index_0_id_bf387872_scoped_true_lang_css_ = __webpack_require__("1466");
|
|
2652
3080
|
|
|
2653
3081
|
// CONCATENATED MODULE: ./src/components/DatasetCard.vue
|
|
2654
3082
|
|
|
@@ -2661,25 +3089,22 @@ var DatasetCardvue_type_style_index_0_id_5dcf465c_scoped_true_lang_css_ = __webp
|
|
|
2661
3089
|
|
|
2662
3090
|
var DatasetCard_component = normalizeComponent(
|
|
2663
3091
|
components_DatasetCardvue_type_script_lang_js_,
|
|
2664
|
-
|
|
2665
|
-
|
|
3092
|
+
DatasetCardvue_type_template_id_bf387872_scoped_true_render,
|
|
3093
|
+
DatasetCardvue_type_template_id_bf387872_scoped_true_staticRenderFns,
|
|
2666
3094
|
false,
|
|
2667
3095
|
null,
|
|
2668
|
-
"
|
|
3096
|
+
"bf387872",
|
|
2669
3097
|
null
|
|
2670
3098
|
|
|
2671
3099
|
)
|
|
2672
3100
|
|
|
2673
3101
|
/* harmony default export */ var DatasetCard = (DatasetCard_component.exports);
|
|
2674
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2675
|
-
var
|
|
2676
|
-
var
|
|
3102
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-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=3d0e62ac&scoped=true&
|
|
3103
|
+
var ContextCardvue_type_template_id_3d0e62ac_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)])}
|
|
3104
|
+
var ContextCardvue_type_template_id_3d0e62ac_scoped_true_staticRenderFns = []
|
|
2677
3105
|
|
|
2678
3106
|
|
|
2679
|
-
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=
|
|
2680
|
-
|
|
2681
|
-
// EXTERNAL MODULE: external "core-js/modules/es.number.is-finite"
|
|
2682
|
-
var es_number_is_finite_ = __webpack_require__("dbad");
|
|
3107
|
+
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=template&id=3d0e62ac&scoped=true&
|
|
2683
3108
|
|
|
2684
3109
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/link.css"
|
|
2685
3110
|
var link_css_ = __webpack_require__("230a");
|
|
@@ -2688,6 +3113,84 @@ var link_css_ = __webpack_require__("230a");
|
|
|
2688
3113
|
var link_ = __webpack_require__("7db7");
|
|
2689
3114
|
var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
2690
3115
|
|
|
3116
|
+
// CONCATENATED MODULE: ./src/components/hardcoded-context-info.js
|
|
3117
|
+
/* harmony default export */ var hardcoded_context_info = ({}); // //Uncomment the code below to add in hardcoded data
|
|
3118
|
+
// export default {
|
|
3119
|
+
// 77: {
|
|
3120
|
+
// "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.",
|
|
3121
|
+
// "heading": "Mapped ICN samples",
|
|
3122
|
+
// "id": "sparc.science.context_data",
|
|
3123
|
+
// "samples": [
|
|
3124
|
+
// {
|
|
3125
|
+
// "annotation": "",
|
|
3126
|
+
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
3127
|
+
// "doi": "",
|
|
3128
|
+
// "heading": "ICNS from subject M54-8",
|
|
3129
|
+
// "id": "Sample 1",
|
|
3130
|
+
// "path": "",
|
|
3131
|
+
// "view": "View 1",
|
|
3132
|
+
// "color": "#FFFF00",
|
|
3133
|
+
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
3134
|
+
// },
|
|
3135
|
+
// {
|
|
3136
|
+
// "annotation": "",
|
|
3137
|
+
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
3138
|
+
// "doi": "",
|
|
3139
|
+
// "heading": "ICNS from subject M54-5",
|
|
3140
|
+
// "id": "Sample 2",
|
|
3141
|
+
// "path": "",
|
|
3142
|
+
// "view": "View 2",
|
|
3143
|
+
// "color": "#FFA500",
|
|
3144
|
+
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
3145
|
+
// }
|
|
3146
|
+
// ],
|
|
3147
|
+
// "version": "0.1.0",
|
|
3148
|
+
// },
|
|
3149
|
+
// 221: {
|
|
3150
|
+
// "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M162, M163, M164, M168) are mapped randomly on mouse proximal colon. The data depicts individual neural wiring patterns in enteric microcircuits, and revealed both neuron and fiber units wired in a complex organization.",
|
|
3151
|
+
// "heading": "Digital tracings of enteric plexus",
|
|
3152
|
+
// "id": "sparc.science.context_data",
|
|
3153
|
+
// "samples": [
|
|
3154
|
+
// {
|
|
3155
|
+
// "annotation": "",
|
|
3156
|
+
// "description": "Neuronal soma and fibers in a myenteric ganglion in this subject are annotated into the following groups to highlight their interactions:\n\nNeuron1,2,3 Connex: Connections between 3 neurons and cross-ganglionic fibers\n\nNeuron4_Connex: A small neuron contacts fibers passing the ganglion\n\nNeuron5: Multiple projections of a neuron in an myenteric ganglion\n\nNeuron5,3,7 Connex: Connections between 3 neurons, nerve fibers, IGNEx (complex type of intraganglionic nerve endings) and fibers in the circular muscles.\n\nNeuron8,9,10 Connex: Connections of 3 neurons with each other and with long passing fibers. \n\nIntraganglionic Nerve Ending (IGNE): Digital traces of neurites consist of complex intraganglionic nerve endings. The blue fiber has branched terminals, more likely the afferent nerve endings; the violet and cyan terminals also interweave into the fiber nest; the orange, pink and peach fibers and one process of the neuron cross the IGNE to make 1-2 conjunctions. \n",
|
|
3157
|
+
// "doi": "",
|
|
3158
|
+
// "heading": "Digital tracing for subject M11",
|
|
3159
|
+
// "id": "Sample 1",
|
|
3160
|
+
// "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
3161
|
+
// "view": "View 1"
|
|
3162
|
+
// },
|
|
3163
|
+
// {
|
|
3164
|
+
// "annotation": "",
|
|
3165
|
+
// "description": "This digital trace demonstrates some types of wiring. A long process of the green neuron terminates in the intraganglionic nerve endings (IGNE) while in contact with a nerve fiber (cyan), soma of a neuron (peach) and processes of 3 neurons (magenta, yellow and red). Two neurons and one fiber are traced to an IGNE. ",
|
|
3166
|
+
// "doi": "",
|
|
3167
|
+
// "heading": "Digital tracing for subject M16",
|
|
3168
|
+
// "id": "Sample 2",
|
|
3169
|
+
// "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
3170
|
+
// "view": "View 2"
|
|
3171
|
+
// }
|
|
3172
|
+
// ],
|
|
3173
|
+
// "version": "0.1.0",
|
|
3174
|
+
// "views": [
|
|
3175
|
+
// {
|
|
3176
|
+
// "annotation": "--",
|
|
3177
|
+
// "description": "Digital tracing of neurons for subject M11.",
|
|
3178
|
+
// "id": "View 1",
|
|
3179
|
+
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
3180
|
+
// "sample": "Sample 1",
|
|
3181
|
+
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
3182
|
+
// },
|
|
3183
|
+
// {
|
|
3184
|
+
// "annotation": "--",
|
|
3185
|
+
// "description": "Digital tracing of neurons for subject M16.",
|
|
3186
|
+
// "id": "View 2",
|
|
3187
|
+
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
3188
|
+
// "sample": "Sample 2",
|
|
3189
|
+
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
|
|
3190
|
+
// }
|
|
3191
|
+
// ]
|
|
3192
|
+
// }
|
|
3193
|
+
// }
|
|
2691
3194
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ContextCard.vue?vue&type=script&lang=js&
|
|
2692
3195
|
|
|
2693
3196
|
|
|
@@ -2710,9 +3213,6 @@ var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
|
2710
3213
|
|
|
2711
3214
|
|
|
2712
3215
|
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
3216
|
|
|
2717
3217
|
|
|
2718
3218
|
|
|
@@ -2779,9 +3279,9 @@ external_vue_default.a.use(input_default.a);
|
|
|
2779
3279
|
/* harmony default export */ var ContextCardvue_type_script_lang_js_ = ({
|
|
2780
3280
|
name: "contextCard",
|
|
2781
3281
|
props: {
|
|
2782
|
-
/**
|
|
2783
|
-
* Object containing information for
|
|
2784
|
-
* the required viewing.
|
|
3282
|
+
/**
|
|
3283
|
+
* Object containing information for
|
|
3284
|
+
* the required viewing.
|
|
2785
3285
|
*/
|
|
2786
3286
|
entry: Object
|
|
2787
3287
|
},
|
|
@@ -2799,7 +3299,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2799
3299
|
handler: function handler(val) {
|
|
2800
3300
|
if (val) {
|
|
2801
3301
|
// used for hardcoding data
|
|
2802
|
-
if (
|
|
3302
|
+
if (val === true) {
|
|
2803
3303
|
this.contextData = hardcoded_context_info[this.entry.discoverId];
|
|
2804
3304
|
} else {
|
|
2805
3305
|
this.getContextFile(val);
|
|
@@ -2825,6 +3325,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2825
3325
|
}
|
|
2826
3326
|
}).then(function (data) {
|
|
2827
3327
|
_this.contextData = data;
|
|
3328
|
+
console.log(data);
|
|
2828
3329
|
_this.loading = false;
|
|
2829
3330
|
}).catch(function () {
|
|
2830
3331
|
//set defaults if we hit an error
|
|
@@ -2836,6 +3337,8 @@ external_vue_default.a.use(input_default.a);
|
|
|
2836
3337
|
removeDoubleFilesPath: function removeDoubleFilesPath(path) {
|
|
2837
3338
|
if (path.includes('files/')) {
|
|
2838
3339
|
return path.replace('files/', '');
|
|
3340
|
+
} else if (path.includes('files\\')) {
|
|
3341
|
+
return path.replace('files\\', '');
|
|
2839
3342
|
} else {
|
|
2840
3343
|
return path;
|
|
2841
3344
|
}
|
|
@@ -2849,7 +3352,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2849
3352
|
},
|
|
2850
3353
|
getFileFromPath: function getFileFromPath(path) {
|
|
2851
3354
|
// for hardcoded data
|
|
2852
|
-
if (this.entry.contextCardUrl
|
|
3355
|
+
if (this.entry.contextCardUrl === true) {
|
|
2853
3356
|
return path;
|
|
2854
3357
|
}
|
|
2855
3358
|
|
|
@@ -2861,7 +3364,7 @@ external_vue_default.a.use(input_default.a);
|
|
|
2861
3364
|
},
|
|
2862
3365
|
openViewFile: function openViewFile(view) {
|
|
2863
3366
|
// note that we assume that the view file is in the same directory as the scaffold (viewUrls take relative paths)
|
|
2864
|
-
this.entry.viewUrl =
|
|
3367
|
+
this.entry.viewUrl = "".concat(this.entry.apiLocation, "s3-resource/").concat(this.entry.discoverId, "/").concat(this.entry.version, "/").concat(view.path);
|
|
2865
3368
|
this.entry.type = 'Scaffold View';
|
|
2866
3369
|
components_EventBus.$emit("PopoverActionClick", this.entry);
|
|
2867
3370
|
}
|
|
@@ -2869,8 +3372,8 @@ external_vue_default.a.use(input_default.a);
|
|
|
2869
3372
|
});
|
|
2870
3373
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue?vue&type=script&lang=js&
|
|
2871
3374
|
/* harmony default export */ var components_ContextCardvue_type_script_lang_js_ = (ContextCardvue_type_script_lang_js_);
|
|
2872
|
-
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=
|
|
2873
|
-
var
|
|
3375
|
+
// EXTERNAL MODULE: ./src/components/ContextCard.vue?vue&type=style&index=0&id=3d0e62ac&scoped=true&lang=css&
|
|
3376
|
+
var ContextCardvue_type_style_index_0_id_3d0e62ac_scoped_true_lang_css_ = __webpack_require__("549b");
|
|
2874
3377
|
|
|
2875
3378
|
// CONCATENATED MODULE: ./src/components/ContextCard.vue
|
|
2876
3379
|
|
|
@@ -2883,11 +3386,11 @@ var ContextCardvue_type_style_index_0_id_e348049c_scoped_true_lang_css_ = __webp
|
|
|
2883
3386
|
|
|
2884
3387
|
var ContextCard_component = normalizeComponent(
|
|
2885
3388
|
components_ContextCardvue_type_script_lang_js_,
|
|
2886
|
-
|
|
2887
|
-
|
|
3389
|
+
ContextCardvue_type_template_id_3d0e62ac_scoped_true_render,
|
|
3390
|
+
ContextCardvue_type_template_id_3d0e62ac_scoped_true_staticRenderFns,
|
|
2888
3391
|
false,
|
|
2889
3392
|
null,
|
|
2890
|
-
"
|
|
3393
|
+
"3d0e62ac",
|
|
2891
3394
|
null
|
|
2892
3395
|
|
|
2893
3396
|
)
|
|
@@ -2993,8 +3496,6 @@ function SidebarContentvue_type_script_lang_js_objectSpread(target) { for (var i
|
|
|
2993
3496
|
//
|
|
2994
3497
|
//
|
|
2995
3498
|
//
|
|
2996
|
-
//
|
|
2997
|
-
//
|
|
2998
3499
|
|
|
2999
3500
|
/* eslint-disable no-alert, no-console */
|
|
3000
3501
|
|
|
@@ -3075,10 +3576,8 @@ var initial_state = {
|
|
|
3075
3576
|
pageModel: 1,
|
|
3076
3577
|
start: 0,
|
|
3077
3578
|
hasSearched: false,
|
|
3078
|
-
sciCrunchError: false,
|
|
3079
3579
|
contextCardEntry: undefined,
|
|
3080
|
-
contextCardEnabled: true
|
|
3081
|
-
loadingScicrunch: false
|
|
3580
|
+
contextCardEnabled: true
|
|
3082
3581
|
};
|
|
3083
3582
|
/* harmony default export */ var SidebarContentvue_type_script_lang_js_ = ({
|
|
3084
3583
|
components: {
|
|
@@ -3133,20 +3632,15 @@ var initial_state = {
|
|
|
3133
3632
|
contextCardUpdate: function contextCardUpdate(val) {
|
|
3134
3633
|
this.contextCardEntry = val;
|
|
3135
3634
|
},
|
|
3136
|
-
openSearch: function openSearch(
|
|
3137
|
-
var _this = this;
|
|
3138
|
-
|
|
3635
|
+
openSearch: function openSearch(filter) {
|
|
3139
3636
|
var search = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
3140
3637
|
this.searchInput = search;
|
|
3141
3638
|
this.resetPageNavigation();
|
|
3142
|
-
this.searchAlgolia(
|
|
3639
|
+
this.searchAlgolia(filter, search);
|
|
3143
3640
|
|
|
3144
|
-
if (
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
_this.$refs.filtersRef.setCascader(_this.filter);
|
|
3149
|
-
});
|
|
3641
|
+
if (filter) {
|
|
3642
|
+
this.filter = _toConsumableArray(filter);
|
|
3643
|
+
this.$refs.filtersRef.setCascader(this.filter);
|
|
3150
3644
|
}
|
|
3151
3645
|
},
|
|
3152
3646
|
addFilter: function addFilter(filter) {
|
|
@@ -3180,19 +3674,31 @@ var initial_state = {
|
|
|
3180
3674
|
});
|
|
3181
3675
|
},
|
|
3182
3676
|
searchAlgolia: function searchAlgolia(filters) {
|
|
3183
|
-
var
|
|
3677
|
+
var _this = this;
|
|
3184
3678
|
|
|
3185
3679
|
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
3186
3680
|
// Algolia search
|
|
3681
|
+
this.loadingCards = true;
|
|
3187
3682
|
this.algoliaClient.search(getFilters(filters), query, this.numberPerPage, this.page).then(function (searchData) {
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3683
|
+
_this.numberOfHits = searchData.total;
|
|
3684
|
+
_this.discoverIds = searchData.discoverIds;
|
|
3685
|
+
_this._dois = searchData.dois;
|
|
3686
|
+
_this.results = searchData.items;
|
|
3687
|
+
_this.loadingCards = false;
|
|
3688
|
+
|
|
3689
|
+
_this.scrollToTop();
|
|
3690
|
+
|
|
3691
|
+
_this.$emit("search-changed", {
|
|
3692
|
+
value: _this.searchInput,
|
|
3693
|
+
type: "query-update"
|
|
3694
|
+
});
|
|
3695
|
+
|
|
3696
|
+
if (_this._abortController) _this._abortController.abort();
|
|
3697
|
+
_this._abortController = new AbortController();
|
|
3698
|
+
var signal = _this._abortController.signal; //Search ongoing, let the current flow progress
|
|
3699
|
+
|
|
3700
|
+
_this.perItemSearch(signal, {
|
|
3701
|
+
count: 0
|
|
3196
3702
|
});
|
|
3197
3703
|
});
|
|
3198
3704
|
},
|
|
@@ -3208,32 +3714,45 @@ var initial_state = {
|
|
|
3208
3714
|
this.page = page;
|
|
3209
3715
|
this.searchAlgolia(this.filters, this.searchInput, this.numberPerPage, this.page);
|
|
3210
3716
|
},
|
|
3211
|
-
|
|
3212
|
-
var
|
|
3213
|
-
|
|
3214
|
-
this.loadingScicrunch = true;
|
|
3215
|
-
this.scrollToTop();
|
|
3216
|
-
this.$emit("search-changed", {
|
|
3217
|
-
value: this.searchInput,
|
|
3218
|
-
type: "query-update"
|
|
3717
|
+
handleMissingData: function handleMissingData(doi) {
|
|
3718
|
+
var i = this.results.findIndex(function (res) {
|
|
3719
|
+
return res.doi === doi;
|
|
3219
3720
|
});
|
|
3220
|
-
this.
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3721
|
+
if (this.results[i]) this.results[i].detailsReady = true;
|
|
3722
|
+
},
|
|
3723
|
+
perItemSearch: function perItemSearch(signal, data) {
|
|
3724
|
+
var _this2 = this;
|
|
3725
|
+
|
|
3726
|
+
//Maximum 10 downloads at once to prevent long waiting time
|
|
3727
|
+
//between unfinished search and new search
|
|
3728
|
+
var maxDownloads = 10;
|
|
3729
|
+
|
|
3730
|
+
if (maxDownloads > data.count) {
|
|
3731
|
+
var doi = this._dois.shift();
|
|
3732
|
+
|
|
3733
|
+
if (doi) {
|
|
3734
|
+
data.count++;
|
|
3735
|
+
this.callSciCrunch(this.envVars.API_LOCATION, {
|
|
3736
|
+
'dois': [doi]
|
|
3737
|
+
}, signal).then(function (result) {
|
|
3738
|
+
if (result.numberOfHits === 0) _this2.handleMissingData(doi);else _this2.resultsProcessing(result);
|
|
3739
|
+
_this2.$refs.content.style["overflow-y"] = "scroll";
|
|
3740
|
+
data.count--; //Async::Download finished, get the next one
|
|
3741
|
+
|
|
3742
|
+
_this2.perItemSearch(signal, data);
|
|
3743
|
+
}).catch(function (result) {
|
|
3744
|
+
if (result.name !== 'AbortError') {
|
|
3745
|
+
_this2.handleMissingData(doi);
|
|
3746
|
+
|
|
3747
|
+
data.count--; //Async::Download not aborted, get the next one
|
|
3748
|
+
|
|
3749
|
+
_this2.perItemSearch(signal, data);
|
|
3750
|
+
}
|
|
3751
|
+
}); //Check and make another request until it gets to max downloads
|
|
3752
|
+
|
|
3753
|
+
this.perItemSearch(signal, data);
|
|
3235
3754
|
}
|
|
3236
|
-
}
|
|
3755
|
+
}
|
|
3237
3756
|
},
|
|
3238
3757
|
scrollToTop: function scrollToTop() {
|
|
3239
3758
|
if (this.$refs.content) {
|
|
@@ -3248,7 +3767,7 @@ var initial_state = {
|
|
|
3248
3767
|
this.page = 1;
|
|
3249
3768
|
},
|
|
3250
3769
|
resultsProcessing: function resultsProcessing(data) {
|
|
3251
|
-
var
|
|
3770
|
+
var _this3 = this;
|
|
3252
3771
|
|
|
3253
3772
|
this.lastSearch = this.searchInput;
|
|
3254
3773
|
|
|
@@ -3258,19 +3777,21 @@ var initial_state = {
|
|
|
3258
3777
|
|
|
3259
3778
|
data.results.forEach(function (element) {
|
|
3260
3779
|
// match the scicrunch result with algolia result
|
|
3261
|
-
var i =
|
|
3780
|
+
var i = _this3.results.findIndex(function (res) {
|
|
3262
3781
|
return res.name === element.name;
|
|
3263
3782
|
}); // Assign scicrunch results to the object
|
|
3264
3783
|
|
|
3265
3784
|
|
|
3266
|
-
Object.assign(
|
|
3785
|
+
Object.assign(_this3.results[i], element); // Assign the attributes that need some processing
|
|
3267
3786
|
|
|
3268
|
-
Object.assign(
|
|
3787
|
+
Object.assign(_this3.results[i], {
|
|
3269
3788
|
numberSamples: element.sampleSize ? parseInt(element.sampleSize) : 0,
|
|
3270
3789
|
numberSubjects: element.subjectSize ? parseInt(element.subjectSize) : 0,
|
|
3271
3790
|
updated: element.updated[0].timestamp.split("T")[0],
|
|
3272
3791
|
url: element.uri[0],
|
|
3273
|
-
datasetId: element.
|
|
3792
|
+
datasetId: element.dataset_identifier,
|
|
3793
|
+
datasetRevision: element.dataset_revision,
|
|
3794
|
+
datasetVersion: element.dataset_version,
|
|
3274
3795
|
organs: element.organs && element.organs.length > 0 ? _toConsumableArray(new Set(element.organs.map(function (v) {
|
|
3275
3796
|
return v.name;
|
|
3276
3797
|
}))) : undefined,
|
|
@@ -3278,11 +3799,19 @@ var initial_state = {
|
|
|
3278
3799
|
return v.species ? v.species.name : null;
|
|
3279
3800
|
}))) : undefined : undefined,
|
|
3280
3801
|
// This processing only includes each gender once into 'sexes'
|
|
3281
|
-
scaffolds: element['abi-scaffold-metadata-file']
|
|
3802
|
+
scaffolds: element['abi-scaffold-metadata-file'],
|
|
3803
|
+
thumbnails: element['abi-thumbnail'] ? element['abi-thumbnail'] : element['abi-scaffold-thumbnail'],
|
|
3804
|
+
scaffoldViews: element['abi-scaffold-view-file'],
|
|
3805
|
+
videos: element.video,
|
|
3806
|
+
plots: element['abi-plot'],
|
|
3807
|
+
images: element['common-images'],
|
|
3282
3808
|
contextualInformation: element['abi-contextual-information'].length > 0 ? element['abi-contextual-information'] : undefined,
|
|
3283
|
-
|
|
3809
|
+
segmentation: element['mbf-segmentation'],
|
|
3810
|
+
simulation: element['abi-simulation-file'],
|
|
3811
|
+
additionalLinks: element.additionalLinks,
|
|
3812
|
+
detailsReady: true
|
|
3284
3813
|
});
|
|
3285
|
-
external_vue_default.a.set(
|
|
3814
|
+
external_vue_default.a.set(_this3.results, i, _this3.results[i]);
|
|
3286
3815
|
});
|
|
3287
3816
|
},
|
|
3288
3817
|
createfilterParams: function createfilterParams(params) {
|
|
@@ -3305,17 +3834,13 @@ var initial_state = {
|
|
|
3305
3834
|
return p.toString();
|
|
3306
3835
|
},
|
|
3307
3836
|
callSciCrunch: function callSciCrunch(apiLocation) {
|
|
3308
|
-
var
|
|
3837
|
+
var _this4 = this;
|
|
3309
3838
|
|
|
3310
3839
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3840
|
+
var signal = arguments.length > 2 ? arguments[2] : undefined;
|
|
3311
3841
|
return new Promise(function (resolve, reject) {
|
|
3312
|
-
//
|
|
3313
|
-
|
|
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
|
|
3317
|
-
|
|
3318
|
-
var fullEndpoint = _this5.envVars.API_LOCATION + _this5.searchEndpoint + "?" + _this5.createfilterParams(params);
|
|
3842
|
+
// Add parameters if we are sent them
|
|
3843
|
+
var fullEndpoint = _this4.envVars.API_LOCATION + _this4.searchEndpoint + "?" + _this4.createfilterParams(params);
|
|
3319
3844
|
|
|
3320
3845
|
fetch(fullEndpoint, {
|
|
3321
3846
|
signal: signal
|
|
@@ -3332,8 +3857,7 @@ var initial_state = {
|
|
|
3332
3857
|
mounted: function mounted() {
|
|
3333
3858
|
// initialise algolia
|
|
3334
3859
|
this.algoliaClient = new algolia_AlgoliaClient(this.envVars.ALGOLIA_ID, this.envVars.ALGOLIA_KEY, this.envVars.PENNSIEVE_API_LOCATION);
|
|
3335
|
-
this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX);
|
|
3336
|
-
console.log('Algolia initialised in sidebar'); // temporarily disable flatmap search since there are no datasets
|
|
3860
|
+
this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX); // temporarily disable flatmap search since there are no datasets
|
|
3337
3861
|
|
|
3338
3862
|
if (this.firstSearch === "Flatmap" || this.firstSearch === "flatmap") {
|
|
3339
3863
|
this.openSearch(undefined, '');
|
|
@@ -3348,8 +3872,8 @@ var initial_state = {
|
|
|
3348
3872
|
});
|
|
3349
3873
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue?vue&type=script&lang=js&
|
|
3350
3874
|
/* harmony default export */ var components_SidebarContentvue_type_script_lang_js_ = (SidebarContentvue_type_script_lang_js_);
|
|
3351
|
-
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=
|
|
3352
|
-
var
|
|
3875
|
+
// EXTERNAL MODULE: ./src/components/SidebarContent.vue?vue&type=style&index=0&id=0d501578&scoped=true&lang=css&
|
|
3876
|
+
var SidebarContentvue_type_style_index_0_id_0d501578_scoped_true_lang_css_ = __webpack_require__("3d4f");
|
|
3353
3877
|
|
|
3354
3878
|
// CONCATENATED MODULE: ./src/components/SidebarContent.vue
|
|
3355
3879
|
|
|
@@ -3362,22 +3886,22 @@ var SidebarContentvue_type_style_index_0_id_39cef630_scoped_true_lang_css_ = __w
|
|
|
3362
3886
|
|
|
3363
3887
|
var SidebarContent_component = normalizeComponent(
|
|
3364
3888
|
components_SidebarContentvue_type_script_lang_js_,
|
|
3365
|
-
|
|
3366
|
-
|
|
3889
|
+
SidebarContentvue_type_template_id_0d501578_scoped_true_render,
|
|
3890
|
+
SidebarContentvue_type_template_id_0d501578_scoped_true_staticRenderFns,
|
|
3367
3891
|
false,
|
|
3368
3892
|
null,
|
|
3369
|
-
"
|
|
3893
|
+
"0d501578",
|
|
3370
3894
|
null
|
|
3371
3895
|
|
|
3372
3896
|
)
|
|
3373
3897
|
|
|
3374
3898
|
/* harmony default export */ var SidebarContent = (SidebarContent_component.exports);
|
|
3375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3376
|
-
var
|
|
3377
|
-
var
|
|
3899
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"65a2a86d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tabs.vue?vue&type=template&id=5d1b9484&scoped=true&
|
|
3900
|
+
var Tabsvue_type_template_id_5d1b9484_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tab-container"},_vm._l((_vm.tabTitles),function(title){return _c('div',{key:title.id,staticClass:"title"},[_c('div',{staticClass:"title-text-table",class:{ highlightText : (title.id==_vm.activeId) },on:{"click":function($event){return _vm.titleClicked(title.id)}}},[_c('div',{staticClass:"title-text"},[_vm._v(" "+_vm._s(title.title)+" ")])])])}),0)}
|
|
3901
|
+
var Tabsvue_type_template_id_5d1b9484_scoped_true_staticRenderFns = []
|
|
3378
3902
|
|
|
3379
3903
|
|
|
3380
|
-
// CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=template&id=
|
|
3904
|
+
// CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=template&id=5d1b9484&scoped=true&
|
|
3381
3905
|
|
|
3382
3906
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tabs.vue?vue&type=script&lang=js&
|
|
3383
3907
|
|
|
@@ -3417,8 +3941,8 @@ var Tabsvue_type_template_id_d68260c4_scoped_true_staticRenderFns = []
|
|
|
3417
3941
|
});
|
|
3418
3942
|
// CONCATENATED MODULE: ./src/components/Tabs.vue?vue&type=script&lang=js&
|
|
3419
3943
|
/* harmony default export */ var components_Tabsvue_type_script_lang_js_ = (Tabsvue_type_script_lang_js_);
|
|
3420
|
-
// EXTERNAL MODULE: ./src/components/Tabs.vue?vue&type=style&index=0&id=
|
|
3421
|
-
var
|
|
3944
|
+
// EXTERNAL MODULE: ./src/components/Tabs.vue?vue&type=style&index=0&id=5d1b9484&scoped=true&lang=css&
|
|
3945
|
+
var Tabsvue_type_style_index_0_id_5d1b9484_scoped_true_lang_css_ = __webpack_require__("183e");
|
|
3422
3946
|
|
|
3423
3947
|
// CONCATENATED MODULE: ./src/components/Tabs.vue
|
|
3424
3948
|
|
|
@@ -3431,11 +3955,11 @@ var Tabsvue_type_style_index_0_id_d68260c4_scoped_true_lang_css_ = __webpack_req
|
|
|
3431
3955
|
|
|
3432
3956
|
var Tabs_component = normalizeComponent(
|
|
3433
3957
|
components_Tabsvue_type_script_lang_js_,
|
|
3434
|
-
|
|
3435
|
-
|
|
3958
|
+
Tabsvue_type_template_id_5d1b9484_scoped_true_render,
|
|
3959
|
+
Tabsvue_type_template_id_5d1b9484_scoped_true_staticRenderFns,
|
|
3436
3960
|
false,
|
|
3437
3961
|
null,
|
|
3438
|
-
"
|
|
3962
|
+
"5d1b9484",
|
|
3439
3963
|
null
|
|
3440
3964
|
|
|
3441
3965
|
)
|
|
@@ -3627,8 +4151,8 @@ var SideBarvue_type_script_lang_js_initial_state = {
|
|
|
3627
4151
|
});
|
|
3628
4152
|
// CONCATENATED MODULE: ./src/components/SideBar.vue?vue&type=script&lang=js&
|
|
3629
4153
|
/* harmony default export */ var components_SideBarvue_type_script_lang_js_ = (SideBarvue_type_script_lang_js_);
|
|
3630
|
-
// EXTERNAL MODULE: ./src/components/SideBar.vue?vue&type=style&index=0&id=
|
|
3631
|
-
var
|
|
4154
|
+
// EXTERNAL MODULE: ./src/components/SideBar.vue?vue&type=style&index=0&id=3d831a8e&scoped=true&lang=css&
|
|
4155
|
+
var SideBarvue_type_style_index_0_id_3d831a8e_scoped_true_lang_css_ = __webpack_require__("bc5f");
|
|
3632
4156
|
|
|
3633
4157
|
// CONCATENATED MODULE: ./src/components/SideBar.vue
|
|
3634
4158
|
|
|
@@ -3645,7 +4169,7 @@ var SideBar_component = normalizeComponent(
|
|
|
3645
4169
|
staticRenderFns,
|
|
3646
4170
|
false,
|
|
3647
4171
|
null,
|
|
3648
|
-
"
|
|
4172
|
+
"3d831a8e",
|
|
3649
4173
|
null
|
|
3650
4174
|
|
|
3651
4175
|
)
|