react-semaphor 0.0.382 → 0.0.383

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.
@@ -27268,12 +27268,7 @@ function QT({
27268
27268
  });
27269
27269
  }
27270
27270
  if (t === "bubble" || t === "scatter") {
27271
- const { metricKeys: y } = pn(e);
27272
- if (y.length < 3) {
27273
- console.log("Bubble charts require 3 numeric columns");
27274
- return;
27275
- }
27276
- const w = oB(e, t), _ = Zc(w, r), x = {
27271
+ const { metricKeys: y } = pn(e), w = oB(e, t), _ = Zc(w, r), x = {
27277
27272
  interaction: {
27278
27273
  mode: "point"
27279
27274
  //dimensionKeys.length > 1 ? 'index' : 'point',
@@ -27283,8 +27278,11 @@ function QT({
27283
27278
  callbacks: {
27284
27279
  label: function(k) {
27285
27280
  var N;
27286
- const O = k.dataset.label, M = k.dataIndex, D = k.dataset.data, I = (N = D == null ? void 0 : D[M]) == null ? void 0 : N.label, j = y[0], $ = y[1], T = y[2];
27287
- return I ? `${O} (${I}): ${j}: ${k.raw.x.toFixed(2)}, ${$}: ${k.raw.y.toFixed(2)}, ${T}: ${k.raw.r.toFixed(2)}` : `${O}: ${j}: ${k.raw.x.toFixed(2)}, ${$}: ${k.raw.y.toFixed(2)}, ${T}: ${k.raw.r.toFixed(2)}`;
27281
+ const O = k.dataset.label, M = k.dataIndex, D = k.dataset.data, I = (N = D == null ? void 0 : D[M]) == null ? void 0 : N.label, j = y == null ? void 0 : y[0], $ = y == null ? void 0 : y[1], T = y == null ? void 0 : y[2];
27282
+ if (t === "bubble")
27283
+ return I ? `${O} (${I}): ${j}: ${k.raw.x.toFixed(2)}, ${$}: ${k.raw.y.toFixed(2)}, ${T}: ${k.raw.r.toFixed(2)}` : `${O}: ${j}: ${k.raw.x.toFixed(2)}, ${$}: ${k.raw.y.toFixed(2)}, ${T}: ${k.raw.r.toFixed(2)}`;
27284
+ if (t === "scatter")
27285
+ return I ? `${O} (${I}): ${j}: ${k.raw.x.toFixed(2)}, ${$}: ${k.raw.y.toFixed(2)}` : `${O}: ${j}: ${k.raw.x.toFixed(2)}, ${$}: ${k.raw.y.toFixed(2)}`;
27288
27286
  }
27289
27287
  }
27290
27288
  },
@@ -55178,7 +55176,7 @@ function nge({
55178
55176
  function rge({ message: e }) {
55179
55177
  return e.role !== "user" ? null : /* @__PURE__ */ Q("div", { className: "rounded-md bg-muted/50 p-3 text-sm", children: [
55180
55178
  /* @__PURE__ */ v(AB, { className: "float-left mr-2 size-4" }),
55181
- /* @__PURE__ */ v("div", { children: e.content })
55179
+ /* @__PURE__ */ v("div", { className: "whitespace-pre-line", children: e.content })
55182
55180
  ] });
55183
55181
  }
55184
55182
  function oge({ message: e }) {
@@ -60240,9 +60238,9 @@ export {
60240
60238
  IB as a_,
60241
60239
  xB as aa,
60242
60240
  nce as ab,
60243
- Gve as ac,
60241
+ Wve as ac,
60244
60242
  Uve as ad,
60245
- Wve as ae,
60243
+ Gve as ae,
60246
60244
  dc as af,
60247
60245
  PB as ag,
60248
60246
  sge as ah,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-Cny4Wf9t.js");exports.Dashboard=e.Dashboard;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-BuxE6Cp2.js");exports.Dashboard=e.Dashboard;
@@ -1,4 +1,4 @@
1
- import { D as r } from "../chunks/index-CJy7qM8X.js";
1
+ import { D as r } from "../chunks/index-DzewT2eB.js";
2
2
  export {
3
3
  r as Dashboard
4
4
  };