@abi-software/scaffoldvuer 1.20.0 → 1.21.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/dist/scaffoldvuer.js +26219 -17753
- package/dist/scaffoldvuer.umd.cjs +2998 -1848
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/components/ScaffoldVuer.vue +11 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/scaffoldvuer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^24.20.0"
|
|
@@ -56,13 +56,12 @@
|
|
|
56
56
|
"simple-dropzone": "^0.8.3",
|
|
57
57
|
"vue": "^3.5.41",
|
|
58
58
|
"vue-router": "^5.2.0",
|
|
59
|
-
"zincjs": "^2.
|
|
59
|
+
"zincjs": "^2.4.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@eslint/js": "^10.0.1",
|
|
63
62
|
"@babel/eslint-parser": "^8.0.1",
|
|
63
|
+
"@eslint/js": "^10.0.1",
|
|
64
64
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
65
|
-
"unplugin-vue-components": "^32.1.0",
|
|
66
65
|
"@vuese/markdown-render": "^2.11.3",
|
|
67
66
|
"auto-changelog": "^2.6.0",
|
|
68
67
|
"babel-plugin-component": "^1.1.1",
|
|
@@ -72,6 +71,7 @@
|
|
|
72
71
|
"eslint-plugin-vue": "^10.10.0",
|
|
73
72
|
"globals": "^17.11.0",
|
|
74
73
|
"sass": "^1.103.1",
|
|
74
|
+
"unplugin-vue-components": "^32.1.0",
|
|
75
75
|
"vite": "^8.2.1",
|
|
76
76
|
"vite-plugin-node-polyfills": "^0.28.0",
|
|
77
77
|
"vitepress": "^1.6.4",
|
|
@@ -547,6 +547,14 @@ export default {
|
|
|
547
547
|
return { annotator }
|
|
548
548
|
},
|
|
549
549
|
props: {
|
|
550
|
+
/**
|
|
551
|
+
* The option to edit annotation regardless of whether
|
|
552
|
+
* resources matches or not
|
|
553
|
+
*/
|
|
554
|
+
annotationIgnoreResource: {
|
|
555
|
+
type: Boolean,
|
|
556
|
+
default: false,
|
|
557
|
+
},
|
|
550
558
|
/**
|
|
551
559
|
* The option to show annotation information in sidebar
|
|
552
560
|
*/
|
|
@@ -1374,7 +1382,7 @@ export default {
|
|
|
1374
1382
|
const found = this.offlineAnnotations.find((element) => {
|
|
1375
1383
|
return element.group === annotation.group &&
|
|
1376
1384
|
element.region === annotation.region &&
|
|
1377
|
-
element.resource === annotation.resource &&
|
|
1385
|
+
(this.annotationIgnoreResource || element.resource === annotation.resource) &&
|
|
1378
1386
|
element.feature.geometry.type === annotation.feature.geometry.type;
|
|
1379
1387
|
});
|
|
1380
1388
|
if (found) {
|
|
@@ -1413,7 +1421,7 @@ export default {
|
|
|
1413
1421
|
const found = this.offlineAnnotations.find((element) => {
|
|
1414
1422
|
return element.group === oldName &&
|
|
1415
1423
|
element.region === annotation.region &&
|
|
1416
|
-
element.resource === annotation.resource &&
|
|
1424
|
+
(this.annotationIgnoreResource || element.resource === annotation.resource) &&
|
|
1417
1425
|
element.feature.geometry.type === annotation.feature.geometry.type;
|
|
1418
1426
|
});
|
|
1419
1427
|
if (found) {
|
|
@@ -1579,7 +1587,7 @@ export default {
|
|
|
1579
1587
|
const found = this.offlineAnnotations.find((element) => {
|
|
1580
1588
|
return element.group === group &&
|
|
1581
1589
|
element.region === annotation.region &&
|
|
1582
|
-
element.resource === annotation.resource &&
|
|
1590
|
+
(this.annotationIgnoreResource || element.resource === annotation.resource) &&
|
|
1583
1591
|
element.feature.geometry.type === annotation.feature.geometry.type;
|
|
1584
1592
|
});
|
|
1585
1593
|
Object.assign(found, annotation);
|
|
@@ -2880,7 +2888,6 @@ export default {
|
|
|
2880
2888
|
//this.$module.scene.enableAxisDisplay(true, true);
|
|
2881
2889
|
this.isReady = true;
|
|
2882
2890
|
this.calculateBoundingBox();
|
|
2883
|
-
//console.log(`found ${foundNerves}`);
|
|
2884
2891
|
this.$nextTick(() => {
|
|
2885
2892
|
this.restoreSettings(options);
|
|
2886
2893
|
this.$emit("on-ready");
|