@factorialco/f0-react 1.250.0 → 1.251.1

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.
package/dist/f0.js CHANGED
@@ -1,8 +1,8 @@
1
- import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as U, c as yt, d as Fe, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Te, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Ft, x as Tt, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as He, aw as M, ax as Je, ay as fa, az as pa, aA as Ce, aB as ma, aC as Ue, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na, aO as Aa } from "./hooks-2T2V5slK.js";
2
- import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Fn, bx as Tn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-2T2V5slK.js";
1
+ import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as J, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as qt, Z as Gt, _ as Vt, $ as Yt, a0 as Be, a1 as Ut, a2 as Z, a3 as Me, a4 as Re, a5 as Ht, a6 as ze, a7 as Ke, a8 as We, a9 as qe, aa as Jt, ab as Ge, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as Ve, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as Ue, aw as M, ax as He, ay as fa, az as pa, aA as Ce, aB as ma, aC as Je, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na, aO as Aa } from "./hooks-hFpbr-b4.js";
2
+ import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as qn, bs as Gn, bt as Vn, bu as Yn, bC as Un, bm as Hn, bv as Jn, bz as Xn, bo as Zn, by as Qn } from "./hooks-hFpbr-b4.js";
3
3
  import { jsx as n, jsxs as C, Fragment as ae } from "react/jsx-runtime";
4
4
  import * as fe from "react";
