@epam/ai-dial-ui-kit 0.3.0-rc.59 → 0.3.0-rc.60

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,12 +1,12 @@
1
1
  import { jsx as i, jsxs as x, Fragment as pe } from "react/jsx-runtime";
2
2
  import w from "classnames";
3
- import { useFloating as Dt, offset as mr, flip as Cr, shift as vr, arrow as yn, autoUpdate as br, useHover as yr, useFocus as wn, useDismiss as St, useRole as Lt, useInteractions as It, useMergeRefs as wr, FloatingPortal as Tt, FloatingArrow as xn, autoPlacement as Dn, size as Sn, useClick as Ln, FloatingFocusManager as xr, FloatingOverlay as In } from "@floating-ui/react";
3
+ import { useFloating as Dt, offset as Cr, flip as vr, shift as br, arrow as yn, autoUpdate as yr, useHover as wr, useFocus as wn, useDismiss as St, useRole as Lt, useInteractions as It, useMergeRefs as xr, FloatingPortal as Tt, FloatingArrow as xn, autoPlacement as Dn, size as Sn, useClick as Ln, FloatingFocusManager as Dr, FloatingOverlay as In } from "@floating-ui/react";
4
4
  import * as E from "react";
5
- import { createContext as Dr, useState as G, useRef as le, useMemo as j, useContext as Sr, forwardRef as Lr, isValidElement as Ot, cloneElement as qe, useCallback as A, useEffect as ne, memo as Tn, useLayoutEffect as On, useId as Ir, Children as En } from "react";
6
- import { IconInfoCircle as Tr, IconCircleCheck as Nn, IconAlertTriangle as kn, IconAlertCircle as Pn, IconX as _e, IconMinus as Rn, IconCheck as Or, IconExclamationCircle as Et, IconClipboardX as Er, IconChevronsLeft as Mn, IconChevronsRight as Vn, IconGripVertical as Hn, IconFile as An, IconFileTypeZip as Fn, IconFileTypeXml as _n, IconFileTypeXls as zn, IconFileTypeVue as jn, IconFileTypeTxt as Bn, IconFileTypeTsx as Gn, IconFileTypeTs as $n, IconFileTypeSvg as Wn, IconFileTypeSql as Un, IconFileTypeRs as qn, IconFileTypePpt as Zn, IconFileTypePng as Xn, IconFileTypePhp as Yn, IconFileTypePdf as Kn, IconFileTypeJsx as Jn, IconFileTypeJs as Qn, IconFileTypeJpg as eo, IconFileTypeHtml as to, IconFileTypeDocx as ro, IconFileTypeDoc as no, IconFileTypeCsv as oo, IconFileTypeCss as so, IconFileTypeBmp as io, IconArrowUpRight as ao, IconFolder as lo, IconChevronDown as Nt, IconDotsVertical as co, IconChevronRight as uo, IconTrashX as Nr, IconSearch as fo, IconEyeOff as po, IconEye as ho, IconPlus as go, IconChevronUp as mo } from "@tabler/icons-react";
5
+ import { createContext as Sr, useState as G, useRef as le, useMemo as j, useContext as Lr, forwardRef as Ir, isValidElement as Ot, cloneElement as qe, useCallback as A, useEffect as ne, memo as Tn, useLayoutEffect as On, useId as Tr, Children as En } from "react";
6
+ import { IconInfoCircle as Or, IconCircleCheck as Nn, IconAlertTriangle as kn, IconAlertCircle as Pn, IconX as _e, IconMinus as Rn, IconCheck as Er, IconExclamationCircle as Et, IconClipboardX as Nr, IconChevronsLeft as Mn, IconChevronsRight as Vn, IconGripVertical as Hn, IconFile as An, IconFileTypeZip as Fn, IconFileTypeXml as _n, IconFileTypeXls as zn, IconFileTypeVue as jn, IconFileTypeTxt as Bn, IconFileTypeTsx as Gn, IconFileTypeTs as $n, IconFileTypeSvg as Wn, IconFileTypeSql as Un, IconFileTypeRs as qn, IconFileTypePpt as Zn, IconFileTypePng as Xn, IconFileTypePhp as Yn, IconFileTypePdf as Kn, IconFileTypeJsx as Jn, IconFileTypeJs as Qn, IconFileTypeJpg as eo, IconFileTypeHtml as to, IconFileTypeDocx as ro, IconFileTypeDoc as no, IconFileTypeCsv as oo, IconFileTypeCss as so, IconFileTypeBmp as io, IconArrowUpRight as ao, IconFolder as lo, IconChevronDown as Nt, IconDotsVertical as co, IconChevronRight as uo, IconTrashX as kr, IconSearch as fo, IconEyeOff as po, IconEye as ho, IconPlus as go, IconChevronUp as mo } from "@tabler/icons-react";
7
7
  import { createPortal as Co } from "react-dom";
8
- const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "text-error dial-tiny mt-1", children: e }), U = ({ icon: e, className: t }) => e ? /* @__PURE__ */ i("span", { className: w("flex-shrink-0", t), children: e }) : null, vo = 7, bo = 2, kr = Dr(null), Pr = () => {
9
- const e = Sr(kr);
8
+ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "text-error dial-tiny mt-1", children: e }), U = ({ icon: e, className: t }) => e ? /* @__PURE__ */ i("span", { className: w("flex-shrink-0", t), children: e }) : null, vo = 7, bo = 2, Pr = Sr(null), Rr = () => {
9
+ const e = Lr(Pr);
10
10
  if (e == null)
11
11
  throw new Error("Tooltip components must be wrapped in <Tooltip />");
12
12
  return e;
@@ -21,20 +21,20 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
21
21
  placement: t,
22
22
  open: c,
23
23
  onOpenChange: d,
24
- whileElementsMounted: br,
24
+ whileElementsMounted: yr,
25
25
  middleware: [
26
- mr(vo + bo),
27
- Cr({
26
+ Cr(vo + bo),
27
+ vr({
28
28
  crossAxis: t.includes("-"),
29
29
  fallbackAxisSideDirection: "start",
30
30
  padding: 5
31
31
  }),
32
- vr({ padding: 5 }),
32
+ br({ padding: 5 }),
33
33
  yn({
34
34
  element: l
35
35
  })
36
36
  ]
37
- }), p = yr(u.context, {
37
+ }), p = wr(u.context, {
38
38
  move: !1,
39
39
  enabled: n == null,
40
40
  mouseOnly: r,
@@ -52,14 +52,14 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
52
52
  }),
53
53
  [c, d, g, u]
54
54
  );
