sud-ui 0.1.2002 → 0.1.2004

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import J0, { createContext as k2, useEffect as z0, useContext as _2, useState as G, useRef as f0, useCallback as F0, useLayoutEffect as w1, useMemo as T0, Children as h2, isValidElement as u2, createElement as i1, useId as p2, cloneElement as y1, forwardRef as R1 } from "react";
1
+ import J0, { createContext as k2, useEffect as z0, useContext as _2, useState as G, useRef as f0, useCallback as F0, useLayoutEffect as w1, useMemo as T0, Children as u2, isValidElement as p2, createElement as i1, useId as f2, cloneElement as y1, forwardRef as R1 } from "react";
2
2
  import { createPortal as f1 } from "react-dom";
3
3
  function F2(s) {
4
4
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
@@ -13,10 +13,10 @@ var k1 = { exports: {} }, m1 = {};
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
- var q1;
16
+ var J1;
17
17
  function z2() {
18
- if (q1) return m1;
19
- q1 = 1;
18
+ if (J1) return m1;
19
+ J1 = 1;
20
20
  var s = Symbol.for("react.transitional.element"), c = Symbol.for("react.fragment");
21
21
  function n(l, o, a) {
22
22
  var d = null;
@@ -45,9 +45,9 @@ var v1 = {};
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
47
  */
48
- var J1;
48
+ var Q1;
49
49
  function T2() {
50
- return J1 || (J1 = 1, process.env.NODE_ENV !== "production" && function() {
50
+ return Q1 || (Q1 = 1, process.env.NODE_ENV !== "production" && function() {
51
51
  function s(r) {
52
52
  if (r == null) return null;
53
53
  if (typeof r == "function")
@@ -278,9 +278,9 @@ React keys must be passed directly to JSX without using spread:
278
278
  };
279
279
  }()), v1;
280
280
  }
281
- var Q1;
281
+ var e2;
282
282
  function $2() {
283
- return Q1 || (Q1 = 1, process.env.NODE_ENV === "production" ? k1.exports = z2() : k1.exports = T2()), k1.exports;
283
+ return e2 || (e2 = 1, process.env.NODE_ENV === "production" ? k1.exports = z2() : k1.exports = T2()), k1.exports;
284
284
  }
285
285
  var t = $2();
286
286
  const e1 = {
@@ -879,8 +879,8 @@ const e1 = {
879
879
  neutral: { bg: "neutral-5", txt: "neutral-2", border: "neutral-6" }
880
880
  }
881
881
  }
882
- }, f2 = k2(e1), h0 = () => {
883
- const s = _2(f2);
882
+ }, x2 = k2(e1), h0 = () => {
883
+ const s = _2(x2);
884
884
  return s || e1;
885
885
  }, O2 = ({
886
886
  theme: s = e1,
@@ -921,7 +921,7 @@ const e1 = {
921
921
  return z0(() => {
922
922
  const Z = n ? "#000000" : "#ffffff", i = n ? "#ffffff" : "#000000";
923
923
  document.body.style.backgroundColor = Z, document.body.style.color = i;
924
- }, [n]), /* @__PURE__ */ t.jsx(f2.Provider, { value: o, children: l });
924
+ }, [n]), /* @__PURE__ */ t.jsx(x2.Provider, { value: o, children: l });
925
925
  }, i0 = ({
926
926
  border: s = !0,
927
927
  fallback: c = "default",
@@ -1148,14 +1148,14 @@ const e1 = {
1148
1148
  if (u || O(Y), g == null || g(Y), !Y && (r(!1), w.current)) {
1149
1149
  const Q = j1.get(w.current);
1150
1150
  Q && Q.forEach((d0) => {
1151
- var y0, o0;
1151
+ var j0, o0;
1152
1152
  const g0 = Array.from(F1).find(
1153
1153
  (k0) => {
1154
1154
  var $0, _0;
1155
1155
  return ((_0 = ($0 = k0.current) == null ? void 0 : $0.popupInstance) == null ? void 0 : _0.id) === d0;
1156
1156
  }
1157
1157
  );
1158
- (o0 = (y0 = g0 == null ? void 0 : g0.current) == null ? void 0 : y0.popupInstance) != null && o0.hide && g0.current.popupInstance.hide();
1158
+ (o0 = (j0 = g0 == null ? void 0 : g0.current) == null ? void 0 : j0.popupInstance) != null && o0.hide && g0.current.popupInstance.hide();
1159
1159
  });
1160
1160
  }
1161
1161
  },
@@ -1178,9 +1178,9 @@ const e1 = {
1178
1178
  const { bgColor: K, txtColor: W, borColor: q } = i0({
1179
1179
  border: j,
1180
1180
  fallback: N
1181
- }), J = x ? L(x, I) : K, p0 = C ? L(C, I) : W, x0 = F ? L(F, I) : q, j0 = j && x0 ? `${p}px ${M} ${x0}` : "none", b0 = O0(_, I), S0 = I0(S), B0 = F0(() => {
1181
+ }), J = x ? L(x, I) : K, p0 = C ? L(C, I) : W, x0 = F ? L(F, I) : q, b0 = j && x0 ? `${p}px ${M} ${x0}` : "none", y0 = O0(_, I), S0 = I0(S), B0 = F0(() => {
1182
1182
  if (!A.current || !w.current) return {};
1183
- const Y = A.current.getBoundingClientRect(), Q = w.current.getBoundingClientRect(), d0 = window.scrollY || document.documentElement.scrollTop, g0 = window.scrollX || document.documentElement.scrollLeft, y0 = {
1183
+ const Y = A.current.getBoundingClientRect(), Q = w.current.getBoundingClientRect(), d0 = window.scrollY || document.documentElement.scrollTop, g0 = window.scrollX || document.documentElement.scrollLeft, j0 = {
1184
1184
  position: "absolute",
1185
1185
  zIndex: 1e3,
1186
1186
  transition: "opacity 0.2s ease"
@@ -1218,7 +1218,7 @@ const e1 = {
1218
1218
  default:
1219
1219
  o0 = {};
1220
1220
  }
1221
- return { ...y0, ...o0 };
1221
+ return { ...j0, ...o0 };
1222
1222
  }, [o]);
1223
1223
  w1(() => {
1224
1224
  if (b && w.current && A.current && !T) {
@@ -1246,7 +1246,7 @@ const e1 = {
1246
1246
  }, [b, B, B0]);
1247
1247
  const X = F0(
1248
1248
  ({ type: Y = "background" }) => {
1249
- const Q = Y === "border", d0 = x0 && p > 0, g0 = c1 * 2 + (d0 ? p * 2 : 0), y0 = Math.sqrt(p * p * 2), o0 = !Q && d0 ? y0 : 0, k0 = {
1249
+ const Q = Y === "border", d0 = x0 && p > 0, g0 = c1 * 2 + (d0 ? p * 2 : 0), j0 = Math.sqrt(p * p * 2), o0 = !Q && d0 ? j0 : 0, k0 = {
1250
1250
  bottom: `linear-gradient(135deg, ${J} 50%, transparent 50%)`,
1251
1251
  top: `linear-gradient(-45deg, ${J} 50%, transparent 50%)`,
1252
1252
  left: `linear-gradient(225deg, ${J} 50%, transparent 50%)`,
@@ -1257,11 +1257,11 @@ const e1 = {
1257
1257
  position: "absolute",
1258
1258
  transform: "rotate(45deg)",
1259
1259
  zIndex: Q ? 1 : 3,
1260
- border: Q ? j0 : void 0,
1260
+ border: Q ? b0 : void 0,
1261
1261
  borderRadius: "2px 0 0 0",
1262
1262
  background: Q ? void 0 : k0[o],
1263
1263
  backgroundColor: Q ? x0 ?? J : void 0,
1264
- boxShadow: Q ? b0 : void 0
1264
+ boxShadow: Q ? y0 : void 0
1265
1265
  }, _0 = {
1266
1266
  bottom: {
1267
1267
  top: `-${c1 - o0}px`,
@@ -1290,16 +1290,16 @@ const e1 = {
1290
1290
  o,
1291
1291
  J,
1292
1292
  x0,
1293
- j0,
1293
+ b0,
1294
1294
  p,
1295
- b0
1295
+ y0
1296
1296
  ]
1297
1297
  );
1298
1298
  return z0(() => {
1299
1299
  if (l !== "hover") return;
1300
1300
  const Y = (Q) => {
1301
1301
  var k0, $0;
1302
- const d0 = document.elementFromPoint(Q.clientX, Q.clientY), g0 = (k0 = A.current) == null ? void 0 : k0.contains(d0), y0 = ($0 = w.current) == null ? void 0 : $0.contains(d0), o0 = L2(
1302
+ const d0 = document.elementFromPoint(Q.clientX, Q.clientY), g0 = (k0 = A.current) == null ? void 0 : k0.contains(d0), j0 = ($0 = w.current) == null ? void 0 : $0.contains(d0), o0 = L2(
1303
1303
  w,
1304
1304
  d0,
1305
1305
  D1,
@@ -1309,7 +1309,7 @@ const e1 = {
1309
1309
  g0 && P();
1310
1310
  return;
1311
1311
  }
1312
- !g0 && !y0 && !o0 ? v.current || (v.current = setTimeout(() => {
1312
+ !g0 && !j0 && !o0 ? v.current || (v.current = setTimeout(() => {
1313
1313
  D();
1314
1314
  }, 100)) : (clearTimeout(v.current), v.current = null);
1315
1315
  };
@@ -1380,12 +1380,12 @@ const e1 = {
1380
1380
  style: {
1381
1381
  backgroundColor: J,
1382
1382
  color: p0,
1383
- border: j0,
1383
+ border: b0,
1384
1384
  padding: "8px",
1385
1385
  width: "max-content",
1386
1386
  whiteSpace: "nowrap",
1387
1387
  ...S0,
1388
- boxShadow: b0,
1388
+ boxShadow: y0,
1389
1389
  zIndex: 2,
1390
1390
  position: "relative"
1391
1391
  },
@@ -1429,7 +1429,7 @@ const e1 = {
1429
1429
  ]
1430
1430
  }
1431
1431
  );
1432
- }, e2 = {
1432
+ }, t2 = {
1433
1433
  xs: 56,
1434
1434
  sm: 72,
1435
1435
  md: 98,
@@ -1463,7 +1463,7 @@ const e1 = {
1463
1463
  onKeyDown: S,
1464
1464
  tabIndex: _ = 0
1465
1465
  }) => {
1466
- const N = h0(), k = e2[o] || e2.md, { bgColor: B, txtColor: $, borColor: R } = i0({
1466
+ const N = h0(), k = t2[o] || t2.md, { bgColor: B, txtColor: $, borColor: R } = i0({
1467
1467
  border: i,
1468
1468
  componentType: "tag",
1469
1469
  fallback: d
@@ -1646,7 +1646,7 @@ M1.Group = ({
1646
1646
  );
1647
1647
  };
1648
1648
  M1.Group.displayName = "Avatar.Group";
1649
- const t2 = {
1649
+ const s2 = {
1650
1650
  "top-right": { top: 0, right: 0, transform: "translate(50%, -50%)" },
1651
1651
  "top-left": { top: 0, left: 0, transform: "translate(-50%, -50%)" },
1652
1652
  "bottom-right": { bottom: 0, right: 0, transform: "translate(50%, 50%)" },
@@ -1676,7 +1676,7 @@ const t2 = {
1676
1676
  border: Z,
1677
1677
  fallback: a,
1678
1678
  componentType: "tag"
1679
- }), $ = d ? L(d, _) : k, R = g ? L(g, _) : N, H = i ? L(i, _) : B, I = Z && H ? `${x}px ${h} ${H}` : "none", z = typeof s == "number" && typeof c == "number" && s > c ? `${c}+` : s, O = n || s != null && (s !== 0 || l), A = t2[o] || t2["top-right"], V = () => S || (n ? "알림 표시" : typeof s == "number" ? `${s}개의 알림` : "알림");
1679
+ }), $ = d ? L(d, _) : k, R = g ? L(g, _) : N, H = i ? L(i, _) : B, I = Z && H ? `${x}px ${h} ${H}` : "none", z = typeof s == "number" && typeof c == "number" && s > c ? `${c}+` : s, O = n || s != null && (s !== 0 || l), A = s2[o] || s2["top-right"], V = () => S || (n ? "알림 표시" : typeof s == "number" ? `${s}개의 알림` : "알림");
1680
1680
  return /* @__PURE__ */ t.jsxs(
1681
1681
  "div",
1682
1682
  {
@@ -1716,9 +1716,9 @@ const t2 = {
1716
1716
  }
1717
1717
  );
1718
1718
  };
1719
- var O1 = { exports: {} }, B2 = O1.exports, s2;
1719
+ var O1 = { exports: {} }, B2 = O1.exports, r2;
1720
1720
  function D2() {
1721
- return s2 || (s2 = 1, function(s, c) {
1721
+ return r2 || (r2 = 1, function(s, c) {
1722
1722
  (function(n, l) {
1723
1723
  s.exports = l();
1724
1724
  })(B2, function() {
@@ -1864,13 +1864,13 @@ function D2() {
1864
1864
  }, v.format = function(m) {
1865
1865
  var y = this, f = this.$locale();
1866
1866
  if (!this.isValid()) return f.invalidDate || M;
1867
- var T = m || "YYYY-MM-DDTHH:mm:ssZ", r = O.z(this), u = this.$H, b = this.$m, E = this.$M, P = f.weekdays, D = f.months, U = f.meridiem, K = function(J, p0, x0, j0) {
1868
- return J && (J[p0] || J(y, T)) || x0[p0].slice(0, j0);
1867
+ var T = m || "YYYY-MM-DDTHH:mm:ssZ", r = O.z(this), u = this.$H, b = this.$m, E = this.$M, P = f.weekdays, D = f.months, U = f.meridiem, K = function(J, p0, x0, b0) {
1868
+ return J && (J[p0] || J(y, T)) || x0[p0].slice(0, b0);
1869
1869
  }, W = function(J) {
1870
1870
  return O.s(u % 12 || 12, J, "0");
1871
1871
  }, q = U || function(J, p0, x0) {
1872
- var j0 = J < 12 ? "AM" : "PM";
1873
- return x0 ? j0.toLowerCase() : j0;
1872
+ var b0 = J < 12 ? "AM" : "PM";
1873
+ return x0 ? b0.toLowerCase() : b0;
1874
1874
  };
1875
1875
  return T.replace(S, function(J, p0) {
1876
1876
  return p0 || function(x0) {
@@ -1995,7 +1995,7 @@ function D2() {
1995
1995
  }(O1)), O1.exports;
1996
1996
  }
1997
1997
  var A2 = D2();
1998
- const n0 = /* @__PURE__ */ F2(A2), r2 = {
1998
+ const n0 = /* @__PURE__ */ F2(A2), c2 = {
1999
1999
  weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
2000
2000
  months: [
2001
2001
  "January",
@@ -2033,7 +2033,7 @@ const n0 = /* @__PURE__ */ F2(A2), r2 = {
2033
2033
  yearFormat: (s) => `${s.year()}년`,
2034
2034
  monthFormat: (s) => `${s.month() + 1}월`,
2035
2035
  today: "오늘"
2036
- }, c2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
2036
+ }, l2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
2037
2037
  if (!s) return;
2038
2038
  const c = document.createElement("div"), n = s.getBoundingClientRect();
2039
2039
  c.style.position = "absolute", c.style.top = 0, c.style.left = 0, c.style.width = `${n.width}px`, c.style.height = `${n.height}px`, c.style.borderRadius = s.style.borderRadius || "50%", c.style.pointerEvents = "none", c.style.background = "rgba(0, 0, 0, 0.1)", c.style.transform = "scale(1)", c.style.transformOrigin = "center center", c.style.opacity = "1", c.style.transition = "transform 0.3s ease-out, opacity 0.3s ease-out", c.style.zIndex = 9999, s.style.position = s.style.position || "relative", s.appendChild(c), requestAnimationFrame(() => {
@@ -2041,7 +2041,7 @@ const n0 = /* @__PURE__ */ F2(A2), r2 = {
2041
2041
  }), setTimeout(() => {
2042
2042
  c.remove();
2043
2043
  }, 400);
2044
- }, U1 = (s) => {
2044
+ }, W1 = (s) => {
2045
2045
  s.style.transition = "transform 0.15s ease-out", s.style.transform = "scale(1.1)", setTimeout(() => {
2046
2046
  s.style.transition = "transform 0.1s ease-in", s.style.transform = "scale(0.95)", setTimeout(() => {
2047
2047
  s.style.transition = "transform 0.1s ease-in-out", s.style.transform = "scale(1)";
@@ -2178,7 +2178,7 @@ const n0 = /* @__PURE__ */ F2(A2), r2 = {
2178
2178
  {
2179
2179
  className: l0(
2180
2180
  "sud-button__spinner",
2181
- c2(F)
2181
+ l2(F)
2182
2182
  ),
2183
2183
  style: {
2184
2184
  borderColor: w,
@@ -2221,7 +2221,7 @@ const n0 = /* @__PURE__ */ F2(A2), r2 = {
2221
2221
  {
2222
2222
  className: l0(
2223
2223
  "sud-button__spinner",
2224
- c2(F)
2224
+ l2(F)
2225
2225
  ),
2226
2226
  style: {
2227
2227
  borderColor: w,
@@ -2246,10 +2246,10 @@ var A1 = { exports: {} }, b1 = {};
2246
2246
  * This source code is licensed under the MIT license found in the
2247
2247
  * LICENSE file in the root directory of this source tree.
2248
2248
  */
2249
- var l2;
2249
+ var n2;
2250
2250
  function V2() {
2251
- if (l2) return b1;
2252
- l2 = 1;
2251
+ if (n2) return b1;
2252
+ n2 = 1;
2253
2253
  var s = Symbol.for("react.transitional.element"), c = Symbol.for("react.fragment");
2254
2254
  function n(l, o, a) {
2255
2255
  var d = null;
@@ -2278,9 +2278,9 @@ var T1 = {};
2278
2278
  * This source code is licensed under the MIT license found in the
2279
2279
  * LICENSE file in the root directory of this source tree.
2280
2280
  */
2281
- var n2;
2281
+ var o2;
2282
2282
  function P2() {
2283
- return n2 || (n2 = 1, process.env.NODE_ENV !== "production" && function() {
2283
+ return o2 || (o2 = 1, process.env.NODE_ENV !== "production" && function() {
2284
2284
  function s(r) {
2285
2285
  if (r == null) return null;
2286
2286
  if (typeof r == "function")
@@ -2511,9 +2511,9 @@ React keys must be passed directly to JSX without using spread:
2511
2511
  };
2512
2512
  }()), T1;
2513
2513
  }
2514
- var o2;
2514
+ var a2;
2515
2515
  function Y2() {
2516
- return o2 || (o2 = 1, process.env.NODE_ENV === "production" ? A1.exports = V2() : A1.exports = P2()), A1.exports;
2516
+ return a2 || (a2 = 1, process.env.NODE_ENV === "production" ? A1.exports = V2() : A1.exports = P2()), A1.exports;
2517
2517
  }
2518
2518
  var e = Y2();
2519
2519
  const U2 = {
@@ -3444,9 +3444,9 @@ const J2 = {
3444
3444
  }, {});
3445
3445
  u0.CheckBoxFill;
3446
3446
  u0.CheckBoxOutline;
3447
- const x2 = u0.CheckCircleFill;
3447
+ const g2 = u0.CheckCircleFill;
3448
3448
  u0.CheckCircleOutline;
3449
- const g2 = u0.XMarkCircleFill;
3449
+ const m2 = u0.XMarkCircleFill;
3450
3450
  u0.XMarkCircleOutline;
3451
3451
  u0.EyeOutline;
3452
3452
  u0.EyeFill;
@@ -4624,7 +4624,7 @@ const n9 = r0.TrashOutline, o9 = r0.TrashFill, a9 = r0.Check;
4624
4624
  r0.ArrowClockwise;
4625
4625
  r0.ArrowCounterClockwise;
4626
4626
  r0.AngleUp;
4627
- const B1 = r0.AngleDown, m2 = r0.AngleLeft, W1 = r0.AngleRight;
4627
+ const B1 = r0.AngleDown, v2 = r0.AngleLeft, X1 = r0.AngleRight;
4628
4628
  r0.AngleDoubleUp;
4629
4629
  r0.AngleDoubleDown;
4630
4630
  const i9 = r0.AngleDoubleLeft, d9 = r0.AngleDoubleRight;
@@ -5813,9 +5813,9 @@ const Z1 = ({
5813
5813
  ariaDescribedby: y
5814
5814
  }) => {
5815
5815
  var t1, o1;
5816
- const f = h0(), [T, r] = G(!1), [u, b] = G(""), [E, P] = G(null), [D, U] = G(-1), [K, W] = G(!1), q = f0(null), J = f0(null), p0 = f0(null), x0 = f0([]), j0 = A.filter(
5816
+ const f = h0(), [T, r] = G(!1), [u, b] = G(""), [E, P] = G(null), [D, U] = G(-1), [K, W] = G(!1), q = f0(null), J = f0(null), p0 = f0(null), x0 = f0([]), b0 = A.filter(
5817
5817
  (e0) => e0.label.toLowerCase().includes(u.toLowerCase())
5818
- ), b0 = F0((e0) => {
5818
+ ), y0 = F0((e0) => {
5819
5819
  var R0;
5820
5820
  (R0 = q.current) != null && R0.contains(e0.target) || r(!1);
5821
5821
  }, []), S0 = F0((e0) => {
@@ -5835,17 +5835,17 @@ const Z1 = ({
5835
5835
  case "ArrowDown":
5836
5836
  e0.preventDefault(), (X0 = J.current) == null || X0.focus(), U((M0) => {
5837
5837
  const w0 = M0 + 1;
5838
- return w0 >= j0.length ? 0 : w0;
5838
+ return w0 >= b0.length ? 0 : w0;
5839
5839
  });
5840
5840
  break;
5841
5841
  case "ArrowUp":
5842
5842
  e0.preventDefault(), (G0 = J.current) == null || G0.focus(), U((M0) => {
5843
5843
  const w0 = M0 - 1;
5844
- return w0 < 0 ? j0.length - 1 : w0;
5844
+ return w0 < 0 ? b0.length - 1 : w0;
5845
5845
  });
5846
5846
  break;
5847
5847
  case "Enter":
5848
- e0.preventDefault(), D >= 0 && D < j0.length && X(j0[D]);
5848
+ e0.preventDefault(), D >= 0 && D < b0.length && X(b0[D]);
5849
5849
  break;
5850
5850
  case "Escape":
5851
5851
  e0.preventDefault(), r(!1);
@@ -5863,11 +5863,11 @@ const Z1 = ({
5863
5863
  break;
5864
5864
  }
5865
5865
  },
5866
- [T, D, j0, u, z, h, A]
5866
+ [T, D, b0, u, z, h, A]
5867
5867
  );
5868
- z0(() => (document.addEventListener("mousedown", b0), document.addEventListener("keydown", S0), () => {
5869
- document.removeEventListener("mousedown", b0), document.removeEventListener("keydown", S0);
5870
- }), [b0, S0]), z0(() => {
5868
+ z0(() => (document.addEventListener("mousedown", y0), document.addEventListener("keydown", S0), () => {
5869
+ document.removeEventListener("mousedown", y0), document.removeEventListener("keydown", S0);
5870
+ }), [y0, S0]), z0(() => {
5871
5871
  T && D >= 0 && x0.current[D] && x0.current[D].scrollIntoView({
5872
5872
  block: "nearest"
5873
5873
  });
@@ -5894,8 +5894,8 @@ const Z1 = ({
5894
5894
  "typeStyles:",
5895
5895
  (o1 = (t1 = f.components) == null ? void 0 : t1.input) == null ? void 0 : o1[k ? "danger" : S]
5896
5896
  );
5897
- const y0 = s ? L(s, f) : Q;
5898
- console.log("finalBgColor:", y0);
5897
+ const j0 = s ? L(s, f) : Q;
5898
+ console.log("finalBgColor:", j0);
5899
5899
  const o0 = c ? L(c, f) : d0, k0 = l ? L(l, f) : g0, $0 = n && k0 ? `${a}px ${o} ${k0}` : "none", _0 = I0(C, f), L0 = O0(j, f), D0 = {
5900
5900
  sm: { height: 32, fontSize: 14, padding: "4px" },
5901
5901
  md: { height: 38, fontSize: 16, padding: "6px" },
@@ -5953,7 +5953,7 @@ const Z1 = ({
5953
5953
  style: {
5954
5954
  display: "flex",
5955
5955
  alignItems: "center",
5956
- backgroundColor: $ ? L("cool-gray-1", f) : y0,
5956
+ backgroundColor: $ ? L("cool-gray-1", f) : j0,
5957
5957
  color: $ ? L("cool-gray-3", f) : o0,
5958
5958
  ..._0,
5959
5959
  width: "100%",
@@ -6121,10 +6121,10 @@ const Z1 = ({
6121
6121
  boxShadow: O0("md", f),
6122
6122
  color: o0,
6123
6123
  zIndex: 100,
6124
- background: y0,
6124
+ background: j0,
6125
6125
  ...H
6126
6126
  },
6127
- children: j0.length === 0 ? /* @__PURE__ */ t.jsx(
6127
+ children: b0.length === 0 ? /* @__PURE__ */ t.jsx(
6128
6128
  "div",
6129
6129
  {
6130
6130
  className: "sud-select__empty",
@@ -6137,7 +6137,7 @@ const Z1 = ({
6137
6137
  },
6138
6138
  children: "검색 결과가 없습니다"
6139
6139
  }
6140
- ) : j0.map((e0, R0) => {
6140
+ ) : b0.map((e0, R0) => {
6141
6141
  const W0 = z ? h == null ? void 0 : h.includes(e0.value) : h === e0.value;
6142
6142
  return /* @__PURE__ */ t.jsx(
6143
6143
  "div",
@@ -6156,7 +6156,7 @@ const Z1 = ({
6156
6156
  padding: "8px 12px",
6157
6157
  cursor: "pointer",
6158
6158
  fontSize: D0.fontSize,
6159
- backgroundColor: W0 ? L("cool-gray-2", f) : y0
6159
+ backgroundColor: W0 ? L("cool-gray-2", f) : j0
6160
6160
  },
6161
6161
  children: e0.label
6162
6162
  },
@@ -6256,7 +6256,7 @@ const Z1 = ({
6256
6256
  })
6257
6257
  }
6258
6258
  );
6259
- }, j9 = (s) => s ? s === "ko" ? H2 : s === "en" ? r2 : s : r2, b9 = {
6259
+ }, j9 = (s) => s ? s === "ko" ? H2 : s === "en" ? c2 : s : c2, b9 = {
6260
6260
  sm: {
6261
6261
  headerFontSize: 16,
6262
6262
  navButtonSize: 16,
@@ -6325,12 +6325,12 @@ const Z1 = ({
6325
6325
  }) => {
6326
6326
  const A = h0(), V = j9(i), [w, v] = G(b9[I]), [m, y] = G(n0(s || /* @__PURE__ */ new Date())), [f, T] = G(
6327
6327
  R ? n0(R) : null
6328
- ), [r, u] = G(H ? n0(H) : null), [b, E] = G(null), [P, D] = G(n0(s || /* @__PURE__ */ new Date())), [U, K] = G(l), [W, q] = G(!1), [J, p0] = G(m.year()), [x0, j0] = G(m.month()), [b0, S0] = G(m.date()), [B0, X] = G(!1), Y = () => {
6328
+ ), [r, u] = G(H ? n0(H) : null), [b, E] = G(null), [P, D] = G(n0(s || /* @__PURE__ */ new Date())), [U, K] = G(l), [W, q] = G(!1), [J, p0] = G(m.year()), [x0, b0] = G(m.month()), [y0, S0] = G(m.date()), [B0, X] = G(!1), Y = () => {
6329
6329
  X(!0), setTimeout(() => X(!1), 150);
6330
6330
  }, Q = (c0, m0, U0) => {
6331
6331
  const Z0 = n0(new Date(c0, m0, U0));
6332
- p0(c0), j0(m0), S0(U0), y(Z0), D(Z0);
6333
- }, d0 = n0().year(), g0 = Array.from({ length: 201 }, (c0, m0) => d0 - 100 + m0), y0 = Array.from({ length: 12 }, (c0, m0) => m0), o0 = m.daysInMonth(), k0 = Array.from({ length: o0 }, (c0, m0) => m0 + 1);
6332
+ p0(c0), b0(m0), S0(U0), y(Z0), D(Z0);
6333
+ }, d0 = n0().year(), g0 = Array.from({ length: 201 }, (c0, m0) => d0 - 100 + m0), j0 = Array.from({ length: 12 }, (c0, m0) => m0), o0 = m.daysInMonth(), k0 = Array.from({ length: o0 }, (c0, m0) => m0 + 1);
6334
6334
  z0(() => {
6335
6335
  s && (D(n0(s)), y(n0(s)));
6336
6336
  }, [s]), z0(() => {
@@ -6510,7 +6510,7 @@ const Z1 = ({
6510
6510
  N1,
6511
6511
  {
6512
6512
  value: m.year(),
6513
- onChange: (c0) => Q(c0, x0, b0),
6513
+ onChange: (c0) => Q(c0, x0, y0),
6514
6514
  options: g0.map((c0) => ({
6515
6515
  label: `${c0}년`,
6516
6516
  value: c0
@@ -6523,8 +6523,8 @@ const Z1 = ({
6523
6523
  N1,
6524
6524
  {
6525
6525
  value: m.month(),
6526
- onChange: (c0) => Q(J, c0, b0),
6527
- options: y0.map((c0) => ({
6526
+ onChange: (c0) => Q(J, c0, y0),
6527
+ options: j0.map((c0) => ({
6528
6528
  label: V.monthFormat(n0().month(c0)),
6529
6529
  value: c0
6530
6530
  })),
@@ -6813,7 +6813,7 @@ const Z1 = ({
6813
6813
  gap: 2
6814
6814
  },
6815
6815
  children: a1.map((r1) => {
6816
- var K1;
6816
+ var q1;
6817
6817
  return /* @__PURE__ */ t.jsxs(
6818
6818
  Z1,
6819
6819
  {
@@ -6843,7 +6843,7 @@ const Z1 = ({
6843
6843
  style: {
6844
6844
  color: "inherit",
6845
6845
  fontSize: w.itemFontSize,
6846
- ...(K1 = r1.itemProps) == null ? void 0 : K1.style
6846
+ ...(q1 = r1.itemProps) == null ? void 0 : q1.style
6847
6847
  },
6848
6848
  ...r1.itemProps,
6849
6849
  children: r1.content
@@ -6998,8 +6998,8 @@ const Z1 = ({
6998
6998
  className: h,
6999
6999
  style: x,
7000
7000
  navBtn: C = !0,
7001
- leftBtnIcon: j = /* @__PURE__ */ t.jsx(m2, { size: 30 }),
7002
- rightBtnIcon: F = /* @__PURE__ */ t.jsx(W1, { size: 30 }),
7001
+ leftBtnIcon: j = /* @__PURE__ */ t.jsx(v2, { size: 30 }),
7002
+ rightBtnIcon: F = /* @__PURE__ */ t.jsx(X1, { size: 30 }),
7003
7003
  effectType: M = "fade"
7004
7004
  // "overlap" | "fade" | "slide" | "scale" | "stack"
7005
7005
  }) => {
@@ -7820,7 +7820,7 @@ const Z1 = ({
7820
7820
  }
7821
7821
  }
7822
7822
  );
7823
- }, v2 = ({
7823
+ }, j2 = ({
7824
7824
  value: s,
7825
7825
  defaultValue: c,
7826
7826
  onChange: n,
@@ -7842,7 +7842,7 @@ const Z1 = ({
7842
7842
  key: b.key,
7843
7843
  label: b.label,
7844
7844
  content: b.children || null
7845
- })) : h2.toArray(o).filter((b) => u2(b) && b.type === X1).map((b, E) => ({
7845
+ })) : u2.toArray(o).filter((b) => p2(b) && b.type === G1).map((b, E) => ({
7846
7846
  key: b.props.tabKey || `tab-${E}`,
7847
7847
  label: b.props.label,
7848
7848
  content: b.props.children
@@ -7985,10 +7985,10 @@ const Z1 = ({
7985
7985
  ]
7986
7986
  }
7987
7987
  );
7988
- }, X1 = ({ children: s, label: c }) => s;
7989
- v2.TabPane = X1;
7990
- v2.displayName = "Tabs";
7991
- X1.displayName = "Tabs.TabPane";
7988
+ }, G1 = ({ children: s, label: c }) => s;
7989
+ j2.TabPane = G1;
7990
+ j2.displayName = "Tabs";
7991
+ G1.displayName = "Tabs.TabPane";
7992
7992
  const c4 = ({
7993
7993
  children: s,
7994
7994
  // Tooltip의 트리거 역할
@@ -8055,7 +8055,7 @@ const c4 = ({
8055
8055
  }
8056
8056
  }
8057
8057
  );
8058
- }, j2 = ({
8058
+ }, V1 = ({
8059
8059
  description: s = "No Data",
8060
8060
  style: c = {},
8061
8061
  className: n = ""
@@ -8190,7 +8190,7 @@ const c4 = ({
8190
8190
  role: "button",
8191
8191
  "aria-label": "이전 페이지로 이동",
8192
8192
  "aria-disabled": s === 1,
8193
- children: /* @__PURE__ */ t.jsx(m2, { size: "12" })
8193
+ children: /* @__PURE__ */ t.jsx(v2, { size: "12" })
8194
8194
  }),
8195
8195
  ...C.map(j),
8196
8196
  o && i1("div", {
@@ -8208,7 +8208,7 @@ const c4 = ({
8208
8208
  role: "button",
8209
8209
  "aria-label": "다음 페이지로 이동",
8210
8210
  "aria-disabled": s === x,
8211
- children: /* @__PURE__ */ t.jsx(W1, { size: "12" })
8211
+ children: /* @__PURE__ */ t.jsx(X1, { size: "12" })
8212
8212
  }),
8213
8213
  a && i1("div", {
8214
8214
  key: "last",
@@ -8576,7 +8576,7 @@ const c4 = ({
8576
8576
  }
8577
8577
  ),
8578
8578
  l && Z.startsWith("bottom") && T(Z)
8579
- ] }) : /* @__PURE__ */ t.jsx("div", { style: { padding: "40px 0" }, children: /* @__PURE__ */ t.jsx(j2, { description: g }) })
8579
+ ] }) : /* @__PURE__ */ t.jsx("div", { style: { padding: "40px 0" }, children: /* @__PURE__ */ t.jsx(V1, { description: g }) })
8580
8580
  }
8581
8581
  );
8582
8582
  }, w9 = `
@@ -8940,6 +8940,8 @@ const n4 = ({
8940
8940
  onChange: k,
8941
8941
  emptyText: B = "데이터가 없습니다"
8942
8942
  }) => {
8943
+ if (s.length === 0 || c.length === 0)
8944
+ return /* @__PURE__ */ t.jsx(V1, { description: B });
8943
8945
  const $ = h0(), [R, H] = G(null), [I, z] = G((N == null ? void 0 : N.current) || 1), O = (N == null ? void 0 : N.pageSize) || 10, A = (N == null ? void 0 : N.total) || c.length, {
8944
8946
  bgColor: V,
8945
8947
  txtColor: w,
@@ -8960,14 +8962,14 @@ const n4 = ({
8960
8962
  [n]
8961
8963
  ), P = T0(() => {
8962
8964
  if (!R) return c;
8963
- const { columnKey: X, order: Y } = R, Q = s.find((y0) => (y0.dataIndex || y0.key) === X);
8965
+ const { columnKey: X, order: Y } = R, Q = s.find((j0) => (j0.dataIndex || j0.key) === X);
8964
8966
  if (!Q) return c;
8965
- const d0 = Q.sorter === !0 ? (y0, o0) => {
8966
- const k0 = y0[X], $0 = o0[X];
8967
+ const d0 = Q.sorter === !0 ? (j0, o0) => {
8968
+ const k0 = j0[X], $0 = o0[X];
8967
8969
  return typeof k0 == "number" ? k0 - $0 : String(k0).localeCompare(String($0));
8968
8970
  } : Q.sorter;
8969
- return [...c].sort((y0, o0) => {
8970
- const k0 = d0(y0, o0);
8971
+ return [...c].sort((j0, o0) => {
8972
+ const k0 = d0(j0, o0);
8971
8973
  return Y === "ascend" ? k0 : -k0;
8972
8974
  });
8973
8975
  }, [c, R, s]), D = T0(() => {
@@ -9006,13 +9008,13 @@ const n4 = ({
9006
9008
  x0(d0);
9007
9009
  }
9008
9010
  }, [P, S]);
9009
- const j0 = T0(
9011
+ const b0 = T0(
9010
9012
  () => ({
9011
9013
  borderTopLeftRadius: r.borderRadius,
9012
9014
  borderTopRightRadius: r.borderRadius
9013
9015
  }),
9014
9016
  [r.borderRadius]
9015
- ), b0 = T0(
9017
+ ), y0 = T0(
9016
9018
  () => ({
9017
9019
  borderBottomLeftRadius: r.borderRadius,
9018
9020
  borderBottomRightRadius: r.borderRadius
@@ -9021,8 +9023,8 @@ const n4 = ({
9021
9023
  ), S0 = T0(() => {
9022
9024
  const X = s.reduce((Y, Q) => Y + (Q.col || (Q.width ? 0 : 1)), 0);
9023
9025
  return s.map((Y) => {
9024
- let Q;
9025
- return Y.width ? typeof Y.width == "number" ? Q = `${Y.width}px` : typeof Y.width == "string" ? Q = /^\d+$/.test(Y.width) ? `${Y.width}px` : Y.width : Q = "auto" : Q = `${(Y.col || 1) / X * 100}%`, {
9026
+ let Q = "auto";
9027
+ return Y.width ? typeof Y.width == "number" ? Q = `${Y.width}px` : typeof Y.width == "string" && (Q = /^\d+$/.test(Y.width) ? `${Y.width}px` : Y.width) : X > 0 && (Q = `${(Y.col || 1) / X * 100}%`), {
9026
9028
  ...Y,
9027
9029
  width: Q
9028
9030
  };
@@ -9051,7 +9053,7 @@ const n4 = ({
9051
9053
  overflow: "hidden",
9052
9054
  paddingRight: `${p0}px`,
9053
9055
  background: V,
9054
- ...j0
9056
+ ...b0
9055
9057
  },
9056
9058
  children: /* @__PURE__ */ t.jsxs(
9057
9059
  "table",
@@ -9073,7 +9075,7 @@ const n4 = ({
9073
9075
  Y
9074
9076
  )) }),
9075
9077
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsx("tr", { children: S0.map((X, Y) => {
9076
- const Q = X.dataIndex || X.key, d0 = (R == null ? void 0 : R.columnKey) === Q, g0 = d0 ? R.order : null, y0 = X.align || "left";
9078
+ const Q = X.dataIndex || X.key, d0 = (R == null ? void 0 : R.columnKey) === Q, g0 = d0 ? R.order : null, j0 = X.align || "left";
9077
9079
  return /* @__PURE__ */ t.jsx(
9078
9080
  "th",
9079
9081
  {
@@ -9085,12 +9087,12 @@ const n4 = ({
9085
9087
  X.className
9086
9088
  ),
9087
9089
  style: {
9088
- textAlign: y0,
9090
+ textAlign: j0,
9089
9091
  background: V,
9090
9092
  color: w,
9091
9093
  borderBottom: y,
9092
- borderLeft: Y === 0 ? void 0 : y,
9093
- borderRight: Y === s.length - 1 ? void 0 : y,
9094
+ borderLeft: Y === 0 ? "none" : y,
9095
+ borderRight: Y === s.length - 1 ? "none" : y,
9094
9096
  fontSize: T.fontSize,
9095
9097
  padding: b,
9096
9098
  cursor: X.sorter ? "pointer" : "default"
@@ -9106,7 +9108,8 @@ const n4 = ({
9106
9108
  style: {
9107
9109
  display: "flex",
9108
9110
  alignItems: "center",
9109
- gap: 4
9111
+ gap: 4,
9112
+ justifyContent: j0 === "center" ? "center" : j0 === "right" ? "flex-end" : "flex-start"
9110
9113
  },
9111
9114
  children: [
9112
9115
  /* @__PURE__ */ t.jsx(
@@ -9162,7 +9165,7 @@ const n4 = ({
9162
9165
  {
9163
9166
  ref: J,
9164
9167
  className: l0("sud-table__body", j),
9165
- style: { maxHeight: S, overflow: "auto", ...b0 },
9168
+ style: { maxHeight: S, overflow: "auto", ...y0 },
9166
9169
  role: "presentation",
9167
9170
  tabIndex: 0,
9168
9171
  "aria-label": "테이블 본문",
@@ -9176,11 +9179,11 @@ const n4 = ({
9176
9179
  alignItems: "center",
9177
9180
  minHeight: "200px",
9178
9181
  background: V,
9179
- ...b0
9182
+ ...y0
9180
9183
  },
9181
9184
  role: "alert",
9182
9185
  "aria-live": "polite",
9183
- children: /* @__PURE__ */ t.jsx(j2, { description: B })
9186
+ children: /* @__PURE__ */ t.jsx(V1, { description: B })
9184
9187
  }
9185
9188
  ) : /* @__PURE__ */ t.jsxs(
9186
9189
  "table",
@@ -9202,7 +9205,7 @@ const n4 = ({
9202
9205
  Y
9203
9206
  )) }),
9204
9207
  /* @__PURE__ */ t.jsx("tbody", { children: D.map((X, Y) => {
9205
- const Q = E(X, Y), d0 = L(X.background, $) || "transparent", g0 = L(X.color, $) || "inherit", y0 = L(X.borderColor, $) || m, o0 = g ? `${h}px ${i} ${y0}` : "none";
9208
+ const Q = E(X, Y), d0 = L(X.background, $) || "transparent", g0 = L(X.color, $) || "inherit", j0 = L(X.borderColor, $) || m, o0 = g ? `${h}px ${i} ${j0}` : "none";
9206
9209
  return /* @__PURE__ */ t.jsx(
9207
9210
  "tr",
9208
9211
  {
@@ -9229,8 +9232,8 @@ const n4 = ({
9229
9232
  background: d0,
9230
9233
  color: g0,
9231
9234
  borderBottom: o0,
9232
- borderLeft: $0 === 0 ? void 0 : o0,
9233
- borderRight: $0 === s.length - 1 ? void 0 : o0,
9235
+ borderLeft: $0 === 0 ? "none" : o0,
9236
+ borderRight: $0 === s.length - 1 ? "none" : o0,
9234
9237
  fontSize: T.fontSize,
9235
9238
  padding: b
9236
9239
  },
@@ -9276,7 +9279,7 @@ const n4 = ({
9276
9279
  }
9277
9280
  );
9278
9281
  };
9279
- function V1({
9282
+ function P1({
9280
9283
  checked: s,
9281
9284
  defaultChecked: c,
9282
9285
  onChange: n,
@@ -9299,7 +9302,7 @@ function V1({
9299
9302
  }), p = a ? L(a, F) : M, [S, _] = G(c || !1), [N, k] = G(!1), B = s !== void 0, $ = B ? s : S, R = l === "top" || l === "bottom", H = f0(), I = f0(), z = N || $ ? p : L("cool-gray-3", F), O = (A) => {
9300
9303
  if (A.stopPropagation(), d) return;
9301
9304
  const V = !$;
9302
- B || _(V), n == null || n(V), H.current && S1(H.current), I.current && U1(I.current);
9305
+ B || _(V), n == null || n(V), H.current && S1(H.current), I.current && W1(I.current);
9303
9306
  };
9304
9307
  return /* @__PURE__ */ t.jsxs(
9305
9308
  "label",
@@ -9373,7 +9376,7 @@ function V1({
9373
9376
  }
9374
9377
  );
9375
9378
  }
9376
- V1.Group = function({
9379
+ P1.Group = function({
9377
9380
  options: c = [],
9378
9381
  value: n = [],
9379
9382
  onChange: l,
@@ -9408,7 +9411,7 @@ V1.Group = function({
9408
9411
  "aria-label": C,
9409
9412
  "aria-required": j,
9410
9413
  children: c.map(({ value: _, label: N }) => /* @__PURE__ */ t.jsx(
9411
- V1,
9414
+ P1,
9412
9415
  {
9413
9416
  checked: n.includes(_),
9414
9417
  onChange: () => M(_),
@@ -9423,7 +9426,7 @@ V1.Group = function({
9423
9426
  }
9424
9427
  );
9425
9428
  };
9426
- V1.Group.displayName = "Checkbox.Group";
9429
+ P1.Group.displayName = "Checkbox.Group";
9427
9430
  const E0 = ({
9428
9431
  background: s,
9429
9432
  color: c,
@@ -9472,7 +9475,7 @@ const E0 = ({
9472
9475
  border: n,
9473
9476
  fallback: T ? "danger" : m,
9474
9477
  componentType: "input"
9475
- }), q = s ? L(s, D) : U, J = c ? L(c, D) : K, p0 = l ? L(l, D) : W, x0 = n && p0 ? `${a}px ${o} ${p0}` : "none", j0 = I0(R, D), b0 = O0(H, D), S0 = {
9478
+ }), q = s ? L(s, D) : U, J = c ? L(c, D) : K, p0 = l ? L(l, D) : W, x0 = n && p0 ? `${a}px ${o} ${p0}` : "none", b0 = I0(R, D), y0 = O0(H, D), S0 = {
9476
9479
  sm: { height: 32, fontSize: 14, padding: "4px" },
9477
9480
  md: { height: 38, fontSize: 16, padding: "6px" },
9478
9481
  lg: { height: 42, fontSize: 18, padding: "8px" }
@@ -9535,10 +9538,10 @@ const E0 = ({
9535
9538
  alignItems: "center",
9536
9539
  backgroundColor: j ? L("cool-gray-1", D) : q,
9537
9540
  color: j ? L("cool-gray-3", D) : J,
9538
- ...j0,
9541
+ ...b0,
9539
9542
  width: "100%",
9540
9543
  padding: S0.padding,
9541
- boxShadow: b0,
9544
+ boxShadow: y0,
9542
9545
  ...d ? {
9543
9546
  border: "none",
9544
9547
  borderRadius: 0,
@@ -10041,7 +10044,7 @@ const _9 = ({
10041
10044
  };
10042
10045
  E0.OTP = _9;
10043
10046
  E0.OTP.displayName = "Input.OTP";
10044
- const a2 = ({
10047
+ const i2 = ({
10045
10048
  min: s = 0,
10046
10049
  max: c = 100,
10047
10050
  value: n = 0,
@@ -10073,7 +10076,7 @@ const a2 = ({
10073
10076
  ariaLabel: A,
10074
10077
  ariaValueText: V
10075
10078
  }) => {
10076
- const w = h0(), v = f0(null), m = f0(null), [y, f] = G(!1), [T, r] = G(n), u = p2(), b = O || u, { bgColor: E, borColor: P } = i0({
10079
+ const w = h0(), v = f0(null), m = f0(null), [y, f] = G(!1), [T, r] = G(n), u = f2(), b = O || u, { bgColor: E, borColor: P } = i0({
10077
10080
  border: Z,
10078
10081
  fallback: S,
10079
10082
  componentType: "button"
@@ -10088,8 +10091,8 @@ const a2 = ({
10088
10091
  }, {
10089
10092
  width: p0,
10090
10093
  height: x0,
10091
- thumb: j0,
10092
- fontSize: b0
10094
+ thumb: b0,
10095
+ fontSize: y0
10093
10096
  } = a ? q[$] : J[$], S0 = F || p0, B0 = M || x0, X = (T - s) / (c - s) * 100;
10094
10097
  z0(() => {
10095
10098
  y || r(n);
@@ -10116,7 +10119,7 @@ const a2 = ({
10116
10119
  window.removeEventListener("mousemove", d0), window.removeEventListener("mouseup", g0);
10117
10120
  };
10118
10121
  }, [y, d0]);
10119
- const y0 = (_0) => {
10122
+ const j0 = (_0) => {
10120
10123
  if (d) return;
10121
10124
  let L0 = T;
10122
10125
  switch (_0.key) {
@@ -10166,8 +10169,8 @@ const a2 = ({
10166
10169
  boxShadow: D,
10167
10170
  background: L(R || "white-10", w),
10168
10171
  borderRadius: "50%",
10169
- width: `${j0}px`,
10170
- height: `${j0}px`,
10172
+ width: `${b0}px`,
10173
+ height: `${b0}px`,
10171
10174
  transform: "translate(-50%, -50%)",
10172
10175
  top: a ? `${100 - X}%` : "50%",
10173
10176
  left: a ? "50%" : `${X}%`,
@@ -10181,8 +10184,8 @@ const a2 = ({
10181
10184
  border: "2px solid transparent",
10182
10185
  borderRadius: "50%",
10183
10186
  background: "transparent",
10184
- width: `${j0}px`,
10185
- height: `${j0}px`,
10187
+ width: `${b0}px`,
10188
+ height: `${b0}px`,
10186
10189
  transform: "translate(-50%, -50%)",
10187
10190
  top: a ? `${100 - X}%` : "50%",
10188
10191
  left: a ? "50%" : `${X}%`,
@@ -10246,7 +10249,7 @@ const a2 = ({
10246
10249
  "aria-orientation": a ? "vertical" : "horizontal",
10247
10250
  "aria-disabled": d,
10248
10251
  id: b,
10249
- onKeyDown: y0,
10252
+ onKeyDown: j0,
10250
10253
  style: k0,
10251
10254
  onMouseDown: Q,
10252
10255
  children: /* @__PURE__ */ t.jsx(
@@ -10254,8 +10257,8 @@ const a2 = ({
10254
10257
  {
10255
10258
  className: "sud-slider__thumb-inner",
10256
10259
  style: {
10257
- width: `${j0 - 10}px`,
10258
- height: `${j0 - 10}px`,
10260
+ width: `${b0 - 10}px`,
10261
+ height: `${b0 - 10}px`,
10259
10262
  borderRadius: "50%",
10260
10263
  background: U,
10261
10264
  display: "flex",
@@ -10304,7 +10307,7 @@ const a2 = ({
10304
10307
  height: a ? B0 : "auto",
10305
10308
  marginLeft: a ? 8 : 0,
10306
10309
  marginTop: a ? 0 : 8,
10307
- fontSize: b0,
10310
+ fontSize: y0,
10308
10311
  color: L(d ? "cool-gray-3" : "cool-gray-9", w)
10309
10312
  },
10310
10313
  children: [
@@ -10340,7 +10343,7 @@ const a2 = ({
10340
10343
  ]
10341
10344
  }
10342
10345
  );
10343
- }, G1 = ({
10346
+ }, K1 = ({
10344
10347
  children: s,
10345
10348
  title: c,
10346
10349
  trigger: n = "click",
@@ -10374,7 +10377,7 @@ const a2 = ({
10374
10377
  A || O(r), d == null || d(r);
10375
10378
  },
10376
10379
  [A, d]
10377
- ), v = () => k === "primary" ? /* @__PURE__ */ t.jsx(x2, {}) : k === "danger" ? /* @__PURE__ */ t.jsx(g2, {}) : k === "warning" ? /* @__PURE__ */ t.jsx(I1, {}) : null, m = () => c ? /* @__PURE__ */ t.jsxs("div", { className: "sud-popconfirm__title flex item-cen jus-sta gap-8 fs-16", children: [
10380
+ ), v = () => k === "primary" ? /* @__PURE__ */ t.jsx(g2, {}) : k === "danger" ? /* @__PURE__ */ t.jsx(m2, {}) : k === "warning" ? /* @__PURE__ */ t.jsx(I1, {}) : null, m = () => c ? /* @__PURE__ */ t.jsxs("div", { className: "sud-popconfirm__title flex item-cen jus-sta gap-8 fs-16", children: [
10378
10381
  v(),
10379
10382
  typeof c == "string" ? /* @__PURE__ */ t.jsx(
10380
10383
  s0,
@@ -10448,7 +10451,7 @@ const a2 = ({
10448
10451
  function z9(s, c, n) {
10449
10452
  return "#" + [s, c, n].map((l) => l.toString(16).padStart(2, "0")).join("").toUpperCase();
10450
10453
  }
10451
- function i2(s) {
10454
+ function d2(s) {
10452
10455
  const c = s.replace("#", ""), n = parseInt(c, 16), l = n >> 16 & 255, o = n >> 8 & 255, a = n & 255;
10453
10456
  return { r: l, g: o, b: a };
10454
10457
  }
@@ -10503,7 +10506,7 @@ const o4 = ({
10503
10506
  [c, $]
10504
10507
  );
10505
10508
  z0(() => {
10506
- v(i2(s));
10509
+ v(d2(s));
10507
10510
  }, [s]);
10508
10511
  const m = F0(
10509
10512
  (y) => {
@@ -10515,7 +10518,7 @@ const o4 = ({
10515
10518
  [k, v]
10516
10519
  );
10517
10520
  return /* @__PURE__ */ t.jsx(
10518
- G1,
10521
+ K1,
10519
10522
  {
10520
10523
  trigger: o,
10521
10524
  open: n,
@@ -10623,7 +10626,7 @@ const o4 = ({
10623
10626
  const f = y.target.value;
10624
10627
  S(f);
10625
10628
  try {
10626
- v(i2(f));
10629
+ v(d2(f));
10627
10630
  } catch {
10628
10631
  }
10629
10632
  },
@@ -10746,7 +10749,7 @@ const o4 = ({
10746
10749
  }
10747
10750
  ),
10748
10751
  /* @__PURE__ */ t.jsx(
10749
- a2,
10752
+ i2,
10750
10753
  {
10751
10754
  min: 0,
10752
10755
  max: 360,
@@ -10762,7 +10765,7 @@ const o4 = ({
10762
10765
  }
10763
10766
  ),
10764
10767
  /* @__PURE__ */ t.jsx(
10765
- a2,
10768
+ i2,
10766
10769
  {
10767
10770
  min: 0,
10768
10771
  max: 100,
@@ -10862,7 +10865,7 @@ const o4 = ({
10862
10865
  }));
10863
10866
  }, V = j ? i == null ? void 0 : i.startDate : void 0, w = j ? i == null ? void 0 : i.endDate : void 0;
10864
10867
  return /* @__PURE__ */ t.jsx(
10865
- G1,
10868
+ K1,
10866
10869
  {
10867
10870
  title: null,
10868
10871
  footer: null,
@@ -10917,7 +10920,7 @@ const o4 = ({
10917
10920
  }
10918
10921
  );
10919
10922
  };
10920
- function P1({
10923
+ function Y1({
10921
10924
  checked: s,
10922
10925
  defaultChecked: c,
10923
10926
  onChange: n,
@@ -10939,7 +10942,7 @@ function P1({
10939
10942
  }), M = a ? L(a, j) : F, [p, S] = G(c || !1), [_, N] = G(!1), k = s !== void 0, B = k ? s : p, $ = l === "top" || l === "bottom", R = f0(), H = f0(), I = _ || B ? M : L("cool-gray-3", j), z = (O) => {
10940
10943
  if (O.stopPropagation(), d || B) return;
10941
10944
  const A = !0;
10942
- k || S(A), n == null || n(A), R.current && S1(R.current), H.current && U1(H.current);
10945
+ k || S(A), n == null || n(A), R.current && S1(R.current), H.current && W1(H.current);
10943
10946
  };
10944
10947
  return /* @__PURE__ */ t.jsxs(
10945
10948
  "label",
@@ -11012,7 +11015,7 @@ function P1({
11012
11015
  }
11013
11016
  );
11014
11017
  }
11015
- P1.Group = function({
11018
+ Y1.Group = function({
11016
11019
  options: c = [],
11017
11020
  value: n = null,
11018
11021
  onChange: l,
@@ -11046,7 +11049,7 @@ P1.Group = function({
11046
11049
  "aria-label": C,
11047
11050
  "aria-required": j,
11048
11051
  children: c.map(({ value: _, label: N }) => /* @__PURE__ */ t.jsx(
11049
- P1,
11052
+ Y1,
11050
11053
  {
11051
11054
  checked: n === _,
11052
11055
  onChange: () => M(_),
@@ -11063,7 +11066,7 @@ P1.Group = function({
11063
11066
  }
11064
11067
  );
11065
11068
  };
11066
- P1.Group.displayName = "Radio.Group";
11069
+ Y1.Group.displayName = "Radio.Group";
11067
11070
  const i4 = ({
11068
11071
  count: s = 5,
11069
11072
  allowHalf: c = !0,
@@ -11217,10 +11220,10 @@ const i4 = ({
11217
11220
  id: M,
11218
11221
  ariaLabel: p
11219
11222
  }) => {
11220
- const S = h0(), [_, N] = G(c || !1), k = s !== void 0, B = k ? s : _, $ = f0(), R = p2(), H = M || R, I = (T) => {
11223
+ const S = h0(), [_, N] = G(c || !1), k = s !== void 0, B = k ? s : _, $ = f0(), R = f2(), H = M || R, I = (T) => {
11221
11224
  if (l) return;
11222
11225
  const r = !B;
11223
- k || N(r), n == null || n(r), $.current && U1($.current), S1(T.currentTarget);
11226
+ k || N(r), n == null || n(r), $.current && W1($.current), S1(T.currentTarget);
11224
11227
  }, z = (T) => {
11225
11228
  l || (T.key === "Enter" || T.key === " ") && (T.preventDefault(), I(T));
11226
11229
  }, O = O0(h, S), { bgColor: A } = i0({
@@ -11299,7 +11302,7 @@ const i4 = ({
11299
11302
  fontSize: y * 0.5,
11300
11303
  transition: "all 0.25s ease"
11301
11304
  },
11302
- children: u2(B ? Z : i) ? y1(B ? Z : i, {
11305
+ children: p2(B ? Z : i) ? y1(B ? Z : i, {
11303
11306
  color: B ? V : w
11304
11307
  }) : B ? Z : i
11305
11308
  }
@@ -11390,8 +11393,8 @@ const i4 = ({
11390
11393
  V(K), M(q);
11391
11394
  const J = (p0) => p0.hour && p0.minute && (!o || p0.second);
11392
11395
  if (!p && J(q.startTime)) {
11393
- const p0 = y(K.startTime.hour, K.startTime.ampm), x0 = K.startTime.minute, j0 = o ? K.startTime.second : 0, b0 = n0().hour(p0).minute(x0).second(j0).toDate();
11394
- c == null || c(b0);
11396
+ const p0 = y(K.startTime.hour, K.startTime.ampm), x0 = K.startTime.minute, b0 = o ? K.startTime.second : 0, y0 = n0().hour(p0).minute(x0).second(b0).toDate();
11397
+ c == null || c(y0);
11395
11398
  }
11396
11399
  if (p && h === 0 && J(q.startTime) && (x(1), j("hour")), p && h === 1 && J(q.endTime)) {
11397
11400
  let p0 = n0().hour(y(K.startTime.hour, K.startTime.ampm)).minute(K.startTime.minute).second(o ? K.startTime.second : 0), x0 = n0().hour(y(K.endTime.hour, K.endTime.ampm)).minute(K.endTime.minute).second(o ? K.endTime.second : 0);
@@ -11414,8 +11417,8 @@ const i4 = ({
11414
11417
  }), E = (D, U, K) => {
11415
11418
  const W = p && h === 1 ? "endTime" : "startTime";
11416
11419
  return /* @__PURE__ */ t.jsx("div", { style: { flex: 1, overflowY: "auto", maxHeight: 160, padding: 4 }, children: U.map((q) => {
11417
- var b0;
11418
- const J = q.toString().padStart(2, "0"), p0 = (b0 = A[W]) == null ? void 0 : b0[K], x0 = p0 != null && p0 === q, j0 = Z && Z[K] === q;
11420
+ var y0;
11421
+ const J = q.toString().padStart(2, "0"), p0 = (y0 = A[W]) == null ? void 0 : y0[K], x0 = p0 != null && p0 === q, b0 = Z && Z[K] === q;
11419
11422
  return /* @__PURE__ */ t.jsx(
11420
11423
  "div",
11421
11424
  {
@@ -11425,7 +11428,7 @@ const i4 = ({
11425
11428
  style: {
11426
11429
  padding: "6px 12px",
11427
11430
  cursor: "pointer",
11428
- backgroundColor: x0 ? r : j0 ? b : "transparent",
11431
+ backgroundColor: x0 ? r : b0 ? b : "transparent",
11429
11432
  borderRadius: 6,
11430
11433
  textAlign: "center"
11431
11434
  },
@@ -11554,7 +11557,7 @@ const i4 = ({
11554
11557
  }));
11555
11558
  }, m = j ? i == null ? void 0 : i.startTime : void 0, y = j ? i == null ? void 0 : i.endTime : void 0;
11556
11559
  return /* @__PURE__ */ t.jsx(
11557
- G1,
11560
+ K1,
11558
11561
  {
11559
11562
  title: null,
11560
11563
  footer: null,
@@ -11609,13 +11612,13 @@ const i4 = ({
11609
11612
  }, N9 = (s, c) => {
11610
11613
  switch (s) {
11611
11614
  case "success":
11612
- return /* @__PURE__ */ t.jsx(x2, { size: 18, color: c });
11615
+ return /* @__PURE__ */ t.jsx(g2, { size: 18, color: c });
11613
11616
  case "danger":
11614
11617
  return /* @__PURE__ */ t.jsx(I1, { size: 18, color: c });
11615
11618
  case "info":
11616
11619
  return /* @__PURE__ */ t.jsx("div", { style: { transform: "rotate(180deg)" }, children: /* @__PURE__ */ t.jsx(I1, { size: 18, color: c }) });
11617
11620
  case "warning":
11618
- return /* @__PURE__ */ t.jsx(g2, { size: 18, color: c });
11621
+ return /* @__PURE__ */ t.jsx(m2, { size: 18, color: c });
11619
11622
  default:
11620
11623
  return null;
11621
11624
  }
@@ -11823,9 +11826,9 @@ const E1 = {
11823
11826
  listColorType: J = "default",
11824
11827
  listErrorColorType: p0 = "red",
11825
11828
  listHoverColorType: x0 = "sky",
11826
- listDeleteColorType: j0 = "rose"
11829
+ listDeleteColorType: b0 = "rose"
11827
11830
  }) => {
11828
- const b0 = h0(), S0 = f0(), [B0, X] = G(g), [Y, Q] = G(!1), [d0, g0] = G(!1), y0 = d !== void 0, o0 = y0 ? d : B0, k0 = f0(/* @__PURE__ */ new Set());
11831
+ const y0 = h0(), S0 = f0(), [B0, X] = G(g), [Y, Q] = G(!1), [d0, g0] = G(!1), j0 = d !== void 0, o0 = j0 ? d : B0, k0 = f0(/* @__PURE__ */ new Set());
11829
11832
  z0(() => () => {
11830
11833
  k0.current.forEach((M0) => URL.revokeObjectURL(M0)), k0.current.clear();
11831
11834
  }, []);
@@ -11835,7 +11838,7 @@ const E1 = {
11835
11838
  }, []), _0 = i0({
11836
11839
  fallback: a ? "disabled" : I,
11837
11840
  border: E
11838
- }), L0 = I0(u, b0), D0 = O0(b, b0), H0 = z ? L(z, b0) : _0.bgColor, Y0 = O ? L(O, b0) : _0.txtColor, t1 = A ? L(A, b0) : _0.borColor, o1 = {
11841
+ }), L0 = I0(u, y0), D0 = O0(b, y0), H0 = z ? L(z, y0) : _0.bgColor, Y0 = O ? L(O, y0) : _0.txtColor, t1 = A ? L(A, y0) : _0.borColor, o1 = {
11839
11842
  background: H0,
11840
11843
  color: Y0,
11841
11844
  border: E ? `${w}px ${V} ${t1}` : "none",
@@ -11859,13 +11862,13 @@ const E1 = {
11859
11862
  }
11860
11863
  }
11861
11864
  const Q0 = l ? [...o0, ...w0] : w0;
11862
- y0 || X(Q0), h(Q0), Q(!1), S0.current && (S0.current.value = "");
11865
+ j0 || X(Q0), h(Q0), Q(!1), S0.current && (S0.current.value = "");
11863
11866
  }, W0 = F0(
11864
11867
  (M0) => {
11865
11868
  const w0 = o0.filter((Q0, l1) => l1 !== M0);
11866
- y0 || X(w0), x == null || x(w0);
11869
+ j0 || X(w0), x == null || x(w0);
11867
11870
  },
11868
- [o0, y0, x]
11871
+ [o0, j0, x]
11869
11872
  ), X0 = {
11870
11873
  children: H,
11871
11874
  colorType: I,
@@ -11891,10 +11894,10 @@ const E1 = {
11891
11894
  role: q,
11892
11895
  disabled: a
11893
11896
  }, G0 = {
11894
- ...I0(_, b0),
11897
+ ...I0(_, y0),
11895
11898
  border: M ? `${S}px ${p} ${L(
11896
11899
  M,
11897
- b0
11900
+ y0
11898
11901
  )}` : `1px solid ${t1}`,
11899
11902
  width: j,
11900
11903
  height: j,
@@ -11903,8 +11906,8 @@ const E1 = {
11903
11906
  display: "flex",
11904
11907
  alignItems: "center",
11905
11908
  justifyContent: "center",
11906
- backgroundColor: L(F, b0),
11907
- boxShadow: O0(N, b0)
11909
+ backgroundColor: L(F, y0),
11910
+ boxShadow: O0(N, y0)
11908
11911
  };
11909
11912
  return /* @__PURE__ */ t.jsxs(
11910
11913
  "div",
@@ -11939,7 +11942,7 @@ const E1 = {
11939
11942
  let w0 = Array.from(M0.dataTransfer.files || []);
11940
11943
  o && (w0 = w0.slice(0, o));
11941
11944
  const Q0 = l ? [...o0, ...w0] : w0;
11942
- y0 || X(Q0), h(Q0);
11945
+ j0 || X(Q0), h(Q0);
11943
11946
  },
11944
11947
  onDragOver: (M0) => M0.preventDefault(),
11945
11948
  style: {
@@ -11965,7 +11968,7 @@ const E1 = {
11965
11968
  {
11966
11969
  id: "upload-description",
11967
11970
  size: "sm",
11968
- style: { color: L("cool-gray-6", b0) },
11971
+ style: { color: L("cool-gray-6", y0) },
11969
11972
  children: "단일 또는 다중 파일 업로드를 지원합니다."
11970
11973
  }
11971
11974
  )
@@ -12094,11 +12097,11 @@ const E1 = {
12094
12097
  index: w0,
12095
12098
  onRemove: W0,
12096
12099
  onPreview: C,
12097
- theme: b0,
12100
+ theme: y0,
12098
12101
  listColorType: J,
12099
12102
  listErrorColorType: p0,
12100
12103
  listHoverColorType: x0,
12101
- listDeleteColorType: j0
12104
+ listDeleteColorType: b0
12102
12105
  },
12103
12106
  w0
12104
12107
  ))
@@ -12544,7 +12547,7 @@ const x4 = {
12544
12547
  ]
12545
12548
  }
12546
12549
  );
12547
- }, d2 = {
12550
+ }, h2 = {
12548
12551
  "bottom-right": { bottom: 24, right: 24, direction: "up" },
12549
12552
  "bottom-left": { bottom: 24, left: 24, direction: "up" },
12550
12553
  "bottom-center": {
@@ -12597,7 +12600,7 @@ const x4 = {
12597
12600
  subColorType: k = "default",
12598
12601
  size: B = "md"
12599
12602
  }) => {
12600
- const [$, R] = G(!1), H = n.length > 0, I = d2[l] || d2["bottom-right"], z = I.direction, A = {
12603
+ const [$, R] = G(!1), H = n.length > 0, I = h2[l] || h2["bottom-right"], z = I.direction, A = {
12601
12604
  xs: 32,
12602
12605
  sm: 40,
12603
12606
  md: 48,
@@ -12715,7 +12718,7 @@ const x4 = {
12715
12718
  }, []);
12716
12719
  let x = null, C = null, j = null, F = null;
12717
12720
  const M = [];
12718
- return h2.forEach(s, (p) => {
12721
+ return u2.forEach(s, (p) => {
12719
12722
  if (!(p != null && p.type)) return;
12720
12723
  const S = p.type.displayName;
12721
12724
  S === "SUHeader" ? x = y1(p, {
@@ -13014,7 +13017,7 @@ const P9 = ({ isOpen: s, children: c }) => {
13014
13017
  children: c
13015
13018
  }
13016
13019
  );
13017
- }, Y1 = ({
13020
+ }, U1 = ({
13018
13021
  item: s,
13019
13022
  level: c = 0,
13020
13023
  selectedKey: n,
@@ -13044,7 +13047,7 @@ const P9 = ({ isOpen: s, children: c }) => {
13044
13047
  className: "sud-accordion__sub-wrapper",
13045
13048
  style: { listStyle: "none", margin: 0, padding: 0 },
13046
13049
  children: s.children.map((p, S) => /* @__PURE__ */ t.jsx(
13047
- Y1,
13050
+ U1,
13048
13051
  {
13049
13052
  item: p,
13050
13053
  level: c + 1,
@@ -13117,7 +13120,7 @@ const P9 = ({ isOpen: s, children: c }) => {
13117
13120
  role: "region",
13118
13121
  "aria-labelledby": `accordion-header-${s.key}`,
13119
13122
  children: s.children.map((p, S) => /* @__PURE__ */ t.jsx(
13120
- Y1,
13123
+ U1,
13121
13124
  {
13122
13125
  item: p,
13123
13126
  level: c + 1,
@@ -13174,7 +13177,7 @@ const P9 = ({ isOpen: s, children: c }) => {
13174
13177
  padding: "8px 0"
13175
13178
  },
13176
13179
  children: /* @__PURE__ */ t.jsx("ul", { style: { listStyle: "none", margin: 0, padding: 0 }, children: s.map((k, B) => /* @__PURE__ */ t.jsx(
13177
- Y1,
13180
+ U1,
13178
13181
  {
13179
13182
  item: k,
13180
13183
  selectedKey: p,
@@ -13242,7 +13245,7 @@ const P9 = ({ isOpen: s, children: c }) => {
13242
13245
  },
13243
13246
  children: [
13244
13247
  /* @__PURE__ */ t.jsx("span", { children: s.label }),
13245
- F && (c === 0 ? /* @__PURE__ */ t.jsx(B1, { size: 16 }) : /* @__PURE__ */ t.jsx(W1, { size: 16 }))
13248
+ F && (c === 0 ? /* @__PURE__ */ t.jsx(B1, { size: 16 }) : /* @__PURE__ */ t.jsx(X1, { size: 16 }))
13246
13249
  ]
13247
13250
  }
13248
13251
  );
@@ -13550,7 +13553,7 @@ export {
13550
13553
  y9 as Calendar,
13551
13554
  p1 as Card,
13552
13555
  Q9 as Carousel,
13553
- V1 as Checkbox,
13556
+ P1 as Checkbox,
13554
13557
  e4 as Collapse,
13555
13558
  o4 as ColorPicker,
13556
13559
  I9 as Content,
@@ -13559,7 +13562,7 @@ export {
13559
13562
  C9 as DotSpinner,
13560
13563
  t4 as Drawer,
13561
13564
  v4 as Dropdown,
13562
- j2 as Empty,
13565
+ V1 as Empty,
13563
13566
  g4 as FloatButton,
13564
13567
  V9 as Footer,
13565
13568
  H9 as Header,
@@ -13571,22 +13574,22 @@ export {
13571
13574
  s4 as Modal,
13572
13575
  D9 as NotificationRoot,
13573
13576
  b2 as Pagination,
13574
- G1 as PopConfirm,
13577
+ K1 as PopConfirm,
13575
13578
  r4 as Popover,
13576
13579
  p4 as Progress,
13577
- P1 as Radio,
13580
+ Y1 as Radio,
13578
13581
  i4 as Rate,
13579
13582
  v9 as Segmented,
13580
13583
  N1 as Select,
13581
13584
  E9 as Sider,
13582
- a2 as Slider,
13585
+ i2 as Slider,
13583
13586
  b4 as SoonUIDesign,
13584
13587
  f4 as Spinner,
13585
13588
  d4 as Switch,
13586
13589
  n4 as Table,
13587
- v2 as Tabs,
13590
+ j2 as Tabs,
13588
13591
  Z1 as Tag,
13589
- f2 as ThemeContext,
13592
+ x2 as ThemeContext,
13590
13593
  O2 as ThemeProvider,
13591
13594
  h4 as TimePicker,
13592
13595
  S9 as Timeline,