vis-core 0.12.27 → 0.12.28

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.
@@ -41029,7 +41029,7 @@ function Ql(n) {
41029
41029
  const t = new t0();
41030
41030
  return t.color.setScalar(n), t;
41031
41031
  }
41032
- const GX = "0.12.27", a1 = !1;
41032
+ const GX = "0.12.28", a1 = !1;
41033
41033
  class pl {
41034
41034
  constructor(t, e = {}) {
41035
41035
  P(this, "container");
@@ -42390,7 +42390,14 @@ const jM = {
42390
42390
  if (this.mapHistory.length > 1 && !this.isAnimating) {
42391
42391
  this.isAnimating = !0;
42392
42392
  const i = this.mapHistory.pop();
42393
- i != null && i.map && this.drawController.eraseWithoutMaterial(i.map);
42393
+ i != null && i.map && (yield new Promise((a) => {
42394
+ this.tween(i.map.position).to(
42395
+ { z: this.mapObj.z + (this.mapObj.depth - i.depth) },
42396
+ e
42397
+ ).onComplete(() => {
42398
+ a("");
42399
+ }).start();
42400
+ }), this.drawController.eraseWithoutMaterial(i.map));
42394
42401
  const { map: s } = this.mapObj, l = s == null ? void 0 : s.findGroup(i == null ? void 0 : i.mapInfo.adcode);
42395
42402
  l && l.show(), s && (this.eraseLabels(), this.options.showOneLevel ? s.show() : s.active(), this.options.drillDownHideParent && this.parentBg.forEach((a) => {
42396
42403
  a.show();
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.12.27";
1
+ declare const _default: "0.12.28";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.12.27",
3
+ "version": "0.12.28",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version &&PUBLIC_EXCLUDE=public/city bundler",