@abi-software/scaffoldvuer 1.19.1 → 1.20.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 +25 -20
- package/dist/scaffoldvuer.umd.cjs +41 -41
- package/dist/style.css +1 -1
- package/package.json +12 -6
- package/src/assets/fonts.scss +2 -0
- package/src/assets/styles.scss +0 -2
- package/src/components/index.js +1 -0
- package/src/main.js +1 -0
- package/vite.config.js +8 -1
package/dist/scaffoldvuer.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Comment as e, Fragment as t, Teleport as n, Text as r, Transition as i, cloneVNode as a, computed as o, createApp as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, createVNode as m, defineComponent as h, getCurrentInstance as g, getCurrentScope as _, h as v, inject as y, isRef as b, isVNode as x, markRaw as S, mergeProps as C, nextTick as w, normalizeClass as T, normalizeStyle as E, onActivated as D, onBeforeMount as O, onBeforeUnmount as k, onBeforeUpdate as A, onDeactivated as j, onMounted as M, onScopeDispose as N, onUnmounted as P, onUpdated as ee, openBlock as F, provide as te, reactive as ne, readonly as re, ref as I, renderList as ie, renderSlot as L, resolveComponent as R, resolveDirective as z, resolveDynamicComponent as B, shallowReadonly as V, shallowRef as H, toDisplayString as U, toHandlerKey as ae, toHandlers as oe, toRaw as se, toRef as ce, toRefs as le, toValue as ue, triggerRef as de, unref as W, useAttrs as fe, useSlots as pe, vModelCheckbox as me, vModelRadio as he, vShow as ge, warn as G, watch as K, watchEffect as _e, withCtx as q, withDirectives as ve, withKeys as ye, withModifiers as be } from "vue";
|
|
2
2
|
import { CreateTooltipContent as xe, DrawToolbar as Se, Tooltip as Ce, TreeControls as we } from "@abi-software/map-utilities";
|
|
3
|
+
import "@abi-software/map-utilities/dist/style.css";
|
|
3
4
|
import { defineStore as Te, mapState as Ee, mapStores as De } from "pinia";
|
|
4
5
|
import { MapSvgIcon as Oe, MapSvgSpriteColor as ke } from "@abi-software/svg-sprite";
|
|
5
6
|
import { AnnotationService as Ae } from "@abi-software/sparc-annotation";
|
|
@@ -29498,7 +29499,7 @@ var vF, yF, bF, xF, SF, CF, wF, TF, EF, DF, OF, kF, AF, jF, MF, NF, PF, FF, IF,
|
|
|
29498
29499
|
e = f(e, 1), t = f(t, 1);
|
|
29499
29500
|
var p = {
|
|
29500
29501
|
name: "zincjs",
|
|
29501
|
-
version: "2.
|
|
29502
|
+
version: "2.3.0",
|
|
29502
29503
|
description: "ZincJS (Web-based-Zinc-Visualisation)",
|
|
29503
29504
|
type: "module",
|
|
29504
29505
|
main: "build/zinc.js",
|
|
@@ -29539,7 +29540,11 @@ var vF, yF, bF, xF, SF, CF, wF, TF, EF, DF, OF, kF, AF, jF, MF, NF, PF, FF, IF,
|
|
|
29539
29540
|
license: "MIT",
|
|
29540
29541
|
bugs: { url: "https://github.com/alan-wu/ZincJS/issues" },
|
|
29541
29542
|
homepage: "http://alan-wu.github.io/ZincJS/",
|
|
29542
|
-
engines: { node: "
|
|
29543
|
+
engines: { node: "24.20.0" },
|
|
29544
|
+
allowScripts: {
|
|
29545
|
+
"gl@8.1.6": !0,
|
|
29546
|
+
"msw@2.14.6": !0
|
|
29547
|
+
},
|
|
29543
29548
|
devDependencies: {
|
|
29544
29549
|
"@vitest/coverage-v8": "^4.1.11",
|
|
29545
29550
|
"auto-changelog": "^2.4.0",
|
|
@@ -30327,7 +30332,7 @@ var vF, yF, bF, xF, SF, CF, wF, TF, EF, DF, OF, kF, AF, jF, MF, NF, PF, FF, IF,
|
|
|
30327
30332
|
}
|
|
30328
30333
|
function ee(e, t, n, r, i, a) {
|
|
30329
30334
|
let o = new S(e, t, n, r, i, a);
|
|
30330
|
-
return o.fontFace = r, o.fontSize = i, o.fontWeight = a, o.material.map.generateMipmaps = !
|
|
30335
|
+
return o.canvasScale = 4, o.fontFace = r, o.fontSize = i, o.fontWeight = a, o.material.map.generateMipmaps = !0, o.material.map.anisotropy = 4, o.material.sizeAttenuation = !1, o.material.alphaTest = .5, o.material.transparent = !0, o.material.depthWrite = !1, o.material.depthTest = !1, o.center.set(.5, -1.2), o.renderOrder = 1e4, o;
|
|
30331
30336
|
}
|
|
30332
30337
|
function F(e, t, n) {
|
|
30333
30338
|
if (n) {
|
|
@@ -30897,35 +30902,35 @@ var vF, yF, bF, xF, SF, CF, wF, TF, EF, DF, OF, kF, AF, jF, MF, NF, PF, FF, IF,
|
|
|
30897
30902
|
};
|
|
30898
30903
|
};
|
|
30899
30904
|
_e.prototype = Object.create(G.prototype);
|
|
30900
|
-
var q = t.default.default || t.default, ve = function(
|
|
30901
|
-
let
|
|
30902
|
-
|
|
30903
|
-
let
|
|
30904
|
-
this.getPosition = () =>
|
|
30905
|
-
|
|
30906
|
-
|
|
30907
|
-
|
|
30905
|
+
var q = t.default.default || t.default, ve = function(t, n) {
|
|
30906
|
+
let r = t, i, a = 500;
|
|
30907
|
+
i = n ? new q(r, .012, n.getStyle()) : new q(r, .012), i.fontFace = "Asap", i.fontSize = 90, i.fontWeight = a, i.material.map.generateMipmaps = !0, i.material.map.anisotropy = 4, i.material.minFilter = e.LinearMipmapLinearFilter, i.material.magFilter = e.LinearFilter, i.material.sizeAttenuation = !1, i.center.x = -.05, i.center.y = 0;
|
|
30908
|
+
let o = [i.scale.x, i.scale.y];
|
|
30909
|
+
this.getPosition = () => i ? [
|
|
30910
|
+
i.position.x,
|
|
30911
|
+
i.position.y,
|
|
30912
|
+
i.position.z
|
|
30908
30913
|
] : [
|
|
30909
30914
|
0,
|
|
30910
30915
|
0,
|
|
30911
30916
|
0
|
|
30912
30917
|
], this.setPosition = (e, t, n) => {
|
|
30913
|
-
|
|
30918
|
+
i && i.position.set(e, t, n);
|
|
30914
30919
|
}, this.setColour = (e) => {
|
|
30915
|
-
e && (
|
|
30920
|
+
e && (i.color = e.getStyle());
|
|
30916
30921
|
}, this.setScale = (e) => {
|
|
30917
|
-
|
|
30922
|
+
i && e > 0 && i.scale.set(e, e, 1);
|
|
30918
30923
|
}, this.setDepthTest = (e) => {
|
|
30919
|
-
e && e !==
|
|
30924
|
+
e && e !== i.material.depthTest && (i.material.depthTest = e);
|
|
30920
30925
|
}, this.setSize = (e) => {
|
|
30921
|
-
e > 0 && (
|
|
30926
|
+
e > 0 && (i.scale.x = o[0] * e, i.scale.y = o[1] * e);
|
|
30922
30927
|
}, this.setFontWeight = (e) => {
|
|
30923
|
-
e && e !==
|
|
30928
|
+
e && e !== a && (i.fontWeight = e, a = e);
|
|
30924
30929
|
}, this.setText = (e) => {
|
|
30925
|
-
e && e !==
|
|
30930
|
+
e && e !== i.text && (i.text = e, r = e);
|
|
30926
30931
|
}, this.setVisibility = (e) => {
|
|
30927
|
-
|
|
30928
|
-
}, this.dispose = () => {}, this.getSprite = () =>
|
|
30932
|
+
i.visible = e;
|
|
30933
|
+
}, this.dispose = () => {}, this.getSprite = () => i, this.getString = () => r;
|
|
30929
30934
|
}, ye = function(t, n, r, i) {
|
|
30930
30935
|
G.call(this);
|
|
30931
30936
|
let a;
|