@abi-software/scaffoldvuer 1.13.1-beta.1 → 1.13.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.
@@ -31804,7 +31804,7 @@ const D4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31804
31804
  /* 2 */
31805
31805
  /***/
31806
31806
  (o) => {
31807
- o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.16.3","description":"ZincJS (Web-based-Zinc-Visualisation)","main":"build/zinc.js","directories":{"doc":"docs"},"files":["package.json","LICENSE","README.md","src/*","build/zinc.js","build/zinc.frontend.js","build/zinc.js.map","webpack.config.js"],"scripts":{"build-bundle":"webpack --config webpack.frontend.js; webpack --config webpack.backend.js","build-backend":"webpack --config webpack.backend.js","test":"npm --prefix ./test install && npm --prefix ./test run test-ci","changelog":"auto-changelog -p --output CHANGELOG.md --template keepachangelog","jsdoc":"jsdoc -c jsdoc_conf.json","version":"npm run build-bundle;npm run jsdoc;npm run changelog; git add CHANGELOG.md docs","release:beta":"npm version prerelease --preid=beta; npm publish --tag beta","release:minor":"npm version minor; npm publish","release:patch":"npm version patch; npm publish"},"repository":{"type":"git","url":"git+https://github.com/alan-wu/ZincJS.git"},"keywords":["library","webgl","3d","zincjs"],"author":"Alan Wu <alan.wu@auckland.ac.nz>","license":"MIT","bugs":{"url":"https://github.com/alan-wu/ZincJS/issues"},"homepage":"http://alan-wu.github.io/ZincJS/","devDependencies":{"@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","auto-changelog":"^2.4.0","babel-loader":"^9.1.3","babel-preset-minify":"^0.5.1","file-loader":"^6.2.0","jsdoc":"^4.0.2","raw-loader":"^4.0.2","webpack":"^5.90.3","webpack-cli":"^5.1.4","webpack-node-externals":"^3.0.0"},"dependencies":{"css-element-queries":"^1.2.2","lodash":"^4.17.19","promise-polyfill":"^8.1.3","three":"^0.130.1","three-spritetext":"1.6.2","url-loader":"^4.1.1","url-polyfill":"^1.1.7","webworkify-webpack":"^2.1.5"}}');
31807
+ o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.16.4","description":"ZincJS (Web-based-Zinc-Visualisation)","main":"build/zinc.js","directories":{"doc":"docs"},"files":["package.json","LICENSE","README.md","src/*","build/zinc.js","build/zinc.frontend.js","build/zinc.js.map","webpack.config.js"],"scripts":{"build-bundle":"webpack --config webpack.frontend.js; webpack --config webpack.backend.js","build-backend":"webpack --config webpack.backend.js","test":"npm --prefix ./test install && npm --prefix ./test run test-ci","changelog":"auto-changelog -p --output CHANGELOG.md --template keepachangelog","jsdoc":"jsdoc -c jsdoc_conf.json","version":"npm run build-bundle;npm run jsdoc;npm run changelog; git add CHANGELOG.md docs","release:beta":"npm version prerelease --preid=beta; npm publish --tag beta","release:minor":"npm version minor; npm publish","release:patch":"npm version patch; npm publish"},"repository":{"type":"git","url":"git+https://github.com/alan-wu/ZincJS.git"},"keywords":["library","webgl","3d","zincjs"],"author":"Alan Wu <alan.wu@auckland.ac.nz>","license":"MIT","bugs":{"url":"https://github.com/alan-wu/ZincJS/issues"},"homepage":"http://alan-wu.github.io/ZincJS/","devDependencies":{"@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","auto-changelog":"^2.4.0","babel-loader":"^9.1.3","babel-preset-minify":"^0.5.1","file-loader":"^6.2.0","jsdoc":"^4.0.2","raw-loader":"^4.0.2","webpack":"^5.90.3","webpack-cli":"^5.1.4","webpack-node-externals":"^3.0.0"},"dependencies":{"css-element-queries":"^1.2.2","lodash":"^4.17.19","promise-polyfill":"^8.1.3","three":"^0.130.1","three-spritetext":"1.6.2","url-loader":"^4.1.1","url-polyfill":"^1.1.7","webworkify-webpack":"^2.1.5"}}');
31808
31808
  },
31809
31809
  /* 3 */
31810
31810
  /***/
@@ -33612,16 +33612,19 @@ const D4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33612
33612
  };
