@bwg-ui/core 1.3.5 → 1.3.6

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.
Files changed (55) hide show
  1. package/dist/chunks/{CMSearchIntfGwP01-DBpDpgQr.js → CMSearchIntfGwP01-BBdPmalj.js} +1 -1
  2. package/dist/chunks/{CMSearchIntfGwP01-CuGDAfFM.cjs → CMSearchIntfGwP01-Cs78BtE7.cjs} +1 -1
  3. package/dist/chunks/{MenuReport-yw8tZDUk.cjs → MenuReport-BCO-gXwk.cjs} +1 -1
  4. package/dist/chunks/{MenuReport-CCbCy7yt.js → MenuReport-CYK_Eaqa.js} +1 -1
  5. package/dist/chunks/{common-components-DtzVj5lz.js → common-components-C61ER0qC.js} +12846 -13367
  6. package/dist/chunks/common-components-mXgJEMpT.cjs +1109 -0
  7. package/dist/chunks/layout-components-D7I6VhXN.cjs +38 -0
  8. package/dist/chunks/{layout-components-ljht1sHh.js → layout-components-gqu1pmfr.js} +486 -438
  9. package/dist/components/common/BwgGrid.d.ts +31 -8
  10. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  11. package/dist/components/common/BwgView.d.ts.map +1 -1
  12. package/dist/components/common/index.cjs +1 -1
  13. package/dist/components/common/index.js +1 -1
  14. package/dist/components/core/BwgEmpSearch.d.ts +2 -2
  15. package/dist/components/core/BwgEmpSearch.d.ts.map +1 -1
  16. package/dist/components/core/BwgMaskedDate.d.ts.map +1 -1
  17. package/dist/components/core/BwgMaskedRange.d.ts.map +1 -1
  18. package/dist/components/core/index.cjs +1 -1
  19. package/dist/components/core/index.js +210 -207
  20. package/dist/components/guide/index.cjs +1 -1
  21. package/dist/components/guide/index.js +1 -1
  22. package/dist/components/layout/BwgCoreLogin.d.ts.map +1 -1
  23. package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
  24. package/dist/components/layout/extension/ContentWrapper.d.ts.map +1 -1
  25. package/dist/components/layout/index.cjs +1 -1
  26. package/dist/components/layout/index.js +1 -1
  27. package/dist/components/pages/board/CMMyBoardM01.d.ts.map +1 -1
  28. package/dist/components/popup/SearchOrganizationP01.d.ts.map +1 -1
  29. package/dist/components/popup/SearchOrganizationP02.d.ts.map +1 -1
  30. package/dist/components/popup/index.cjs +1 -1
  31. package/dist/components/popup/index.js +1 -1
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.js +2 -2
  34. package/dist/public/realgrid/css/realgrid-style-custom.css +6 -10
  35. package/dist/stores/index.cjs +1 -1
  36. package/dist/stores/index.js +1 -1
  37. package/dist/styles/assets/images/backgrounds/kiam_login_bg.png +0 -0
  38. package/dist/styles/assets/images/header/icon/ico-bell.svg +3 -3
  39. package/dist/styles/assets/images/header/icon/ico-logout.svg +10 -10
  40. package/dist/styles/assets/images/header/icon/ico-setting.svg +4 -4
  41. package/dist/styles/assets/images/header/icon/ico-sidebar-arrow.svg +3 -3
  42. package/dist/styles/components_02.css +35 -0
  43. package/dist/styles/global.css +9 -1
  44. package/dist/styles/index.css +3 -0
  45. package/dist/styles/layout.css +14 -4
  46. package/dist/styles/layout_02.css +99 -0
  47. package/dist/styles/login.css +7 -44
  48. package/dist/styles/login_02.css +35 -0
  49. package/dist/utils/apiUtils.d.ts.map +1 -1
  50. package/dist/utils/index.cjs +1 -1
  51. package/dist/utils/index.d.ts.map +1 -1
  52. package/dist/utils/index.js +67 -66
  53. package/package.json +1 -1
  54. package/dist/chunks/common-components-CbkWoYfX.cjs +0 -1111
  55. package/dist/chunks/layout-components-BzLAGXiu.cjs +0 -38
@@ -1,34 +1,34 @@
1
- import { jsxs as s, jsx as e, Fragment as j } from "react/jsx-runtime";
2
- import { o as ze, C as Ae, S as ge, n as He, m as $e } from "./provider-Kxea5IoZ.js";
3
- import { Routes as Se, Route as U, Navigate as Fe, useNavigate as fe, useLocation as We } from "react-router-dom";
4
- import { G as Ge, B as Ve, Q as Ke } from "./common-components-DtzVj5lz.js";
5
- import { Spin as q, Layout as Q, Button as B, ConfigProvider as Le, Flex as re, Slider as ce, Divider as ke, Switch as Ze, Modal as Ue, Popover as Ye, Avatar as qe, Dropdown as Qe, Tabs as Xe, Tooltip as ee, AutoComplete as Je, Input as ue, Segmented as et, Menu as pe, Result as Me, Space as Y, Typography as be, Empty as de, Breadcrumb as tt, Form as Z, Checkbox as nt, Card as Te } from "antd";
6
- import { lazy as A, useEffect as E, useRef as X, useCallback as R, useMemo as F, useState as z, createElement as Be, memo as ye, cloneElement as rt, Component as ot, Suspense as se } from "react";
7
- import { useUserStore as De, useLogout as it, useMenuViewStore as D, useMenuModelStore as le, useFavoriteStore as st, usePopupStore as Ce, useLogin as lt, useSystemStore as oe, useSsoLogin as at } from "../stores/index.js";
1
+ import { jsxs as i, jsx as e, Fragment as j } from "react/jsx-runtime";
2
+ import { o as Ae, C as ze, S as ge, n as He, m as $e } from "./provider-Kxea5IoZ.js";
3
+ import { Routes as Le, Route as U, Navigate as Fe, useNavigate as fe, useLocation as We } from "react-router-dom";
4
+ import { G as Ge, B as Ve, Q as Ke } from "./common-components-C61ER0qC.js";
5
+ import { Spin as q, Layout as Q, Button as B, ConfigProvider as be, Flex as re, Slider as ce, Divider as xe, Switch as Ze, Modal as Ue, Popover as Ye, Avatar as qe, Dropdown as Qe, Tabs as Xe, Tooltip as ee, AutoComplete as Je, Input as ue, Segmented as et, Menu as pe, Result as Me, Space as Y, Typography as ye, Empty as de, Breadcrumb as tt, Form as Z, Checkbox as nt, Card as Te } from "antd";
6
+ import { lazy as z, useEffect as E, useRef as X, useCallback as R, useMemo as F, useState as A, createElement as Be, memo as Ce, cloneElement as rt, Component as ot, Suspense as se } from "react";
7
+ import { useUserStore as De, useLogout as it, useMenuViewStore as D, useMenuModelStore as ae, useFavoriteStore as st, usePopupStore as ve, useLogin as at, useSystemStore as oe, useSsoLogin as lt } from "../stores/index.js";
8
8
  import * as ie from "@ant-design/icons";
9
- import { UserOutlined as ct, StepBackwardOutlined as dt, LeftOutlined as ht, RightOutlined as ut, StepForwardOutlined as pt, CloseOutlined as Ee, MenuUnfoldOutlined as mt, MenuFoldOutlined as gt, ExclamationCircleOutlined as ft, WarningOutlined as bt, StarOutlined as yt, FolderOpenOutlined as Ct, ReloadOutlined as we, ExclamationCircleTwoTone as ve, CheckCircleTwoTone as _e, LoginOutlined as wt } from "@ant-design/icons";
10
- import { getTodateString as xe, getUserId as Ne } from "../utils/index.js";
11
- import { useSensors as vt, useSensor as kt, PointerSensor as xt, DndContext as Nt, closestCenter as It } from "@dnd-kit/core";
12
- import { restrictToHorizontalAxis as Pt } from "@dnd-kit/modifiers";
9
+ import { UserOutlined as ct, StepBackwardOutlined as dt, LeftOutlined as ht, RightOutlined as ut, StepForwardOutlined as pt, CloseOutlined as Ee, MenuUnfoldOutlined as mt, MenuFoldOutlined as gt, ExclamationCircleOutlined as ft, WarningOutlined as bt, StarOutlined as yt, FolderOpenOutlined as Ct, ReloadOutlined as we, ExclamationCircleTwoTone as ke, CheckCircleTwoTone as _e, LoginOutlined as vt } from "@ant-design/icons";
10
+ import { getTodateString as Ne, getUserId as Pe } from "../utils/index.js";
11
+ import { useSensors as wt, useSensor as kt, PointerSensor as xt, DndContext as Nt, closestCenter as Pt } from "@dnd-kit/core";
12
+ import { restrictToHorizontalAxis as It } from "@dnd-kit/modifiers";
13
13
  import { arrayMove as St, SortableContext as Lt, horizontalListSortingStrategy as Mt, useSortable as Tt } from "@dnd-kit/sortable";
