@krds.ui/react 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -197,13 +197,13 @@ var N = i(({ as: e, children: t, variant: n = "primary", size: r = "large", clas
197
197
  });
198
198
  });
199
199
  N.displayName = "Button";
200
- var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaultValue: r = "", startDate: i, endDate: a, defaultStartDate: s = "", defaultEndDate: l = "", disabledDates: u = [], eventDates: d = [], isOpen: h, defaultIsOpen: v = !1, onOpenChange: x, onChange: S, onRangeChange: C, onYearChange: w, onMonthChange: T, onTodayClick: E, onConfirm: D, onCancel: O, label: k = "기간선택", inputId: A = "cal", placeholder: j = "YYYY.MM.DD", startPlaceholder: M = "시작날짜", endPlaceholder: N = "종료날짜", startTitle: P = "시작날짜 입력", endTitle: F = "종료날짜 입력", openButtonLabel: I = "달력 열기", prevButtonLabel: L = "이전 달", nextButtonLabel: R = "다음 달", yearSelectLabel: z = "연도 선택", monthSelectLabel: B = "월 선택", todayButtonText: ee = "오늘", cancelButtonText: V = "취소", confirmButtonText: te = "확인", disabled: ne = !1, readOnly: H = !1, className: re, ...ie }, ae) => {
201
- let [oe, U] = b({
200
+ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaultValue: r = "", startDate: i, endDate: a, defaultStartDate: s = "", defaultEndDate: l = "", disabledDates: u = [], eventDates: d = [], isOpen: h, defaultIsOpen: v = !1, onOpenChange: x, onChange: S, onRangeChange: C, onYearChange: w, onMonthChange: T, onTodayClick: E, onConfirm: D, onCancel: O, label: k = "기간선택", inputId: A = "cal", placeholder: j = "YYYY.MM.DD", startPlaceholder: M = "시작날짜", endPlaceholder: N = "종료날짜", startTitle: P = "시작날짜 입력", endTitle: F = "종료날짜 입력", openButtonLabel: I = "달력 열기", prevButtonLabel: L = "이전 달", nextButtonLabel: R = "다음 달", yearSelectLabel: z = "연도 선택", monthSelectLabel: B = "월 선택", todayButtonText: ee = "오늘", cancelButtonText: te = "취소", confirmButtonText: ne = "확인", disabled: re = !1, readOnly: V = !1, className: ie, ...ae }, oe) => {
201
+ let [se, H] = b({
202
202
  value: h,
203
203
  defaultValue: v,
204
204
  finalValue: !1,
205
205
  onChange: x
206
- }), [se, W] = b({
206
+ }), [U, W] = b({
207
207
  value: n,
208
208
  defaultValue: r,
209
209
  finalValue: "",
@@ -230,8 +230,8 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
230
230
  return isNaN(n) || isNaN(r) || isNaN(i) || r < 1 || r > 12 || i < 1 || i > 31 ? null : new Date(n, r - 1, i);
231
231
  }, []), X = (e) => `${e.getFullYear()}.${(e.getMonth() + 1).toString().padStart(2, "0")}.${e.getDate().toString().padStart(2, "0")}`, ce = o(() => {
232
232
  let t = /* @__PURE__ */ new Date();
233
- if (e === "single" && se) {
234
- let e = Y(se);
233
+ if (e === "single" && U) {
234
+ let e = Y(U);
235
235
  if (e) return {
236
236
  year: e.getFullYear(),
237
237
  month: e.getMonth() + 1
@@ -249,7 +249,7 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
249
249
  };
250
250
  }, [
251
251
  e,
252
- se,
252
+ U,
253
253
  G,
254
254
  Y
255
255
  ]), [Z, Q] = m(ce);
@@ -257,7 +257,7 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
257
257
  let e = ce();
258
258
  Q(e);
259
259
  }, [
260
- se,
260
+ U,
261
261
  G,
262
262
  e,
263
263
  ce
@@ -326,12 +326,12 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
326
326
  u,
327
327
  d
328
328
  ]), be = () => {
329
- ne || H || (U(!0), setTimeout(() => {
329
+ re || V || (H(!0), setTimeout(() => {
330
330
  ge.current?.focus();
331
331
  }, 50));
332
332
  }, xe = o(() => {
333
- U(!1), ue(!1), fe(!1);
334
- }, [U]), Se = () => {
333
+ H(!1), ue(!1), fe(!1);
334
+ }, [H]), Se = () => {
335
335
  let e = Z.month === 1 ? 12 : Z.month - 1, t = Z.month === 1 ? Z.year - 1 : Z.year;
336
336
  Q({
337
337
  year: t,
@@ -398,7 +398,7 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
398
398
  });
399
399
  }, Ne = (t) => {
400
400
  if (e === "single") {
401
- let e = se === `${t.year}.${t.month.toString().padStart(2, "0")}.${t.day.toString().padStart(2, "0")}`;
401
+ let e = U === `${t.year}.${t.month.toString().padStart(2, "0")}.${t.day.toString().padStart(2, "0")}`;
402
402
  return {
403
403
  isPeriod: e,
404
404
  isStart: e,
@@ -422,17 +422,17 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
422
422
  };
423
423
  return c(() => {
424
424
  let e = (e) => {
425
- oe && (e.target.closest(".calendar-conts") || xe());
425
+ se && (e.target.closest(".calendar-conts") || xe());
426
426
  }, t = (e) => {
427
- e.key === "Escape" && oe && xe();
427
+ e.key === "Escape" && se && xe();
428
428
  };
429
429
  return document.addEventListener("keydown", t), document.addEventListener("click", e), () => {
430
430
  document.removeEventListener("keydown", t), document.removeEventListener("click", e);
431
431
  };
432
- }, [oe]), /* @__PURE__ */ _("div", {
432
+ }, [se]), /* @__PURE__ */ _("div", {
433
433
  className: "form-group",
434
- ref: ae,
435
- ...ie,
434
+ ref: oe,
435
+ ...ae,
436
436
  children: [/* @__PURE__ */ g("div", {
437
437
  className: "form-tit",
438
438
  children: /* @__PURE__ */ g("label", {
@@ -448,10 +448,10 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
448
448
  className: "krds-input datepicker cal",
449
449
  placeholder: j,
450
450
  id: A,
451
- value: se,
451
+ value: U,
452
452
  onChange: (e) => Ae(e.target.value),
453
- disabled: ne,
454
- readOnly: H
453
+ disabled: re,
454
+ readOnly: V
455
455
  }) : /* @__PURE__ */ _("ul", {
456
456
  className: "input-group range set",
457
457
  children: [
@@ -462,8 +462,8 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
462
462
  title: P,
463
463
  value: G,
464
464
  onChange: (e) => je(e.target.value),
465
- disabled: ne,
466
- readOnly: H
465
+ disabled: re,
466
+ readOnly: V
467
467
  }) }),
468
468
  /* @__PURE__ */ g("li", {
469
469
  className: "mark",
@@ -476,23 +476,23 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
476
476
  title: F,
477
477
  value: q,
478
478
  onChange: (e) => Me(e.target.value),
479
- disabled: ne,
480
- readOnly: H
479
+ disabled: re,
480
+ readOnly: V
481
481
  }) })
482
482
  ]
483
483
  }), /* @__PURE__ */ _("button", {
484
484
  type: "button",
485
485
  className: "krds-btn medium icon form-btn-datepicker",
486
486
  onClick: be,
487
- "aria-expanded": oe,
488
- disabled: ne,
487
+ "aria-expanded": se,
488
+ disabled: re,
489
489
  children: [/* @__PURE__ */ g("span", {
490
490
  className: "sr-only",
491
491
  children: I
492
492
  }), /* @__PURE__ */ g("i", { className: "svg-icon ico-calendar" })]
493
493
  })]
494
494
  }), /* @__PURE__ */ g("div", {
495
- className: y("krds-calendar-area", { active: oe }),
495
+ className: y("krds-calendar-area", { active: se }),
496
496
  children: /* @__PURE__ */ _("div", {
497
497
  className: y("calendar-wrap", t, { single: e === "single" }),
498
498
  "aria-label": "달력",
@@ -655,13 +655,13 @@ var P = N, F = i(({ mode: e = "single", position: t = "bottom", value: n, defaul
655
655
  type: "button",
656
656
  className: "krds-btn small tertiary",
657
657
  onClick: ke,
658
- children: V
658
+ children: te
659
659
  }),
660
660
  /* @__PURE__ */ g("button", {
661
661
  type: "button",
662
662
  className: "krds-btn small primary",
663
663
  onClick: Oe,
664
- children: te
664
+ children: ne
665
665
  })
666
666
  ]
667
667
  })
@@ -922,11 +922,11 @@ var ee = i(({ alerts: e, className: t, ...n }, r) => /* @__PURE__ */ g("div", {
922
922
  ...n,
923
923
  children: /* @__PURE__ */ g("ul", {
924
924
  className: "krds-critical-alerts",
925
- children: e.map((e, t) => /* @__PURE__ */ g(V, { ...e }, t))
925
+ children: e.map((e, t) => /* @__PURE__ */ g(te, { ...e }, t))
926
926
  })
927
927
  }));
928
928
  ee.displayName = "CriticalAlerts";
929
- var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" }) => {
929
+ var te = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" }) => {
930
930
  let i = {
931
931
  danger: "긴급",
932
932
  ok: "안전",
@@ -956,27 +956,27 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
956
956
  })
957
957
  ]
958
958
  }) });