33613
33613
  this.addPoints = (v, m, x) => {
33614
33614
  if (v && 0 < v.length) {
33615
- var w = this.drawRange - 1, A = this.addVertices(v), M = this.getMorph();
33615
+ var w = this.drawRange;
33616
+ w === -1 && (w = 0);
33617
+ var A = this.addVertices(v), M = this.getMorph();
33616
33618
  if (!M) {
33617
33619
  var R = new l.PointsMaterial({ alphaTest: 0.5, size: 10, color: x, sizeAttenuation: !1 });
33618
33620
  A.colorsNeedUpdate = !0, this.createMesh(A, R, { localTimeEnabled: !1, localMorphColour: !1 });
33619
33621
  }
33620
33622
  var L = w + v.length, _ = 0;
33621
- if (Array.isArray(m) && m.length === v.length || typeof m == "string") for (w; w + _ < L; ) {
33622
- var F = typeof m == "string" ? m : m[_];
33623
- y(_, v[_], F, x), _++;
33624
- }
33623
+ if (Array.isArray(m) && m.length === v.length || typeof m == "string")
33624
+ for (u.length, w; w + _ < L; ) {
33625
+ var F = typeof m == "string" ? m : m[_];
33626
+ y(w + _, v[_], F, this._lod._material.color), _++;
33627
+ }
33625
33628
  this.region && (this.region.pickableUpdateRequired = !0);
33626
33629
  }
33627
33630
  }, this.setColourHex = function(v) {
@@ -43152,6 +43155,7 @@ const B5 = [
43152
43155
  drawingBox: !1,
43153
43156
  toBeConfirmed: !1,
43154
43157
  points: [],
43158
+ tempGroupName: "",
43155
43159
  shape: "",
43156
43160
  x: 0,
43157
43161
  y: 0,
@@ -43773,7 +43777,7 @@ const B5 = [
43773
43777
  createEditTemporaryLines: function(n) {
43774
43778
  const e = n[0].extraData.worldCoords;
43775
43779
  if (e && (this.createData.shape === "LineString" || this.createData.editingIndex > -1 && this.createData.faceIndex > -1) && this.createData.points.length === 1)
43776
- if (this.showRegionTooltipWithAnnotations(n, !0, !1), this.tData.x = 50, this.tData.y = 200, this._tempLine) {
43780
+ if (this.showRegionTooltipWithAnnotations(n, !0, !1), this._tempLine) {
43777
43781
  const t = this._tempLine.geometry.getAttribute("position");
43778
43782
  t.setXYZ(1, e[0], e[1], e[2]), t.needsUpdate = !0;
43779
43783
  } else
@@ -43845,10 +43849,10 @@ const B5 = [
43845
43849
  this.showRegionTooltipWithAnnotations(e.identifiers, !0, !0);
43846
43850
  },
43847
43851
  activatePointEditingMode: function(n, e, t) {
43848
- this._editingZincObject = n, this.createData.faceIndex = -1, this.createData.editingIndex = e;
43852
+ this._editingZincObject = n, this.createData.faceIndex = -1, this.createData.editingIndex = e, this.createData.tempGroupName = this._editingZincObject.groupName;
43849
43853
  },
43850
43854
  activateLineEditingMode: function(n, e, t, i) {
43851
- this._editingZincObject = n, this.createData.faceIndex = e, this.createData.editingIndex = t, this.drawLine(i, void 0);
43855
+ this._editingZincObject = n, this.createData.faceIndex = e, this.createData.editingIndex = t, this.createData.tempGroupName = this._editingZincObject.groupName, this.drawLine(i, void 0);
43852
43856
  },
43853
43857
  /**
43854
43858
  * Callback when a region is selected/highlighted.
@@ -45116,7 +45120,7 @@ function eU(n, e, t, i, r, s) {
45116
45120
  [_, n.loading]
45117
45121
  ]);
45118
45122
  }
45119
- const oU = /* @__PURE__ */ ki(V5, [["render", eU], ["__scopeId", "data-v-2a126135"]]);
45123
+ const oU = /* @__PURE__ */ ki(V5, [["render", eU], ["__scopeId", "data-v-d72bffca"]]);
45120
45124
  export {
45121
45125
  oU as ScaffoldVuer
45122
45126
  };