@abi-software/scaffoldvuer 1.9.1-beta.0 → 1.9.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scaffoldvuer.js +2181 -2156
- package/dist/scaffoldvuer.umd.cjs +156 -156
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ScaffoldVuer.vue +15 -1
package/package.json
CHANGED
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
class="settings-group"
|
|
338
338
|
:class="{ open: drawerOpen, close: !drawerOpen }"
|
|
339
339
|
>
|
|
340
|
-
<el-row>
|
|
340
|
+
<el-row v-if="showOpenMapButton">
|
|
341
341
|
<el-popover
|
|
342
342
|
:visible="hoverVisibilities[3].value"
|
|
343
343
|
content="Open new map"
|
|
@@ -714,6 +714,13 @@ export default {
|
|
|
714
714
|
type: Boolean,
|
|
715
715
|
default: true,
|
|
716
716
|
},
|
|
717
|
+
/**
|
|
718
|
+
* The option to show open new map button
|
|
719
|
+
*/
|
|
720
|
+
showOpenMapButton: {
|
|
721
|
+
type: Boolean,
|
|
722
|
+
default: true,
|
|
723
|
+
},
|
|
717
724
|
},
|
|
718
725
|
provide() {
|
|
719
726
|
return {
|
|
@@ -2079,6 +2086,7 @@ export default {
|
|
|
2079
2086
|
this.authorisedUser = undefined;
|
|
2080
2087
|
this.offlineAnnotationEnabled = true;
|
|
2081
2088
|
}
|
|
2089
|
+
this.emitOfflineAnnotationUpdate();
|
|
2082
2090
|
this.addAnnotationFeature();
|
|
2083
2091
|
this.loading = false;
|
|
2084
2092
|
});
|
|
@@ -2099,6 +2107,12 @@ export default {
|
|
|
2099
2107
|
this.cancelCreate();
|
|
2100
2108
|
}
|
|
2101
2109
|
},
|
|
2110
|
+
/**
|
|
2111
|
+
* Function to emit offline annotation enabled status
|
|
2112
|
+
*/
|
|
2113
|
+
emitOfflineAnnotationUpdate: function () {
|
|
2114
|
+
this.$emit('update-offline-annotation-enabled', this.offlineAnnotationEnabled);
|
|
2115
|
+
},
|
|
2102
2116
|
/**
|
|
2103
2117
|
* @public
|
|
2104
2118
|
* Hide the tooltip
|