vis-core 0.22.4 → 0.22.5
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/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.module.js +15 -7
- package/dist/version.d.ts +1 -1
- package/dist/vis/base/index.d.ts +1 -0
- package/package.json +3 -2
package/dist/index.module.js
CHANGED
|
@@ -90,7 +90,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
|
|
|
90
90
|
).toString(CryptoJS.enc.Utf8), qe = JSON.parse($e), st = Date.now();
|
|
91
91
|
return !qe.s || qe.s > st ? (this.token = void 0, "") : qe.e && qe.e < st ? (this.token = void 0, "") : (qe.isValid = Qe, qe);
|
|
92
92
|
}
|
|
93
|
-
}, version = "0.22.
|
|
93
|
+
}, version = "0.22.5";
|
|
94
94
|
/**
|
|
95
95
|
* @license
|
|
96
96
|
* Copyright 2010-2024 Three.js Authors
|
|
@@ -50287,6 +50287,7 @@ const queryBenchmarks$1 = (c) => queryBenchmarks(c), detect = () => {
|
|
|
50287
50287
|
}, IS_DEV = !1;
|
|
50288
50288
|
class Base extends Event {
|
|
50289
50289
|
constructor(s) {
|
|
50290
|
+
var r;
|
|
50290
50291
|
super();
|
|
50291
50292
|
k0(this, "container");
|
|
50292
50293
|
k0(this, "playing", !0);
|
|
@@ -50316,18 +50317,25 @@ class Base extends Event {
|
|
|
50316
50317
|
editor: !0,
|
|
50317
50318
|
logarithmicDepthBuffer: !0
|
|
50318
50319
|
}, s), !this.options.assetsPrefix) {
|
|
50319
|
-
let
|
|
50320
|
-
|
|
50320
|
+
let f = "/";
|
|
50321
|
+
f === "/" && (f = ""), this.options.assetsPrefix = f;
|
|
50321
50322
|
}
|
|
50322
50323
|
if (this.options.editor) {
|
|
50323
|
-
const
|
|
50324
|
-
|
|
50324
|
+
const f = detect();
|
|
50325
|
+
let de = (r = this.options.tier) != null ? r : f.tier;
|
|
50326
|
+
try {
|
|
50327
|
+
const Xe = window.location.search.match(/v_tier=(\d+)/);
|
|
50328
|
+
Xe && (de = +Xe[1]);
|
|
50329
|
+
} catch (Xe) {
|
|
50330
|
+
console.error(Xe);
|
|
50331
|
+
}
|
|
50332
|
+
this.tier0 = de !== 3, this.editor = new Editor({
|
|
50325
50333
|
assetsPrefix: this.options.assetsPrefix,
|
|
50326
50334
|
visFactories: this
|
|
50327
50335
|
}), console.info(
|
|
50328
50336
|
"vis-core:detect",
|
|
50329
50337
|
version,
|
|
50330
|
-
JSON.stringify(
|
|
50338
|
+
JSON.stringify(f, null, 2)
|
|
50331
50339
|
);
|
|
50332
50340
|
}
|
|
50333
50341
|
this.visName = this.constructor.VisName;
|
|
@@ -50428,7 +50436,7 @@ class Base extends Event {
|
|
|
50428
50436
|
}
|
|
50429
50437
|
})) : dt === "backgroundType" ? Wt === "None" ? s.scene.background = null : s.scene.userData.backgroundColor ? s.scene.background = new Color$1(
|
|
50430
50438
|
s.scene.userData.backgroundColor
|
|
50431
|
-
) : s.scene.userData.backgroundTexture && (s.scene.background = s.scene.userData.backgroundTexture) : dt === "backgroundColor" ? s.scene.background = new Color$1(Wt) : dt === "backgroundTexture" ? s.scene.background = Wt : dt === "bloomThreshold" ? s.composerController.bloomPass.threshold = Wt : dt === "bloomRadius" ? s.composerController.bloomPass.radius = Wt : dt === "bloomStrength" && (s.composerController.bloomPass.strength = Wt), Reflect.set(st, dt, Wt))
|
|
50439
|
+
) : s.scene.userData.backgroundTexture && (s.scene.background = s.scene.userData.backgroundTexture) : dt === "backgroundColor" ? s.scene.background = new Color$1(Wt) : dt === "backgroundTexture" ? s.scene.background = Wt : dt === "bloomThreshold" ? s.composerController.bloomPass && (s.composerController.bloomPass.threshold = Wt) : dt === "bloomRadius" ? s.composerController.bloomPass && (s.composerController.bloomPass.radius = Wt) : dt === "bloomStrength" && s.composerController.bloomPass && (s.composerController.bloomPass.strength = Wt), Reflect.set(st, dt, Wt))
|
|
50432
50440
|
}
|
|
50433
50441
|
);
|
|
50434
50442
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.22.
|
|
1
|
+
declare const _default: "0.22.5";
|
|
2
2
|
export default _default;
|
package/dist/vis/base/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vis-core",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "npm run version && PORT=5173 bundler-dev",
|
|
6
|
-
"build:site": "npm run version &&
|
|
6
|
+
"build:site": "npm run version && bundler",
|
|
7
7
|
"build:lib": "npm run version && PUBLIC_EXCLUDE=true BUILD_LIBRARY=src/sdk/index.ts CSS_EXTRACT=false bundler && npm run build:type",
|
|
8
8
|
"build:type": "BUILD_LIBRARY=src/sdk/index.ts bundler-type",
|
|
9
9
|
"preview": "bundler-preview",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"three": "^0.172.0",
|
|
55
55
|
"vite-plugin-javascript-obfuscator": "^3.1.0",
|
|
56
56
|
"vite-plugin-markdown": "^2.2.0",
|
|
57
|
+
"vite-plugin-static-copy": "^2.2.0",
|
|
57
58
|
"vue": "^3.5.11",
|
|
58
59
|
"vue-bundler": "^0.4.10",
|
|
59
60
|
"vue-router": "^4.4.5",
|