@milaboratories/graph-maker 1.1.112 → 1.1.113

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.
@@ -25361,7 +25361,7 @@ const Y5e = { class: "aes-mapping-block" }, W5e = { style: { margin: "0 24px" }
25361
25361
  return i(g) && C.length ? g.value === C[0] ? g : { type: "shape", value: C[0] } : C.length ? { type: "shape", value: C[0] } : i(g) ? Lh : g ?? Lh;
25362
25362
  }), c = Ge(() => {
25363
25363
  const g = a.value.dotSize, C = n.components.size.selectorStates.map((w) => w.selectedSource);
25364
- return C.length ? i1(g) ? g : { column: C[0], range: S3 } : i1(g) ? Yh : g ?? Yh;
25364
+ return C.length ? { column: C[0], range: i1(g) ? g.range : S3 } : i1(g) ? Yh : g ?? Yh;
25365
25365
  });
25366
25366
  function f(g, C, w) {
25367
25367
  typeof g == "string" ? t.value.reactive.layersSettings[ly][w] = g : (C.type === "dataCategorical" || C.type === "dataContinuous") && (t.value.reactive.layersSettings[ly][w] = {
@@ -25442,7 +25442,7 @@ const Y5e = { class: "aes-mapping-block" }, W5e = { style: { margin: "0 24px" }
25442
25442
  return !1;
25443
25443
  }), f = Ge(() => {
25444
25444
  const d = a.value.dotSize, h = n.components.size.selectorStates.map((g) => g.selectedSource);
25445
- return h.length ? i1(d) ? d : { column: h[0], range: S3 } : i1(d) ? dP : d ?? dP;
25445
+ return h.length ? { column: h[0], range: i1(d) ? d.range : S3 } : i1(d) ? dP : d ?? dP;
25446
25446
  });
25447
25447
  function A(d) {
25448
25448
  t.value.reactive.layersSettings[_8].dotSize = d;
@@ -90835,7 +90835,7 @@ var vSt = class {
90835
90835
  }));
90836
90836
  }
90837
90837
  updatePointSize() {
90838
- this.tools !== null && (this.tools.pointSeries.size((e) => jW(this.aesGetters.dotSize(e.data))), eu(this.canvasNode).datum([...this.allDots]));
90838
+ this.tools !== null && (eu(this.canvasNode).datum([...this.allDots]), this.tools.pointSeries.size((e) => jW(this.aesGetters.dotSize(e.data))));
90839
90839
  }
90840
90840
  updateByLasso() {
90841
90841
  var e;
@@ -90959,7 +90959,7 @@ var TSt = class extends r2 {
90959
90959
  let r = this.settings, a = this.data;
90960
90960
  this.settings = new YW(n), this.data = t, this._needUpdateCalculatedDataBySettings(r, this.settings) || this._needUpdateCalculatedDataByData(a, this.data) ? this._updateData() : this._updateAesInData();
90961
90961
  let i = r.layers.find((s) => s.type === "dots"), o = this.settings.layers.find((s) => s.type === "dots");
90962
- i && o && i.aes.dotSize !== o.aes.dotSize && this.chartRenderer.updatePointSize(), this._updateChart();
90962
+ i && o && i.aes.dotSize !== o.aes.dotSize && typeof i.aes.dotSize == "number" && typeof o.aes.dotSize == "number" && this.chartRenderer.updatePointSize(), this._updateChart();
90963
90963
  } catch (r) {
90964
90964
  r instanceof Error && this.chartRenderer.renderError(r.message);
90965
90965
  }