@bwg-ui/core 1.2.9 → 1.2.12

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 (122) hide show
  1. package/dist/chunks/{MenuReport-CuAfCZbc.cjs → MenuReport-Bqeps5fC.cjs} +1 -1
  2. package/dist/chunks/{MenuReport-iuRC_snf.js → MenuReport-CozV1tpR.js} +28 -28
  3. package/dist/chunks/common-components-B-zgrX-L.cjs +1028 -0
  4. package/dist/chunks/common-components-XA2KG7Pl.js +30179 -0
  5. package/dist/chunks/{layout-components-C-9ATcL9.js → layout-components-MrnKV5g7.js} +548 -478
  6. package/dist/chunks/layout-components-bb0cWC3I.cjs +35 -0
  7. package/dist/components/common/BwgGrid.d.ts +1 -1
  8. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  9. package/dist/components/common/BwgView.d.ts +9 -3
  10. package/dist/components/common/BwgView.d.ts.map +1 -1
  11. package/dist/components/common/index.cjs +1 -1
  12. package/dist/components/common/index.d.ts +1 -1
  13. package/dist/components/common/index.d.ts.map +1 -1
  14. package/dist/components/common/index.js +5 -5
  15. package/dist/components/core/index.cjs +1 -1
  16. package/dist/components/core/index.js +200 -200
  17. package/dist/components/guide/BwgPracticeGuide.d.ts +6 -0
  18. package/dist/components/guide/BwgPracticeGuide.d.ts.map +1 -0
  19. package/dist/components/guide/BwgPracticeGuideS00.d.ts +6 -0
  20. package/dist/components/guide/BwgPracticeGuideS00.d.ts.map +1 -0
  21. package/dist/components/guide/BwgPracticeGuideS01.d.ts +6 -0
  22. package/dist/components/guide/BwgPracticeGuideS01.d.ts.map +1 -0
  23. package/dist/components/guide/CMHldyCfg.d.ts +3 -0
  24. package/dist/components/guide/CMHldyCfg.d.ts.map +1 -0
  25. package/dist/components/guide/index.cjs +1 -1
  26. package/dist/components/guide/index.d.ts +2 -0
  27. package/dist/components/guide/index.d.ts.map +1 -1
  28. package/dist/components/guide/index.js +645 -5
  29. package/dist/components/layout/BwgCoreLogin.d.ts +38 -0
  30. package/dist/components/layout/BwgCoreLogin.d.ts.map +1 -0
  31. package/dist/components/layout/custom/ConfigurableHeader.d.ts.map +1 -1
  32. package/dist/components/layout/index.cjs +1 -1
  33. package/dist/components/layout/index.d.ts +1 -0
  34. package/dist/components/layout/index.d.ts.map +1 -1
  35. package/dist/components/layout/index.js +13 -11
  36. package/dist/components/pages/auth/CMAuthMstrM01.d.ts +6 -0
  37. package/dist/components/pages/auth/CMAuthMstrM01.d.ts.map +1 -0
  38. package/dist/components/pages/auth/CMRoleMstrM01.d.ts +4 -0
  39. package/dist/components/pages/auth/CMRoleMstrM01.d.ts.map +1 -0
  40. package/dist/components/pages/guide/BwgComponentGuideM01.d.ts +3 -0
  41. package/dist/components/pages/guide/BwgComponentGuideM01.d.ts.map +1 -0
  42. package/dist/components/pages/guide/BwgDeveloperGuideM01.d.ts +3 -0
  43. package/dist/components/pages/guide/BwgDeveloperGuideM01.d.ts.map +1 -0
  44. package/dist/components/pages/guide/BwgReactGuideM01.d.ts +3 -0
  45. package/dist/components/pages/guide/BwgReactGuideM01.d.ts.map +1 -0
  46. package/dist/components/pages/index.d.ts +20 -0
  47. package/dist/components/pages/index.d.ts.map +1 -0
  48. package/dist/components/pages/rsrc/CMFileMstrM01.d.ts +4 -0
  49. package/dist/components/pages/rsrc/CMFileMstrM01.d.ts.map +1 -0
  50. package/dist/components/pages/rsrc/CMMenuMstrM01.d.ts +4 -0
  51. package/dist/components/pages/rsrc/CMMenuMstrM01.d.ts.map +1 -0
  52. package/dist/components/pages/rsrc/CMMenuPrgrSelectModal.d.ts +16 -0
  53. package/dist/components/pages/rsrc/CMMenuPrgrSelectModal.d.ts.map +1 -0
  54. package/dist/components/pages/rsrc/CMMenuPrntSelectModal.d.ts +16 -0
  55. package/dist/components/pages/rsrc/CMMenuPrntSelectModal.d.ts.map +1 -0
  56. package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts +4 -0
  57. package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts.map +1 -0
  58. package/dist/components/pages/rsrc/CMPrgrMstrM01.d.ts +4 -0
  59. package/dist/components/pages/rsrc/CMPrgrMstrM01.d.ts.map +1 -0
  60. package/dist/components/pages/syst/CMSystCfgM01.d.ts +4 -0
  61. package/dist/components/pages/syst/CMSystCfgM01.d.ts.map +1 -0
  62. package/dist/components/pages/syst/CMSystCodeM01.d.ts +4 -0
  63. package/dist/components/pages/syst/CMSystCodeM01.d.ts.map +1 -0
  64. package/dist/components/pages/types.d.ts +5 -0
  65. package/dist/components/pages/types.d.ts.map +1 -0
  66. package/dist/components/pages/user/CMUserMstrM01.d.ts +4 -0
  67. package/dist/components/pages/user/CMUserMstrM01.d.ts.map +1 -0
  68. package/dist/components/popup/SearchAddressModalM01.d.ts +7 -0
  69. package/dist/components/popup/SearchAddressModalM01.d.ts.map +1 -0
  70. package/dist/components/popup/SearchHolidayP01.d.ts +4 -0
  71. package/dist/components/popup/SearchHolidayP01.d.ts.map +1 -0
  72. package/dist/components/popup/index.cjs +1 -1
  73. package/dist/components/popup/index.d.ts +2 -1
  74. package/dist/components/popup/index.d.ts.map +1 -1
  75. package/dist/components/popup/index.js +4 -3
  76. package/dist/index.cjs +1 -1
  77. package/dist/index.d.ts +1 -0
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/index.js +256 -238
  80. package/dist/stores/favoriteStore.d.ts +10 -9
  81. package/dist/stores/favoriteStore.d.ts.map +1 -1
  82. package/dist/stores/index.cjs +2 -2
  83. package/dist/stores/index.d.ts +4 -0
  84. package/dist/stores/index.d.ts.map +1 -1
  85. package/dist/stores/index.js +1129 -631
  86. package/dist/stores/loginStore.d.ts +64 -0
  87. package/dist/stores/loginStore.d.ts.map +1 -0
  88. package/dist/stores/menuModelStore.d.ts +1 -1
  89. package/dist/stores/menuViewStore.d.ts +1 -0
  90. package/dist/stores/menuViewStore.d.ts.map +1 -1
  91. package/dist/stores/systemStore.d.ts +32 -0
  92. package/dist/stores/systemStore.d.ts.map +1 -0
  93. package/dist/stores/userStore.d.ts +5 -5
  94. package/dist/stores/userStore.d.ts.map +1 -1
  95. package/dist/styles/assets/images/header/icon/ico-bell.svg +3 -3
  96. package/dist/styles/assets/images/header/icon/ico-logout.svg +10 -10
  97. package/dist/styles/assets/images/header/icon/ico-setting.svg +4 -4
  98. package/dist/styles/assets/images/header/icon/ico-sidebar-arrow.svg +3 -3
  99. package/dist/types/bwg-global.d.ts +2 -1
  100. package/dist/utils/apiUtils.d.ts +27 -60
  101. package/dist/utils/apiUtils.d.ts.map +1 -1
  102. package/dist/utils/commonUtils.d.ts +0 -6
  103. package/dist/utils/commonUtils.d.ts.map +1 -1
  104. package/dist/utils/gwUtils.d.ts +3 -2
  105. package/dist/utils/gwUtils.d.ts.map +1 -1
  106. package/dist/utils/index.cjs +1 -1
  107. package/dist/utils/index.d.ts +3 -7
  108. package/dist/utils/index.d.ts.map +1 -1
  109. package/dist/utils/index.js +1628 -1017
  110. package/dist/utils/serviceConfig.d.ts +1 -0
  111. package/dist/utils/serviceConfig.d.ts.map +1 -1
  112. package/dist/utils/userUtils.d.ts.map +1 -1
  113. package/package.json +1 -1
  114. package/dist/chunks/common-components-CFIJNFN0.js +0 -16236
  115. package/dist/chunks/common-components-CioS_8Bi.cjs +0 -183
  116. package/dist/chunks/core-CA7iRgyb.cjs +0 -1
  117. package/dist/chunks/core-D18HD1It.js +0 -513
  118. package/dist/chunks/enc-base64-CdWu8KMI.js +0 -101
  119. package/dist/chunks/enc-base64-DSIiAsI5.cjs +0 -1
  120. package/dist/chunks/layout-components-DMR4tl9_.cjs +0 -35
  121. package/dist/chunks/sha256-D5iKSlK6.cjs +0 -1
  122. package/dist/chunks/sha256-DQcqzuys.js +0 -78
