@epam/ai-dial-ui-kit 0.14.0-dev.23 → 0.14.0-dev.25

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.
@@ -1,5 +1,5 @@
1
1
  import * as Be from "react";
2
- import ae, { useState as L, useRef as j, useEffect as xe, useMemo as z, createContext as ho, useContext as dt, isValidElement as Cd, cloneElement as Lc, useCallback as P, useId as wt, Fragment as RS, memo as $t, useLayoutEffect as Ds, PureComponent as FS, Component as ES, forwardRef as $p, useImperativeHandle as Rr, createElement as ba, Suspense as DS, Children as PS } from "react";
2
+ import ae, { useState as L, useRef as j, useEffect as ye, useMemo as z, createContext as ho, useContext as dt, isValidElement as Cd, cloneElement as Lc, useCallback as P, useId as wt, Fragment as RS, memo as $t, useLayoutEffect as Ds, PureComponent as FS, Component as ES, forwardRef as $p, useImperativeHandle as Rr, createElement as ba, Suspense as DS, Children as PS } from "react";
3
3
  import Ce from "classnames";
4
4
  import { IconX as nn, IconChevronRight as Ts, IconInfoCircle as qp, IconCheck as hi, IconCircleCheckFilled as cw, IconAlertTriangleFilled as Kp, IconAlertCircleFilled as Yp, IconInfoCircleFilled as dw, IconCaretLeftFilled as TS, IconCaretRightFilled as uw, IconMinus as hw, IconExclamationCircle as Zp, IconClipboardX as wd, IconChevronsLeft as pw, IconChevronsRight as gw, IconGripVertical as IS, IconFile as fw, IconFileTypeZip as kS, IconFileTypeXml as MS, IconFileTypeXls as AS, IconFileTypeVue as LS, IconFileTypeTxt as NS, IconFileTypeTsx as OS, IconFileTypeTs as HS, IconFileTypeSvg as BS, IconFileTypeSql as GS, IconFileTypeRs as VS, IconFileTypePpt as jS, IconFileTypePng as zS, IconFileTypePhp as WS, IconFileTypePdf as _S, IconFileTypeJsx as US, IconFileTypeJs as $S, IconFileTypeJpg as qS, IconFileTypeHtml as KS, IconFileTypeDocx as YS, IconFileTypeDoc as ZS, IconFileTypeCsv as XS, IconFileTypeCss as QS, IconFileTypeBmp as JS, IconArrowUpRight as e2, IconFolder as bd, IconChevronLeft as xd, IconZoomCancel as mw, IconAlertTriangle as vw, IconChevronDown as on, IconDotsVertical as Fr, IconDots as t2, IconTrashX as fr, IconEyeOff as Xp, IconEye as sl, IconSearch as Qp, IconPlus as yd, IconChevronUp as s2, IconCircleFilled as fc, IconFileZip as n2, IconCopyMinus as i2, IconFolderPlus as nm, IconArrowLeft as o2, IconUserX as Jp, IconCopy as eg, IconDownload as tg, IconExternalLink as jh, IconPencilMinus as Cw, IconFileDescription as r2, IconCalendar as a2, IconArrowNarrowDown as l2, IconMaximize as c2, IconUpload as d2 } from "@tabler/icons-react";
5
5
  import { useFloating as pi, autoUpdate as Er, offset as Dr, flip as Pr, shift as Tr, arrow as ww, useHover as nl, useFocus as bw, useDismiss as gi, useRole as fi, useInteractions as mi, useMergeRefs as po, FloatingPortal as vi, FloatingArrow as xw, useClick as Sd, FloatingFocusManager as Ir, autoPlacement as yw, size as Sw, FloatingOverlay as Rw } from "@floating-ui/react";
@@ -3261,7 +3261,7 @@ const pm = {
3261
3261
  `Could not find Button styles for variant: ${e} and appearance: ${t}. Using default primary solid button styles.`
3262
3262
  ), pm[Oe.Primary][Re.Solid]);
3263
3263
  };
3264
- var Se = /* @__PURE__ */ ((e) => (e.Small = "small", e.Standard = "standard", e.Large = "large", e))(Se || {});
3264
+ var xe = /* @__PURE__ */ ((e) => (e.Small = "small", e.Standard = "standard", e.Large = "large", e))(xe || {});
3265
3265
  const aR = 7, lR = 2, Vw = ho(null), jw = () => {
3266
3266
  const e = dt(Vw);
3267
3267
  if (e == null)
@@ -3299,7 +3299,7 @@ const aR = 7, lR = 2, Vw = ho(null), jw = () => {
3299
3299
  }), p = bw(d.context, {
3300
3300
  enabled: n == null
3301
3301
  }), g = gi(d.context), f = fi(d.context, { role: "tooltip" }), m = mi([h, p, g, f]);
