@graphysdk/react 1.9.0-beta.1792478311419 → 1.9.0-beta.1792505847409

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.
@@ -9599,7 +9599,8 @@ var Nme = class extends zc {
9599
9599
  }).pipe(({ data: a, mapping: l }) => {
9600
9600
  const c = this.positionAdjusterCompiler.adjust(e.position, {
9601
9601
  data: a,
9602
- mapping: l
9602
+ mapping: l,
9603
+ stackMissingAsZero: "missingValues" in e.params && e.params.missingValues === "zero"
9603
9604
  });
9604
9605
  return {
9605
9606
  data: c.data,
@@ -14242,47 +14243,48 @@ var k1 = class {
14242
14243
  constructor(...e) {
14243
14244
  super(...e), this.type = "fill";
14244
14245
  }
14245
- adjust({ data: e, mapping: t }) {
14246
- const n = u9(e, t);
14247
- if (n === null) return {
14246
+ adjust({ data: e, mapping: t, stackMissingAsZero: n = !1 }) {
14247
+ const r = u9(e, t);
14248
+ if (r === null) return {
14248
14249
  data: e,
14249
14250
  mapping: {}
14250
14251
  };
14251
- const { yValues: r, observationIndicesByXAndGroup: o, uniqueGroupKeys: i, observationCount: s } = n, a = [...r], l = new Array(s).fill(0);
14252
- for (const [, u] of o) {
14253
- let d = 0, h = 0;
14254
- for (const g of i) {
14255
- const v = u.get(g);
14256
- if (v !== void 0)
14257
- for (const y of v) {
14258
- const b = r[y];
14259
- b != null && (b >= 0 ? d += b : h -= b);
14252
+ const { yValues: o, observationIndicesByXAndGroup: i, uniqueGroupKeys: s, observationCount: a } = r, l = [...o], c = new Array(a).fill(0);
14253
+ for (const [, d] of i) {
14254
+ let h = 0, f = 0;
14255
+ for (const v of s) {
14256
+ const y = d.get(v);
14257
+ if (y !== void 0)
14258
+ for (const b of y) {
14259
+ const w = o[b];
14260
+ w != null && (w >= 0 ? h += w : f -= w);
14260
14261
  }
14261
14262
  }
14262
- let f = 0, p = 0;
14263
- for (const g of i) {
14264
- const v = u.get(g);
14265
- if (v !== void 0)
14266
- for (const y of v) {
14267
- const b = r[y];
14268
- if (b === void 0) continue;
14269
- if (b === null) {
14270
- l[y] = null, a[y] = null;
14263
+ let p = 0, g = 0;
14264
+ for (const v of s) {
14265
+ const y = d.get(v);
14266
+ if (y !== void 0)
14267
+ for (const b of y) {
14268
+ const w = o[b];
14269
+ if (w === void 0) continue;
14270
+ if (w === null) {
14271
+ const T = n ? p : null;
14272
+ c[b] = T, l[b] = T;
14271
14273
  continue;
14272
14274
  }
14273
- const w = b >= 0 ? d : h;
14274
- if (w === 0) {
14275
- l[y] = 0, a[y] = 0;
14275
+ const S = w >= 0 ? h : f;
14276
+ if (S === 0) {
14277
+ c[b] = 0, l[b] = 0;
14276
14278
  continue;
14277
14279
  }
14278
- const S = b / w;
14279
- b >= 0 ? (l[y] = f, a[y] = f += S) : (a[y] = p, l[y] = p += S);
14280
+ const A = w / S;
14281
+ w >= 0 ? (c[b] = p, l[b] = p += A) : (l[b] = g, c[b] = g += A);
14280
14282
  }
14281
14283
  }
14282
14284
  }
14283
- const c = d9(l, a, o, s);
14285
+ const u = d9(c, l, i, a);
14284
14286
  return {
14285
- data: e.addVariable(ie.yMin, "numeric", l).addVariable(ie.yMax, "numeric", a).addVariable(ie.yRaw, "numeric", r).addVariable(e1.role, "categorical", c),
14287
+ data: e.addVariable(ie.yMin, "numeric", c).addVariable(ie.yMax, "numeric", l).addVariable(ie.yRaw, "numeric", o).addVariable(e1.role, "categorical", u),
14286
14288
  mapping: {}
14287
14289
  };
14288
14290
  }
@@ -14300,35 +14302,40 @@ var k1 = class {
14300
14302
  constructor(...e) {
14301
14303
  super(...e), this.type = "stack";
14302
14304
  }
14303
- adjust({ data: e, mapping: t }) {
14304
- const n = u9(e, t);
14305
- if (n === null) return {
14305
+ adjust({ data: e, mapping: t, stackMissingAsZero: n = !1 }) {
14306
+ const r = u9(e, t);
14307
+ if (r === null) return {
14306
14308
  data: e,
14307
14309
  mapping: {}
14308
14310
  };
14309
- const { yValues: r, observationIndicesByXAndGroup: o, uniqueGroupKeys: i, observationCount: s } = n, a = [...r], l = new Array(s).fill(0);
14310
- for (const [, h] of o) {
14311
- let f = 0, p = 0;
14312
- for (const g of i) {
14313
- const v = h.get(g);
14314
- if (v !== void 0)
14315
- for (const y of v) {
14316
- const b = r[y];
14317
- if (b !== void 0) {
14318
- if (b === null) {
14319
- l[y] = null, a[y] = null;
14311
+ const { yValues: o, observationIndicesByXAndGroup: i, uniqueGroupKeys: s, observationCount: a } = r, l = [...o], c = new Array(a).fill(0);
14312
+ for (const [, f] of i) {
14313
+ let p = 0, g = 0;
14314
+ for (const v of s) {
14315
+ const y = f.get(v);
14316
+ if (y !== void 0)
14317
+ for (const b of y) {
14318
+ const w = o[b];
14319
+ if (w !== void 0) {
14320
+ if (w === null) {
14321
+ const S = n ? p : null;
14322
+ c[b] = S, l[b] = S;
14320
14323
  continue;
14321
14324
  }
14322
- b >= 0 ? (l[y] = f, a[y] = f += b) : (a[y] = p, l[y] = p += b);
14325
+ w >= 0 ? (c[b] = p, l[b] = p += w) : (l[b] = g, c[b] = g += w);
14323
14326
  }
14324
14327
  }
14325
14328
  }
14326
14329
  }
14327
- const c = d9(l, a, o, s);
14328
- let u = e.addVariable(ie.yMin, "numeric", l).addVariable(ie.yMax, "numeric", a).addVariable(ie.yRaw, "numeric", r).addVariable(e1.role, "categorical", c);
14329
- const d = pe(t.y);
14330
- return d !== null && (u = u.addVariable(d, "numeric", a)), {
14331
- data: u,
14330
+ const u = d9(c, l, i, a);
14331
+ let d = e.addVariable(ie.yMin, "numeric", c).addVariable(ie.yMax, "numeric", l).addVariable(ie.yRaw, "numeric", o).addVariable(e1.role, "categorical", u);
14332
+ const h = pe(t.y);
14333
+ if (h !== null) {
14334
+ const f = l.map((p, g) => o[g] === null ? null : p);
14335
+ d = d.addVariable(h, "numeric", f);
14336
+ }
14337
+ return {
14338
+ data: d,
14332
14339
  mapping: {}
14333
14340
  };
14334
14341
  }
@@ -85602,7 +85609,7 @@ var npt = (e) => [...new Set(e)], rpt = (e) => ({
85602
85609
  stickers: e.stickers.length,
85603
85610
  pinnedNumbers: e.pinnedNumbers.length,
85604
85611
  comments: e.comments.length
85605
- }), opt = "", ipt = "1.9.0-beta.1792478311419", spt = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
85612
+ }), opt = "", ipt = "1.9.0-beta.1792505847409", spt = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
85606
85613
  function Jne() {
85607
85614
  return opt;
85608
85615
  }