@@ -1,20 +1,20 @@
1
- import { jsxs as f, jsx as e, Fragment as F } from "react/jsx-runtime";
2
- import { ServiceCodeProvider as de, CommonCodeProvider as ue, ScreenProtectProvider as pe, useLock as me, SearchBoxProvider as he } from "../provider/index.js";
3
- import { Routes as ge, Route as U, Navigate as fe, useNavigate as be } from "react-router-dom";
4
- import { G as ye, B as Ce, Q as ve } from "./common-components-CFIJNFN0.js";
5
- import { Spin as W, Layout as z, ColorPicker as we, Button as x, Popover as xe, Avatar as ke, Tabs as Ne, Tooltip as A, AutoComplete as Ie, Input as Se, Segmented as Te, Menu as J, Result as se, Space as Le, Typography as Pe, Empty as K } from "antd";
6
- import { lazy as D, useEffect as E, useState as S, useRef as $, useMemo as _, useCallback as M, createElement as ae, memo as Y, cloneElement as Me, Component as Ee, Suspense as Q } from "react";
7
- import { useUserStore as Be, useMenuViewStore as I, useMenuModelStore as De, useFavoriteStore as Oe, usePopupStore as X } from "../stores/index.js";
8
- import * as ee from "@ant-design/icons";
9
- import { UserOutlined as Re, StepBackwardOutlined as Ae, LeftOutlined as Fe, RightOutlined as ze, StepForwardOutlined as $e, CloseOutlined as ie, MenuUnfoldOutlined as He, MenuFoldOutlined as Ve, ExclamationCircleOutlined as Ge, WarningOutlined as _e, StarOutlined as We, FolderOpenOutlined as je, ReloadOutlined as le, ExclamationCircleTwoTone as Ue } from "@ant-design/icons";
10
- import { getCookie as Ke, getCurrentDateString as te, setCookie as Ze, THEME_COOKIE_NAME as ne, getUserId as re } from "../utils/index.js";
11
- import { useSensors as Ye, useSensor as Qe, PointerSensor as Xe, DndContext as qe, closestCenter as Je } from "@dnd-kit/core";
12
- import { restrictToHorizontalAxis as et } from "@dnd-kit/modifiers";
13
- import { arrayMove as tt, SortableContext as nt, horizontalListSortingStrategy as rt, useSortable as ot } from "@dnd-kit/sortable";
14
- const st = D(() => import("./MenuReport-iuRC_snf.js")), at = D(() => import("./common-components-CFIJNFN0.js").then((n) => n.D)), it = D(() => import("./common-components-CFIJNFN0.js").then((n) => n.E)), lt = D(() => import("./common-components-CFIJNFN0.js").then((n) => n.F)), ct = D(() => import("./common-components-CFIJNFN0.js").then((n) => n.H)), dt = {
1
+ import { jsxs as g, jsx as e, Fragment as O } from "react/jsx-runtime";
2
+ import { ServiceCodeProvider as me, CommonCodeProvider as pe, ScreenProtectProvider as he, useLock as ge, SearchBoxProvider as fe } from "../provider/index.js";
3
+ import { Routes as be, Route as K, Navigate as ye, useNavigate as Ce } from "react-router-dom";
4
+ import { G as ve, B as we, Q as xe } from "./common-components-XA2KG7Pl.js";
5
+ import { Spin as j, Layout as $, ColorPicker as ke, Button as w, Popover as Ne, Avatar as Ie, Tabs as Se, Tooltip as z, AutoComplete as Le, Input as Y, Segmented as Te, Menu as te, Result as ie, Space as Pe, Typography as Me, Empty as Z, Form as D, Flex as Be, Checkbox as Ee } from "antd";
6
+ import { lazy as F, useEffect as I, useState as L, useRef as V, useMemo as W, useCallback as B, createElement as le, memo as q, cloneElement as De, Component as Oe, Suspense as Q } from "react";
7
+ import { useLogout as Fe, useMenuViewStore as S, useMenuModelStore as Re, useFavoriteStore as Ae, usePopupStore as J, useLogin as ze, useSystemStore as $e } from "../stores/index.js";
8
+ import * as ne from "@ant-design/icons";
9
+ import { UserOutlined as Ve, StepBackwardOutlined as He, LeftOutlined as _e, RightOutlined as Ge, StepForwardOutlined as We, CloseOutlined as ce, MenuUnfoldOutlined as je, MenuFoldOutlined as Ue, ExclamationCircleOutlined as Ke, WarningOutlined as Ze, StarOutlined as Ye, FolderOpenOutlined as Xe, ReloadOutlined as de, ExclamationCircleTwoTone as qe } from "@ant-design/icons";
10
+ import { getCookie as Qe, getCurrentDateString as re, setCookie as Je, THEME_COOKIE_NAME as oe, getUserId as se } from "../utils/index.js";
11
+ import { useSensors as et, useSensor as tt, PointerSensor as nt, DndContext as rt, closestCenter as ot } from "@dnd-kit/core";
12
+ import { restrictToHorizontalAxis as st } from "@dnd-kit/modifiers";
13
+ import { arrayMove as at, SortableContext as it, horizontalListSortingStrategy as lt, useSortable as ct } from "@dnd-kit/sortable";
14
+ const dt = F(() => import("./MenuReport-CozV1tpR.js")), ut = F(() => import("./common-components-XA2KG7Pl.js").then((n) => n.V)), mt = F(() => import("./common-components-XA2KG7Pl.js").then((n) => n.W)), pt = F(() => import("./common-components-XA2KG7Pl.js").then((n) => n.X)), ht = F(() => import("./common-components-XA2KG7Pl.js").then((n) => n.Y)), gt = {
15
15
  // 게시판/문의
16
16
  CORE_REPORT: {
17
- component: st,
17
+ component: dt,
18
18
  defaultConfig: {
19
19
  title: "게시판/문의",
20
20
  width: 1200,
@@ -23,7 +23,7 @@ const st = D(() => import("./MenuReport-iuRC_snf.js")), at = D(() => import("./c
23
23
  },
24
24
  // 조직/부서 검색류
25
25
  CORE_DEPARTMENT_01: {
26
- component: at,
26
+ component: ut,
27
27
  defaultConfig: {
28
28
  title: "부서 검색",
29
29
  width: 620,
@@ -31,7 +31,7 @@ const st = D(() => import("./MenuReport-iuRC_snf.js")), at = D(() => import("./c
31
31
  }
32
32
  },
33
33
  CORE_DEPARTMENT_02: {
34
- component: it,
34
+ component: mt,
35
35
  defaultConfig: {
36
36
  title: "부서 검색",
37
37
  width: 620,
@@ -39,7 +39,7 @@ const st = D(() => import("./MenuReport-iuRC_snf.js")), at = D(() => import("./c
39
39
  }
40
40
  },
41
41
  CORE_ORGANIZATION_01: {
42
- component: lt,
42
+ component: pt,
43
43
  defaultConfig: {
44
44
  title: "조직 검색",
45
45
  width: 620,
@@ -47,18 +47,18 @@ const st = D(() => import("./MenuReport-iuRC_snf.js")), at = D(() => import("./c
47
47
  }
48
48
  },
49
49
  CORE_ORGANIZATION_02: {
50
- component: ct,
50
+ component: ht,
51
51
  defaultConfig: {
52
52
  title: "조직 검색",
53
53
  width: 1e3,
54
54
  height: 700
55
55
  }
56
56
  }
57
- }, oe = "bwg-dot-line-wave-v4";
58
- function ut() {
59
- if (typeof document > "u" || document.getElementById(oe)) return;
57
+ }, ae = "bwg-dot-line-wave-v4";
58
+ function ft() {
59
+ if (typeof document > "u" || document.getElementById(ae)) return;
60
60
  const n = document.createElement("style");
61
- n.id = oe, n.textContent = `
61
+ n.id = ae, n.textContent = `
62
62
  .bwg-dotline {
63
63
  display: inline-flex;
64
64
  align-items: center;
@@ -94,49 +94,49 @@ function ut() {
94
94
  }
95
95
  `, document.head.appendChild(n);
96
96
  }
97
- const pt = ({
97
+ const bt = ({
98
98
  colors: n = ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
99
99
  count: t,
100
100
  size: r = 12,
101
- gap: s = 10,
102
- amp: a = 16,
103
- speedMs: m = 900,
104
- direction: y = "ltr",
105
- phase: c = 0.7
101
+ gap: o = 10,
102
+ amp: s = 16,
103
+ speedMs: d = 900,
104
+ direction: f = "ltr",
105
+ phase: i = 0.7
106
106
  }) => {
107
- E(() => {
108
- ut();
107
+ I(() => {
108
+ ft();
109
109
  }, []);
110
- const h = t ?? n.length, u = Array.from({ length: h }), p = {
110
+ const u = t ?? n.length, m = Array.from({ length: u }), h = {
111
111
  "--bwg-size": `${r}px`,
112
- "--bwg-gap": `${s}px`,
113
- "--bwg-amp": `${a}px`,
114
- "--bwg-speed": `${m}ms`
115
- }, C = m / h * c;
112
+ "--bwg-gap": `${o}px`,
113
+ "--bwg-amp": `${s}px`,
114
+ "--bwg-speed": `${d}ms`
115
+ }, C = d / u * i;
116
116
  return /* @__PURE__ */ e(
117
117
  "span",
118
118
  {
119
119
  className: "bwg-dotline",
120
120
  role: "img",
121
121
  "aria-label": "loading",
122
- style: p,
123
- children: u.map((o, i) => /* @__PURE__ */ e(
122
+ style: h,
123
+ children: m.map((a, l) => /* @__PURE__ */ e(
124
124
  "span",
125
125
  {
126
126
  className: "dot",
127
127
  style: {
128
- backgroundColor: n[i % n.length],
129
- animationDelay: y === "ltr" ? `${i * C}ms` : `${(h - 1 - i) * C}ms`
128
+ backgroundColor: n[l % n.length],
129
+ animationDelay: f === "ltr" ? `${l * C}ms` : `${(u - 1 - l) * C}ms`
130
130
  }
131
131
  },
132
- i
132
+ l
133
133
  ))
134
134
  }
135
135
  );
136
- }, Zt = ({
136
+ }, Jt = ({
137
137
  spin: n = null,
138
138
  text: t = "인증중..."
139
- }) => n ?? !0 ? /* @__PURE__ */ f(
139
+ }) => n ?? !0 ? /* @__PURE__ */ g(
140
140
  "div",
141
141
  {
142
142
  style: {
@@ -160,10 +160,10 @@ const pt = ({
160
160
  role: "status",
161
161
  children: [
162
162
  /* @__PURE__ */ e(
163
- W,
163
+ j,
164
164
  {
165
165
  indicator: /* @__PURE__ */ e(
166
- pt,
166
+ bt,
167
167
  {
168
168
  colors: ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
169
169
  size: 12,
@@ -179,14 +179,14 @@ const pt = ({
179
179
  /* @__PURE__ */ e("span", { className: "bwg-spin-txt", style: { marginTop: "15px" }, children: t })
180
180
  ]
181
181
  }
182
- ) : null, Yt = ({ routes: n, useCommonProvider: t = !0, useServiceProvider: r = !0 }) => {
183
- let a = /* @__PURE__ */ f(ge, { children: [
184
- /* @__PURE__ */ e(U, { path: "/", element: /* @__PURE__ */ e(fe, { to: "/login" }) }),
185
- /* @__PURE__ */ e(U, { path: "/login", element: n.login }),
186
- /* @__PURE__ */ e(U, { path: "/main", element: n.main })
182
+ ) : null, en = ({ routes: n, useCommonProvider: t = !0, useServiceProvider: r = !0 }) => {
183
+ let s = /* @__PURE__ */ g(be, { children: [
184
+ /* @__PURE__ */ e(K, { path: "/", element: /* @__PURE__ */ e(ye, { to: "/login" }) }),
185
+ /* @__PURE__ */ e(K, { path: "/login", element: n.login }),
186
+ /* @__PURE__ */ e(K, { path: "/main", element: n.main })
187
187
  ] });
188
- return r && (a = /* @__PURE__ */ e(de, { children: a })), t && (a = /* @__PURE__ */ e(ue, { children: a })), /* @__PURE__ */ e(ye, { children: a });
189
- }, { Content: mt } = z, ht = ({
188
+ return r && (s = /* @__PURE__ */ e(me, { children: s })), t && (s = /* @__PURE__ */ e(pe, { children: s })), /* @__PURE__ */ e(ve, { children: s });
189
+ }, { Content: yt } = $, Ct = ({
190
190
  config: n = {},
191
191
  children: t
192
192
  }) => {
@@ -202,11 +202,11 @@ const pt = ({
202
202
  ...n
203
203
  };
204
204
  return /* @__PURE__ */ e(
205
- mt,
205
+ yt,
206
206
  {
207
207
  className: r.wrapper.className,
208
208
  style: r.wrapper.style,
209
- children: /* @__PURE__ */ e(Ce, { children: /* @__PURE__ */ e(
209
+ children: /* @__PURE__ */ e(we, { children: /* @__PURE__ */ e(
210
210
  "div",
211
211
  {
212
212
  className: r.body.className,
@@ -216,7 +216,7 @@ const pt = ({
216
216
  ) })
217
217
  }
218
218
  );
219
- }, gt = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9998%2019.9993V20.9993C11.9998%2021.3932%2012.0774%2021.7833%2012.2282%2022.1473C12.3789%2022.5112%2012.5999%2022.8419%2012.8785%2023.1205C13.157%2023.399%2013.4877%2023.62%2013.8517%2023.7708C14.2156%2023.9215%2014.6057%2023.9991%2014.9997%2023.9991C15.3936%2023.9991%2015.7837%2023.9215%2016.1477%2023.7708C16.5116%2023.62%2016.8423%2023.399%2017.1209%2023.1205C17.3994%2022.8419%2017.6204%2022.5112%2017.7712%2022.1473C17.9219%2021.7833%2017.9995%2021.3932%2017.9995%2020.9993V19.9993M20.9994%2011.9997C20.9994%2014.9996%2022.9993%2019.9993%2022.9993%2019.9993H7.00006C7.00006%2019.9993%208.99996%2015.9995%208.99996%2011.9997C8.99996%208.73187%2011.7318%206%2014.9997%206C18.2675%206%2020.9994%208.73187%2020.9994%2011.9997Z'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ft = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_93_4488)'%3e%3cpath%20d='M18%207H21C22.1046%207%2023%207.89543%2023%209V21C23%2022.1046%2022.1046%2023%2021%2023H18M11%2011L7%2015M7%2015L11%2019M7%2015L19%2015'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_93_4488'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", bt = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%206H16C16.5523%206%2017%206.44772%2017%207V7.56879C17%207.99659%2017.2871%208.36825%2017.6822%208.53228C18.0775%208.69638%2018.5377%208.63384%2018.8403%208.33123L19.2426%207.92891C19.6331%207.53838%2020.2663%207.53838%2020.6568%207.92891L22.071%209.34312C22.4616%209.73365%2022.4615%2010.3668%2022.071%2010.7573L21.6688%2011.1596C21.3661%2011.4622%2021.3036%2011.9225%2021.4677%2012.3177C21.6317%2012.7129%2022.0034%2013%2022.4313%2013L23%2013C23.5523%2013%2024%2013.4477%2024%2014V16C24%2016.5523%2023.5523%2017%2023%2017H22.4312C22.0034%2017%2021.6318%2017.2871%2021.4677%2017.6822C21.3036%2018.0775%2021.3661%2018.5377%2021.6688%2018.8403L22.071%2019.2426C22.4616%2019.6331%2022.4616%2020.2663%2022.071%2020.6568L20.6568%2022.071C20.2663%2022.4616%2019.6331%2022.4616%2019.2426%2022.071L18.8403%2021.6688C18.5377%2021.3661%2018.0775%2021.3036%2017.6822%2021.4677C17.2871%2021.6318%2017%2022.0034%2017%2022.4312V23C17%2023.5523%2016.5523%2024%2016%2024H14C13.4477%2024%2013%2023.5523%2013%2023V22.4313C13%2022.0034%2012.7129%2021.6317%2012.3177%2021.4677C11.9225%2021.3036%2011.4622%2021.3661%2011.1596%2021.6688L10.7573%2022.071C10.3668%2022.4616%209.73363%2022.4616%209.34311%2022.071L7.92889%2020.6568C7.53837%2020.2663%207.53837%2019.6331%207.92889%2019.2426L8.33123%2018.8403C8.63384%2018.5377%208.69638%2018.0775%208.53228%2017.6822C8.36825%2017.2871%207.99659%2017%207.56879%2017H7C6.44772%2017%206%2016.5523%206%2016V14C6%2013.4477%206.44772%2013%207%2013L7.56877%2013C7.99658%2013%208.36825%2012.7129%208.53229%2012.3178C8.6964%2011.9225%208.63386%2011.4623%208.33123%2011.1597L7.92891%2010.7573C7.53838%2010.3668%207.53838%209.73365%207.92891%209.34313L9.34312%207.92891C9.73365%207.53839%2010.3668%207.53839%2010.7573%207.92891L11.1597%208.33123C11.4623%208.63386%2011.9225%208.6964%2012.3178%208.53229C12.7129%208.36825%2013%207.99658%2013%207.56876V7C13%206.44772%2013.4477%206%2014%206Z'%20stroke='%23485299'%20stroke-width='1.5'/%3e%3cpath%20d='M17%2015C17%2016.1046%2016.1046%2017%2015%2017C13.8954%2017%2013%2016.1046%2013%2015C13%2013.8954%2013.8954%2013%2015%2013C16.1046%2013%2017%2013.8954%2017%2015Z'%20stroke='%23485299'%20stroke-width='1.5'/%3e%3c/svg%3e", { Header: yt } = z, P = {
219
+ }, vt = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9998%2019.9993V20.9993C11.9998%2021.3932%2012.0774%2021.7833%2012.2282%2022.1473C12.3789%2022.5112%2012.5999%2022.8419%2012.8785%2023.1205C13.157%2023.399%2013.4877%2023.62%2013.8517%2023.7708C14.2156%2023.9215%2014.6057%2023.9991%2014.9997%2023.9991C15.3936%2023.9991%2015.7837%2023.9215%2016.1477%2023.7708C16.5116%2023.62%2016.8423%2023.399%2017.1209%2023.1205C17.3994%2022.8419%2017.6204%2022.5112%2017.7712%2022.1473C17.9219%2021.7833%2017.9995%2021.3932%2017.9995%2020.9993V19.9993M20.9994%2011.9997C20.9994%2014.9996%2022.9993%2019.9993%2022.9993%2019.9993H7.00006C7.00006%2019.9993%208.99996%2015.9995%208.99996%2011.9997C8.99996%208.73187%2011.7318%206%2014.9997%206C18.2675%206%2020.9994%208.73187%2020.9994%2011.9997Z'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", wt = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_93_4488)'%3e%3cpath%20d='M18%207H21C22.1046%207%2023%207.89543%2023%209V21C23%2022.1046%2022.1046%2023%2021%2023H18M11%2011L7%2015M7%2015L11%2019M7%2015L19%2015'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_93_4488'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", xt = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%206H16C16.5523%206%2017%206.44772%2017%207V7.56879C17%207.99659%2017.2871%208.36825%2017.6822%208.53228C18.0775%208.69638%2018.5377%208.63384%2018.8403%208.33123L19.2426%207.92891C19.6331%207.53838%2020.2663%207.53838%2020.6568%207.92891L22.071%209.34312C22.4616%209.73365%2022.4615%2010.3668%2022.071%2010.7573L21.6688%2011.1596C21.3661%2011.4622%2021.3036%2011.9225%2021.4677%2012.3177C21.6317%2012.7129%2022.0034%2013%2022.4313%2013L23%2013C23.5523%2013%2024%2013.4477%2024%2014V16C24%2016.5523%2023.5523%2017%2023%2017H22.4312C22.0034%2017%2021.6318%2017.2871%2021.4677%2017.6822C21.3036%2018.0775%2021.3661%2018.5377%2021.6688%2018.8403L22.071%2019.2426C22.4616%2019.6331%2022.4616%2020.2663%2022.071%2020.6568L20.6568%2022.071C20.2663%2022.4616%2019.6331%2022.4616%2019.2426%2022.071L18.8403%2021.6688C18.5377%2021.3661%2018.0775%2021.3036%2017.6822%2021.4677C17.2871%2021.6318%2017%2022.0034%2017%2022.4312V23C17%2023.5523%2016.5523%2024%2016%2024H14C13.4477%2024%2013%2023.5523%2013%2023V22.4313C13%2022.0034%2012.7129%2021.6317%2012.3177%2021.4677C11.9225%2021.3036%2011.4622%2021.3661%2011.1596%2021.6688L10.7573%2022.071C10.3668%2022.4616%209.73363%2022.4616%209.34311%2022.071L7.92889%2020.6568C7.53837%2020.2663%207.53837%2019.6331%207.92889%2019.2426L8.33123%2018.8403C8.63384%2018.5377%208.69638%2018.0775%208.53228%2017.6822C8.36825%2017.2871%207.99659%2017%207.56879%2017H7C6.44772%2017%206%2016.5523%206%2016V14C6%2013.4477%206.44772%2013%207%2013L7.56877%2013C7.99658%2013%208.36825%2012.7129%208.53229%2012.3178C8.6964%2011.9225%208.63386%2011.4623%208.33123%2011.1597L7.92891%2010.7573C7.53838%2010.3668%207.53838%209.73365%207.92891%209.34313L9.34312%207.92891C9.73365%207.53839%2010.3668%207.53839%2010.7573%207.92891L11.1597%208.33123C11.4623%208.63386%2011.9225%208.6964%2012.3178%208.53229C12.7129%208.36825%2013%207.99658%2013%207.56876V7C13%206.44772%2013.4477%206%2014%206Z'%20stroke='%23485299'%20stroke-width='1.5'/%3e%3cpath%20d='M17%2015C17%2016.1046%2016.1046%2017%2015%2017C13.8954%2017%2013%2016.1046%2013%2015C13%2013.8954%2013.8954%2013%2015%2013C16.1046%2013%2017%2013.8954%2017%2015Z'%20stroke='%23485299'%20stroke-width='1.5'/%3e%3c/svg%3e", { Header: kt } = $, M = {
220
220
  light: {
221
221
  headerBg: "#ffffff",
222
222
  headerText: "#000000",
@@ -269,7 +269,7 @@ const pt = ({
269
269
  buttonDefaultBorder: "#dddddd",
270
270
  buttonPermissionBorder: "#bdb1ff"
271
271
  }
272
- }, Ct = ({ config: n = {} }) => {
272
+ }, Nt = ({ config: n = {} }) => {
273
273
  const t = {
274
274
  wrapper: {
275
275
  className: "header-wrapper",
@@ -290,80 +290,80 @@ const pt = ({
290
290
  ...n.right
291
291
  },
292
292
  ...n
293
- }, r = be(), [s, a] = S("modern"), m = $(null), { logout: y } = Be(), c = (o, i) => {
293
+ }, r = Ce(), [o, s] = L("modern"), d = V(null), f = Fe(), i = (a, l) => {
294
294
  try {
295
- if (!/^[a-zA-Z0-9-]+$/.test(o)) {
296
- console.warn(`Invalid CSS variable name: ${o}`);
295
+ if (!/^[a-zA-Z0-9-]+$/.test(a)) {
296
+ console.warn(`Invalid CSS variable name: ${a}`);
297
297
  return;
298
298
  }
299
- if (!/^[#a-zA-Z0-9()\s,.-]+$/.test(i)) {
300
- console.warn(`Invalid CSS variable value: ${i}`);
299
+ if (!/^[#a-zA-Z0-9()\s,.-]+$/.test(l)) {
300
+ console.warn(`Invalid CSS variable value: ${l}`);
301
301
  return;
302
302
  }
303
- document.documentElement.style.setProperty(o, i);
303
+ document.documentElement.style.setProperty(a, l);
304
304
  } catch (T) {
305
305
  console.error("CSS variable setting failed:", T);
306
306
  }
307
- }, h = (o) => {
308
- if (!P[o]) {
309
- console.warn(`Invalid theme: ${o}`);
307
+ }, u = (a) => {
308
+ if (!M[a]) {
309
+ console.warn(`Invalid theme: ${a}`);
310
310
  return;
311
311
  }
312
- a(o);
313
- const i = { ...P[o] };
314
- c("--header-bg", i.headerBg), c("--header-text", i.headerText), c("--sidebar-bg", i.sidebarBg), c("--sidebar-text", i.sidebarText), c("--button-primary", i.buttonPrimary), c("--button-primary-hover", i.buttonPrimaryHover), c("--button-primary-active", i.buttonPrimaryActive), c("--button-default", i.buttonDefault), c("--button-default-hover", i.buttonDefaultHover), c("--button-default-border", i.buttonDefaultBorder), c(
312
+ s(a);
313
+ const l = { ...M[a] };
314
+ i("--header-bg", l.headerBg), i("--header-text", l.headerText), i("--sidebar-bg", l.sidebarBg), i("--sidebar-text", l.sidebarText), i("--button-primary", l.buttonPrimary), i("--button-primary-hover", l.buttonPrimaryHover), i("--button-primary-active", l.buttonPrimaryActive), i("--button-default", l.buttonDefault), i("--button-default-hover", l.buttonDefaultHover), i("--button-default-border", l.buttonDefaultBorder), i(
315
315
  "--button-permission-border",
316
- i.buttonPermissionBorder
317
- ), m.current && m.current.setAttribute("data-theme", o), document.documentElement.setAttribute("data-theme", o), Ze(ne, o, 30);
316
+ l.buttonPermissionBorder
317
+ ), d.current && d.current.setAttribute("data-theme", a), document.documentElement.setAttribute("data-theme", a), Je(oe, a, 30);
318
318
  };
319
- E(() => {
320
- const o = Ke(ne);
321
- o && P[o] ? h(o) : h("modern");
319
+ I(() => {
320
+ const a = Qe(oe);
321
+ a && M[a] ? u(a) : u("modern");
322
322
  }, []);
323
- const u = () => ({ ...P[s] }).headerBg, p = () => {
324
- y(), r("/login");
323
+ const m = () => ({ ...M[o] }).headerBg, h = () => {
324
+ f(), r("/login");
325
325
  };
326
- te ? te("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
327
- const C = /* @__PURE__ */ f("div", { style: { padding: "8px 0" }, children: [
328
- /* @__PURE__ */ f("div", { style: { marginBottom: "12px" }, children: [
329
- /* @__PURE__ */ e(we, { value: u(), disabled: !0, size: "small" }),
326
+ re ? re("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
327
+ const C = /* @__PURE__ */ g("div", { style: { padding: "8px 0" }, children: [
328
+ /* @__PURE__ */ g("div", { style: { marginBottom: "12px" }, children: [
329
+ /* @__PURE__ */ e(ke, { value: m(), disabled: !0, size: "small" }),
330
330
  /* @__PURE__ */ e("span", { style: { marginLeft: "8px", fontSize: "12px" }, children: "현재 테마 색상" })
331
331
  ] }),
332
- /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
332
+ /* @__PURE__ */ g("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
333
333
  /* @__PURE__ */ e(
334
- x,
334
+ w,
335
335
  {
336
- type: s === "modern" ? "primary" : "default",
336
+ type: o === "modern" ? "primary" : "default",
337
337
  size: "small",
338
- onClick: () => h("modern"),
338
+ onClick: () => u("modern"),
339
339
  style: {
340
340
  textAlign: "left",
341
- backgroundColor: s === "modern" ? P.modern.headerBg : void 0,
342
- color: s === "modern" ? P.modern.headerText : void 0
341
+ backgroundColor: o === "modern" ? M.modern.headerBg : void 0,
342
+ color: o === "modern" ? M.modern.headerText : void 0
343
343
  },
344
344
  children: "모던"
345
345
  },
346
346
  "modern"
347
347
  ),
348
- Object.entries(P).filter(([o]) => o !== "modern").map(([o, i]) => /* @__PURE__ */ e(
349
- x,
348
+ Object.entries(M).filter(([a]) => a !== "modern").map(([a, l]) => /* @__PURE__ */ e(
349
+ w,
350
350
  {
351
- type: s === o ? "primary" : "default",
351
+ type: o === a ? "primary" : "default",
352
352
  size: "small",
353
- onClick: () => h(o),
353
+ onClick: () => u(a),
354
354
  style: {
355
355
  textAlign: "left",
356
- backgroundColor: s === o ? i.headerBg : void 0,
357
- color: s === o ? i.headerText : void 0
356
+ backgroundColor: o === a ? l.headerBg : void 0,
357
+ color: o === a ? l.headerText : void 0
358
358
  },
359
- children: o === "light" ? "라이트" : o === "dark" ? "다크" : o === "blue" ? "블루" : o
359
+ children: a === "light" ? "라이트" : a === "dark" ? "다크" : a === "blue" ? "블루" : a
360
360
  },
361
- o
361
+ a
362
362
  ))
363
363
  ] })
364
364
  ] });
365
- return /* @__PURE__ */ f(
366
- yt,
365
+ return /* @__PURE__ */ g(
366
+ kt,
367
367
  {
368
368
  className: t.wrapper.className,
369
369
  style: { ...t.wrapper.style },
@@ -376,7 +376,7 @@ const pt = ({
376
376
  children: t.logo?.items
377
377
  }
378
378
  ) }),
379
- /* @__PURE__ */ f(
379
+ /* @__PURE__ */ g(
380
380
  "div",
381
381
  {
382
382
  className: "header-right",
@@ -385,45 +385,45 @@ const pt = ({
385
385
  minWidth: t.right?.minWidth
386
386
  },
387
387
  children: [
388
- t.right?.items?.map((o, i) => /* @__PURE__ */ e("div", { children: o }, i)),
388
+ t.right?.items?.map((a, l) => /* @__PURE__ */ e("div", { children: a }, l)),
389
389
  /* @__PURE__ */ e(
390
- x,
390
+ w,
391
391
  {
392
392
  type: "text",
393
- icon: /* @__PURE__ */ e("img", { src: gt, alt: "알림" }),
393
+ icon: /* @__PURE__ */ e("img", { src: vt, alt: "알림" }),
394
394
  className: "alarm-btn"
395
395
  }
396
396
  ),
397
397
  /* @__PURE__ */ e(
398
- xe,
398
+ Ne,
399
399
  {
400
400
  content: C,
401
401
  title: "테마 설정",
402
402
  trigger: "click",
403
403
  placement: "bottomRight",
404
404
  children: /* @__PURE__ */ e(
405
- x,
405
+ w,
406
406
  {
407
407
  type: "text",
408
- icon: /* @__PURE__ */ e("img", { src: bt, alt: "개인설정" }),
408
+ icon: /* @__PURE__ */ e("img", { src: xt, alt: "개인설정" }),
409
409
  className: "theme-btn"
410
410
  }
411
411
  )
412
412
  }
413
413
  ),
414
414
  /* @__PURE__ */ e(
415
- x,
415
+ w,
416
416
  {
417
417
  type: "text",
418
- icon: /* @__PURE__ */ e("img", { src: ft, alt: "로그아웃" }),
419
- onClick: p,
418
+ icon: /* @__PURE__ */ e("img", { src: wt, alt: "로그아웃" }),
419
+ onClick: h,
420
420
  className: "logout-btn"
421
421
  }
422
422
  ),
423
423
  /* @__PURE__ */ e(
424
- ke,
424
+ Ie,
425
425
  {
426
- icon: /* @__PURE__ */ e(Re, {}),
426
+ icon: /* @__PURE__ */ e(Ve, {}),
427
427
  className: "avatar",
428
428
  style: {
429
429
  width: t.right?.avatar?.width,
@@ -437,7 +437,7 @@ const pt = ({
437
437
  ]
438
438
  }
439
439
  );
440
- }, Z = /* @__PURE__ */ Object.freeze({
440
+ }, X = /* @__PURE__ */ Object.freeze({
441
441
  Translate: {
442
442
  toString(n) {
443
443
  if (!n)
@@ -463,7 +463,7 @@ const pt = ({
463
463
  Transform: {
464
464
  toString(n) {
465
465
  if (n)
466
- return [Z.Translate.toString(n), Z.Scale.toString(n)].join(" ");
466
+ return [X.Translate.toString(n), X.Scale.toString(n)].join(" ");
467
467
  }
468
468
  },
469
469
  Transition: {
@@ -471,161 +471,161 @@ const pt = ({
471
471
  let {
472
472
  property: t,
473
473
  duration: r,
474
- easing: s
474
+ easing: o
475
475
  } = n;
476
- return t + " " + r + "ms " + s;
476
+ return t + " " + r + "ms " + o;
477
477
  }
478
478
  }
479
- }), vt = Y(
479
+ }), It = q(
480
480
  ({ className: n, ...t }) => {
481
- const r = $(null), {
482
- attributes: s,
483
- listeners: a,
484
- transform: m,
485
- transition: y,
486
- isDragging: c,
487
- setNodeRef: h
488
- } = ot({ id: t["data-node-key"] }), [u, p] = S();
489
- E(() => {
490
- const o = r.current;
491
- if (o)
492
- if (c) {
493
- const i = Math.round(o.getBoundingClientRect().width);
494
- p(i);
481
+ const r = V(null), {
482
+ attributes: o,
483
+ listeners: s,
484
+ transform: d,
485
+ transition: f,
486
+ isDragging: i,
487
+ setNodeRef: u
488
+ } = ct({ id: t["data-node-key"] }), [m, h] = L();
489
+ I(() => {
490
+ const a = r.current;
491
+ if (a)
492
+ if (i) {
493
+ const l = Math.round(a.getBoundingClientRect().width);
494
+ h(l);
495
495
  } else
496
- p(void 0);
497
- }, [c]);
496
+ h(void 0);
497
+ }, [i]);
498
498
  const C = {
499
499
  ...t.style,
500
- transform: m ? Z.Transform.toString(m) : void 0,
501
- transition: y ?? "transform 0.16s ease",
500
+ transform: d ? X.Transform.toString(d) : void 0,
501
+ transition: f ?? "transform 0.16s ease",
502
502
  cursor: "grab",
503
503
  userSelect: "none",
504
504
  willChange: "transform",
505
505
  // ✅ 드래그 중 픽셀 폭 고정 (flex 재계산 억제)
506
- width: u ?? void 0,
507
- minWidth: u ?? void 0,
508
- maxWidth: u ?? void 0,
509
- flex: u !== void 0 ? "0 0 auto" : void 0
506
+ width: m ?? void 0,
507
+ minWidth: m ?? void 0,
508
+ maxWidth: m ?? void 0,
509
+ flex: m !== void 0 ? "0 0 auto" : void 0
510
510
  };
511
- return Me(t.children, {
512
- ref: (o) => {
513
- r.current !== o && (r.current = o), h(o);
511
+ return De(t.children, {
512
+ ref: (a) => {
513
+ r.current !== a && (r.current = a), u(a);
514
514
  },
515
515
  style: C,
516
- ...s,
517
- ...a
516
+ ...o,
517
+ ...s
518
518
  });
519
519
  }
520
- ), wt = Y(function({
520
+ ), St = q(function({
521
521
  config: t,
522
522
  isFirst: r,
523
- isLast: s,
524
- canCloseAll: a,
525
- onFirst: m,
526
- onPrev: y,
527
- onNext: c,
528
- onLast: h,
529
- onCloseAll: u
523
+ isLast: o,
524
+ canCloseAll: s,
525
+ onFirst: d,
526
+ onPrev: f,
527
+ onNext: i,
528
+ onLast: u,
529
+ onCloseAll: m
530
530
  }) {
531
- return /* @__PURE__ */ f("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
531
+ return /* @__PURE__ */ g("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
532
532
  /* @__PURE__ */ e(
533
- A,
533
+ z,
534
534
  {
535
535
  title: "첫 번째 탭",
536
536
  className: t.tooltip?.className,
537
537
  style: t.tooltip?.style,
538
538
  children: /* @__PURE__ */ e(
539
- x,
539
+ w,
540
540
  {
541
541
  className: t.buttons?.className,
542
542
  style: t.buttons?.style,
543
543
  size: "small",
544
- icon: /* @__PURE__ */ e(Ae, {}),
545
- onClick: m,
544
+ icon: /* @__PURE__ */ e(He, {}),
545
+ onClick: d,
546
546
  disabled: r
547
547
  }
548
548
  )
549
549
  }
550
550
  ),
551
551
  /* @__PURE__ */ e(
552
- A,
552
+ z,
553
553
  {
554
554
  title: "이전 탭",
555
555
  className: t.tooltip?.className,
556
556
  style: t.tooltip?.style,
557
557
  children: /* @__PURE__ */ e(
558
- x,
558
+ w,
559
559
  {
560
560
  className: t.buttons?.className,
561
561
  style: t.buttons?.style,
562
562
  size: "small",
563
- icon: /* @__PURE__ */ e(Fe, {}),
564
- onClick: y,
563
+ icon: /* @__PURE__ */ e(_e, {}),
564
+ onClick: f,
565
565
  disabled: r
566
566
  }
567
567
  )
568
568
  }
569
569
  ),
570
570
  /* @__PURE__ */ e(
571
- A,
571
+ z,
572
572
  {
573
573
  title: "다음 탭",
574
574
  className: t.tooltip?.className,
575
575
  style: t.tooltip?.style,
576
576
  children: /* @__PURE__ */ e(
577
- x,
577
+ w,
578
578
  {
579
579
  className: t.buttons?.className,
580
580
  style: t.buttons?.style,
581
581
  size: "small",
582
- icon: /* @__PURE__ */ e(ze, {}),
583
- onClick: c,
584
- disabled: s
582
+ icon: /* @__PURE__ */ e(Ge, {}),
583
+ onClick: i,
584
+ disabled: o
585
585
  }
586
586
  )
587
587
  }
588
588
  ),
589
589
  /* @__PURE__ */ e(
590
- A,
590
+ z,
591
591
  {
592
592
  title: "마지막 탭",
593
593
  className: t.tooltip?.className,
594
594
  style: t.tooltip?.style,
595
595
  children: /* @__PURE__ */ e(
596
- x,
596
+ w,
597
597
  {
598
598
  className: t.buttons?.className,
599
599
  style: t.buttons?.style,
600
600
  size: "small",
601
- icon: /* @__PURE__ */ e($e, {}),
602
- onClick: h,
603
- disabled: s
601
+ icon: /* @__PURE__ */ e(We, {}),
602
+ onClick: u,
603
+ disabled: o
604
604
  }
605
605
  )
606
606
  }
607
607
  ),
608
608
  /* @__PURE__ */ e(
609
- A,
609
+ z,
610
610
  {
611
611
  title: "모든 탭 닫기",
612
612
  className: t.tooltip?.className,
613
613
  style: t.tooltip?.style,
614
614
  children: /* @__PURE__ */ e(
615
- x,
615
+ w,
616
616
  {
617
617
  className: t.buttons?.className,
618
618
  style: t.buttons?.style,
619
619
  size: "small",
620
- icon: /* @__PURE__ */ e(ie, {}),
621
- onClick: u,
622
- disabled: !a
620
+ icon: /* @__PURE__ */ e(ce, {}),
621
+ onClick: m,
622
+ disabled: !s
623
623
  }
624
624
  )
625
625
  }
626
626
  )
627
627
  ] });
628
- }), xt = ({
628
+ }), Lt = ({
629
629
  config: n = {}
630
630
  }) => {
631
631
  const t = {
@@ -653,61 +653,61 @@ const pt = ({
653
653
  ...n?.nav
654
654
  },
655
655
  ...n
656
- }, r = I((d) => d.tabs), s = I((d) => d.activeMenuId), a = I((d) => d.focusTab), m = I((d) => d.closeTab), y = I((d) => d.reorderTabs), c = Ye(
657
- Qe(Xe, { activationConstraint: { distance: 6 } })
658
- ), h = (d) => {
659
- a(d);
660
- }, u = (d, k) => {
661
- k === "remove" && typeof d == "string" && m(d);
662
- }, p = () => {
663
- r.length > 0 && a(r[0].key);
656
+ }, r = S((p) => p.tabs), o = S((p) => p.activeMenuId), s = S((p) => p.focusTab), d = S((p) => p.closeTab), f = S((p) => p.reorderTabs), i = et(
657
+ tt(nt, { activationConstraint: { distance: 6 } })
658
+ ), u = (p) => {
659
+ s(p);
660
+ }, m = (p, k) => {
661
+ k === "remove" && typeof p == "string" && d(p);
662
+ }, h = () => {
663
+ r.length > 0 && s(r[0].key);
664
664
  }, C = () => {
665
- if (!s || r.length <= 1) return;
666
- const d = r.findIndex((k) => k.key === s);
667
- d > 0 && a(r[d - 1].key);
668
- }, o = () => {
669
- if (!s || r.length <= 1) return;
670
- const d = r.findIndex((k) => k.key === s);
671
- d < r.length - 1 && a(r[d + 1].key);
672
- }, i = () => {
673
- r.length > 0 && a(r[r.length - 1].key);
665
+ if (!o || r.length <= 1) return;
666
+ const p = r.findIndex((k) => k.key === o);
667
+ p > 0 && s(r[p - 1].key);
668
+ }, a = () => {
669
+ if (!o || r.length <= 1) return;
670
+ const p = r.findIndex((k) => k.key === o);
671
+ p < r.length - 1 && s(r[p + 1].key);
672
+ }, l = () => {
673
+ r.length > 0 && s(r[r.length - 1].key);
674
674
  }, T = () => {
675
- r.forEach((d) => {
676
- m(d.key);
675
+ r.forEach((p) => {
676
+ d(p.key);
677
677
  });
678
- }, O = s ? r.findIndex((d) => d.key === s) : -1, H = O === 0, R = O === r.length - 1, j = _(
679
- () => r.map((d) => ({
680
- key: d.key,
681
- label: d.label,
678
+ }, R = o ? r.findIndex((p) => p.key === o) : -1, H = R === 0, A = R === r.length - 1, U = W(
679
+ () => r.map((p) => ({
680
+ key: p.key,
681
+ label: p.label,
682
682
  closable: !0,
683
683
  children: null
684
684
  // 컨텐츠는 Main 쪽에서 렌더 → 여기선 헤더만 필요
685
685
  })),
686
686
  [r]
687
- ), V = M(
688
- ({ active: d, over: k }) => {
689
- if (!k || d.id === k.id) return;
690
- const N = r.findIndex((l) => l.key === d.id), L = r.findIndex((l) => l.key === k.id);
691
- if (N < 0 || L < 0 || N === L) return;
692
- const g = r.map((l) => l.key), b = tt(g, N, L);
693
- y?.(b);
687
+ ), _ = B(
688
+ ({ active: p, over: k }) => {
689
+ if (!k || p.id === k.id) return;
690
+ const N = r.findIndex((c) => c.key === p.id), P = r.findIndex((c) => c.key === k.id);
691
+ if (N < 0 || P < 0 || N === P) return;
692
+ const b = r.map((c) => c.key), y = at(b, N, P);
693
+ f?.(y);
694
694
  },
695
- [r, y]
696
- ), G = M(
697
- (d, k) => /* @__PURE__ */ e(
698
- qe,
695
+ [r, f]
696
+ ), G = B(
697
+ (p, k) => /* @__PURE__ */ e(
698
+ rt,
699
699
  {
700
- sensors: c,
701
- onDragEnd: V,
702
- collisionDetection: Je,
703
- modifiers: [et],
700
+ sensors: i,
701
+ onDragEnd: _,
702
+ collisionDetection: ot,
703
+ modifiers: [st],
704
704
  children: /* @__PURE__ */ e(
705
- nt,
705
+ it,
706
706
  {
707
707
  items: r.map((N) => N.key),
708
- strategy: rt,
709
- children: /* @__PURE__ */ e(k, { ...d, children: (N) => /* @__PURE__ */ ae(
710
- vt,
708
+ strategy: lt,
709
+ children: /* @__PURE__ */ e(k, { ...p, children: (N) => /* @__PURE__ */ le(
710
+ It,
711
711
  {
712
712
  ...N.props,
713
713
  key: N.key
@@ -718,7 +718,7 @@ const pt = ({
718
718
  )
719
719
  }
720
720
  ),
721
- [c, V, r]
721
+ [i, _, r]
722
722
  );
723
723
  return /* @__PURE__ */ e(
724
724
  "div",
@@ -729,27 +729,27 @@ const pt = ({
729
729
  display: r.length === 0 ? "none" : "block"
730
730
  },
731
731
  children: /* @__PURE__ */ e(
732
- Ne,
732
+ Se,
733
733
  {
734
734
  type: "editable-card",
735
- activeKey: s || void 0,
736
- onChange: h,
737
- onEdit: u,
735
+ activeKey: o || void 0,
736
+ onChange: u,
737
+ onEdit: m,
738
738
  className: t.tabs.className,
739
739
  style: t.tabs.style,
740
740
  hideAdd: !0,
741
- items: j,
741
+ items: U,
742
742
  tabBarExtraContent: /* @__PURE__ */ e(
743
- wt,
743
+ St,
744
744
  {
745
745
  config: t?.nav,
746
746
  isFirst: !!H,
747
- isLast: !!R,
747
+ isLast: !!A,
748
748
  canCloseAll: r.length > 0,
749
- onFirst: p,
749
+ onFirst: h,
750
750
  onPrev: C,
751
- onNext: o,
752
- onLast: i,
751
+ onNext: a,
752
+ onLast: l,
753
753
  onCloseAll: T
754
754
  }
755
755
  ),
@@ -758,7 +758,7 @@ const pt = ({
758
758
  )
759
759
  }
760
760
  );
761
- }, { Sider: kt } = z, Nt = ({
761
+ }, { Sider: Tt } = $, Pt = ({
762
762
  config: n = {}
763
763
  }) => {
764
764
  const t = {
@@ -802,15 +802,15 @@ const pt = ({
802
802
  ...n
803
803
  };
804
804
  console.log("@@ 사이드바 config : ", n);
805
- const [r, s] = S(""), [a, m] = S(
805
+ const [r, o] = L(""), [s, d] = L(
806
806
  "category"
807
- ), { activeMenuId: y, sidebarCollapsed: c, openTabFromMenu: h, toggleSidebar: u } = I(), { menuList: p, isLoading: C, error: o, findMenuById: i } = De(), { nodes: T, treeNodes: O, loadFavoritesIfNeeded: H } = Oe(), R = _(() => {
808
- const g = [], b = (l, w = 0) => {
809
- if (l.menuGbCd === t.menuGubunCode.program && l.scrnPath) {
810
- const v = " ".repeat(w), B = l.menuNo || "";
811
- g.push({
812
- value: l.menuId,
813
- label: /* @__PURE__ */ f(
807
+ ), { activeMenuId: f, sidebarCollapsed: i, openTabFromMenu: u, toggleSidebar: m } = S(), { menuList: h, isLoading: C, error: a, findMenuById: l } = Re(), { nodes: T, treeNodes: R, loadFavoritesIfNeeded: H } = Ae(), A = W(() => {
808
+ const b = [], y = (c, x = 0) => {
809
+ if (c.menuGbCd === t.menuGubunCode.program && c.scrnPath) {
810
+ const v = " ".repeat(x), E = c.menuNo || "";
811
+ b.push({
812
+ value: c.menuId,
813
+ label: /* @__PURE__ */ g(
814
814
  "div",
815
815
  {
816
816
  style: {
@@ -819,9 +819,9 @@ const pt = ({
819
819
  alignItems: "center"
820
820
  },
821
821
  children: [
822
- /* @__PURE__ */ f("span", { children: [
822
+ /* @__PURE__ */ g("span", { children: [
823
823
  v,
824
- l.menuNm
824
+ c.menuNm
825
825
  ] }),
826
826
  /* @__PURE__ */ e(
827
827
  "span",
@@ -834,65 +834,65 @@ const pt = ({
834
834
  borderRadius: "3px",
835
835
  marginLeft: "8px"
836
836
  },
837
- children: B
837
+ children: E
838
838
  }
839
839
  )
840
840
  ]
841
841
  }
842
842
  ),
843
- menuItem: l
843
+ menuItem: c
844
844
  });
845
845
  }
846
- l.children && l.children.length > 0 && l.children.forEach((v) => b(v, w + 1));
846
+ c.children && c.children.length > 0 && c.children.forEach((v) => y(v, x + 1));
847
847
  };
848
- return p.forEach((l) => b(l)), g;
849
- }, [p]), j = _(() => r.trim() ? R.filter((g) => {
850
- const b = g.menuItem.menuNm.toLowerCase(), l = String(g.menuItem.menuNo || "미지정").toLowerCase(), w = r.toLowerCase();
851
- return b.includes(w) || l.includes(w);
852
- }) : [], [R, r]), V = (g) => {
853
- if (!g || typeof g != "string") {
854
- console.warn("Invalid menu selection value:", g);
848
+ return h.forEach((c) => y(c)), b;
849
+ }, [h]), U = W(() => r.trim() ? A.filter((b) => {
850
+ const y = b.menuItem.menuNm.toLowerCase(), c = String(b.menuItem.menuNo || "미지정").toLowerCase(), x = r.toLowerCase();
851
+ return y.includes(x) || c.includes(x);
852
+ }) : [], [A, r]), _ = (b) => {
853
+ if (!b || typeof b != "string") {
854
+ console.warn("Invalid menu selection value:", b);
855
855
  return;
856
856
  }
857
- if (!/^[a-zA-Z0-9_-]+$/.test(g)) {
858
- console.warn("Invalid menu ID format:", g);
857
+ if (!/^[a-zA-Z0-9_-]+$/.test(b)) {
858
+ console.warn("Invalid menu ID format:", b);
859
859
  return;
860
860
  }
861
- const b = R.find(
862
- (l) => l.value === g
861
+ const y = A.find(
862
+ (c) => c.value === b
863
863
  );
864
- if (b) {
865
- const { menuItem: l } = b;
866
- if (!l || !l.menuId || !l.menuNm) {
867
- console.warn("Invalid menu item:", l);
864
+ if (y) {
865
+ const { menuItem: c } = y;
866
+ if (!c || !c.menuId || !c.menuNm) {
867
+ console.warn("Invalid menu item:", c);
868
868
  return;
869
869
  }
870
- l.menuGbCd === t.menuGubunCode.program && l.scrnPath ? (console.log(
870
+ c.menuGbCd === t.menuGubunCode.program && c.scrnPath ? (console.log(
871
871
  "✅ 검색으로 프로그램 메뉴 선택 - 탭 추가 및 setCurrentProgram 호출"
872
872
  ), console.log(
873
873
  "메뉴명:",
874
- l.menuNm,
874
+ c.menuNm,
875
875
  "경로:",
876
- l.scrnPath,
876
+ c.scrnPath,
877
877
  "scrnId:",
878
- l.scrnId
879
- ), h(l)) : (l.menuGbCd === t.menuGubunCode.mainMenu || l.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", l.menuNm, "menuGbCd:", l.menuGbCd)), s("");
878
+ c.scrnId
879
+ ), u(c)) : (c.menuGbCd === t.menuGubunCode.mainMenu || c.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", c.menuNm, "menuGbCd:", c.menuGbCd)), o("");
880
880
  }
881
- }, G = M(
882
- (g) => {
883
- const b = i(g);
884
- b?.menuGbCd === t.menuGubunCode.program && (console.log(
881
+ }, G = B(
882
+ (b) => {
883
+ const y = l(b);
884
+ y?.menuGbCd === t.menuGubunCode.program && (console.log(
885
885
  "메뉴명:",
886
- b.menuNm,
886
+ y.menuNm,
887
887
  "경로:",
888
- b.scrnPath,
888
+ y.scrnPath,
889
889
  "scrnId:",
890
- b.scrnId
891
- ), h(b));
890
+ y.scrnId
891
+ ), u(y));
892
892
  },
893
- [i, h]
894
- ), d = M((g) => g.map((b) => ({
895
- key: b.menuId,
893
+ [l, u]
894
+ ), p = B((b) => b.map((y) => ({
895
+ key: y.menuId,
896
896
  label: /* @__PURE__ */ e(
897
897
  "div",
898
898
  {
@@ -901,21 +901,21 @@ const pt = ({
901
901
  justifyContent: "space-between",
902
902
  alignItems: "center"
903
903
  },
904
- children: /* @__PURE__ */ e("span", { children: b.menuNm })
904
+ children: /* @__PURE__ */ e("span", { children: y.menuNm })
905
905
  }
906
906
  ),
907
- icon: k(b.iconCd, b.menuGbCd),
908
- children: b.children && b.children.length > 0 ? d(b.children) : void 0
909
- })), []), k = (g, b) => {
910
- if (g) {
911
- const l = ee[g];
912
- if (l)
913
- return /* @__PURE__ */ e(l, {});
907
+ icon: k(y.iconCd, y.menuGbCd),
908
+ children: y.children && y.children.length > 0 ? p(y.children) : void 0
909
+ })), []), k = (b, y) => {
910
+ if (b) {
911
+ const c = ne[b];
912
+ if (c)
913
+ return /* @__PURE__ */ e(c, {});
914
914
  }
915
- if (b)
916
- switch (b) {
915
+ if (y)
916
+ switch (y) {
917
917
  case t.menuGubunCode.mainMenu:
918
- return /* @__PURE__ */ e(ee.HomeOutlined, {});
918
+ return /* @__PURE__ */ e(ne.HomeOutlined, {});
919
919
  case t.menuGubunCode.subMenu:
920
920
  return null;
921
921
  case t.menuGubunCode.program:
@@ -924,47 +924,47 @@ const pt = ({
924
924
  return null;
925
925
  }
926
926
  return null;
927
- }, N = M(
928
- (g) => {
929
- if (p.length === 0) return [];
930
- const b = (w) => {
931
- if (w)
932
- return typeof w == "string" ? T[w] : w;
933
- }, l = (w) => {
934
- if (w.type === "M") {
935
- const v = w, B = i(v.menuId) || void 0, q = !!B, ce = q ? `${B?.menuNm ?? v.menuNm ?? v.menuId}` : `${v.menuNm ?? v.menuId} (삭제됨)`;
927
+ }, N = B(
928
+ (b) => {
929
+ if (h.length === 0) return [];
930
+ const y = (x) => {
931
+ if (x)
932
+ return typeof x == "string" ? T[x] : x;
933
+ }, c = (x) => {
934
+ if (x.type === "M") {
935
+ const v = x, E = l(v.menuId) || void 0, ee = !!E, ue = ee ? `${E?.menuNm ?? v.menuNm ?? v.menuId}` : `${v.menuNm ?? v.menuId} (삭제됨)`;
936
936
  return {
937
937
  key: v.menuId,
938
- label: ce,
939
- icon: q ? void 0 : /* @__PURE__ */ e(_e, { style: { color: "#faad14" } })
938
+ label: ue,
939
+ icon: ee ? void 0 : /* @__PURE__ */ e(Ze, { style: { color: "#faad14" } })
940
940
  };
941
941
  } else {
942
- const v = w, B = (v.children ?? []).map(b).filter(Boolean).map(l);
942
+ const v = x, E = (v.children ?? []).map(y).filter(Boolean).map(c);
943
943
  return {
944
944
  key: v.bkmkId,
945
945
  label: v.bkmkNm ?? v.bkmkId,
946
- icon: v.prntBkmkId === "-" ? /* @__PURE__ */ e(We, {}) : /* @__PURE__ */ e(je, {}),
947
- children: B
946
+ icon: v.prntBkmkId === "-" ? /* @__PURE__ */ e(Ye, {}) : /* @__PURE__ */ e(Xe, {}),
947
+ children: E
948
948
  // 빈 배열이면 자동으로 말아줌
949
949
  };
950
950
  }
951
951
  };
952
- return g.map(l);
952
+ return b.map(c);
953
953
  },
954
- [i, T, p]
955
- ), L = _(
956
- () => N(O),
957
- [N, O, T]
954
+ [l, T, h]
955
+ ), P = W(
956
+ () => N(R),
957
+ [N, R, T]
958
958
  );
959
- return E(() => {
960
- re() && H(re());
961
- }, [H]), E(() => {
962
- a === "category" && s("");
963
- }, [a]), /* @__PURE__ */ f(
964
- kt,
959
+ return I(() => {
960
+ se() && H(se());
961
+ }, [H]), I(() => {
962
+ s === "category" && o("");
963
+ }, [s]), /* @__PURE__ */ g(
964
+ Tt,
965
965
  {
966
966
  className: t.className.wrapper,
967
- collapsed: t.collapsed || c,
967
+ collapsed: t.collapsed || i,
968
968
  trigger: null,
969
969
  width: t.width || 230,
970
970
  children: [
@@ -989,10 +989,10 @@ const pt = ({
989
989
  transition: "all 0.3s ease"
990
990
  },
991
991
  children: /* @__PURE__ */ e(
992
- x,
992
+ w,
993
993
  {
994
994
  type: "text",
995
- icon: t.collapsed || c ? /* @__PURE__ */ e(He, {}) : /* @__PURE__ */ e(Ve, {}),
995
+ icon: t.collapsed || i ? /* @__PURE__ */ e(je, {}) : /* @__PURE__ */ e(Ue, {}),
996
996
  style: {
997
997
  fontSize: "12px",
998
998
  color: "#787878",
@@ -1003,28 +1003,28 @@ const pt = ({
1003
1003
  alignItems: "center",
1004
1004
  justifyContent: "center"
1005
1005
  },
1006
- onClick: u
1006
+ onClick: m
1007
1007
  }
1008
1008
  )
1009
1009
  }
1010
1010
  ),
1011
- !(t.collapsed || c) && /* @__PURE__ */ e(
1011
+ !(t.collapsed || i) && /* @__PURE__ */ e(
1012
1012
  "div",
1013
1013
  {
1014
1014
  style: {
1015
1015
  padding: 10
1016
1016
  },
1017
1017
  children: /* @__PURE__ */ e(
1018
- Ie,
1018
+ Le,
1019
1019
  {
1020
1020
  value: r,
1021
- options: j,
1022
- onSelect: V,
1023
- onSearch: s,
1021
+ options: U,
1022
+ onSelect: _,
1023
+ onSearch: o,
1024
1024
  style: { width: "100%" },
1025
1025
  allowClear: !0,
1026
1026
  children: /* @__PURE__ */ e(
1027
- Se,
1027
+ Y,
1028
1028
  {
1029
1029
  className: t.className.search,
1030
1030
  placeholder: t.style.search.placeholder,
@@ -1058,7 +1058,7 @@ const pt = ({
1058
1058
  )
1059
1059
  }
1060
1060
  ),
1061
- !(t.collapsed || c) && /* @__PURE__ */ e(
1061
+ !(t.collapsed || i) && /* @__PURE__ */ e(
1062
1062
  "div",
1063
1063
  {
1064
1064
  style: {
@@ -1072,8 +1072,8 @@ const pt = ({
1072
1072
  className: t.className.segmented.wrapper,
1073
1073
  options: [
1074
1074
  {
1075
- label: /* @__PURE__ */ f(F, { children: [
1076
- /* @__PURE__ */ e("span", { className: t.className.segmented.item, children: /* @__PURE__ */ f(
1075
+ label: /* @__PURE__ */ g(O, { children: [
1076
+ /* @__PURE__ */ e("span", { className: t.className.segmented.item, children: /* @__PURE__ */ g(
1077
1077
  "svg",
1078
1078
  {
1079
1079
  xmlns: "http://www.w3.org/2000/svg",
@@ -1120,7 +1120,7 @@ const pt = ({
1120
1120
  value: "category"
1121
1121
  },
1122
1122
  {
1123
- label: /* @__PURE__ */ f(F, { children: [
1123
+ label: /* @__PURE__ */ g(O, { children: [
1124
1124
  /* @__PURE__ */ e("span", { className: t.className.segmented.item, children: /* @__PURE__ */ e(
1125
1125
  "svg",
1126
1126
  {
@@ -1145,9 +1145,9 @@ const pt = ({
1145
1145
  value: "favorite"
1146
1146
  }
1147
1147
  ],
1148
- value: a,
1149
- onChange: (g) => {
1150
- m(g);
1148
+ value: s,
1149
+ onChange: (b) => {
1150
+ d(b);
1151
1151
  },
1152
1152
  style: {
1153
1153
  width: "100%"
@@ -1157,21 +1157,21 @@ const pt = ({
1157
1157
  )
1158
1158
  }
1159
1159
  ),
1160
- /* @__PURE__ */ f("div", { className: t.className.sider.content, children: [
1161
- C && /* @__PURE__ */ f("div", { className: t.className.sider.loading, children: [
1162
- /* @__PURE__ */ e(W, { size: "default" }),
1160
+ /* @__PURE__ */ g("div", { className: t.className.sider.content, children: [
1161
+ C && /* @__PURE__ */ g("div", { className: t.className.sider.loading, children: [
1162
+ /* @__PURE__ */ e(j, { size: "default" }),
1163
1163
  /* @__PURE__ */ e("div", { className: t.className.sider.loadingText, children: "메뉴 로딩 중..." })
1164
1164
  ] }),
1165
- o && /* @__PURE__ */ f("div", { className: t.className.sider.error, children: [
1165
+ a && /* @__PURE__ */ g("div", { className: t.className.sider.error, children: [
1166
1166
  /* @__PURE__ */ e(
1167
- Ge,
1167
+ Ke,
1168
1168
  {
1169
1169
  className: t.className.sider.errorIcon
1170
1170
  }
1171
1171
  ),
1172
1172
  /* @__PURE__ */ e("div", { className: t.className.sider.errorText, children: "메뉴 로드 실패" })
1173
1173
  ] }),
1174
- !C && !o && a === "category" && p.length === 0 && /* @__PURE__ */ e(
1174
+ !C && !a && s === "category" && h.length === 0 && /* @__PURE__ */ e(
1175
1175
  "div",
1176
1176
  {
1177
1177
  style: {
@@ -1183,7 +1183,7 @@ const pt = ({
1183
1183
  children: "메뉴가 없습니다"
1184
1184
  }
1185
1185
  ),
1186
- !C && !o && a === "favorite" && L.length === 0 && /* @__PURE__ */ e(
1186
+ !C && !a && s === "favorite" && P.length === 0 && /* @__PURE__ */ e(
1187
1187
  "div",
1188
1188
  {
1189
1189
  style: {
@@ -1195,26 +1195,26 @@ const pt = ({
1195
1195
  children: "즐겨찾기된 메뉴가 없습니다"
1196
1196
  }
1197
1197
  ),
1198
- !C && !o && a === "category" && p.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1199
- J,
1198
+ !C && !a && s === "category" && h.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1199
+ te,
1200
1200
  {
1201
1201
  theme: "light",
1202
1202
  mode: "inline",
1203
- items: d(p),
1203
+ items: p(h),
1204
1204
  className: t.className.sider.menu,
1205
- selectedKeys: [y || ""],
1206
- onClick: (g) => G(g.key)
1205
+ selectedKeys: [f || ""],
1206
+ onClick: (b) => G(b.key)
1207
1207
  }
1208
1208
  ) }),
1209
- !C && !o && a === "favorite" && L.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1210
- J,
1209
+ !C && !a && s === "favorite" && P.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1210
+ te,
1211
1211
  {
1212
1212
  theme: "light",
1213
1213
  mode: "inline",
1214
- items: L,
1214
+ items: P,
1215
1215
  className: t.className.sider.menu,
1216
- selectedKeys: [y || ""],
1217
- onClick: (g) => G(g.key)
1216
+ selectedKeys: [f || ""],
1217
+ onClick: (b) => G(b.key)
1218
1218
  }
1219
1219
  ) })
1220
1220
  ] })
@@ -1222,7 +1222,7 @@ const pt = ({
1222
1222
  }
1223
1223
  );
1224
1224
  };
1225
- class It extends Ee {
1225
+ class Mt extends Oe {
1226
1226
  constructor(t) {
1227
1227
  super(t), this.resetError = () => {
1228
1228
  this.setState({ hasError: !1, error: void 0, errorInfo: void 0 });
@@ -1238,7 +1238,7 @@ class It extends Ee {
1238
1238
  });
1239
1239
  }
1240
1240
  render() {
1241
- return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ f(
1241
+ return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ g(
1242
1242
  "div",
1243
1243
  {
1244
1244
  style: {
@@ -1252,17 +1252,17 @@ class It extends Ee {
1252
1252
  },
1253
1253
  children: [
1254
1254
  /* @__PURE__ */ e(
1255
- se,
1255
+ ie,
1256
1256
  {
1257
1257
  status: "error",
1258
1258
  title: "컴포넌트 로딩 중 오류가 발생했습니다",
1259
1259
  subTitle: this.state.error ? `오류 내용: ${this.state.error.message}` : "알 수 없는 오류가 발생했습니다",
1260
1260
  extra: [
1261
1261
  /* @__PURE__ */ e(
1262
- x,
1262
+ w,
1263
1263
  {
1264
1264
  type: "primary",
1265
- icon: /* @__PURE__ */ e(le, {}),
1265
+ icon: /* @__PURE__ */ e(de, {}),
1266
1266
  onClick: this.resetError,
1267
1267
  style: { marginRight: 8 },
1268
1268
  children: "다시 시도"
@@ -1272,7 +1272,7 @@ class It extends Ee {
1272
1272
  ]
1273
1273
  }
1274
1274
  ),
1275
- this.state.error && /* @__PURE__ */ f(
1275
+ this.state.error && /* @__PURE__ */ g(
1276
1276
  "details",
1277
1277
  {
1278
1278
  style: {
@@ -1307,13 +1307,13 @@ class It extends Ee {
1307
1307
  ) : this.props.children;
1308
1308
  }
1309
1309
  }
1310
- const St = ({
1310
+ const Bt = ({
1311
1311
  isActive: n,
1312
1312
  instance: t,
1313
1313
  params: r
1314
1314
  }) => {
1315
- const { activeMenuId: s, closeTab: a } = I(), m = () => {
1316
- s && a(s);
1315
+ const { activeMenuId: o, closeTab: s } = S(), d = () => {
1316
+ o && s(o);
1317
1317
  };
1318
1318
  return t ? /* @__PURE__ */ e(
1319
1319
  "div",
@@ -1329,7 +1329,7 @@ const St = ({
1329
1329
  transition: "opacity 0.2s ease-in-out",
1330
1330
  pointerEvents: n ? "auto" : "none"
1331
1331
  },
1332
- children: /* @__PURE__ */ e(It, { children: /* @__PURE__ */ e(Q, { fallback: null, children: t && ae(t, { params: r }) }) })
1332
+ children: /* @__PURE__ */ e(Mt, { children: /* @__PURE__ */ e(Q, { fallback: null, children: t && le(t, { params: r }) }) })
1333
1333
  }
1334
1334
  ) : /* @__PURE__ */ e(
1335
1335
  "div",
@@ -1360,20 +1360,20 @@ const St = ({
1360
1360
  padding: 24
1361
1361
  },
1362
1362
  children: /* @__PURE__ */ e(
1363
- se,
1363
+ ie,
1364
1364
  {
1365
- icon: /* @__PURE__ */ e(Ue, { twoToneColor: "#69b1ff" }),
1365
+ icon: /* @__PURE__ */ e(qe, { twoToneColor: "#69b1ff" }),
1366
1366
  status: "warning",
1367
1367
  title: "등록된 메뉴 정보가 없거나 유효한 메뉴가 아닙니다.",
1368
- subTitle: /* @__PURE__ */ e(Pe.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1369
- extra: /* @__PURE__ */ e(Le, { children: /* @__PURE__ */ e(x, { icon: /* @__PURE__ */ e(ie, {}), onClick: m, children: "탭 닫기" }) })
1368
+ subTitle: /* @__PURE__ */ e(Me.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1369
+ extra: /* @__PURE__ */ e(Pe, { children: /* @__PURE__ */ e(w, { icon: /* @__PURE__ */ e(ce, {}), onClick: d, children: "탭 닫기" }) })
1370
1370
  }
1371
1371
  )
1372
1372
  }
1373
1373
  )
1374
1374
  }
1375
1375
  );
1376
- }, Tt = Y(St), Lt = () => /* @__PURE__ */ f(F, { children: [
1376
+ }, Et = q(Bt), Dt = () => /* @__PURE__ */ g(O, { children: [
1377
1377
  /* @__PURE__ */ e(
1378
1378
  "link",
1379
1379
  {
@@ -1383,53 +1383,53 @@ const St = ({
1383
1383
  }
1384
1384
  ),
1385
1385
  /* @__PURE__ */ e("div", { className: "LandingContainer-wrap", children: /* @__PURE__ */ e("div", { className: "inner", children: /* @__PURE__ */ e("div", { className: "content" }) }) })
1386
- ] }), Pt = (n, t) => {
1386
+ ] }), Ot = (n, t) => {
1387
1387
  console.log("createPopupViewLoader 호출 - popupUrl:", n);
1388
- const s = ((a) => {
1389
- if (a.startsWith("/src/pages/views/popup/")) {
1390
- const c = a + ".tsx";
1391
- return console.log(`팝업 URL 변환: ${a} -> ${c}`), c;
1388
+ const o = ((s) => {
1389
+ if (s.startsWith("/src/pages/views/popup/")) {
1390
+ const i = s + ".tsx";
1391
+ return console.log(`팝업 URL 변환: ${s} -> ${i}`), i;
1392
1392
  }
1393
- const y = `/src/pages/views/popup/${a.startsWith("/") ? a.substring(1) : a}.tsx`;
1394
- return console.log(`팝업 URL 변환: ${a} -> ${y}`), y;
1393
+ const f = `/src/pages/views/popup/${s.startsWith("/") ? s.substring(1) : s}.tsx`;
1394
+ return console.log(`팝업 URL 변환: ${s} -> ${f}`), f;
1395
1395
  })(n);
1396
- return !s || !t?.glob[s] ? (console.warn(`팝업 뷰를 찾을 수 없습니다: ${n} (${s})`), console.warn("사용 가능한 팝업 뷰들:", Object.keys(t?.glob || {})), null) : t?.glob[s];
1397
- }, Mt = ({ popup: n, modules: t }) => {
1398
- const [r, s] = S(null), [a, m] = S(!1), [y, c] = S(null), h = () => {
1399
- console.log("PopupArea - handleClose:", n.popupId), X.getState().closePopup(n.popupId);
1396
+ return !o || !t?.glob[o] ? (console.warn(`팝업 뷰를 찾을 수 없습니다: ${n} (${o})`), console.warn("사용 가능한 팝업 뷰들:", Object.keys(t?.glob || {})), null) : t?.glob[o];
1397
+ }, Ft = ({ popup: n, modules: t }) => {
1398
+ const [r, o] = L(null), [s, d] = L(!1), [f, i] = L(null), u = () => {
1399
+ console.log("PopupArea - handleClose:", n.popupId), J.getState().closePopup(n.popupId);
1400
1400
  };
1401
- return E(() => {
1401
+ return I(() => {
1402
1402
  (async () => {
1403
- console.log("팝업 뷰 로드 시작:", n.popupUrl), m(!0), c(null);
1403
+ console.log("팝업 뷰 로드 시작:", n.popupUrl), d(!0), i(null);
1404
1404
  try {
1405
- const p = Pt(n.popupUrl, t);
1406
- if (!p) {
1407
- const i = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
1408
- console.error(i), c(i), m(!1);
1405
+ const h = Ot(n.popupUrl, t);
1406
+ if (!h) {
1407
+ const l = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
1408
+ console.error(l), i(l), d(!1);
1409
1409
  return;
1410
1410
  }
1411
1411
  console.log("팝업 뷰 모듈 로드 중...");
1412
- const C = await p();
1412
+ const C = await h();
1413
1413
  console.log("팝업 뷰 모듈 로드 완료:", C);
1414
- const o = C.default;
1415
- if (console.log("팝업 뷰 컴포넌트:", o), !o)
1414
+ const a = C.default;
1415
+ if (console.log("팝업 뷰 컴포넌트:", a), !a)
1416
1416
  throw new Error("팝업 뷰 컴포넌트를 찾을 수 없습니다");
1417
- s(() => o), console.log("팝업 뷰 설정 완료");
1418
- } catch (p) {
1419
- console.error("팝업 뷰 로드 실패:", p), c(p instanceof Error ? p.message : "팝업 뷰 로드 실패");
1417
+ o(() => a), console.log("팝업 뷰 설정 완료");
1418
+ } catch (h) {
1419
+ console.error("팝업 뷰 로드 실패:", h), i(h instanceof Error ? h.message : "팝업 뷰 로드 실패");
1420
1420
  } finally {
1421
- m(!1);
1421
+ d(!1);
1422
1422
  }
1423
1423
  })();
1424
- }, [n.popupUrl]), a ? /* @__PURE__ */ f("div", { className: "popup-loading", children: [
1425
- /* @__PURE__ */ e(W, { size: "large" }),
1424
+ }, [n.popupUrl]), s ? /* @__PURE__ */ g("div", { className: "popup-loading", children: [
1425
+ /* @__PURE__ */ e(j, { size: "large" }),
1426
1426
  /* @__PURE__ */ e("p", { children: "팝업을 로드하는 중..." })
1427
- ] }) : y ? /* @__PURE__ */ f("div", { className: "popup-error", children: [
1428
- /* @__PURE__ */ e(K, { description: y, image: K.PRESENTED_IMAGE_SIMPLE }),
1427
+ ] }) : f ? /* @__PURE__ */ g("div", { className: "popup-error", children: [
1428
+ /* @__PURE__ */ e(Z, { description: f, image: Z.PRESENTED_IMAGE_SIMPLE }),
1429
1429
  /* @__PURE__ */ e(
1430
- x,
1430
+ w,
1431
1431
  {
1432
- icon: /* @__PURE__ */ e(le, {}),
1432
+ icon: /* @__PURE__ */ e(de, {}),
1433
1433
  onClick: () => window.location.reload(),
1434
1434
  children: "다시 시도"
1435
1435
  }
@@ -1437,8 +1437,8 @@ const St = ({
1437
1437
  ] }) : r ? /* @__PURE__ */ e(
1438
1438
  Q,
1439
1439
  {
1440
- fallback: /* @__PURE__ */ f("div", { className: "popup-loading", children: [
1441
- /* @__PURE__ */ e(W, { size: "large" }),
1440
+ fallback: /* @__PURE__ */ g("div", { className: "popup-loading", children: [
1441
+ /* @__PURE__ */ e(j, { size: "large" }),
1442
1442
  /* @__PURE__ */ e("p", { children: "컴포넌트를 로드하는 중..." })
1443
1443
  ] }),
1444
1444
  children: /* @__PURE__ */ e(
@@ -1446,75 +1446,75 @@ const St = ({
1446
1446
  {
1447
1447
  popup: {
1448
1448
  ...n,
1449
- close: h
1449
+ close: u
1450
1450
  // popup 객체에 close 이벤트 추가
1451
1451
  },
1452
- onClose: h
1452
+ onClose: u
1453
1453
  }
1454
1454
  )
1455
1455
  }
1456
- ) : /* @__PURE__ */ e("div", { className: "popup-empty", children: /* @__PURE__ */ e(K, { description: "팝업 내용을 불러올 수 없습니다." }) });
1457
- }, Et = ({ modules: n }) => {
1458
- const { popups: t } = X();
1459
- return t.length === 0 ? null : /* @__PURE__ */ e(F, { children: t.map((r) => {
1460
- const s = r.config || {}, a = s.width || r.width || 800, m = s.height || r.height || 600, y = s.title || r.popupTitle, c = r.buttonList?.map((h, u) => ({
1461
- key: h.btnId || `btn_${u}`,
1462
- text: h.btnNm,
1463
- type: h.btnId === "CLOSE" ? "default" : "primary",
1464
- disabled: h.enblYn !== "Y",
1456
+ ) : /* @__PURE__ */ e("div", { className: "popup-empty", children: /* @__PURE__ */ e(Z, { description: "팝업 내용을 불러올 수 없습니다." }) });
1457
+ }, Rt = ({ modules: n }) => {
1458
+ const { popups: t } = J();
1459
+ return t.length === 0 ? null : /* @__PURE__ */ e(O, { children: t.map((r) => {
1460
+ const o = r.config || {}, s = o.width || r.width || 800, d = o.height || r.height || 600, f = o.title || r.popupTitle, i = r.buttonList?.map((u, m) => ({
1461
+ key: u.btnId || `btn_${m}`,
1462
+ text: u.btnNm,
1463
+ type: u.btnId === "CLOSE" ? "default" : "primary",
1464
+ disabled: u.enblYn !== "Y",
1465
1465
  danger: !1
1466
1466
  })) || [];
1467
1467
  return console.log("팝업 렌더링:", {
1468
1468
  popupId: r.popupId,
1469
1469
  popupCode: r.popupCode,
1470
- title: y,
1471
- width: a,
1472
- height: m,
1473
- buttons: c
1474
- }), /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(Mt, { popup: r, modules: n }) }, r.popupId);
1470
+ title: f,
1471
+ width: s,
1472
+ height: d,
1473
+ buttons: i
1474
+ }), /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(Ft, { popup: r, modules: n }) }, r.popupId);
1475
1475
  }) });
1476
- }, Bt = () => {
1477
- const { popups: n, closePopup: t } = X();
1478
- return /* @__PURE__ */ e(F, { children: n.map((r) => {
1476
+ }, At = () => {
1477
+ const { popups: n, closePopup: t } = J();
1478
+ return /* @__PURE__ */ e(O, { children: n.map((r) => {
1479
1479
  if (!(r.isLocal || r.popupCode.startsWith("CORE_"))) return null;
1480
- const s = dt[r.popupCode];
1481
- if (!s) return null;
1482
- const a = s.component;
1483
- return /* @__PURE__ */ e(Q, { fallback: null, children: /* @__PURE__ */ e(a, { popup: r, onClose: () => t(r.popupId) }) }, r.popupId);
1480
+ const o = gt[r.popupCode];
1481
+ if (!o) return null;
1482
+ const s = o.component;
1483
+ return /* @__PURE__ */ e(Q, { fallback: null, children: /* @__PURE__ */ e(s, { popup: r, onClose: () => t(r.popupId) }) }, r.popupId);
1484
1484
  }) });
1485
- }, Dt = (n) => ({
1485
+ }, zt = (n) => ({
1486
1486
  position: "absolute",
1487
1487
  inset: 0,
1488
1488
  visibility: n ? "visible" : "hidden",
1489
1489
  opacity: n ? 1 : 0,
1490
1490
  transition: "opacity 0.2s ease-in-out",
1491
1491
  pointerEvents: n ? "auto" : "none"
1492
- }), Ot = ({ once: n = !0 }) => {
1493
- const { lock: t } = me(), r = $(!1);
1494
- return E(() => {
1492
+ }), $t = ({ once: n = !0 }) => {
1493
+ const { lock: t } = ge(), r = V(!1);
1494
+ return I(() => {
1495
1495
  n && r.current || (r.current = !0, t());
1496
1496
  }, [n, t]), null;
1497
- }, Rt = ({ isActive: n, flagged: t, tabKey: r, onUnlock: s, children: a }) => {
1498
- const m = $(null), [y, c] = S(!1), h = M((p) => {
1499
- m.current = p, c(!!p);
1500
- }, []), u = Dt(n);
1501
- return /* @__PURE__ */ e("div", { ref: h, style: u, children: y ? /* @__PURE__ */ f(
1502
- pe,
1497
+ }, Vt = ({ isActive: n, flagged: t, tabKey: r, onUnlock: o, children: s }) => {
1498
+ const d = V(null), [f, i] = L(!1), u = B((h) => {
1499
+ d.current = h, i(!!h);
1500
+ }, []), m = zt(n);
1501
+ return /* @__PURE__ */ e("div", { ref: u, style: m, children: f ? /* @__PURE__ */ g(
1502
+ he,
1503
1503
  {
1504
1504
  idleMs: Number.POSITIVE_INFINITY,
1505
1505
  persistLocked: !1,
1506
1506
  overlayScope: "scoped",
1507
1507
  overlayPosition: "absolute",
1508
- eventTarget: m.current,
1508
+ eventTarget: d.current,
1509
1509
  overlayId: `tab-overlay-${r}`,
1510
- onUnlock: async () => (s(), !0),
1510
+ onUnlock: async () => (o(), !0),
1511
1511
  children: [
1512
- n && t ? /* @__PURE__ */ e(Ot, { once: !0 }) : null,
1513
- a
1512
+ n && t ? /* @__PURE__ */ e($t, { once: !0 }) : null,
1513
+ s
1514
1514
  ]
1515
1515
  }
1516
- ) : a });
1517
- }, Qt = ({
1516
+ ) : s });
1517
+ }, tn = ({
1518
1518
  config: n = {},
1519
1519
  modules: t = {
1520
1520
  view: {
@@ -1525,38 +1525,38 @@ const St = ({
1525
1525
  }
1526
1526
  }
1527
1527
  }) => {
1528
- const r = $(
1528
+ const r = V(
1529
1529
  /* @__PURE__ */ new Map()
1530
1530
  ), {
1531
- tabs: s,
1532
- tabParams: a,
1533
- activeMenuId: m,
1534
- tabProtectFlag: y,
1535
- clearProtectFlagForKey: c
1536
- } = I(), h = M(
1537
- (u) => {
1538
- const p = r.current.get(u.key);
1539
- if (p) return p;
1540
- const C = u.gubun === "M" ? `${t.view.path}${u.menuItem?.scrnPath}.tsx` : `${t.view.path}${u.componentItem?.scrnPath}.tsx`;
1541
- let o = t.view?.glob?.[C];
1542
- if (!o && typeof import.meta < "u" && typeof import.meta.glob == "function" && (o = (/* @__PURE__ */ Object.assign({}))[C]), o) {
1543
- const i = D(
1544
- o
1531
+ tabs: o,
1532
+ tabParams: s,
1533
+ activeMenuId: d,
1534
+ tabProtectFlag: f,
1535
+ clearProtectFlagForKey: i
1536
+ } = S(), u = B(
1537
+ (m) => {
1538
+ const h = r.current.get(m.key);
1539
+ if (h) return h;
1540
+ const C = m.gubun === "M" ? `${t.view.path}${m.menuItem?.scrnPath}.tsx` : `${t.view.path}${m.componentItem?.scrnPath}.tsx`;
1541
+ let a = t.view?.glob?.[C];
1542
+ if (!a && typeof import.meta < "u" && typeof import.meta.glob == "function" && (a = (/* @__PURE__ */ Object.assign({}))[C]), a) {
1543
+ const l = F(
1544
+ a
1545
1545
  );
1546
- return r.current.set(u.key, i), i;
1546
+ return r.current.set(m.key, l), l;
1547
1547
  }
1548
1548
  return null;
1549
1549
  },
1550
1550
  [t.view?.glob]
1551
1551
  );
1552
- return /* @__PURE__ */ f(z, { className: "main-layout", children: [
1553
- /* @__PURE__ */ e(Ct, { config: n?.header }),
1554
- /* @__PURE__ */ f(z, { children: [
1555
- /* @__PURE__ */ e(Nt, { config: n?.sidebar }),
1556
- /* @__PURE__ */ f("div", { className: "content-container", children: [
1557
- /* @__PURE__ */ e(xt, { config: n?.menuTab }),
1558
- /* @__PURE__ */ e(ht, { config: n?.content, children: /* @__PURE__ */ f(he, { children: [
1559
- /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ f(
1552
+ return /* @__PURE__ */ g($, { className: "main-layout", children: [
1553
+ /* @__PURE__ */ e(Nt, { config: n?.header }),
1554
+ /* @__PURE__ */ g($, { children: [
1555
+ /* @__PURE__ */ e(Pt, { config: n?.sidebar }),
1556
+ /* @__PURE__ */ g("div", { className: "content-container", children: [
1557
+ /* @__PURE__ */ e(Lt, { config: n?.menuTab }),
1558
+ /* @__PURE__ */ e(Ct, { config: n?.content, children: /* @__PURE__ */ g(fe, { children: [
1559
+ /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ g(
1560
1560
  "div",
1561
1561
  {
1562
1562
  style: {
@@ -1565,52 +1565,122 @@ const St = ({
1565
1565
  height: "100%"
1566
1566
  },
1567
1567
  children: [
1568
- s.map((u) => {
1569
- const p = h(u), C = m === u.key, o = !!y?.[u.key], i = a[u.key] || {};
1568
+ o.map((m) => {
1569
+ const h = u(m), C = d === m.key, a = !!f?.[m.key], l = s[m.key] || {};
1570
1570
  return /* @__PURE__ */ e(
1571
- Rt,
1571
+ Vt,
1572
1572
  {
1573
1573
  isActive: C,
1574
- flagged: o,
1575
- tabKey: u.key,
1576
- onUnlock: () => c(u.key),
1574
+ flagged: a,
1575
+ tabKey: m.key,
1576
+ onUnlock: () => i(m.key),
1577
1577
  children: /* @__PURE__ */ e(
1578
- Tt,
1578
+ Et,
1579
1579
  {
1580
1580
  isActive: C,
1581
- instance: p || void 0,
1582
- params: i
1581
+ instance: h || void 0,
1582
+ params: l
1583
1583
  },
1584
- u.key
1584
+ m.key
1585
1585
  )
1586
1586
  },
1587
- u.key
1587
+ m.key
1588
1588
  );
1589
1589
  }),
1590
- (!m || s.length === 0) && /* @__PURE__ */ e(Lt, {})
1590
+ (!d || o.length === 0) && /* @__PURE__ */ e(Dt, {})
1591
1591
  ]
1592
1592
  }
1593
1593
  ) }),
1594
- /* @__PURE__ */ e(Bt, {}),
1595
- /* @__PURE__ */ e(Et, { modules: t?.popup })
1594
+ /* @__PURE__ */ e(At, {}),
1595
+ /* @__PURE__ */ e(Rt, { modules: t?.popup })
1596
1596
  ] }) })
1597
1597
  ] })
1598
1598
  ] }),
1599
- /* @__PURE__ */ e(ve, {})
1599
+ /* @__PURE__ */ e(xe, {})
1600
1600
  ] });
1601
- }, Xt = ({ config: n, children: t }) => /* @__PURE__ */ e("div", { children: "BwgPortal02" });
1601
+ }, nn = ({ config: n, children: t }) => /* @__PURE__ */ e("div", { children: "BwgPortal02" });
1602
+ function rn({
1603
+ config: n,
1604
+ ui: t,
1605
+ navigate: r
1606
+ }) {
1607
+ const { loading: o, capsOn: s, prefills: d, onKeyDown: f, doLogin: i } = ze(n), u = (m) => i(m, r);
1608
+ return I(() => {
1609
+ $e.getState().fetchSystemMap();
1610
+ }, []), /* @__PURE__ */ e(O, { children: t({ onSubmit: u, loading: o, capsOn: s, onKeyDown: f, prefills: d }) });
1611
+ }
1612
+ function on({
1613
+ onSubmit: n,
1614
+ loading: t,
1615
+ capsOn: r,
1616
+ onKeyDown: o,
1617
+ prefills: s,
1618
+ labels: d = {
1619
+ id: "ID 혹은 사번",
1620
+ pw: "비밀번호",
1621
+ remember: "Remember me",
1622
+ login: "로그인"
1623
+ },
1624
+ header: f,
1625
+ footer: i
1626
+ }) {
1627
+ const [u] = D.useForm();
1628
+ return I(() => {
1629
+ s && (s.id || s.pswr) && u.setFieldsValue({ id: s.id, pswr: s.pswr });
1630
+ }, [s, u]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ g("div", { className: "login_wrap", children: [
1631
+ f || /* @__PURE__ */ e("div", { className: "logo_box" }),
1632
+ /* @__PURE__ */ e("div", { className: "login_title" }),
1633
+ /* @__PURE__ */ e(D, { form: u, onFinish: n, className: "login-form", children: /* @__PURE__ */ g(Be, { vertical: !0, children: [
1634
+ /* @__PURE__ */ e(
1635
+ D.Item,
1636
+ {
1637
+ name: "id",
1638
+ rules: [
1639
+ { required: !0, message: "아이디를 입력해주세요." },
1640
+ {
1641
+ whitespace: !0,
1642
+ message: "아이디는 공백이 들어갈 수 없습니다."
1643
+ }
1644
+ ],
1645
+ children: /* @__PURE__ */ e(Y, { allowClear: !0, placeholder: d.id, onKeyDown: o })
1646
+ }
1647
+ ),
1648
+ /* @__PURE__ */ e(
1649
+ D.Item,
1650
+ {
1651
+ name: "pswr",
1652
+ rules: [{ required: !0, message: "비밀번호를 입력하세요." }],
1653
+ children: /* @__PURE__ */ e(
1654
+ Y.Password,
1655
+ {
1656
+ allowClear: !0,
1657
+ placeholder: d.pw,
1658
+ onKeyDown: o
1659
+ }
1660
+ )
1661
+ }
1662
+ ),
1663
+ /* @__PURE__ */ e(D.Item, { name: "remember", valuePropName: "checked", children: /* @__PURE__ */ e(Ee, { children: d.remember }) }),
1664
+ /* @__PURE__ */ e("div", { className: r ? "caps-lock caps-lock-on" : "caps-lock", children: r ? "Caps Lock On" : "Caps Lock Off" }),
1665
+ /* @__PURE__ */ e(D.Item, { children: /* @__PURE__ */ e(w, { type: "primary", htmlType: "submit", loading: t, block: !0, children: d.login }) })
1666
+ ] }) }),
1667
+ i
1668
+ ] }) });
1669
+ }
1602
1670
  export {
1603
- Yt as A,
1604
- Qt as B,
1605
- Tt as C,
1606
- Zt as L,
1607
- Et as P,
1608
- Xt as a,
1609
- Lt as b,
1610
- ht as c,
1671
+ en as A,
1672
+ tn as B,
1673
+ Et as C,
1674
+ on as D,
1675
+ Jt as L,
1676
+ Rt as P,
1677
+ nn as a,
1678
+ rn as b,
1679
+ Dt as c,
1611
1680
  Ct as d,
1612
- xt as e,
1613
- Nt as f,
1614
- Rt as g,
1615
- dt as l
1681
+ Nt as e,
1682
+ Lt as f,
1683
+ Pt as g,
1684
+ Vt as h,
1685
+ gt as l
1616
1686
  };