vis-core 0.25.8 → 0.25.9

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.
@@ -90,7 +90,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
90
90
  ).toString(CryptoJS.enc.Utf8), De = JSON.parse(Je), bt = Date.now();
91
91
  return !De.s || De.s > bt ? (this.token = void 0, "") : De.e && De.e < bt ? (this.token = void 0, "") : (De.isValid = ye, De);
92
92
  }
93
- }, version = "0.25.8";
93
+ }, version = "0.25.9";
94
94
  /**
95
95
  * @license
96
96
  * Copyright 2010-2025 Three.js Authors
@@ -56159,47 +56159,7 @@ const detect = () => {
56159
56159
  tier: 0
56160
56160
  };
56161
56161
  }
56162
- };
56163
- function observeTransformScale(d, t) {
56164
- let o = d, r = 1;
56165
- for (; o; ) {
56166
- const O = window.getComputedStyle(o).transform;
56167
- if (O && O !== "none") {
56168
- const ne = new DOMMatrix(O);
56169
- if (ne.a !== 1 || ne.d !== 1) {
56170
- r = Math.max(ne.a, ne.d);
56171
- break;
56172
- }
56173
- }
56174
- if (o === document.body) {
56175
- o = null;
56176
- break;
56177
- }
56178
- o = o.parentElement;
56179
- }
56180
- if (!o)
56181
- return null;
56182
- const g = (w) => {
56183
- const ne = window.getComputedStyle(o).transform;
56184
- let ye = 1;
56185
- if (ne && ne !== "none") {
56186
- const fe = new DOMMatrix(ne);
56187
- ye = Math.max(fe.a, fe.d);
56188
- }
56189
- r !== ye && (r = ye, t(ye, w));
56190
- }, v = new MutationObserver((w) => {
56191
- for (const O of w)
56192
- if (O.type === "attributes" && (O.attributeName === "style" || O.attributeName === "class")) {
56193
- g("MutationObserver");
56194
- return;
56195
- }
56196
- });
56197
- return v.observe(o, {
56198
- attributes: !0,
56199
- attributeFilter: ["style", "class"]
56200
- }), t(r, "init"), v;
56201
- }
56202
- const IS_DEV = !1;
56162
+ }, IS_DEV = !1;
56203
56163
  class Base extends Camera {
56204
56164
  constructor(o) {
56205
56165
  var r;
@@ -56372,12 +56332,7 @@ class Base extends Camera {
56372
56332
  anisotropy: 1
56373
56333
  } : {})
56374
56334
  }), this.pencilConfig), this.options.pencilConfig));
56375
- this.options.observeParentScale && (this.observeTransformScale = observeTransformScale(
56376
- this.container,
56377
- (Yt, St) => {
56378
- bt.setDevicePixelRatio(window.devicePixelRatio * Yt);
56379
- }
56380
- )), this.pencil = bt, this.sceneActive = 1;
56335
+ this.options.observeParentScale, this.pencil = bt, this.sceneActive = 1;
56381
56336
  const Ct = bt.composerController.ssaoPass;
56382
56337
  Ct && (Ct.enabled = !1);
56383
56338
  const Lt = new T({
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.25.8";
1
+ declare const _default: "0.25.9";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.25.8",
3
+ "version": "0.25.9",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && bundler",