3302
- return xe(() => {
3302
+ return ye(() => {
3303
3303
  if (!l) return;
3304
3304
  const v = d.refs.reference.current;
3305
3305
  if (!(v instanceof Element)) return;
@@ -3334,7 +3334,7 @@ const gm = () => typeof window < "u" && window.innerWidth < 1279, fm = () => typ
3334
3334
  return e >= 1024 ? Yn.Desktop : e < 640 ? Yn.Mobile : Yn.Tablet;
3335
3335
  }, fo = () => {
3336
3336
  const [e, t] = L(fm());
3337
- return xe(() => {
3337
+ return ye(() => {
3338
3338
  const s = () => t(fm());
3339
3339
  return window.addEventListener("resize", s), () => window.removeEventListener("resize", s);
3340
3340
  }, []), e;
@@ -3418,7 +3418,7 @@ const gm = () => typeof window < "u" && window.innerWidth < 1279, fm = () => typ
3418
3418
  label: e,
3419
3419
  variant: t,
3420
3420
  appearance: s = Re.Solid,
3421
- size: n = Se.Standard,
3421
+ size: n = xe.Standard,
3422
3422
  className: i,
3423
3423
  textClassName: o,
3424
3424
  iconAfter: r,
@@ -3433,11 +3433,11 @@ const gm = () => typeof window < "u" && window.innerWidth < 1279, fm = () => typ
3433
3433
  o
3434
3434
  ), g = I(
3435
3435
  t && Gw(t, s),
3436
- n === Se.Small ? "dial-tiny-semi-text" : "dial-small-semi-text",
3437
- s !== Re.Link && (n === Se.Small ? "h-[24px] px-2" : "h-[40px] px-3"),
3436
+ n === xe.Small ? "dial-tiny-semi-text" : "dial-small-semi-text",
3437
+ s !== Re.Link && (n === xe.Small ? "h-[24px] px-2" : "h-[40px] px-3"),
3438
3438
  // A link-appearance button sits inline in text, where WCAG 2.5.5 exempts
3439
3439
  // it and an expanded target would overlap the surrounding copy.
3440
- n !== Se.Small && s !== Re.Link && "dial-kit-enhanced-target",
3440
+ n !== xe.Small && s !== Re.Link && "dial-kit-enhanced-target",
3441
3441
  "disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0",
3442
3442
  i
3443
3443
  ), f = /* @__PURE__ */ u.jsxs(
@@ -3490,11 +3490,11 @@ const uR = () => {
3490
3490
  () => Ed(p),
3491
3491
  [p]
3492
3492
  );
3493
- xe(() => {
3493
+ ye(() => {
3494
3494
  const v = a.current;
3495
3495
  if (v)
3496
3496
  return Ww(v, p);
3497
- }, [p]), xe(() => {
3497
+ }, [p]), ye(() => {
3498
3498
  g();
3499
3499
  }, [e, g]);
3500
3500
  const f = z(
@@ -4197,7 +4197,7 @@ const vR = {
4197
4197
  ), ni = ({
4198
4198
  variant: e,
4199
4199
  appearance: t = Re.Solid,
4200
- size: s = Se.Standard,
4200
+ size: s = xe.Standard,
4201
4201
  className: n,
4202
4202
  icon: i,
4203
4203
  tooltipProps: o,
@@ -4206,7 +4206,7 @@ const vR = {
4206
4206
  }) => {
4207
4207
  const l = I(
4208
4208
  e && Gw(e, t),
4209
- s === Se.Small ? "h-[24px] w-[24px]" : "h-[40px] w-[40px] dial-kit-enhanced-target",
4209
+ s === xe.Small ? "h-[24px] w-[24px]" : "h-[40px] w-[40px] dial-kit-enhanced-target",
4210
4210
  "dial-icon-button disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0 disabled:text-controls-secondary-disable",
4211
4211
  n
4212
4212
  ), c = /* @__PURE__ */ u.jsx(
@@ -4432,7 +4432,7 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4432
4432
  }), p = bw(d.context, {
4433
4433
  enabled: n == null
4434
4434
  }), g = gi(d.context), f = fi(d.context, { role: "tooltip" }), m = mi([h, p, g, f]);
4435
- return xe(() => {
4435
+ return ye(() => {
4436
4436
  if (!l) return;
4437
4437
  const v = d.refs.reference.current;
4438
4438
  if (!(v instanceof Element)) return;
@@ -4576,13 +4576,13 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4576
4576
  `Could not find Button styles for variant: ${e} and appearance: ${t}. Using default primary solid button styles.`
4577
4577
  ), Cm[Oe.Primary][Re.Solid]);
4578
4578
  }, BR = {
4579
- [Se.Small]: "size-[24px]",
4580
- [Se.Standard]: "size-[40px] dial-kit-enhanced-target",
4581
- [Se.Large]: "size-[48px] dial-kit-enhanced-target"
4579
+ [xe.Small]: "size-[24px]",
4580
+ [xe.Standard]: "size-[40px] dial-kit-enhanced-target",
4581
+ [xe.Large]: "size-[48px] dial-kit-enhanced-target"
4582
4582
  }, Mr = ({
4583
4583
  variant: e,
4584
4584
  appearance: t = Re.Solid,
4585
- size: s = Se.Standard,
4585
+ size: s = xe.Standard,
4586
4586
  className: n,
4587
4587
  icon: i,
4588
4588
  tooltipProps: o,
@@ -4634,7 +4634,7 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4634
4634
  }
4635
4635
  ),
4636
4636
  onClick: t,
4637
- size: Se.Small,
4637
+ size: xe.Small,
4638
4638
  tooltipProps: { tooltip: e }
4639
4639
  }
4640
4640
  );
@@ -4644,7 +4644,7 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4644
4644
  className: s,
4645
4645
  containerClassName: n,
4646
4646
  caption: i,
4647
- size: o = Se.Small,
4647
+ size: o = xe.Small,
4648
4648
  ...r
4649
4649
  }) => e ? /* @__PURE__ */ u.jsxs(
4650
4650
  "span",
@@ -4657,7 +4657,7 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4657
4657
  ...r,
4658
4658
  className: I(
4659
4659
  "text-secondary flex items-center gap-0.5",
4660
- o === Se.Small ? "dial-tiny-semi-text" : "dial-small-text",
4660
+ o === xe.Small ? "dial-tiny-semi-text" : "dial-small-text",
4661
4661
  s
4662
4662
  ),
4663
4663
  children: [
@@ -4675,7 +4675,7 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4675
4675
  ) : null, WU = ({
4676
4676
  value: e,
4677
4677
  max: t = 100,
4678
- size: s = Se.Standard,
4678
+ size: s = xe.Standard,
4679
4679
  labelProps: n,
4680
4680
  valueLabel: i,
4681
4681
  id: o,
@@ -4699,7 +4699,7 @@ const MR = 7, AR = 2, LR = 500, NR = "fill-control-inverted", OR = "z-[55] max-w
4699
4699
  ),
4700
4700
  className: I(
4701
4701
  "w-full overflow-hidden rounded-full bg-control-disable-primary",
4702
- s === Se.Small ? "h-1" : "h-2",
4702
+ s === xe.Small ? "h-1" : "h-2",
4703
4703
  r
4704
4704
  ),
4705
4705
  children: /* @__PURE__ */ u.jsx(
@@ -4745,7 +4745,7 @@ const WR = (e, t, s) => e === t ? "active" : s < VR || Math.abs(e - t) <= jR ? "
4745
4745
  className: "text-secondary"
4746
4746
  }
4747
4747
  ),
4748
- size: Se.Small,
4748
+ size: xe.Small,
4749
4749
  className: "!p-0 items-center flex justify-center",
4750
4750
  disabled: e <= 1,
4751
4751
  onClick: () => s(e - 1),
@@ -4781,7 +4781,7 @@ const WR = (e, t, s) => e === t ? "active" : s < VR || Math.abs(e - t) <= jR ? "
4781
4781
  className: "text-secondary"
4782
4782
  }
4783
4783
  ),
4784
- size: Se.Small,
4784
+ size: xe.Small,
4785
4785
  className: "!p-0 items-center flex justify-center",
4786
4786
  disabled: e >= t,
4787
4787
  onClick: () => s(e + 1),
@@ -5396,7 +5396,7 @@ const YR = "flex", ZR = "pb-1 mt-2", XR = {
5396
5396
  onToggle: c
5397
5397
  }) => {
5398
5398
  const [d, h] = L(s), [p, g] = L(!0), f = z(() => typeof l == "boolean", [l]), m = f ? l : p;
5399
- xe(() => {
5399
+ ye(() => {
5400
5400
  f && h(l ? s : Nu);
5401
5401
  }, [f, l, s]);
5402
5402
  const v = I([
@@ -5447,7 +5447,7 @@ const YR = "flex", ZR = "pb-1 mt-2", XR = {
5447
5447
  className: "hover:text-accent-primary",
5448
5448
  onClick: w,
5449
5449
  "aria-label": "sidebar-state",
5450
- size: Se.Small,
5450
+ size: xe.Small,
5451
5451
  icon: m ? /* @__PURE__ */ u.jsx(pw, { size: i, stroke: o }) : /* @__PURE__ */ u.jsx(gw, { size: i, stroke: o })
5452
5452
  }
5453
5453
  )
@@ -6554,7 +6554,7 @@ var wF = /* @__PURE__ */ $t(function(t) {
6554
6554
  "children"
6555
6555
  ]);
6556
6556
  const [i, o] = bF(n);
6557
- return xe(() => {
6557
+ return ye(() => {
6558
6558
  if (o) {
6559
6559
  const r = cb();
6560
6560
  return ++Pm, () => {
@@ -6618,7 +6618,7 @@ function yF() {
6618
6618
  }), Ou;
6619
6619
  }
6620
6620
  var SF = yF();
6621
- const RF = /* @__PURE__ */ p2(SF), Zi = typeof window < "u" ? Ds : xe;
6621
+ const RF = /* @__PURE__ */ p2(SF), Zi = typeof window < "u" ? Ds : ye;
6622
6622
  function FF(e, t, s) {
6623
6623
  const [n, i] = L(
6624
6624
  () => t(e)
@@ -7091,7 +7091,7 @@ function jF(e, t, s) {
7091
7091
  s
7092
7092
  ]
7093
7093
  );
7094
- return xe(() => {
7094
+ return ye(() => {
7095
7095
  n.spec = e;
7096
7096
  }, [
7097
7097
  e
@@ -7191,7 +7191,7 @@ function ZF(e, t) {
7191
7191
  t
7192
7192
  ]
7193
7193
  );
7194
- return xe(() => {
7194
+ return ye(() => {
7195
7195
  s.spec = e;
7196
7196
  }, [
7197
7197
  e
@@ -46939,7 +46939,7 @@ function Fe(e, t = {}) {
46939
46939
  }).filter(Boolean).join(";");
46940
46940
  return [e, s].filter((n) => n.length > 0).join(":");
46941
46941
  }
46942
- var ye = {
46942
+ var Se = {
46943
46943
  grid(e) {
46944
46944
  return Fe("ag-grid-root", { gridId: e });
46945
46945
  },
@@ -47036,16 +47036,16 @@ var ye = {
47036
47036
  return Fe("ag-cell", { "row-id": e, colId: t });
47037
47037
  },
47038
47038
  autoGroupCell(e) {
47039
- return ye.cell(e, Xn);
47039
+ return Se.cell(e, Xn);
47040
47040
  },
47041
47041
  checkbox(e, t) {
47042
47042
  return Fe("ag-selection-checkbox", { "row-id": e, colId: t });
47043
47043
  },
47044
47044
  selectionColumnCheckbox(e) {
47045
- return ye.checkbox(e, Ng);
47045
+ return Se.checkbox(e, Ng);
47046
47046
  },
47047
47047
  autoGroupColumnCheckbox(e) {
47048
- return ye.checkbox(e, Xn);
47048
+ return Se.checkbox(e, Xn);
47049
47049
  },
47050
47050
  dragHandle(e, t) {
47051
47051
  return Fe("ag-drag-handle", { "row-id": e, colId: t });
@@ -47057,13 +47057,13 @@ var ye = {
47057
47057
  return Fe("ag-group-expanded", { "row-id": e, colId: t });
47058
47058
  },
47059
47059
  autoGroupContracted(e) {
47060
- return ye.groupContracted(e, Xn);
47060
+ return Se.groupContracted(e, Xn);
47061
47061
  },
47062
47062
  autoGroupExpanded(e) {
47063
- return ye.groupExpanded(e, Xn);
47063
+ return Se.groupExpanded(e, Xn);
47064
47064
  },
47065
47065
  rowNumber(e) {
47066
- return ye.cell(e, Og);
47066
+ return Se.cell(e, Og);
47067
47067
  },
47068
47068
  /** Menu */
47069
47069
  menu() {
@@ -47252,101 +47252,101 @@ var AB = class extends Z {
47252
47252
  }
47253
47253
  setupAllTestIds() {
47254
47254
  const e = Ls(this.beans), t = G1(this.beans), s = e.querySelector(`[grid-id="${t}"]`);
47255
- Te(s, ye.grid(t)), e.querySelectorAll(".ag-header-group-cell").forEach((o) => {
47256
- Te(o, ye.headerGroupCell(o.getAttribute("col-id")));
47255
+ Te(s, Se.grid(t)), e.querySelectorAll(".ag-header-group-cell").forEach((o) => {
47256
+ Te(o, Se.headerGroupCell(o.getAttribute("col-id")));
47257
47257
  }), e.querySelectorAll(".ag-header-cell").forEach((o) => {
47258
- const r = o.getAttribute("col-id"), l = o.classList.contains("ag-floating-filter") ? ye.floatingFilter(r) : ye.headerCell(r);
47259
- Te(o, l), Te(o.querySelector(".ag-header-cell-filter-button"), ye.headerFilterButton(r)), Te(o.querySelector(".ag-header-cell-menu-button"), ye.headerCellMenuButton(r)), Te(o.querySelector(".ag-header-cell-resize"), ye.headerResizeHandle(r)), Te(o.querySelector(".ag-checkbox input[type=checkbox]"), ye.headerCheckbox(r)), Te(o.querySelector(".ag-floating-filter-button button"), ye.floatingFilterButton(r)), this.setupFilterInstance(o.querySelector(".ag-floating-filter-body"), {
47258
+ const r = o.getAttribute("col-id"), l = o.classList.contains("ag-floating-filter") ? Se.floatingFilter(r) : Se.headerCell(r);
47259
+ Te(o, l), Te(o.querySelector(".ag-header-cell-filter-button"), Se.headerFilterButton(r)), Te(o.querySelector(".ag-header-cell-menu-button"), Se.headerCellMenuButton(r)), Te(o.querySelector(".ag-header-cell-resize"), Se.headerResizeHandle(r)), Te(o.querySelector(".ag-checkbox input[type=checkbox]"), Se.headerCheckbox(r)), Te(o.querySelector(".ag-floating-filter-button button"), Se.floatingFilterButton(r)), this.setupFilterInstance(o.querySelector(".ag-floating-filter-body"), {
47260
47260
  source: "floating-filter",
47261
47261
  colId: r
47262
47262
  });
47263
47263
  });
47264
47264
  const n = e.querySelector(".ag-filter-menu");
47265
- this.setupFilterInstance(n, { source: "column-filter" }), Te(e.querySelector(".ag-advanced-filter input[type=text]"), ye.advancedFilterInput()), e.querySelectorAll(".ag-advanced-filter-buttons button").forEach((o) => {
47266
- Te(o, ye.advancedFilterButton(o.textContent));
47265
+ this.setupFilterInstance(n, { source: "column-filter" }), Te(e.querySelector(".ag-advanced-filter input[type=text]"), Se.advancedFilterInput()), e.querySelectorAll(".ag-advanced-filter-buttons button").forEach((o) => {
47266
+ Te(o, Se.advancedFilterButton(o.textContent));
47267
47267
  }), Te(
47268
47268
  e.querySelector("button.ag-advanced-filter-builder-button"),
47269
- ye.advancedFilterBuilderButton()
47269
+ Se.advancedFilterBuilderButton()
47270
47270
  ), e.querySelectorAll('.ag-panel[aria-label="Advanced Filter"] .ag-panel-title-bar-button').forEach(
47271
47271
  (o, r) => {
47272
47272
  Te(
47273
47273
  o,
47274
- r === 0 ? ye.advancedFilterPanelMaximiseButton() : ye.advancedFilterPanelCloseButton()
47274
+ r === 0 ? Se.advancedFilterPanelMaximiseButton() : Se.advancedFilterPanelCloseButton()
47275
47275
  );
47276
47276
  }
47277
47277
  ), e.querySelectorAll('.ag-panel[aria-lable="Advanced Filter"] .ag-advanced-filter-builder-pill').forEach(
47278
47278
  (o) => {
47279
47279
  Te(
47280
47280
  o,
47281
- ye.advancedFilterPill(o.querySelector(".ag-picker-field-display")?.textContent)
47281
+ Se.advancedFilterPill(o.querySelector(".ag-picker-field-display")?.textContent)
47282
47282
  );
47283
47283
  }
47284
47284
  ), Te(
47285
47285
  e.querySelector('.ag-panel[aria-label="Advanced Filter"] .ag-advanced-filter-builder-item-button'),
47286
- ye.advancedFilterBuilderAddItemButton()
47286
+ Se.advancedFilterBuilderAddItemButton()
47287
47287
  ), e.querySelectorAll(".ag-row").forEach((o) => {
47288
47288
  const r = o.getAttribute("row-id");
47289
- Te(o, ye.rowNode(r)), o.querySelectorAll(".ag-cell").forEach((a) => {
47289
+ Te(o, Se.rowNode(r)), o.querySelectorAll(".ag-cell").forEach((a) => {
47290
47290
  const l = a.getAttribute("col-id");
47291
- Te(a, ye.cell(r, l)), Te(
47291
+ Te(a, Se.cell(r, l)), Te(
47292
47292
  a.querySelector(".ag-selection-checkbox input[type=checkbox]"),
47293
- ye.checkbox(r, l)
47294
- ), Te(a.querySelector(".ag-drag-handle"), ye.dragHandle(r, l)), Te(a.querySelector(".ag-group-contracted"), ye.groupContracted(r, l)), Te(a.querySelector(".ag-group-expanded"), ye.groupExpanded(r, l));
47293
+ Se.checkbox(r, l)
47294
+ ), Te(a.querySelector(".ag-drag-handle"), Se.dragHandle(r, l)), Te(a.querySelector(".ag-group-contracted"), Se.groupContracted(r, l)), Te(a.querySelector(".ag-group-expanded"), Se.groupExpanded(r, l));
47295
47295
  });
47296
47296
  }), e.querySelectorAll(".ag-menu-list").forEach((o) => {
47297
- Te(o, ye.menu()), o.querySelectorAll(".ag-menu-option").forEach((r) => {
47298
- Te(r, ye.menuOption(r.querySelector(".ag-menu-option-text")?.textContent));
47297
+ Te(o, Se.menu()), o.querySelectorAll(".ag-menu-option").forEach((r) => {
47298
+ Te(r, Se.menuOption(r.querySelector(".ag-menu-option-text")?.textContent));
47299
47299
  });
47300
47300
  }), e.querySelectorAll(".ag-side-bar").forEach((o) => {
47301
- Te(o, ye.sideBar()), o.querySelectorAll(".ag-side-button button").forEach((r) => {
47301
+ Te(o, Se.sideBar()), o.querySelectorAll(".ag-side-button button").forEach((r) => {
47302
47302
  Te(
47303
47303
  r,
47304
- ye.sideBarButton(r.querySelector(".ag-side-button-label")?.textContent)
47304
+ Se.sideBarButton(r.querySelector(".ag-side-button-label")?.textContent)
47305
47305
  );
47306
47306
  }), o.querySelectorAll(".ag-column-panel").forEach((r) => {
47307
- Te(r, ye.columnToolPanel()), Te(
47307
+ Te(r, Se.columnToolPanel()), Te(
47308
47308
  r.querySelector(".ag-pivot-mode-select input[type=checkbox]"),
47309
- ye.pivotModeSelect()
47309
+ Se.pivotModeSelect()
47310
47310
  ), Te(
47311
47311
  r.querySelector(".ag-column-select-header-checkbox input[type=checkbox]"),
47312
- ye.columnPanelSelectHeaderCheckbox()
47312
+ Se.columnPanelSelectHeaderCheckbox()
47313
47313
  ), Te(
47314
47314
  r.querySelector(".ag-column-select-header-filter-wrapper input[type=text]"),
47315
- ye.columnPanelSelectHeaderFilter()
47315
+ Se.columnPanelSelectHeaderFilter()
47316
47316
  ), r.querySelectorAll(".ag-column-select-list").forEach((a) => {
47317
47317
  a.querySelectorAll(".ag-column-select-virtual-list-item").forEach((l) => {
47318
47318
  const c = l.getAttribute("aria-label");
47319
47319
  Te(
47320
47320
  l.querySelector(".ag-column-group-closed-icon"),
47321
- ye.columnSelectListItemGroupClosedIcon(c)
47321
+ Se.columnSelectListItemGroupClosedIcon(c)
47322
47322
  ), Te(
47323
47323
  l.querySelector(".ag-column-select-checkbox input[type=checkbox]"),
47324
- ye.columnSelectListItemCheckbox(c)
47324
+ Se.columnSelectListItemCheckbox(c)
47325
47325
  ), Te(
47326
47326
  l.querySelector(".ag-drag-handle"),
47327
- ye.columnSelectListItemDragHandle(c)
47327
+ Se.columnSelectListItemDragHandle(c)
47328
47328
  );
47329
47329
  });
47330
47330
  }), this.setupColumnDropArea(r, "toolbar");
47331
47331
  }), o.querySelectorAll(".ag-filter-panel").forEach((r) => {
47332
- Te(r, ye.filterToolPanel()), Te(
47332
+ Te(r, Se.filterToolPanel()), Te(
47333
47333
  r.querySelector("button.ag-filter-add-button"),
47334
- ye.filterToolPanelAddFilterButton()
47334
+ Se.filterToolPanelAddFilterButton()
47335
47335
  ), r.querySelectorAll(".ag-filter-card").forEach((a) => {
47336
47336
  const l = a.querySelector(".ag-filter-card-title")?.textContent, c = a.querySelector(".ag-filter-type-select");
47337
- Te(c, ye.filterToolPanelFilterTypeSelector(l)), a.querySelectorAll(".ag-filter").forEach(
47337
+ Te(c, Se.filterToolPanelFilterTypeSelector(l)), a.querySelectorAll(".ag-filter").forEach(
47338
47338
  (d) => this.setupFilterInstance(d, { source: "filter-toolpanel", colLabel: l })
47339
47339
  );
47340
47340
  });
47341
47341
  }), o.querySelectorAll(".ag-filter-toolpanel").forEach((r) => {
47342
47342
  Te(
47343
47343
  r.querySelector(".ag-filter-toolpanel-search-input input[type=text]"),
47344
- ye.filterToolPanelSearchInput()
47344
+ Se.filterToolPanelSearchInput()
47345
47345
  ), r.querySelectorAll(".ag-filter-toolpanel-group").forEach((a) => {
47346
47346
  const l = a.querySelector(".ag-filter-toolpanel-group-title")?.textContent;
47347
- Te(a, ye.filterToolPanelGroup(l)), Te(
47347
+ Te(a, Se.filterToolPanelGroup(l)), Te(
47348
47348
  a.querySelector(".ag-filter-toolpanel-group-title-bar-icon .ag-icon-tree-closed"),
47349
- ye.filterToolPanelGroupCollapsedIcon(l)
47349
+ Se.filterToolPanelGroupCollapsedIcon(l)
47350
47350
  );
47351
47351
  const c = a.querySelector(".ag-filter-toolpanel-instance-filter");
47352
47352
  c && this.setupFilterInstance(c, { source: "filter-toolpanel", colLabel: l });
@@ -47354,78 +47354,78 @@ var AB = class extends Z {
47354
47354
  });
47355
47355
  }), Te(
47356
47356
  e.querySelector(".ag-status-bar .ag-status-panel-total-and-filtered-row-count"),
47357
- ye.statusBarTotalAndFilteredRowCount()
47357
+ Se.statusBarTotalAndFilteredRowCount()
47358
47358
  ), Te(
47359
47359
  e.querySelector(".ag-status-bar .ag-status-panel-total-row-count"),
47360
- ye.statusBarTotalRowCount()
47360
+ Se.statusBarTotalRowCount()
47361
47361
  ), Te(
47362
47362
  e.querySelector(".ag-status-bar .ag-status-panel-filtered-row-count"),
47363
- ye.statusBarFilteredRowCount()
47363
+ Se.statusBarFilteredRowCount()
47364
47364
  ), Te(
47365
47365
  e.querySelector(".ag-status-bar .ag-status-panel-selected-row-count"),
47366
- ye.statusBarSelectedRowCount()
47366
+ Se.statusBarSelectedRowCount()
47367
47367
  ), Te(
47368
47368
  e.querySelector(".ag-status-bar .ag-status-panel-filtered-row-count"),
47369
- ye.statusBarAggregations()
47369
+ Se.statusBarAggregations()
47370
47370
  ), e.querySelectorAll(".ag-paging-panel").forEach((o) => {
47371
47371
  Te(
47372
47372
  o.querySelector(".ag-paging-page-size .ag-picker-field-display"),
47373
- ye.paginationPanelSizePickerDisplay(
47373
+ Se.paginationPanelSizePickerDisplay(
47374
47374
  o.querySelector(".ag-paging-page-size .ag-picker-field-display")?.textContent
47375
47375
  )
47376
47376
  ), o.querySelectorAll(".ag-paging-row-summary-panel-number").forEach((r) => {
47377
47377
  switch (r.getAttribute("data-ref")) {
47378
47378
  case "lbFirstRowOnPage":
47379
- Te(r, ye.paginationPanelFirstRowOnPage(r.textContent));
47379
+ Te(r, Se.paginationPanelFirstRowOnPage(r.textContent));
47380
47380
  break;
47381
47381
  case "lbLastRowOnPage":
47382
- Te(r, ye.paginationPanelLastRowOnPage(r.textContent));
47382
+ Te(r, Se.paginationPanelLastRowOnPage(r.textContent));
47383
47383
  break;
47384
47384
  case "lbRecordCount":
47385
- Te(r, ye.paginationPanelRecordCount(r.textContent));
47385
+ Te(r, Se.paginationPanelRecordCount(r.textContent));
47386
47386
  break;
47387
47387
  }
47388
47388
  }), o.querySelectorAll(".ag-paging-page-summary-panel .ag-button").forEach((r) => {
47389
47389
  Te(
47390
47390
  r,
47391
- ye.paginationSummaryPanelButton(r.getAttribute("aria-label")?.toLowerCase())
47391
+ Se.paginationSummaryPanelButton(r.getAttribute("aria-label")?.toLowerCase())
47392
47392
  );
47393
47393
  }), o.querySelectorAll(".ag-paging-page-summary-panel .ag-paging-number").forEach((r) => {
47394
47394
  switch (r.getAttribute("data-ref")) {
47395
47395
  case "lbCurrent":
47396
47396
  Te(
47397
47397
  r,
47398
- ye.paginationSummaryPanelCurrentPage(r.textContent)
47398
+ Se.paginationSummaryPanelCurrentPage(r.textContent)
47399
47399
  );
47400
47400
  break;
47401
47401
  case "lbTotal":
47402
- Te(r, ye.paginationSummaryPanelTotalPage(r.textContent));
47402
+ Te(r, Se.paginationSummaryPanelTotalPage(r.textContent));
47403
47403
  break;
47404
47404
  }
47405
47405
  });
47406
- }), Te(e.querySelector(".ag-fill-handle"), ye.fillHandle()), e.querySelectorAll('.ag-panel[aria-label="Choose Columns"]').forEach((o) => {
47407
- Te(o.querySelector(".ag-panel-title-bar-button-icon"), ye.columnChooserCloseButton()), Te(
47406
+ }), Te(e.querySelector(".ag-fill-handle"), Se.fillHandle()), e.querySelectorAll('.ag-panel[aria-label="Choose Columns"]').forEach((o) => {
47407
+ Te(o.querySelector(".ag-panel-title-bar-button-icon"), Se.columnChooserCloseButton()), Te(
47408
47408
  o.querySelector('.ag-column-select-header-checkbox input[type="checkbox"]'),
47409
- ye.columnChooserSearchBarCheckbox()
47409
+ Se.columnChooserSearchBarCheckbox()
47410
47410
  ), Te(
47411
47411
  o.querySelector('.ag-column-select-header-filter-wrapper input[type="text"]'),
47412
- ye.columnChooserSearchBarFilter()
47412
+ Se.columnChooserSearchBarFilter()
47413
47413
  ), o.querySelectorAll(".ag-column-select-list").forEach((r) => {
47414
47414
  r.querySelectorAll(".ag-column-select-virtual-list-item").forEach((a) => {
47415
47415
  const l = a.getAttribute("aria-label");
47416
47416
  Te(
47417
47417
  a.querySelector(".ag-column-group-closed-icon"),
47418
- ye.columnChooserListItemGroupClosedIcon(l)
47418
+ Se.columnChooserListItemGroupClosedIcon(l)
47419
47419
  ), Te(
47420
47420
  a.querySelector(".ag-column-select-checkbox input[type=checkbox]"),
47421
- ye.columnChooserListItemCheckbox(l)
47421
+ Se.columnChooserListItemCheckbox(l)
47422
47422
  ), Te(
47423
47423
  a.querySelector(".ag-drag-handle"),
47424
- ye.columnChooserListItemDragHandle(l)
47424
+ Se.columnChooserListItemDragHandle(l)
47425
47425
  );
47426
47426
  });
47427
47427
  });
47428
- }), Te(e.querySelector(".ag-overlay-wrapper"), ye.overlay());
47428
+ }), Te(e.querySelector(".ag-overlay-wrapper"), Se.overlay());
47429
47429
  const i = e.querySelector(".ag-column-drop-wrapper");
47430
47430
  i && this.setupColumnDropArea(i, "panel");
47431
47431
  }
@@ -47433,44 +47433,44 @@ var AB = class extends Z {
47433
47433
  if (!e)
47434
47434
  return;
47435
47435
  e.querySelectorAll(".ag-filter-select .ag-picker-field-display").forEach((i) => {
47436
- Te(i, ye.filterInstancePickerDisplay(t));
47436
+ Te(i, Se.filterInstancePickerDisplay(t));
47437
47437
  });
47438
47438
  const s = t.source === "floating-filter" ? ".ag-floating-filter-body" : ".ag-filter-body";
47439
47439
  e.querySelectorAll(`${s} .ag-input-field:not(.ag-hidden) input[type="number"]`).forEach((i, o, r) => {
47440
47440
  const l = r.length > 1 ? { ...t, index: o } : t;
47441
- Te(i, ye.numberFilterInstanceInput(l));
47441
+ Te(i, Se.numberFilterInstanceInput(l));
47442
47442
  }), e.querySelectorAll(`${s} .ag-input-field:not(.ag-hidden) input[type="text"]`).forEach((i, o, r) => {
47443
47443
  const l = r.length > 1 ? { ...t, index: o } : t;
47444
- Te(i, ye.textFilterInstanceInput(l));
47444
+ Te(i, Se.textFilterInstanceInput(l));
47445
47445
  }), e.querySelectorAll(`${s} .ag-input-field:not(.ag-hidden) input[type="date"]`).forEach((i, o, r) => {
47446
47446
  const l = r.length > 1 ? { ...t, index: o } : t;
47447
- Te(i, ye.dateFilterInstanceInput(l));
47447
+ Te(i, Se.dateFilterInstanceInput(l));
47448
47448
  });
47449
47449
  const n = e.querySelector('.ag-mini-filter input[type="text"]');
47450
- Te(n, ye.setFilterInstanceMiniFilterInput(t)), e.querySelectorAll(".ag-set-filter-list .ag-set-filter-item").forEach((i) => {
47450
+ Te(n, Se.setFilterInstanceMiniFilterInput(t)), e.querySelectorAll(".ag-set-filter-list .ag-set-filter-item").forEach((i) => {
47451
47451
  const o = i.querySelector(".ag-checkbox-label")?.textContent, r = i.querySelector('input[type="checkbox"]');
47452
- Te(r, ye.setFilterInstanceItem(t, o));
47452
+ Te(r, Se.setFilterInstanceItem(t, o));
47453
47453
  }), e.querySelectorAll(".ag-filter-apply-panel button").forEach((i) => {
47454
- Te(i, ye.setFilterApplyPanelButton(t, i.textContent));
47454
+ Te(i, Se.setFilterApplyPanelButton(t, i.textContent));
47455
47455
  }), e.querySelectorAll(".ag-filter-condition .ag-radio-button").forEach((i) => {
47456
47456
  const o = i.querySelector(".ag-radio-button-label")?.textContent;
47457
47457
  Te(
47458
47458
  i.querySelector("input[type=radio]"),
47459
- ye.filterConditionRadioButton(t, o)
47459
+ Se.filterConditionRadioButton(t, o)
47460
47460
  );
47461
47461
  });
47462
47462
  }
47463
47463
  setupColumnDropArea(e, t) {
47464
47464
  e.querySelectorAll(".ag-column-drop").forEach((s) => {
47465
47465
  const n = s.querySelector(".ag-column-drop-list")?.getAttribute("aria-label");
47466
- Te(s, ye.columnDropArea(t, n)), s.querySelectorAll(".ag-column-drop-cell").forEach((i) => {
47466
+ Te(s, Se.columnDropArea(t, n)), s.querySelectorAll(".ag-column-drop-cell").forEach((i) => {
47467
47467
  const o = i.querySelector(".ag-column-drop-cell-text")?.textContent;
47468
47468
  Te(
47469
47469
  i.querySelector(".ag-drag-handle"),
47470
- ye.columnDropCellDragHandle(t, n, o)
47470
+ Se.columnDropCellDragHandle(t, n, o)
47471
47471
  ), Te(
47472
47472
  i.querySelector(".ag-column-drop-cell-button .ag-icon-cancel"),
47473
- ye.columnDropCellCancelButton(t, n, o)
47473
+ Se.columnDropCellCancelButton(t, n, o)
47474
47474
  );
47475
47475
  });
47476
47476
  });
@@ -47637,7 +47637,7 @@ var M0 = $p((e, t) => {
47637
47637
  }
47638
47638
  }), jB = (e) => {
47639
47639
  const { initialProps: t, addUpdateCallback: s, CustomComponentClass: n, setMethods: i } = e, [{ key: o, ...r }, a] = L(t);
47640
- return xe(() => {
47640
+ return ye(() => {
47641
47641
  s((l) => a(l));
47642
47642
  }, []), /* @__PURE__ */ ae.createElement(kf.Provider, { value: { setMethods: i } }, /* @__PURE__ */ ae.createElement(n, { key: o, ...r }));
47643
47643
  }, zB = $t(jB), WB = 0;
@@ -48107,7 +48107,7 @@ var nG = 1e3, iG = class {
48107
48107
  Ds(
48108
48108
  () => gl(n, s, d.current, h),
48109
48109
  [n]
48110
- ), xe(() => {
48110
+ ), ye(() => {
48111
48111
  e.setDragSource(l.current);
48112
48112
  }, [n]);
48113
48113
  const f = z(() => !!(n?.componentFromFramework && Br(n.componentClass)), [n]), m = n?.componentFromFramework, v = n?.componentClass;
@@ -48164,7 +48164,7 @@ var nG = 1e3, iG = class {
48164
48164
  [g]
48165
48165
  );
48166
48166
  const E = z(() => o.toString(), [o]), k = z(() => a.toString(), [a]), D = z(() => c.toString(), [c]), T = z(() => !!(g && g.componentFromFramework && Br(g.componentClass)), [g]), M = z(() => s.get("reactiveCustomComponents"), []), B = z(() => s.get("enableFilterHandlers"), []), [A, N] = L();
48167
- xe(() => {
48167
+ ye(() => {
48168
48168
  if (g?.componentFromFramework)
48169
48169
  if (M) {
48170
48170
  const G = B ? cG : ZB, O = new G(g.params, () => m((_) => _ + 1));
@@ -48230,7 +48230,7 @@ var nG = 1e3, iG = class {
48230
48230
  };
48231
48231
  e.setComp(k, E, v.current, C.current, f.current);
48232
48232
  }, []);
48233
- Ds(() => gl(p, t, C.current), [p]), xe(() => {
48233
+ Ds(() => gl(p, t, C.current), [p]), ye(() => {
48234
48234
  m.current && e.setDragSource(m.current);
48235
48235
  }, [p]);
48236
48236
  const y = z(() => !!(p?.componentFromFramework && Br(p.componentClass)), [p]), x = z(() => "ag-header-group-cell " + i.toString(), [i]), S = z(
@@ -48334,7 +48334,7 @@ var nG = 1e3, iG = class {
48334
48334
  );
48335
48335
  return /* @__PURE__ */ ae.createElement("div", { ref: a, className: l, style: c, role: "presentation" }, /* @__PURE__ */ ae.createElement(xh, { pinned: "left" }), /* @__PURE__ */ ae.createElement(xh, { pinned: null }), /* @__PURE__ */ ae.createElement(xh, { pinned: "right" }));
48336
48336
  }, CG = $t(vG), wG = (e, t) => {
48337
- xe(() => {
48337
+ ye(() => {
48338
48338
  const s = t.current;
48339
48339
  if (s) {
48340
48340
  const n = s.parentElement;
@@ -48391,7 +48391,7 @@ var nG = 1e3, iG = class {
48391
48391
  }
48392
48392
  }, xG = (e) => {
48393
48393
  const t = j(e), s = j(), n = j(!1), i = j(!1), [, o] = L(0);
48394
- n.current && (i.current = !0), xe(() => (n.current || (s.current = t.current(), n.current = !0), o((r) => r + 1), () => {
48394
+ n.current && (i.current = !0), ye(() => (n.current || (s.current = t.current(), n.current = !0), o((r) => r + 1), () => {
48395
48395
  i.current && s.current?.();
48396
48396
  }), []);
48397
48397
  }, yG = (e) => {
@@ -48465,7 +48465,7 @@ var nG = 1e3, iG = class {
48465
48465
  const d = c.getGui();
48466
48466
  d && d.parentElement && d.remove(), a.destroyBean(c), i.current = void 0;
48467
48467
  }, []);
48468
- xe(() => {
48468
+ ye(() => {
48469
48469
  const c = e != null && !r, d = e?.compDetails && !e.compDetails.componentFromFramework, h = t && s == null;
48470
48470
  if (!(c && d && !h)) {
48471
48471
  l();
@@ -48486,7 +48486,7 @@ var nG = 1e3, iG = class {
48486
48486
  return;
48487
48487
  (t ? s : o.current).appendChild(v), i.current = m;
48488
48488
  });
48489
- }, [e, t, n, r]), xe(() => l, []);
48489
+ }, [e, t, n, r]), ye(() => l, []);
48490
48490
  }, N0 = FG, EG = ({
48491
48491
  cellCtrl: e,
48492
48492
  parent: t
@@ -48686,7 +48686,7 @@ var nG = 1e3, iG = class {
48686
48686
  ), [E, k] = L(
48687
48687
  () => c ? e.getInitialTransform(t) : void 0
48688
48688
  ), D = j(null), T = j(), M = j(), B = j(!1), [A, N] = L(0);
48689
- xe(() => {
48689
+ ye(() => {
48690
48690
  if (B.current || !x || A > 10)
48691
48691
  return;
48692
48692
  const me = D.current?.firstChild;
@@ -48751,7 +48751,7 @@ var nG = 1e3, iG = class {
48751
48751
  const me = { top: F, transform: E };
48752
48752
  return Object.assign(me, v), me;
48753
48753
  }, [F, E, v]), ne = l && x?.componentFromFramework, we = !l && O != null, se = z(() => !!(x?.componentFromFramework && Br(x.componentClass)), [x]), he = j(!1);
48754
- xe(() => {
48754
+ ye(() => {
48755
48755
  he.current = se && !!x && !!n.get("reactiveCustomComponents");
48756
48756
  }, [se, x]);
48757
48757
  const Ie = () => O?.map((me) => /* @__PURE__ */ ae.createElement(
@@ -49106,7 +49106,7 @@ var nG = 1e3, iG = class {
49106
49106
  };
49107
49107
  M.setComp(B, T, T), d(!0);
49108
49108
  }, []);
49109
- xe(() => {
49109
+ ye(() => {
49110
49110
  const T = g.current, M = f.current;
49111
49111
  if (!h || !T || !v || !M || e.isDestroyed())
49112
49112
  return;
@@ -49206,7 +49206,7 @@ var nG = 1e3, iG = class {
49206
49206
  areCellsRendered() {
49207
49207
  return this.beans.rowRenderer.getAllRowCtrls().every((e) => e.isRowRendered() && e.getAllCellCtrls().every((t) => !!t.eGui));
49208
49208
  }
49209
- }, VG = typeof window > "u" ? xe : Ds, O0 = {
49209
+ }, VG = typeof window > "u" ? ye : Ds, O0 = {
49210
49210
  setGridApi: void 0,
49211
49211
  maxComponentCreationTimeMs: void 0,
49212
49212
  children: void 0
@@ -49313,7 +49313,7 @@ var nG = 1e3, iG = class {
49313
49313
  }), [e.containerStyle]), b = P((x) => {
49314
49314
  h.current && !c.current?.shouldQueueUpdates() ? x() : a.current.push(x);
49315
49315
  }, []);
49316
- xe(() => {
49316
+ ye(() => {
49317
49317
  const x = WG(l.current, e);
49318
49318
  l.current = e, b(() => {
49319
49319
  n.current && zD(x, n.current);
@@ -49808,7 +49808,7 @@ const QG = "rounded bg-layer-0 shadow", Xd = ({
49808
49808
  },
49809
49809
  [x, l, we, D, r, M]
49810
49810
  );
49811
- xe(() => {
49811
+ ye(() => {
49812
49812
  l && D && M(!1);
49813
49813
  }, [l, D, M]);
49814
49814
  const Ie = P(
@@ -49908,7 +49908,7 @@ const QG = "rounded bg-layer-0 shadow", Xd = ({
49908
49908
  onContextMenu: se,
49909
49909
  onMouseDown: he
49910
49910
  });
49911
- return xe(() => {
49911
+ return ye(() => {
49912
49912
  if (!D) return;
49913
49913
  const U = N.reference.current;
49914
49914
  let re = null;
@@ -50025,7 +50025,7 @@ const iV = new Intl.Collator(void 0, {
50025
50025
  var Hi = /* @__PURE__ */ ((e) => (e.API = "api", e.ROW_DATA_CHANGED = "rowDataChanged", e.CHECKBOX_SELECTED = "checkboxSelected", e))(Hi || {});
50026
50026
  const q0 = () => {
50027
50027
  const [e, t] = L(gm());
50028
- return xe(() => {
50028
+ return ye(() => {
50029
50029
  const s = () => t(gm());
50030
50030
  return window.addEventListener("resize", s), () => window.removeEventListener("resize", s);
50031
50031
  }, []), e;
@@ -50238,7 +50238,7 @@ const Y0 = ({
50238
50238
  }));
50239
50239
  te.api.updateGridOptions({ columnDefs: Y, rowData: t }), te.api.sizeColumnsToFit(), F(te.api), s?.onGridReady?.(te), d?.(te.api);
50240
50240
  };
50241
- xe(() => {
50241
+ ye(() => {
50242
50242
  S && t && S.setGridOption("rowData", t);
50243
50243
  }, [S, t]);
50244
50244
  const ie = P(
@@ -50270,12 +50270,12 @@ const Y0 = ({
50270
50270
  }
50271
50271
  };
50272
50272
  }, [a, h, x]);
50273
- xe(() => {
50273
+ ye(() => {
50274
50274
  S && t && D.current.size && D.current.forEach((te) => {
50275
50275
  const be = S.getRowNode(te);
50276
50276
  be && !be.isSelected() && be.setSelected(!0, !1, Hi.API);
50277
50277
  });
50278
- }, [S, t]), xe(() => {
50278
+ }, [S, t]), ye(() => {
50279
50279
  S && l && (S.deselectAll("all", Hi.API), l.forEach((te) => {
50280
50280
  const be = S.getRowNode(te);
50281
50281
  be && !be.isSelected() && be.setSelected(!0, !1, Hi.API);
@@ -50289,7 +50289,7 @@ const Y0 = ({
50289
50289
  te.setAttribute("aria-description", _h);
50290
50290
  });
50291
50291
  }, []);
50292
- return xe(() => {
50292
+ return ye(() => {
50293
50293
  const te = N(
50294
50294
  T.current
50295
50295
  );
@@ -50442,7 +50442,7 @@ const fa = ({
50442
50442
  );
50443
50443
  }, rV = () => {
50444
50444
  const [e, t] = L(() => typeof window > "u" ? Yn.Desktop : Iu());
50445
- return xe(() => {
50445
+ return ye(() => {
50446
50446
  t(Iu());
50447
50447
  const s = () => t(Iu());
50448
50448
  return window.addEventListener("resize", s), () => window.removeEventListener("resize", s);
@@ -50498,11 +50498,11 @@ const fa = ({
50498
50498
  },
50499
50499
  [s, t, T]
50500
50500
  );
50501
- return xe(() => {
50501
+ return ye(() => {
50502
50502
  D();
50503
50503
  const B = new ResizeObserver(() => D()), A = F.current;
50504
50504
  return A && B.observe(A), () => B.disconnect();
50505
- }, [e, D]), xe(() => {
50505
+ }, [e, D]), ye(() => {
50506
50506
  T();
50507
50507
  }, [t, T]), o === ur.Inline ? /* @__PURE__ */ u.jsx(
50508
50508
  "div",
@@ -51300,7 +51300,7 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51300
51300
  const H = C.filter((q, G) => G !== V);
51301
51301
  w(H), g?.(H);
51302
51302
  }, A = () => r ? /* @__PURE__ */ u.jsx(Yt, { text: r }) : o ? /* @__PURE__ */ u.jsx(Fd, { text: o }) : null;
51303
- xe(() => {
51303
+ ye(() => {
51304
51304
  if (c) return;
51305
51305
  const V = new ResizeObserver(() => {
51306
51306
  if (f.current) {
@@ -51309,7 +51309,7 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51309
51309
  }
51310
51310
  });
51311
51311
  return f.current && V.observe(f.current), () => V.disconnect();
51312
- }, [C, c]), xe(() => {
51312
+ }, [C, c]), ye(() => {
51313
51313
  if (!c) {
51314
51314
  R(C.length);
51315
51315
  return;
@@ -51319,7 +51319,7 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51319
51319
  k();
51320
51320
  }), H = f.current;
51321
51321
  return H && V.observe(H), k(), () => V.disconnect();
51322
- }, [c, k, C]), xe(() => {
51322
+ }, [c, k, C]), ye(() => {
51323
51323
  w(e);
51324
51324
  }, [JSON.stringify(e)]);
51325
51325
  const N = /* @__PURE__ */ u.jsxs(
@@ -51728,21 +51728,21 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51728
51728
  icon: e,
51729
51729
  onClick: t,
51730
51730
  disabled: s,
51731
- size: n = Se.Standard,
51731
+ size: n = xe.Standard,
51732
51732
  className: i
51733
51733
  }) => /* @__PURE__ */ u.jsx(
51734
51734
  "div",
51735
51735
  {
51736
51736
  className: Ce(
51737
51737
  "border-l border-tertiary",
51738
- n === Se.Standard ? "h-[40px] w-[44px]" : "h-[24px] w-[32px]"
51738
+ n === xe.Standard ? "h-[40px] w-[44px]" : "h-[24px] w-[32px]"
51739
51739
  ),
51740
51740
  children: /* @__PURE__ */ u.jsx(
51741
51741
  ni,
51742
51742
  {
51743
51743
  className: Ce(
51744
51744
  NV,
51745
- n === Se.Small && "p-1",
51745
+ n === xe.Small && "p-1",
51746
51746
  i
51747
51747
  ),
51748
51748
  icon: e,
@@ -51817,7 +51817,7 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51817
51817
  ...v
51818
51818
  }) => {
51819
51819
  const C = j(null), w = po([c, C]), b = l === "number" || p !== void 0 || f !== void 0;
51820
- xe(() => {
51820
+ ye(() => {
51821
51821
  const F = C.current;
51822
51822
  if (!F || !b || t) return;
51823
51823
  const R = (E) => {
@@ -51956,21 +51956,21 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51956
51956
  }
51957
51957
  );
51958
51958
  }, oy = {
51959
- [Se.Small]: {
51959
+ [xe.Small]: {
51960
51960
  className: "dial-tiny-text",
51961
51961
  wrapperClassName: "pl-2 py-0",
51962
51962
  containerClassName: "h-[24px]",
51963
51963
  iconSize: 16,
51964
51964
  iconStroke: 1
51965
51965
  },
51966
- [Se.Standard]: {
51966
+ [xe.Standard]: {
51967
51967
  className: "dial-small-text",
51968
51968
  wrapperClassName: "",
51969
51969
  containerClassName: "",
51970
51970
  iconSize: 20,
51971
51971
  iconStroke: 1.5
51972
51972
  },
51973
- [Se.Large]: {
51973
+ [xe.Large]: {
51974
51974
  className: "",
51975
51975
  wrapperClassName: "",
51976
51976
  containerClassName: "",
@@ -51978,7 +51978,7 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51978
51978
  iconStroke: 0
51979
51979
  }
51980
51980
  }, ry = ({
51981
- size: e = Se.Standard,
51981
+ size: e = xe.Standard,
51982
51982
  placeholder: t = "Search...",
51983
51983
  value: s,
51984
51984
  onChange: n,
@@ -51986,7 +51986,7 @@ const SV = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RV = "te
51986
51986
  ...o
51987
51987
  }) => {
51988
51988
  const [r, a] = L(s || "");
51989
- xe(() => {
51989
+ ye(() => {
51990
51990
  a(s || "");
51991
51991
  }, [s]);
51992
51992
  const l = P(
@@ -52137,7 +52137,7 @@ const WV = "dial-input flex w-full items-center justify-between gap-2 dial-small
52137
52137
  customSelectedValue: l,
52138
52138
  placeholder: c = "Select...",
52139
52139
  searchable: d = !1,
52140
- searchSize: h = Se.Standard,
52140
+ searchSize: h = xe.Standard,
52141
52141
  searchPlaceholder: p,
52142
52142
  selectAll: g = !1,
52143
52143
  invalid: f,
@@ -52177,11 +52177,11 @@ const WV = "dial-input flex w-full items-center justify-between gap-2 dial-small
52177
52177
  const J = ne.trim().toLowerCase();
52178
52178
  return J ? e.filter((Ze) => Ze.label.toLowerCase().includes(J)) : e;
52179
52179
  }, [e, ne]);
52180
- xe(() => {
52180
+ ye(() => {
52181
52181
  !_ && !D && he("");
52182
52182
  }, [D, _, he]);
52183
52183
  const be = j(l);
52184
- xe(() => {
52184
+ ye(() => {
52185
52185
  D && l !== be.current && (_ || (be.current = l, he(l || "")));
52186
52186
  }, [l, D, _, he]);
52187
52187
  const Y = P(
@@ -52254,7 +52254,7 @@ const WV = "dial-input flex w-full items-center justify-between gap-2 dial-small
52254
52254
  re,
52255
52255
  Y
52256
52256
  ]), Le = re.length > 0;
52257
- xe(() => {
52257
+ ye(() => {
52258
52258
  _ && D && !t && !b && requestAnimationFrame(() => {
52259
52259
  const J = se.current;
52260
52260
  if (!J) return;
@@ -53193,7 +53193,7 @@ const cj = function(t, s, n) {
53193
53193
  v,
53194
53194
  w
53195
53195
  ]);
53196
- xe(() => {
53196
+ ye(() => {
53197
53197
  F();
53198
53198
  }, [i]);
53199
53199
  const [{ isOver: E, canDrop: k }, D] = mg(
@@ -53562,7 +53562,7 @@ const cj = function(t, s, n) {
53562
53562
  }, o$ = ({
53563
53563
  icon: e,
53564
53564
  ariaLabel: t,
53565
- size: s = Se.Standard,
53565
+ size: s = xe.Standard,
53566
53566
  disabled: n = !1,
53567
53567
  className: i,
53568
53568
  buttonClassName: o,
@@ -53576,10 +53576,10 @@ const cj = function(t, s, n) {
53576
53576
  defaultOpen: g = !1,
53577
53577
  ...f
53578
53578
  }) => {
53579
- const m = s === Se.Small, [v, C] = L(g), w = h ?? v, b = m ? "w-8 px-0" : "w-10 px-0", y = {
53580
- [Se.Small]: "size-5",
53581
- [Se.Standard]: "size-6",
53582
- [Se.Large]: "size-7"
53579
+ const m = s === xe.Small, [v, C] = L(g), w = h ?? v, b = m ? "w-8 px-0" : "w-10 px-0", y = {
53580
+ [xe.Small]: "size-5",
53581
+ [xe.Standard]: "size-6",
53582
+ [xe.Large]: "size-7"
53583
53583
  }, x = (S) => {
53584
53584
  C(S), p?.(S);
53585
53585
  };
@@ -53928,7 +53928,7 @@ const HC = ({
53928
53928
  buttonClassName: i
53929
53929
  }) => {
53930
53930
  const o = j(e);
53931
- xe(() => {
53931
+ ye(() => {
53932
53932
  o.current = e;
53933
53933
  }, [e]);
53934
53934
  const r = P(
@@ -53996,7 +53996,7 @@ const HC = ({
53996
53996
  };
53997
53997
  function kj(e, t) {
53998
53998
  const s = j(null), [n, i] = L(!1);
53999
- return xe(() => {
53999
+ return ye(() => {
54000
54000
  if (!s.current) return;
54001
54001
  const o = new ResizeObserver(([r]) => {
54002
54002
  const a = r.contentRect.width;
@@ -57187,14 +57187,14 @@ const _j = (e) => {
57187
57187
  R();
57188
57188
  }
57189
57189
  });
57190
- xe(() => {
57190
+ ye(() => {
57191
57191
  a && w || (d(!1), p(!1), f(void 0), M(), R());
57192
57192
  }, [
57193
57193
  a,
57194
57194
  M,
57195
57195
  R,
57196
57196
  w
57197
- ]), xe(() => {
57197
+ ]), ye(() => {
57198
57198
  if (!a || !w) return;
57199
57199
  let X = 0;
57200
57200
  const oe = (De) => {
@@ -57592,7 +57592,7 @@ const rz = ({
57592
57592
  () => n ? e?.expandedPaths ?? /* @__PURE__ */ new Set() : t,
57593
57593
  [n, e?.expandedPaths, t]
57594
57594
  );
57595
- xe(() => {
57595
+ ye(() => {
57596
57596
  n && e?.expandedPaths && s(new Set(e.expandedPaths));
57597
57597
  }, [n, e?.expandedPaths]);
57598
57598
  const o = P(
@@ -57725,7 +57725,7 @@ const rz = ({
57725
57725
  }
57726
57726
  return c === As.Child ? h : e;
57727
57727
  }, [c, h, e, i]);
57728
- xe(() => {
57728
+ ye(() => {
57729
57729
  const T = b?.path;
57730
57730
  C.current !== T && o && (r(!1), l(null), v("")), C.current = T;
57731
57731
  }, [b?.path, o]);
@@ -57848,7 +57848,7 @@ const rz = ({
57848
57848
  {
57849
57849
  disabled: n,
57850
57850
  className: o,
57851
- size: Se.Small,
57851
+ size: xe.Small,
57852
57852
  onClick: s,
57853
57853
  icon: /* @__PURE__ */ u.jsx(i2, { size: Ne.LG, stroke: 1.5 }),
57854
57854
  "aria-label": "collapse-all"
@@ -57897,7 +57897,7 @@ function pz({
57897
57897
  activeTab: l
57898
57898
  }) {
57899
57899
  const [c, d] = L(""), h = j(!1), p = j(!1), g = j([]), f = j(s), m = j(l);
57900
- xe(() => {
57900
+ ye(() => {
57901
57901
  o != null && d(String(o));
57902
57902
  }, [o]);
57903
57903
  const v = String(
@@ -57921,14 +57921,14 @@ function pz({
57921
57921
  },
57922
57922
  [r, w, b]
57923
57923
  );
57924
- xe(() => {
57924
+ ye(() => {
57925
57925
  (f.current !== s || m.current !== l) && (f.current = s, m.current = l, h.current = !1, p.current = !1, g.current = [], d(""), r?.(""), t?.());
57926
57926
  }, [
57927
57927
  s,
57928
57928
  l,
57929
57929
  r,
57930
57930
  t
57931
- ]), xe(() => {
57931
+ ]), ye(() => {
57932
57932
  i || (g.current = n);
57933
57933
  }, [n, i]);
57934
57934
  const x = z(() => {
@@ -58116,7 +58116,7 @@ const fz = ':;,=/{}%&\\"', Sy = `(\r
58116
58116
  nt && Pe.set(Je, nt);
58117
58117
  }), Pe;
58118
58118
  }, [cn, n]);
58119
- xe(() => {
58119
+ ye(() => {
58120
58120
  if (cn.size === 0) return;
58121
58121
  let Pe = !1;
58122
58122
  for (const Je of cn)
@@ -58222,7 +58222,7 @@ const fz = ':;,=/{}%&\\"', Sy = `(\r
58222
58222
  getCopyHeader: y?.getCopyHeader,
58223
58223
  getMoveHeader: y?.getMoveHeader
58224
58224
  });
58225
- xe(() => {
58225
+ ye(() => {
58226
58226
  Bn || Hn(void 0);
58227
58227
  }, [Bn, Hn]);
58228
58228
  const {
@@ -58428,7 +58428,7 @@ const fz = ':;,=/{}%&\\"', Sy = `(\r
58428
58428
  On,
58429
58429
  xt
58430
58430
  ]);
58431
- xe(() => {
58431
+ ye(() => {
58432
58432
  const Pe = Nn.current;
58433
58433
  if (!Pe) return;
58434
58434
  if ((xt ?? "") !== Pe.destinationFolder) {
@@ -58447,7 +58447,7 @@ const fz = ':;,=/{}%&\\"', Sy = `(\r
58447
58447
  Di,
58448
58448
  Q,
58449
58449
  $
58450
- ]), xe(() => {
58450
+ ]), ye(() => {
58451
58451
  !wl.current && Cl && (Ii(), wl.current = !0);
58452
58452
  }, [Cl, Ii]);
58453
58453
  const cS = P(
@@ -58740,12 +58740,12 @@ const fz = ':;,=/{}%&\\"', Sy = `(\r
58740
58740
  maxSelectableFileSize: o
58741
58741
  }) => {
58742
58742
  const [r, a] = L(null), [l, c] = L(null);
58743
- xe(() => {
58743
+ ye(() => {
58744
58744
  const p = () => {
58745
58745
  a(null), c(null);
58746
58746
  };
58747
58747
  return window.addEventListener("scroll", p, !0), () => window.removeEventListener("scroll", p, !0);
58748
- }, []), xe(() => {
58748
+ }, []), ye(() => {
58749
58749
  const p = (m) => {
58750
58750
  const C = m.target.closest(
58751
58751
  ".ag-row"
@@ -59022,7 +59022,7 @@ function Sz({
59022
59022
  // Re-measure when the action list or layout-affecting deps (e.g. isMobile) change
59023
59023
  // eslint-disable-next-line react-hooks/exhaustive-deps
59024
59024
  [e, g, ...o]
59025
- ), xe(() => {
59025
+ ), ye(() => {
59026
59026
  if (!r.current) return;
59027
59027
  let v = null;
59028
59028
  const C = () => {
@@ -59416,7 +59416,7 @@ const Rz = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
59416
59416
  children: /* @__PURE__ */ u.jsx(
59417
59417
  ag,
59418
59418
  {
59419
- size: Se.Small,
59419
+ size: xe.Small,
59420
59420
  icon: /* @__PURE__ */ u.jsx(Fr, { stroke: 2, size: Ne.SM })
59421
59421
  }
59422
59422
  )
@@ -59672,18 +59672,18 @@ function Bz({
59672
59672
  b,
59673
59673
  s
59674
59674
  ]);
59675
- return xe(() => {
59675
+ return ye(() => {
59676
59676
  !t && !s || (C.current = !1, w.current = !1, h(e), b(), requestAnimationFrame(() => {
59677
59677
  v.current?.focus(), v.current?.select();
59678
59678
  }));
59679
- }, [t, s, e, b]), xe(() => {
59679
+ }, [t, s, e, b]), ye(() => {
59680
59680
  const E = v.current;
59681
59681
  if (!t && !s || !E) return;
59682
59682
  const k = (D) => {
59683
59683
  D.key === "Enter" ? (D.preventDefault(), v.current?.blur()) : D.key === "Escape" && (D.preventDefault(), F());
59684
59684
  };
59685
59685
  return E.addEventListener("keydown", k), () => E.removeEventListener("keydown", k);
59686
- }, [t, s, F]), xe(() => {
59686
+ }, [t, s, F]), ye(() => {
59687
59687
  if (!t && !s || n) return;
59688
59688
  const E = v.current;
59689
59689
  if (!E) return;
@@ -61929,7 +61929,7 @@ const el = ({
61929
61929
  r && /* @__PURE__ */ u.jsx(
61930
61930
  Lf,
61931
61931
  {
61932
- size: Se.Small,
61932
+ size: xe.Small,
61933
61933
  onClick: (m) => {
61934
61934
  m.stopPropagation(), r();
61935
61935
  },
@@ -62593,7 +62593,7 @@ const el = ({
62593
62593
  !h && /* @__PURE__ */ u.jsx(
62594
62594
  Lf,
62595
62595
  {
62596
- size: Se.Small,
62596
+ size: xe.Small,
62597
62597
  onClick: r,
62598
62598
  "aria-label": l,
62599
62599
  className: "shrink-0 p-1"
@@ -62702,8 +62702,8 @@ const el = ({
62702
62702
  const { readonly: i } = an(), [o, r] = L(null), [a, l] = L(
62703
62703
  () => JSON.stringify(e, null, 2)
62704
62704
  );
62705
- xe(() => {
62706
- typeof window < "u" && import("./JsonEditor-SPSat7s8.js").then((d) => {
62705
+ ye(() => {
62706
+ typeof window < "u" && import("./JsonEditor-BeuHitJ9.js").then((d) => {
62707
62707
  r(() => d.DialJsonEditor);
62708
62708
  });
62709
62709
  }, []);
@@ -62854,7 +62854,7 @@ const el = ({
62854
62854
  ), x = P((D) => {
62855
62855
  y((T) => T.has(D) ? T : /* @__PURE__ */ new Set([...T, D]));
62856
62856
  }, []);
62857
- xe(() => {
62857
+ ye(() => {
62858
62858
  d?.(v);
62859
62859
  }, []);
62860
62860
  const S = (D, T) => {
@@ -62997,7 +62997,7 @@ const el = ({
62997
62997
  ), _f = ({
62998
62998
  ariaLabel: e = "Close",
62999
62999
  className: t,
63000
- size: s = Se.Small,
63000
+ size: s = xe.Small,
63001
63001
  onClose: n,
63002
63002
  ...i
63003
63003
  }) => /* @__PURE__ */ u.jsx(
@@ -63011,7 +63011,7 @@ const el = ({
63011
63011
  icon: /* @__PURE__ */ u.jsx(
63012
63012
  nn,
63013
63013
  {
63014
- size: s === Se.Small ? Ne.SM : Ne.MD,
63014
+ size: s === xe.Small ? Ne.SM : Ne.MD,
63015
63015
  stroke: ot,
63016
63016
  "aria-hidden": "true"
63017
63017
  }
@@ -63099,11 +63099,11 @@ const el = ({
63099
63099
  const c = t.current;
63100
63100
  c && (r.current && o(c.textContent ?? ""), n(c.scrollWidth > c.clientWidth));
63101
63101
  }, []), l = P(() => Ed(a), [a]);
63102
- return xe(() => {
63102
+ return ye(() => {
63103
63103
  const c = t.current;
63104
63104
  if (c)
63105
63105
  return Ww(c, a);
63106
- }, [a]), xe(() => {
63106
+ }, [a]), ye(() => {
63107
63107
  r.current = typeof e != "string", l();
63108
63108
  }, [e, l]), { ref: t, isTruncated: s, textContent: i, remeasure: l };
63109
63109
  }, ui = ({
@@ -63421,7 +63421,7 @@ const CW = "en-GB", wW = {
63421
63421
  placeholder: a = "--:--"
63422
63422
  }) => {
63423
63423
  const [l, c] = L(t);
63424
- return xe(() => {
63424
+ return ye(() => {
63425
63425
  c(t);
63426
63426
  }, [t]), /* @__PURE__ */ u.jsx(
63427
63427
  "input",
@@ -63593,7 +63593,7 @@ const CW = "en-GB", wW = {
63593
63593
  {
63594
63594
  "aria-label": "Previous month",
63595
63595
  icon: ZC.prev,
63596
- size: Se.Small,
63596
+ size: xe.Small,
63597
63597
  onClick: () => T(-1)
63598
63598
  }
63599
63599
  ),
@@ -63610,7 +63610,7 @@ const CW = "en-GB", wW = {
63610
63610
  {
63611
63611
  "aria-label": "Next month",
63612
63612
  icon: ZC.next,
63613
- size: Se.Small,
63613
+ size: xe.Small,
63614
63614
  onClick: () => T(1)
63615
63615
  }
63616
63616
  )
@@ -63722,7 +63722,7 @@ const CW = "en-GB", wW = {
63722
63722
  label: e,
63723
63723
  variant: t,
63724
63724
  appearance: s = Re.Solid,
63725
- size: n = Se.Standard,
63725
+ size: n = xe.Standard,
63726
63726
  className: i,
63727
63727
  textClassName: o,
63728
63728
  iconAfter: r,
@@ -63738,12 +63738,15 @@ const CW = "en-GB", wW = {
63738
63738
  const m = I(
63739
63739
  "dial-kit-base-button",
63740
63740
  t && tb(t, s),
63741
- n === Se.Small ? "dial-tiny-semi-text" : "dial-small-paragraph-semi-text",
63742
- n === Se.Small ? "h-[24px] gap-1" : "h-[40px] gap-2",
63743
- s !== Re.Link && (n === Se.Small ? "px-2" : "px-4"),
63741
+ n === xe.Small ? "dial-tiny-semi-text" : "dial-small-paragraph-semi-text",
63742
+ n === xe.Small ? "h-[24px] gap-1" : "h-[40px] gap-2",
63743
+ // Corner radius is themable per size see the radius tokens in
63744
+ // `buttons.scss`; the standard radius comes from `dial-kit-base-button`.
63745
+ n === xe.Small && "dial-kit-base-button-small",
63746
+ s !== Re.Link && (n === xe.Small ? "px-2" : "px-4"),
63744
63747
  // A link-appearance button sits inline in text, where WCAG 2.5.5 exempts
63745
63748
  // it and an expanded target would overlap the surrounding copy.
63746
- n !== Se.Small && s !== Re.Link && "dial-kit-enhanced-target",
63749
+ n !== xe.Small && s !== Re.Link && "dial-kit-enhanced-target",
63747
63750
  i
63748
63751
  ), v = e ? void 0 : c?.tooltip, C = Dt(
63749
63752
  typeof e == "string" ? e : void 0,
@@ -64132,7 +64135,7 @@ const CW = "en-GB", wW = {
64132
64135
  },
64133
64136
  [x, l, Ie, T, r, N]
64134
64137
  );
64135
- xe(() => {
64138
+ ye(() => {
64136
64139
  l && T && N(!1);
64137
64140
  }, [l, T, N]);
64138
64141
  const U = P(
@@ -64254,7 +64257,7 @@ const CW = "en-GB", wW = {
64254
64257
  onContextMenu: ie,
64255
64258
  onMouseDown: me
64256
64259
  });
64257
- return xe(() => {
64260
+ return ye(() => {
64258
64261
  if (!T) return;
64259
64262
  const Y = q.reference.current;
64260
64263
  let X = null;
@@ -64354,7 +64357,7 @@ const CW = "en-GB", wW = {
64354
64357
  "aria-label": n,
64355
64358
  ...i
64356
64359
  }) => {
64357
- const o = t === Se.Small ? "h-[32px]" : "h-[40px] dial-kit-enhanced-target";
64360
+ const o = t === xe.Small ? "h-[32px]" : "h-[40px] dial-kit-enhanced-target";
64358
64361
  return /* @__PURE__ */ u.jsxs(
64359
64362
  "button",
64360
64363
  {
@@ -64489,7 +64492,7 @@ const CW = "en-GB", wW = {
64489
64492
  t && /* @__PURE__ */ u.jsx(
64490
64493
  Is,
64491
64494
  {
64492
- size: Se.Standard,
64495
+ size: xe.Standard,
64493
64496
  ...t,
64494
64497
  htmlFor: p,
64495
64498
  className: I(
@@ -64531,14 +64534,14 @@ const CW = "en-GB", wW = {
64531
64534
  ) : null, yo = ({
64532
64535
  ...e
64533
64536
  }) => /* @__PURE__ */ u.jsx(xo, { ...e, variant: Yi.Error }), KW = "bg-control-neutral-active flex items-center justify-center enabled:text-secondary enabled:hover:text-control-accent-hover enabled:active:bg-control-accent-alpha-active enabled:hover:bg-control-accent-alpha-hover enabled:active:text-control-accent-active", YW = {
64534
- [Se.Small]: "size-[24px]",
64535
- [Se.Standard]: "size-[40px]",
64536
- [Se.Large]: "size-[48px]"
64537
+ [xe.Small]: "size-[24px]",
64538
+ [xe.Standard]: "size-[40px]",
64539
+ [xe.Large]: "size-[48px]"
64537
64540
  }, ZW = ({
64538
64541
  icon: e,
64539
64542
  onClick: t,
64540
64543
  disabled: s,
64541
- size: n = Se.Standard,
64544
+ size: n = xe.Standard,
64542
64545
  className: i
64543
64546
  }) => /* @__PURE__ */ u.jsx(
64544
64547
  "div",
@@ -64549,7 +64552,7 @@ const CW = "en-GB", wW = {
64549
64552
  {
64550
64553
  className: I(
64551
64554
  KW,
64552
- n === Se.Small && "p-1",
64555
+ n === xe.Small && "p-1",
64553
64556
  i
64554
64557
  ),
64555
64558
  icon: e,
@@ -64593,21 +64596,21 @@ const CW = "en-GB", wW = {
64593
64596
  }
64594
64597
  }
64595
64598
  }, Xy = {
64596
- [Se.Small]: {
64599
+ [xe.Small]: {
64597
64600
  field: "dial-kit-input-small gap-x-1",
64598
64601
  paddingStart: "pl-2",
64599
64602
  paddingEnd: "pr-2",
64600
64603
  stackGap: "gap-1",
64601
64604
  postfixText: "dial-tiny-text"
64602
64605
  },
64603
- [Se.Standard]: {
64606
+ [xe.Standard]: {
64604
64607
  field: "gap-x-2 py-2",
64605
64608
  paddingStart: "pl-3",
64606
64609
  paddingEnd: "pr-3",
64607
64610
  stackGap: "gap-2",
64608
64611
  postfixText: "dial-small-text"
64609
64612
  },
64610
- [Se.Large]: {
64613
+ [xe.Large]: {
64611
64614
  field: "gap-x-2 py-3",
64612
64615
  paddingStart: "pl-4",
64613
64616
  paddingEnd: "pr-4",
@@ -64620,7 +64623,7 @@ const CW = "en-GB", wW = {
64620
64623
  caption: s,
64621
64624
  id: n,
64622
64625
  containerClassName: i,
64623
- size: o = Se.Standard,
64626
+ size: o = xe.Standard,
64624
64627
  ...r
64625
64628
  }) => /* @__PURE__ */ u.jsxs(
64626
64629
  "div",
@@ -64658,11 +64661,11 @@ const CW = "en-GB", wW = {
64658
64661
  max: m,
64659
64662
  inputButtonProps: v,
64660
64663
  wrapperRef: C,
64661
- size: w = Se.Standard,
64664
+ size: w = xe.Standard,
64662
64665
  ...b
64663
64666
  }) => {
64664
64667
  const y = Xy[w], x = j(null), S = po([d, x]), F = c === "number" || g !== void 0 || m !== void 0;
64665
- xe(() => {
64668
+ ye(() => {
64666
64669
  const D = x.current;
64667
64670
  if (!D || !F || t) return;
64668
64671
  const T = (M) => {
@@ -64802,7 +64805,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
64802
64805
  jr,
64803
64806
  {
64804
64807
  className: "size-[16px] shrink-0 dial-kit-minimum-target",
64805
- size: Se.Small,
64808
+ size: xe.Small,
64806
64809
  "aria-label": r ?? `Remove ${e}`,
64807
64810
  icon: /* @__PURE__ */ u.jsx(
64808
64811
  nn,
@@ -64955,7 +64958,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
64955
64958
  id: s,
64956
64959
  value: n,
64957
64960
  defaultValue: i,
64958
- size: o = Se.Standard,
64961
+ size: o = xe.Standard,
64959
64962
  prefix: r,
64960
64963
  customSelectedValue: a,
64961
64964
  placeholder: l = "Select...",
@@ -64964,7 +64967,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
64964
64967
  caption: h,
64965
64968
  ariaLabel: p,
64966
64969
  searchable: g = !1,
64967
- searchSize: f = Se.Standard,
64970
+ searchSize: f = xe.Standard,
64968
64971
  searchPlaceholder: m,
64969
64972
  selectAll: v = !1,
64970
64973
  invalid: C,
@@ -64988,7 +64991,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
64988
64991
  onSearchQueryChange: q,
64989
64992
  customMultiSelectTagsRenderer: G
64990
64993
  }) => {
64991
- const O = wt(), _ = s || O, K = `list-${_}`, ne = o === Se.Small, [we, se] = L(!1), he = V !== void 0, Ie = he ? !!V : we, ie = P(
64994
+ const O = wt(), _ = s || O, K = `list-${_}`, ne = o === xe.Small, [we, se] = L(!1), he = V !== void 0, Ie = he ? !!V : we, ie = P(
64992
64995
  (pe) => {
64993
64996
  he || se(pe), H?.(pe);
64994
64997
  },
@@ -65002,7 +65005,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65002
65005
  const pe = me.trim().toLowerCase();
65003
65006
  return pe ? e.filter((rt) => rt.label.toLowerCase().includes(pe)) : e;
65004
65007
  }, [e, me]);
65005
- xe(() => {
65008
+ ye(() => {
65006
65009
  Ie || re("");
65007
65010
  }, [Ie, re]);
65008
65011
  const $ = P(
@@ -65130,7 +65133,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65130
65133
  {
65131
65134
  "aria-label": "Close select",
65132
65135
  className: "shrink-0",
65133
- size: Se.Small,
65136
+ size: xe.Small,
65134
65137
  icon: p_,
65135
65138
  onClick: (pe) => {
65136
65139
  M?.(pe), ie(!1);
@@ -65343,7 +65346,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65343
65346
  showPasswordLabel: e = "Show password",
65344
65347
  hidePasswordLabel: t = "Hide password",
65345
65348
  disabled: s,
65346
- size: n = Se.Standard,
65349
+ size: n = xe.Standard,
65347
65350
  ...i
65348
65351
  }) => {
65349
65352
  const [o, r] = L(!1), a = o && !s;
@@ -65357,7 +65360,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65357
65360
  iconAfter: /* @__PURE__ */ u.jsx(
65358
65361
  jr,
65359
65362
  {
65360
- size: Se.Small,
65363
+ size: xe.Small,
65361
65364
  disabled: s,
65362
65365
  "aria-label": a ? t : e,
65363
65366
  "aria-pressed": a,
@@ -65536,7 +65539,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65536
65539
  jr,
65537
65540
  {
65538
65541
  "aria-label": f,
65539
- size: Se.Small,
65542
+ size: xe.Small,
65540
65543
  className: "mr-2",
65541
65544
  onClick: g,
65542
65545
  icon: /* @__PURE__ */ u.jsx(
@@ -65801,7 +65804,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65801
65804
  t && /* @__PURE__ */ u.jsx(
65802
65805
  Is,
65803
65806
  {
65804
- size: Se.Standard,
65807
+ size: xe.Standard,
65805
65808
  ...t,
65806
65809
  htmlFor: c,
65807
65810
  className: I(
@@ -65891,7 +65894,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
65891
65894
  n && /* @__PURE__ */ u.jsx(
65892
65895
  Is,
65893
65896
  {
65894
- size: Se.Standard,
65897
+ size: xe.Standard,
65895
65898
  ...n,
65896
65899
  htmlFor: h,
65897
65900
  className: I(
@@ -66110,7 +66113,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66110
66113
  onToggle: n,
66111
66114
  onClick: i,
66112
66115
  tooltipProps: o,
66113
- size: r = Se.Small,
66116
+ size: r = xe.Small,
66114
66117
  className: a,
66115
66118
  ...l
66116
66119
  }) => {
@@ -66482,7 +66485,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66482
66485
  id: e,
66483
66486
  value: t,
66484
66487
  defaultValue: s,
66485
- size: n = Se.Standard,
66488
+ size: n = xe.Standard,
66486
66489
  labelProps: i,
66487
66490
  placeholder: o,
66488
66491
  caption: r,
@@ -66498,7 +66501,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66498
66501
  tagClassName: v,
66499
66502
  onChange: C
66500
66503
  }) => {
66501
- const w = wt(), b = e || w, y = n === Se.Small, x = j(null), S = j([]), F = j(null), R = t !== void 0, [E, k] = L(
66504
+ const w = wt(), b = e || w, y = n === xe.Small, x = j(null), S = j([]), F = j(null), R = t !== void 0, [E, k] = L(
66502
66505
  s ?? []
66503
66506
  ), D = R ? t : E, T = D.length, [M, B] = L(""), [A, N] = L(T), V = !d && !c, H = P(
66504
66507
  (U) => {
@@ -66528,7 +66531,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66528
66531
  })
66529
66532
  );
66530
66533
  }, [d, D]);
66531
- xe(() => {
66534
+ ye(() => {
66532
66535
  if (!h) {
66533
66536
  N(T);
66534
66537
  return;
@@ -66660,11 +66663,11 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66660
66663
  }
66661
66664
  );
66662
66665
  }, rU = {
66663
- [Se.Small]: Ne.SM,
66664
- [Se.Standard]: Ne.MD,
66665
- [Se.Large]: Ne.MD
66666
+ [xe.Small]: Ne.SM,
66667
+ [xe.Standard]: Ne.MD,
66668
+ [xe.Large]: Ne.MD
66666
66669
  }, Y$ = ({
66667
- size: e = Se.Standard,
66670
+ size: e = xe.Standard,
66668
66671
  placeholder: t = "Search...",
66669
66672
  withoutBorder: s = !1,
66670
66673
  clearLabel: n = "Clear search",
@@ -66704,7 +66707,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66704
66707
  iconAfter: p ? /* @__PURE__ */ u.jsx(
66705
66708
  jr,
66706
66709
  {
66707
- size: Se.Small,
66710
+ size: xe.Small,
66708
66711
  "aria-label": n,
66709
66712
  icon: /* @__PURE__ */ u.jsx(
66710
66713
  nn,
@@ -66887,7 +66890,7 @@ const QW = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3
66887
66890
  {
66888
66891
  variant: Oe.Primary,
66889
66892
  appearance: Re.Ghost,
66890
- size: Se.Standard,
66893
+ size: xe.Standard,
66891
66894
  onClick: x,
66892
66895
  "aria-label": y,
66893
66896
  "aria-expanded": w,
@@ -67175,7 +67178,7 @@ const xU = ({
67175
67178
  disabled: o
67176
67179
  }) => {
67177
67180
  const r = e.node, [a, l] = L(() => !!r.isSelected());
67178
- xe(() => {
67181
+ ye(() => {
67179
67182
  const d = () => l(!!r.isSelected());
67180
67183
  return d(), r.addEventListener("rowSelected", d), () => r.removeEventListener("rowSelected", d);
67181
67184
  }, [r]);
@@ -67218,7 +67221,7 @@ const xU = ({
67218
67221
  const [{ selected: s, selectable: n }, i] = L(
67219
67222
  () => lw(e)
67220
67223
  );
67221
- xe(() => {
67224
+ ye(() => {
67222
67225
  const r = () => i(lw(e));
67223
67226
  return r(), e.addEventListener("selectionChanged", r), e.addEventListener("modelUpdated", r), () => {
67224
67227
  e.isDestroyed() || (e.removeEventListener("selectionChanged", r), e.removeEventListener("modelUpdated", r));
@@ -67438,7 +67441,7 @@ const EU = "dial-kit-grid-selection", DU = 150, PU = 100, eq = ({
67438
67441
  ), be = ($) => {
67439
67442
  $.api.sizeColumnsToFit(), E($.api), s?.onGridReady?.($), d?.($.api);
67440
67443
  };
67441
- xe(() => {
67444
+ ye(() => {
67442
67445
  R && t && R.setGridOption("rowData", t);
67443
67446
  }, [R, t]);
67444
67447
  const Y = P(
@@ -67475,12 +67478,12 @@ const EU = "dial-kit-grid-selection", DU = 150, PU = 100, eq = ({
67475
67478
  _,
67476
67479
  x
67477
67480
  ]);
67478
- xe(() => {
67481
+ ye(() => {
67479
67482
  R && t && T.current.size && T.current.forEach(($) => {
67480
67483
  const le = R.getRowNode($);
67481
67484
  le && !le.isSelected() && le.setSelected(!0, !1, Cn.API);
67482
67485
  });
67483
- }, [R, t]), xe(() => {
67486
+ }, [R, t]), ye(() => {
67484
67487
  R && l && (R.deselectAll("all", Cn.API), l.forEach(($) => {
67485
67488
  const le = R.getRowNode($);
67486
67489
  le && !le.isSelected() && le.setSelected(!0, !1, Cn.API);
@@ -67490,7 +67493,7 @@ const EU = "dial-kit-grid-selection", DU = 150, PU = 100, eq = ({
67490
67493
  ($) => $.data ? N($.data) : "",
67491
67494
  [N]
67492
67495
  );
67493
- return xe(() => {
67496
+ return ye(() => {
67494
67497
  const $ = we(
67495
67498
  M.current
67496
67499
  );
@@ -67558,7 +67561,7 @@ const EU = "dial-kit-grid-selection", DU = 150, PU = 100, eq = ({
67558
67561
  hideTooltip: o
67559
67562
  }
67560
67563
  );
67561
- }, sq = () => import("./JsonEditor-SPSat7s8.js"), nq = () => import("./MarkdownEditor-DPaub2SS.js"), iq = () => import("./MarkdownEditor-CFQxnMBm.js");
67564
+ }, sq = () => import("./JsonEditor-BeuHitJ9.js"), nq = () => import("./MarkdownEditor-BqJpt2Uj.js"), iq = () => import("./MarkdownEditor-C9UKXNt4.js");
67562
67565
  export {
67563
67566
  KU as $,
67564
67567
  j$ as A,
@@ -67661,7 +67664,7 @@ export {
67661
67664
  Nt as b3,
67662
67665
  qG as b4,
67663
67666
  Ry as b5,
67664
- Se as b6,
67667
+ xe as b6,
67665
67668
  ui as b7,
67666
67669
  x$ as b8,
67667
67670
  yo as b9,