@abi-software/map-side-bar 1.3.38 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +203 -0
- package/dist/map-side-bar.common.js +1130 -730
- 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 +1130 -730
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +3 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package-lock.json +9323 -8976
- package/package.json +15 -9
- package/src/components/ImageGallery.vue +10 -3
- package/vue.config.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/map-side-bar",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "./dist/map-side-bar.common.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -14,21 +14,27 @@
|
|
|
14
14
|
"build-bundle": "vue-cli-service build --target lib --name map-side-bar ./src/components/index.js ",
|
|
15
15
|
"build": "vue-cli-service build",
|
|
16
16
|
"lint": "vue-cli-service lint",
|
|
17
|
-
"start": "vue-cli-service serve"
|
|
17
|
+
"start": "vue-cli-service serve",
|
|
18
|
+
"release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
|
|
19
|
+
"release:minor": "npm version minor; npm publish",
|
|
20
|
+
"release:patch": "npm version patch; npm publish",
|
|
21
|
+
"changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
|
|
22
|
+
"version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md"
|
|
18
23
|
},
|
|
19
24
|
"dependencies": {
|
|
20
|
-
"@abi-software/gallery": "^0.
|
|
25
|
+
"@abi-software/gallery": "^0.4.0",
|
|
21
26
|
"@abi-software/svg-sprite": "^0.2.0",
|
|
22
27
|
"algoliasearch": "^4.10.5",
|
|
23
|
-
"element-ui": "^2.13
|
|
28
|
+
"element-ui": "^2.15.13",
|
|
24
29
|
"marked": "^4.1.1",
|
|
25
|
-
"vue": "
|
|
30
|
+
"vue": "2.6.14",
|
|
26
31
|
"xss": "^1.0.14"
|
|
27
32
|
},
|
|
28
33
|
"devDependencies": {
|
|
29
|
-
"@vue/cli-plugin-babel": "^4.
|
|
30
|
-
"@vue/cli-plugin-eslint": "^4.
|
|
31
|
-
"@vue/cli-service": "^4.
|
|
34
|
+
"@vue/cli-plugin-babel": "^4.5.19",
|
|
35
|
+
"@vue/cli-plugin-eslint": "^4.5.19",
|
|
36
|
+
"@vue/cli-service": "^4.5.19",
|
|
37
|
+
"auto-changelog": "^2.4.0",
|
|
32
38
|
"babel-eslint": "^10.0.3",
|
|
33
39
|
"babel-plugin-component": "^1.1.1",
|
|
34
40
|
"eslint": "^5.16.0",
|
|
@@ -40,7 +46,7 @@
|
|
|
40
46
|
"transform-loader": "^0.2.4",
|
|
41
47
|
"typescript": "^4.4.3",
|
|
42
48
|
"vue-custom-element": "^3.3.0",
|
|
43
|
-
"vue-template-compiler": "
|
|
49
|
+
"vue-template-compiler": "2.6.14",
|
|
44
50
|
"webpack-node-externals": "^2.5.2"
|
|
45
51
|
},
|
|
46
52
|
"eslintConfig": {
|
|
@@ -180,9 +180,16 @@ export default {
|
|
|
180
180
|
const filePathPrefix = `${this.envVars.API_LOCATION}/s3-resource/${this.datasetId}/${this.datasetVersion}/files/`;
|
|
181
181
|
const sourceUrl = filePathPrefix + plot.dataset.path + this.getS3Args();
|
|
182
182
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
//plotAnnotation.supplemental_json_metadata.description can be undefined or
|
|
184
|
+
//contain an empty string causing an error with JSON.parse
|
|
185
|
+
let metadata = {};
|
|
186
|
+
try {
|
|
187
|
+
metadata = JSON.parse(
|
|
188
|
+
plotAnnotation.supplemental_json_metadata.description
|
|
189
|
+
);
|
|
190
|
+
} catch (error) {
|
|
191
|
+
console.warn(error);
|
|
192
|
+
}
|
|
186
193
|
|
|
187
194
|
let supplementalData = [];
|
|
188
195
|
if (plotAnnotation.isDescribedBy) {
|