55
- }, Rr = ({
55
+ }, Mr = ({
56
56
  children: e,
57
57
  ...t
58
58
  }) => {
59
59
  const r = yo(t);
60
- return /* @__PURE__ */ i(kr.Provider, { value: r, children: e });
61
- }, Mr = Lr(function({ style: t, ...r }, n) {
62
- const o = Pr(), s = wr([o.refs.setFloating, n]);
60
+ return /* @__PURE__ */ i(Pr.Provider, { value: r, children: e });
61
+ }, Vr = Ir(function({ style: t, ...r }, n) {
62
+ const o = Rr(), s = xr([o.refs.setFloating, n]);
63
63
  return o.open ? /* @__PURE__ */ i(Tt, { id: "tooltip-portal", children: /* @__PURE__ */ x(
64
64
  "div",
65
65
  {
@@ -88,8 +88,8 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
88
88
  ]
89
89
  }
90
90
  ) }) : null;
91
- }), Vr = Lr(function({ children: t, asChild: r = !1, ...n }, o) {
92
- const s = Pr(), l = t && typeof t == "object" && "ref" in t && t.ref !== void 0 ? t.ref : void 0, c = wr([s.refs.setReference, o, l]);
91
+ }), Hr = Ir(function({ children: t, asChild: r = !1, ...n }, o) {
92
+ const s = Rr(), l = t && typeof t == "object" && "ref" in t && t.ref !== void 0 ? t.ref : void 0, c = xr([s.refs.setReference, o, l]);
93
93
  return r && Ot(t) ? qe(
94
94
  t,
95
95
  s.getReferenceProps({
@@ -113,10 +113,10 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
113
113
  triggerClassName: n,
114
114
  contentClassName: o,
115
115
  ...s
116
- }) => /* @__PURE__ */ x(Rr, { ...s, children: [
117
- /* @__PURE__ */ i(Vr, { className: w(n, "truncate"), children: r }),
116
+ }) => /* @__PURE__ */ x(Mr, { ...s, children: [
117
+ /* @__PURE__ */ i(Hr, { className: w(n, "truncate"), children: r }),
118
118
  /* @__PURE__ */ i(
119
- Mr,
119
+ Vr,
120
120
  {
121
121
  className: w(
122
122
  "text-primary",
@@ -135,17 +135,17 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
135
135
  return {
136
136
  getClassGroupId: (a) => {
137
137
  const l = a.split(kt);
138
- return l[0] === "" && l.length !== 1 && l.shift(), Hr(l, t) || xo(a);
138
+ return l[0] === "" && l.length !== 1 && l.shift(), Ar(l, t) || xo(a);
139
139
  },
140
140
  getConflictingClassGroupIds: (a, l) => {
141
141
  const c = r[a] || [];
142
142
  return l && n[a] ? [...c, ...n[a]] : c;
143
143
  }
144
144
  };
145
- }, Hr = (e, t) => {
145
+ }, Ar = (e, t) => {
146
146
  if (e.length === 0)
147
147
  return t.classGroupId;
148
- const r = e[0], n = t.nextPart.get(r), o = n ? Hr(e.slice(1), n) : void 0;
148
+ const r = e[0], n = t.nextPart.get(r), o = n ? Ar(e.slice(1), n) : void 0;
149
149
  if (o)
150
150
  return o;
151
151
  if (t.validators.length === 0)
@@ -154,9 +154,9 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
154
154
  return t.validators.find(({
155
155
  validator: a
156
156
  }) => a(s))?.classGroupId;
157
- }, Gt = /^\[(.+)\]$/, xo = (e) => {
158
- if (Gt.test(e)) {
159
- const t = Gt.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
157
+ }, $t = /^\[(.+)\]$/, xo = (e) => {
158
+ if ($t.test(e)) {
159
+ const t = $t.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
160
160
  if (r)
161
161
  return "arbitrary.." + r;
162
162
  }
@@ -174,7 +174,7 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
174
174
  }, ht = (e, t, r, n) => {
175
175
  e.forEach((o) => {
176
176
  if (typeof o == "string") {
177
- const s = o === "" ? t : $t(t, o);
177
+ const s = o === "" ? t : Wt(t, o);
178
178
  s.classGroupId = r;
179
179
  return;
180
180
  }
@@ -190,10 +190,10 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
190
190
  return;
191
191
  }
192
192
  Object.entries(o).forEach(([s, a]) => {
193
- ht(a, $t(t, s), r, n);
193
+ ht(a, Wt(t, s), r, n);
194
194
  });
195
195
  });
196
- }, $t = (e, t) => {
196
+ }, Wt = (e, t) => {
197
197
  let r = e;
198
198
  return t.split(kt).forEach((n) => {
199
199
  r.nextPart.has(n) || r.nextPart.set(n, {
@@ -337,15 +337,15 @@ const De = ({ errorText: e }) => e && /* @__PURE__ */ i("span", { className: "te
337
337
  function Ro() {
338
338
  let e = 0, t, r, n = "";
339
339
  for (; e < arguments.length; )
340
- (t = arguments[e++]) && (r = Ar(t)) && (n && (n += " "), n += r);
340
+ (t = arguments[e++]) && (r = Fr(t)) && (n && (n += " "), n += r);
341
341
  return n;
342
342
  }
343
- const Ar = (e) => {
343
+ const Fr = (e) => {
344
344
  if (typeof e == "string")
345
345
  return e;
346
346
  let t, r = "";
347
347
  for (let n = 0; n < e.length; n++)
348
- e[n] && (t = Ar(e[n])) && (r && (r += " "), r += t);
348
+ e[n] && (t = Fr(e[n])) && (r && (r += " "), r += t);
349
349
  return r;
350
350
  };
351
351
  function Mo(e, ...t) {
@@ -368,18 +368,18 @@ function Mo(e, ...t) {
368
368
  const Z = (e) => {
369
369
  const t = (r) => r[e] || [];
370
370
  return t.isThemeGetter = !0, t;
371
- }, Fr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, _r = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vo = /^\d+\/\d+$/, Ho = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ao = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Fo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, _o = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ie = (e) => Vo.test(e), P = (e) => !!e && !Number.isNaN(Number(e)), me = (e) => !!e && Number.isInteger(Number(e)), st = (e) => e.endsWith("%") && P(e.slice(0, -1)), fe = (e) => Ho.test(e), jo = () => !0, Bo = (e) => (
371
+ }, _r = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, zr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vo = /^\d+\/\d+$/, Ho = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ao = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Fo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, _o = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ie = (e) => Vo.test(e), P = (e) => !!e && !Number.isNaN(Number(e)), me = (e) => !!e && Number.isInteger(Number(e)), st = (e) => e.endsWith("%") && P(e.slice(0, -1)), fe = (e) => Ho.test(e), jo = () => !0, Bo = (e) => (
372
372
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
373
373
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
374
374
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
375
375
  Ao.test(e) && !Fo.test(e)
376
- ), zr = () => !1, Go = (e) => _o.test(e), $o = (e) => zo.test(e), Wo = (e) => !S(e) && !L(e), Uo = (e) => ke(e, Gr, zr), S = (e) => Fr.test(e), ye = (e) => ke(e, $r, Bo), it = (e) => ke(e, Ko, P), Wt = (e) => ke(e, jr, zr), qo = (e) => ke(e, Br, $o), Be = (e) => ke(e, Wr, Go), L = (e) => _r.test(e), Ve = (e) => Pe(e, $r), Zo = (e) => Pe(e, Jo), Ut = (e) => Pe(e, jr), Xo = (e) => Pe(e, Gr), Yo = (e) => Pe(e, Br), Ge = (e) => Pe(e, Wr, !0), ke = (e, t, r) => {
377
- const n = Fr.exec(e);
376
+ ), jr = () => !1, Go = (e) => _o.test(e), $o = (e) => zo.test(e), Wo = (e) => !S(e) && !L(e), Uo = (e) => ke(e, $r, jr), S = (e) => _r.test(e), ye = (e) => ke(e, Wr, Bo), it = (e) => ke(e, Ko, P), Ut = (e) => ke(e, Br, jr), qo = (e) => ke(e, Gr, $o), Be = (e) => ke(e, Ur, Go), L = (e) => zr.test(e), Ve = (e) => Pe(e, Wr), Zo = (e) => Pe(e, Jo), qt = (e) => Pe(e, Br), Xo = (e) => Pe(e, $r), Yo = (e) => Pe(e, Gr), Ge = (e) => Pe(e, Ur, !0), ke = (e, t, r) => {
377
+ const n = _r.exec(e);
378
378
  return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
379
379
  }, Pe = (e, t, r = !1) => {
380
- const n = _r.exec(e);
380
+ const n = zr.exec(e);
381
381
  return n ? n[1] ? t(n[1]) : r : !1;
382
- }, jr = (e) => e === "position" || e === "percentage", Br = (e) => e === "image" || e === "url", Gr = (e) => e === "length" || e === "size" || e === "bg-size", $r = (e) => e === "length", Ko = (e) => e === "number", Jo = (e) => e === "family-name", Wr = (e) => e === "shadow", Qo = () => {
382
+ }, Br = (e) => e === "position" || e === "percentage", Gr = (e) => e === "image" || e === "url", $r = (e) => e === "length" || e === "size" || e === "bg-size", Wr = (e) => e === "length", Ko = (e) => e === "number", Jo = (e) => e === "family-name", Ur = (e) => e === "shadow", Qo = () => {
383
383
  const e = Z("color"), t = Z("font"), r = Z("text"), n = Z("font-weight"), o = Z("tracking"), s = Z("leading"), a = Z("breakpoint"), l = Z("container"), c = Z("spacing"), d = Z("radius"), u = Z("shadow"), p = Z("inset-shadow"), h = Z("text-shadow"), f = Z("drop-shadow"), C = Z("blur"), g = Z("perspective"), D = Z("aspect"), b = Z("ease"), v = Z("animate"), y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
384
384
  "center",
385
385
  "top",
@@ -400,7 +400,7 @@ const Z = (e) => {
400
400
  "left-bottom"
401
401
  ], k = () => [...O(), L, S], R = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], I = () => [L, S, c], W = () => [Ie, "full", "auto", ...I()], z = () => [me, "none", "subgrid", L, S], M = () => ["auto", {
402
402
  span: ["full", me, L, S]
403
- }, me, L, S], V = () => [me, "auto", L, S], ee = () => ["auto", "min", "max", "fr", L, S], de = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], te = () => ["auto", ...I()], re = () => [Ie, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...I()], T = () => [e, L, S], ue = () => [...O(), Ut, Wt, {
403
+ }, me, L, S], V = () => [me, "auto", L, S], ee = () => ["auto", "min", "max", "fr", L, S], de = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], te = () => ["auto", ...I()], re = () => [Ie, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...I()], T = () => [e, L, S], ue = () => [...O(), qt, Ut, {
404
404
  position: [L, S]
405
405
  }], he = () => ["no-repeat", {
406
406
  repeat: ["", "x", "y", "space", "round"]
@@ -414,7 +414,7 @@ const Z = (e) => {
414
414
  d,
415
415
  L,
416
416
  S
417
- ], K = () => ["", P, Ve, ye], m = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [P, st, Ut, Wt], ce = () => [
417
+ ], K = () => ["", P, Ve, ye], m = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [P, st, qt, Ut], ce = () => [
418
418
  // Deprecated since Tailwind CSS v4.0.0
419
419
  "",
420
420
  "none",
@@ -2875,7 +2875,7 @@ const Re = ({
2875
2875
  s && /* @__PURE__ */ i(Le, { tooltip: s, children: /* @__PURE__ */ i(
2876
2876
  U,
2877
2877
  {
2878
- icon: /* @__PURE__ */ i(Tr, { size: 14, className: "text-secondary" })
2878
+ icon: /* @__PURE__ */ i(Or, { size: 14, className: "text-secondary" })
2879
2879
  }
2880
2880
  ) })
2881
2881
  ]
@@ -2930,7 +2930,7 @@ const ts = {
2930
2930
  };
2931
2931
  var Ee = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(Ee || {});
2932
2932
  const rs = {
2933
- info: /* @__PURE__ */ i(Tr, { size: 24, stroke: 2 }),
2933
+ info: /* @__PURE__ */ i(Or, { size: 24, stroke: 2 }),
2934
2934
  error: /* @__PURE__ */ i(Pn, { size: 24, stroke: 2 }),
2935
2935
  warning: /* @__PURE__ */ i(kn, { size: 24, stroke: 2 }),
2936
2936
  success: /* @__PURE__ */ i(Nn, { size: 24, stroke: 2 })
@@ -2970,7 +2970,7 @@ const rs = {
2970
2970
  )
2971
2971
  ]
2972
2972
  }
2973
- ), ss = "flex items-center justify-center text-secondary", is = "shrink-0 grow-0 basis-auto animate-spin-steps", as = (e) => /* @__PURE__ */ E.createElement("svg", { viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ E.createElement("path", { d: "M24 39V46.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.4, d: "M9 24H1.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.5, d: "M8.0918 8.0918L13.3994 13.3994", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.6, d: "M24 1.5V9", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.7, d: "M39.9121 8.08594L37.2607 10.7373L34.6094 13.3887", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.8, d: "M46.5 24H39", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.9, d: "M34.6055 34.6055L39.9082 39.9082", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.3, d: "M13.3936 34.6055L8.08594 39.9131", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" })), Ur = ({
2973
+ ), ss = "flex items-center justify-center text-secondary", is = "shrink-0 grow-0 basis-auto animate-spin-steps", as = (e) => /* @__PURE__ */ E.createElement("svg", { viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ E.createElement("path", { d: "M24 39V46.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.4, d: "M9 24H1.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.5, d: "M8.0918 8.0918L13.3994 13.3994", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.6, d: "M24 1.5V9", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.7, d: "M39.9121 8.08594L37.2607 10.7373L34.6094 13.3887", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.8, d: "M46.5 24H39", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.9, d: "M34.6055 34.6055L39.9082 39.9082", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { opacity: 0.3, d: "M13.3936 34.6055L8.08594 39.9131", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" })), Pt = ({
2974
2974
  size: e = 18,
2975
2975
  cssClass: t,
2976
2976
  iconClass: r,
@@ -3033,9 +3033,9 @@ const rs = {
3033
3033
  () => typeof e == "string" ? e : c,
3034
3034
  [c, e]
3035
3035
  ), C = j(() => n ? "" : a ? f : "", [f, n, a]);
3036
- return /* @__PURE__ */ x(Rr, { ...o, children: [
3036
+ return /* @__PURE__ */ x(Mr, { ...o, children: [
3037
3037
  /* @__PURE__ */ i(
3038
- Vr,
3038
+ Hr,
3039
3039
  {
3040
3040
  asChild: !0,
3041
3041
  ref: s,
@@ -3057,7 +3057,7 @@ const rs = {
3057
3057
  }
3058
3058
  ),
3059
3059
  /* @__PURE__ */ i(
3060
- Mr,
3060
+ Vr,
3061
3061
  {
3062
3062
  className: _(
3063
3063
  ls,
@@ -3068,7 +3068,7 @@ const rs = {
3068
3068
  }
3069
3069
  )
3070
3070
  ] });
3071
- }, qt = ({
3071
+ }, Zt = ({
3072
3072
  label: e,
3073
3073
  id: t,
3074
3074
  checked: r,
@@ -3093,7 +3093,7 @@ const rs = {
3093
3093
  o ? "bg-layer-4 border-icon-secondary" : ""
3094
3094
  );
3095
3095
  return /* @__PURE__ */ x("label", { className: d, htmlFor: t, children: [
3096
- n ? /* @__PURE__ */ i(Rn, { className: u, ...X }) : r ? /* @__PURE__ */ i(Or, { className: u, ...X }) : null,
3096
+ n ? /* @__PURE__ */ i(Rn, { className: u, ...X }) : r ? /* @__PURE__ */ i(Er, { className: u, ...X }) : null,
3097
3097
  e && (typeof e == "string" ? /* @__PURE__ */ i(ve, { text: e, cssClass: "text-primary" }) : e),
3098
3098
  /* @__PURE__ */ i(
3099
3099
  "input",
@@ -3155,7 +3155,7 @@ const cs = (e, t) => {
3155
3155
  currentStep: r,
3156
3156
  onChangeStep: n
3157
3157
  }) => {
3158
- const o = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny border-t-2 cursor-pointer", s = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", a = () => r === e.id && e.status === ae.ERROR ? /* @__PURE__ */ i(Et, { stroke: 2, size: 16 }) : r !== e.id && e.status === ae.VALID ? /* @__PURE__ */ i(Or, { stroke: 2, size: 16 }) : t + 1;
3158
+ const o = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny border-t-2 cursor-pointer", s = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", a = () => r === e.id && e.status === ae.ERROR ? /* @__PURE__ */ i(Et, { stroke: 2, size: 16 }) : r !== e.id && e.status === ae.VALID ? /* @__PURE__ */ i(Er, { stroke: 2, size: 16 }) : t + 1;
3159
3159
  return /* @__PURE__ */ x(
3160
3160
  "button",
3161
3161
  {
@@ -3244,7 +3244,7 @@ var Ze = /* @__PURE__ */ ((e) => (e.Vertical = "vertical", e.Horizontal = "horiz
3244
3244
  const ps = "w-full flex", hs = {
3245
3245
  [Ze.Vertical]: "flex-col",
3246
3246
  [Ze.Horizontal]: "flex-row items-end"
3247
- }, Pt = ({
3247
+ }, Rt = ({
3248
3248
  elementId: e,
3249
3249
  label: t,
3250
3250
  optional: r,
@@ -3357,7 +3357,7 @@ const gs = "flex", ms = "pb-1 mt-2", Cs = {
3357
3357
  orientation: g,
3358
3358
  onChange: D
3359
3359
  }) => /* @__PURE__ */ i(
3360
- Pt,
3360
+ Rt,
3361
3361
  {
3362
3362
  elementId: h,
3363
3363
  label: e,
@@ -3423,7 +3423,7 @@ const gs = "flex", ms = "pb-1 mt-2", Cs = {
3423
3423
  title: t,
3424
3424
  description: r
3425
3425
  }) => /* @__PURE__ */ x("div", { className: "h-full w-full flex flex-col items-center justify-center text-secondary", children: [
3426
- e || /* @__PURE__ */ i(Er, { width: 60, height: 60 }),
3426
+ e || /* @__PURE__ */ i(Nr, { width: 60, height: 60 }),
3427
3427
  /* @__PURE__ */ i("span", { className: "dial-small mt-2 text-primary", children: t }),
3428
3428
  r && /* @__PURE__ */ i("span", { className: "mt-1 text-primary", children: r })
3429
3429
  ] }), ys = 60, Ja = ({
@@ -3509,15 +3509,15 @@ const gs = "flex", ms = "pb-1 mt-2", Cs = {
3509
3509
  ]
3510
3510
  }
3511
3511
  );
3512
- var Rt = /* @__PURE__ */ ((e) => (e.Default = "default", e))(Rt || {});
3512
+ var Mt = /* @__PURE__ */ ((e) => (e.Default = "default", e))(Mt || {});
3513
3513
  const ws = {
3514
- [Rt.Default]: "border-icon-secondary bg-layer-3"
3514
+ [Mt.Default]: "border-icon-secondary bg-layer-3"
3515
3515
  // TODO: Add other variants here once they are finalized with the UI/UX team
3516
- }, Mt = ({
3516
+ }, Vt = ({
3517
3517
  tag: e,
3518
3518
  cssClass: t,
3519
3519
  remove: r,
3520
- variant: n = Rt.Default,
3520
+ variant: n = Mt.Default,
3521
3521
  iconBefore: o,
3522
3522
  bordered: s = !0
3523
3523
  }) => {
@@ -3538,19 +3538,19 @@ const ws = {
3538
3538
  }
3539
3539
  )
3540
3540
  ] }, e);
3541
- }, qr = Dr({
3541
+ }, qr = Sr({
3542
3542
  dragDropManager: void 0
3543
3543
  });
3544
3544
  function se(e) {
3545
3545
  return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
3546
3546
  }
3547
- var Zt = (function() {
3547
+ var Xt = (function() {
3548
3548
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3549
- })(), Xt = function() {
3549
+ })(), Yt = function() {
3550
3550
  return Math.random().toString(36).substring(7).split("").join(".");
3551
- }, Yt = {
3552
- INIT: "@@redux/INIT" + Xt(),
3553
- REPLACE: "@@redux/REPLACE" + Xt()
3551
+ }, Kt = {
3552
+ INIT: "@@redux/INIT" + Yt(),
3553
+ REPLACE: "@@redux/REPLACE" + Yt()
3554
3554
  };
3555
3555
  function xs(e) {
3556
3556
  if (typeof e != "object" || e === null) return !1;
@@ -3656,7 +3656,7 @@ function Zr(e, t, r) {
3656
3656
  if (typeof g != "function")
3657
3657
  throw new Error(process.env.NODE_ENV === "production" ? se(10) : "Expected the nextReducer to be a function. Instead, received: '" + Te(g));
3658
3658
  o = g, h({
3659
- type: Yt.REPLACE
3659
+ type: Kt.REPLACE
3660
3660
  });
3661
3661
  }
3662
3662
  function C() {
@@ -3682,18 +3682,18 @@ function Zr(e, t, r) {
3682
3682
  unsubscribe: O
3683
3683
  };
3684
3684
  }
3685
- }, g[Zt] = function() {
3685
+ }, g[Xt] = function() {
3686
3686
  return this;
3687
3687
  }, g;
3688
3688
  }
3689
3689
  return h({
3690
- type: Yt.INIT
3690
+ type: Kt.INIT
3691
3691
  }), n = {
3692
3692
  dispatch: h,
3693
3693
  subscribe: p,
3694
3694
  getState: u,
3695
3695
  replaceReducer: f
3696
- }, n[Zt] = C, n;
3696
+ }, n[Xt] = C, n;
3697
3697
  }
3698
3698
  function N(e, t, ...r) {
3699
3699
  if (Ts() && t === void 0)
@@ -3743,10 +3743,10 @@ function ks(e, t) {
3743
3743
  (r) => t.indexOf(r) > -1
3744
3744
  );
3745
3745
  }
3746
- const Vt = "dnd-core/INIT_COORDS", Qe = "dnd-core/BEGIN_DRAG", Ht = "dnd-core/PUBLISH_DRAG_SOURCE", et = "dnd-core/HOVER", tt = "dnd-core/DROP", rt = "dnd-core/END_DRAG";
3747
- function Kt(e, t) {
3746
+ const Ht = "dnd-core/INIT_COORDS", Qe = "dnd-core/BEGIN_DRAG", At = "dnd-core/PUBLISH_DRAG_SOURCE", et = "dnd-core/HOVER", tt = "dnd-core/DROP", rt = "dnd-core/END_DRAG";
3747
+ function Jt(e, t) {
3748
3748
  return {
3749
- type: Vt,
3749
+ type: Ht,
3750
3750
  payload: {
3751
3751
  sourceClientOffset: t || null,
3752
3752
  clientOffset: e || null
@@ -3754,7 +3754,7 @@ function Kt(e, t) {
3754
3754
  };
3755
3755
  }
3756
3756
  const Ps = {
3757
- type: Vt,
3757
+ type: Ht,
3758
3758
  payload: {
3759
3759
  clientOffset: null,
3760
3760
  sourceClientOffset: null
@@ -3765,7 +3765,7 @@ function Rs(e) {
3765
3765
  publishSource: !0
3766
3766
  }) {
3767
3767
  const { publishSource: o = !0, clientOffset: s, getSourceClientOffset: a } = n, l = e.getMonitor(), c = e.getRegistry();
3768
- e.dispatch(Kt(s)), Ms(r, l, c);
3768
+ e.dispatch(Jt(s)), Ms(r, l, c);
3769
3769
  const d = As(r, l);
3770
3770
  if (d == null) {
3771
3771
  e.dispatch(Ps);
@@ -3777,7 +3777,7 @@ function Rs(e) {
3777
3777
  throw new Error("getSourceClientOffset must be defined");
3778
3778
  Vs(a), u = a(d);
3779
3779
  }
3780
- e.dispatch(Kt(s, u));
3780
+ e.dispatch(Jt(s, u));
3781
3781
  const h = c.getSource(d).beginDrag(l, d);
3782
3782
  if (h == null)
3783
3783
  return;
@@ -3922,7 +3922,7 @@ function Js(e) {
3922
3922
  return function() {
3923
3923
  if (e.getMonitor().isDragging())
3924
3924
  return {
3925
- type: Ht
3925
+ type: At
3926
3926
  };
3927
3927
  };
3928
3928
  }
@@ -3992,11 +3992,11 @@ function ni(e) {
3992
3992
  const { clientOffset: t, initialClientOffset: r } = e;
3993
3993
  return !t || !r ? null : Yr(t, r);
3994
3994
  }
3995
- const Ae = [], At = [];
3995
+ const Ae = [], Ft = [];
3996
3996
  Ae.__IS_NONE__ = !0;
3997
- At.__IS_ALL__ = !0;
3997
+ Ft.__IS_ALL__ = !0;
3998
3998
  function oi(e, t) {
3999
- return e === Ae ? !1 : e === At || typeof t > "u" ? !0 : ks(t, e).length > 0;
3999
+ return e === Ae ? !1 : e === Ft || typeof t > "u" ? !0 : ks(t, e).length > 0;
4000
4000
  }
4001
4001
  class si {
4002
4002
  subscribeToStateChange(t, r = {}) {
@@ -4106,7 +4106,7 @@ class si {
4106
4106
  this.store = t, this.registry = r;
4107
4107
  }
4108
4108
  }
4109
- const Jt = typeof global < "u" ? global : self, Kr = Jt.MutationObserver || Jt.WebKitMutationObserver;
4109
+ const Qt = typeof global < "u" ? global : self, Kr = Qt.MutationObserver || Qt.WebKitMutationObserver;
4110
4110
  function Jr(e) {
4111
4111
  return function() {
4112
4112
  const r = setTimeout(o, 0), n = setInterval(o, 50);
@@ -4228,10 +4228,10 @@ const Qr = new li(), ui = new di(Qr.registerPendingError);
4228
4228
  function fi(e) {
4229
4229
  Qr.enqueueTask(ui.create(e));
4230
4230
  }
4231
- const Ft = "dnd-core/ADD_SOURCE", _t = "dnd-core/ADD_TARGET", zt = "dnd-core/REMOVE_SOURCE", nt = "dnd-core/REMOVE_TARGET";
4231
+ const _t = "dnd-core/ADD_SOURCE", zt = "dnd-core/ADD_TARGET", jt = "dnd-core/REMOVE_SOURCE", nt = "dnd-core/REMOVE_TARGET";
4232
4232
  function pi(e) {
4233
4233
  return {
4234
- type: Ft,
4234
+ type: _t,
4235
4235
  payload: {
4236
4236
  sourceId: e
4237
4237
  }
@@ -4239,7 +4239,7 @@ function pi(e) {
4239
4239
  }
4240
4240
  function hi(e) {
4241
4241
  return {
4242
- type: _t,
4242
+ type: zt,
4243
4243
  payload: {
4244
4244
  targetId: e
4245
4245
  }
@@ -4247,7 +4247,7 @@ function hi(e) {
4247
4247
  }
4248
4248
  function gi(e) {
4249
4249
  return {
4250
- type: zt,
4250
+ type: jt,
4251
4251
  payload: {
4252
4252
  sourceId: e
4253
4253
  }
@@ -4295,7 +4295,7 @@ function wi(e) {
4295
4295
  throw new Error(`Unknown Handler Role: ${e}`);
4296
4296
  }
4297
4297
  }
4298
- function Qt(e) {
4298
+ function er(e) {
4299
4299
  switch (e[0]) {
4300
4300
  case "S":
4301
4301
  return ie.SOURCE;
@@ -4305,7 +4305,7 @@ function Qt(e) {
4305
4305
  throw new Error(`Cannot parse handler ID: ${e}`);
4306
4306
  }
4307
4307
  }
4308
- function er(e, t) {
4308
+ function tr(e, t) {
4309
4309
  const r = e.entries();
4310
4310
  let n = !1;
4311
4311
  do {
@@ -4328,7 +4328,7 @@ class xi {
4328
4328
  return this.store.dispatch(hi(n)), n;
4329
4329
  }
4330
4330
  containsHandler(t) {
4331
- return er(this.dragSources, t) || er(this.dropTargets, t);
4331
+ return tr(this.dragSources, t) || tr(this.dropTargets, t);
4332
4332
  }
4333
4333
  getSource(t, r = !1) {
4334
4334
  return N(this.isSourceId(t), "Expected a valid source ID."), r && t === this.pinnedSourceId ? this.pinnedSource : this.dragSources.get(t);
@@ -4343,10 +4343,10 @@ class xi {
4343
4343
  return N(this.isTargetId(t), "Expected a valid target ID."), this.types.get(t);
4344
4344
  }
4345
4345
  isSourceId(t) {
4346
- return Qt(t) === ie.SOURCE;
4346
+ return er(t) === ie.SOURCE;
4347
4347
  }
4348
4348
  isTargetId(t) {
4349
- return Qt(t) === ie.TARGET;
4349
+ return er(t) === ie.TARGET;
4350
4350
  }
4351
4351
  removeSource(t) {
4352
4352
  N(this.getSource(t), "Expected an existing source."), this.store.dispatch(gi(t)), fi(() => {
@@ -4387,17 +4387,17 @@ function Ii(e = Ae, t) {
4387
4387
  switch (t.type) {
4388
4388
  case et:
4389
4389
  break;
4390
- case Ft:
4391
4390
  case _t:
4392
- case nt:
4393
4391
  case zt:
4392
+ case nt:
4393
+ case jt:
4394
4394
  return Ae;
4395
4395
  case Qe:
4396
- case Ht:
4396
+ case At:
4397
4397
  case rt:
4398
4398
  case tt:
4399
4399
  default:
4400
- return At;
4400
+ return Ft;
4401
4401
  }
4402
4402
  const { targetIds: r = [], prevTargetIds: n = [] } = t.payload, o = Ns(r, n);
4403
4403
  if (!(o.length > 0 || !Li(r, n)))
@@ -4424,15 +4424,15 @@ function Oi(e) {
4424
4424
  }
4425
4425
  return e;
4426
4426
  }
4427
- const tr = {
4427
+ const rr = {
4428
4428
  initialSourceClientOffset: null,
4429
4429
  initialClientOffset: null,
4430
4430
  clientOffset: null
4431
4431
  };
4432
- function Ei(e = tr, t) {
4432
+ function Ei(e = rr, t) {
4433
4433
  const { payload: r } = t;
4434
4434
  switch (t.type) {
4435
- case Vt:
4435
+ case Ht:
4436
4436
  case Qe:
4437
4437
  return {
4438
4438
  initialSourceClientOffset: r.sourceClientOffset,
@@ -4445,7 +4445,7 @@ function Ei(e = tr, t) {
4445
4445
  });
4446
4446
  case rt:
4447
4447
  case tt:
4448
- return tr;
4448
+ return rr;
4449
4449
  default:
4450
4450
  return e;
4451
4451
  }
@@ -4490,7 +4490,7 @@ function Pi(e = ki, t) {
4490
4490
  dropResult: null,
4491
4491
  didDrop: !1
4492
4492
  });
4493
- case Ht:
4493
+ case At:
4494
4494
  return Oe({}, e, {
4495
4495
  isSourcePublic: !0
4496
4496
  });
@@ -4524,10 +4524,10 @@ function Pi(e = ki, t) {
4524
4524
  }
4525
4525
  function Ri(e = 0, t) {
4526
4526
  switch (t.type) {
4527
- case Ft:
4528
4527
  case _t:
4529
- return e + 1;
4530
4528
  case zt:
4529
+ return e + 1;
4530
+ case jt:
4531
4531
  case nt:
4532
4532
  return e - 1;
4533
4533
  default:
@@ -4598,7 +4598,7 @@ function ji(e, t) {
4598
4598
  o = n[s], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
4599
4599
  return r;
4600
4600
  }
4601
- let rr = 0;
4601
+ let nr = 0;
4602
4602
  const Ue = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
4603
4603
  var Bi = /* @__PURE__ */ Tn(function(t) {
4604
4604
  var { children: r } = t, n = zi(t, [
@@ -4608,8 +4608,8 @@ var Bi = /* @__PURE__ */ Tn(function(t) {
4608
4608
  return ne(() => {
4609
4609
  if (s) {
4610
4610
  const a = en();
4611
- return ++rr, () => {
4612
- --rr === 0 && (a[Ue] = null);
4611
+ return ++nr, () => {
4612
+ --nr === 0 && (a[Ue] = null);
4613
4613
  };
4614
4614
  }
4615
4615
  }, []), /* @__PURE__ */ i(qr.Provider, {
@@ -4643,9 +4643,9 @@ function en() {
4643
4643
  function Wi(e) {
4644
4644
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4645
4645
  }
4646
- var at, nr;
4646
+ var at, or;
4647
4647
  function Ui() {
4648
- return nr || (nr = 1, at = function e(t, r) {
4648
+ return or || (or = 1, at = function e(t, r) {
4649
4649
  if (t === r) return !0;
4650
4650
  if (t && r && typeof t == "object" && typeof r == "object") {
4651
4651
  if (t.constructor !== r.constructor) return !1;
@@ -4942,14 +4942,14 @@ function nn(e) {
4942
4942
  }
4943
4943
  }), t;
4944
4944
  }
4945
- function or(e, t) {
4945
+ function sr(e, t) {
4946
4946
  typeof e == "function" ? e(t) : e.current = t;
4947
4947
  }
4948
4948
  function s1(e, t) {
4949
4949
  const r = e.ref;
4950
4950
  return N(typeof r != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), r ? qe(e, {
4951
4951
  ref: (n) => {
4952
- or(r, n), or(t, n);
4952
+ sr(r, n), sr(t, n);
4953
4953
  }
4954
4954
  }) : qe(e, {
4955
4955
  ref: t
@@ -5088,7 +5088,7 @@ class a1 {
5088
5088
  }
5089
5089
  }
5090
5090
  function Me() {
5091
- const { dragDropManager: e } = Sr(qr);
5091
+ const { dragDropManager: e } = Lr(qr);
5092
5092
  return N(e != null, "Expected drag drop context"), e;
5093
5093
  }
5094
5094
  function l1(e, t) {
@@ -5273,7 +5273,7 @@ function on(e, t) {
5273
5273
  g1(o)
5274
5274
  ];
5275
5275
  }
5276
- const sr = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secondary", el = ({
5276
+ const ir = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secondary", el = ({
5277
5277
  id: e,
5278
5278
  children: t,
5279
5279
  cssClass: r,
@@ -5283,7 +5283,7 @@ const sr = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secon
5283
5283
  }) => {
5284
5284
  const a = le(null), l = le(null), c = typeof n == "function" ? n(e) : -1, [{ isDragging: d }, u, p] = h1(
5285
5285
  () => ({
5286
- type: sr,
5286
+ type: ir,
5287
5287
  item: { id: e, originalIndex: c },
5288
5288
  collect: (f) => {
5289
5289
  const C = f.getItem();
@@ -5299,7 +5299,7 @@ const sr = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secon
5299
5299
  [e, c, o]
5300
5300
  ), [, h] = on(
5301
5301
  () => ({
5302
- accept: sr,
5302
+ accept: ir,
5303
5303
  hover: (f) => {
5304
5304
  if (!(!f || f.id === e) && typeof n == "function" && typeof o == "function") {
5305
5305
  const C = n(e);
@@ -5344,7 +5344,7 @@ const sr = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secon
5344
5344
  height: Number(t.size ?? X.size),
5345
5345
  className: t.className
5346
5346
  }
5347
- ), ir = {
5347
+ ), ar = {
5348
5348
  ".bmp": (e) => B(io, e),
5349
5349
  ".cpp": (e) => we(S1, e),
5350
5350
  ".c": (e) => we(L1, e),
@@ -5388,7 +5388,7 @@ const sr = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secon
5388
5388
  const l = (() => {
5389
5389
  const p = e.trim().toLowerCase();
5390
5390
  return p.startsWith(".") ? p : `.${p}`;
5391
- })(), d = (ir[l] ?? ir.default)({
5391
+ })(), d = (ar[l] ?? ar.default)({
5392
5392
  size: t,
5393
5393
  stroke: r
5394
5394
  }), u = s ?? `${l.slice(1).toUpperCase()} file icon`;
@@ -5451,31 +5451,35 @@ const sr = "column", x1 = "flex items-center", D1 = "mr-3 cursor-move text-secon
5451
5451
  }, rl = ({
5452
5452
  name: e,
5453
5453
  cssClass: t,
5454
- shared: r = !1
5455
- }) => /* @__PURE__ */ x("div", { className: _("flex items-center gap-2 w-full", t), children: [
5456
- /* @__PURE__ */ x("span", { className: "inline-flex relative text-secondary", role: "img", children: [
5454
+ shared: r = !1,
5455
+ loading: n = !1
5456
+ }) => {
5457
+ const o = () => n ? /* @__PURE__ */ i(Pt, {}) : /* @__PURE__ */ i(
5458
+ U,
5459
+ {
5460
+ icon: /* @__PURE__ */ i(lo, { ...X }),
5461
+ className: "inline-block align-middle"
5462
+ }
5463
+ );
5464
+ return /* @__PURE__ */ x("div", { className: _("flex items-center gap-2 w-full", t), children: [
5465
+ /* @__PURE__ */ x("span", { className: "inline-flex relative text-secondary", role: "img", children: [
5466
+ o(),
5467
+ r && /* @__PURE__ */ i("span", { className: "absolute -bottom-0.5 -left-0.5", children: /* @__PURE__ */ i(sn, {}) })
5468
+ ] }),
5457
5469
  /* @__PURE__ */ i(
5458
- U,
5470
+ ve,
5459
5471
  {
5460
- icon: /* @__PURE__ */ i(lo, { ...X }),
5461
- className: "inline-block align-middle"
5472
+ cssClass: "text-primary dial-small flex-1 min-w-0",
5473
+ text: e
5462
5474
  }
5463
- ),
5464
- r && /* @__PURE__ */ i("span", { className: "absolute -bottom-0.5 -left-0.5", children: /* @__PURE__ */ i(sn, {}) })
5465
- ] }),
5466
- /* @__PURE__ */ i(
5467
- ve,
5468
- {
5469
- cssClass: "text-primary dial-small flex-1 min-w-0",
5470
- text: e
5471
- }
5472
- )
5473
- ] });
5475
+ )
5476
+ ] });
5477
+ };
5474
5478
  var wt = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(wt || {});
5475
- const ar = () => typeof window < "u" && window.innerWidth < 1024, P1 = () => {
5476
- const [e, t] = G(ar());
5479
+ const lr = () => typeof window < "u" && window.innerWidth < 1024, P1 = () => {
5480
+ const [e, t] = G(lr());
5477
5481
  return ne(() => {
5478
- const r = () => t(ar());
5482
+ const r = () => t(lr());
5479
5483
  return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
5480
5484
  }, []), e;
5481
5485
  };
@@ -5529,20 +5533,20 @@ const M1 = w(
5529
5533
  O || y(m), c?.(m);
5530
5534
  },
5531
5535
  [O, c]
5532
- ), $ = Ir(), I = o === void 0, W = (m) => "clientWidth" in m ? m.clientWidth : m.getBoundingClientRect?.()?.width ?? 0, { refs: z, floatingStyles: M, context: V } = Dt({
5536
+ ), $ = Tr(), I = o === void 0, W = (m) => "clientWidth" in m ? m.clientWidth : m.getBoundingClientRect?.()?.width ?? 0, { refs: z, floatingStyles: M, context: V } = Dt({
5533
5537
  placement: o,
5534
5538
  open: k,
5535
5539
  onOpenChange: R,
5536
- whileElementsMounted: br,
5540
+ whileElementsMounted: yr,
5537
5541
  middleware: [
5538
- mr({ mainAxis: He, crossAxis: 0 }),
5542
+ Cr({ mainAxis: He, crossAxis: 0 }),
5539
5543
  I ? Dn({
5540
5544
  alignment: "start",
5541
5545
  crossAxis: !0,
5542
5546
  padding: He,
5543
5547
  allowedPlacements: g
5544
- }) : Cr({ padding: He }),
5545
- vr({ padding: He }),
5548
+ }) : vr({ padding: He }),
5549
+ br({ padding: He }),
5546
5550
  Sn({
5547
5551
  padding: He,
5548
5552
  apply({ availableWidth: m, availableHeight: H, elements: F }) {
@@ -5559,7 +5563,7 @@ const M1 = w(
5559
5563
  ]
5560
5564
  }), ee = Ln(V, {
5561
5565
  enabled: n.includes(xe.Click) && !s
5562
- }), de = yr(V, {
5566
+ }), de = wr(V, {
5563
5567
  enabled: n.includes(xe.Hover) && !s,
5564
5568
  move: !1,
5565
5569
  restMs: 40,
@@ -5683,7 +5687,7 @@ const M1 = w(
5683
5687
  }
5684
5688
  ),
5685
5689
  k && /* @__PURE__ */ i(Tt, { children: /* @__PURE__ */ i(
5686
- xr,
5690
+ Dr,
5687
5691
  {
5688
5692
  context: V,
5689
5693
  modal: !1,
@@ -5759,7 +5763,7 @@ const M1 = w(
5759
5763
  ]
5760
5764
  }
5761
5765
  );
5762
- }, lr = 12, nl = ({
5766
+ }, cr = 12, nl = ({
5763
5767
  tabs: e,
5764
5768
  activeTab: t,
5765
5769
  onClick: r,
@@ -5784,10 +5788,10 @@ const M1 = w(
5784
5788
  if (!v || !y) return;
5785
5789
  const O = v.offsetLeft, k = O + v.offsetWidth, R = y.scrollLeft, $ = R + y.clientWidth;
5786
5790
  O < R ? y.scrollTo({
5787
- left: O - lr,
5791
+ left: O - cr,
5788
5792
  behavior: "smooth"
5789
5793
  }) : k > $ && y.scrollTo({
5790
- left: k - y.clientWidth + lr,
5794
+ left: k - y.clientWidth + cr,
5791
5795
  behavior: "smooth"
5792
5796
  });
5793
5797
  }, [t]), u ? /* @__PURE__ */ i("div", { className: "h-11 flex items-center bg-layer-3 px-4", children: /* @__PURE__ */ i(
@@ -5887,7 +5891,7 @@ const M1 = w(
5887
5891
  ) })
5888
5892
  ] })
5889
5893
  );
5890
- }, z1 = "w-full overflow-x-auto", j1 = "flex flex-nowrap items-center gap-2 min-w-0 px-0 py-0 whitespace-nowrap", B1 = "flex items-center gap-2 min-w-0 shrink-0 dial-small", cr = "inline-flex items-center gap-1 min-w-0 transition-colors", G1 = "text-secondary hover:text-accent-primary", $1 = "text-primary cursor-default", W1 = "flex-none inline-flex items-center leading-none text-icon-secondary", cn = /* @__PURE__ */ i(uo, { size: 16, "aria-hidden": "true" }), U1 = ({
5894
+ }, z1 = "w-full overflow-x-auto", j1 = "flex flex-nowrap items-center gap-2 min-w-0 px-0 py-0 whitespace-nowrap", B1 = "flex items-center gap-2 min-w-0 shrink-0 dial-small", dr = "inline-flex items-center gap-1 min-w-0 transition-colors", G1 = "text-secondary hover:text-accent-primary", $1 = "text-primary cursor-default", W1 = "flex-none inline-flex items-center leading-none text-icon-secondary", cn = /* @__PURE__ */ i(uo, { size: 16, "aria-hidden": "true" }), U1 = ({
5891
5895
  title: e,
5892
5896
  href: t,
5893
5897
  onClick: r,
@@ -5904,7 +5908,7 @@ const M1 = w(
5904
5908
  "a",
5905
5909
  {
5906
5910
  className: _(
5907
- cr,
5911
+ dr,
5908
5912
  G1,
5909
5913
  c
5910
5914
  ),
@@ -5919,7 +5923,7 @@ const M1 = w(
5919
5923
  "span",
5920
5924
  {
5921
5925
  className: _(
5922
- cr,
5926
+ dr,
5923
5927
  $1,
5924
5928
  n && "pointer-events-none opacity-75",
5925
5929
  c
@@ -5973,7 +5977,7 @@ const M1 = w(
5973
5977
  }) => /* @__PURE__ */ i(
5974
5978
  Q,
5975
5979
  {
5976
- iconBefore: /* @__PURE__ */ i(Nr, { ...X, className: e || "" }),
5980
+ iconBefore: /* @__PURE__ */ i(kr, { ...X, className: e || "" }),
5977
5981
  ...t
5978
5982
  }
5979
5983
  ), X1 = ({
@@ -6188,7 +6192,7 @@ const M1 = w(
6188
6192
  defaultEmptyText: C,
6189
6193
  ...g
6190
6194
  }) => /* @__PURE__ */ i(
6191
- Pt,
6195
+ Rt,
6192
6196
  {
6193
6197
  label: e ?? d,
6194
6198
  error: o ?? u,
@@ -6311,7 +6315,7 @@ const ea = "z-[52] flex items-center justify-center bg-blackout md:p-4", ta = "d
6311
6315
  [Ce.Sm]: "dial-sm-popup",
6312
6316
  [Ce.Md]: "dial-md-popup",
6313
6317
  [Ce.Lg]: "dial-lg-popup"
6314
- }, jt = ({
6318
+ }, Bt = ({
6315
6319
  open: e = !1,
6316
6320
  title: t,
6317
6321
  portalId: r,
@@ -6342,7 +6346,7 @@ const ea = "z-[52] flex items-center justify-center bg-blackout md:p-4", ta = "d
6342
6346
  children: /* @__PURE__ */ i(Le, { tooltip: v, children: v })
6343
6347
  }
6344
6348
  ) : v : /* @__PURE__ */ i("span", {});
6345
- return /* @__PURE__ */ i(Tt, { id: r, children: /* @__PURE__ */ i(In, { className: w(ea, o), children: /* @__PURE__ */ i(xr, { context: h, children: /* @__PURE__ */ x(
6349
+ return /* @__PURE__ */ i(Tt, { id: r, children: /* @__PURE__ */ i(In, { className: w(ea, o), children: /* @__PURE__ */ i(Dr, { context: h, children: /* @__PURE__ */ x(
6346
6350
  "div",
6347
6351
  {
6348
6352
  ref: p.setFloating,
@@ -6374,7 +6378,7 @@ const ea = "z-[52] flex items-center justify-center bg-blackout md:p-4", ta = "d
6374
6378
  ) }) }) });
6375
6379
  };
6376
6380
  var Ke = /* @__PURE__ */ ((e) => (e.Info = "info", e.Danger = "danger", e))(Ke || {});
6377
- const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-150 px-6 py-4", ia = "Cancel", aa = "Ok", dr = {
6381
+ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-150 px-6 py-4", ia = "Cancel", aa = "Ok", ur = {
6378
6382
  [Ke.Info]: {
6379
6383
  confirmVariant: J.Primary,
6380
6384
  cancelVariant: J.Secondary
@@ -6416,14 +6420,14 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6416
6420
  /* @__PURE__ */ i(
6417
6421
  Q,
6418
6422
  {
6419
- variant: dr[g].confirmVariant,
6423
+ variant: ur[g].confirmVariant,
6420
6424
  cssClass: d,
6421
6425
  title: o,
6422
6426
  disable: l,
6423
6427
  onClick: () => p()
6424
6428
  }
6425
6429
  )
6426
- ] }), y = A(() => a ? /* @__PURE__ */ i("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ i(Ur, { size: 50 }) }) : f ?? (t ? /* @__PURE__ */ i(
6430
+ ] }), y = A(() => a ? /* @__PURE__ */ i("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ i(Pt, { size: 50 }) }) : f ?? (t ? /* @__PURE__ */ i(
6427
6431
  "div",
6428
6432
  {
6429
6433
  className: w(sa, r),
@@ -6431,11 +6435,11 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6431
6435
  }
6432
6436
  ) : null), [f, t, a, r]);
6433
6437
  return /* @__PURE__ */ i(
6434
- jt,
6438
+ Bt,
6435
6439
  {
6436
6440
  open: n,
6437
6441
  title: e,
6438
- cssClass: w(dr[g].container, c),
6442
+ cssClass: w(ur[g].container, c),
6439
6443
  dividers: C,
6440
6444
  onClose: () => u?.(),
6441
6445
  footer: b ?? v,
@@ -6452,14 +6456,14 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6452
6456
  t
6453
6457
  ),
6454
6458
  children: e?.map((n) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(Le, { tooltip: n, children: /* @__PURE__ */ i(
6455
- Mt,
6459
+ Vt,
6456
6460
  {
6457
6461
  tag: n,
6458
6462
  cssClass: w([r])
6459
6463
  }
6460
6464
  ) }) }, n))
6461
6465
  }
6462
- ), ur = (e) => /* @__PURE__ */ E.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ E.createElement("path", { d: "M2.25 13.5V12C2.25 11.5858 2.58579 11.25 3 11.25C3.41421 11.25 3.75 11.5858 3.75 12V13.5C3.75 13.6989 3.82907 13.8896 3.96973 14.0303C4.11038 14.1709 4.30109 14.25 4.5 14.25H6C6.41421 14.25 6.75 14.5858 6.75 15C6.75 15.4142 6.41421 15.75 6 15.75H4.5C3.90326 15.75 3.33114 15.5128 2.90918 15.0908C2.48722 14.6689 2.25 14.0967 2.25 13.5ZM14.25 6V4.5C14.25 4.30109 14.1709 4.11038 14.0303 3.96973C13.8896 3.82907 13.6989 3.75 13.5 3.75H12C11.5858 3.75 11.25 3.41421 11.25 3C11.25 2.58579 11.5858 2.25 12 2.25H13.5C14.0967 2.25 14.6689 2.48722 15.0908 2.90918C15.5128 3.33114 15.75 3.90326 15.75 4.5V6C15.75 6.41421 15.4142 6.75 15 6.75C14.5858 6.75 14.25 6.41421 14.25 6Z", fill: "currentColor" })), la = ({
6466
+ ), fr = (e) => /* @__PURE__ */ E.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ E.createElement("path", { d: "M2.25 13.5V12C2.25 11.5858 2.58579 11.25 3 11.25C3.41421 11.25 3.75 11.5858 3.75 12V13.5C3.75 13.6989 3.82907 13.8896 3.96973 14.0303C4.11038 14.1709 4.30109 14.25 4.5 14.25H6C6.41421 14.25 6.75 14.5858 6.75 15C6.75 15.4142 6.41421 15.75 6 15.75H4.5C3.90326 15.75 3.33114 15.5128 2.90918 15.0908C2.48722 14.6689 2.25 14.0967 2.25 13.5ZM14.25 6V4.5C14.25 4.30109 14.1709 4.11038 14.0303 3.96973C13.8896 3.82907 13.6989 3.75 13.5 3.75H12C11.5858 3.75 11.25 3.41421 11.25 3C11.25 2.58579 11.5858 2.25 12 2.25H13.5C14.0967 2.25 14.6689 2.48722 15.0908 2.90918C15.5128 3.33114 15.75 3.90326 15.75 4.5V6C15.75 6.41421 15.4142 6.75 15 6.75C14.5858 6.75 14.25 6.41421 14.25 6Z", fill: "currentColor" })), la = ({
6463
6467
  children: e,
6464
6468
  open: t,
6465
6469
  disabled: r = !1,
@@ -6486,7 +6490,7 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6486
6490
  U,
6487
6491
  {
6488
6492
  icon: /* @__PURE__ */ i(
6489
- ur,
6493
+ fr,
6490
6494
  {
6491
6495
  role: "img",
6492
6496
  width: Ne,
@@ -6521,7 +6525,7 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6521
6525
  U,
6522
6526
  {
6523
6527
  icon: /* @__PURE__ */ i(
6524
- ur,
6528
+ fr,
6525
6529
  {
6526
6530
  role: "img",
6527
6531
  width: Ne,
@@ -6581,7 +6585,7 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6581
6585
  emptyValueText: c,
6582
6586
  onOpen: R,
6583
6587
  children: /* @__PURE__ */ i(
6584
- jt,
6588
+ Bt,
6585
6589
  {
6586
6590
  open: O,
6587
6591
  onClose: $,
@@ -6659,9 +6663,9 @@ const oa = "flex justify-end gap-2 px-6 py-4", sa = "text-secondary dial-small-1
6659
6663
  onClick: () => d()
6660
6664
  }
6661
6665
  )
6662
- ] }), D = A(() => o ? /* @__PURE__ */ i("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ i(Ur, { size: 50 }) }) : p ?? null, [p, o]);
6666
+ ] }), D = A(() => o ? /* @__PURE__ */ i("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ i(Pt, { size: 50 }) }) : p ?? null, [p, o]);
6663
6667
  return /* @__PURE__ */ i(
6664
- jt,
6668
+ Bt,
6665
6669
  {
6666
6670
  open: t,
6667
6671
  title: e,
@@ -7002,7 +7006,7 @@ const fa = {
7002
7006
  ),
7003
7007
  children: [
7004
7008
  u.map((y, O) => /* @__PURE__ */ i(
7005
- Mt,
7009
+ Vt,
7006
7010
  {
7007
7011
  tag: y,
7008
7012
  remove: l ? void 0 : () => v(O)
@@ -7030,14 +7034,14 @@ const fa = {
7030
7034
  ),
7031
7035
  /* @__PURE__ */ i(De, { errorText: s })
7032
7036
  ] });
7033
- }, ba = "dial-input flex px-3 py-2 w-full items-center justify-between gap-2 dial-small min-h-[38px]", ya = "w-full rounded", ut = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-none", wa = "bg-accent-primary-alpha", xa = "bg-accent-primary-alpha border-l border-accent-primary border-1", fr = "opacity-75", Da = /* @__PURE__ */ i(Nt, { size: 16 }), pn = ({
7037
+ }, ba = "dial-input flex px-3 py-2 w-full items-center justify-between gap-2 dial-small min-h-[38px]", ya = "w-full rounded", ut = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-none", wa = "bg-accent-primary-alpha", xa = "bg-accent-primary-alpha border-l border-accent-primary border-1", pr = "opacity-75", Da = /* @__PURE__ */ i(Nt, { size: 16 }), pn = ({
7034
7038
  options: e,
7035
7039
  selectedValues: t,
7036
7040
  handleRemoveTag: r
7037
7041
  }) => /* @__PURE__ */ i("div", { className: "flex flex-wrap w-full items-center gap-1", children: t.map((n) => {
7038
7042
  const o = e.find((a) => a.value === n)?.label ?? n, s = e.find((a) => a.value === n)?.icon;
7039
7043
  return /* @__PURE__ */ i(
7040
- Mt,
7044
+ Vt,
7041
7045
  {
7042
7046
  tag: o,
7043
7047
  remove: (a) => r?.(a, n),
@@ -7065,7 +7069,7 @@ const fa = {
7065
7069
  onClose: g,
7066
7070
  onChange: D
7067
7071
  }) => {
7068
- const [b, v] = G(!1), [y, O] = G(""), k = Ir(), R = r !== void 0, [$, I] = G(n), W = R ? r : $, z = j(() => t ? Array.isArray(W) ? W : [] : typeof W == "string" ? [W] : [], [W, t]), M = j(() => {
7072
+ const [b, v] = G(!1), [y, O] = G(""), k = Tr(), R = r !== void 0, [$, I] = G(n), W = R ? r : $, z = j(() => t ? Array.isArray(W) ? W : [] : typeof W == "string" ? [W] : [], [W, t]), M = j(() => {
7069
7073
  const m = y.trim().toLowerCase();
7070
7074
  return m ? e.filter((H) => H.label.toLowerCase().includes(m)) : e;
7071
7075
  }, [e, y]);
@@ -7163,7 +7167,7 @@ const fa = {
7163
7167
  )
7164
7168
  ] }),
7165
7169
  t && l && Y.length > 0 && /* @__PURE__ */ i("div", { className: w(ut, "mt-2"), children: /* @__PURE__ */ i(
7166
- qt,
7170
+ Zt,
7167
7171
  {
7168
7172
  id: `${k}-selectAll`,
7169
7173
  label: c,
@@ -7176,7 +7180,7 @@ const fa = {
7176
7180
  /* @__PURE__ */ i("div", { className: "overflow-y-auto py-1", children: M.length === 0 ? /* @__PURE__ */ i("div", { className: "px-2 py-3", children: /* @__PURE__ */ i(
7177
7181
  bs,
7178
7182
  {
7179
- icon: p ?? /* @__PURE__ */ i(Er, { size: 24 }),
7183
+ icon: p ?? /* @__PURE__ */ i(Nr, { size: 24 }),
7180
7184
  title: d,
7181
7185
  description: u
7182
7186
  }
@@ -7188,11 +7192,11 @@ const fa = {
7188
7192
  className: w(
7189
7193
  ut,
7190
7194
  H && wa,
7191
- m.disabled && fr,
7195
+ m.disabled && pr,
7192
7196
  "w-full"
7193
7197
  ),
7194
7198
  children: /* @__PURE__ */ i(
7195
- qt,
7199
+ Zt,
7196
7200
  {
7197
7201
  id: `${k}-${m.value}`,
7198
7202
  label: /* @__PURE__ */ x("span", { className: "flex w-full flex-1 min-w-0 items-center gap-2 text-primary", children: [
@@ -7218,7 +7222,7 @@ const fa = {
7218
7222
  className: w(
7219
7223
  ut,
7220
7224
  H && xa,
7221
- m.disabled && fr
7225
+ m.disabled && pr
7222
7226
  ),
7223
7227
  onClick: () => !m.disabled && ee(m.value),
7224
7228
  children: /* @__PURE__ */ x("div", { className: "flex items-center gap-2 w-full", children: [
@@ -7292,7 +7296,7 @@ const fa = {
7292
7296
  }
7293
7297
  }, [d, p.options, u]);
7294
7298
  return /* @__PURE__ */ i(
7295
- Pt,
7299
+ Rt,
7296
7300
  {
7297
7301
  elementId: a,
7298
7302
  label: e,
@@ -7390,9 +7394,9 @@ class Oa {
7390
7394
  this.config = t, this.item = {}, this.initializeExposedProperties();
7391
7395
  }
7392
7396
  }
7393
- const Bt = "__NATIVE_FILE__", gn = "__NATIVE_URL__", mn = "__NATIVE_TEXT__", Cn = "__NATIVE_HTML__", pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7397
+ const Gt = "__NATIVE_FILE__", gn = "__NATIVE_URL__", mn = "__NATIVE_TEXT__", Cn = "__NATIVE_HTML__", hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7394
7398
  __proto__: null,
7395
- FILE: Bt,
7399
+ FILE: Gt,
7396
7400
  HTML: Cn,
7397
7401
  TEXT: mn,
7398
7402
  URL: gn
@@ -7405,7 +7409,7 @@ function ft(e, t, r) {
7405
7409
  return n ?? r;
7406
7410
  }
7407
7411
  const xt = {
7408
- [Bt]: {
7412
+ [Gt]: {
7409
7413
  exposeProperties: {
7410
7414
  files: (e) => Array.prototype.slice.call(e.files),
7411
7415
  items: (e) => e.items,
@@ -7470,7 +7474,7 @@ const Na = hn(
7470
7474
  ), vn = hn(
7471
7475
  () => !!window.safari
7472
7476
  );
7473
- class hr {
7477
+ class gr {
7474
7478
  interpolate(t) {
7475
7479
  const { xs: r, ys: n, c1s: o, c2s: s, c3s: a } = this;
7476
7480
  let l = r.length - 1;
@@ -7559,7 +7563,7 @@ function Ma(e, t, r, n, o) {
7559
7563
  x: r.x - l.x,
7560
7564
  y: r.y - l.y
7561
7565
  }, { offsetWidth: d, offsetHeight: u } = e, { anchorX: p, anchorY: h } = n, { dragPreviewWidth: f, dragPreviewHeight: C } = Ra(s, t, d, u), g = () => {
7562
- let R = new hr([
7566
+ let R = new gr([
7563
7567
  0,
7564
7568
  0.5,
7565
7569
  1
@@ -7572,7 +7576,7 @@ function Ma(e, t, r, n, o) {
7572
7576
  c.y + C - u
7573
7577
  ]).interpolate(h);
7574
7578
  return vn() && s && (R += (window.devicePixelRatio - 1) * C), R;
7575
- }, D = () => new hr([
7579
+ }, D = () => new gr([
7576
7580
  0,
7577
7581
  0.5,
7578
7582
  1
@@ -7616,7 +7620,7 @@ function Ha(e, t, r) {
7616
7620
  writable: !0
7617
7621
  }) : e[t] = r, e;
7618
7622
  }
7619
- function gr(e) {
7623
+ function mr(e) {
7620
7624
  for (var t = 1; t < arguments.length; t++) {
7621
7625
  var r = arguments[t] != null ? arguments[t] : {}, n = Object.keys(r);
7622
7626
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(r).filter(function(o) {
@@ -7698,7 +7702,7 @@ class Aa {
7698
7702
  }
7699
7703
  getCurrentSourceNodeOptions() {
7700
7704
  const t = this.monitor.getSourceId(), r = this.sourceNodeOptions.get(t);
7701
- return gr({
7705
+ return mr({
7702
7706
  dropEffect: this.altKeyPressed ? "copy" : "move"
7703
7707
  }, r || {});
7704
7708
  }
@@ -7707,7 +7711,7 @@ class Aa {
7707
7711
  }
7708
7712
  getCurrentSourcePreviewNodeOptions() {
7709
7713
  const t = this.monitor.getSourceId(), r = this.sourcePreviewNodeOptions.get(t);
7710
- return gr({
7714
+ return mr({
7711
7715
  anchorX: 0.5,
7712
7716
  anchorY: 0.5,
7713
7717
  captureDraggingState: !1
@@ -7715,8 +7719,8 @@ class Aa {
7715
7719
  }
7716
7720
  isDraggingNativeItem() {
7717
7721
  const t = this.monitor.getItemType();
7718
- return Object.keys(pr).some(
7719
- (r) => pr[r] === t
7722
+ return Object.keys(hr).some(
7723
+ (r) => hr[r] === t
7720
7724
  );
7721
7725
  }
7722
7726
  beginDragNativeItem(t, r) {
@@ -7908,7 +7912,7 @@ const Fa = function(t, r, n) {
7908
7912
  }, [o]);
7909
7913
  const [{ isOver: O, canDrop: k }, R] = on(
7910
7914
  () => ({
7911
- accept: [Bt],
7915
+ accept: [Gt],
7912
7916
  drop(M) {
7913
7917
  const V = M.files;
7914
7918
  !d?.(V) && !b(V) && e(V), y();
@@ -8076,7 +8080,7 @@ const Fa = function(t, r, n) {
8076
8080
  {
8077
8081
  variant: J.Tertiary,
8078
8082
  cssClass: "!text-error",
8079
- iconBefore: /* @__PURE__ */ i(Nr, { ...X }),
8083
+ iconBefore: /* @__PURE__ */ i(kr, { ...X }),
8080
8084
  title: d,
8081
8085
  onClick: C
8082
8086
  }
@@ -8143,7 +8147,7 @@ export {
8143
8147
  U1 as DialBreadcrumbItem,
8144
8148
  Q as DialButton,
8145
8149
  Cl as DialButtonDropdown,
8146
- qt as DialCheckbox,
8150
+ Zt as DialCheckbox,
8147
8151
  ln as DialCloseButton,
8148
8152
  Ja as DialCollapsibleSidebar,
8149
8153
  ll as DialConfirmationPopup,
@@ -8156,19 +8160,19 @@ export {
8156
8160
  ul as DialFileManagerNavigationPanel,
8157
8161
  tl as DialFileName,
8158
8162
  rl as DialFolderName,
8159
- Pt as DialFormItem,
8163
+ Rt as DialFormItem,
8160
8164
  dl as DialFormPopup,
8161
8165
  U as DialIcon,
8162
8166
  Fe as DialInput,
8163
8167
  la as DialInputPopup,
8164
8168
  Qa as DialLabelledText,
8165
8169
  ml as DialLoadFileAreaField,
8166
- Ur as DialLoader,
8170
+ Pt as DialLoader,
8167
8171
  bs as DialNoDataContent,
8168
8172
  ol as DialNumberInputField,
8169
8173
  va as DialPasswordInput,
8170
8174
  fl as DialPasswordInputField,
8171
- jt as DialPopup,
8175
+ Bt as DialPopup,
8172
8176
  fs as DialRadioButton,
8173
8177
  vs as DialRadioGroup,
8174
8178
  cl as DialRadioGroupPopupField,
@@ -8181,7 +8185,7 @@ export {
8181
8185
  al as DialSwitch,
8182
8186
  $e as DialTab,
8183
8187
  nl as DialTabs,
8184
- Mt as DialTag,
8188
+ Vt as DialTag,
8185
8189
  hl as DialTagInput,
8186
8190
  il as DialTextAreaField,
8187
8191
  sl as DialTextInputField,
@@ -8194,6 +8198,6 @@ export {
8194
8198
  Je as SearchSize,
8195
8199
  ae as StepStatus,
8196
8200
  wt as TabOrientation,
8197
- Rt as TagVariant,
8201
+ Mt as TagVariant,
8198
8202
  _ as mergeClasses
8199
8203
  };