@abi-software/scaffoldvuer 1.8.0-beta.1 → 1.8.0-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/dist/scaffoldvuer.js +2 -3
- package/dist/scaffoldvuer.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/scaffoldvuer.js
CHANGED
|
@@ -31411,7 +31411,7 @@ const Dz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
31411
31411
|
/* 2 */
|
|
31412
31412
|
/***/
|
|
31413
31413
|
(o) => {
|
|
31414
|
-
o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.12.
|
|
31414
|
+
o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.12.2","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"}}');
|
|
31415
31415
|
},
|
|
31416
31416
|
/* 3 */
|
|
31417
31417
|
/***/
|
|
@@ -32629,7 +32629,6 @@ const Dz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
32629
32629
|
}, this.setScale = (p) => {
|
|
32630
32630
|
g && 0 < p && g.scale.set(p, p, 1);
|
|
32631
32631
|
}, this.dispose = () => {
|
|
32632
|
-
g.dispose();
|
|
32633
32632
|
}, this.getSprite = () => g, this.getString = () => f;
|
|
32634
32633
|
};
|
|
32635
32634
|
},
|
|
@@ -35702,7 +35701,7 @@ void main() {
|
|
|
35702
35701
|
var De = 1;
|
|
35703
35702
|
Q.shiftKey && (De *= 2), Q.keyCode === A.EQUAL || Q.keyCode === A.NUMPADADD ? Se = -1 * (this.zoomRate * De) : (Q.keyCode === A.MINUS || Q.keyCode === A.NUMPADSUBTRACT) && (Se = this.zoomRate * De), oe += Se;
|
|
35704
35703
|
} else (Q.keyCode === A.ARROWLEFT || Q.keyCode === A.ARROWUP || Q.keyCode === A.ARROWRIGHT || Q.keyCode === A.ARROWDOWN) && (Q.shiftKey ? (this._state = S.KEYBOARD_ROTATE, this.pointer_x_start = this.pointer_x, this.pointer_y_start = this.pointer_y, Se = this.rotateRate) : (this._state = S.KEYBOARD_PAN, Se = this.panRate), this.previous_pointer_x = this.pointer_x, this.previous_pointer_y = this.pointer_y, Q.keyCode === A.ARROWLEFT ? this.pointer_x -= Se : Q.keyCode === A.ARROWUP ? this.pointer_y -= Se : Q.keyCode === A.ARROWRIGHT ? this.pointer_x += Se : Q.keyCode === A.ARROWDOWN && (this.pointer_y += Se));
|
|
35705
|
-
Q.preventDefault();
|
|
35704
|
+
Object.values(A).includes(Q.keyCode) && Q.preventDefault();
|
|
35706
35705
|
}, Kt = (Q) => {
|
|
35707
35706
|
this._state = S.NONE;
|
|
35708
35707
|
}, qt = () => {
|