959
- }, te = ee, ne = i(({ value: e, defaultValue: t, onChange: n, label: r, hint: i, error: a, success: o, information: s, size: u = "large", isCalendarOpen: d, defaultIsCalendarOpen: h = !1, onCalendarOpenChange: v, calendarPosition: x = "bottom", disabledDates: S = [], eventDates: C = [], onYearChange: w, onMonthChange: T, onTodayClick: E, onConfirm: D, onCancel: O, openButtonLabel: k = "달력 열기", prevButtonLabel: A = "이전 달", nextButtonLabel: j = "다음 달", yearSelectLabel: M = "연도 선택", monthSelectLabel: N = "월 선택", todayButtonText: P = "오늘", cancelButtonText: F = "취소", confirmButtonText: I = "확인", disabled: L = !1, readOnly: R = !1, className: z = "", id: B, placeholder: ee = "YYYY.MM.DD", ...V }, te) => {
960
- let ne = l(), H = B || ne, [re, ie] = b({
959
+ }, ne = ee, re = i(({ value: e, defaultValue: t, onChange: n, label: r, hint: i, error: a, success: o, information: s, size: u = "large", isCalendarOpen: d, defaultIsCalendarOpen: h = !1, onCalendarOpenChange: v, calendarPosition: x = "bottom", disabledDates: S = [], eventDates: C = [], onYearChange: w, onMonthChange: T, onTodayClick: E, onConfirm: D, onCancel: O, openButtonLabel: k = "달력 열기", prevButtonLabel: A = "이전 달", nextButtonLabel: j = "다음 달", yearSelectLabel: M = "연도 선택", monthSelectLabel: N = "월 선택", todayButtonText: P = "오늘", cancelButtonText: F = "취소", confirmButtonText: I = "확인", disabled: L = !1, readOnly: R = !1, className: z = "", id: B, placeholder: ee = "YYYY.MM.DD", ...te }, ne) => {
960
+ let re = l(), V = B || re, [ie, ae] = b({
961
961
  value: e,
962
962
  defaultValue: t,
963
963
  onChange: n,
964
964
  finalValue: ""
965
- }), [ae, oe] = b({
965
+ }), [oe, se] = b({
966
966
  value: d,
967
967
  defaultValue: h,
968
968
  finalValue: !1,
969
969
  onChange: v
970
- }), U = (e) => {
970
+ }), H = (e) => {
971
971
  if (!e) return null;
972
972
  let t = e.split(".");
973
973
  if (t.length !== 3) return null;
974
974
  let n = parseInt(t[0]), r = parseInt(t[1]), i = parseInt(t[2]);
975
975
  return isNaN(n) || isNaN(r) || isNaN(i) || r < 1 || r > 12 || i < 1 || i > 31 ? null : new Date(n, r - 1, i);
976
- }, se = (e) => `${e.getFullYear()}.${(e.getMonth() + 1).toString().padStart(2, "0")}.${e.getDate().toString().padStart(2, "0")}`, W = () => {
976
+ }, U = (e) => `${e.getFullYear()}.${(e.getMonth() + 1).toString().padStart(2, "0")}.${e.getDate().toString().padStart(2, "0")}`, W = () => {
977
977
  let e = /* @__PURE__ */ new Date();
978
- if (re) {
979
- let e = U(re);
978
+ if (ie) {
979
+ let e = H(ie);
980
980
  if (e) return {
981
981
  year: e.getFullYear(),
982
982
  month: e.getMonth() + 1
@@ -990,7 +990,7 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
990
990
  c(() => {
991
991
  let e = W();
992
992
  K(e);
993
- }, [re]);
993
+ }, [ie]);
994
994
  let [q, J] = m(!1), [Y, X] = m(!1), ce = p(null), Z = f(() => {
995
995
  let e = (/* @__PURE__ */ new Date()).getFullYear();
996
996
  return Array.from({ length: 101 }, (t, n) => {
@@ -1055,11 +1055,11 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1055
1055
  S,
1056
1056
  C
1057
1057
  ]), ue = () => {
1058
- L || R || (oe(!0), setTimeout(() => {
1058
+ L || R || (se(!0), setTimeout(() => {
1059
1059
  ce.current?.focus();
1060
1060
  }, 50));
1061
1061
  }, de = () => {
1062
- oe(!1), J(!1), X(!1);
1062
+ se(!1), J(!1), X(!1);
1063
1063
  }, fe = () => {
1064
1064
  let e = G.month === 1 ? 12 : G.month - 1, t = G.month === 1 ? G.year - 1 : G.year;
1065
1065
  K({
@@ -1085,10 +1085,10 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1085
1085
  }, he = (e) => {
1086
1086
  if (e.isDisabled || e.isOld || e.isNew) return;
1087
1087
  let t = `${e.year}.${e.month.toString().padStart(2, "0")}.${e.day.toString().padStart(2, "0")}`;
1088
- ie(t);
1088
+ ae(t);
1089
1089
  }, ge = () => {
1090
- let e = /* @__PURE__ */ new Date(), t = se(e);
1091
- ie(t), K({
1090
+ let e = /* @__PURE__ */ new Date(), t = U(e);
1091
+ ae(t), K({
1092
1092
  year: e.getFullYear(),
1093
1093
  month: e.getMonth() + 1
1094
1094
  }), E?.();
@@ -1097,26 +1097,26 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1097
1097
  }, ve = () => {
1098
1098
  de(), O?.();
1099
1099
  }, ye = (e) => {
1100
- ie(e);
1101
- let t = U(e);
1100
+ ae(e);
1101
+ let t = H(e);
1102
1102
  t && K({
1103
1103
  year: t.getFullYear(),
1104
1104
  month: t.getMonth() + 1
1105
1105
  });
1106
1106
  }, be = (e) => {
1107
1107
  let t = `${e.year}.${e.month.toString().padStart(2, "0")}.${e.day.toString().padStart(2, "0")}`;
1108
- return re === t;
1108
+ return ie === t;
1109
1109
  };
1110
1110
  c(() => {
1111
1111
  let e = (e) => {
1112
- ae && (e.target.closest(".calendar-conts") || de());
1112
+ oe && (e.target.closest(".calendar-conts") || de());
1113
1113
  }, t = (e) => {
1114
- e.key === "Escape" && ae && de();
1114
+ e.key === "Escape" && oe && de();
1115
1115
  };
1116
1116
  return document.addEventListener("keydown", t), document.addEventListener("click", e), () => {
1117
1117
  document.removeEventListener("keydown", t), document.removeEventListener("click", e);
1118
1118
  };
1119
- }, [ae]);
1119
+ }, [oe]);
1120
1120
  let xe = !!a, Se = !!o && !xe, Ce = !!s && !xe && !Se, we = y("form-group", xe && "is-error", Se && "is-success", Ce && "is-information", z), Te = () => xe ? /* @__PURE__ */ g("p", {
1121
1121
  className: "form-hint-invalid",
1122
1122
  children: a
@@ -1136,7 +1136,7 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1136
1136
  r && /* @__PURE__ */ g("div", {
1137
1137
  className: "form-tit",
1138
1138
  children: /* @__PURE__ */ g("label", {
1139
- htmlFor: H,
1139
+ htmlFor: V,
1140
1140
  children: r
1141
1141
  })
1142
1142
  }),
@@ -1147,21 +1147,21 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1147
1147
  children: [/* @__PURE__ */ _("div", {
1148
1148
  className: "calendar-input",
1149
1149
  children: [/* @__PURE__ */ g("input", {
1150
- ref: te,
1150
+ ref: ne,
1151
1151
  type: "text",
1152
1152
  className: y("krds-input datepicker cal", u),
1153
1153
  placeholder: ee,
1154
- id: H,
1155
- value: re,
1154
+ id: V,
1155
+ value: ie,
1156
1156
  onChange: (e) => ye(e.target.value),
1157
1157
  disabled: L,
1158
1158
  readOnly: R,
1159
- ...V
1159
+ ...te
1160
1160
  }), /* @__PURE__ */ _("button", {
1161
1161
  type: "button",
1162
1162
  className: "krds-btn medium icon form-btn-datepicker",
1163
1163
  onClick: ue,
1164
- "aria-expanded": ae,
1164
+ "aria-expanded": oe,
1165
1165
  disabled: L,
1166
1166
  children: [/* @__PURE__ */ g("span", {
1167
1167
  className: "sr-only",
@@ -1169,7 +1169,7 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1169
1169
  }), /* @__PURE__ */ g("i", { className: "svg-icon ico-calendar" })]
1170
1170
  })]
1171
1171
  }), /* @__PURE__ */ g("div", {
1172
- className: y("krds-calendar-area", { active: ae }),
1172
+ className: y("krds-calendar-area", { active: oe }),
1173
1173
  children: /* @__PURE__ */ _("div", {
1174
1174
  className: y("calendar-wrap", x),
1175
1175
  "aria-label": "달력",
@@ -1352,9 +1352,9 @@ var V = ({ variant: e, message: t, href: n, linkText: r = "자세히 보기" })
1352
1352
  ]
1353
1353
  });
1354
1354
  });
1355
- ne.displayName = "DateInput";
1355
+ re.displayName = "DateInput";
1356
1356
  // src/components/Disclosure/Disclosure.tsx
1357
- var H = i(({ buttonText: e, children: t, defaultExpanded: n = !1, expanded: r, onToggle: i, className: a, ...o }, s) => {
1357
+ var V = i(({ buttonText: e, children: t, defaultExpanded: n = !1, expanded: r, onToggle: i, className: a, ...o }, s) => {
1358
1358
  let c = "disclosure-content-" + l(), [u, d] = b({
1359
1359
  value: r,
1360
1360
  defaultValue: n,
@@ -1384,9 +1384,9 @@ var H = i(({ buttonText: e, children: t, defaultExpanded: n = !1, expanded: r, o
1384
1384
  })]
1385
1385
  });
1386
1386
  });
1387
- H.displayName = "Disclosure";
1387
+ V.displayName = "Disclosure";
1388
1388
  // src/components/Spinner/Spinner.tsx
1389
- var re = ({ label: e, className: t, children: n }) => {
1389
+ var ie = ({ label: e, className: t, children: n }) => {
1390
1390
  let r = /* @__PURE__ */ _("div", {
1391
1391
  className: y("krds-spinner", t),
1392
1392
  role: "status",
@@ -1399,7 +1399,7 @@ var re = ({ label: e, className: t, children: n }) => {
1399
1399
  className: "form-spinner",
1400
1400
  children: [n, r]
1401
1401
  }) : r;
1402
- }, ie = i(({ title: e, description: t, uploadText: n = "첨부할 파일을 여기에 끌어다 놓거나, 파일 선택 버튼을 눌러 파일을 직접 선택해주세요.", maxFiles: r = 10, maxFileSize: i = 20971520, acceptedFileTypes: a, files: s, onFilesChange: c, onFileUpload: u, onFileDelete: d, onAllFilesDelete: f, disabled: v = !1, allowDelete: x = !0, className: S = "", children: C, ...w }, T) => {
1402
+ }, ae = i(({ title: e, description: t, uploadText: n = "첨부할 파일을 여기에 끌어다 놓거나, 파일 선택 버튼을 눌러 파일을 직접 선택해주세요.", maxFiles: r = 10, maxFileSize: i = 20971520, acceptedFileTypes: a, files: s, onFilesChange: c, onFileUpload: u, onFileDelete: d, onAllFilesDelete: f, disabled: v = !1, allowDelete: x = !0, className: S = "", children: C, ...w }, T) => {
1403
1403
  let [E, D] = b({
1404
1404
  value: s,
1405
1405
  defaultValue: [],
@@ -1467,19 +1467,19 @@ var re = ({ label: e, className: t, children: n }) => {
1467
1467
  e.preventDefault(), k(!1);
1468
1468
  }, []), ee = o((e) => {
1469
1469
  e.preventDefault(), k(!1), v || L(e.dataTransfer.files);
1470
- }, [v, L]), V = o((e) => {
1470
+ }, [v, L]), te = o((e) => {
1471
1471
  d ? d(e) : c?.(E.filter((t) => t.id !== e));
1472
1472
  }, [
1473
1473
  E,
1474
1474
  d,
1475
1475
  c
1476
- ]), te = o(() => {
1476
+ ]), ne = o(() => {
1477
1477
  f ? f() : c?.([]);
1478
- }, [f, c]), ne = (e) => {
1478
+ }, [f, c]), re = (e) => {
1479
1479
  switch (e.status) {
1480
1480
  case "uploading": return /* @__PURE__ */ _("span", {
1481
1481
  role: "status",
1482
- children: [/* @__PURE__ */ g(re, {}), /* @__PURE__ */ g("span", {
1482
+ children: [/* @__PURE__ */ g(ie, {}), /* @__PURE__ */ g("span", {
1483
1483
  className: "sr-only",
1484
1484
  children: "업로드 중"
1485
1485
  })]
@@ -1493,7 +1493,7 @@ var re = ({ label: e, className: t, children: n }) => {
1493
1493
  });
1494
1494
  default: return null;
1495
1495
  }
1496
- }, H = (e) => e.status === "uploading" || !x ? null : e.onDownload || e.onPreview ? /* @__PURE__ */ _(h, { children: [
1496
+ }, V = (e) => e.status === "uploading" || !x ? null : e.onDownload || e.onPreview ? /* @__PURE__ */ _(h, { children: [
1497
1497
  e.onDownload && /* @__PURE__ */ _(P, {
1498
1498
  variant: "text",
1499
1499
  size: "medium",
@@ -1511,14 +1511,14 @@ var re = ({ label: e, className: t, children: n }) => {
1511
1511
  e.deletable !== !1 && /* @__PURE__ */ _(P, {
1512
1512
  variant: "text",
1513
1513
  size: "medium",
1514
- onClick: () => V(e.id),
1514
+ onClick: () => te(e.id),
1515
1515
  disabled: v,
1516
1516
  children: ["삭제 ", /* @__PURE__ */ g("i", { className: "svg-icon ico-delete-fill" })]
1517
1517
  })
1518
1518
  ] }) : e.deletable === !1 ? null : /* @__PURE__ */ _(P, {
1519
1519
  variant: "text",
1520
1520
  size: "medium",
1521
- onClick: () => V(e.id),
1521
+ onClick: () => te(e.id),
1522
1522
  disabled: v,
1523
1523
  children: ["삭제 ", /* @__PURE__ */ g("i", { className: "svg-icon ico-delete-fill" })]
1524
1524
  });
@@ -1605,7 +1605,7 @@ var re = ({ label: e, className: t, children: n }) => {
1605
1605
  ]
1606
1606
  }), /* @__PURE__ */ _("div", {
1607
1607
  className: "btn-wrap",
1608
- children: [ne(e), H(e)]
1608
+ children: [re(e), V(e)]
1609
1609
  })]
1610
1610
  }), e.status === "error" && e.errorMessage && /* @__PURE__ */ g("p", {
1611
1611
  className: "file-hint-invalid",
@@ -1618,7 +1618,7 @@ var re = ({ label: e, className: t, children: n }) => {
1618
1618
  children: /* @__PURE__ */ _(P, {
1619
1619
  variant: "tertiary",
1620
1620
  size: "xsmall",
1621
- onClick: te,
1621
+ onClick: ne,
1622
1622
  disabled: v,
1623
1623
  children: ["전체 파일 삭제", /* @__PURE__ */ g("i", { className: "svg-icon ico-angle right" })]
1624
1624
  })
@@ -1628,9 +1628,9 @@ var re = ({ label: e, className: t, children: n }) => {
1628
1628
  ]
1629
1629
  });
1630
1630
  });
1631
- ie.displayName = "FileUpload";
1631
+ ae.displayName = "FileUpload";
1632
1632
  // src/components/Identifier/Identifier.tsx
1633
- var ae = i(({ text: e = "이 누리집은 보건복지부 산하기관 누리집입니다.", logoAlt: t = "KRDS - Korea Design System", className: n, ...r }, i) => /* @__PURE__ */ _("div", {
1633
+ var oe = i(({ text: e = "이 누리집은 보건복지부 산하기관 누리집입니다.", logoAlt: t = "KRDS - Korea Design System", className: n, ...r }, i) => /* @__PURE__ */ _("div", {
1634
1634
  ref: i,
1635
1635
  "aria-label": "운영기관 식별자",
1636
1636
  className: y("krds-identifier", n),
@@ -1646,9 +1646,9 @@ var ae = i(({ text: e = "이 누리집은 보건복지부 산하기관 누리집
1646
1646
  children: e
1647
1647
  })]
1648
1648
  }));
1649
- ae.displayName = "Identifier";
1649
+ oe.displayName = "Identifier";
1650
1650
  // src/components/Footer/Footer.tsx
1651
- var oe = ({ quickLinks: e }) => !e || e.length === 0 ? null : /* @__PURE__ */ g("div", {
1651
+ var se = ({ quickLinks: e }) => !e || e.length === 0 ? null : /* @__PURE__ */ g("div", {
1652
1652
  className: "foot-quick",
1653
1653
  children: /* @__PURE__ */ g("div", {
1654
1654
  className: "inner",
@@ -1660,7 +1660,7 @@ var oe = ({ quickLinks: e }) => !e || e.length === 0 ? null : /* @__PURE__ */ g(
1660
1660
  children: e.title
1661
1661
  }, t))
1662
1662
  })
1663
- }), U = ({ logo: e }) => {
1663
+ }), H = ({ logo: e }) => {
1664
1664
  let t = e?.src ? /* @__PURE__ */ g("img", {
1665
1665
  src: e.src,
1666
1666
  alt: e.alt,
@@ -1684,7 +1684,7 @@ var oe = ({ quickLinks: e }) => !e || e.length === 0 ? null : /* @__PURE__ */ g(
1684
1684
  rel: e.target === "_blank" ? "noopener noreferrer" : void 0,
1685
1685
  children: n
1686
1686
  }) : n;
1687
- }, se = ({ logo: e, address: t, contacts: n, links: r, socialLinks: i, defaultLinkTarget: a = "_self" }) => /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(U, { logo: e }), /* @__PURE__ */ _("div", {
1687
+ }, U = ({ logo: e, address: t, contacts: n, links: r, socialLinks: i, defaultLinkTarget: a = "_self" }) => /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(H, { logo: e }), /* @__PURE__ */ _("div", {
1688
1688
  className: "f-cnt",
1689
1689
  children: [(t || n) && /* @__PURE__ */ _("div", {
1690
1690
  className: "f-info",
@@ -1761,7 +1761,7 @@ var oe = ({ quickLinks: e }) => !e || e.length === 0 ? null : /* @__PURE__ */ g(
1761
1761
  className: "f-copy",
1762
1762
  children: t
1763
1763
  })]
1764
- }), !a && /* @__PURE__ */ g(ae, {
1764
+ }), !a && /* @__PURE__ */ g(oe, {
1765
1765
  text: o.text,
1766
1766
  logoAlt: o.logo?.alt || "KRDS - Korea Design System"
1767
1767
  })]
@@ -1791,9 +1791,9 @@ var oe = ({ quickLinks: e }) => !e || e.length === 0 ? null : /* @__PURE__ */ g(
1791
1791
  id: "krds-footer",
1792
1792
  className: y(p),
1793
1793
  ...m,
1794
- children: [!d && /* @__PURE__ */ g(oe, { quickLinks: e }), /* @__PURE__ */ _("div", {
1794
+ children: [!d && /* @__PURE__ */ g(se, { quickLinks: e }), /* @__PURE__ */ _("div", {
1795
1795
  className: "inner",
1796
- children: [/* @__PURE__ */ g(se, {
1796
+ children: [/* @__PURE__ */ g(U, {
1797
1797
  logo: r,
1798
1798
  address: t,
1799
1799
  contacts: n,
@@ -1940,9 +1940,9 @@ var he = (e) => {
1940
1940
  item: e,
1941
1941
  key: $(e.id, `mobile-main-${t}`),
1942
1942
  index: t
1943
- })), [i.body.mainItems]), [F, I] = m(null), [L, R] = m({}), [z, B] = m(!1), [ee, V] = m(P[0]?.key ?? null), [te, ne] = m({}), [H, re] = m(null), [ie, ae] = m(""), [oe, U] = m("idle"), se = p(z), W = p(null), G = p(z), K = p(null);
1943
+ })), [i.body.mainItems]), [F, I] = m(null), [L, R] = m({}), [z, B] = m(!1), [ee, te] = m(P[0]?.key ?? null), [ne, re] = m({}), [V, ie] = m(null), [ae, oe] = m(""), [se, H] = m("idle"), U = p(z), W = p(null), G = p(z), K = p(null);
1944
1944
  u(t, () => w.current, []), c(() => {
1945
- P.length ? V((e) => e ?? P[0].key) : V(null);
1945
+ P.length ? te((e) => e ?? P[0].key) : te(null);
1946
1946
  }, [P]);
1947
1947
  let q = f(() => {
1948
1948
  let e = /* @__PURE__ */ new Map();
@@ -2052,7 +2052,7 @@ var he = (e) => {
2052
2052
  let e = T.current;
2053
2053
  if (e) {
2054
2054
  if (W.current &&= (clearTimeout(W.current), null), z) {
2055
- U((e) => e === "open" || e === "opening" ? e : "pre-opening");
2055
+ H((e) => e === "open" || e === "opening" ? e : "pre-opening");
2056
2056
  let t = e.querySelector(".gnb-main-trigger.active");
2057
2057
  if (t && E.current) {
2058
2058
  let e = t.getAttribute("aria-controls");
@@ -2068,14 +2068,14 @@ var he = (e) => {
2068
2068
  }
2069
2069
  let n = setTimeout(() => {
2070
2070
  if (!G.current) return;
2071
- U((e) => e === "open" ? e : "opening"), document.body.classList.add("is-gnb-mobile");
2071
+ H((e) => e === "open" ? e : "opening"), document.body.classList.add("is-gnb-mobile");
2072
2072
  let t = (n) => {
2073
2073
  if (n.target !== e) return;
2074
2074
  if (!G.current) {
2075
2075
  e.removeEventListener("transitionend", t);
2076
2076
  return;
2077
2077
  }
2078
- U("open");
2078
+ H("open");
2079
2079
  let r = e.querySelector(".gnb-wrap");
2080
2080
  r instanceof HTMLElement && (r.setAttribute("tabindex", "0"), r.focus()), e.removeEventListener("transitionend", t), document.querySelector("#krds-header .header-in")?.setAttribute("inert", ""), document.getElementById("container")?.setAttribute("inert", ""), document.getElementById("footer")?.setAttribute("inert", "");
2081
2081
  };
@@ -2083,14 +2083,14 @@ var he = (e) => {
2083
2083
  }, 100);
2084
2084
  W.current = n;
2085
2085
  } else {
2086
- U((e) => e === "idle" ? e : "closing"), document.querySelector("#krds-header .header-in")?.removeAttribute("inert"), document.getElementById("container")?.removeAttribute("inert"), document.getElementById("footer")?.removeAttribute("inert");
2086
+ H((e) => e === "idle" ? e : "closing"), document.querySelector("#krds-header .header-in")?.removeAttribute("inert"), document.getElementById("container")?.removeAttribute("inert"), document.getElementById("footer")?.removeAttribute("inert");
2087
2087
  let t = (n) => {
2088
2088
  if (n.target !== e) return;
2089
2089
  if (G.current) {
2090
2090
  e.removeEventListener("transitionend", t);
2091
2091
  return;
2092
2092
  }
2093
- U("idle");
2093
+ H("idle");
2094
2094
  let r = e.getAttribute("id"), i = r ? document.querySelector(`[aria-controls=${r}]`) : null;
2095
2095
  i instanceof HTMLElement && i.focus(), e.removeAttribute("tabindex"), e.removeEventListener("transitionend", t);
2096
2096
  };
@@ -2105,22 +2105,22 @@ var he = (e) => {
2105
2105
  };
2106
2106
  }
2107
2107
  }, [z]), c(() => {
2108
- se.current !== z && (z ? l?.() : v?.(), se.current = z);
2108
+ U.current !== z && (z ? l?.() : v?.(), U.current = z);
2109
2109
  }, [
2110
2110
  z,
2111
2111
  v,
2112
2112
  l
2113
2113
  ]), c(() => () => {
2114
- se.current && v?.();
2114
+ U.current && v?.();
2115
2115
  }, [v]), c(() => {
2116
2116
  if (!z) return;
2117
2117
  let e = T.current;
2118
2118
  if (e) return he(e);
2119
2119
  }, [z]);
2120
2120
  let Te = o(() => {
2121
- U((e) => e === "open" || e === "opening" ? e : "pre-opening"), B(!0);
2121
+ H((e) => e === "open" || e === "opening" ? e : "pre-opening"), B(!0);
2122
2122
  }, []), Ee = o(() => {
2123
- U((e) => e === "idle" ? e : "closing"), B(!1), re(null);
2123
+ H((e) => e === "idle" ? e : "closing"), B(!1), ie(null);
2124
2124
  }, []), De = o((e) => {
2125
2125
  let t = e.target, n = T.current?.querySelector(".gnb-wrap");
2126
2126
  n && !n.contains(t) && n instanceof HTMLElement && n.focus();
@@ -2139,10 +2139,10 @@ var he = (e) => {
2139
2139
  ]), ke = f(() => /* @__PURE__ */ g(le, {
2140
2140
  container: C,
2141
2141
  children: Oe
2142
- }), [C, Oe]), Ae = oe !== "idle", je = oe === "opening" || oe === "open", Me = o((e, t) => {
2142
+ }), [C, Oe]), Ae = se !== "idle", je = se === "opening" || se === "open", Me = o((e, t) => {
2143
2143
  e.preventDefault();
2144
2144
  let { item: n, key: r } = t;
2145
- V(r);
2145
+ te(r);
2146
2146
  let i = n.panels[0];
2147
2147
  if (!i) return;
2148
2148
  let a = $(i.id, `${r}-panel-0`), o = A.current[a], s = E.current;
@@ -2165,7 +2165,7 @@ var he = (e) => {
2165
2165
  let i = A.current[e];
2166
2166
  i && n >= i.offsetTop - 10 && (t = r);
2167
2167
  }
2168
- t && V(t);
2168
+ t && te(t);
2169
2169
  };
2170
2170
  return e.addEventListener("scroll", t), () => e.removeEventListener("scroll", t);
2171
2171
  }, [Ne]), c(() => {
@@ -2175,12 +2175,12 @@ var he = (e) => {
2175
2175
  return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
2176
2176
  }, []);
2177
2177
  let Pe = o((e) => {
2178
- ne((t) => ({
2178
+ re((t) => ({
2179
2179
  ...t,
2180
2180
  [e]: !t[e]
2181
2181
  }));
2182
2182
  }, []), Fe = o((e, t, n) => {
2183
- e.preventDefault(), re(n);
2183
+ e.preventDefault(), ie(n);
2184
2184
  let r = j.current[n];
2185
2185
  r && (r.style.display = "block", requestAnimationFrame(() => {
2186
2186
  r.classList.add("is-open"), r.querySelector(".trigger-prev")?.focus();
@@ -2189,12 +2189,12 @@ var he = (e) => {
2189
2189
  let t = j.current[e], n = M.current[e];
2190
2190
  t && (t.classList.remove("is-open"), setTimeout(() => {
2191
2191
  t.style.display = "", n?.focus();
2192
- }, 250)), re((t) => t === e ? null : t);
2192
+ }, 250)), ie((t) => t === e ? null : t);
2193
2193
  }, []), Le = o((e) => {
2194
2194
  e.preventDefault();
2195
- let t = ie.trim();
2195
+ let t = ae.trim();
2196
2196
  t && i.header?.search?.onSearch?.(t);
2197
- }, [i.header?.search, ie]), Re = (e, t) => {
2197
+ }, [i.header?.search, ae]), Re = (e, t) => {
2198
2198
  let n = e.some((e) => e.description);
2199
2199
  return /* @__PURE__ */ g("ul", {
2200
2200
  className: y(n && "type-description"),
@@ -2346,7 +2346,7 @@ var he = (e) => {
2346
2346
  className: "depth3-trigger",
2347
2347
  children: t.label
2348
2348
  }) }, n);
2349
- let r = t, i = H === n, a = r.items.map((e, t) => ({
2349
+ let r = t, i = V === n, a = r.items.map((e, t) => ({
2350
2350
  link: e,
2351
2351
  key: $(e.id, `${n}-depth4-${t}`)
2352
2352
  }));
@@ -2405,7 +2405,7 @@ var he = (e) => {
2405
2405
  children: e.label
2406
2406
  }) }, n);
2407
2407
  }
2408
- let r = t, i = n, a = te[i] ?? !1;
2408
+ let r = t, i = n, a = ne[i] ?? !1;
2409
2409
  return /* @__PURE__ */ _("li", { children: [/* @__PURE__ */ g("a", {
2410
2410
  href: "#",
2411
2411
  className: y("gnb-sub-trigger", "has-depth3", a && "active"),
@@ -2521,8 +2521,8 @@ var he = (e) => {
2521
2521
  children: [/* @__PURE__ */ g("input", {
2522
2522
  type: "text",
2523
2523
  className: "krds-input",
2524
- value: ie,
2525
- onChange: (e) => ae(e.target.value),
2524
+ value: ae,
2525
+ onChange: (e) => oe(e.target.value),
2526
2526
  placeholder: i.header.search.placeholder ?? ue,
2527
2527
  title: "찾고자 하는 메뉴명 입력"
2528
2528
  }), /* @__PURE__ */ _("button", {
@@ -3110,7 +3110,7 @@ var rt = i(({ title: e, isCurrent: t = !1, expandText: n, steps: r, className: i
3110
3110
  children: [/* @__PURE__ */ g("h4", {
3111
3111
  className: s,
3112
3112
  children: e
3113
- }), /* @__PURE__ */ g(H, {
3113
+ }), /* @__PURE__ */ g(V, {
3114
3114
  buttonText: n,
3115
3115
  className: "conts-expand-area",
3116
3116
  children: /* @__PURE__ */ g(Ue, {
@@ -3535,48 +3535,53 @@ var wt = i(({ className: e = "", children: t, id: n, role: r = "dialog", ...i },
3535
3535
  let { open: s, setOpen: u, size: d, variant: h, closeOnEsc: v, closeOnOverlayClick: b, usePortal: x, portalContainer: S } = yt(), C = l(), w = n || `krds-modal-${C}`, T = l(), [E, D] = m(), O = f(() => ({
3536
3536
  generatedTitleId: T,
3537
3537
  setTitleId: D
3538
- }), [T]), k = i["aria-labelledby"] ?? E, A = p(null), j = p(null), M = p(null), N = p([]), P = p(!1), F = p(null), I = p(null), L = o(() => A.current ? Array.from(A.current.querySelectorAll("a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"], iframe, object, embed, area[href], audio[controls], video[controls]")).filter((e) => {
3538
+ }), [T]), k = i["aria-labelledby"] ?? E, A = p(null), j = p(null), [M, N] = m(null), P = p([]), F = p(!1), I = p(null), L = p(null), R = o(() => A.current ? Array.from(A.current.querySelectorAll("a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"], iframe, object, embed, area[href], audio[controls], video[controls]")).filter((e) => {
3539
3539
  let t = e.getAttribute("aria-hidden");
3540
3540
  return !(e.hasAttribute("disabled") || t === "true");
3541
- }) : [], []), R = o(() => {
3542
- if (P.current) return;
3543
- let e = L();
3544
- N.current = e, P.current = !0, I.current = setTimeout(() => {
3541
+ }) : [], []), z = o(() => {
3542
+ if (F.current) return;
3543
+ let e = R();
3544
+ P.current = e, F.current = !0, L.current = setTimeout(() => {
3545
3545
  let t = e[0];
3546
3546
  t && t.focus();
3547
3547
  }, 200);
3548
- }, [L]), z = o((e) => {
3549
- if (a && (typeof a == "function" ? a(e) : a.current = e), A.current = e, e && s) {
3550
- let t = new MutationObserver(() => {
3551
- R(), t.disconnect();
3552
- });
3553
- return t.observe(e, {
3554
- attributes: !0,
3555
- attributeFilter: ["tabindex"],
3556
- subtree: !0,
3557
- childList: !0
3558
- }), requestAnimationFrame(() => {
3559
- R();
3560
- }), () => t.disconnect();
3561
- }
3548
+ }, [R]), B = o((e) => {
3549
+ a && (typeof a == "function" ? a(e) : a.current = e), A.current = e, N(e);
3550
+ }, [a]);
3551
+ c(() => {
3552
+ if (!M || !s) return;
3553
+ let e = new MutationObserver(() => {
3554
+ z(), e.disconnect();
3555
+ });
3556
+ e.observe(M, {
3557
+ attributes: !0,
3558
+ attributeFilter: ["tabindex"],
3559
+ subtree: !0,
3560
+ childList: !0
3561
+ });
3562
+ let t = requestAnimationFrame(z);
3563
+ return () => {
3564
+ e.disconnect(), cancelAnimationFrame(t), L.current !== null && (clearTimeout(L.current), L.current = null), P.current = [], F.current = !1;
3565
+ };
3562
3566
  }, [
3563
- a,
3567
+ M,
3564
3568
  s,
3565
- R
3566
- ]), B = o((e) => {
3569
+ z
3570
+ ]);
3571
+ let ee = o((e) => {
3567
3572
  j.current = e;
3568
3573
  }, []);
3569
3574
  c(() => () => {
3570
- N.current = [], P.current = !1, F.current && clearTimeout(F.current), I.current && clearTimeout(I.current);
3575
+ P.current = [], F.current = !1, I.current && clearTimeout(I.current), L.current && clearTimeout(L.current);
3571
3576
  }, []), c(() => {
3572
3577
  if (!s) {
3573
- N.current = [], P.current = !1, F.current && clearTimeout(F.current), I.current && clearTimeout(I.current);
3578
+ P.current = [], F.current = !1, I.current && clearTimeout(I.current), L.current && clearTimeout(L.current);
3574
3579
  return;
3575
3580
  }
3576
3581
  let e = (e) => {
3577
3582
  if ((e.key === "Escape" || e.key === "Esc") && v) u(!1);
3578
3583
  else if (e.key === "Tab") {
3579
- let t = N.current;
3584
+ let t = P.current;
3580
3585
  if (t.length === 0) {
3581
3586
  e.preventDefault();
3582
3587
  return;
@@ -3593,22 +3598,20 @@ var wt = i(({ className: e = "", children: t, id: n, role: r = "dialog", ...i },
3593
3598
  v,
3594
3599
  u
3595
3600
  ]), c(() => {
3596
- if (s) {
3597
- document.body.classList.add("scroll-no"), M.current = document.activeElement;
3598
- let e = document.getElementById("wrap");
3599
- e && e.setAttribute("inert", ""), F.current = setTimeout(() => {
3600
- j.current?.classList.add("in");
3601
- }, 150);
3602
- } else {
3603
- document.body.classList.remove("scroll-no"), M.current?.focus();
3604
- let e = document.getElementById("wrap");
3605
- e && e.removeAttribute("inert");
3606
- }
3601
+ if (!s) return;
3602
+ let e = document.activeElement, t = document.body.classList.contains("scroll-no"), n = document.getElementById("wrap"), r = n?.hasAttribute("inert");
3603
+ document.body.classList.add("scroll-no"), n?.setAttribute("inert", "");
3604
+ let i = j.current;
3605
+ return I.current = setTimeout(() => {
3606
+ j.current?.classList.add("in");
3607
+ }, 150), () => {
3608
+ I.current !== null && (clearTimeout(I.current), I.current = null), i?.classList.remove("in"), t || document.body.classList.remove("scroll-no"), r || n?.removeAttribute("inert"), e?.focus();
3609
+ };
3607
3610
  }, [s]);
3608
- let ee = o((e) => {
3611
+ let te = o((e) => {
3609
3612
  let t = e.target;
3610
- A.current?.contains(t) || (b ? u(!1) : N.current[0]?.focus());
3611
- }, [u, b]), V = y("krds-modal shown", s && "in", e);
3613
+ A.current?.contains(t) || (b ? u(!1) : P.current[0]?.focus());
3614
+ }, [u, b]), ne = y("krds-modal shown", s && "in", e);
3612
3615
  return /* @__PURE__ */ g(le, {
3613
3616
  enabled: x,
3614
3617
  container: S,
@@ -3616,17 +3619,17 @@ var wt = i(({ className: e = "", children: t, id: n, role: r = "dialog", ...i },
3616
3619
  id: w,
3617
3620
  "aria-modal": "true",
3618
3621
  role: r,
3619
- className: V,
3622
+ className: ne,
3620
3623
  "data-type": h === "default" ? void 0 : h,
3621
- onClick: ee,
3624
+ onClick: te,
3622
3625
  ...i,
3623
3626
  "aria-labelledby": k,
3624
3627
  children: [/* @__PURE__ */ g("div", {
3625
3628
  className: y("modal-dialog", d === "sm" && "modal-sm", d === "md" && "modal-md", d === "lg" && "modal-lg"),
3626
- ref: B,
3629
+ ref: ee,
3627
3630
  children: /* @__PURE__ */ _("div", {
3628
3631
  className: "modal-content",
3629
- ref: z,
3632
+ ref: B,
3630
3633
  children: [/* @__PURE__ */ g(vt.Provider, {
3631
3634
  value: O,
3632
3635
  children: t
@@ -4683,11 +4686,11 @@ var Rn = i(({ value: e, defaultValue: t, onChange: n, label: r, hint: i, error:
4683
4686
  c(() => {
4684
4687
  M(p === "password" ? k ? "text" : "password" : p);
4685
4688
  }, [p, k]);
4686
- let N = !!a, F = !!o && !N, I = !!s && !N && !F, L = d && p === "password", R = f && D && !h && !v, z = L || R, B = y("form-group", N && "is-error", F && "is-success", I && "is-information", x), ee = y("form-conts", z && "btn-ico-wrap"), V = () => {
4689
+ let N = !!a, F = !!o && !N, I = !!s && !N && !F, L = d && p === "password", R = f && D && !h && !v, z = L || R, B = y("form-group", N && "is-error", F && "is-success", I && "is-information", x), ee = y("form-conts", z && "btn-ico-wrap"), te = () => {
4687
4690
  O("");
4688
- }, te = () => {
4691
+ }, ne = () => {
4689
4692
  A((e) => !e);
4690
- }, ne = () => N ? /* @__PURE__ */ g("p", {
4693
+ }, re = () => N ? /* @__PURE__ */ g("p", {
4691
4694
  className: "form-hint-invalid",
4692
4695
  children: a
4693
4696
  }) : F ? /* @__PURE__ */ g("p", {
@@ -4729,7 +4732,7 @@ var Rn = i(({ value: e, defaultValue: t, onChange: n, label: r, hint: i, error:
4729
4732
  variant: "icon",
4730
4733
  size: "medium",
4731
4734
  className: "pure btn-delete-input",
4732
- onClick: V,
4735
+ onClick: te,
4733
4736
  children: [/* @__PURE__ */ g("span", {
4734
4737
  className: "sr-only",
4735
4738
  children: "내용 삭제"
@@ -4737,7 +4740,7 @@ var Rn = i(({ value: e, defaultValue: t, onChange: n, label: r, hint: i, error:
4737
4740
  }), L && /* @__PURE__ */ _(P, {
4738
4741
  variant: "icon",
4739
4742
  size: "medium",
4740
- onClick: te,
4743
+ onClick: ne,
4741
4744
  children: [/* @__PURE__ */ g("span", {
4742
4745
  className: "sr-only",
4743
4746
  children: k ? "입력한 비밀번호 가리기" : "입력한 비밀번호 보기"
@@ -4745,7 +4748,7 @@ var Rn = i(({ value: e, defaultValue: t, onChange: n, label: r, hint: i, error:
4745
4748
  })]
4746
4749
  })]
4747
4750
  }),
4748
- ne()
4751
+ re()
4749
4752
  ]
4750
4753
  });
4751
4754
  });
@@ -5147,7 +5150,7 @@ var Vn = r(null), Hn = () => {
5147
5150
  className: y("tit", e.current && "current"),
5148
5151
  children: e.title
5149
5152
  }),
5150
- e.steps && e.steps.length > 0 && /* @__PURE__ */ g(H, {
5153
+ e.steps && e.steps.length > 0 && /* @__PURE__ */ g(V, {
5151
5154
  buttonText: `전체 ${e.steps.length}단계`,
5152
5155
  className: "conts-expand-area",
5153
5156
  children: /* @__PURE__ */ g("ul", {
@@ -5203,6 +5206,6 @@ var Zn = Object.assign(Un, {
5203
5206
  TutorialContent: Yn,
5204
5207
  Close: Xn
5205
5208
  });
5206
- export { k as Accordion, T as AccordionItem, A as Badge, M as Breadcrumb, P as Button, F as Calendar, I as Checkbox, L as CheckboxChip, R as CheckboxGroup, z as CoachMark, B as ContextualHelp, te as CriticalAlert, ne as DateInput, H as Disclosure, ie as FileUpload, q as Footer, He as Header, qe as HelpPanel, ae as Identifier, ot as InPageNavigation, mt as LanguageSwitcher, ht as Link, gt as Masthead, Mt as Modal, Nt as Pagination, Ft as Radio, It as RadioChip, Lt as RadioGroup, Bt as Resize, Vt as Select, en as SideNavigation, tn as SkipLink, re as Spinner, nn as StepIndicator, rn as StructuredList, pn as StructuredListAction, sn as StructuredListBadge, cn as StructuredListBody, gn as StructuredListButtons, ln as StructuredListContent, dn as StructuredListDescription, mn as StructuredListFooter, on as StructuredListHeader, an as StructuredListItem, fn as StructuredListMeta, hn as StructuredListTag, un as StructuredListTitle, An as Tab, Nn as TabContent, jn as TabList, Pn as TabPanel, Mn as TabTrigger, Dn as Table, Fn as Tag, Rn as TextInput, Ue as TextList, Ln as Textarea, zn as ToggleSwitch, Bn as Tooltip, Zn as TutorialPanel };
5209
+ export { k as Accordion, T as AccordionItem, A as Badge, j as BadgeWrapper, M as Breadcrumb, P as Button, F as Calendar, I as Checkbox, L as CheckboxChip, R as CheckboxGroup, z as CoachMark, B as ContextualHelp, ne as CriticalAlert, ee as CriticalAlerts, re as DateInput, V as Disclosure, ae as FileUpload, q as Footer, He as Header, nt as HelpCoachProcess, rt as HelpCoachTask, at as HelpContentArea, Ze as HelpLinkList, qe as HelpPanel, it as HelpPanelAction, Qe as HelpPanelClose, Ye as HelpPanelContent, Je as HelpPanelTrigger, $e as HelpRelatedService, Xe as HelpSection, et as HelpServiceGroup, tt as HelpTutorialTitle, oe as Identifier, ot as InPageNavigation, mt as LanguageSwitcher, ht as Link, gt as Masthead, Mt as Modal, Nt as Pagination, Ft as Radio, It as RadioChip, Lt as RadioGroup, Bt as Resize, Vt as Select, en as SideNavigation, tn as SkipLink, ie as Spinner, nn as StepIndicator, rn as StructuredList, pn as StructuredListAction, sn as StructuredListBadge, cn as StructuredListBody, gn as StructuredListButtons, ln as StructuredListContent, dn as StructuredListDescription, mn as StructuredListFooter, on as StructuredListHeader, an as StructuredListItem, fn as StructuredListMeta, hn as StructuredListTag, un as StructuredListTitle, An as Tab, Nn as TabContent, jn as TabList, Pn as TabPanel, Mn as TabTrigger, Dn as Table, Fn as Tag, In as TagWrap, Rn as TextInput, Ue as TextList, We as TextListItem, Ln as Textarea, zn as ToggleSwitch, Bn as Tooltip, Zn as TutorialPanel, Ke as useHelpPanelContext };
5207
5210
 
5208
5211
  //# sourceMappingURL=index.js.map