@danxbot/ui 4.1.1 → 4.1.2

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/index.js CHANGED
@@ -12160,7 +12160,7 @@ const N2 = {
12160
12160
  "data-starting-style": ""
12161
12161
  }, I2 = {
12162
12162
  "data-ending-style": ""
12163
- }, fn = {
12163
+ }, pn = {
12164
12164
  transitionStatus(e) {
12165
12165
  return e === "starting" ? N2 : e === "ending" ? I2 : null;
12166
12166
  }
@@ -12196,7 +12196,7 @@ const M2 = {
12196
12196
  }
12197
12197
  }, Jc = {
12198
12198
  ...rs,
12199
- ...fn
12199
+ ...pn
12200
12200
  }, D2 = 300;
12201
12201
  function vt(e) {
12202
12202
  return ho(e, "base-ui");
@@ -12616,7 +12616,7 @@ function B2(e, t) {
12616
12616
  placement: gt,
12617
12617
  rects: qe,
12618
12618
  y: it
12619
- } = je, lt = Xn(gt), Ft = Gn(lt), Pe = ee.current, St = Ae.arrow?.x || 0, Rt = Ae.arrow?.y || 0, Ke = Pe?.clientWidth || 0, bt = Pe?.clientHeight || 0, $t = St + Ke / 2, Yt = Rt + bt / 2, pn = Math.abs(Ae.shift?.y || 0), Gt = qe.reference.height / 2, tn = typeof s == "function" ? s(ax(je, o, O)) : s, Xt = pn > tn, nt = {
12619
+ } = je, lt = Xn(gt), Ft = Gn(lt), Pe = ee.current, St = Ae.arrow?.x || 0, Rt = Ae.arrow?.y || 0, Ke = Pe?.clientWidth || 0, bt = Pe?.clientHeight || 0, $t = St + Ke / 2, Yt = Rt + bt / 2, mn = Math.abs(Ae.shift?.y || 0), Gt = qe.reference.height / 2, tn = typeof s == "function" ? s(ax(je, o, O)) : s, Xt = mn > tn, nt = {
12620
12620
  top: `${$t}px calc(100% + ${tn}px)`,
12621
12621
  bottom: `${$t}px ${-tn}px`,
12622
12622
  left: `calc(100% + ${tn}px) ${Yt}px`,
@@ -13739,7 +13739,7 @@ function tr({
13739
13739
  function vi({ children: e }) {
13740
13740
  return /* @__PURE__ */ f(x0, { render: e });
13741
13741
  }
13742
- function hn({ content: e, children: t, side: n = "top", className: r, defaultOpen: o }) {
13742
+ function fn({ content: e, children: t, side: n = "top", className: r, defaultOpen: o }) {
13743
13743
  return /* @__PURE__ */ T(y0, { defaultOpen: o, children: [
13744
13744
  /* @__PURE__ */ f(w0, { render: t }),
13745
13745
  /* @__PURE__ */ f(C0, { children: /* @__PURE__ */ f(
@@ -13861,7 +13861,7 @@ function Mn({
13861
13861
  ]
13862
13862
  }
13863
13863
  );
13864
- return i ? h : /* @__PURE__ */ f(hn, { content: s ?? t, side: a, children: h });
13864
+ return i ? h : /* @__PURE__ */ f(fn, { content: s ?? t, side: a, children: h });
13865
13865
  }
13866
13866
  const dO = mt({
13867
13867
  base: [
@@ -14812,7 +14812,7 @@ const H0 = /* @__PURE__ */ b.forwardRef(function(t, n) {
14812
14812
  process.env.NODE_ENV !== "production" && (H0.displayName = "FieldLabel");
14813
14813
  const wO = {
14814
14814
  ...Cn,
14815
- ...fn
14815
+ ...pn
14816
14816
  }, U0 = /* @__PURE__ */ b.forwardRef(function(t, n) {
14817
14817
  const {
14818
14818
  render: r,
@@ -15641,7 +15641,7 @@ function VH({
15641
15641
  ]
15642
15642
  }
15643
15643
  );
15644
- return D ? /* @__PURE__ */ f(hn, { content: a.reason, children: z }) : z;
15644
+ return D ? /* @__PURE__ */ f(fn, { content: a.reason, children: z }) : z;
15645
15645
  }
15646
15646
  function MO({
15647
15647
  render: e,
@@ -15768,7 +15768,7 @@ function TO() {
15768
15768
  }
15769
15769
  const PO = {
15770
15770
  ...rs,
15771
- ...fn,
15771
+ ...pn,
15772
15772
  nestedDialogOpen(e) {
15773
15773
  return e ? {
15774
15774
  "data-nested-dialog-open": ""
@@ -17030,7 +17030,7 @@ const JO = {
17030
17030
  }
17031
17031
  }, i1 = {
17032
17032
  ...s1,
17033
- ...fn
17033
+ ...pn
17034
17034
  }, a1 = /* @__PURE__ */ b.forwardRef(function(t, n) {
17035
17035
  const {
17036
17036
  render: r,
@@ -17068,7 +17068,7 @@ const JO = {
17068
17068
  process.env.NODE_ENV !== "production" && (a1.displayName = "CollapsibleRoot");
17069
17069
  const tA = {
17070
17070
  ...o1,
17071
- ...fn
17071
+ ...pn
17072
17072
  }, l1 = /* @__PURE__ */ b.forwardRef(function(t, n) {
17073
17073
  const {
17074
17074
  panelId: r,
@@ -17852,7 +17852,7 @@ function UH({
17852
17852
  /* @__PURE__ */ f(Bt, { size: "sm", tone: u.tone, icon: u.icon, children: u.label })
17853
17853
  ] }),
17854
17854
  o != null && /* @__PURE__ */ f("p", { className: "text-xs text-tertiary text-pretty", children: o }),
17855
- x && /* @__PURE__ */ f(d1, { children: m ? /* @__PURE__ */ f(hn, { content: a, children: x }) : x })
17855
+ x && /* @__PURE__ */ f(d1, { children: m ? /* @__PURE__ */ f(fn, { content: a, children: x }) : x })
17856
17856
  ] });
17857
17857
  }
17858
17858
  function aA(e) {
@@ -18111,7 +18111,7 @@ const g1 = /* @__PURE__ */ b.forwardRef(function(t, n) {
18111
18111
  });
18112
18112
  const x = {
18113
18113
  ...p1(l),
18114
- ...fn
18114
+ ...pn
18115
18115
  }, y = i || u, w = ye("span", t, {
18116
18116
  ref: [n, p],
18117
18117
  state: h,
@@ -18299,7 +18299,7 @@ const kf = {
18299
18299
  "data-unchecked": ""
18300
18300
  };
18301
18301
  },
18302
- ...fn,
18302
+ ...pn,
18303
18303
  ...Cn
18304
18304
  }, Dm = "data-composite-item-active", _m = /* @__PURE__ */ b.createContext({
18305
18305
  register: () => {
@@ -19776,7 +19776,7 @@ function OA(e) {
19776
19776
  };
19777
19777
  }
19778
19778
  const AA = {
19779
- ...fn,
19779
+ ...pn,
19780
19780
  swipeDirection(e) {
19781
19781
  return e ? {
19782
19782
  "data-swipe-direction": e
@@ -20458,7 +20458,7 @@ const B1 = {
20458
20458
  [_x.unchecked]: ""
20459
20459
  };
20460
20460
  },
20461
- ...fn
20461
+ ...pn
20462
20462
  }, gu = /* @__PURE__ */ b.createContext(void 0);
20463
20463
  process.env.NODE_ENV !== "production" && (gu.displayName = "MenuGroupContext");
20464
20464
  function LA() {
@@ -22405,7 +22405,7 @@ const pC = /* @__PURE__ */ b.forwardRef(function(t, n) {
22405
22405
  const Pe = I.current, St = fe.current;
22406
22406
  if (!Pe || !St)
22407
22407
  return;
22408
- const Rt = St.getBoundingClientRect(), Ke = Pe.getBoundingClientRect(), bt = me ? "height" : "width", $t = Ke[bt] - Rt[bt], pn = (Rt[bt] / 2 + $t * Ze / 100) / Ke[bt] * 100, Gt = Number.isFinite(pn) ? pn : void 0;
22408
+ const Rt = St.getBoundingClientRect(), Ke = Pe.getBoundingClientRect(), bt = me ? "height" : "width", $t = Ke[bt] - Rt[bt], mn = (Rt[bt] / 2 + $t * Ze / 100) / Ke[bt] * 100, Gt = Number.isFinite(mn) ? mn : void 0;
22409
22409
  _e(Gt), Te === 0 ? Y((tn) => [Gt, tn[1]]) : Ne && Y((tn) => [tn[0], Gt]);
22410
22410
  });
22411
22411
  be(() => {
@@ -23205,7 +23205,7 @@ function Bx({
23205
23205
  },
23206
23206
  a.id
23207
23207
  );
23208
- return n ? /* @__PURE__ */ f(hn, { content: a.label, side: "right", children: c }, a.id) : c;
23208
+ return n ? /* @__PURE__ */ f(fn, { content: a.label, side: "right", children: c }, a.id) : c;
23209
23209
  })
23210
23210
  ] }, i)) });
23211
23211
  }
@@ -26062,8 +26062,8 @@ function $_(e) {
26062
26062
  default: c,
26063
26063
  name: "Combobox",
26064
26064
  state: "open"
26065
- }), Rt = wh(v), Ke = se ?? String(lt).trim(), bt = Oe ? Bn(Ae, M) : "", $t = Oe && !me && Ke !== "" && bt.length === Ke.length && ce.contains(bt, Ke), Yt = $t ? "" : Ke, pn = tt && je && $t, Gt = b.useMemo(() => v ? Rt ? v.flatMap((Me) => Me.items) : v : xn, [v, Rt]), tn = b.useMemo(() => {
26066
- if (C && !pn)
26065
+ }), Rt = wh(v), Ke = se ?? String(lt).trim(), bt = Oe ? Bn(Ae, M) : "", $t = Oe && !me && Ke !== "" && bt.length === Ke.length && ce.contains(bt, Ke), Yt = $t ? "" : Ke, mn = tt && je && $t, Gt = b.useMemo(() => v ? Rt ? v.flatMap((Me) => Me.items) : v : xn, [v, Rt]), tn = b.useMemo(() => {
26066
+ if (C && !mn)
26067
26067
  return C;
26068
26068
  if (!v)
26069
26069
  return xn;
@@ -26107,7 +26107,7 @@ function $_(e) {
26107
26107
  qe(Ve, Yt, M) && Me.push(Ve);
26108
26108
  }
26109
26109
  return Me;
26110
- }, [C, pn, v, Rt, Yt, A, qe, M, Gt]), Xt = b.useMemo(() => Rt ? tn.flatMap((Ve) => Ve.items) : tn, [tn, Rt]), nt = Dt(() => {
26110
+ }, [C, mn, v, Rt, Yt, A, qe, M, Gt]), Xt = b.useMemo(() => Rt ? tn.flatMap((Ve) => Ve.items) : tn, [tn, Rt]), nt = Dt(() => {
26111
26111
  let Me = null;
26112
26112
  return _ && Pe && tt && u !== "none" && (Me = kd(Xt, Ae, F, Se)), new qw({
26113
26113
  id: te,
@@ -27162,7 +27162,7 @@ const Oh = /* @__PURE__ */ b.forwardRef(function(t, n) {
27162
27162
  process.env.NODE_ENV !== "production" && (Oh.displayName = "ComboboxPositioner");
27163
27163
  const Y_ = {
27164
27164
  ...rs,
27165
- ...fn
27165
+ ...pn
27166
27166
  }, Ah = /* @__PURE__ */ b.forwardRef(function(t, n) {
27167
27167
  const {
27168
27168
  render: r,
@@ -27456,7 +27456,7 @@ const fS = /* @__PURE__ */ b.memo(/* @__PURE__ */ b.forwardRef((e, t) => {
27456
27456
  "aria-hidden": !0,
27457
27457
  children: "✔️"
27458
27458
  }, i],
27459
- stateAttributesMapping: fn
27459
+ stateAttributesMapping: pn
27460
27460
  });
27461
27461
  return Kt({
27462
27462
  open: a,
@@ -27634,7 +27634,7 @@ const Fh = /* @__PURE__ */ b.forwardRef(function(t, n) {
27634
27634
  });
27635
27635
  process.env.NODE_ENV !== "production" && (Fh.displayName = "ComboboxEmpty");
27636
27636
  const eV = {
27637
- ...fn,
27637
+ ...pn,
27638
27638
  ...Ks
27639
27639
  }, gS = /* @__PURE__ */ b.forwardRef(function(t, n) {
27640
27640
  const {
@@ -28054,8 +28054,8 @@ function tV(e) {
28054
28054
  const Gt = Array.isArray(L) ? L : [];
28055
28055
  $t = Gt.length === 0, bt = Gt[Gt.length - 1];
28056
28056
  }
28057
- const Yt = $t ? -1 : Bo(Z.current, bt, E), pn = Yt === -1 ? null : Yt;
28058
- pn === null && (ce.current = null), !K && Q.set("selectedIndex", pn);
28057
+ const Yt = $t ? -1 : Bo(Z.current, bt, E), mn = Yt === -1 ? null : Yt;
28058
+ mn === null && (ce.current = null), !K && Q.set("selectedIndex", mn);
28059
28059
  }, [v, K, L, E, Q]);
28060
28060
  function ze(Ke) {
28061
28061
  const bt = F.initialValue;
@@ -28087,8 +28087,8 @@ function tV(e) {
28087
28087
  const Oe = de((Ke, bt) => {
28088
28088
  o?.(Ke, bt), !bt.isCanceled && j(Ke);
28089
28089
  }), Ge = de((Ke) => {
28090
- const bt = J0(Ke.scrollHeight, Ke.clientHeight), $t = Sf(Ke.scrollTop, bt), Yt = $t > 0, pn = $t < bt;
28091
- Q.set("scrollUpArrowVisible", Yt), Q.set("scrollDownArrowVisible", pn);
28090
+ const bt = J0(Ke.scrollHeight, Ke.clientHeight), $t = Sf(Ke.scrollTop, bt), Yt = $t > 0, mn = $t < bt;
28091
+ Q.set("scrollUpArrowVisible", Yt), Q.set("scrollDownArrowVisible", mn);
28092
28092
  }), tt = t0({
28093
28093
  open: K,
28094
28094
  onOpenChange: _e,
@@ -28203,11 +28203,11 @@ function tV(e) {
28203
28203
  function Yt() {
28204
28204
  if (v)
28205
28205
  return;
28206
- const pn = bt.toLowerCase();
28207
- let Gt = Z.current.findIndex((Xt) => or(Xt, S).toLowerCase() === pn || Bn(Xt, C).toLowerCase() === pn);
28206
+ const mn = bt.toLowerCase();
28207
+ let Gt = Z.current.findIndex((Xt) => or(Xt, S).toLowerCase() === mn || Bn(Xt, C).toLowerCase() === mn);
28208
28208
  Gt === -1 && (Gt = Z.current.findIndex((Xt, nt) => {
28209
28209
  const nr = G.current[nt];
28210
- return nr != null && nr.toLowerCase() === pn;
28210
+ return nr != null && nr.toLowerCase() === mn;
28211
28211
  }));
28212
28212
  const tn = Z.current[Gt];
28213
28213
  tn != null && Oe(tn, $t);
@@ -28534,7 +28534,7 @@ const kS = {
28534
28534
  process.env.NODE_ENV !== "production" && (NS.displayName = "SelectPositioner");
28535
28535
  const iV = {
28536
28536
  ...rs,
28537
- ...fn
28537
+ ...pn
28538
28538
  }, IS = /* @__PURE__ */ b.forwardRef(function(t, n) {
28539
28539
  const {
28540
28540
  render: r,
@@ -28933,7 +28933,7 @@ const OS = /* @__PURE__ */ b.memo(/* @__PURE__ */ b.forwardRef((e, t) => {
28933
28933
  "aria-hidden": !0,
28934
28934
  children: "✔️"
28935
28935
  }, i],
28936
- stateAttributesMapping: fn
28936
+ stateAttributesMapping: pn
28937
28937
  });
28938
28938
  return Kt({
28939
28939
  open: a,
@@ -29783,7 +29783,7 @@ const xV = {
29783
29783
  process.env.NODE_ENV !== "production" && (zS.displayName = "TabsIndicator");
29784
29784
  const yV = {
29785
29785
  ...ba,
29786
- ...fn
29786
+ ...pn
29787
29787
  }, BS = /* @__PURE__ */ b.forwardRef(function(t, n) {
29788
29788
  const {
29789
29789
  className: r,
@@ -30156,7 +30156,7 @@ const qh = {
30156
30156
  index: (e) => ({
30157
30157
  [EV.index]: String(e)
30158
30158
  }),
30159
- ...fn,
30159
+ ...pn,
30160
30160
  value: () => null
30161
30161
  }, WS = /* @__PURE__ */ b.forwardRef(function(t, n) {
30162
30162
  const {
@@ -31738,7 +31738,7 @@ function GV(e, {
31738
31738
  }
31739
31739
  const jV = {
31740
31740
  ...ng,
31741
- ...fn
31741
+ ...pn
31742
31742
  }, uR = /* @__PURE__ */ b.forwardRef(function(t, n) {
31743
31743
  const {
31744
31744
  className: r,
@@ -32149,7 +32149,7 @@ function oF(e, t, n, r) {
32149
32149
  d.createColumn == null || d.createColumn(m, e);
32150
32150
  return m;
32151
32151
  }
32152
- const mn = "debugHeaders";
32152
+ const hn = "debugHeaders";
32153
32153
  function cy(e, t, n) {
32154
32154
  var r;
32155
32155
  let s = {
@@ -32185,27 +32185,27 @@ const sF = {
32185
32185
  var s, i;
32186
32186
  const a = (s = r?.map((m) => n.find((d) => d.id === m)).filter(Boolean)) != null ? s : [], l = (i = o?.map((m) => n.find((d) => d.id === m)).filter(Boolean)) != null ? i : [], c = n.filter((m) => !(r != null && r.includes(m.id)) && !(o != null && o.includes(m.id)));
32187
32187
  return al(t, [...a, ...c, ...l], e);
32188
- }, ot(e.options, mn, "getHeaderGroups")), e.getCenterHeaderGroups = rt(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, n, r, o) => (n = n.filter((s) => !(r != null && r.includes(s.id)) && !(o != null && o.includes(s.id))), al(t, n, e, "center")), ot(e.options, mn, "getCenterHeaderGroups")), e.getLeftHeaderGroups = rt(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (t, n, r) => {
32188
+ }, ot(e.options, hn, "getHeaderGroups")), e.getCenterHeaderGroups = rt(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, n, r, o) => (n = n.filter((s) => !(r != null && r.includes(s.id)) && !(o != null && o.includes(s.id))), al(t, n, e, "center")), ot(e.options, hn, "getCenterHeaderGroups")), e.getLeftHeaderGroups = rt(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (t, n, r) => {
32189
32189
  var o;
32190
32190
  const s = (o = r?.map((i) => n.find((a) => a.id === i)).filter(Boolean)) != null ? o : [];
32191
32191
  return al(t, s, e, "left");
32192
- }, ot(e.options, mn, "getLeftHeaderGroups")), e.getRightHeaderGroups = rt(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (t, n, r) => {
32192
+ }, ot(e.options, hn, "getLeftHeaderGroups")), e.getRightHeaderGroups = rt(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (t, n, r) => {
32193
32193
  var o;
32194
32194
  const s = (o = r?.map((i) => n.find((a) => a.id === i)).filter(Boolean)) != null ? o : [];
32195
32195
  return al(t, s, e, "right");
32196
- }, ot(e.options, mn, "getRightHeaderGroups")), e.getFooterGroups = rt(() => [e.getHeaderGroups()], (t) => [...t].reverse(), ot(e.options, mn, "getFooterGroups")), e.getLeftFooterGroups = rt(() => [e.getLeftHeaderGroups()], (t) => [...t].reverse(), ot(e.options, mn, "getLeftFooterGroups")), e.getCenterFooterGroups = rt(() => [e.getCenterHeaderGroups()], (t) => [...t].reverse(), ot(e.options, mn, "getCenterFooterGroups")), e.getRightFooterGroups = rt(() => [e.getRightHeaderGroups()], (t) => [...t].reverse(), ot(e.options, mn, "getRightFooterGroups")), e.getFlatHeaders = rt(() => [e.getHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, mn, "getFlatHeaders")), e.getLeftFlatHeaders = rt(() => [e.getLeftHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, mn, "getLeftFlatHeaders")), e.getCenterFlatHeaders = rt(() => [e.getCenterHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, mn, "getCenterFlatHeaders")), e.getRightFlatHeaders = rt(() => [e.getRightHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, mn, "getRightFlatHeaders")), e.getCenterLeafHeaders = rt(() => [e.getCenterFlatHeaders()], (t) => t.filter((n) => {
32196
+ }, ot(e.options, hn, "getRightHeaderGroups")), e.getFooterGroups = rt(() => [e.getHeaderGroups()], (t) => [...t].reverse(), ot(e.options, hn, "getFooterGroups")), e.getLeftFooterGroups = rt(() => [e.getLeftHeaderGroups()], (t) => [...t].reverse(), ot(e.options, hn, "getLeftFooterGroups")), e.getCenterFooterGroups = rt(() => [e.getCenterHeaderGroups()], (t) => [...t].reverse(), ot(e.options, hn, "getCenterFooterGroups")), e.getRightFooterGroups = rt(() => [e.getRightHeaderGroups()], (t) => [...t].reverse(), ot(e.options, hn, "getRightFooterGroups")), e.getFlatHeaders = rt(() => [e.getHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, hn, "getFlatHeaders")), e.getLeftFlatHeaders = rt(() => [e.getLeftHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, hn, "getLeftFlatHeaders")), e.getCenterFlatHeaders = rt(() => [e.getCenterHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, hn, "getCenterFlatHeaders")), e.getRightFlatHeaders = rt(() => [e.getRightHeaderGroups()], (t) => t.map((n) => n.headers).flat(), ot(e.options, hn, "getRightFlatHeaders")), e.getCenterLeafHeaders = rt(() => [e.getCenterFlatHeaders()], (t) => t.filter((n) => {
32197
32197
  var r;
32198
32198
  return !((r = n.subHeaders) != null && r.length);
32199
- }), ot(e.options, mn, "getCenterLeafHeaders")), e.getLeftLeafHeaders = rt(() => [e.getLeftFlatHeaders()], (t) => t.filter((n) => {
32199
+ }), ot(e.options, hn, "getCenterLeafHeaders")), e.getLeftLeafHeaders = rt(() => [e.getLeftFlatHeaders()], (t) => t.filter((n) => {
32200
32200
  var r;
32201
32201
  return !((r = n.subHeaders) != null && r.length);
32202
- }), ot(e.options, mn, "getLeftLeafHeaders")), e.getRightLeafHeaders = rt(() => [e.getRightFlatHeaders()], (t) => t.filter((n) => {
32202
+ }), ot(e.options, hn, "getLeftLeafHeaders")), e.getRightLeafHeaders = rt(() => [e.getRightFlatHeaders()], (t) => t.filter((n) => {
32203
32203
  var r;
32204
32204
  return !((r = n.subHeaders) != null && r.length);
32205
- }), ot(e.options, mn, "getRightLeafHeaders")), e.getLeafHeaders = rt(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (t, n, r) => {
32205
+ }), ot(e.options, hn, "getRightLeafHeaders")), e.getLeafHeaders = rt(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (t, n, r) => {
32206
32206
  var o, s, i, a, l, c;
32207
32207
  return [...(o = (s = t[0]) == null ? void 0 : s.headers) != null ? o : [], ...(i = (a = n[0]) == null ? void 0 : a.headers) != null ? i : [], ...(l = (c = r[0]) == null ? void 0 : c.headers) != null ? l : []].map((u) => u.getLeafHeaders()).flat();
32208
- }, ot(e.options, mn, "getLeafHeaders"));
32208
+ }, ot(e.options, hn, "getLeafHeaders"));
32209
32209
  }
32210
32210
  };
32211
32211
  function al(e, t, n, r) {
@@ -35221,7 +35221,7 @@ function L$(e, t) {
35221
35221
  return r < e.length && o(r, e.length, "text", "markdown"), n;
35222
35222
  }
35223
35223
  function wy({ title: e, children: t }) {
35224
- return e ? /* @__PURE__ */ f(hn, { content: e, children: t }) : t;
35224
+ return e ? /* @__PURE__ */ f(fn, { content: e, children: t }) : t;
35225
35225
  }
35226
35226
  function Tu({ nodes: e, renderCode: t }) {
35227
35227
  return e.map((n, r) => /* @__PURE__ */ f(B$, { node: n, renderCode: t }, r));
@@ -36617,7 +36617,7 @@ function HR({ className: e }) {
36617
36617
  }
36618
36618
  function UL({ className: e }) {
36619
36619
  const { copy: t, copied: n } = ya("CodeEditorCopyButton"), r = is();
36620
- return /* @__PURE__ */ f(hn, { content: n ? "Copied" : "Copy", children: /* @__PURE__ */ f(
36620
+ return /* @__PURE__ */ f(fn, { content: n ? "Copied" : "Copy", children: /* @__PURE__ */ f(
36621
36621
  "button",
36622
36622
  {
36623
36623
  type: "button",
@@ -36631,7 +36631,7 @@ function UL({ className: e }) {
36631
36631
  }
36632
36632
  function GL({ className: e }) {
36633
36633
  const { wrap: t, setWrap: n } = ya("CodeEditorWrapToggle");
36634
- return /* @__PURE__ */ f(hn, { content: t ? "Stop wrapping long lines" : "Wrap long lines", children: /* @__PURE__ */ f(
36634
+ return /* @__PURE__ */ f(fn, { content: t ? "Stop wrapping long lines" : "Wrap long lines", children: /* @__PURE__ */ f(
36635
36635
  sR,
36636
36636
  {
36637
36637
  size: "sm",
@@ -36664,7 +36664,7 @@ function WL({ className: e }) {
36664
36664
  "aria-label": "View",
36665
36665
  "data-code-views": "",
36666
36666
  className: W("shrink-0 p-0.5", e),
36667
- children: r.map((o) => /* @__PURE__ */ f(hn, { content: My[o], children: /* @__PURE__ */ f(
36667
+ children: r.map((o) => /* @__PURE__ */ f(fn, { content: My[o], children: /* @__PURE__ */ f(
36668
36668
  sR,
36669
36669
  {
36670
36670
  size: "sm",
@@ -38857,7 +38857,7 @@ function C5({ run: e }) {
38857
38857
  }
38858
38858
  const Vy = () => /* @__PURE__ */ f("span", { className: "mx-0.5 h-4 w-px bg-border-subtle" });
38859
38859
  function gr({ icon: e, label: t, onClick: n }) {
38860
- return /* @__PURE__ */ f(hn, { content: t, children: /* @__PURE__ */ f(
38860
+ return /* @__PURE__ */ f(fn, { content: t, children: /* @__PURE__ */ f(
38861
38861
  Pt,
38862
38862
  {
38863
38863
  variant: "ghost",
@@ -39044,7 +39044,7 @@ function U6({
39044
39044
  "aria-controls": `${p}-surface`,
39045
39045
  className: "flex flex-wrap items-center gap-1 border-b border-border-subtle px-2 py-1.5",
39046
39046
  children: [
39047
- k5.map((R) => /* @__PURE__ */ f(hn, { content: R.hotkey ? `${R.label} · ${R.hotkey}` : R.label, children: /* @__PURE__ */ f(
39047
+ k5.map((R) => /* @__PURE__ */ f(fn, { content: R.hotkey ? `${R.label} · ${R.hotkey}` : R.label, children: /* @__PURE__ */ f(
39048
39048
  Pt,
39049
39049
  {
39050
39050
  variant: "ghost",
@@ -40776,11 +40776,7 @@ const By = mt({
40776
40776
  scroller it sits where the first card would be, which is where a reader
40777
40777
  looking for cards is already looking. It is not a `[data-dnd-item]`, so
40778
40778
  the engine does not see it and no index counts it. */
40779
- laneEmpty: "shrink-0 px-3 py-8 text-center text-2xs text-tertiary",
40780
- /* Always rendered when the lane refuses, not only mid-drag. Knowing before
40781
- you pick a card up is the point; discovering it after a drag that gets
40782
- rejected is the version this replaces. */
40783
- laneRefusal: "flex items-start gap-1.5 border-b border-border-subtle px-3 py-2 text-2xs text-tertiary"
40779
+ laneEmpty: "shrink-0 px-3 py-8 text-center text-2xs text-tertiary"
40784
40780
  },
40785
40781
  variants: {
40786
40782
  /* Whether this lane will accept a drop. The whole lane dims rather than
@@ -40963,6 +40959,15 @@ function W6({
40963
40959
  /* @__PURE__ */ f("span", { className: p.laneLabel(), children: M.label }),
40964
40960
  M.hint && /* @__PURE__ */ f("span", { className: p.laneHint(), children: M.hint })
40965
40961
  ] }),
40962
+ M.refusal !== void 0 && /* @__PURE__ */ f(fn, { content: M.refusal, children: /* @__PURE__ */ f(
40963
+ "button",
40964
+ {
40965
+ type: "button",
40966
+ "aria-label": `Why cards can't be dropped in ${M.label}`,
40967
+ className: "dx-tap shrink-0 cursor-pointer rounded-full text-tertiary outline-none transition-colors duration-(--dur-fast) hover:text-secondary focus-visible:ring-2 focus-visible:ring-focus-ring",
40968
+ children: /* @__PURE__ */ f(ge, { name: "lock", size: "xs" })
40969
+ }
40970
+ ) }),
40966
40971
  /* @__PURE__ */ f(
40967
40972
  Bt,
40968
40973
  {
@@ -40972,10 +40977,6 @@ function W6({
40972
40977
  }
40973
40978
  )
40974
40979
  ] }),
40975
- M.refusal !== void 0 && /* @__PURE__ */ T("p", { className: p.laneRefusal(), children: [
40976
- /* @__PURE__ */ f(ge, { name: "lock", size: "xs" }),
40977
- /* @__PURE__ */ f("span", { children: M.refusal })
40978
- ] }),
40979
40980
  /* @__PURE__ */ T(
40980
40981
  zu,
40981
40982
  {
@@ -41404,7 +41405,7 @@ function Hy({
41404
41405
  disabled: r,
41405
41406
  tinted: o
41406
41407
  }) {
41407
- return /* @__PURE__ */ f(hn, { content: t, children: /* @__PURE__ */ f(
41408
+ return /* @__PURE__ */ f(fn, { content: t, children: /* @__PURE__ */ f(
41408
41409
  "button",
41409
41410
  {
41410
41411
  type: "button",
@@ -41607,7 +41608,7 @@ function E3({
41607
41608
  "aria-hidden": !0
41608
41609
  }
41609
41610
  ),
41610
- /* @__PURE__ */ f(hn, { content: "Attach files", children: /* @__PURE__ */ f(
41611
+ /* @__PURE__ */ f(fn, { content: "Attach files", children: /* @__PURE__ */ f(
41611
41612
  "button",
41612
41613
  {
41613
41614
  type: "button",
@@ -41628,7 +41629,7 @@ function E3({
41628
41629
  m && /* @__PURE__ */ f("div", { className: "flex min-w-0 items-center gap-0.5", children: m }),
41629
41630
  /* @__PURE__ */ T("div", { className: "ml-auto flex items-center gap-2", children: [
41630
41631
  p && /* @__PURE__ */ f("span", { className: "hidden text-2xs text-tertiary @sm:inline", children: p }),
41631
- i && a ? /* @__PURE__ */ f(hn, { content: "Stop generating", children: /* @__PURE__ */ f(
41632
+ i && a ? /* @__PURE__ */ f(fn, { content: "Stop generating", children: /* @__PURE__ */ f(
41632
41633
  "button",
41633
41634
  {
41634
41635
  type: "button",
@@ -42346,7 +42347,7 @@ function qy({
42346
42347
  action: e,
42347
42348
  message: t
42348
42349
  }) {
42349
- return /* @__PURE__ */ f(hn, { content: e.label, children: /* @__PURE__ */ f(
42350
+ return /* @__PURE__ */ f(fn, { content: e.label, children: /* @__PURE__ */ f(
42350
42351
  "button",
42351
42352
  {
42352
42353
  type: "button",
@@ -42637,7 +42638,7 @@ function U3({
42637
42638
  /* @__PURE__ */ T("div", { className: "flex items-baseline gap-1.5", children: [
42638
42639
  /* @__PURE__ */ f("span", { className: "text-sm font-semibold text-primary", children: "Effort" }),
42639
42640
  /* @__PURE__ */ f("span", { className: "text-sm text-secondary", children: u?.label }),
42640
- r && /* @__PURE__ */ f(hn, { content: r, children: /* @__PURE__ */ f(
42641
+ r && /* @__PURE__ */ f(fn, { content: r, children: /* @__PURE__ */ f(
42641
42642
  "button",
42642
42643
  {
42643
42644
  type: "button",
@@ -45630,7 +45631,7 @@ function r4({
45630
45631
  if (!(e !== null && Number.isFinite(e) && t > 0 && e >= 1 && e <= t && (r || e < t)))
45631
45632
  return /* @__PURE__ */ f("span", { "aria-hidden": "true", className: W(i.root(), s) });
45632
45633
  const l = Math.round(e), c = JB(l, t), u = `${n} ${String(l)} of ${String(t)}`;
45633
- return /* @__PURE__ */ f(hn, { content: u, children: /* @__PURE__ */ f("span", { role: "img", "aria-label": u, className: W(i.root(), s), children: Array.from({ length: l }, (m, d) => /* @__PURE__ */ f("span", { className: dv({ size: o, band: c }).pip() }, d)) }) });
45634
+ return /* @__PURE__ */ f(fn, { content: u, children: /* @__PURE__ */ f("span", { role: "img", "aria-label": u, className: W(i.root(), s), children: Array.from({ length: l }, (m, d) => /* @__PURE__ */ f("span", { className: dv({ size: o, band: c }).pip() }, d)) }) });
45634
45635
  }
45635
45636
  function o4({
45636
45637
  confidence: e,
@@ -47916,7 +47917,7 @@ export {
47916
47917
  M6 as ToolbarGroup,
47917
47918
  I6 as ToolbarInput,
47918
47919
  k6 as ToolbarSeparator,
47919
- hn as Tooltip,
47920
+ fn as Tooltip,
47920
47921
  TH as TooltipProvider,
47921
47922
  wU as TrackManager,
47922
47923
  i6 as Tree,