@abi-software/map-side-bar 2.6.3 → 2.6.4-beta.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/map-side-bar",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4-beta.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/*",
|
|
6
6
|
"src/*",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@abi-software/gallery": "^1.1.2",
|
|
42
|
-
"@abi-software/map-utilities": "^1.3.
|
|
42
|
+
"@abi-software/map-utilities": "^1.3.3-beta.0",
|
|
43
43
|
"@abi-software/svg-sprite": "^1.0.1",
|
|
44
44
|
"@element-plus/icons-vue": "^2.3.1",
|
|
45
45
|
"algoliasearch": "^4.10.5",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
</div>
|
|
219
219
|
|
|
220
220
|
<div class="content-container content-container-references" v-if="resources.length">
|
|
221
|
-
<external-resource-card :resources="resources" @references-loaded="onReferencesLoaded"></external-resource-card>
|
|
221
|
+
<external-resource-card :resources="resources" :useDOIFormatter="useDOIFormatter" @references-loaded="onReferencesLoaded"></external-resource-card>
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
224
|
</template>
|
|
@@ -292,6 +292,10 @@ export default {
|
|
|
292
292
|
type: Array,
|
|
293
293
|
default: () => [],
|
|
294
294
|
},
|
|
295
|
+
useDOIFormatter: {
|
|
296
|
+
type: Boolean,
|
|
297
|
+
default: true,
|
|
298
|
+
},
|
|
295
299
|
},
|
|
296
300
|
data: function () {
|
|
297
301
|
return {
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
v-if="tab.id === activeTabId"
|
|
38
38
|
:envVars="envVars"
|
|
39
39
|
:ref="'connectivityTab_' + tab.id"
|
|
40
|
+
:useDOIFormatter="useDOIFormatter"
|
|
40
41
|
@show-connectivity="showConnectivity"
|
|
41
42
|
@connectivity-component-click="onConnectivityComponentClick"
|
|
42
43
|
/>
|
|
@@ -165,7 +166,16 @@ export default {
|
|
|
165
166
|
x: 0,
|
|
166
167
|
y: 0,
|
|
167
168
|
},
|
|
168
|
-
}
|
|
169
|
+
},
|
|
170
|
+
/**
|
|
171
|
+
* The option to use DOI.org as citation formatter.
|
|
172
|
+
* If set to `false`, citation.js will be used.
|
|
173
|
+
* Default is `true`.
|
|
174
|
+
*/
|
|
175
|
+
useDOIFormatter: {
|
|
176
|
+
type: Boolean,
|
|
177
|
+
default: true,
|
|
178
|
+
},
|
|
169
179
|
},
|
|
170
180
|
data: function () {
|
|
171
181
|
return {
|