@abi-software/scaffoldvuer 1.13.1-beta.1 → 1.13.1-beta.3

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/scaffoldvuer",
3
- "version": "1.13.1-beta.1",
3
+ "version": "1.13.1-beta.3",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "*.js"
42
42
  ],
43
43
  "dependencies": {
44
- "@abi-software/map-utilities": "^1.7.6",
44
+ "@abi-software/map-utilities": "^1.7.8-beta.1",
45
45
  "@abi-software/sparc-annotation": "^0.3.2",
46
46
  "@abi-software/svg-sprite": "1.0.3",
47
47
  "@element-plus/icons-vue": "^2.3.1",
@@ -53,7 +53,7 @@
53
53
  "unplugin-vue-components": "^0.26.0",
54
54
  "vue": "^3.4.21",
55
55
  "vue-router": "^4.2.5",
56
- "zincjs": "^1.16.3"
56
+ "zincjs": "^1.16.5"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@babel/eslint-parser": "^7.28.0",
@@ -13,12 +13,16 @@
13
13
  >
14
14
  <template #default>
15
15
  <div class="tooltip-text">{{ label }}</div>
16
- <div class="tooltip-text" v-if="region">Region: {{ region }}</div>
16
+ <div class="tooltip-text" v-if="region && region != '/'">
17
+ Region: {{ region }}
18
+ </div>
17
19
  <CreateTooltipContent
18
20
  v-show="createData.toBeConfirmed"
19
21
  :createData="createData"
20
22
  @confirm-create="$emit('confirm-create', $event)"
21
23
  @cancel-create="$emit('cancel-create')"
24
+ @create-region-suggestions="$emit('create-region-suggestions', $event)"
25
+ @create-group-suggestions="$emit('create-group-suggestions', $event)"
22
26
  />
23
27
  <Tooltip
24
28
  class="p-tooltip"
@@ -24,6 +24,8 @@
24
24
  @confirm-comment="confirmComment($event)"
25
25
  @confirm-delete="confirmDelete()"
26
26
  @tooltip-hide="onTooltipHide()"
27
+ @create-group-suggestions="$emit('create-group-suggestions', $event)"
28
+ @create-region-suggestions="$emit('create-region-suggestions', $event)"
27
29
  />
28
30
  <div
29
31
  id="organsDisplayArea"
@@ -817,12 +819,14 @@ export default {
817
819
  drawingBox: false,
818
820
  toBeConfirmed: false,
819
821
  points: [],
822
+ tempGroupName: "",
820
823
  shape: "",
821
824
  x: 0,
822
825
  y: 0,
823
826
  editingIndex: -1,
824
827
  faceIndex: -1,
825
828
  toBeDeleted: false,
829
+ regionPrefix: "__annotation"
826
830
  },
827
831
  currentTime: 0.0,
828
832
  timeVarying: false,
@@ -1653,8 +1657,8 @@ export default {
1653
1657
  (this.createData.editingIndex > -1 && this.createData.faceIndex > -1)) {
1654
1658
  if (this.createData.points.length === 1) {
1655
1659
  this.showRegionTooltipWithAnnotations(identifiers, true, false);
1656
- this.tData.x = 50;
1657
- this.tData.y = 200;
1660
+ //this.tData.x = 50;
1661
+ //this.tData.y = 200;
1658
1662
  if (this._tempLine) {
1659
1663
  const positionAttribute = this._tempLine.geometry.getAttribute( 'position' );
1660
1664
  positionAttribute.setXYZ(1, worldCoords[0], worldCoords[1], worldCoords[2]);
@@ -1794,12 +1798,14 @@ export default {
1794
1798
  this._editingZincObject = zincObject;
1795
1799
  this.createData.faceIndex = -1;
1796
1800
  this.createData.editingIndex = index;
1801
+ this.createData.tempGroupName = this._editingZincObject.groupName;
1797
1802
  //this.drawPoint(point, undefined);
1798
1803
  },
1799
1804
  activateLineEditingMode: function(zincObject, faceIndex, vertexIndex, point) {
1800
1805
  this._editingZincObject = zincObject;
1801
1806
  this.createData.faceIndex = faceIndex;
1802
1807
  this.createData.editingIndex = vertexIndex;
1808
+ this.createData.tempGroupName = this._editingZincObject.groupName;
1803
1809
  this.drawLine(point, undefined);
1804
1810
  },
1805
1811
  /**
File without changes