5
- import k, { PureComponent as Oa, useState as D, forwardRef as q, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as ka, Children as La, createContext as Da } from "react";
5
+ import k, { PureComponent as Oa, useState as D, forwardRef as V, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as ka, Children as La, createContext as Da } from "react";
6
6
  const Ar = {
7
7
  approvals: {
8
8
  history: "Approval history",
@@ -58,7 +58,12 @@ const Ar = {
58
58
  applySelection: "Apply selection",
59
59
  cancel: "Cancel",
60
60
  failedToLoadOptions: "Failed to load options",
61
- retry: "Retry"
61
+ retry: "Retry",
62
+ aboveOrEqual: "Above or equal to",
63
+ value: "Value",
64
+ belowOrEqual: "Below or equal to",
65
+ range_title: "Use range",
66
+ range: "Between {{min}} and {{max}}"
62
67
  },
63
68
  toc: {
64
69
  search: "Search..."
@@ -217,6 +222,11 @@ const Ar = {
217
222
  select: {
218
223
  noResults: "No results found",
219
224
  loadingMore: "Loading..."
225
+ },
226
+ numberInput: {
227
+ between: "Between {{min}} and {{max}}",
228
+ greaterThan: "Greater than {{min}}",
229
+ lessThan: "Less than {{max}}"
220
230
  }
221
231
  }, Or = [
222
232
  "person",
@@ -233,18 +243,18 @@ function R(e) {
233
243
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
234
244
  }, R(e);
235
245
  }
236
- function Fa(e, t) {
246
+ function Ta(e, t) {
237
247
  if (!(e instanceof t))
238
248
  throw new TypeError("Cannot call a class as a function");
239
249
  }
240
- function Ta(e, t) {
250
+ function Fa(e, t) {
241
251
  for (var r = 0; r < t.length; r++) {
242
252
  var a = t[r];
243
253
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Qe(a.key), a);
244
254
  }
245
255
  }
246
256
  function Ia(e, t, r) {
247
- return t && Ta(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
257
+ return t && Fa(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
248
258
  }
249
259
  function _a(e, t, r) {
250
260
  return t = Q(t), Ea(e, Xe() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
@@ -305,7 +315,7 @@ function Ba(e, t) {
305
315
  }
306
316
  var re = /* @__PURE__ */ function(e) {
307
317
  function t() {
308
- return Fa(this, t), _a(this, t, arguments);
318
+ return Ta(this, t), _a(this, t, arguments);
309
319
  }
310
320
  return $a(t, e), Ia(t, [{
311
321
  key: "render",
@@ -322,15 +332,15 @@ Ze(re, "defaultProps", {
322
332
  type: "number"
323
333
  });
324
334
  var Ma = ["option", "isActive"];
325
- function G() {
326
- return G = Object.assign ? Object.assign.bind() : function(e) {
335
+ function q() {
336
+ return q = Object.assign ? Object.assign.bind() : function(e) {
327
337
  for (var t = 1; t < arguments.length; t++) {
328
338
  var r = arguments[t];
329
339
  for (var a in r)
330
340
  Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
331
341
  }
332
342
  return e;
333
- }, G.apply(this, arguments);
343
+ }, q.apply(this, arguments);
334
344
  }
335
345
  function Ra(e, t) {
336
346
  if (e == null) return {};
@@ -354,13 +364,13 @@ function za(e, t) {
354
364
  }
355
365
  function Ka(e) {
356
366
  var t = e.option, r = e.isActive, a = Ra(e, Ma);
357
- return typeof t == "string" ? /* @__PURE__ */ k.createElement(xe, G({
358
- option: /* @__PURE__ */ k.createElement(mt, G({
367
+ return typeof t == "string" ? /* @__PURE__ */ k.createElement(xe, q({
368
+ option: /* @__PURE__ */ k.createElement(mt, q({
359
369
  type: t
360
370
  }, a)),
361
371
  isActive: r,
362
372
  shapeType: "symbols"
363
- }, a)) : /* @__PURE__ */ k.createElement(xe, G({
373
+ }, a)) : /* @__PURE__ */ k.createElement(xe, q({
364
374
  option: t,
365
375
  isActive: r,
366
376
  shapeType: "symbols"
@@ -374,15 +384,15 @@ function z(e) {
374
384
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
375
385
  }, z(e);
376
386
  }
377
- function V() {
378
- return V = Object.assign ? Object.assign.bind() : function(e) {
387
+ function G() {
388
+ return G = Object.assign ? Object.assign.bind() : function(e) {
379
389
  for (var t = 1; t < arguments.length; t++) {
380
390
  var r = arguments[t];
381
391
  for (var a in r)
382
392
  Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
383
393
  }
384
394
  return e;
385
- }, V.apply(this, arguments);
395
+ }, G.apply(this, arguments);
386
396
  }
387
397
  function Ae(e, t) {
388
398
  var r = Object.keys(e);
@@ -394,7 +404,7 @@ function Ae(e, t) {
394
404
  }
395
405
  return r;
396
406
  }
397
- function T(e) {
407
+ function F(e) {
398
408
  for (var t = 1; t < arguments.length; t++) {
399
409
  var r = arguments[t] != null ? arguments[t] : {};
400
410
  t % 2 ? Ae(Object(r), !0).forEach(function(a) {
@@ -415,13 +425,13 @@ function Oe(e, t) {
415
425
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, tt(a.key), a);
416
426
  }
417
427
  }
418
- function Ga(e, t, r) {
428
+ function qa(e, t, r) {
419
429
  return t && Oe(e.prototype, t), r && Oe(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
420
430
  }
421
- function Va(e, t, r) {
422
- return t = ee(t), qa(e, et() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
431
+ function Ga(e, t, r) {
432
+ return t = ee(t), Va(e, et() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
423
433
  }
424
- function qa(e, t) {
434
+ function Va(e, t) {
425
435
  if (t && (z(t) === "object" || typeof t == "function"))
426
436
  return t;
427
437
  if (t !== void 0)
@@ -448,7 +458,7 @@ function ee(e) {
448
458
  return r.__proto__ || Object.getPrototypeOf(r);
449
459
  }, ee(e);
450
460
  }
451
- function Ha(e, t) {
461
+ function Ua(e, t) {
452
462
  if (typeof t != "function" && t !== null)
453
463
  throw new TypeError("Super expression must either be null or a function");
454
464
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ue(e, t);
@@ -462,10 +472,10 @@ function j(e, t, r) {
462
472
  return t = tt(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
463
473
  }
464
474
  function tt(e) {
465
- var t = Ja(e, "string");
475
+ var t = Ha(e, "string");
466
476
  return z(t) == "symbol" ? t : t + "";
467
477
  }
468
- function Ja(e, t) {
478
+ function Ha(e, t) {
469
479
  if (z(e) != "object" || !e) return e;
470
480
  var r = e[Symbol.toPrimitive];
471
481
  if (r !== void 0) {
@@ -481,7 +491,7 @@ var Y = /* @__PURE__ */ function(e) {
481
491
  Wa(this, t);
482
492
  for (var a = arguments.length, o = new Array(a), s = 0; s < a; s++)
483
493
  o[s] = arguments[s];
484
- return r = Va(this, t, [].concat(o)), j(r, "state", {
494
+ return r = Ga(this, t, [].concat(o)), j(r, "state", {
485
495
  isAnimationFinished: !1
486
496
  }), j(r, "handleAnimationEnd", function() {
487
497
  r.setState({
@@ -493,18 +503,18 @@ var Y = /* @__PURE__ */ function(e) {
493
503
  });
494
504
  }), j(r, "id", St("recharts-scatter-")), r;
495
505
  }
496
- return Ha(t, e), Ga(t, [{
506
+ return Ua(t, e), qa(t, [{
497
507
  key: "renderSymbolsStatically",
498
508
  value: function(a) {
499
509
  var o = this, s = this.props, l = s.shape, d = s.activeShape, i = s.activeIndex, m = ne(this.props, !1);
500
510
  return a.map(function(c, f) {
501
- var h = i === f, u = h ? d : l, g = T(T({}, m), c);
502
- return /* @__PURE__ */ k.createElement(K, V({
511
+ var h = i === f, u = h ? d : l, g = F(F({}, m), c);
512
+ return /* @__PURE__ */ k.createElement(K, G({
503
513
  className: "recharts-scatter-symbol",
504
514
  key: "symbol-".concat(c == null ? void 0 : c.cx, "-").concat(c == null ? void 0 : c.cy, "-").concat(c == null ? void 0 : c.size, "-").concat(f)
505
515
  }, ht(o.props, c, f), {
506
516
  role: "img"
507
- }), /* @__PURE__ */ k.createElement(Ka, V({
517
+ }), /* @__PURE__ */ k.createElement(Ka, G({
508
518
  option: u,
509
519
  isActive: h,
510
520
  key: "symbol-".concat(f)
@@ -533,15 +543,15 @@ var Y = /* @__PURE__ */ function(e) {
533
543
  var u = h.t, g = s.map(function(N, A) {
534
544
  var O = f && f[A];
535
545
  if (O) {
536
- var x = U(O.cx, N.cx), b = U(O.cy, N.cy), w = U(O.size, N.size);
537
- return T(T({}, N), {}, {
546
+ var x = J(O.cx, N.cx), b = J(O.cy, N.cy), w = J(O.size, N.size);
547
+ return F(F({}, N), {}, {
538
548
  cx: x(u),
539
549
  cy: b(u),
540
550
  size: w(u)
541
551
  });
542
552
  }
543
- var P = U(0, N.size);
544
- return T(T({}, N), {}, {
553
+ var P = J(0, N.size);
554
+ return F(F({}, N), {}, {
545
555
  size: P(u)
546
556
  });
547
557
  });
@@ -560,7 +570,7 @@ var Y = /* @__PURE__ */ function(e) {
560
570
  var a = this.props.isAnimationActive;
561
571
  if (a && !this.state.isAnimationFinished)
562
572
  return null;
563
- var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Fe(i, bt);
573
+ var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Te(i, bt);
564
574
  return m ? m.map(function(c, f) {
565
575
  var h = c.props, u = h.direction, g = h.dataKey;
566
576
  return /* @__PURE__ */ k.cloneElement(c, {
@@ -603,13 +613,13 @@ var Y = /* @__PURE__ */ function(e) {
603
613
  y: O(g)
604
614
  }];
605
615
  }
606
- var x = T(T(T({}, i), {}, {
616
+ var x = F(F(F({}, i), {}, {
607
617
  fill: "none",
608
618
  stroke: i && i.fill
609
619
  }, m), {}, {
610
620
  points: c
611
621
  });
612
- return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, x) : xt(s) ? f = s(x) : f = /* @__PURE__ */ k.createElement(wt, V({}, x, {
622
+ return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, x) : xt(s) ? f = s(x) : f = /* @__PURE__ */ k.createElement(wt, G({}, x, {
613
623
  type: d
614
624
  })), /* @__PURE__ */ k.createElement(K, {
615
625
  className: "recharts-scatter-line",
@@ -635,7 +645,7 @@ var Y = /* @__PURE__ */ function(e) {
635
645
  height: b ? u : u * 2
636
646
  }))) : null, l && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ k.createElement(K, {
637
647
  key: "recharts-scatter-symbols"
638
- }, this.renderSymbols()), (!N || A) && Te.renderCallByParent(this.props, s));
648
+ }, this.renderSymbols()), (!N || A) && Fe.renderCallByParent(this.props, s));
639
649
  }
640
650
  }], [{
641
651
  key: "getDerivedStateFromProps",
@@ -667,7 +677,7 @@ j(Y, "defaultProps", {
667
677
  animationEasing: "linear"
668
678
  });
669
679
  j(Y, "getComposedData", function(e) {
670
- var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = Fe(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, g = a ? a.range : re.defaultProps.range, N = g && g[0], A = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, x = s.map(function(b, w) {
680
+ var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = Te(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, g = a ? a.range : re.defaultProps.range, N = g && g[0], A = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, x = s.map(function(b, w) {
671
681
  var P = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
672
682
  name: $(t.dataKey) ? o.props.name : t.name || t.dataKey,
673
683
  unit: t.unit || "",
@@ -691,7 +701,7 @@ j(Y, "getComposedData", function(e) {
691
701
  dataKey: u,
692
702
  type: m
693
703
  });
694
- var F = we({
704
+ var T = we({
695
705
  axis: t,
696
706
  ticks: l,
697
707
  bandSize: A,
@@ -706,10 +716,10 @@ j(Y, "getComposedData", function(e) {
706
716
  index: w,
707
717
  dataKey: h
708
718
  }), p = v !== "-" ? a.scale(v) : N, S = Math.sqrt(Math.max(p, 0) / Math.PI);
709
- return T(T({}, b), {}, {
710
- cx: F,
719
+ return F(F({}, b), {}, {
720
+ cx: T,
711
721
  cy: _,
712
- x: F - S,
722
+ x: T - S,
713
723
  y: _ - S,
714
724
  xAxis: t,
715
725
  yAxis: r,
@@ -724,17 +734,17 @@ j(Y, "getComposedData", function(e) {
724
734
  },
725
735
  tooltipPayload: L,
726
736
  tooltipPosition: {
727
- x: F,
737
+ x: T,
728
738
  y: _
729
739
  },
730
740
  payload: b
731
741
  }, c && c[w] && c[w].props);
732
742
  });
733
- return T({
743
+ return F({
734
744
  points: x
735
745
  }, i);
736
746
  });
737
- var Ua = At({
747
+ var Ja = At({
738
748
  chartName: "ComposedChart",
739
749
  GraphicalChild: [Ie, Ot, _e, Y],
740
750
  axisComponents: [{
@@ -776,13 +786,13 @@ const Xa = (e) => {
776
786
  }, Za = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
777
787
  hide: !0
778
788
  }, label: o = !1, hideTooltip: s = !1, hideGrid: l = !1, aspect: d, legend: i, showValueUnderLabel: m = !1, bar: c, line: f, scatter: h, onClick: u }, g) => {
779
- var v, L, F, _;
789
+ var v, L, T, _;
780
790
  const N = Lt(t), A = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], x = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...A, ...O, ...x], w = Math.max(...N.flatMap((p) => b.map((S) => Dt(a != null && a.tickFormatter ? a.tickFormatter(`${p[S]}`) : `${p[S]}`)))), P = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "left"), y = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "right");
781
- return n(Ft, {
791
+ return n(Tt, {
782
792
  config: e,
783
793
  ref: g,
784
794
  aspect: d,
785
- children: C(Ua, {
795
+ children: C(Ja, {
786
796
  accessibilityLayer: !0,
787
797
  data: N,
788
798
  margin: {
@@ -799,11 +809,11 @@ const Xa = (e) => {
799
809
  label: p.activeLabel,
800
810
  values: {}
801
811
  };
802
- for (const H of p.activePayload)
803
- S.values[H.name] = H.value;
812
+ for (const U of p.activePayload)
813
+ S.values[U.name] = U.value;
804
814
  u(S);
805
815
  },
806
- children: [!s && n(Tt, {
816
+ children: [!s && n(Ft, {
807
817
  ...It(),
808
818
  content: n(_t, {
809
819
  yAxisFormatter: a.tickFormatter
@@ -825,7 +835,7 @@ const Xa = (e) => {
825
835
  yAxisId: "right",
826
836
  orientation: "right",
827
837
  tick: !0,
828
- width: a.width ?? w + 20 + (P.length > 0 && ((F = y[0]) != null && F.axisLabel) ? 20 : 0),
838
+ width: a.width ?? w + 20 + (P.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
829
839
  hide: a.hide || y.some((p) => p == null ? void 0 : p.hideAxis),
830
840
  label: (_ = y[0]) != null && _.axisLabel ? {
831
841
  value: y[0].axisLabel,
@@ -837,9 +847,9 @@ const Xa = (e) => {
837
847
  hide: r == null ? void 0 : r.hide,
838
848
  tick: m ? (p) => {
839
849
  var be, ge;
840
- const { x: S, y: H, payload: ve } = p, ye = ((be = t.find((pt) => pt.label === ve.value)) == null ? void 0 : be.values) || "", J = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, ft = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
850
+ const { x: S, y: U, payload: ve } = p, ye = ((be = t.find((pt) => pt.label === ve.value)) == null ? void 0 : be.values) || "", H = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, ft = H !== void 0 && a.tickFormatter ? a.tickFormatter(`${H}`) : H.toLocaleString();
841
851
  return C("g", {
842
- transform: `translate(${S},${H})`,
852
+ transform: `translate(${S},${U})`,
843
853
  children: [n("text", {
844
854
  x: 0,
845
855
  y: 0,
@@ -847,7 +857,7 @@ const Xa = (e) => {
847
857
  textAnchor: "middle",
848
858
  className: "text-sm font-medium !text-f1-foreground-secondary",
849
859
  children: ve.value
850
- }), !!J && n("text", {
860
+ }), !!H && n("text", {
851
861
  x: 0,
852
862
  y: 0,
853
863
  dy: 28,
@@ -863,7 +873,7 @@ const Xa = (e) => {
863
873
  fill: e[p].color ? W(e[p].color) : oe(S),
864
874
  radius: 4,
865
875
  maxBarSize: 32,
866
- children: o && n(Te, {
876
+ children: o && n(Fe, {
867
877
  position: "top",
868
878
  offset: 10,
869
879
  className: "fill-f1-foreground",
@@ -1009,20 +1019,20 @@ const sr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1009
1019
  name: "AreaChart",
1010
1020
  type: "info"
1011
1021
  },
1012
- qt
1022
+ Vt
1013
1023
  ), Dr = I(
1014
1024
  {
1015
1025
  name: "BarChart",
1016
1026
  type: "info"
1017
1027
  },
1018
1028
  zt
1019
- ), Fr = I(
1029
+ ), Tr = I(
1020
1030
  {
1021
1031
  name: "CategoryBarChart",
1022
1032
  type: "info"
1023
1033
  },
1024
1034
  Kt
1025
- ), Tr = I(
1035
+ ), Fr = I(
1026
1036
  {
1027
1037
  name: "LineChart",
1028
1038
  type: "info"
@@ -1033,13 +1043,13 @@ const sr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1033
1043
  name: "PieChart",
1034
1044
  type: "info"
1035
1045
  },
1036
- Gt
1046
+ qt
1037
1047
  ), _r = I(
1038
1048
  {
1039
1049
  name: "VerticalBarChart",
1040
1050
  type: "info"
1041
1051
  },
1042
- Vt
1052
+ Gt
1043
1053
  ), Er = I(
1044
1054
  {
1045
1055
  name: "ProgressBarChart",
@@ -1052,7 +1062,7 @@ const sr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1052
1062
  type: "info"
1053
1063
  },
1054
1064
  Qa
1055
- ), $r = Yt, Br = Be, Mr = ["default", "outline", "neutral"], Rr = Be, zr = ["sm", "md", "lg"], Kr = Ht, de = ({ count: e, list: t }) => {
1065
+ ), $r = Yt, Br = Be, Mr = ["default", "outline", "neutral"], Rr = Be, zr = ["sm", "md", "lg"], Kr = Ut, de = ({ count: e, list: t }) => {
1056
1066
  const [r, a] = D(!1), o = n(Z, {
1057
1067
  label: `+${e}`
1058
1068
  });
@@ -1062,7 +1072,7 @@ const sr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1062
1072
  children: [n(Re, {
1063
1073
  asChild: !0,
1064
1074
  children: n("button", {
1065
- className: Jt("inline-flex flex-shrink-0 items-center"),
1075
+ className: Ht("inline-flex flex-shrink-0 items-center"),
1066
1076
  children: o
1067
1077
  })
1068
1078
  }), n(ze, {
@@ -1086,7 +1096,7 @@ const sr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1086
1096
  de.displayName = "ChipCounter";
1087
1097
  const lt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
1088
1098
  if (a === "fill")
1089
- return n(Ut, {
1099
+ return n(Jt, {
1090
1100
  items: e,
1091
1101
  renderListItem: (i) => n(Z, {
1092
1102
  ...i
@@ -1112,8 +1122,8 @@ const lt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" })
1112
1122
  });
1113
1123
  };
1114
1124
  lt.displayName = "F0ChipList";
1115
- const Wr = Ge("F0ChipList", lt), ct = q(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1116
- const [m, c] = D(""), [f, h] = D(!1), u = Ve();
1125
+ const Wr = qe("F0ChipList", lt), ct = V(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1126
+ const [m, c] = D(""), [f, h] = D(!1), u = Ge();
1117
1127
  B(() => {
1118
1128
  c(r.toString(e == null ? void 0 : e.value, u));
1119
1129
  }, [e, r, u]);
@@ -1165,7 +1175,7 @@ function cr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1165
1175
  B(() => {
1166
1176
  f(l);
1167
1177
  }, [l]);
1168
- const h = Ve(), u = se(() => a[0] ?? "day", [a]), g = Ne((y) => {
1178
+ const h = Ge(), u = se(() => a[0] ?? "day", [a]), g = Ne((y) => {
1169
1179
  const v = y || u;
1170
1180
  if (!Se[v])
1171
1181
  throw new Error(`Invalid granularity ${v}`);
@@ -1188,8 +1198,8 @@ function cr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1188
1198
  ie(i, y) || m(y);
1189
1199
  }, [t]);
1190
1200
  const O = (y) => {
1191
- const v = N(y), F = g(v == null ? void 0 : v.granularity).calendarMode !== "range" && (v == null ? void 0 : v.granularity) === (i == null ? void 0 : i.granularity) && !ie(v, i);
1192
- x(v), F && f(!1);
1201
+ const v = N(y), T = g(v == null ? void 0 : v.granularity).calendarMode !== "range" && (v == null ? void 0 : v.granularity) === (i == null ? void 0 : i.granularity) && !ie(v, i);
1202
+ x(v), T && f(!1);
1193
1203
  }, x = (y) => {
1194
1204
  const v = N(y);
1195
1205
  if (m(v), !ie(v, i)) {
@@ -1225,7 +1235,7 @@ function cr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1225
1235
  })
1226
1236
  });
1227
1237
  }
1228
- const Gr = ta, Vr = Ge(
1238
+ const qr = ta, Gr = qe(
1229
1239
  "F0DatePicker",
1230
1240
  cr
1231
1241
  ), ur = {
@@ -1233,14 +1243,14 @@ const Gr = ta, Vr = Ge(
1233
1243
  sm: 2,
1234
1244
  md: 2,
1235
1245
  lg: 2
1236
- }, dr = q(function({ widgets: t, children: r }, a) {
1246
+ }, dr = V(function({ widgets: t, children: r }, a) {
1237
1247
  const o = pe(null);
1238
1248
  ka(a, () => o.current);
1239
1249
  const s = La.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
1240
1250
  className: "h-full @5xl:h-auto [&>div]:h-full",
1241
1251
  children: l
1242
1252
  }, d));
1243
- return n(qe, {
1253
+ return n(Ve, {
1244
1254
  layout: "home",
1245
1255
  children: C("div", {
1246
1256
  ref: o,
@@ -1269,7 +1279,7 @@ const Gr = ta, Vr = Ge(
1269
1279
  })]
1270
1280
  })
1271
1281
  });
1272
- }), fr = q(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
1282
+ }), fr = V(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
1273
1283
  return n("div", {
1274
1284
  ref: s,
1275
1285
  className: "h-full",
@@ -1295,7 +1305,7 @@ const Gr = ta, Vr = Ge(
1295
1305
  narrow: "max-w-screen-lg"
1296
1306
  }
1297
1307
  }
1298
- }), ut = k.forwardRef(({ children: e, variant: t, className: r, ...a }, o) => n(qe, {
1308
+ }), ut = k.forwardRef(({ children: e, variant: t, className: r, ...a }, o) => n(Ve, {
1299
1309
  layout: "standard",
1300
1310
  children: n("section", {
1301
1311
  ref: o,
@@ -1310,13 +1320,13 @@ const Gr = ta, Vr = Ge(
1310
1320
  })
1311
1321
  }));
1312
1322
  ut.displayName = "StandardLayout";
1313
- const qr = I({
1323
+ const Vr = I({
1314
1324
  name: "StandardLayout",
1315
1325
  type: "layout"
1316
1326
  }, ut), Yr = I({
1317
1327
  name: "TwoColumnLayout",
1318
1328
  type: "layout"
1319
- }, fr), Hr = I({
1329
+ }, fr), Ur = I({
1320
1330
  name: "HomeLayout",
1321
1331
  type: "layout"
1322
1332
  }, dr), hr = ({ benefits: e }) => n("div", {
@@ -1333,7 +1343,7 @@ const qr = I({
1333
1343
  }), n("span", {
1334
1344
  children: e
1335
1345
  })]
1336
- }), dt = q(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d, promoTag: i }, m) => C("div", {
1346
+ }), dt = V(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d, promoTag: i }, m) => C("div", {
1337
1347
  ref: m,
1338
1348
  className: E("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1339
1349
  children: [n("div", {
@@ -1403,7 +1413,7 @@ function yr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
1403
1413
  }), r]
1404
1414
  }), n(da, {
1405
1415
  variant: "outline",
1406
- icon: He,
1416
+ icon: Ue,
1407
1417
  onClick: t,
1408
1418
  label: "Close modal",
1409
1419
  hideLabel: !0
@@ -1418,7 +1428,7 @@ function yr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
1418
1428
  })
1419
1429
  });
1420
1430
  }
1421
- function Jr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: g, tag: N, promoTag: A, showResponseDialog: O = !0 }) {
1431
+ function Hr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: g, tag: N, promoTag: A, showResponseDialog: O = !0 }) {
1422
1432
  const [x, b] = D(e), [w, P] = D(null), [y, v] = D(!1), L = async () => {
1423
1433
  if (c != null && c.onClick) {
1424
1434
  v(!0);
@@ -1430,13 +1440,13 @@ function Jr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1430
1440
  v(!1);
1431
1441
  }
1432
1442
  }
1433
- }, F = () => {
1443
+ }, T = () => {
1434
1444
  b(!1), t == null || t();
1435
1445
  }, _ = y;
1436
1446
  return C(ae, {
1437
1447
  children: [n(yr, {
1438
1448
  isOpen: x,
1439
- onClose: F,
1449
+ onClose: T,
1440
1450
  title: f,
1441
1451
  module: h,
1442
1452
  portalContainer: g,
@@ -1468,10 +1478,10 @@ function Jr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1468
1478
  })
1469
1479
  })
1470
1480
  })
1471
- }), w && O && n(Je, {
1481
+ }), w && O && n(He, {
1472
1482
  open: !0,
1473
1483
  onClose: () => {
1474
- F(), P(null);
1484
+ T(), P(null);
1475
1485
  },
1476
1486
  success: w === "success",
1477
1487
  errorMessage: s,
@@ -1501,7 +1511,7 @@ function br({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1501
1511
  className: "absolute right-2 top-2 z-10",
1502
1512
  children: n(M, {
1503
1513
  variant: "ghost",
1504
- icon: He,
1514
+ icon: Ue,
1505
1515
  size: "sm",
1506
1516
  hideLabel: !0,
1507
1517
  onClick: f,
@@ -1534,7 +1544,7 @@ function br({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1534
1544
  })]
1535
1545
  }), d && n(ma, {
1536
1546
  className: "p-3",
1537
- children: d.map((u) => u.type === "upsell" ? n(Ue, {
1547
+ children: d.map((u) => u.type === "upsell" ? n(Je, {
1538
1548
  label: u.label,
1539
1549
  onRequest: u.onClick,
1540
1550
  errorMessage: u.errorMessage,
@@ -1553,8 +1563,8 @@ function br({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1553
1563
  })
1554
1564
  });
1555
1565
  }
1556
- const gr = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1557
- const s = (i) => i.variant === "promote" ? n(Ue, {
1566
+ const gr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1567
+ const s = (i) => i.variant === "promote" ? n(Je, {
1558
1568
  label: i.label,
1559
1569
  onRequest: async () => {
1560
1570
  await i.onClick();
@@ -1583,7 +1593,7 @@ const gr = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1583
1593
  });
1584
1594
  });
1585
1595
  gr.displayName = "UpsellingBanner";
1586
- function Ur({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = va, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: g, onClick: N, hideLabel: A = !1 }) {
1596
+ function Jr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = va, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: g, onClick: N, hideLabel: A = !1 }) {
1587
1597
  const [O, x] = D(!1), [b, w] = D(null), [P, y] = D(null), v = (S) => {
1588
1598
  t(S), N && N();
1589
1599
  }, L = async (S) => {
@@ -1595,7 +1605,7 @@ function Ur({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1595
1605
  x(!0), w("error");
1596
1606
  }
1597
1607
  }
1598
- }, F = () => {
1608
+ }, T = () => {
1599
1609
  w(null), x(!1), y(null), t(!1);
1600
1610
  }, _ = e && !O, p = g == null ? void 0 : g.map((S) => S.type === "upsell" ? {
1601
1611
  ...S,
@@ -1631,9 +1641,9 @@ function Ur({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1631
1641
  showConfirmation: !1
1632
1642
  })
1633
1643
  })]
1634
- }), (P == null ? void 0 : P.type) === "upsell" && P.showConfirmation && b && n(Je, {
1644
+ }), (P == null ? void 0 : P.type) === "upsell" && P.showConfirmation && b && n(He, {
1635
1645
  open: !0,
1636
- onClose: F,
1646
+ onClose: T,
1637
1647
  success: b === "success",
1638
1648
  errorMessage: P.errorMessage,
1639
1649
  successMessage: P.successMessage,
@@ -1704,7 +1714,7 @@ export {
1704
1714
  Lr as AreaChart,
1705
1715
  tn as Await,
1706
1716
  Dr as BarChart,
1707
- Fr as CategoryBarChart,
1717
+ Tr as CategoryBarChart,
1708
1718
  jr as ComboChart,
1709
1719
  an as DndProvider,
1710
1720
  rn as EmojiImage,
@@ -1725,7 +1735,7 @@ export {
1725
1735
  yn as F0Card,
1726
1736
  bn as F0Checkbox,
1727
1737
  Wr as F0ChipList,
1728
- Vr as F0DatePicker,
1738
+ Gr as F0DatePicker,
1729
1739
  gn as F0EventCatcherProvider,
1730
1740
  ia as F0Icon,
1731
1741
  xn as F0Link,
@@ -1740,26 +1750,26 @@ export {
1740
1750
  oa as F0TagStatus,
1741
1751
  On as F0TagTeam,
1742
1752
  kn as GROUP_ID_SYMBOL,
1743
- Hr as HomeLayout,
1744
- Tr as LineChart,
1753
+ Ur as HomeLayout,
1754
+ Fr as LineChart,
1745
1755
  Ln as OneFilterPicker,
1746
1756
  Ir as PieChart,
1747
1757
  Pa as PrivacyModeProvider,
1748
1758
  dt as ProductBlankslate,
1749
1759
  Dn as ProductCard,
1750
- Jr as ProductModal,
1760
+ Hr as ProductModal,
1751
1761
  br as ProductWidget,
1752
1762
  Er as ProgressBarChart,
1753
- qr as StandardLayout,
1754
- Fn as TagCounter,
1763
+ Vr as StandardLayout,
1764
+ Tn as TagCounter,
1755
1765
  Yr as TwoColumnLayout,
1756
- Je as UpsellRequestResponseDialog,
1766
+ He as UpsellRequestResponseDialog,
1757
1767
  gr as UpsellingBanner,
1758
- Ue as UpsellingButton,
1759
- Ur as UpsellingPopover,
1768
+ Je as UpsellingButton,
1769
+ Jr as UpsellingPopover,
1760
1770
  _r as VerticalBarChart,
1761
1771
  Or as avatarVariants,
1762
- Tn as buildTranslations,
1772
+ Fn as buildTranslations,
1763
1773
  Rr as buttonDropdownSizes,
1764
1774
  Mr as buttonDropdownVariants,
1765
1775
  Br as buttonSizes,
@@ -1768,9 +1778,9 @@ export {
1768
1778
  In as createAtlaskitDriver,
1769
1779
  _n as createDataSourceDefinition,
1770
1780
  Zr as dataCollectionLocalStorageHandler,
1771
- Gr as datepickerSizes,
1781
+ qr as datepickerSizes,
1772
1782
  Ar as defaultTranslations,
1773
- Ge as experimental,
1783
+ qe as experimental,
1774
1784
  En as getAnimationVariants,
1775
1785
  jn as getDataSourcePaginationType,
1776
1786
  $n as getEmojiLabel,
@@ -1781,13 +1791,13 @@ export {
1781
1791
  zn as predefinedPresets,
1782
1792
  Kn as tagDotColors,
1783
1793
  Wn as useData,
1784
- Gn as useDataSource,
1785
- Vn as useDndEvents,
1786
- qn as useDraggable,
1794
+ qn as useDataSource,
1795
+ Gn as useDndEvents,
1796
+ Vn as useDraggable,
1787
1797
  Yn as useDroppableList,
1788
- Hn as useEmojiConfetti,
1789
- Jn as useGroups,
1790
- Un as usePrivacyMode,
1798
+ Un as useEmojiConfetti,
1799
+ Hn as useGroups,
1800
+ Jn as usePrivacyMode,
1791
1801
  Xn as useReducedMotion,
1792
1802
  Zn as useSelectable,
1793
1803
  Qn as useXRay