14
- const Bt = A(
15
- () => import("./MenuReport-CCbCy7yt.js")
16
- ), Dt = A(
17
- () => import("./common-components-DtzVj5lz.js").then((n) => n.$)
18
- ), Et = A(
19
- () => import("./common-components-DtzVj5lz.js").then((n) => n.a0)
20
- ), _t = A(
21
- () => import("./common-components-DtzVj5lz.js").then((n) => n.a1)
22
- ), Ot = A(
23
- () => import("./common-components-DtzVj5lz.js").then((n) => n.a2)
24
- ), Rt = A(
25
- () => import("./common-components-DtzVj5lz.js").then((n) => n.a4)
26
- ), jt = A(
27
- () => import("./CMSearchIntfGwP01-DBpDpgQr.js")
28
- ), zt = A(
29
- () => import("./common-components-DtzVj5lz.js").then((n) => n.a5)
30
- ), At = A(
31
- () => import("./common-components-DtzVj5lz.js").then((n) => n.a3)
14
+ const Bt = z(
15
+ () => import("./MenuReport-CYK_Eaqa.js")
16
+ ), Dt = z(
17
+ () => import("./common-components-C61ER0qC.js").then((n) => n.$)
18
+ ), Et = z(
19
+ () => import("./common-components-C61ER0qC.js").then((n) => n.a0)
20
+ ), _t = z(
21
+ () => import("./common-components-C61ER0qC.js").then((n) => n.a1)
22
+ ), Ot = z(
23
+ () => import("./common-components-C61ER0qC.js").then((n) => n.a2)
24
+ ), Rt = z(
25
+ () => import("./common-components-C61ER0qC.js").then((n) => n.a4)
26
+ ), jt = z(
27
+ () => import("./CMSearchIntfGwP01-BBdPmalj.js")
28
+ ), At = z(
29
+ () => import("./common-components-C61ER0qC.js").then((n) => n.a5)
30
+ ), zt = z(
31
+ () => import("./common-components-C61ER0qC.js").then((n) => n.a3)
32
32
  ), Ht = {
33
33
  // 게시판/문의
34
34
  CORE_REPORT: {
@@ -89,7 +89,7 @@ const Bt = A(
89
89
  }
90
90
  },
91
91
  CORE_ADDRESS_01: {
92
- component: zt,
92
+ component: At,
93
93
  defaultConfig: {
94
94
  title: "주소 검색",
95
95
  width: 750,
@@ -97,7 +97,7 @@ const Bt = A(
97
97
  }
98
98
  },
99
99
  CORE_HOLIDAY_01: {
100
- component: At,
100
+ component: zt,
101
101
  defaultConfig: {
102
102
  title: "휴일 검색",
103
103
  width: 750,
@@ -149,8 +149,8 @@ const Ft = ({
149
149
  count: t,
150
150
  size: r = 12,
151
151
  gap: o = 10,
152
- amp: l = 16,
153
- speedMs: a = 900,
152
+ amp: a = 16,
153
+ speedMs: c = 900,
154
154
  direction: g = "ltr",
155
155
  phase: h = 0.7
156
156
  }) => {
@@ -160,9 +160,9 @@ const Ft = ({
160
160
  const u = t ?? n.length, f = Array.from({ length: u }), p = {
161
161
  "--bwg-size": `${r}px`,
162
162
  "--bwg-gap": `${o}px`,
163
- "--bwg-amp": `${l}px`,
164
- "--bwg-speed": `${a}ms`
165
- }, N = a / u * h;
163
+ "--bwg-amp": `${a}px`,
164
+ "--bwg-speed": `${c}ms`
165
+ }, N = c / u * h;
166
166
  return /* @__PURE__ */ e(
167
167
  "span",
168
168
  {
@@ -170,16 +170,16 @@ const Ft = ({
170
170
  role: "img",
171
171
  "aria-label": "loading",
172
172
  style: p,
173
- children: f.map((d, c) => /* @__PURE__ */ e(
173
+ children: f.map((d, l) => /* @__PURE__ */ e(
174
174
  "span",
175
175
  {
176
176
  className: "dot",
177
177
  style: {
178
- backgroundColor: n[c % n.length],
179
- animationDelay: g === "ltr" ? `${c * N}ms` : `${(u - 1 - c) * N}ms`
178
+ backgroundColor: n[l % n.length],
179
+ animationDelay: g === "ltr" ? `${l * N}ms` : `${(u - 1 - l) * N}ms`
180
180
  }
181
181
  },
182
- c
182
+ l
183
183
  ))
184
184
  }
185
185
  );
@@ -189,8 +189,8 @@ const Ft = ({
189
189
  dimStyle: r = "dark"
190
190
  }) => {
191
191
  if (!(n ?? !0)) return null;
192
- const a = r === "dark";
193
- return /* @__PURE__ */ s(
192
+ const c = r === "dark";
193
+ return /* @__PURE__ */ i(
194
194
  "div",
195
195
  {
196
196
  className: "loading-overlay",
@@ -203,8 +203,8 @@ const Ft = ({
203
203
  alignItems: "center",
204
204
  gap: 8,
205
205
  padding: "8px 12px",
206
- background: a ? "rgba(0, 0, 0, 0.6)" : "rgba(255, 255, 255, 0.85)",
207
- color: a ? "#fff" : "#333",
206
+ background: c ? "rgba(0, 0, 0, 0.6)" : "rgba(255, 255, 255, 0.85)",
207
+ color: c ? "#fff" : "#333",
208
208
  backdropFilter: "blur(4px)",
209
209
  zIndex: 1e4
210
210
  },
@@ -238,14 +238,14 @@ const Ft = ({
238
238
  useCommonProvider: t = !0,
239
239
  useServiceProvider: r = !0
240
240
  }) => {
241
- let l = /* @__PURE__ */ s(Se, { children: [
241
+ let a = /* @__PURE__ */ i(Le, { children: [
242
242
  /* @__PURE__ */ e(U, { path: "/", element: /* @__PURE__ */ e(Fe, { to: "/login" }) }),
243
243
  /* @__PURE__ */ e(U, { path: "/ssoLogin", element: n.ssoLogin }),
244
244
  /* @__PURE__ */ e(U, { path: "/login", element: n.login }),
245
245
  /* @__PURE__ */ e(U, { path: "/main/*", element: n.main }),
246
246
  /* @__PURE__ */ e(U, { path: "/sessionNotice", element: n.sessionNotice })
247
247
  ] });
248
- return r && (l = /* @__PURE__ */ e(ze, { children: l })), t && (l = /* @__PURE__ */ e(Ae, { children: l })), /* @__PURE__ */ e(Ge, { children: l });
248
+ return r && (a = /* @__PURE__ */ e(Ae, { children: a })), t && (a = /* @__PURE__ */ e(ze, { children: a })), /* @__PURE__ */ e(Ge, { children: a });
249
249
  }, { Content: Wt } = Q, Oe = ({
250
250
  config: n = {},
251
251
  children: t
@@ -366,15 +366,15 @@ const Ft = ({
366
366
  ...n.logo
367
367
  },
368
368
  right: r
369
- }, l = fe(), a = X(null), g = it(() => l("/login", { replace: !0 })), {
369
+ }, a = fe(), c = X(null), g = it(() => a("/login", { replace: !0 })), {
370
370
  componentSize: h,
371
371
  setComponentSize: u,
372
372
  gridSize: f,
373
373
  setGridSize: p,
374
374
  spacingSize: N,
375
375
  setSpacingSize: d,
376
- enableProtectWrapper: c,
377
- setEnableProtectWrapper: I,
376
+ enableProtectWrapper: l,
377
+ setEnableProtectWrapper: P,
378
378
  theme: k,
379
379
  setTheme: m,
380
380
  clearAllGridLayouts: C
@@ -382,8 +382,8 @@ const Ft = ({
382
382
  try {
383
383
  if (!/^[a-zA-Z0-9-]+$/.test(b) || !/^[#a-zA-Z0-9()\s,.-]+$/.test(L)) return;
384
384
  document.documentElement.style.setProperty(b, L);
385
- } catch (v) {
386
- console.error("CSS variable setting failed:", v);
385
+ } catch (w) {
386
+ console.error("CSS variable setting failed:", w);
387
387
  }
388
388
  }, $ = (b) => {
389
389
  if (!te[b]) return;
@@ -392,7 +392,7 @@ const Ft = ({
392
392
  x("--header-bg", L.headerBg), x("--header-text", L.headerText), x("--sidebar-bg", L.sidebarBg), x("--sidebar-text", L.sidebarText), x("--button-primary", L.buttonPrimary), x("--button-primary-hover", L.buttonPrimaryHover), x("--button-primary-active", L.buttonPrimaryActive), x("--button-default", L.buttonDefault), x("--button-default-hover", L.buttonDefaultHover), x("--button-default-border", L.buttonDefaultBorder), x(
393
393
  "--button-permission-border",
394
394
  L.buttonPermissionBorder
395
- ), a.current && a.current.setAttribute("data-theme", b), document.documentElement.setAttribute("data-theme", b);
395
+ ), c.current && c.current.setAttribute("data-theme", b), document.documentElement.setAttribute("data-theme", b);
396
396
  };
397
397
  E(() => {
398
398
  if (k && te[k]) {
@@ -406,13 +406,13 @@ const Ft = ({
406
406
  ), x(
407
407
  "--button-permission-border",
408
408
  b.buttonPermissionBorder
409
- ), a.current && a.current.setAttribute("data-theme", k), document.documentElement.setAttribute("data-theme", k);
409
+ ), c.current && c.current.setAttribute("data-theme", k), document.documentElement.setAttribute("data-theme", k);
410
410
  } else
411
411
  $("modern");
412
412
  }, [k]);
413
413
  const K = () => {
414
414
  g();
415
- }, H = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
415
+ }, H = () => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
416
416
  /* @__PURE__ */ e("g", { clipPath: "url(#clip0_1424_1089)", children: /* @__PURE__ */ e(
417
417
  "path",
418
418
  {
@@ -424,8 +424,8 @@ const Ft = ({
424
424
  ) }),
425
425
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1424_1089", children: /* @__PURE__ */ e("rect", { width: "20", height: "20", fill: "white" }) }) })
426
426
  ] });
427
- xe ? xe("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
428
- const J = /* @__PURE__ */ s(
427
+ Ne ? Ne("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
428
+ const J = /* @__PURE__ */ i(
429
429
  "div",
430
430
  {
431
431
  className: "theme-setting-popover",
@@ -433,7 +433,7 @@ const Ft = ({
433
433
  minWidth: "320px"
434
434
  },
435
435
  children: [
436
- /* @__PURE__ */ s(
436
+ /* @__PURE__ */ i(
437
437
  "div",
438
438
  {
439
439
  style: {
@@ -444,7 +444,7 @@ const Ft = ({
444
444
  },
445
445
  children: [
446
446
  /* @__PURE__ */ e("div", { className: "sub-title", style: { marginBottom: 10 }, children: "테마 선택" }),
447
- /* @__PURE__ */ s(
447
+ /* @__PURE__ */ i(
448
448
  "div",
449
449
  {
450
450
  style: {
@@ -480,8 +480,8 @@ const Ft = ({
480
480
  ]
481
481
  }
482
482
  ),
483
- /* @__PURE__ */ s(
484
- Le,
483
+ /* @__PURE__ */ i(
484
+ be,
485
485
  {
486
486
  theme: {
487
487
  components: {
@@ -504,14 +504,14 @@ const Ft = ({
504
504
  }
505
505
  },
506
506
  children: [
507
- /* @__PURE__ */ s("div", { style: {
507
+ /* @__PURE__ */ i("div", { style: {
508
508
  display: "flex",
509
509
  flexDirection: "column",
510
510
  gap: 20,
511
511
  padding: "0 10px"
512
512
  }, children: [
513
- /* @__PURE__ */ s("div", { children: [
514
- /* @__PURE__ */ s(
513
+ /* @__PURE__ */ i("div", { children: [
514
+ /* @__PURE__ */ i(
515
515
  re,
516
516
  {
517
517
  justify: "space-between",
@@ -547,8 +547,8 @@ const Ft = ({
547
547
  }
548
548
  )
549
549
  ] }),
550
- /* @__PURE__ */ s("div", { children: [
551
- /* @__PURE__ */ s(
550
+ /* @__PURE__ */ i("div", { children: [
551
+ /* @__PURE__ */ i(
552
552
  re,
553
553
  {
554
554
  justify: "space-between",
@@ -584,8 +584,8 @@ const Ft = ({
584
584
  }
585
585
  )
586
586
  ] }),
587
- /* @__PURE__ */ s("div", { children: [
588
- /* @__PURE__ */ s(
587
+ /* @__PURE__ */ i("div", { children: [
588
+ /* @__PURE__ */ i(
589
589
  re,
590
590
  {
591
591
  justify: "space-between",
@@ -622,8 +622,8 @@ const Ft = ({
622
622
  )
623
623
  ] })
624
624
  ] }),
625
- /* @__PURE__ */ e(ke, { style: { margin: "20px 0 15px", borderBlockStart: "1px solid #dddddd" } }),
626
- /* @__PURE__ */ s(
625
+ /* @__PURE__ */ e(xe, { style: { margin: "20px 0 15px", borderBlockStart: "1px solid #dddddd" } }),
626
+ /* @__PURE__ */ i(
627
627
  "div",
628
628
  {
629
629
  style: {
@@ -637,8 +637,8 @@ const Ft = ({
637
637
  /* @__PURE__ */ e(
638
638
  Ze,
639
639
  {
640
- checked: c,
641
- onChange: I
640
+ checked: l,
641
+ onChange: P
642
642
  }
643
643
  )
644
644
  ]
@@ -647,7 +647,7 @@ const Ft = ({
647
647
  ]
648
648
  }
649
649
  ),
650
- /* @__PURE__ */ e(ke, { style: { margin: "15px 0 20px", borderBlockStart: "1px solid #dddddd" } }),
650
+ /* @__PURE__ */ e(xe, { style: { margin: "15px 0 20px", borderBlockStart: "1px solid #dddddd" } }),
651
651
  /* @__PURE__ */ e("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ e(
652
652
  B,
653
653
  {
@@ -670,7 +670,7 @@ const Ft = ({
670
670
  ]
671
671
  }
672
672
  );
673
- return /* @__PURE__ */ s(
673
+ return /* @__PURE__ */ i(
674
674
  Zt,
675
675
  {
676
676
  className: o.wrapper.className,
@@ -687,7 +687,7 @@ const Ft = ({
687
687
  t && /* @__PURE__ */ e(
688
688
  "div",
689
689
  {
690
- className: "header-center",
690
+ className: "header-center top-menu-wrap",
691
691
  style: {
692
692
  flex: 1,
693
693
  display: "flex",
@@ -697,7 +697,7 @@ const Ft = ({
697
697
  children: t
698
698
  }
699
699
  ),
700
- /* @__PURE__ */ s(
700
+ /* @__PURE__ */ i(
701
701
  "div",
702
702
  {
703
703
  className: "header-right",
@@ -801,16 +801,16 @@ const Ft = ({
801
801
  return t + " " + r + "ms " + o;
802
802
  }
803
803
  }
804
- }), Yt = ye(
804
+ }), Yt = Ce(
805
805
  ({ className: n, ...t }) => {
806
806
  const r = X(null), {
807
807
  attributes: o,
808
- listeners: l,
809
- transform: a,
808
+ listeners: a,
809
+ transform: c,
810
810
  transition: g,
811
811
  isDragging: h,
812
812
  setNodeRef: u
813
- } = Tt({ id: t["data-node-key"] }), [f, p] = z();
813
+ } = Tt({ id: t["data-node-key"] }), [f, p] = A();
814
814
  E(() => {
815
815
  const C = r.current;
816
816
  if (C)
@@ -822,7 +822,7 @@ const Ft = ({
822
822
  }, [h]);
823
823
  const N = {
824
824
  ...t.style,
825
- transform: a ? me.Transform.toString(a) : void 0,
825
+ transform: c ? me.Transform.toString(c) : void 0,
826
826
  transition: g ?? "transform 0.16s ease",
827
827
  cursor: "grab",
828
828
  userSelect: "none",
@@ -832,7 +832,7 @@ const Ft = ({
832
832
  minWidth: f ?? void 0,
833
833
  maxWidth: f ?? void 0,
834
834
  flex: f !== void 0 ? "0 0 auto" : void 0
835
- }, d = t.children, c = d.props?.className || "", m = t["data-gubun"] === "C" ? c ? `${c} tab-special` : "tab-special" : c;
835
+ }, d = t.children, l = d.props?.className || "", m = t["data-gubun"] === "C" ? l ? `${l} tab-special` : "tab-special" : l;
836
836
  return rt(d, {
837
837
  ref: (C) => {
838
838
  r.current !== C && (r.current = C), u(C);
@@ -840,21 +840,21 @@ const Ft = ({
840
840
  className: m,
841
841
  style: N,
842
842
  ...o,
843
- ...l
843
+ ...a
844
844
  });
845
845
  }
846
- ), qt = ye(function({
846
+ ), qt = Ce(function({
847
847
  config: t,
848
848
  isFirst: r,
849
849
  isLast: o,
850
- canCloseAll: l,
851
- onFirst: a,
850
+ canCloseAll: a,
851
+ onFirst: c,
852
852
  onPrev: g,
853
853
  onNext: h,
854
854
  onLast: u,
855
855
  onCloseAll: f
856
856
  }) {
857
- return /* @__PURE__ */ s("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
857
+ return /* @__PURE__ */ i("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
858
858
  /* @__PURE__ */ e(
859
859
  ee,
860
860
  {
@@ -868,7 +868,7 @@ const Ft = ({
868
868
  style: t.buttons?.style,
869
869
  size: "small",
870
870
  icon: /* @__PURE__ */ e(dt, {}),
871
- onClick: a,
871
+ onClick: c,
872
872
  disabled: r
873
873
  }
874
874
  )
@@ -945,7 +945,7 @@ const Ft = ({
945
945
  size: "small",
946
946
  icon: /* @__PURE__ */ e(Ee, {}),
947
947
  onClick: f,
948
- disabled: !l
948
+ disabled: !a
949
949
  }
950
950
  )
951
951
  }
@@ -979,53 +979,53 @@ const Ft = ({
979
979
  ...n?.nav
980
980
  },
981
981
  ...n
982
- }, r = D((i) => i.tabs), o = D((i) => i.activeMenuId), l = D((i) => i.pinnedTabs), a = D((i) => i.focusTab), g = D((i) => i.closeTab), h = D((i) => i.reorderTabs), u = D((i) => i.togglePinTab), f = D((i) => i.refreshTab), p = D((i) => i.closeOtherTabs), N = D((i) => i.closeRightTabs);
983
- D((i) => i.closeAllTabs);
984
- const d = vt(
982
+ }, r = D((s) => s.tabs), o = D((s) => s.activeMenuId), a = D((s) => s.pinnedTabs), c = D((s) => s.focusTab), g = D((s) => s.closeTab), h = D((s) => s.reorderTabs), u = D((s) => s.togglePinTab), f = D((s) => s.refreshTab), p = D((s) => s.closeOtherTabs), N = D((s) => s.closeRightTabs);
983
+ D((s) => s.closeAllTabs);
984
+ const d = wt(
985
985
  kt(xt, { activationConstraint: { distance: 6 } })
986
- ), c = (i) => {
987
- a(i);
988
- }, I = (i, w) => {
989
- w === "remove" && typeof i == "string" && g(i);
986
+ ), l = (s) => {
987
+ c(s);
988
+ }, P = (s, v) => {
989
+ v === "remove" && typeof s == "string" && g(s);
990
990
  }, k = () => {
991
- r.length > 0 && a(r[0].key);
991
+ r.length > 0 && c(r[0].key);
992
992
  }, m = () => {
993
993
  if (!o || r.length <= 1) return;
994
- const i = r.findIndex((w) => w.key === o);
995
- i > 0 && a(r[i - 1].key);
994
+ const s = r.findIndex((v) => v.key === o);
995
+ s > 0 && c(r[s - 1].key);
996
996
  }, C = () => {
997
997
  if (!o || r.length <= 1) return;
998
- const i = r.findIndex((w) => w.key === o);
999
- i < r.length - 1 && a(r[i + 1].key);
998
+ const s = r.findIndex((v) => v.key === o);
999
+ s < r.length - 1 && c(r[s + 1].key);
1000
1000
  }, S = () => {
1001
- r.length > 0 && a(r[r.length - 1].key);
1001
+ r.length > 0 && c(r[r.length - 1].key);
1002
1002
  }, _ = () => {
1003
- r.forEach((i) => {
1004
- l.has(i.key) || g(i.key);
1003
+ r.forEach((s) => {
1004
+ a.has(s.key) || g(s.key);
1005
1005
  });
1006
- }, O = R((i) => (w) => {
1007
- w.preventDefault(), w.stopPropagation();
1006
+ }, O = R((s) => (v) => {
1007
+ v.preventDefault(), v.stopPropagation();
1008
1008
  }, []), x = R(
1009
- (i) => {
1010
- const w = l.has(i), M = r.findIndex((ne) => ne.key === i), T = M >= 0 && M < r.length - 1, W = r.length > 1;
1009
+ (s) => {
1010
+ const v = a.has(s), M = r.findIndex((ne) => ne.key === s), T = M >= 0 && M < r.length - 1, W = r.length > 1;
1011
1011
  return [
1012
1012
  {
1013
1013
  key: "close",
1014
1014
  label: "닫기",
1015
- icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1015
+ icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1016
1016
  /* @__PURE__ */ e("g", { "clip-path": "url(#clip0_1409_1182)", children: /* @__PURE__ */ e("path", { d: "M16.2 5.80005L5.79004 16.21M5.80004 5.80005L16.21 16.21", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }),
1017
1017
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1182", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1018
1018
  ] }),
1019
1019
  onClick: () => {
1020
- w || g(i);
1020
+ v || g(s);
1021
1021
  },
1022
- disabled: w
1022
+ disabled: v
1023
1023
  },
1024
1024
  {
1025
1025
  key: "pin",
1026
- label: w ? "고정 해제" : "고정",
1027
- icon: w ? /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1028
- /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1222)", children: [
1026
+ label: v ? "고정 해제" : "고정",
1027
+ icon: v ? /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1028
+ /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1222)", children: [
1029
1029
  /* @__PURE__ */ e("path", { d: "M8.19998 8.28992C7.38998 8.41992 6.60998 8.78992 5.97998 9.41992L12.58 16.0199C13.2 15.3999 13.57 14.6299 13.7 13.8199", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1030
1030
  /* @__PURE__ */ e("path", { d: "M13.7601 10.9099L16.2101 8.45993L13.5501 5.79993L11.1001 8.24993", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1031
1031
  /* @__PURE__ */ e("path", { d: "M12.4502 4.70996L17.2902 9.54996", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
@@ -1033,8 +1033,8 @@ const Ft = ({
1033
1033
  /* @__PURE__ */ e("path", { d: "M5.27979 5.27991L16.7198 16.7199", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
1034
1034
  ] }),
1035
1035
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1222", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1036
- ] }) : /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1037
- /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1186)", children: [
1036
+ ] }) : /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1037
+ /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1186)", children: [
1038
1038
  /* @__PURE__ */ e("path", { d: "M13.32 11.3399L16.2 8.45993L13.54 5.79993L10.66 8.67993C9.13998 7.91993 7.24998 8.15993 5.97998 9.41993L12.58 16.0199C13.85 14.7499 14.08 12.8599 13.32 11.3399Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1039
1039
  /* @__PURE__ */ e("path", { d: "M12.4502 4.70996L17.2902 9.54996", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1040
1040
  /* @__PURE__ */ e("path", { d: "M9.27996 12.72L4.70996 17.29", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
@@ -1042,18 +1042,18 @@ const Ft = ({
1042
1042
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1186", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1043
1043
  ] }),
1044
1044
  onClick: () => {
1045
- u(i);
1045
+ u(s);
1046
1046
  }
1047
1047
  },
1048
1048
  {
1049
1049
  key: "refresh",
1050
1050
  label: "새로고침",
1051
- icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1051
+ icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1052
1052
  /* @__PURE__ */ e("g", { "clip-path": "url(#clip0_1409_1193)", children: /* @__PURE__ */ e("path", { d: "M16.1801 13.13C15.7801 14.25 15.0401 15.22 14.0401 15.87C13.0501 16.53 11.8701 16.85 10.6801 16.78C9.49009 16.71 8.36009 16.26 7.45009 15.49C6.54009 14.72 5.91009 13.68 5.64009 12.52C5.38009 11.36 5.50009 10.15 5.98009 9.05996C6.47009 7.96996 7.29009 7.07996 8.33009 6.49996C9.37009 5.91996 10.5701 5.69996 11.7501 5.86996C13.7401 6.14996 15.0501 7.58996 16.4701 8.85996M16.4901 5.20996V8.86996H12.8301", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }),
1053
1053
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1193", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1054
1054
  ] }),
1055
1055
  onClick: () => {
1056
- f(i);
1056
+ f(s);
1057
1057
  }
1058
1058
  },
1059
1059
  {
@@ -1062,8 +1062,8 @@ const Ft = ({
1062
1062
  {
1063
1063
  key: "closeOthers",
1064
1064
  label: "다른 탭 닫기",
1065
- icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1066
- /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1197)", children: [
1065
+ icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1066
+ /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1197)", children: [
1067
1067
  /* @__PURE__ */ e("path", { d: "M4.52979 5.74005V16.2601C4.52979 16.7101 4.88979 17.0701 5.33979 17.0701H16.6698C17.1198 17.0701 17.4798 16.7101 17.4798 16.2601V8.17005C17.4798 7.72005 17.1198 7.36005 16.6698 7.36005H12.6898C12.3898 7.36005 12.1098 7.23005 11.9198 7.00005L10.4398 5.22005C10.2898 5.04005 10.0598 4.93005 9.81978 4.93005H5.33979C4.88979 4.93005 4.52979 5.29005 4.52979 5.74005Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1068
1068
  /* @__PURE__ */ e("path", { d: "M13.3598 7.36011H4.52979", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1069
1069
  /* @__PURE__ */ e("path", { d: "M12.7897 10.4301L9.19971 14.0201M9.20971 10.4301L12.7997 14.0201", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
@@ -1071,15 +1071,15 @@ const Ft = ({
1071
1071
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1197", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1072
1072
  ] }),
1073
1073
  onClick: () => {
1074
- p(i);
1074
+ p(s);
1075
1075
  },
1076
1076
  disabled: !W
1077
1077
  },
1078
1078
  {
1079
1079
  key: "closeRight",
1080
1080
  label: "우측 탭 닫기",
1081
- icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1082
- /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1204)", children: [
1081
+ icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1082
+ /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1204)", children: [
1083
1083
  /* @__PURE__ */ e("path", { d: "M16.3402 10.53V16.51C16.3402 17.05 15.9302 17.49 15.4302 17.49H5.40023C4.90023 17.49 4.49023 17.05 4.49023 16.51V7.73C4.49023 7.19 4.90023 6.75 5.40023 6.75H10.1702", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1084
1084
  /* @__PURE__ */ e("path", { d: "M12.33 11.4301L8.5 15.2601M8.5 11.4301L12.33 15.2601", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1085
1085
  /* @__PURE__ */ e("path", { d: "M12.1699 6.76001H17.4199", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
@@ -1090,15 +1090,15 @@ const Ft = ({
1090
1090
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1204", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1091
1091
  ] }),
1092
1092
  onClick: () => {
1093
- N(i);
1093
+ N(s);
1094
1094
  },
1095
1095
  disabled: !T
1096
1096
  },
1097
1097
  {
1098
1098
  key: "closeAll",
1099
1099
  label: "전체 닫기",
1100
- icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1101
- /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1215)", children: [
1100
+ icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1101
+ /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1215)", children: [
1102
1102
  /* @__PURE__ */ e("path", { d: "M14.8405 10.15L10.2305 14.76M10.2305 10.15L14.8405 14.76", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1103
1103
  /* @__PURE__ */ e("path", { d: "M16.5101 7.47998H8.56006C8.00777 7.47998 7.56006 7.9277 7.56006 8.47998V16.43C7.56006 16.9823 8.00777 17.43 8.56006 17.43H16.5101C17.0623 17.43 17.5101 16.9823 17.5101 16.43V8.47998C17.5101 7.9277 17.0623 7.47998 16.5101 7.47998Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1104
1104
  /* @__PURE__ */ e("path", { d: "M5.53023 14.81C4.95023 14.81 4.49023 14.34 4.49023 13.77V5.89999C4.49023 5.31999 4.96023 4.85999 5.53023 4.85999H13.4002C13.9802 4.85999 14.4402 5.32999 14.4402 5.89999", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
@@ -1114,63 +1114,63 @@ const Ft = ({
1114
1114
  },
1115
1115
  [
1116
1116
  r,
1117
- l,
1117
+ a,
1118
1118
  g,
1119
1119
  u,
1120
1120
  f,
1121
1121
  p,
1122
1122
  N
1123
1123
  ]
1124
- ), $ = o ? r.findIndex((i) => i.key === o) : -1, K = $ === 0, H = $ === r.length - 1, J = F(
1125
- () => r.map((i) => {
1126
- const w = l.has(i.key);
1124
+ ), $ = o ? r.findIndex((s) => s.key === o) : -1, K = $ === 0, H = $ === r.length - 1, J = F(
1125
+ () => r.map((s) => {
1126
+ const v = a.has(s.key);
1127
1127
  return {
1128
- key: i.key,
1129
- label: /* @__PURE__ */ s("span", { className: "menu-tabs-text", style: { position: "relative" }, children: [
1130
- w && /* @__PURE__ */ s("svg", { className: "tabs-pin-icon", xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1131
- /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1413_1595)", children: [
1128
+ key: s.key,
1129
+ label: /* @__PURE__ */ i("span", { className: "menu-tabs-text", style: { position: "relative" }, children: [
1130
+ v && /* @__PURE__ */ i("svg", { className: "tabs-pin-icon", xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1131
+ /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1413_1595)", children: [
1132
1132
  /* @__PURE__ */ e("path", { d: "M13.32 11.3399L16.2 8.45993L13.54 5.79993L10.66 8.67993C9.13998 7.91993 7.24998 8.15993 5.97998 9.41993L12.58 16.0199C13.85 14.7499 14.08 12.8599 13.32 11.3399Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1133
1133
  /* @__PURE__ */ e("path", { d: "M12.4502 4.70996L17.2902 9.54996", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1134
1134
  /* @__PURE__ */ e("path", { d: "M9.27996 12.72L4.70996 17.29", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
1135
1135
  ] }),
1136
1136
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1413_1595", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1137
1137
  ] }),
1138
- i.label
1138
+ s.label
1139
1139
  ] }),
1140
- closable: !w,
1140
+ closable: !v,
1141
1141
  // 고정된 탭은 닫을 수 없음
1142
1142
  children: null
1143
1143
  // 컨텐츠는 Main 쪽에서 렌더 → 여기선 헤더만 필요
1144
1144
  };
1145
1145
  }),
1146
- [r, l]
1147
- ), [b, L] = z(null), v = R(({ active: i }) => {
1146
+ [r, a]
1147
+ ), [b, L] = A(null), w = R(({ active: s }) => {
1148
1148
  L(null);
1149
- }, []), P = R(
1150
- ({ active: i, over: w }) => {
1151
- if (!w || i.id === w.id) return;
1152
- const M = r.findIndex((G) => G.key === i.id), T = r.findIndex((G) => G.key === w.id);
1149
+ }, []), I = R(
1150
+ ({ active: s, over: v }) => {
1151
+ if (!v || s.id === v.id) return;
1152
+ const M = r.findIndex((G) => G.key === s.id), T = r.findIndex((G) => G.key === v.id);
1153
1153
  if (M < 0 || T < 0 || M === T) return;
1154
1154
  const W = r.map((G) => G.key), ne = St(W, M, T);
1155
1155
  h?.(ne);
1156
1156
  },
1157
1157
  [r, h]
1158
1158
  ), y = R(
1159
- (i, w) => /* @__PURE__ */ e(
1159
+ (s, v) => /* @__PURE__ */ e(
1160
1160
  Nt,
1161
1161
  {
1162
1162
  sensors: d,
1163
- onDragStart: v,
1164
- onDragEnd: P,
1165
- collisionDetection: It,
1166
- modifiers: [Pt],
1163
+ onDragStart: w,
1164
+ onDragEnd: I,
1165
+ collisionDetection: Pt,
1166
+ modifiers: [It],
1167
1167
  children: /* @__PURE__ */ e(
1168
1168
  Lt,
1169
1169
  {
1170
1170
  items: r.map((M) => M.key),
1171
1171
  strategy: Mt,
1172
- children: /* @__PURE__ */ e(w, { ...i, children: (M) => {
1173
- const T = M.key, W = b === T, G = r.find((ae) => ae.key === T)?.gubun;
1172
+ children: /* @__PURE__ */ e(v, { ...s, children: (M) => {
1173
+ const T = M.key, W = b === T, G = r.find((le) => le.key === T)?.gubun;
1174
1174
  return /* @__PURE__ */ e(
1175
1175
  Qe,
1176
1176
  {
@@ -1178,8 +1178,8 @@ const Ft = ({
1178
1178
  menu: { items: x(T) },
1179
1179
  trigger: ["contextMenu"],
1180
1180
  open: W,
1181
- onOpenChange: (ae) => {
1182
- L(ae ? T : null);
1181
+ onOpenChange: (le) => {
1182
+ L(le ? T : null);
1183
1183
  },
1184
1184
  children: /* @__PURE__ */ e(
1185
1185
  "span",
@@ -1206,8 +1206,8 @@ const Ft = ({
1206
1206
  ),
1207
1207
  [
1208
1208
  d,
1209
- v,
1210
- P,
1209
+ w,
1210
+ I,
1211
1211
  r,
1212
1212
  b,
1213
1213
  x,
@@ -1227,8 +1227,8 @@ const Ft = ({
1227
1227
  {
1228
1228
  type: "editable-card",
1229
1229
  activeKey: o || void 0,
1230
- onChange: c,
1231
- onEdit: I,
1230
+ onChange: l,
1231
+ onEdit: P,
1232
1232
  className: t.tabs.className,
1233
1233
  style: t.tabs.style,
1234
1234
  hideAdd: !0,
@@ -1294,15 +1294,15 @@ const Ft = ({
1294
1294
  ...n?.style
1295
1295
  },
1296
1296
  ...n
1297
- }, [r, o] = z(""), [l, a] = z(
1297
+ }, [r, o] = A(""), [a, c] = A(
1298
1298
  "category"
1299
- ), [g, h] = z([]), { activeMenuId: u, sidebarCollapsed: f, openTabFromMenu: p, toggleSidebar: N } = D(), { menuList: d, isLoading: c, error: I, findMenuById: k, flatMenuList: m } = le(), { nodes: C, treeNodes: S, loadFavoritesIfNeeded: _ } = st(), O = F(() => {
1300
- const v = [], P = (y, i = 0) => {
1299
+ ), [g, h] = A([]), { activeMenuId: u, sidebarCollapsed: f, openTabFromMenu: p, toggleSidebar: N } = D(), { menuList: d, isLoading: l, error: P, findMenuById: k, flatMenuList: m } = ae(), { nodes: C, treeNodes: S, loadFavoritesIfNeeded: _ } = st(), O = F(() => {
1300
+ const w = [], I = (y, s = 0) => {
1301
1301
  if (y.menuGbCd === t.menuGubunCode.program && y.scrnPath) {
1302
- const w = " ".repeat(i), M = y.menuNo || "";
1303
- v.push({
1302
+ const v = " ".repeat(s), M = y.menuNo || "";
1303
+ w.push({
1304
1304
  value: y.menuId,
1305
- label: /* @__PURE__ */ s(
1305
+ label: /* @__PURE__ */ i(
1306
1306
  "div",
1307
1307
  {
1308
1308
  style: {
@@ -1311,8 +1311,8 @@ const Ft = ({
1311
1311
  alignItems: "center"
1312
1312
  },
1313
1313
  children: [
1314
- /* @__PURE__ */ s("span", { children: [
1315
- w,
1314
+ /* @__PURE__ */ i("span", { children: [
1315
+ v,
1316
1316
  y.menuNm
1317
1317
  ] }),
1318
1318
  /* @__PURE__ */ e(
@@ -1335,26 +1335,26 @@ const Ft = ({
1335
1335
  menuItem: y
1336
1336
  });
1337
1337
  }
1338
- y.children && y.children.length > 0 && y.children.forEach((w) => P(w, i + 1));
1338
+ y.children && y.children.length > 0 && y.children.forEach((v) => I(v, s + 1));
1339
1339
  };
1340
- return d.forEach((y) => P(y)), v;
1341
- }, [d]), x = F(() => r.trim() ? O.filter((v) => {
1342
- const P = v.menuItem.menuNm.toLowerCase(), y = String(v.menuItem.menuNo || "미지정").toLowerCase(), i = r.toLowerCase();
1343
- return P.includes(i) || y.includes(i);
1344
- }) : [], [O, r]), $ = (v) => {
1345
- if (!v || typeof v != "string") {
1346
- console.warn("Invalid menu selection value:", v);
1340
+ return d.forEach((y) => I(y)), w;
1341
+ }, [d]), x = F(() => r.trim() ? O.filter((w) => {
1342
+ const I = w.menuItem.menuNm.toLowerCase(), y = String(w.menuItem.menuNo || "미지정").toLowerCase(), s = r.toLowerCase();
1343
+ return I.includes(s) || y.includes(s);
1344
+ }) : [], [O, r]), $ = (w) => {
1345
+ if (!w || typeof w != "string") {
1346
+ console.warn("Invalid menu selection value:", w);
1347
1347
  return;
1348
1348
  }
1349
- if (!/^[a-zA-Z0-9_-]+$/.test(v)) {
1350
- console.warn("Invalid menu ID format:", v);
1349
+ if (!/^[a-zA-Z0-9_-]+$/.test(w)) {
1350
+ console.warn("Invalid menu ID format:", w);
1351
1351
  return;
1352
1352
  }
1353
- const P = O.find(
1354
- (y) => y.value === v
1353
+ const I = O.find(
1354
+ (y) => y.value === w
1355
1355
  );
1356
- if (P) {
1357
- const { menuItem: y } = P;
1356
+ if (I) {
1357
+ const { menuItem: y } = I;
1358
1358
  if (!y || !y.menuId || !y.menuNm) {
1359
1359
  console.warn("Invalid menu item:", y);
1360
1360
  return;
@@ -1371,20 +1371,20 @@ const Ft = ({
1371
1371
  ), p(y)) : (y.menuGbCd === t.menuGubunCode.mainMenu || y.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", y.menuNm, "menuGbCd:", y.menuGbCd)), o("");
1372
1372
  }
1373
1373
  }, K = R(
1374
- (v) => {
1375
- const P = k(v);
1376
- P?.menuGbCd === t.menuGubunCode.program && (console.log(
1374
+ (w) => {
1375
+ const I = k(w);
1376
+ I?.menuGbCd === t.menuGubunCode.program && (console.log(
1377
1377
  "메뉴명:",
1378
- P.menuNm,
1378
+ I.menuNm,
1379
1379
  "경로:",
1380
- P.scrnPath,
1380
+ I.scrnPath,
1381
1381
  "scrnId:",
1382
- P.scrnId
1383
- ), p(P));
1382
+ I.scrnId
1383
+ ), p(I));
1384
1384
  },
1385
1385
  [k, p, t.menuGubunCode.program]
1386
- ), H = R((v) => v.map((P) => ({
1387
- key: P.menuId,
1386
+ ), H = R((w) => w.map((I) => ({
1387
+ key: I.menuId,
1388
1388
  label: /* @__PURE__ */ e(
1389
1389
  "div",
1390
1390
  {
@@ -1393,19 +1393,19 @@ const Ft = ({
1393
1393
  justifyContent: "space-between",
1394
1394
  alignItems: "center"
1395
1395
  },
1396
- children: /* @__PURE__ */ e("span", { children: P.menuNm })
1396
+ children: /* @__PURE__ */ e("span", { children: I.menuNm })
1397
1397
  }
1398
1398
  ),
1399
- icon: J(P.iconCd, P.menuGbCd),
1400
- children: P.children && P.children.length > 0 ? H(P.children) : void 0
1401
- })), []), J = (v, P) => {
1402
- if (v) {
1403
- const y = ie[v];
1399
+ icon: J(I.iconCd, I.menuGbCd),
1400
+ children: I.children && I.children.length > 0 ? H(I.children) : void 0
1401
+ })), []), J = (w, I) => {
1402
+ if (w) {
1403
+ const y = ie[w];
1404
1404
  if (y)
1405
1405
  return /* @__PURE__ */ e(y, {});
1406
1406
  }
1407
- if (P)
1408
- switch (P) {
1407
+ if (I)
1408
+ switch (I) {
1409
1409
  case t.menuGubunCode.mainMenu:
1410
1410
  return /* @__PURE__ */ e(ie.HomeOutlined, {});
1411
1411
  case t.menuGubunCode.subMenu:
@@ -1417,31 +1417,31 @@ const Ft = ({
1417
1417
  }
1418
1418
  return null;
1419
1419
  }, b = R(
1420
- (v) => {
1420
+ (w) => {
1421
1421
  if (d.length === 0) return [];
1422
- const P = (i) => {
1423
- if (i)
1424
- return typeof i == "string" ? C[i] : i;
1425
- }, y = (i) => {
1426
- if (i.type === "M") {
1427
- const w = i, M = k(w.menuId) || void 0, T = !!M, W = T ? `${M?.menuNm ?? w.menuNm ?? w.menuId}` : `${w.menuNm ?? w.menuId} (삭제됨)`;
1422
+ const I = (s) => {
1423
+ if (s)
1424
+ return typeof s == "string" ? C[s] : s;
1425
+ }, y = (s) => {
1426
+ if (s.type === "M") {
1427
+ const v = s, M = k(v.menuId) || void 0, T = !!M, W = T ? `${M?.menuNm ?? v.menuNm ?? v.menuId}` : `${v.menuNm ?? v.menuId} (삭제됨)`;
1428
1428
  return {
1429
- key: w.menuId,
1429
+ key: v.menuId,
1430
1430
  label: W,
1431
1431
  icon: T ? void 0 : /* @__PURE__ */ e(bt, { style: { color: "#faad14" } })
1432
1432
  };
1433
1433
  } else {
1434
- const w = i, M = (w.children ?? []).map(P).filter(Boolean).map(y);
1434
+ const v = s, M = (v.children ?? []).map(I).filter(Boolean).map(y);
1435
1435
  return {
1436
- key: w.bkmkId,
1437
- label: w.bkmkNm ?? w.bkmkId,
1438
- icon: w.prntBkmkId === "-" ? /* @__PURE__ */ e(yt, {}) : /* @__PURE__ */ e(Ct, {}),
1436
+ key: v.bkmkId,
1437
+ label: v.bkmkNm ?? v.bkmkId,
1438
+ icon: v.prntBkmkId === "-" ? /* @__PURE__ */ e(yt, {}) : /* @__PURE__ */ e(Ct, {}),
1439
1439
  children: M
1440
1440
  // 빈 배열이면 자동으로 말아줌
1441
1441
  };
1442
1442
  }
1443
1443
  };
1444
- return v.map(y);
1444
+ return w.map(y);
1445
1445
  },
1446
1446
  [k, C, d]
1447
1447
  ), L = F(
@@ -1449,29 +1449,29 @@ const Ft = ({
1449
1449
  [b, S, C]
1450
1450
  );
1451
1451
  return E(() => {
1452
- Ne() && _(Ne());
1452
+ Pe() && _(Pe());
1453
1453
  }, [_]), E(() => {
1454
- l === "category" && o("");
1455
- }, [l]), E(() => {
1456
- if (!u || l !== "category") return;
1457
- const P = ((y) => {
1458
- const i = [], w = new Map(m.map((T) => [T.menuId, T]));
1454
+ a === "category" && o("");
1455
+ }, [a]), E(() => {
1456
+ if (!u || a !== "category") return;
1457
+ const I = ((y) => {
1458
+ const s = [], v = new Map(m.map((T) => [T.menuId, T]));
1459
1459
  let M = y;
1460
1460
  for (; M; ) {
1461
- const T = w.get(M);
1461
+ const T = v.get(M);
1462
1462
  if (!T) break;
1463
1463
  if (T.menuPrntId && T.menuPrntId !== "-" && T.menuPrntId !== "")
1464
- i.push(T.menuPrntId), M = T.menuPrntId;
1464
+ s.push(T.menuPrntId), M = T.menuPrntId;
1465
1465
  else
1466
1466
  break;
1467
1467
  }
1468
- return i;
1468
+ return s;
1469
1469
  })(u);
1470
- P.length > 0 && h((y) => {
1471
- const i = /* @__PURE__ */ new Set([...y, ...P]);
1472
- return Array.from(i);
1470
+ I.length > 0 && h((y) => {
1471
+ const s = /* @__PURE__ */ new Set([...y, ...I]);
1472
+ return Array.from(s);
1473
1473
  });
1474
- }, [u, l, m]), /* @__PURE__ */ s(
1474
+ }, [u, a, m]), /* @__PURE__ */ i(
1475
1475
  Xt,
1476
1476
  {
1477
1477
  className: t.className.wrapper,
@@ -1584,13 +1584,13 @@ const Ft = ({
1584
1584
  className: t.className.segmented.wrapper,
1585
1585
  options: [
1586
1586
  {
1587
- label: /* @__PURE__ */ s(j, { children: [
1587
+ label: /* @__PURE__ */ i(j, { children: [
1588
1588
  /* @__PURE__ */ e(
1589
1589
  "span",
1590
1590
  {
1591
1591
  className: t.className.segmented.item,
1592
1592
  style: { display: "flex", alignItems: "center" },
1593
- children: /* @__PURE__ */ s(
1593
+ children: /* @__PURE__ */ i(
1594
1594
  "svg",
1595
1595
  {
1596
1596
  xmlns: "http://www.w3.org/2000/svg",
@@ -1639,7 +1639,7 @@ const Ft = ({
1639
1639
  value: "category"
1640
1640
  },
1641
1641
  {
1642
- label: /* @__PURE__ */ s(j, { children: [
1642
+ label: /* @__PURE__ */ i(j, { children: [
1643
1643
  /* @__PURE__ */ e(
1644
1644
  "span",
1645
1645
  {
@@ -1671,9 +1671,9 @@ const Ft = ({
1671
1671
  value: "favorite"
1672
1672
  }
1673
1673
  ],
1674
- value: l,
1675
- onChange: (v) => {
1676
- a(v);
1674
+ value: a,
1675
+ onChange: (w) => {
1676
+ c(w);
1677
1677
  },
1678
1678
  style: {
1679
1679
  width: "100%"
@@ -1683,8 +1683,8 @@ const Ft = ({
1683
1683
  )
1684
1684
  }
1685
1685
  ),
1686
- /* @__PURE__ */ s("div", { className: t.className.sider.content, children: [
1687
- c && /* @__PURE__ */ s(
1686
+ /* @__PURE__ */ i("div", { className: t.className.sider.content, children: [
1687
+ l && /* @__PURE__ */ i(
1688
1688
  "div",
1689
1689
  {
1690
1690
  className: t.className.sider.loading,
@@ -1696,7 +1696,7 @@ const Ft = ({
1696
1696
  },
1697
1697
  children: [
1698
1698
  /* @__PURE__ */ e(
1699
- Le,
1699
+ be,
1700
1700
  {
1701
1701
  theme: {
1702
1702
  components: {
@@ -1719,7 +1719,7 @@ const Ft = ({
1719
1719
  ]
1720
1720
  }
1721
1721
  ),
1722
- I && /* @__PURE__ */ s("div", { className: t.className.sider.error, children: [
1722
+ P && /* @__PURE__ */ i("div", { className: t.className.sider.error, children: [
1723
1723
  /* @__PURE__ */ e(
1724
1724
  ft,
1725
1725
  {
@@ -1728,7 +1728,7 @@ const Ft = ({
1728
1728
  ),
1729
1729
  /* @__PURE__ */ e("div", { className: t.className.sider.errorText, children: "메뉴 로드 실패" })
1730
1730
  ] }),
1731
- !c && !I && l === "category" && d.length === 0 && /* @__PURE__ */ e(
1731
+ !l && !P && a === "category" && d.length === 0 && /* @__PURE__ */ e(
1732
1732
  "div",
1733
1733
  {
1734
1734
  style: {
@@ -1740,7 +1740,7 @@ const Ft = ({
1740
1740
  children: "메뉴가 없습니다"
1741
1741
  }
1742
1742
  ),
1743
- !c && !I && l === "favorite" && L.length === 0 && /* @__PURE__ */ e(
1743
+ !l && !P && a === "favorite" && L.length === 0 && /* @__PURE__ */ e(
1744
1744
  "div",
1745
1745
  {
1746
1746
  style: {
@@ -1752,7 +1752,7 @@ const Ft = ({
1752
1752
  children: "즐겨찾기된 메뉴가 없습니다"
1753
1753
  }
1754
1754
  ),
1755
- !c && !I && l === "category" && d.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1755
+ !l && !P && a === "category" && d.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1756
1756
  pe,
1757
1757
  {
1758
1758
  theme: "light",
@@ -1762,13 +1762,13 @@ const Ft = ({
1762
1762
  selectedKeys: [u || ""],
1763
1763
  openKeys: g,
1764
1764
  onOpenChange: h,
1765
- onClick: (v) => K(v.key),
1766
- onDoubleClick: (v) => {
1767
- v.preventDefault(), v.stopPropagation();
1765
+ onClick: (w) => K(w.key),
1766
+ onDoubleClick: (w) => {
1767
+ w.preventDefault(), w.stopPropagation();
1768
1768
  }
1769
1769
  }
1770
1770
  ) }),
1771
- !c && !I && l === "favorite" && L.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1771
+ !l && !P && a === "favorite" && L.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1772
1772
  pe,
1773
1773
  {
1774
1774
  theme: "light",
@@ -1776,9 +1776,9 @@ const Ft = ({
1776
1776
  items: L,
1777
1777
  className: t.className.sider.menu,
1778
1778
  selectedKeys: [u || ""],
1779
- onClick: (v) => K(v.key),
1780
- onDoubleClick: (v) => {
1781
- v.preventDefault(), v.stopPropagation();
1779
+ onClick: (w) => K(w.key),
1780
+ onDoubleClick: (w) => {
1781
+ w.preventDefault(), w.stopPropagation();
1782
1782
  }
1783
1783
  }
1784
1784
  ) })
@@ -1803,7 +1803,7 @@ class en extends ot {
1803
1803
  });
1804
1804
  }
1805
1805
  render() {
1806
- return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ s(
1806
+ return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ i(
1807
1807
  "div",
1808
1808
  {
1809
1809
  style: {
@@ -1837,7 +1837,7 @@ class en extends ot {
1837
1837
  ]
1838
1838
  }
1839
1839
  ),
1840
- this.state.error && /* @__PURE__ */ s(
1840
+ this.state.error && /* @__PURE__ */ i(
1841
1841
  "details",
1842
1842
  {
1843
1843
  style: {
@@ -1877,8 +1877,8 @@ const tn = ({
1877
1877
  instance: t,
1878
1878
  params: r
1879
1879
  }) => {
1880
- const { activeMenuId: o, closeTab: l } = D(), a = () => {
1881
- o && l(o);
1880
+ const { activeMenuId: o, closeTab: a } = D(), c = () => {
1881
+ o && a(o);
1882
1882
  };
1883
1883
  return t ? /* @__PURE__ */ e(
1884
1884
  "div",
@@ -1927,18 +1927,18 @@ const tn = ({
1927
1927
  children: /* @__PURE__ */ e(
1928
1928
  Me,
1929
1929
  {
1930
- icon: /* @__PURE__ */ e(ve, { twoToneColor: "#69b1ff" }),
1930
+ icon: /* @__PURE__ */ e(ke, { twoToneColor: "#69b1ff" }),
1931
1931
  status: "warning",
1932
1932
  title: "등록된 메뉴 정보가 없거나 유효한 메뉴가 아닙니다.",
1933
- subTitle: /* @__PURE__ */ e(be.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1934
- extra: /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(B, { icon: /* @__PURE__ */ e(Ee, {}), onClick: a, children: "탭 닫기" }) })
1933
+ subTitle: /* @__PURE__ */ e(ye.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1934
+ extra: /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(B, { icon: /* @__PURE__ */ e(Ee, {}), onClick: c, children: "탭 닫기" }) })
1935
1935
  }
1936
1936
  )
1937
1937
  }
1938
1938
  )
1939
1939
  }
1940
1940
  );
1941
- }, nn = ye(tn), rn = ({
1941
+ }, nn = Ce(tn), rn = ({
1942
1942
  menuGubunCode: n = {
1943
1943
  mainMenu: "MAIN",
1944
1944
  subMenu: "SUB",
@@ -1948,7 +1948,7 @@ const tn = ({
1948
1948
  style: r,
1949
1949
  routeMap: o
1950
1950
  }) => {
1951
- const { menuList: l, findMenuById: a, flatMenuList: g } = le(), { activeMenuId: h } = D(), u = fe(), [f, p] = z([]), N = R(
1951
+ const { menuList: a, findMenuById: c, flatMenuList: g } = ae(), { activeMenuId: h } = D(), u = fe(), [f, p] = A([]), N = R(
1952
1952
  (k, m) => {
1953
1953
  if (k) {
1954
1954
  const C = ie[k];
@@ -1977,9 +1977,9 @@ const tn = ({
1977
1977
  };
1978
1978
  }),
1979
1979
  [N, n]
1980
- ), c = F(() => d(l), [l, d]), I = R(
1980
+ ), l = F(() => d(a), [a, d]), P = R(
1981
1981
  (k) => {
1982
- const m = a(k.key);
1982
+ const m = c(k.key);
1983
1983
  if (m) {
1984
1984
  if (m.children && m.children.length === 1 && m.children[0].menuGbCd === n.program) {
1985
1985
  const C = m.children[0];
@@ -1994,7 +1994,7 @@ const tn = ({
1994
1994
  }
1995
1995
  }
1996
1996
  },
1997
- [a, n, u, o]
1997
+ [c, n, u, o]
1998
1998
  );
1999
1999
  return E(() => {
2000
2000
  if (!h || t !== "vertical") return;
@@ -2020,15 +2020,15 @@ const tn = ({
2020
2020
  {
2021
2021
  mode: t,
2022
2022
  theme: "light",
2023
- items: c,
2023
+ items: l,
2024
2024
  selectedKeys: [h || ""],
2025
2025
  openKeys: t === "vertical" ? f : void 0,
2026
2026
  onOpenChange: t === "vertical" ? p : void 0,
2027
- onClick: I,
2027
+ onClick: P,
2028
2028
  style: r
2029
2029
  }
2030
2030
  );
2031
- }, on = () => /* @__PURE__ */ s(j, { children: [
2031
+ }, on = () => /* @__PURE__ */ i(j, { children: [
2032
2032
  /* @__PURE__ */ e(
2033
2033
  "link",
2034
2034
  {
@@ -2040,27 +2040,27 @@ const tn = ({
2040
2040
  /* @__PURE__ */ e("div", { className: "LandingContainer-wrap", children: /* @__PURE__ */ e("div", { className: "inner", children: /* @__PURE__ */ e("div", { className: "content" }) }) })
2041
2041
  ] }), sn = (n, t) => {
2042
2042
  console.log("createPopupViewLoader 호출 - popupUrl:", n);
2043
- const o = ((l) => {
2044
- if (l.startsWith("/src/pages/views/popup/")) {
2045
- const h = l + ".tsx";
2046
- return console.log(`팝업 URL 변환: ${l} -> ${h}`), h;
2043
+ const o = ((a) => {
2044
+ if (a.startsWith("/src/pages/views/popup/")) {
2045
+ const h = a + ".tsx";
2046
+ return console.log(`팝업 URL 변환: ${a} -> ${h}`), h;
2047
2047
  }
2048
- const g = `/src/pages/views/popup/${l.startsWith("/") ? l.substring(1) : l}.tsx`;
2049
- return console.log(`팝업 URL 변환: ${l} -> ${g}`), g;
2048
+ const g = `/src/pages/views/popup/${a.startsWith("/") ? a.substring(1) : a}.tsx`;
2049
+ return console.log(`팝업 URL 변환: ${a} -> ${g}`), g;
2050
2050
  })(n);
2051
2051
  return !o || !t?.glob || !t.glob[o] ? (console.warn(`팝업 뷰를 찾을 수 없습니다: ${n} (${o})`), console.warn("사용 가능한 팝업 뷰들:", Object.keys(t?.glob || {})), null) : t.glob[o];
2052
- }, ln = ({ popup: n, modules: t }) => {
2053
- const [r, o] = z(null), [l, a] = z(!1), [g, h] = z(null), u = () => {
2054
- console.log("PopupArea - handleClose:", n.popupId), Ce.getState().closePopup(n.popupId);
2052
+ }, an = ({ popup: n, modules: t }) => {
2053
+ const [r, o] = A(null), [a, c] = A(!1), [g, h] = A(null), u = () => {
2054
+ console.log("PopupArea - handleClose:", n.popupId), ve.getState().closePopup(n.popupId);
2055
2055
  };
2056
2056
  return E(() => {
2057
2057
  (async () => {
2058
- console.log("팝업 뷰 로드 시작:", n.popupUrl), a(!0), h(null);
2058
+ console.log("팝업 뷰 로드 시작:", n.popupUrl), c(!0), h(null);
2059
2059
  try {
2060
2060
  const p = sn(n.popupUrl, t);
2061
2061
  if (!p) {
2062
- const c = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
2063
- console.error(c), h(c), a(!1);
2062
+ const l = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
2063
+ console.error(l), h(l), c(!1);
2064
2064
  return;
2065
2065
  }
2066
2066
  console.log("팝업 뷰 모듈 로드 중...");
@@ -2073,13 +2073,13 @@ const tn = ({
2073
2073
  } catch (p) {
2074
2074
  console.error("팝업 뷰 로드 실패:", p), h(p instanceof Error ? p.message : "팝업 뷰 로드 실패");
2075
2075
  } finally {
2076
- a(!1);
2076
+ c(!1);
2077
2077
  }
2078
2078
  })();
2079
- }, [n.popupUrl]), l ? /* @__PURE__ */ s("div", { className: "popup-loading", children: [
2079
+ }, [n.popupUrl]), a ? /* @__PURE__ */ i("div", { className: "popup-loading", children: [
2080
2080
  /* @__PURE__ */ e(q, { size: "large" }),
2081
2081
  /* @__PURE__ */ e("p", { children: "팝업을 로드하는 중..." })
2082
- ] }) : g ? /* @__PURE__ */ s("div", { className: "popup-error", children: [
2082
+ ] }) : g ? /* @__PURE__ */ i("div", { className: "popup-error", children: [
2083
2083
  /* @__PURE__ */ e(de, { description: g, image: de.PRESENTED_IMAGE_SIMPLE }),
2084
2084
  /* @__PURE__ */ e(
2085
2085
  B,
@@ -2092,7 +2092,7 @@ const tn = ({
2092
2092
  ] }) : r ? /* @__PURE__ */ e(
2093
2093
  se,
2094
2094
  {
2095
- fallback: /* @__PURE__ */ s("div", { className: "popup-loading", children: [
2095
+ fallback: /* @__PURE__ */ i("div", { className: "popup-loading", children: [
2096
2096
  /* @__PURE__ */ e(q, { size: "large" }),
2097
2097
  /* @__PURE__ */ e("p", { children: "컴포넌트를 로드하는 중..." })
2098
2098
  ] }),
@@ -2109,12 +2109,12 @@ const tn = ({
2109
2109
  )
2110
2110
  }
2111
2111
  ) : /* @__PURE__ */ e("div", { className: "popup-empty", children: /* @__PURE__ */ e(de, { description: "팝업 내용을 불러올 수 없습니다." }) });
2112
- }, an = ({ modules: n }) => {
2113
- const { popups: t } = Ce();
2112
+ }, ln = ({ modules: n }) => {
2113
+ const { popups: t } = ve();
2114
2114
  return t.length === 0 ? null : /* @__PURE__ */ e(j, { children: t.map((r) => {
2115
2115
  if (r.isLocal || r.popupCode.startsWith("CORE_"))
2116
2116
  return null;
2117
- const o = r.config || {}, l = o.width || r.width || 800, a = o.height || r.height || 600, g = o.title || r.popupTitle, h = r.buttonList?.map((u, f) => ({
2117
+ const o = r.config || {}, a = o.width || r.width || 800, c = o.height || r.height || 600, g = o.title || r.popupTitle, h = r.buttonList?.map((u, f) => ({
2118
2118
  key: u.btnId || `btn_${f}`,
2119
2119
  text: u.btnNm,
2120
2120
  type: u.btnId === "CLOSE" ? "default" : "primary",
@@ -2125,19 +2125,19 @@ const tn = ({
2125
2125
  popupId: r.popupId,
2126
2126
  popupCode: r.popupCode,
2127
2127
  title: g,
2128
- width: l,
2129
- height: a,
2128
+ width: a,
2129
+ height: c,
2130
2130
  buttons: h
2131
- }), /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(ln, { popup: r, modules: n }) }, r.popupId) }, `sbp-${r.popupId}`);
2131
+ }), /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(an, { popup: r, modules: n }) }, r.popupId) }, `sbp-${r.popupId}`);
2132
2132
  }) });
2133
2133
  }, je = () => {
2134
- const { popups: n, closePopup: t } = Ce();
2134
+ const { popups: n, closePopup: t } = ve();
2135
2135
  return /* @__PURE__ */ e(j, { children: n.map((r) => {
2136
2136
  if (!(r.isLocal || r.popupCode.startsWith("CORE_"))) return null;
2137
2137
  const o = Ht[r.popupCode];
2138
2138
  if (!o) return null;
2139
- const l = o.component;
2140
- return /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(se, { fallback: null, children: /* @__PURE__ */ e(l, { popup: r, onClose: () => t(r.popupId) }) }, r.popupId) }, `sbp-${r.popupId}`);
2139
+ const a = o.component;
2140
+ return /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(se, { fallback: null, children: /* @__PURE__ */ e(a, { popup: r, onClose: () => t(r.popupId) }) }, r.popupId) }, `sbp-${r.popupId}`);
2141
2141
  }) });
2142
2142
  }, cn = (n) => ({
2143
2143
  position: "absolute",
@@ -2151,26 +2151,26 @@ const tn = ({
2151
2151
  return E(() => {
2152
2152
  n && r.current || (r.current = !0, t());
2153
2153
  }, [n, t]), null;
2154
- }, hn = ({ isActive: n, flagged: t, tabKey: r, onUnlock: o, children: l }) => {
2155
- const a = X(null), [g, h] = z(!1), u = R((p) => {
2156
- a.current = p, h(!!p);
2154
+ }, hn = ({ isActive: n, flagged: t, tabKey: r, onUnlock: o, children: a }) => {
2155
+ const c = X(null), [g, h] = A(!1), u = R((p) => {
2156
+ c.current = p, h(!!p);
2157
2157
  }, []), f = cn(n);
2158
- return /* @__PURE__ */ e("div", { ref: u, style: f, children: g ? /* @__PURE__ */ s(
2158
+ return /* @__PURE__ */ e("div", { ref: u, style: f, children: g ? /* @__PURE__ */ i(
2159
2159
  He,
2160
2160
  {
2161
2161
  idleMs: Number.POSITIVE_INFINITY,
2162
2162
  persistLocked: !1,
2163
2163
  overlayScope: "scoped",
2164
2164
  overlayPosition: "absolute",
2165
- eventTarget: a.current,
2165
+ eventTarget: c.current,
2166
2166
  overlayId: `tab-overlay-${r}`,
2167
2167
  onUnlock: async () => (o(), !0),
2168
2168
  children: [
2169
2169
  n && t ? /* @__PURE__ */ e(dn, { once: !0 }) : null,
2170
- l
2170
+ a
2171
2171
  ]
2172
2172
  }
2173
- ) : l });
2173
+ ) : a });
2174
2174
  }, Mn = ({
2175
2175
  config: n = {},
2176
2176
  modules: t = {
@@ -2186,19 +2186,19 @@ const tn = ({
2186
2186
  /* @__PURE__ */ new Map()
2187
2187
  ), {
2188
2188
  tabs: o,
2189
- tabParams: l,
2190
- activeMenuId: a,
2189
+ tabParams: a,
2190
+ activeMenuId: c,
2191
2191
  tabProtectFlag: g,
2192
2192
  refreshTabKey: h,
2193
2193
  clearProtectFlagForKey: u
2194
2194
  } = D(), { enableProtectWrapper: f } = De(), p = R(
2195
2195
  (d) => {
2196
- const c = r.current.get(d.key);
2197
- if (c) return c;
2198
- const I = d.gubun === "M" ? `${t.view.path}${d.menuItem?.scrnPath}.tsx` : `${t.view.path}${d.componentItem?.scrnPath}.tsx`;
2199
- let k = t.view?.glob?.[I];
2200
- if (!k && typeof import.meta < "u" && typeof import.meta.glob == "function" && (k = (/* @__PURE__ */ Object.assign({}))[I]), k) {
2201
- const m = A(
2196
+ const l = r.current.get(d.key);
2197
+ if (l) return l;
2198
+ const P = d.gubun === "M" ? `${t.view.path}${d.menuItem?.scrnPath}.tsx` : `${t.view.path}${d.componentItem?.scrnPath}.tsx`;
2199
+ let k = t.view?.glob?.[P];
2200
+ if (!k && typeof import.meta < "u" && typeof import.meta.glob == "function" && (k = (/* @__PURE__ */ Object.assign({}))[P]), k) {
2201
+ const m = z(
2202
2202
  k
2203
2203
  );
2204
2204
  return r.current.set(d.key, m), m;
@@ -2208,27 +2208,27 @@ const tn = ({
2208
2208
  [t.view?.glob]
2209
2209
  ), N = X({});
2210
2210
  return E(() => {
2211
- const d = N.current, c = h;
2212
- Object.keys(c).forEach((I) => {
2213
- const k = d[I], m = c[I];
2214
- k !== m && r.current.delete(I);
2215
- }), N.current = { ...c };
2211
+ const d = N.current, l = h;
2212
+ Object.keys(l).forEach((P) => {
2213
+ const k = d[P], m = l[P];
2214
+ k !== m && r.current.delete(P);
2215
+ }), N.current = { ...l };
2216
2216
  }, [h]), E(() => {
2217
- const d = (c) => {
2218
- if (c.key === "F5" || c.ctrlKey && c.key === "r" || c.ctrlKey && c.shiftKey && c.key === "R")
2219
- return c.preventDefault(), !1;
2217
+ const d = (l) => {
2218
+ if (l.key === "F5" || l.ctrlKey && l.key === "r" || l.ctrlKey && l.shiftKey && l.key === "R" || l.ctrlKey && l.key === "s")
2219
+ return l.preventDefault(), !1;
2220
2220
  };
2221
2221
  return window.addEventListener("keydown", d, !0), () => {
2222
2222
  window.removeEventListener("keydown", d, !0);
2223
2223
  };
2224
- }, []), /* @__PURE__ */ s(Q, { className: "main-layout", children: [
2224
+ }, []), /* @__PURE__ */ i(Q, { className: "main-layout", children: [
2225
2225
  /* @__PURE__ */ e(Re, { config: n?.header }),
2226
- /* @__PURE__ */ s(Q, { children: [
2226
+ /* @__PURE__ */ i(Q, { children: [
2227
2227
  /* @__PURE__ */ e(Jt, { config: n?.sidebar }),
2228
- /* @__PURE__ */ s("div", { className: "content-container", children: [
2228
+ /* @__PURE__ */ i("div", { className: "content-container", children: [
2229
2229
  /* @__PURE__ */ e(Qt, { config: n?.menuTab }),
2230
- /* @__PURE__ */ s(Oe, { config: n?.content, children: [
2231
- /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ s(
2230
+ /* @__PURE__ */ i(Oe, { config: n?.content, children: [
2231
+ /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ i(
2232
2232
  "div",
2233
2233
  {
2234
2234
  style: {
@@ -2238,11 +2238,11 @@ const tn = ({
2238
2238
  },
2239
2239
  children: [
2240
2240
  o.map((d) => {
2241
- const c = p(d), I = a === d.key, k = !!g?.[d.key], m = l[d.key] || {}, C = h[d.key], S = C !== void 0 ? `${d.key}-${C}` : d.key, _ = /* @__PURE__ */ e(
2241
+ const l = p(d), P = c === d.key, k = !!g?.[d.key], m = a[d.key] || {}, C = h[d.key], S = C !== void 0 ? `${d.key}-${C}` : d.key, _ = /* @__PURE__ */ e(
2242
2242
  nn,
2243
2243
  {
2244
- isActive: I,
2245
- instance: c || void 0,
2244
+ isActive: P,
2245
+ instance: l || void 0,
2246
2246
  params: m
2247
2247
  },
2248
2248
  S
@@ -2250,7 +2250,7 @@ const tn = ({
2250
2250
  return /* @__PURE__ */ e(ge, { children: f ? /* @__PURE__ */ e(
2251
2251
  hn,
2252
2252
  {
2253
- isActive: I,
2253
+ isActive: P,
2254
2254
  flagged: k,
2255
2255
  tabKey: d.key,
2256
2256
  onUnlock: () => u(d.key),
@@ -2259,12 +2259,12 @@ const tn = ({
2259
2259
  d.key
2260
2260
  ) : _ }, `sbp-${d.key}`);
2261
2261
  }),
2262
- (!a || o.length === 0) && /* @__PURE__ */ e(on, {})
2262
+ (!c || o.length === 0) && /* @__PURE__ */ e(on, {})
2263
2263
  ]
2264
2264
  }
2265
2265
  ) }),
2266
2266
  /* @__PURE__ */ e(je, {}),
2267
- /* @__PURE__ */ e(an, { modules: t?.popup })
2267
+ /* @__PURE__ */ e(ln, { modules: t?.popup })
2268
2268
  ] })
2269
2269
  ] })
2270
2270
  ] }),
@@ -2280,23 +2280,23 @@ const tn = ({
2280
2280
  routeMap: r,
2281
2281
  routes: o
2282
2282
  }) => {
2283
- const l = We(), a = fe(), { flatMenuList: g, findMenuById: h } = le(), u = F(() => {
2284
- const p = l.pathname, N = p.replace(/^\/main/, "") || "/";
2283
+ const a = We(), c = fe(), { flatMenuList: g, findMenuById: h } = ae(), u = F(() => {
2284
+ const p = a.pathname, N = p.replace(/^\/main/, "") || "/";
2285
2285
  if (r) {
2286
2286
  const d = Object.keys(r).find(
2287
- (I) => r[I] === p
2287
+ (P) => r[P] === p
2288
2288
  );
2289
2289
  if (d)
2290
2290
  return h(d);
2291
- const c = Object.keys(r).find((I) => (r[I].replace(/^\/main/, "") || "/") === N);
2292
- if (c)
2293
- return h(c);
2291
+ const l = Object.keys(r).find((P) => (r[P].replace(/^\/main/, "") || "/") === N);
2292
+ if (l)
2293
+ return h(l);
2294
2294
  }
2295
2295
  return g.find(
2296
2296
  (d) => d.menuGbCd === t.program && d.scrnPath && (d.scrnPath === N || d.scrnPath === p || p.endsWith(d.scrnPath) || N === d.scrnPath)
2297
2297
  );
2298
2298
  }, [
2299
- l.pathname,
2299
+ a.pathname,
2300
2300
  g,
2301
2301
  t.program,
2302
2302
  r,
@@ -2304,54 +2304,67 @@ const tn = ({
2304
2304
  ]), f = F(() => {
2305
2305
  if (!u)
2306
2306
  return [];
2307
- const p = [], N = (c) => {
2308
- if (!c || !c.menuPrntId || c.menuPrntId === "-")
2307
+ const p = [], N = (l) => {
2308
+ if (!l || !l.menuPrntId || l.menuPrntId === "-")
2309
2309
  return [];
2310
- const I = h(c.menuPrntId);
2311
- return I ? [...N(I), I] : [];
2310
+ const P = h(l.menuPrntId);
2311
+ return P ? [...N(P), P] : [];
2312
2312
  };
2313
- return N(u).forEach((c) => {
2314
- if (c.menuGbCd === t.mainMenu || c.menuGbCd === t.subMenu) {
2315
- let I;
2316
- if (r && c.menuId && (I = r[c.menuId]), !I && o && c.scrnPath) {
2317
- const k = c.scrnPath.startsWith("/") ? c.scrnPath : `/${c.scrnPath}`, m = Object.keys(o).find(
2313
+ return N(u).forEach((l) => {
2314
+ if (l.menuGbCd === t.mainMenu || l.menuGbCd === t.subMenu) {
2315
+ let P;
2316
+ if (r && l.menuId && (P = r[l.menuId]), !P && o && l.scrnPath) {
2317
+ const k = l.scrnPath.startsWith("/") ? l.scrnPath : `/${l.scrnPath}`, m = Object.keys(o).find(
2318
2318
  (C) => C === k || C === `/main${k}`
2319
2319
  );
2320
- m && (I = m.startsWith("/main") ? m : `/main${m.startsWith("/") ? m : `/${m}`}`);
2320
+ m && (P = m.startsWith("/main") ? m : `/main${m.startsWith("/") ? m : `/${m}`}`);
2321
2321
  }
2322
2322
  p.push({
2323
- title: c.menuNm,
2324
- onClick: I ? () => a(I) : void 0
2323
+ title: l.menuNm,
2324
+ onClick: P ? () => c(P) : void 0
2325
2325
  });
2326
2326
  }
2327
2327
  }), p.push({
2328
2328
  title: u.menuNm
2329
2329
  }), p;
2330
- }, [u, t, a, h]);
2331
- return /* @__PURE__ */ s(
2332
- "div",
2333
- {
2334
- style: {
2335
- height: "100%",
2336
- padding: "15px 20px"
2337
- },
2338
- children: [
2339
- /* @__PURE__ */ e(
2340
- tt,
2341
- {
2342
- separator: ">",
2343
- items: f,
2344
- style: { marginBottom: "16px" }
2345
- }
2346
- ),
2347
- /* @__PURE__ */ e("div", { children: n })
2348
- ]
2349
- }
2350
- );
2330
+ }, [u, t, c, h]);
2331
+ return /* @__PURE__ */ i("div", { className: "admin-page-inner", children: [
2332
+ /* @__PURE__ */ i("div", { className: "page-header", children: [
2333
+ /* @__PURE__ */ e(
2334
+ tt,
2335
+ {
2336
+ className: "admin-breadcrumb",
2337
+ separator: /* @__PURE__ */ e(
2338
+ "svg",
2339
+ {
2340
+ xmlns: "http://www.w3.org/2000/svg",
2341
+ width: "20",
2342
+ height: "20",
2343
+ viewBox: "0 0 16 16",
2344
+ fill: "none",
2345
+ children: /* @__PURE__ */ e(
2346
+ "path",
2347
+ {
2348
+ d: "M6.66675 11.3333L10.0001 7.99996L6.66675 4.66663",
2349
+ stroke: "#9A9A9A",
2350
+ "stroke-linecap": "round",
2351
+ "stroke-linejoin": "round"
2352
+ }
2353
+ )
2354
+ }
2355
+ ),
2356
+ items: f,
2357
+ style: { marginBottom: "15px" }
2358
+ }
2359
+ ),
2360
+ /* @__PURE__ */ e("h2", { className: "page-title", children: "타이틀" })
2361
+ ] }),
2362
+ /* @__PURE__ */ e("div", { className: "page-main-content", children: n })
2363
+ ] });
2351
2364
  }, Tn = ({ config: n = {} }) => {
2352
- const t = n?.header?.menu, r = t?.visible !== !1, o = t?.routes, l = F(() => {
2365
+ const t = n?.header?.menu, r = t?.visible !== !1, o = t?.routes, a = F(() => {
2353
2366
  if (!o) return;
2354
- const a = {}, { flatMenuList: g } = le.getState();
2367
+ const c = {}, { flatMenuList: g } = ae.getState();
2355
2368
  return g.forEach((h) => {
2356
2369
  if (h.menuGbCd === t?.menuGubunCode?.program && h.scrnPath) {
2357
2370
  const u = h.scrnPath.startsWith("/") ? h.scrnPath : `/${h.scrnPath}`, f = Object.keys(o).find((p) => {
@@ -2360,18 +2373,18 @@ const tn = ({
2360
2373
  });
2361
2374
  if (f) {
2362
2375
  const p = f === "/" ? "/main" : f.startsWith("/main") ? f : `/main${f.startsWith("/") ? f : `/${f}`}`;
2363
- a[h.menuId] = p;
2376
+ c[h.menuId] = p;
2364
2377
  }
2365
2378
  }
2366
- }), a;
2379
+ }), c;
2367
2380
  }, [o, t?.menuGubunCode?.program]);
2368
- return /* @__PURE__ */ s(Q, { className: "main-layout", children: [
2381
+ return /* @__PURE__ */ i(Q, { className: "admin-layout", children: [
2369
2382
  /* @__PURE__ */ e(Re, { config: n?.header, children: r && /* @__PURE__ */ e(
2370
2383
  rn,
2371
2384
  {
2372
2385
  menuGubunCode: t?.menuGubunCode,
2373
2386
  mode: t?.style?.mode || "horizontal",
2374
- routeMap: l,
2387
+ routeMap: a,
2375
2388
  style: {
2376
2389
  border: "none",
2377
2390
  backgroundColor: "transparent",
@@ -2381,8 +2394,8 @@ const tn = ({
2381
2394
  }
2382
2395
  }
2383
2396
  ) }),
2384
- /* @__PURE__ */ e("div", { className: "content-container", children: /* @__PURE__ */ s(Oe, { config: n?.content, children: [
2385
- /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ e(
2397
+ /* @__PURE__ */ e("div", { className: "admin-content-container", children: /* @__PURE__ */ i(Oe, { config: n?.content, children: [
2398
+ /* @__PURE__ */ e("div", { className: "admin-view-container", children: /* @__PURE__ */ e(
2386
2399
  "div",
2387
2400
  {
2388
2401
  style: {
@@ -2390,8 +2403,8 @@ const tn = ({
2390
2403
  width: "100%",
2391
2404
  height: "100%"
2392
2405
  },
2393
- children: /* @__PURE__ */ e(se, { fallback: /* @__PURE__ */ e("div", { children: "Loading..." }), children: /* @__PURE__ */ e(Se, { children: Object.entries(o || {}).map(([a, g]) => {
2394
- const h = a === "/" ? "" : a.replace(/^\/main/, "").replace(/^\//, "") || "";
2406
+ children: /* @__PURE__ */ e(se, { fallback: /* @__PURE__ */ e("div", { children: "Loading..." }), children: /* @__PURE__ */ e(Le, { children: Object.entries(o || {}).map(([c, g]) => {
2407
+ const h = c === "/" ? "" : c.replace(/^\/main/, "").replace(/^\//, "") || "";
2395
2408
  return /* @__PURE__ */ e(
2396
2409
  U,
2397
2410
  {
@@ -2400,13 +2413,13 @@ const tn = ({
2400
2413
  un,
2401
2414
  {
2402
2415
  menuGubunCode: t?.menuGubunCode,
2403
- routeMap: l,
2416
+ routeMap: a,
2404
2417
  routes: o,
2405
2418
  children: /* @__PURE__ */ e(g, {})
2406
2419
  }
2407
2420
  )
2408
2421
  },
2409
- a
2422
+ c
2410
2423
  );
2411
2424
  }) }) })
2412
2425
  }
@@ -2419,18 +2432,18 @@ function Bn({
2419
2432
  config: n,
2420
2433
  ui: t
2421
2434
  }) {
2422
- const { loading: r, capsOn: o, prefills: l, onKeyDown: a, doLogin: g } = lt(n), h = (u) => g(u);
2435
+ const { loading: r, capsOn: o, prefills: a, onKeyDown: c, doLogin: g } = at(n), h = (u) => g(u);
2423
2436
  return E(() => {
2424
2437
  oe.getState().systemMap.length === 0 && oe.getState().fetchSystemMap();
2425
- }, []), /* @__PURE__ */ e(j, { children: t({ onSubmit: h, loading: r, capsOn: o, onKeyDown: a, prefills: l }) });
2438
+ }, []), /* @__PURE__ */ e(j, { children: t({ onSubmit: h, loading: r, capsOn: o, onKeyDown: c, prefills: a }) });
2426
2439
  }
2427
2440
  function Dn({
2428
2441
  onSubmit: n,
2429
2442
  loading: t,
2430
2443
  capsOn: r,
2431
2444
  onKeyDown: o,
2432
- prefills: l,
2433
- labels: a = {
2445
+ prefills: a,
2446
+ labels: c = {
2434
2447
  id: "ID 혹은 사번",
2435
2448
  pw: "비밀번호",
2436
2449
  remember: "Remember me",
@@ -2441,63 +2454,98 @@ function Dn({
2441
2454
  }) {
2442
2455
  const [u] = Z.useForm();
2443
2456
  return E(() => {
2444
- l && (l.id || l.pswr) && u.setFieldsValue({ id: l.id, pswr: l.pswr });
2445
- }, [l, u]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ s("div", { className: "login_wrap", children: [
2457
+ a && (a.id || a.pswr) && u.setFieldsValue({ id: a.id, pswr: a.pswr });
2458
+ }, [a, u]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ i("div", { className: "login_wrap", children: [
2446
2459
  g || /* @__PURE__ */ e("div", { className: "logo_box" }),
2447
2460
  /* @__PURE__ */ e("div", { className: "login_title" }),
2448
- /* @__PURE__ */ e(Z, { form: u, onFinish: n, className: "login-form", children: /* @__PURE__ */ s(re, { vertical: !0, children: [
2449
- /* @__PURE__ */ e(
2450
- Z.Item,
2451
- {
2452
- name: "id",
2453
- rules: [
2454
- { required: !0, message: "아이디를 입력해주세요." },
2455
- {
2456
- whitespace: !0,
2457
- message: "아이디는 공백이 들어갈 수 없습니다."
2458
- }
2459
- ],
2460
- children: /* @__PURE__ */ e(ue, { allowClear: !0, placeholder: a.id, onKeyDown: o })
2461
- }
2462
- ),
2463
- /* @__PURE__ */ e(
2464
- Z.Item,
2465
- {
2466
- name: "pswr",
2467
- rules: [{ required: !0, message: "비밀번호를 입력하세요." }],
2468
- children: /* @__PURE__ */ e(
2469
- ue.Password,
2470
- {
2471
- allowClear: !0,
2472
- placeholder: a.pw,
2473
- onKeyDown: o
2461
+ /* @__PURE__ */ e(
2462
+ be,
2463
+ {
2464
+ theme: {
2465
+ components: {
2466
+ Card: {
2467
+ bodyPadding: 40
2468
+ },
2469
+ Button: {
2470
+ controlHeight: 40,
2471
+ colorPrimary: "#6449fc",
2472
+ colorPrimaryActive: "#7163c3",
2473
+ colorPrimaryHover: "#7163c3",
2474
+ borderRadius: 50,
2475
+ fontWeight: 600
2476
+ },
2477
+ Input: {
2478
+ colorBorder: "var(--border-color)",
2479
+ hoverBorderColor: "#bdbd1ff",
2480
+ borderRadiusLG: 6,
2481
+ fontSize: 14
2482
+ },
2483
+ Checkbox: {
2484
+ colorPrimary: "#6377d1",
2485
+ colorPrimaryBorder: "#6377d1",
2486
+ colorPrimaryHover: "#6449fc",
2487
+ colorText: "var(--text-primary)",
2488
+ fontSize: 13
2474
2489
  }
2475
- )
2476
- }
2477
- ),
2478
- /* @__PURE__ */ e(Z.Item, { name: "remember", valuePropName: "checked", children: /* @__PURE__ */ e(nt, { children: a.remember }) }),
2479
- /* @__PURE__ */ e("div", { className: r ? "caps-lock caps-lock-on" : "caps-lock", children: r ? "Caps Lock On" : "Caps Lock Off" }),
2480
- /* @__PURE__ */ e(Z.Item, { children: /* @__PURE__ */ e(B, { type: "primary", htmlType: "submit", loading: t, block: !0, children: a.login }) })
2481
- ] }) }),
2490
+ }
2491
+ },
2492
+ children: /* @__PURE__ */ e(Z, { form: u, onFinish: n, className: "login-form", children: /* @__PURE__ */ i(re, { vertical: !0, gap: 50, children: [
2493
+ /* @__PURE__ */ i("div", { className: "login-form-item-group", children: [
2494
+ /* @__PURE__ */ e(
2495
+ Z.Item,
2496
+ {
2497
+ name: "id",
2498
+ rules: [
2499
+ { required: !0, message: "아이디를 입력해주세요." },
2500
+ {
2501
+ whitespace: !0,
2502
+ message: "아이디는 공백이 들어갈 수 없습니다."
2503
+ }
2504
+ ],
2505
+ children: /* @__PURE__ */ e(ue, { allowClear: !0, placeholder: c.id, onKeyDown: o })
2506
+ }
2507
+ ),
2508
+ /* @__PURE__ */ e(
2509
+ Z.Item,
2510
+ {
2511
+ name: "pswr",
2512
+ rules: [{ required: !0, message: "비밀번호를 입력하세요." }],
2513
+ children: /* @__PURE__ */ e(
2514
+ ue.Password,
2515
+ {
2516
+ allowClear: !0,
2517
+ placeholder: c.pw,
2518
+ onKeyDown: o
2519
+ }
2520
+ )
2521
+ }
2522
+ ),
2523
+ /* @__PURE__ */ e(Z.Item, { name: "remember", valuePropName: "checked", style: { marginBottom: 0 }, children: /* @__PURE__ */ e(nt, { children: c.remember }) }),
2524
+ /* @__PURE__ */ e("div", { className: r ? "caps-lock caps-lock-on" : "caps-lock", children: r ? "Caps Lock On" : "Caps Lock Off" })
2525
+ ] }),
2526
+ /* @__PURE__ */ e(Z.Item, { style: { marginBottom: 0 }, children: /* @__PURE__ */ e(B, { type: "primary", htmlType: "submit", loading: t, block: !0, style: { borderRadius: "50px" }, children: c.login }) })
2527
+ ] }) })
2528
+ }
2529
+ ),
2482
2530
  h
2483
2531
  ] }) });
2484
2532
  }
2485
- const { Text: V, Title: pn } = be;
2533
+ const { Text: V, Title: pn } = ye;
2486
2534
  function En({
2487
2535
  loginConfig: n,
2488
2536
  loginParams: t,
2489
2537
  mainLogo: r,
2490
2538
  systemLogo: o,
2491
- onGoLogin: l,
2492
- onGoMain: a
2539
+ onGoLogin: a,
2540
+ onGoMain: c
2493
2541
  }) {
2494
- const { loginStatus: g, doSsoLogin: h } = at(n);
2542
+ const { loginStatus: g, doSsoLogin: h } = lt(n);
2495
2543
  E(() => {
2496
2544
  u();
2497
2545
  }, [t.userId]);
2498
2546
  const u = () => h(t), f = ({
2499
2547
  children: N
2500
- }) => /* @__PURE__ */ s(
2548
+ }) => /* @__PURE__ */ i(
2501
2549
  pn,
2502
2550
  {
2503
2551
  level: 4,
@@ -2513,38 +2561,38 @@ function En({
2513
2561
  N
2514
2562
  ]
2515
2563
  }
2516
- ), p = () => g === "LOADING" ? /* @__PURE__ */ s(j, { children: [
2564
+ ), p = () => g === "LOADING" ? /* @__PURE__ */ i(j, { children: [
2517
2565
  /* @__PURE__ */ e(q, { size: "large", style: { margin: "10px 0" } }),
2518
- /* @__PURE__ */ s("div", { children: [
2566
+ /* @__PURE__ */ i("div", { children: [
2519
2567
  /* @__PURE__ */ e(f, { children: "로그인 중입니다." }),
2520
- /* @__PURE__ */ s(V, { children: [
2568
+ /* @__PURE__ */ i(V, { children: [
2521
2569
  "인증 정보를 확인하는 중입니다.",
2522
2570
  /* @__PURE__ */ e("br", {}),
2523
2571
  "브라우저 창을 닫지 말아 주세요."
2524
2572
  ] })
2525
2573
  ] }),
2526
2574
  /* @__PURE__ */ e(V, { type: "secondary", style: { fontSize: 12 }, children: "인증이 완료되면 자동으로 다음 화면으로 이동합니다." }),
2527
- /* @__PURE__ */ e(B, { style: { marginTop: 8 }, onClick: l, children: "로그인 화면" })
2528
- ] }) : g === "SUCCESS" ? /* @__PURE__ */ s(j, { children: [
2575
+ /* @__PURE__ */ e(B, { style: { marginTop: 8 }, onClick: a, children: "로그인 화면" })
2576
+ ] }) : g === "SUCCESS" ? /* @__PURE__ */ i(j, { children: [
2529
2577
  /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(_e, { twoToneColor: "#52c41a" }) }),
2530
- /* @__PURE__ */ s("div", { children: [
2578
+ /* @__PURE__ */ i("div", { children: [
2531
2579
  /* @__PURE__ */ e(f, { children: "로그인에 성공했습니다." }),
2532
2580
  /* @__PURE__ */ e(V, { children: "잠시만 기다려 주세요." })
2533
2581
  ] }),
2534
2582
  /* @__PURE__ */ e(V, { type: "secondary", style: { fontSize: 12 }, children: "잠시 후 자동으로 다음 화면으로 이동합니다." }),
2535
- /* @__PURE__ */ e(Y, { style: { marginTop: 8, justifyContent: "center" }, children: /* @__PURE__ */ e(B, { type: "primary", onClick: a, children: "바로 이동하기" }) })
2536
- ] }) : g === "FAIL" ? /* @__PURE__ */ s(j, { children: [
2537
- /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(ve, { twoToneColor: "#ff4d4f" }) }),
2538
- /* @__PURE__ */ s("div", { children: [
2583
+ /* @__PURE__ */ e(Y, { style: { marginTop: 8, justifyContent: "center" }, children: /* @__PURE__ */ e(B, { type: "primary", onClick: c, children: "바로 이동하기" }) })
2584
+ ] }) : g === "FAIL" ? /* @__PURE__ */ i(j, { children: [
2585
+ /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(ke, { twoToneColor: "#ff4d4f" }) }),
2586
+ /* @__PURE__ */ i("div", { children: [
2539
2587
  /* @__PURE__ */ e(f, { children: "로그인에 실패했습니다." }),
2540
- /* @__PURE__ */ s(V, { children: [
2588
+ /* @__PURE__ */ i(V, { children: [
2541
2589
  "인증 과정에서 오류가 발생했습니다.",
2542
2590
  /* @__PURE__ */ e("br", {}),
2543
2591
  "다시 시도해 주세요."
2544
2592
  ] })
2545
2593
  ] }),
2546
2594
  /* @__PURE__ */ e(V, { type: "secondary", style: { fontSize: 12 }, children: "문제가 지속되면 관리자에게 문의해 주세요." }),
2547
- /* @__PURE__ */ s(Y, { style: { marginTop: 8, justifyContent: "center" }, children: [
2595
+ /* @__PURE__ */ i(Y, { style: { marginTop: 8, justifyContent: "center" }, children: [
2548
2596
  /* @__PURE__ */ e(
2549
2597
  B,
2550
2598
  {
@@ -2554,9 +2602,9 @@ function En({
2554
2602
  children: "다시 시도"
2555
2603
  }
2556
2604
  ),
2557
- /* @__PURE__ */ e(B, { onClick: l, icon: /* @__PURE__ */ e(wt, {}), children: "로그인 화면" })
2605
+ /* @__PURE__ */ e(B, { onClick: a, icon: /* @__PURE__ */ e(vt, {}), children: "로그인 화면" })
2558
2606
  ] })
2559
- ] }) : /* @__PURE__ */ s(j, { children: [
2607
+ ] }) : /* @__PURE__ */ i(j, { children: [
2560
2608
  /* @__PURE__ */ e(q, { size: "large", style: { margin: "10px 0" } }),
2561
2609
  /* @__PURE__ */ e(V, { children: "로그인 상태를 확인하는 중입니다." })
2562
2610
  ] });
@@ -2582,7 +2630,7 @@ function En({
2582
2630
  borderRadius: 16,
2583
2631
  boxShadow: "0 8px 24px rgba(0,0,0,0.06)"
2584
2632
  },
2585
- children: /* @__PURE__ */ s(Y, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2633
+ children: /* @__PURE__ */ i(Y, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2586
2634
  /* @__PURE__ */ e("div", { children: r && r }),
2587
2635
  p()
2588
2636
  ] })
@@ -2591,18 +2639,18 @@ function En({
2591
2639
  }
2592
2640
  );
2593
2641
  }
2594
- const { Text: Pe, Title: mn } = be;
2642
+ const { Text: Se, Title: mn } = ye;
2595
2643
  function _n({
2596
2644
  mode: n,
2597
2645
  mainLogo: t,
2598
2646
  systemLogo: r,
2599
2647
  newUserId: o,
2600
- onContinue: l,
2601
- onGoLogin: a
2648
+ onContinue: a,
2649
+ onGoLogin: c
2602
2650
  }) {
2603
2651
  const g = ({
2604
2652
  children: p
2605
- }) => /* @__PURE__ */ s(
2653
+ }) => /* @__PURE__ */ i(
2606
2654
  mn,
2607
2655
  {
2608
2656
  level: 4,
@@ -2650,24 +2698,24 @@ function _n({
2650
2698
  borderRadius: 16,
2651
2699
  boxShadow: "0 8px 24px rgba(0,0,0,0.06)"
2652
2700
  },
2653
- children: /* @__PURE__ */ s(Y, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2701
+ children: /* @__PURE__ */ i(Y, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2654
2702
  /* @__PURE__ */ e("div", { children: t && t }),
2655
- /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(ve, { twoToneColor: "#faad14" }) }),
2656
- /* @__PURE__ */ s("div", { children: [
2703
+ /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(ke, { twoToneColor: "#faad14" }) }),
2704
+ /* @__PURE__ */ i("div", { children: [
2657
2705
  /* @__PURE__ */ e(g, { children: h }),
2658
- /* @__PURE__ */ e(Pe, { children: u.split(`
2659
- `).map((p, N) => /* @__PURE__ */ s("span", { children: [
2706
+ /* @__PURE__ */ e(Se, { children: u.split(`
2707
+ `).map((p, N) => /* @__PURE__ */ i("span", { children: [
2660
2708
  p,
2661
2709
  /* @__PURE__ */ e("br", {})
2662
2710
  ] }, N)) })
2663
2711
  ] }),
2664
- /* @__PURE__ */ e(Pe, { type: "secondary", style: { fontSize: 12 }, children: f }),
2665
- /* @__PURE__ */ e(Y, { style: { marginTop: 8, justifyContent: "center" }, children: l && o && /* @__PURE__ */ s(
2712
+ /* @__PURE__ */ e(Se, { type: "secondary", style: { fontSize: 12 }, children: f }),
2713
+ /* @__PURE__ */ e(Y, { style: { marginTop: 8, justifyContent: "center" }, children: a && o && /* @__PURE__ */ i(
2666
2714
  B,
2667
2715
  {
2668
2716
  type: "primary",
2669
2717
  icon: /* @__PURE__ */ e(_e, {}),
2670
- onClick: l,
2718
+ onClick: a,
2671
2719
  children: [
2672
2720
  o,
2673
2721
  " 계정으로 계속 사용"
@@ -2687,7 +2735,7 @@ export {
2687
2735
  Dn as D,
2688
2736
  rn as H,
2689
2737
  Sn as L,
2690
- an as P,
2738
+ ln as P,
2691
2739
  Tn as a,
2692
2740
  Bn as b,
2693
2741
  En as c,