@bwg-ui/core 1.3.1 → 1.3.2

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 (34) hide show
  1. package/dist/chunks/{CMSearchIntfGwP01-BWm9OqAH.js → CMSearchIntfGwP01-Bx5cpkhH.js} +1 -1
  2. package/dist/chunks/{CMSearchIntfGwP01-CihGc5Q1.cjs → CMSearchIntfGwP01-Uhl4uqiV.cjs} +1 -1
  3. package/dist/chunks/{MenuReport-khjaUz1Q.cjs → MenuReport-CPwq8w-z.cjs} +1 -1
  4. package/dist/chunks/{MenuReport-yYhMOHyq.js → MenuReport-DxJIaW8D.js} +1 -1
  5. package/dist/chunks/{common-components-DletnDTf.cjs → common-components-Dd_AsKs7.cjs} +36 -36
  6. package/dist/chunks/{common-components-coAoWxE9.js → common-components-dzN5Nuq0.js} +1380 -1318
  7. package/dist/chunks/{layout-components-C1DG2B74.js → layout-components-B25FFvXj.js} +679 -663
  8. package/dist/chunks/layout-components-Cz7Zets7.cjs +35 -0
  9. package/dist/components/common/BwgDetail.d.ts.map +1 -1
  10. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  11. package/dist/components/common/index.cjs +1 -1
  12. package/dist/components/common/index.js +1 -1
  13. package/dist/components/guide/index.cjs +1 -1
  14. package/dist/components/guide/index.js +1 -1
  15. package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
  16. package/dist/components/layout/custom/ConfigurableMenuTab.d.ts.map +1 -1
  17. package/dist/components/layout/custom/ConfigurableSidebar.d.ts.map +1 -1
  18. package/dist/components/layout/default/LoadingContainer.d.ts.map +1 -1
  19. package/dist/components/layout/index.cjs +1 -1
  20. package/dist/components/layout/index.js +1 -1
  21. package/dist/components/popup/index.cjs +1 -1
  22. package/dist/components/popup/index.js +1 -1
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.js +2 -2
  25. package/dist/stores/index.cjs +2 -2
  26. package/dist/stores/index.d.ts +6 -2
  27. package/dist/stores/index.d.ts.map +1 -1
  28. package/dist/stores/index.js +116 -100
  29. package/dist/stores/menuViewStore.d.ts +6 -2
  30. package/dist/stores/menuViewStore.d.ts.map +1 -1
  31. package/dist/utils/index.cjs +1 -1
  32. package/dist/utils/index.js +1 -1
  33. package/package.json +1 -1
  34. package/dist/chunks/layout-components-C6KeWPIu.cjs +0 -35
@@ -1,38 +1,38 @@
1
- import { jsxs as C, jsx as e, Fragment as K } from "react/jsx-runtime";
2
- import { o as Me, C as Le, S as pe, n as Be, m as Oe } from "./provider-VCa8UGvF.js";
3
- import { Routes as xe, Route as te, Navigate as Ee, useNavigate as ge, useLocation as Re } from "react-router-dom";
4
- import { G as De, B as ze, Q as Ae } from "./common-components-coAoWxE9.js";
5
- import { Spin as re, Layout as Z, Button as B, Divider as ae, Flex as ne, Slider as le, Switch as We, Modal as $e, Popover as Fe, Avatar as _e, Dropdown as Ge, Tabs as He, Tooltip as X, AutoComplete as je, Input as ue, Segmented as Ve, ConfigProvider as Ue, Menu as me, Result as ke, Space as Ke, Typography as Ze, Empty as ce, Breadcrumb as Ye, Form as V, Checkbox as qe } from "antd";
6
- import { lazy as W, useEffect as D, useRef as J, useCallback as R, useMemo as _, useState as A, createElement as Ie, memo as fe, cloneElement as Qe, Component as Xe, Suspense as se } from "react";
7
- import { useLogout as Je, useUserStore as Ne, useMenuViewStore as O, useMenuModelStore as ie, useFavoriteStore as et, usePopupStore as be, useLogin as tt, useSystemStore as nt } from "../stores/index.js";
1
+ import { jsxs as b, jsx as e, Fragment as K } from "react/jsx-runtime";
2
+ import { o as Le, C as Be, S as ge, n as Oe, m as Ee } from "./provider-VCa8UGvF.js";
3
+ import { Routes as ke, Route as te, Navigate as Re, useNavigate as fe, useLocation as De } from "react-router-dom";
4
+ import { G as ze, B as Ae, Q as We } from "./common-components-dzN5Nuq0.js";
5
+ import { Spin as re, Layout as Z, Button as B, Divider as le, Flex as ne, Slider as ce, Switch as $e, Modal as Fe, Popover as _e, Avatar as Ge, Dropdown as He, Tabs as je, Tooltip as Q, AutoComplete as Ve, Input as me, Segmented as Ue, ConfigProvider as Ke, Menu as he, Result as Ie, Space as Ze, Typography as Ye, Empty as de, Breadcrumb as qe, Form as U, Checkbox as Qe } from "antd";
6
+ import { lazy as W, useEffect as z, useRef as Y, useCallback as D, useMemo as _, useState as A, createElement as Ne, memo as be, cloneElement as Xe, Component as Je, Suspense as se } from "react";
7
+ import { useLogout as et, useUserStore as Pe, useMenuViewStore as O, useMenuModelStore as ae, useFavoriteStore as tt, usePopupStore as ye, useLogin as nt, useSystemStore as rt } from "../stores/index.js";
8
8
  import * as oe from "@ant-design/icons";
9
- import { UndoOutlined as ee, UserOutlined as rt, CloseOutlined as U, PushpinOutlined as ot, ReloadOutlined as ye, StepBackwardOutlined as st, LeftOutlined as it, RightOutlined as at, StepForwardOutlined as lt, MenuUnfoldOutlined as ct, MenuFoldOutlined as dt, ExclamationCircleOutlined as ut, WarningOutlined as mt, StarOutlined as ht, FolderOpenOutlined as pt, ExclamationCircleTwoTone as gt } from "@ant-design/icons";
10
- import { getTodateString as Ce, getUserId as ve } from "../utils/index.js";
11
- import { useSensors as ft, useSensor as bt, PointerSensor as yt, DndContext as Ct, closestCenter as vt } from "@dnd-kit/core";
12
- import { restrictToHorizontalAxis as wt } from "@dnd-kit/modifiers";
13
- import { arrayMove as xt, SortableContext as kt, horizontalListSortingStrategy as It, useSortable as Nt } from "@dnd-kit/sortable";
14
- const Pt = W(
15
- () => import("./MenuReport-yYhMOHyq.js")
16
- ), St = W(
17
- () => import("./common-components-coAoWxE9.js").then((n) => n.$)
18
- ), Tt = W(
19
- () => import("./common-components-coAoWxE9.js").then((n) => n.a0)
20
- ), Mt = W(
21
- () => import("./common-components-coAoWxE9.js").then((n) => n.a1)
22
- ), Lt = W(
23
- () => import("./common-components-coAoWxE9.js").then((n) => n.a2)
9
+ import { UndoOutlined as ee, UserOutlined as ot, CloseOutlined as X, PushpinOutlined as st, ReloadOutlined as Ce, RestOutlined as at, PushpinTwoTone as it, StepBackwardOutlined as lt, LeftOutlined as ct, RightOutlined as dt, StepForwardOutlined as ut, MenuUnfoldOutlined as mt, MenuFoldOutlined as ht, ExclamationCircleOutlined as pt, WarningOutlined as gt, StarOutlined as ft, FolderOpenOutlined as bt, ExclamationCircleTwoTone as yt } from "@ant-design/icons";
10
+ import { getTodateString as ve, colorFormat as Ct, getUserId as we } from "../utils/index.js";
11
+ import { useSensors as vt, useSensor as wt, PointerSensor as xt, DndContext as kt, closestCenter as It } from "@dnd-kit/core";
12
+ import { restrictToHorizontalAxis as Nt } from "@dnd-kit/modifiers";
13
+ import { arrayMove as Pt, SortableContext as St, horizontalListSortingStrategy as Tt, useSortable as Mt } from "@dnd-kit/sortable";
14
+ const Lt = W(
15
+ () => import("./MenuReport-DxJIaW8D.js")
24
16
  ), Bt = W(
25
- () => import("./common-components-coAoWxE9.js").then((n) => n.a4)
17
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.$)
26
18
  ), Ot = W(
27
- () => import("./CMSearchIntfGwP01-BWm9OqAH.js")
19
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.a0)
28
20
  ), Et = W(
29
- () => import("./common-components-coAoWxE9.js").then((n) => n.a5)
21
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.a1)
30
22
  ), Rt = W(
31
- () => import("./common-components-coAoWxE9.js").then((n) => n.a3)
32
- ), Dt = {
23
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.a2)
24
+ ), Dt = W(
25
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.a4)
26
+ ), zt = W(
27
+ () => import("./CMSearchIntfGwP01-Bx5cpkhH.js")
28
+ ), At = W(
29
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.a5)
30
+ ), Wt = W(
31
+ () => import("./common-components-dzN5Nuq0.js").then((n) => n.a3)
32
+ ), $t = {
33
33
  // 게시판/문의
34
34
  CORE_REPORT: {
35
- component: Pt,
35
+ component: Lt,
36
36
  defaultConfig: {
37
37
  title: "게시판/문의",
38
38
  width: 1200,
@@ -41,7 +41,7 @@ const Pt = W(
41
41
  },
42
42
  // 조직/부서 검색류
43
43
  CORE_DEPARTMENT_01: {
44
- component: St,
44
+ component: Bt,
45
45
  defaultConfig: {
46
46
  title: "부서 검색",
47
47
  width: 620,
@@ -49,7 +49,7 @@ const Pt = W(
49
49
  }
50
50
  },
51
51
  CORE_DEPARTMENT_02: {
52
- component: Tt,
52
+ component: Ot,
53
53
  defaultConfig: {
54
54
  title: "부서 검색",
55
55
  width: 620,
@@ -57,7 +57,7 @@ const Pt = W(
57
57
  }
58
58
  },
59
59
  CORE_ORGANIZATION_01: {
60
- component: Mt,
60
+ component: Et,
61
61
  defaultConfig: {
62
62
  title: "조직 검색",
63
63
  width: 620,
@@ -65,7 +65,7 @@ const Pt = W(
65
65
  }
66
66
  },
67
67
  CORE_ORGANIZATION_02: {
68
- component: Lt,
68
+ component: Rt,
69
69
  defaultConfig: {
70
70
  title: "조직 검색",
71
71
  width: 1e3,
@@ -73,7 +73,7 @@ const Pt = W(
73
73
  }
74
74
  },
75
75
  CORE_PRGR_02: {
76
- component: Bt,
76
+ component: Dt,
77
77
  defaultConfig: {
78
78
  title: "프로그램 검색",
79
79
  width: 700,
@@ -81,7 +81,7 @@ const Pt = W(
81
81
  }
82
82
  },
83
83
  CORE_GW_DRAFTS: {
84
- component: Ot,
84
+ component: zt,
85
85
  defaultConfig: {
86
86
  title: "기안 목록",
87
87
  width: 1e3,
@@ -89,7 +89,7 @@ const Pt = W(
89
89
  }
90
90
  },
91
91
  CORE_ADDRESS_01: {
92
- component: Et,
92
+ component: At,
93
93
  defaultConfig: {
94
94
  title: "주소 검색",
95
95
  width: 750,
@@ -97,18 +97,18 @@ const Pt = W(
97
97
  }
98
98
  },
99
99
  CORE_HOLIDAY_01: {
100
- component: Rt,
100
+ component: Wt,
101
101
  defaultConfig: {
102
102
  title: "휴일 검색",
103
103
  width: 750,
104
104
  height: 800
105
105
  }
106
106
  }
107
- }, we = "bwg-dot-line-wave-v4";
108
- function zt() {
109
- if (typeof document > "u" || document.getElementById(we)) return;
107
+ }, xe = "bwg-dot-line-wave-v4";
108
+ function Ft() {
109
+ if (typeof document > "u" || document.getElementById(xe)) return;
110
110
  const n = document.createElement("style");
111
- n.id = we, n.textContent = `
111
+ n.id = xe, n.textContent = `
112
112
  .bwg-dotline {
113
113
  display: inline-flex;
114
114
  align-items: center;
@@ -144,70 +144,67 @@ function zt() {
144
144
  }
145
145
  `, document.head.appendChild(n);
146
146
  }
147
- const At = ({
147
+ const _t = ({
148
148
  colors: n = ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
149
149
  count: t,
150
150
  size: r = 12,
151
151
  gap: o = 10,
152
- amp: i = 16,
153
- speedMs: a = 900,
154
- direction: b = "ltr",
155
- phase: l = 0.7
152
+ amp: a = 16,
153
+ speedMs: i = 900,
154
+ direction: y = "ltr",
155
+ phase: c = 0.7
156
156
  }) => {
157
- D(() => {
158
- zt();
157
+ z(() => {
158
+ Ft();
159
159
  }, []);
160
- const c = t ?? n.length, v = Array.from({ length: c }), m = {
160
+ const u = t ?? n.length, v = Array.from({ length: u }), p = {
161
161
  "--bwg-size": `${r}px`,
162
162
  "--bwg-gap": `${o}px`,
163
- "--bwg-amp": `${i}px`,
164
- "--bwg-speed": `${a}ms`
165
- }, d = a / c * l;
163
+ "--bwg-amp": `${a}px`,
164
+ "--bwg-speed": `${i}ms`
165
+ }, N = i / u * c;
166
166
  return /* @__PURE__ */ e(
167
167
  "span",
168
168
  {
169
169
  className: "bwg-dotline",
170
170
  role: "img",
171
171
  "aria-label": "loading",
172
- style: m,
173
- children: v.map((h, p) => /* @__PURE__ */ e(
172
+ style: p,
173
+ children: v.map((l, m) => /* @__PURE__ */ e(
174
174
  "span",
175
175
  {
176
176
  className: "dot",
177
177
  style: {
178
- backgroundColor: n[p % n.length],
179
- animationDelay: b === "ltr" ? `${p * d}ms` : `${(c - 1 - p) * d}ms`
178
+ backgroundColor: n[m % n.length],
179
+ animationDelay: y === "ltr" ? `${m * N}ms` : `${(u - 1 - m) * N}ms`
180
180
  }
181
181
  },
182
- p
182
+ m
183
183
  ))
184
184
  }
185
185
  );
186
- }, vn = ({
186
+ }, In = ({
187
187
  spin: n = null,
188
188
  text: t = "인증중...",
189
189
  dimStyle: r = "dark"
190
190
  }) => {
191
191
  if (!(n ?? !0)) return null;
192
- const a = r === "dark";
193
- return /* @__PURE__ */ C(
192
+ const i = r === "dark";
193
+ return /* @__PURE__ */ b(
194
194
  "div",
195
195
  {
196
196
  className: "loading-overlay",
197
197
  style: {
198
- position: "fixed",
199
- height: "100vh",
200
- left: 0,
201
- right: 0,
202
- top: 0,
198
+ position: "absolute",
199
+ inset: 0,
203
200
  display: "flex",
204
201
  flexDirection: "column",
205
202
  justifyContent: "center",
206
203
  alignItems: "center",
207
204
  gap: 8,
208
205
  padding: "8px 12px",
209
- background: a ? "rgba(0, 0, 0, 0.6)" : "rgba(255, 255, 255, 0.85)",
210
- color: a ? "#fff" : "#333",
206
+ background: i ? "rgba(0, 0, 0, 0.6)" : "rgba(255, 255, 255, 0.85)",
207
+ color: i ? "#fff" : "#333",
211
208
  backdropFilter: "blur(4px)",
212
209
  zIndex: 1e4
213
210
  },
@@ -219,7 +216,7 @@ const At = ({
219
216
  re,
220
217
  {
221
218
  indicator: /* @__PURE__ */ e(
222
- At,
219
+ _t,
223
220
  {
224
221
  colors: ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
225
222
  size: 12,
@@ -236,18 +233,18 @@ const At = ({
236
233
  ]
237
234
  }
238
235
  );
239
- }, wn = ({
236
+ }, Nn = ({
240
237
  routes: n,
241
238
  useCommonProvider: t = !0,
242
239
  useServiceProvider: r = !0
243
240
  }) => {
244
- let i = /* @__PURE__ */ C(xe, { children: [
245
- /* @__PURE__ */ e(te, { path: "/", element: /* @__PURE__ */ e(Ee, { to: "/login" }) }),
241
+ let a = /* @__PURE__ */ b(ke, { children: [
242
+ /* @__PURE__ */ e(te, { path: "/", element: /* @__PURE__ */ e(Re, { to: "/login" }) }),
246
243
  /* @__PURE__ */ e(te, { path: "/login", element: n.login }),
247
244
  /* @__PURE__ */ e(te, { path: "/main/*", element: n.main })
248
245
  ] });
249
- return r && (i = /* @__PURE__ */ e(Me, { children: i })), t && (i = /* @__PURE__ */ e(Le, { children: i })), /* @__PURE__ */ e(De, { children: i });
250
- }, { Content: Wt } = Z, Pe = ({
246
+ return r && (a = /* @__PURE__ */ e(Le, { children: a })), t && (a = /* @__PURE__ */ e(Be, { children: a })), /* @__PURE__ */ e(ze, { children: a });
247
+ }, { Content: Gt } = Z, Se = ({
251
248
  config: n = {},
252
249
  children: t
253
250
  }) => {
@@ -263,11 +260,11 @@ const At = ({
263
260
  ...n
264
261
  };
265
262
  return /* @__PURE__ */ e(
266
- Wt,
263
+ Gt,
267
264
  {
268
265
  className: r.wrapper.className,
269
266
  style: r.wrapper.style,
270
- children: /* @__PURE__ */ e(ze, { children: /* @__PURE__ */ e(
267
+ children: /* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(
271
268
  "div",
272
269
  {
273
270
  className: r.body.className,
@@ -277,7 +274,7 @@ const At = ({
277
274
  ) })
278
275
  }
279
276
  );
280
- }, $t = "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", _t = "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: Gt } = Z, { confirm: Ht } = $e, $ = {
277
+ }, Ht = "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", jt = "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", 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='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: Ut } = Z, { confirm: Kt } = Fe, $ = {
281
278
  light: {
282
279
  headerBg: "#ffffff",
283
280
  headerText: "#000000",
@@ -330,11 +327,11 @@ const At = ({
330
327
  buttonDefaultBorder: "#dddddd",
331
328
  buttonPermissionBorder: "#bdb1ff"
332
329
  }
333
- }, de = {
330
+ }, ue = {
334
331
  0: "작게",
335
332
  1: "보통",
336
333
  2: "크게"
337
- }, Se = ({ config: n = {}, children: t }) => {
334
+ }, Te = ({ config: n = {}, children: t }) => {
338
335
  const r = {
339
336
  gap: 14,
340
337
  minWidth: 200,
@@ -367,65 +364,65 @@ const At = ({
367
364
  ...n.logo
368
365
  },
369
366
  right: r
370
- }, i = ge(), a = J(null), b = Je(), {
371
- componentSize: l,
372
- setComponentSize: c,
367
+ }, a = fe(), i = Y(null), y = et(), {
368
+ componentSize: c,
369
+ setComponentSize: u,
373
370
  gridSize: v,
374
- setGridSize: m,
375
- spacingSize: d,
376
- setSpacingSize: h,
377
- enableProtectWrapper: p,
378
- setEnableProtectWrapper: N,
379
- theme: y,
380
- setTheme: g,
381
- clearAllGridLayouts: k
382
- } = Ne(), T = 1, z = 2, E = 2, w = (u, S) => {
371
+ setGridSize: p,
372
+ spacingSize: N,
373
+ setSpacingSize: l,
374
+ enableProtectWrapper: m,
375
+ setEnableProtectWrapper: k,
376
+ theme: g,
377
+ setTheme: d,
378
+ clearAllGridLayouts: C
379
+ } = Pe(), T = 1, E = 2, R = 2, x = (h, S) => {
383
380
  try {
384
- if (!/^[a-zA-Z0-9-]+$/.test(u) || !/^[#a-zA-Z0-9()\s,.-]+$/.test(S)) return;
385
- document.documentElement.style.setProperty(u, S);
381
+ if (!/^[a-zA-Z0-9-]+$/.test(h) || !/^[#a-zA-Z0-9()\s,.-]+$/.test(S)) return;
382
+ document.documentElement.style.setProperty(h, S);
386
383
  } catch (I) {
387
384
  console.error("CSS variable setting failed:", I);
388
385
  }
389
- }, F = (u) => {
390
- if (!$[u]) return;
391
- g(u);
392
- const S = { ...$[u] };
393
- w("--header-bg", S.headerBg), w("--header-text", S.headerText), w("--sidebar-bg", S.sidebarBg), w("--sidebar-text", S.sidebarText), w("--button-primary", S.buttonPrimary), w("--button-primary-hover", S.buttonPrimaryHover), w("--button-primary-active", S.buttonPrimaryActive), w("--button-default", S.buttonDefault), w("--button-default-hover", S.buttonDefaultHover), w("--button-default-border", S.buttonDefaultBorder), w(
386
+ }, F = (h) => {
387
+ if (!$[h]) return;
388
+ d(h);
389
+ const S = { ...$[h] };
390
+ x("--header-bg", S.headerBg), x("--header-text", S.headerText), x("--sidebar-bg", S.sidebarBg), x("--sidebar-text", S.sidebarText), x("--button-primary", S.buttonPrimary), x("--button-primary-hover", S.buttonPrimaryHover), x("--button-primary-active", S.buttonPrimaryActive), x("--button-default", S.buttonDefault), x("--button-default-hover", S.buttonDefaultHover), x("--button-default-border", S.buttonDefaultBorder), x(
394
391
  "--button-permission-border",
395
392
  S.buttonPermissionBorder
396
- ), a.current && a.current.setAttribute("data-theme", u), document.documentElement.setAttribute("data-theme", u);
393
+ ), i.current && i.current.setAttribute("data-theme", h), document.documentElement.setAttribute("data-theme", h);
397
394
  };
398
- D(() => {
399
- if (y && $[y]) {
400
- const u = { ...$[y] };
401
- w("--header-bg", u.headerBg), w("--header-text", u.headerText), w("--sidebar-bg", u.sidebarBg), w("--sidebar-text", u.sidebarText), w("--button-primary", u.buttonPrimary), w("--button-primary-hover", u.buttonPrimaryHover), w(
395
+ z(() => {
396
+ if (g && $[g]) {
397
+ const h = { ...$[g] };
398
+ x("--header-bg", h.headerBg), x("--header-text", h.headerText), x("--sidebar-bg", h.sidebarBg), x("--sidebar-text", h.sidebarText), x("--button-primary", h.buttonPrimary), x("--button-primary-hover", h.buttonPrimaryHover), x(
402
399
  "--button-primary-active",
403
- u.buttonPrimaryActive
404
- ), w("--button-default", u.buttonDefault), w("--button-default-hover", u.buttonDefaultHover), w(
400
+ h.buttonPrimaryActive
401
+ ), x("--button-default", h.buttonDefault), x("--button-default-hover", h.buttonDefaultHover), x(
405
402
  "--button-default-border",
406
- u.buttonDefaultBorder
407
- ), w(
403
+ h.buttonDefaultBorder
404
+ ), x(
408
405
  "--button-permission-border",
409
- u.buttonPermissionBorder
410
- ), a.current && a.current.setAttribute("data-theme", y), document.documentElement.setAttribute("data-theme", y);
406
+ h.buttonPermissionBorder
407
+ ), i.current && i.current.setAttribute("data-theme", g), document.documentElement.setAttribute("data-theme", g);
411
408
  } else
412
409
  F("modern");
413
- }, [y]);
414
- const H = () => {
415
- b(), i("/login");
410
+ }, [g]);
411
+ const j = () => {
412
+ y(), a("/login");
416
413
  };
417
- Ce ? Ce("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
418
- const j = $[y]?.headerBg || "#f3f4ff", Y = /* @__PURE__ */ C(
414
+ ve ? ve("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
415
+ const V = $[g]?.headerBg || "#f3f4ff", q = /* @__PURE__ */ b(
419
416
  "div",
420
417
  {
421
418
  style: {
422
419
  padding: "16px",
423
- backgroundColor: j,
420
+ backgroundColor: V,
424
421
  borderRadius: "8px",
425
422
  minWidth: "320px"
426
423
  },
427
424
  children: [
428
- /* @__PURE__ */ C("div", { style: { marginBottom: "16px" }, children: [
425
+ /* @__PURE__ */ b("div", { style: { marginBottom: "16px" }, children: [
429
426
  /* @__PURE__ */ e(
430
427
  "div",
431
428
  {
@@ -433,7 +430,7 @@ const At = ({
433
430
  children: "테마 선택"
434
431
  }
435
432
  ),
436
- /* @__PURE__ */ C(
433
+ /* @__PURE__ */ b(
437
434
  "div",
438
435
  {
439
436
  style: {
@@ -446,42 +443,42 @@ const At = ({
446
443
  /* @__PURE__ */ e(
447
444
  B,
448
445
  {
449
- type: y === "modern" ? "primary" : "default",
446
+ type: g === "modern" ? "primary" : "default",
450
447
  size: "small",
451
448
  onClick: () => F("modern"),
452
449
  style: {
453
450
  width: "100%",
454
- backgroundColor: y === "modern" ? $.modern.headerBg : void 0,
455
- color: y === "modern" ? $.modern.headerText : void 0,
456
- borderColor: y === "modern" ? $.modern.headerBg : void 0
451
+ backgroundColor: g === "modern" ? $.modern.headerBg : void 0,
452
+ color: g === "modern" ? $.modern.headerText : void 0,
453
+ borderColor: g === "modern" ? $.modern.headerBg : void 0
457
454
  },
458
455
  children: "모던"
459
456
  },
460
457
  "modern"
461
458
  ),
462
- Object.entries($).filter(([u]) => u !== "modern").map(([u, S]) => /* @__PURE__ */ e(
459
+ Object.entries($).filter(([h]) => h !== "modern").map(([h, S]) => /* @__PURE__ */ e(
463
460
  B,
464
461
  {
465
- type: y === u ? "primary" : "default",
462
+ type: g === h ? "primary" : "default",
466
463
  size: "small",
467
- onClick: () => F(u),
464
+ onClick: () => F(h),
468
465
  style: {
469
466
  width: "100%",
470
- backgroundColor: y === u ? S.headerBg : void 0,
471
- color: y === u ? S.headerText : void 0,
472
- borderColor: y === u ? S.headerBg : void 0
467
+ backgroundColor: g === h ? S.headerBg : void 0,
468
+ color: g === h ? S.headerText : void 0,
469
+ borderColor: g === h ? S.headerBg : void 0
473
470
  },
474
- children: u
471
+ children: h
475
472
  },
476
- u
473
+ h
477
474
  ))
478
475
  ]
479
476
  }
480
477
  )
481
478
  ] }),
482
- /* @__PURE__ */ e(ae, { style: { margin: "16px 0" } }),
483
- /* @__PURE__ */ C("div", { style: { marginBottom: "16px" }, children: [
484
- /* @__PURE__ */ C(
479
+ /* @__PURE__ */ e(le, { style: { margin: "16px 0" } }),
480
+ /* @__PURE__ */ b("div", { style: { marginBottom: "16px" }, children: [
481
+ /* @__PURE__ */ b(
485
482
  ne,
486
483
  {
487
484
  justify: "space-between",
@@ -495,8 +492,8 @@ const At = ({
495
492
  type: "text",
496
493
  size: "small",
497
494
  icon: /* @__PURE__ */ e(ee, {}),
498
- onClick: () => c(T),
499
- disabled: l === T,
495
+ onClick: () => u(T),
496
+ disabled: c === T,
500
497
  style: { padding: "0 4px" }
501
498
  }
502
499
  )
@@ -504,19 +501,19 @@ const At = ({
504
501
  }
505
502
  ),
506
503
  /* @__PURE__ */ e(
507
- le,
504
+ ce,
508
505
  {
509
- marks: de,
510
- value: l,
506
+ marks: ue,
507
+ value: c,
511
508
  min: 0,
512
509
  max: 2,
513
510
  step: 1,
514
- onChange: (u) => c(u)
511
+ onChange: (h) => u(h)
515
512
  }
516
513
  )
517
514
  ] }),
518
- /* @__PURE__ */ C("div", { style: { marginBottom: "16px" }, children: [
519
- /* @__PURE__ */ C(
515
+ /* @__PURE__ */ b("div", { style: { marginBottom: "16px" }, children: [
516
+ /* @__PURE__ */ b(
520
517
  ne,
521
518
  {
522
519
  justify: "space-between",
@@ -530,8 +527,8 @@ const At = ({
530
527
  type: "text",
531
528
  size: "small",
532
529
  icon: /* @__PURE__ */ e(ee, {}),
533
- onClick: () => m(z),
534
- disabled: v === z,
530
+ onClick: () => p(E),
531
+ disabled: v === E,
535
532
  style: { padding: "0 4px" }
536
533
  }
537
534
  )
@@ -539,19 +536,19 @@ const At = ({
539
536
  }
540
537
  ),
541
538
  /* @__PURE__ */ e(
542
- le,
539
+ ce,
543
540
  {
544
- marks: de,
541
+ marks: ue,
545
542
  value: v,
546
543
  min: 0,
547
544
  max: 2,
548
545
  step: 1,
549
- onChange: (u) => m(u)
546
+ onChange: (h) => p(h)
550
547
  }
551
548
  )
552
549
  ] }),
553
- /* @__PURE__ */ C("div", { style: { marginBottom: "16px" }, children: [
554
- /* @__PURE__ */ C(
550
+ /* @__PURE__ */ b("div", { style: { marginBottom: "16px" }, children: [
551
+ /* @__PURE__ */ b(
555
552
  ne,
556
553
  {
557
554
  justify: "space-between",
@@ -565,8 +562,8 @@ const At = ({
565
562
  type: "text",
566
563
  size: "small",
567
564
  icon: /* @__PURE__ */ e(ee, {}),
568
- onClick: () => h(E),
569
- disabled: d === E,
565
+ onClick: () => l(R),
566
+ disabled: N === R,
570
567
  style: { padding: "0 4px" }
571
568
  }
572
569
  )
@@ -574,19 +571,19 @@ const At = ({
574
571
  }
575
572
  ),
576
573
  /* @__PURE__ */ e(
577
- le,
574
+ ce,
578
575
  {
579
- marks: de,
580
- value: d,
576
+ marks: ue,
577
+ value: N,
581
578
  min: 0,
582
579
  max: 2,
583
580
  step: 1,
584
- onChange: (u) => h(u)
581
+ onChange: (h) => l(h)
585
582
  }
586
583
  )
587
584
  ] }),
588
- /* @__PURE__ */ e(ae, { style: { margin: "16px 0" } }),
589
- /* @__PURE__ */ C(
585
+ /* @__PURE__ */ e(le, { style: { margin: "16px 0" } }),
586
+ /* @__PURE__ */ b(
590
587
  "div",
591
588
  {
592
589
  style: {
@@ -598,16 +595,16 @@ const At = ({
598
595
  children: [
599
596
  /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 500 }, children: "화면 보호 활성화" }),
600
597
  /* @__PURE__ */ e(
601
- We,
598
+ $e,
602
599
  {
603
- checked: p,
604
- onChange: N
600
+ checked: m,
601
+ onChange: k
605
602
  }
606
603
  )
607
604
  ]
608
605
  }
609
606
  ),
610
- /* @__PURE__ */ e(ae, { style: { margin: "16px 0" } }),
607
+ /* @__PURE__ */ e(le, { style: { margin: "16px 0" } }),
611
608
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
612
609
  B,
613
610
  {
@@ -616,11 +613,11 @@ const At = ({
616
613
  size: "small",
617
614
  icon: /* @__PURE__ */ e(ee, {}),
618
615
  onClick: () => {
619
- Ht({
616
+ Kt({
620
617
  title: "전체 그리드 레이아웃 초기화",
621
618
  content: "임의 변경한 그리드 레이아웃 변경사항을 초기화하시겠습니까? 기존 열려있는 화면들은 다시 열어야 적용됩니다.",
622
619
  onOk() {
623
- k();
620
+ C();
624
621
  }
625
622
  });
626
623
  },
@@ -632,8 +629,8 @@ const At = ({
632
629
  ]
633
630
  }
634
631
  );
635
- return /* @__PURE__ */ C(
636
- Gt,
632
+ return /* @__PURE__ */ b(
633
+ Ut,
637
634
  {
638
635
  className: o.wrapper.className,
639
636
  style: { ...o.wrapper.style },
@@ -659,7 +656,7 @@ const At = ({
659
656
  children: t
660
657
  }
661
658
  ),
662
- /* @__PURE__ */ C(
659
+ /* @__PURE__ */ b(
663
660
  "div",
664
661
  {
665
662
  className: "header-right",
@@ -668,29 +665,29 @@ const At = ({
668
665
  minWidth: o.right?.minWidth
669
666
  },
670
667
  children: [
671
- o.right?.items?.map((u, S) => /* @__PURE__ */ e("div", { children: u }, S)),
668
+ o.right?.items?.map((h, S) => /* @__PURE__ */ e("div", { children: h }, S)),
672
669
  o.right?.alarm?.visible && /* @__PURE__ */ e(
673
670
  B,
674
671
  {
675
672
  type: "text",
676
- icon: /* @__PURE__ */ e("img", { src: $t, alt: "알림" }),
673
+ icon: /* @__PURE__ */ e("img", { src: Ht, alt: "알림" }),
677
674
  className: "alarm-btn",
678
675
  onClick: o.right?.alarm?.onClick
679
676
  }
680
677
  ),
681
678
  o.right?.theme?.visible && /* @__PURE__ */ e(
682
- Fe,
679
+ _e,
683
680
  {
684
- content: Y,
681
+ content: q,
685
682
  title: "개인 설정",
686
683
  trigger: "click",
687
684
  placement: "bottomRight",
688
- onOpenChange: (u) => o.right?.theme?.onOpenChange?.(u),
685
+ onOpenChange: (h) => o.right?.theme?.onOpenChange?.(h),
689
686
  children: /* @__PURE__ */ e(
690
687
  B,
691
688
  {
692
689
  type: "text",
693
- icon: /* @__PURE__ */ e("img", { src: _t, alt: "개인설정" }),
690
+ icon: /* @__PURE__ */ e("img", { src: Vt, alt: "개인설정" }),
694
691
  className: "theme-btn",
695
692
  onClick: o.right?.theme?.onClick
696
693
  }
@@ -701,15 +698,15 @@ const At = ({
701
698
  B,
702
699
  {
703
700
  type: "text",
704
- icon: /* @__PURE__ */ e("img", { src: Ft, alt: "로그아웃" }),
705
- onClick: o.right?.logout?.onClick || H,
701
+ icon: /* @__PURE__ */ e("img", { src: jt, alt: "로그아웃" }),
702
+ onClick: o.right?.logout?.onClick || j,
706
703
  className: "logout-btn"
707
704
  }
708
705
  ),
709
706
  o.right?.avatar?.visible && /* @__PURE__ */ e(
710
- _e,
707
+ Ge,
711
708
  {
712
- icon: /* @__PURE__ */ e(rt, {}),
709
+ icon: /* @__PURE__ */ e(ot, {}),
713
710
  className: "avatar",
714
711
  style: {
715
712
  width: o.right?.avatar?.width,
@@ -724,7 +721,7 @@ const At = ({
724
721
  ]
725
722
  }
726
723
  );
727
- }, he = /* @__PURE__ */ Object.freeze({
724
+ }, pe = /* @__PURE__ */ Object.freeze({
728
725
  Translate: {
729
726
  toString(n) {
730
727
  if (!n)
@@ -750,7 +747,7 @@ const At = ({
750
747
  Transform: {
751
748
  toString(n) {
752
749
  if (n)
753
- return [he.Translate.toString(n), he.Scale.toString(n)].join(" ");
750
+ return [pe.Translate.toString(n), pe.Scale.toString(n)].join(" ");
754
751
  }
755
752
  },
756
753
  Transition: {
@@ -763,29 +760,29 @@ const At = ({
763
760
  return t + " " + r + "ms " + o;
764
761
  }
765
762
  }
766
- }), jt = fe(
763
+ }), Zt = be(
767
764
  ({ className: n, ...t }) => {
768
- const r = J(null), {
765
+ const r = Y(null), {
769
766
  attributes: o,
770
- listeners: i,
771
- transform: a,
772
- transition: b,
773
- isDragging: l,
774
- setNodeRef: c
775
- } = Nt({ id: t["data-node-key"] }), [v, m] = A();
776
- D(() => {
777
- const h = r.current;
778
- if (h)
779
- if (l) {
780
- const p = Math.round(h.getBoundingClientRect().width);
781
- m(p);
767
+ listeners: a,
768
+ transform: i,
769
+ transition: y,
770
+ isDragging: c,
771
+ setNodeRef: u
772
+ } = Mt({ id: t["data-node-key"] }), [v, p] = A();
773
+ z(() => {
774
+ const C = r.current;
775
+ if (C)
776
+ if (c) {
777
+ const T = Math.round(C.getBoundingClientRect().width);
778
+ p(T);
782
779
  } else
783
- m(void 0);
784
- }, [l]);
785
- const d = {
780
+ p(void 0);
781
+ }, [c]);
782
+ const N = {
786
783
  ...t.style,
787
- transform: a ? he.Transform.toString(a) : void 0,
788
- transition: b ?? "transform 0.16s ease",
784
+ transform: i ? pe.Transform.toString(i) : void 0,
785
+ transition: y ?? "transform 0.16s ease",
789
786
  cursor: "grab",
790
787
  userSelect: "none",
791
788
  willChange: "transform",
@@ -794,30 +791,31 @@ const At = ({
794
791
  minWidth: v ?? void 0,
795
792
  maxWidth: v ?? void 0,
796
793
  flex: v !== void 0 ? "0 0 auto" : void 0
797
- };
798
- return Qe(t.children, {
799
- ref: (h) => {
800
- r.current !== h && (r.current = h), c(h);
794
+ }, l = t.children, m = l.props?.className || "", d = t["data-gubun"] === "C" ? m ? `${m} tab-special` : "tab-special" : m;
795
+ return Xe(l, {
796
+ ref: (C) => {
797
+ r.current !== C && (r.current = C), u(C);
801
798
  },
802
- style: d,
799
+ className: d,
800
+ style: N,
803
801
  ...o,
804
- ...i
802
+ ...a
805
803
  });
806
804
  }
807
- ), Vt = fe(function({
805
+ ), Yt = be(function({
808
806
  config: t,
809
807
  isFirst: r,
810
808
  isLast: o,
811
- canCloseAll: i,
812
- onFirst: a,
813
- onPrev: b,
814
- onNext: l,
815
- onLast: c,
809
+ canCloseAll: a,
810
+ onFirst: i,
811
+ onPrev: y,
812
+ onNext: c,
813
+ onLast: u,
816
814
  onCloseAll: v
817
815
  }) {
818
- return /* @__PURE__ */ C("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
816
+ return /* @__PURE__ */ b("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
819
817
  /* @__PURE__ */ e(
820
- X,
818
+ Q,
821
819
  {
822
820
  title: "첫 번째 탭",
823
821
  className: t.tooltip?.className,
@@ -828,15 +826,15 @@ const At = ({
828
826
  className: t.buttons?.className,
829
827
  style: t.buttons?.style,
830
828
  size: "small",
831
- icon: /* @__PURE__ */ e(st, {}),
832
- onClick: a,
829
+ icon: /* @__PURE__ */ e(lt, {}),
830
+ onClick: i,
833
831
  disabled: r
834
832
  }
835
833
  )
836
834
  }
837
835
  ),
838
836
  /* @__PURE__ */ e(
839
- X,
837
+ Q,
840
838
  {
841
839
  title: "이전 탭",
842
840
  className: t.tooltip?.className,
@@ -847,15 +845,15 @@ const At = ({
847
845
  className: t.buttons?.className,
848
846
  style: t.buttons?.style,
849
847
  size: "small",
850
- icon: /* @__PURE__ */ e(it, {}),
851
- onClick: b,
848
+ icon: /* @__PURE__ */ e(ct, {}),
849
+ onClick: y,
852
850
  disabled: r
853
851
  }
854
852
  )
855
853
  }
856
854
  ),
857
855
  /* @__PURE__ */ e(
858
- X,
856
+ Q,
859
857
  {
860
858
  title: "다음 탭",
861
859
  className: t.tooltip?.className,
@@ -866,15 +864,15 @@ const At = ({
866
864
  className: t.buttons?.className,
867
865
  style: t.buttons?.style,
868
866
  size: "small",
869
- icon: /* @__PURE__ */ e(at, {}),
870
- onClick: l,
867
+ icon: /* @__PURE__ */ e(dt, {}),
868
+ onClick: c,
871
869
  disabled: o
872
870
  }
873
871
  )
874
872
  }
875
873
  ),
876
874
  /* @__PURE__ */ e(
877
- X,
875
+ Q,
878
876
  {
879
877
  title: "마지막 탭",
880
878
  className: t.tooltip?.className,
@@ -885,15 +883,15 @@ const At = ({
885
883
  className: t.buttons?.className,
886
884
  style: t.buttons?.style,
887
885
  size: "small",
888
- icon: /* @__PURE__ */ e(lt, {}),
889
- onClick: c,
886
+ icon: /* @__PURE__ */ e(ut, {}),
887
+ onClick: u,
890
888
  disabled: o
891
889
  }
892
890
  )
893
891
  }
894
892
  ),
895
893
  /* @__PURE__ */ e(
896
- X,
894
+ Q,
897
895
  {
898
896
  title: "모든 탭 닫기",
899
897
  className: t.tooltip?.className,
@@ -904,15 +902,15 @@ const At = ({
904
902
  className: t.buttons?.className,
905
903
  style: t.buttons?.style,
906
904
  size: "small",
907
- icon: /* @__PURE__ */ e(U, {}),
905
+ icon: /* @__PURE__ */ e(X, {}),
908
906
  onClick: v,
909
- disabled: !i
907
+ disabled: !a
910
908
  }
911
909
  )
912
910
  }
913
911
  )
914
912
  ] });
915
- }), Ut = ({
913
+ }), qt = ({
916
914
  config: n = {}
917
915
  }) => {
918
916
  const t = {
@@ -940,57 +938,57 @@ const At = ({
940
938
  ...n?.nav
941
939
  },
942
940
  ...n
943
- }, r = O((s) => s.tabs), o = O((s) => s.activeMenuId), i = O((s) => s.pinnedTabs), a = O((s) => s.focusTab), b = O((s) => s.closeTab), l = O((s) => s.reorderTabs), c = O((s) => s.togglePinTab), v = O((s) => s.refreshTab), m = O((s) => s.closeOtherTabs), d = O((s) => s.closeRightTabs);
941
+ }, r = O((s) => s.tabs), o = O((s) => s.activeMenuId), a = O((s) => s.pinnedTabs), i = O((s) => s.focusTab), y = O((s) => s.closeTab), c = O((s) => s.reorderTabs), u = O((s) => s.togglePinTab), v = O((s) => s.refreshTab), p = O((s) => s.closeOtherTabs), N = O((s) => s.closeRightTabs);
944
942
  O((s) => s.closeAllTabs);
945
- const h = ft(
946
- bt(yt, { activationConstraint: { distance: 6 } })
947
- ), p = (s) => {
948
- a(s);
949
- }, N = (s, x) => {
950
- x === "remove" && typeof s == "string" && b(s);
951
- }, y = () => {
952
- r.length > 0 && a(r[0].key);
943
+ const l = vt(
944
+ wt(xt, { activationConstraint: { distance: 6 } })
945
+ ), m = (s) => {
946
+ i(s);
947
+ }, k = (s, w) => {
948
+ w === "remove" && typeof s == "string" && y(s);
953
949
  }, g = () => {
950
+ r.length > 0 && i(r[0].key);
951
+ }, d = () => {
954
952
  if (!o || r.length <= 1) return;
955
- const s = r.findIndex((x) => x.key === o);
956
- s > 0 && a(r[s - 1].key);
957
- }, k = () => {
953
+ const s = r.findIndex((w) => w.key === o);
954
+ s > 0 && i(r[s - 1].key);
955
+ }, C = () => {
958
956
  if (!o || r.length <= 1) return;
959
- const s = r.findIndex((x) => x.key === o);
960
- s < r.length - 1 && a(r[s + 1].key);
957
+ const s = r.findIndex((w) => w.key === o);
958
+ s < r.length - 1 && i(r[s + 1].key);
961
959
  }, T = () => {
962
- r.length > 0 && a(r[r.length - 1].key);
963
- }, z = () => {
960
+ r.length > 0 && i(r[r.length - 1].key);
961
+ }, E = () => {
964
962
  r.forEach((s) => {
965
- i.has(s.key) || b(s.key);
963
+ a.has(s.key) || y(s.key);
966
964
  });
967
- }, E = R((s) => (x) => {
968
- x.preventDefault(), x.stopPropagation();
969
- }, []), w = R(
965
+ }, R = D((s) => (w) => {
966
+ w.preventDefault(), w.stopPropagation();
967
+ }, []), x = D(
970
968
  (s) => {
971
- const x = i.has(s), M = r.findIndex((q) => q.key === s), L = M >= 0 && M < r.length - 1, G = r.length > 1;
969
+ const w = a.has(s), M = r.findIndex((J) => J.key === s), L = M >= 0 && M < r.length - 1, G = r.length > 1;
972
970
  return [
973
971
  {
974
972
  key: "close",
975
973
  label: "닫기",
976
- icon: /* @__PURE__ */ e(U, {}),
974
+ icon: /* @__PURE__ */ e(X, {}),
977
975
  onClick: () => {
978
- x || b(s);
976
+ w || y(s);
979
977
  },
980
- disabled: x
978
+ disabled: w
981
979
  },
982
980
  {
983
981
  key: "pin",
984
- label: x ? "고정 해제" : "고정",
985
- icon: /* @__PURE__ */ e(ot, {}),
982
+ label: w ? "고정 해제" : "고정",
983
+ icon: /* @__PURE__ */ e(st, {}),
986
984
  onClick: () => {
987
- c(s);
985
+ u(s);
988
986
  }
989
987
  },
990
988
  {
991
989
  key: "refresh",
992
990
  label: "새로고침",
993
- icon: /* @__PURE__ */ e(ye, {}),
991
+ icon: /* @__PURE__ */ e(Ce, {}),
994
992
  onClick: () => {
995
993
  v(s);
996
994
  }
@@ -1001,27 +999,27 @@ const At = ({
1001
999
  {
1002
1000
  key: "closeOthers",
1003
1001
  label: "다른 탭 닫기",
1004
- icon: /* @__PURE__ */ e(U, {}),
1002
+ icon: /* @__PURE__ */ e(X, {}),
1005
1003
  onClick: () => {
1006
- m(s);
1004
+ p(s);
1007
1005
  },
1008
1006
  disabled: !G
1009
1007
  },
1010
1008
  {
1011
1009
  key: "closeRight",
1012
1010
  label: "우측 탭 닫기",
1013
- icon: /* @__PURE__ */ e(U, {}),
1011
+ icon: /* @__PURE__ */ e(X, {}),
1014
1012
  onClick: () => {
1015
- d(s);
1013
+ N(s);
1016
1014
  },
1017
1015
  disabled: !L
1018
1016
  },
1019
1017
  {
1020
1018
  key: "closeAll",
1021
1019
  label: "전체 닫기",
1022
- icon: /* @__PURE__ */ e(U, {}),
1020
+ icon: /* @__PURE__ */ e(at, {}),
1023
1021
  onClick: () => {
1024
- z();
1022
+ E();
1025
1023
  },
1026
1024
  disabled: r.length === 0
1027
1025
  }
@@ -1029,69 +1027,82 @@ const At = ({
1029
1027
  },
1030
1028
  [
1031
1029
  r,
1032
- i,
1033
- b,
1034
- c,
1030
+ a,
1031
+ y,
1032
+ u,
1035
1033
  v,
1036
- m,
1037
- d
1034
+ p,
1035
+ N
1038
1036
  ]
1039
- ), F = o ? r.findIndex((s) => s.key === o) : -1, H = F === 0, j = F === r.length - 1, Y = _(
1040
- () => r.map((s) => ({
1041
- key: s.key,
1042
- label: s.label,
1043
- closable: !i.has(s.key),
1044
- // 고정된 탭은 닫을 없음
1045
- children: null
1046
- // 컨텐츠는 Main 쪽에서 렌더 → 여기선 헤더만 필요
1047
- })),
1048
- [r, i]
1049
- ), [u, S] = A(null), I = R(({ active: s }) => {
1037
+ ), F = o ? r.findIndex((s) => s.key === o) : -1, j = F === 0, V = F === r.length - 1, q = _(
1038
+ () => r.map((s) => {
1039
+ const w = a.has(s.key);
1040
+ return {
1041
+ key: s.key,
1042
+ label: /* @__PURE__ */ b("span", { style: { display: "flex", alignItems: "center", gap: 4 }, children: [
1043
+ w && /* @__PURE__ */ e(
1044
+ it,
1045
+ {
1046
+ twoToneColor: Ct.default.yellow05,
1047
+ style: { fontSize: "12px" }
1048
+ }
1049
+ ),
1050
+ s.label
1051
+ ] }),
1052
+ closable: !w,
1053
+ // 고정된 탭은 닫을 수 없음
1054
+ children: null
1055
+ // 컨텐츠는 Main 쪽에서 렌더 → 여기선 헤더만 필요
1056
+ };
1057
+ }),
1058
+ [r, a]
1059
+ ), [h, S] = A(null), I = D(({ active: s }) => {
1050
1060
  S(null);
1051
- }, []), P = R(
1052
- ({ active: s, over: x }) => {
1053
- if (!x || s.id === x.id) return;
1054
- const M = r.findIndex((Q) => Q.key === s.id), L = r.findIndex((Q) => Q.key === x.id);
1061
+ }, []), P = D(
1062
+ ({ active: s, over: w }) => {
1063
+ if (!w || s.id === w.id) return;
1064
+ const M = r.findIndex((H) => H.key === s.id), L = r.findIndex((H) => H.key === w.id);
1055
1065
  if (M < 0 || L < 0 || M === L) return;
1056
- const G = r.map((Q) => Q.key), q = xt(G, M, L);
1057
- l?.(q);
1066
+ const G = r.map((H) => H.key), J = Pt(G, M, L);
1067
+ c?.(J);
1058
1068
  },
1059
- [r, l]
1060
- ), f = R(
1061
- (s, x) => /* @__PURE__ */ e(
1062
- Ct,
1069
+ [r, c]
1070
+ ), f = D(
1071
+ (s, w) => /* @__PURE__ */ e(
1072
+ kt,
1063
1073
  {
1064
- sensors: h,
1074
+ sensors: l,
1065
1075
  onDragStart: I,
1066
1076
  onDragEnd: P,
1067
- collisionDetection: vt,
1068
- modifiers: [wt],
1077
+ collisionDetection: It,
1078
+ modifiers: [Nt],
1069
1079
  children: /* @__PURE__ */ e(
1070
- kt,
1080
+ St,
1071
1081
  {
1072
1082
  items: r.map((M) => M.key),
1073
- strategy: It,
1074
- children: /* @__PURE__ */ e(x, { ...s, children: (M) => {
1075
- const L = M.key, G = u === L;
1083
+ strategy: Tt,
1084
+ children: /* @__PURE__ */ e(w, { ...s, children: (M) => {
1085
+ const L = M.key, G = h === L, H = r.find((ie) => ie.key === L)?.gubun;
1076
1086
  return /* @__PURE__ */ e(
1077
- Ge,
1087
+ He,
1078
1088
  {
1079
- menu: { items: w(L) },
1089
+ menu: { items: x(L) },
1080
1090
  trigger: ["contextMenu"],
1081
1091
  open: G,
1082
- onOpenChange: (q) => {
1083
- S(q ? L : null);
1092
+ onOpenChange: (ie) => {
1093
+ S(ie ? L : null);
1084
1094
  },
1085
1095
  children: /* @__PURE__ */ e(
1086
1096
  "span",
1087
1097
  {
1088
- onContextMenu: E(L),
1098
+ onContextMenu: R(L),
1089
1099
  style: { display: "inline-block", width: "100%" },
1090
- children: /* @__PURE__ */ Ie(
1091
- jt,
1100
+ children: /* @__PURE__ */ Ne(
1101
+ Zt,
1092
1102
  {
1093
1103
  ...M.props,
1094
- key: M.key
1104
+ key: M.key,
1105
+ "data-gubun": H
1095
1106
  },
1096
1107
  M
1097
1108
  )
@@ -1105,13 +1116,13 @@ const At = ({
1105
1116
  }
1106
1117
  ),
1107
1118
  [
1108
- h,
1119
+ l,
1109
1120
  I,
1110
1121
  P,
1111
1122
  r,
1112
- u,
1113
- w,
1114
- E
1123
+ h,
1124
+ x,
1125
+ R
1115
1126
  ]
1116
1127
  );
1117
1128
  return /* @__PURE__ */ e(
@@ -1123,28 +1134,28 @@ const At = ({
1123
1134
  display: r.length === 0 ? "none" : "block"
1124
1135
  },
1125
1136
  children: /* @__PURE__ */ e(
1126
- He,
1137
+ je,
1127
1138
  {
1128
1139
  type: "editable-card",
1129
1140
  activeKey: o || void 0,
1130
- onChange: p,
1131
- onEdit: N,
1141
+ onChange: m,
1142
+ onEdit: k,
1132
1143
  className: t.tabs.className,
1133
1144
  style: t.tabs.style,
1134
1145
  hideAdd: !0,
1135
- items: Y,
1146
+ items: q,
1136
1147
  tabBarExtraContent: /* @__PURE__ */ e(
1137
- Vt,
1148
+ Yt,
1138
1149
  {
1139
1150
  config: t?.nav,
1140
- isFirst: !!H,
1141
- isLast: !!j,
1151
+ isFirst: !!j,
1152
+ isLast: !!V,
1142
1153
  canCloseAll: r.length > 0,
1143
- onFirst: y,
1144
- onPrev: g,
1145
- onNext: k,
1154
+ onFirst: g,
1155
+ onPrev: d,
1156
+ onNext: C,
1146
1157
  onLast: T,
1147
- onCloseAll: z
1158
+ onCloseAll: E
1148
1159
  }
1149
1160
  ),
1150
1161
  renderTabBar: f
@@ -1152,7 +1163,7 @@ const At = ({
1152
1163
  )
1153
1164
  }
1154
1165
  );
1155
- }, { Sider: Kt } = Z, Zt = ({
1166
+ }, { Sider: Qt } = Z, Xt = ({
1156
1167
  config: n = {}
1157
1168
  }) => {
1158
1169
  const t = {
@@ -1194,15 +1205,15 @@ const At = ({
1194
1205
  ...n?.style
1195
1206
  },
1196
1207
  ...n
1197
- }, [r, o] = A(""), [i, a] = A(
1208
+ }, [r, o] = A(""), [a, i] = A(
1198
1209
  "category"
1199
- ), [b, l] = A([]), { activeMenuId: c, sidebarCollapsed: v, openTabFromMenu: m, toggleSidebar: d } = O(), { menuList: h, isLoading: p, error: N, findMenuById: y, flatMenuList: g } = ie(), { nodes: k, treeNodes: T, loadFavoritesIfNeeded: z } = et(), E = _(() => {
1210
+ ), [y, c] = A([]), { activeMenuId: u, sidebarCollapsed: v, openTabFromMenu: p, toggleSidebar: N } = O(), { menuList: l, isLoading: m, error: k, findMenuById: g, flatMenuList: d } = ae(), { nodes: C, treeNodes: T, loadFavoritesIfNeeded: E } = tt(), R = _(() => {
1200
1211
  const I = [], P = (f, s = 0) => {
1201
1212
  if (f.menuGbCd === t.menuGubunCode.program && f.scrnPath) {
1202
- const x = " ".repeat(s), M = f.menuNo || "";
1213
+ const w = " ".repeat(s), M = f.menuNo || "";
1203
1214
  I.push({
1204
1215
  value: f.menuId,
1205
- label: /* @__PURE__ */ C(
1216
+ label: /* @__PURE__ */ b(
1206
1217
  "div",
1207
1218
  {
1208
1219
  style: {
@@ -1211,8 +1222,8 @@ const At = ({
1211
1222
  alignItems: "center"
1212
1223
  },
1213
1224
  children: [
1214
- /* @__PURE__ */ C("span", { children: [
1215
- x,
1225
+ /* @__PURE__ */ b("span", { children: [
1226
+ w,
1216
1227
  f.menuNm
1217
1228
  ] }),
1218
1229
  /* @__PURE__ */ e(
@@ -1235,13 +1246,13 @@ const At = ({
1235
1246
  menuItem: f
1236
1247
  });
1237
1248
  }
1238
- f.children && f.children.length > 0 && f.children.forEach((x) => P(x, s + 1));
1249
+ f.children && f.children.length > 0 && f.children.forEach((w) => P(w, s + 1));
1239
1250
  };
1240
- return h.forEach((f) => P(f)), I;
1241
- }, [h]), w = _(() => r.trim() ? E.filter((I) => {
1251
+ return l.forEach((f) => P(f)), I;
1252
+ }, [l]), x = _(() => r.trim() ? R.filter((I) => {
1242
1253
  const P = I.menuItem.menuNm.toLowerCase(), f = String(I.menuItem.menuNo || "미지정").toLowerCase(), s = r.toLowerCase();
1243
1254
  return P.includes(s) || f.includes(s);
1244
- }) : [], [E, r]), F = (I) => {
1255
+ }) : [], [R, r]), F = (I) => {
1245
1256
  if (!I || typeof I != "string") {
1246
1257
  console.warn("Invalid menu selection value:", I);
1247
1258
  return;
@@ -1250,7 +1261,7 @@ const At = ({
1250
1261
  console.warn("Invalid menu ID format:", I);
1251
1262
  return;
1252
1263
  }
1253
- const P = E.find(
1264
+ const P = R.find(
1254
1265
  (f) => f.value === I
1255
1266
  );
1256
1267
  if (P) {
@@ -1268,11 +1279,11 @@ const At = ({
1268
1279
  f.scrnPath,
1269
1280
  "scrnId:",
1270
1281
  f.scrnId
1271
- ), m(f)) : (f.menuGbCd === t.menuGubunCode.mainMenu || f.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", f.menuNm, "menuGbCd:", f.menuGbCd)), o("");
1282
+ ), p(f)) : (f.menuGbCd === t.menuGubunCode.mainMenu || f.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", f.menuNm, "menuGbCd:", f.menuGbCd)), o("");
1272
1283
  }
1273
- }, H = R(
1284
+ }, j = D(
1274
1285
  (I) => {
1275
- const P = y(I);
1286
+ const P = g(I);
1276
1287
  P?.menuGbCd === t.menuGubunCode.program && (console.log(
1277
1288
  "메뉴명:",
1278
1289
  P.menuNm,
@@ -1280,10 +1291,10 @@ const At = ({
1280
1291
  P.scrnPath,
1281
1292
  "scrnId:",
1282
1293
  P.scrnId
1283
- ), m(P));
1294
+ ), p(P));
1284
1295
  },
1285
- [y, m]
1286
- ), j = R((I) => I.map((P) => ({
1296
+ [g, p, t.menuGubunCode.program]
1297
+ ), V = D((I) => I.map((P) => ({
1287
1298
  key: P.menuId,
1288
1299
  label: /* @__PURE__ */ e(
1289
1300
  "div",
@@ -1293,12 +1304,15 @@ const At = ({
1293
1304
  justifyContent: "space-between",
1294
1305
  alignItems: "center"
1295
1306
  },
1307
+ onDoubleClick: (s) => {
1308
+ s.preventDefault(), s.stopPropagation();
1309
+ },
1296
1310
  children: /* @__PURE__ */ e("span", { children: P.menuNm })
1297
1311
  }
1298
1312
  ),
1299
- icon: Y(P.iconCd, P.menuGbCd),
1300
- children: P.children && P.children.length > 0 ? j(P.children) : void 0
1301
- })), []), Y = (I, P) => {
1313
+ icon: q(P.iconCd, P.menuGbCd),
1314
+ children: P.children && P.children.length > 0 ? V(P.children) : void 0
1315
+ })), []), q = (I, P) => {
1302
1316
  if (I) {
1303
1317
  const f = oe[I];
1304
1318
  if (f)
@@ -1316,26 +1330,26 @@ const At = ({
1316
1330
  return null;
1317
1331
  }
1318
1332
  return null;
1319
- }, u = R(
1333
+ }, h = D(
1320
1334
  (I) => {
1321
- if (h.length === 0) return [];
1335
+ if (l.length === 0) return [];
1322
1336
  const P = (s) => {
1323
1337
  if (s)
1324
- return typeof s == "string" ? k[s] : s;
1338
+ return typeof s == "string" ? C[s] : s;
1325
1339
  }, f = (s) => {
1326
1340
  if (s.type === "M") {
1327
- const x = s, M = y(x.menuId) || void 0, L = !!M, G = L ? `${M?.menuNm ?? x.menuNm ?? x.menuId}` : `${x.menuNm ?? x.menuId} (삭제됨)`;
1341
+ const w = s, M = g(w.menuId) || void 0, L = !!M, G = L ? `${M?.menuNm ?? w.menuNm ?? w.menuId}` : `${w.menuNm ?? w.menuId} (삭제됨)`;
1328
1342
  return {
1329
- key: x.menuId,
1343
+ key: w.menuId,
1330
1344
  label: G,
1331
- icon: L ? void 0 : /* @__PURE__ */ e(mt, { style: { color: "#faad14" } })
1345
+ icon: L ? void 0 : /* @__PURE__ */ e(gt, { style: { color: "#faad14" } })
1332
1346
  };
1333
1347
  } else {
1334
- const x = s, M = (x.children ?? []).map(P).filter(Boolean).map(f);
1348
+ const w = s, M = (w.children ?? []).map(P).filter(Boolean).map(f);
1335
1349
  return {
1336
- key: x.bkmkId,
1337
- label: x.bkmkNm ?? x.bkmkId,
1338
- icon: x.prntBkmkId === "-" ? /* @__PURE__ */ e(ht, {}) : /* @__PURE__ */ e(pt, {}),
1350
+ key: w.bkmkId,
1351
+ label: w.bkmkNm ?? w.bkmkId,
1352
+ icon: w.prntBkmkId === "-" ? /* @__PURE__ */ e(ft, {}) : /* @__PURE__ */ e(bt, {}),
1339
1353
  children: M
1340
1354
  // 빈 배열이면 자동으로 말아줌
1341
1355
  };
@@ -1343,22 +1357,22 @@ const At = ({
1343
1357
  };
1344
1358
  return I.map(f);
1345
1359
  },
1346
- [y, k, h]
1360
+ [g, C, l]
1347
1361
  ), S = _(
1348
- () => u(T),
1349
- [u, T, k]
1362
+ () => h(T),
1363
+ [h, T, C]
1350
1364
  );
1351
- return D(() => {
1352
- ve() && z(ve());
1353
- }, [z]), D(() => {
1354
- i === "category" && o("");
1355
- }, [i]), D(() => {
1356
- if (!c || i !== "category") return;
1365
+ return z(() => {
1366
+ we() && E(we());
1367
+ }, [E]), z(() => {
1368
+ a === "category" && o("");
1369
+ }, [a]), z(() => {
1370
+ if (!u || a !== "category") return;
1357
1371
  const P = ((f) => {
1358
- const s = [], x = new Map(g.map((L) => [L.menuId, L]));
1372
+ const s = [], w = new Map(d.map((L) => [L.menuId, L]));
1359
1373
  let M = f;
1360
1374
  for (; M; ) {
1361
- const L = x.get(M);
1375
+ const L = w.get(M);
1362
1376
  if (!L) break;
1363
1377
  if (L.menuPrntId && L.menuPrntId !== "-" && L.menuPrntId !== "")
1364
1378
  s.push(L.menuPrntId), M = L.menuPrntId;
@@ -1366,13 +1380,13 @@ const At = ({
1366
1380
  break;
1367
1381
  }
1368
1382
  return s;
1369
- })(c);
1370
- P.length > 0 && l((f) => {
1383
+ })(u);
1384
+ P.length > 0 && c((f) => {
1371
1385
  const s = /* @__PURE__ */ new Set([...f, ...P]);
1372
1386
  return Array.from(s);
1373
1387
  });
1374
- }, [c, i, g]), /* @__PURE__ */ C(
1375
- Kt,
1388
+ }, [u, a, d]), /* @__PURE__ */ b(
1389
+ Qt,
1376
1390
  {
1377
1391
  className: t.className.wrapper,
1378
1392
  collapsed: t.collapsed || v,
@@ -1403,7 +1417,7 @@ const At = ({
1403
1417
  B,
1404
1418
  {
1405
1419
  type: "text",
1406
- icon: t.collapsed || v ? /* @__PURE__ */ e(ct, {}) : /* @__PURE__ */ e(dt, {}),
1420
+ icon: t.collapsed || v ? /* @__PURE__ */ e(mt, {}) : /* @__PURE__ */ e(ht, {}),
1407
1421
  style: {
1408
1422
  fontSize: "12px",
1409
1423
  color: "#787878",
@@ -1415,7 +1429,7 @@ const At = ({
1415
1429
  justifyContent: "center",
1416
1430
  borderRadius: "0 10px 10px 0"
1417
1431
  },
1418
- onClick: d
1432
+ onClick: N
1419
1433
  }
1420
1434
  )
1421
1435
  }
@@ -1427,16 +1441,16 @@ const At = ({
1427
1441
  padding: 10
1428
1442
  },
1429
1443
  children: /* @__PURE__ */ e(
1430
- je,
1444
+ Ve,
1431
1445
  {
1432
1446
  value: r,
1433
- options: w,
1447
+ options: x,
1434
1448
  onSelect: F,
1435
1449
  onSearch: o,
1436
1450
  style: { width: "100%" },
1437
1451
  allowClear: !0,
1438
1452
  children: /* @__PURE__ */ e(
1439
- ue,
1453
+ me,
1440
1454
  {
1441
1455
  className: t.className.search,
1442
1456
  placeholder: t.style.search.placeholder,
@@ -1479,18 +1493,18 @@ const At = ({
1479
1493
  marginBottom: "10px"
1480
1494
  },
1481
1495
  children: /* @__PURE__ */ e(
1482
- Ve,
1496
+ Ue,
1483
1497
  {
1484
1498
  className: t.className.segmented.wrapper,
1485
1499
  options: [
1486
1500
  {
1487
- label: /* @__PURE__ */ C(K, { children: [
1501
+ label: /* @__PURE__ */ b(K, { children: [
1488
1502
  /* @__PURE__ */ e(
1489
1503
  "span",
1490
1504
  {
1491
1505
  className: t.className.segmented.item,
1492
1506
  style: { display: "flex", alignItems: "center" },
1493
- children: /* @__PURE__ */ C(
1507
+ children: /* @__PURE__ */ b(
1494
1508
  "svg",
1495
1509
  {
1496
1510
  xmlns: "http://www.w3.org/2000/svg",
@@ -1539,7 +1553,7 @@ const At = ({
1539
1553
  value: "category"
1540
1554
  },
1541
1555
  {
1542
- label: /* @__PURE__ */ C(K, { children: [
1556
+ label: /* @__PURE__ */ b(K, { children: [
1543
1557
  /* @__PURE__ */ e(
1544
1558
  "span",
1545
1559
  {
@@ -1571,9 +1585,9 @@ const At = ({
1571
1585
  value: "favorite"
1572
1586
  }
1573
1587
  ],
1574
- value: i,
1588
+ value: a,
1575
1589
  onChange: (I) => {
1576
- a(I);
1590
+ i(I);
1577
1591
  },
1578
1592
  style: {
1579
1593
  width: "100%"
@@ -1583,8 +1597,8 @@ const At = ({
1583
1597
  )
1584
1598
  }
1585
1599
  ),
1586
- /* @__PURE__ */ C("div", { className: t.className.sider.content, children: [
1587
- p && /* @__PURE__ */ C(
1600
+ /* @__PURE__ */ b("div", { className: t.className.sider.content, children: [
1601
+ m && /* @__PURE__ */ b(
1588
1602
  "div",
1589
1603
  {
1590
1604
  className: t.className.sider.loading,
@@ -1596,7 +1610,7 @@ const At = ({
1596
1610
  },
1597
1611
  children: [
1598
1612
  /* @__PURE__ */ e(
1599
- Ue,
1613
+ Ke,
1600
1614
  {
1601
1615
  theme: {
1602
1616
  components: {
@@ -1619,16 +1633,16 @@ const At = ({
1619
1633
  ]
1620
1634
  }
1621
1635
  ),
1622
- N && /* @__PURE__ */ C("div", { className: t.className.sider.error, children: [
1636
+ k && /* @__PURE__ */ b("div", { className: t.className.sider.error, children: [
1623
1637
  /* @__PURE__ */ e(
1624
- ut,
1638
+ pt,
1625
1639
  {
1626
1640
  className: t.className.sider.errorIcon
1627
1641
  }
1628
1642
  ),
1629
1643
  /* @__PURE__ */ e("div", { className: t.className.sider.errorText, children: "메뉴 로드 실패" })
1630
1644
  ] }),
1631
- !p && !N && i === "category" && h.length === 0 && /* @__PURE__ */ e(
1645
+ !m && !k && a === "category" && l.length === 0 && /* @__PURE__ */ e(
1632
1646
  "div",
1633
1647
  {
1634
1648
  style: {
@@ -1640,7 +1654,7 @@ const At = ({
1640
1654
  children: "메뉴가 없습니다"
1641
1655
  }
1642
1656
  ),
1643
- !p && !N && i === "favorite" && S.length === 0 && /* @__PURE__ */ e(
1657
+ !m && !k && a === "favorite" && S.length === 0 && /* @__PURE__ */ e(
1644
1658
  "div",
1645
1659
  {
1646
1660
  style: {
@@ -1652,28 +1666,28 @@ const At = ({
1652
1666
  children: "즐겨찾기된 메뉴가 없습니다"
1653
1667
  }
1654
1668
  ),
1655
- !p && !N && i === "category" && h.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1656
- me,
1669
+ !m && !k && a === "category" && l.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1670
+ he,
1657
1671
  {
1658
1672
  theme: "light",
1659
1673
  mode: "inline",
1660
- items: j(h),
1674
+ items: V(l),
1661
1675
  className: t.className.sider.menu,
1662
- selectedKeys: [c || ""],
1663
- openKeys: b,
1664
- onOpenChange: l,
1665
- onClick: (I) => H(I.key)
1676
+ selectedKeys: [u || ""],
1677
+ openKeys: y,
1678
+ onOpenChange: c,
1679
+ onClick: (I) => j(I.key)
1666
1680
  }
1667
1681
  ) }),
1668
- !p && !N && i === "favorite" && S.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1669
- me,
1682
+ !m && !k && a === "favorite" && S.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1683
+ he,
1670
1684
  {
1671
1685
  theme: "light",
1672
1686
  mode: "inline",
1673
1687
  items: S,
1674
1688
  className: t.className.sider.menu,
1675
- selectedKeys: [c || ""],
1676
- onClick: (I) => H(I.key)
1689
+ selectedKeys: [u || ""],
1690
+ onClick: (I) => j(I.key)
1677
1691
  }
1678
1692
  ) })
1679
1693
  ] })
@@ -1681,7 +1695,7 @@ const At = ({
1681
1695
  }
1682
1696
  );
1683
1697
  };
1684
- class Yt extends Xe {
1698
+ class Jt extends Je {
1685
1699
  constructor(t) {
1686
1700
  super(t), this.resetError = () => {
1687
1701
  this.setState({ hasError: !1, error: void 0, errorInfo: void 0 });
@@ -1697,7 +1711,7 @@ class Yt extends Xe {
1697
1711
  });
1698
1712
  }
1699
1713
  render() {
1700
- return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ C(
1714
+ return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ b(
1701
1715
  "div",
1702
1716
  {
1703
1717
  style: {
@@ -1711,7 +1725,7 @@ class Yt extends Xe {
1711
1725
  },
1712
1726
  children: [
1713
1727
  /* @__PURE__ */ e(
1714
- ke,
1728
+ Ie,
1715
1729
  {
1716
1730
  status: "error",
1717
1731
  title: "컴포넌트 로딩 중 오류가 발생했습니다",
@@ -1721,7 +1735,7 @@ class Yt extends Xe {
1721
1735
  B,
1722
1736
  {
1723
1737
  type: "primary",
1724
- icon: /* @__PURE__ */ e(ye, {}),
1738
+ icon: /* @__PURE__ */ e(Ce, {}),
1725
1739
  onClick: this.resetError,
1726
1740
  style: { marginRight: 8 },
1727
1741
  children: "다시 시도"
@@ -1731,7 +1745,7 @@ class Yt extends Xe {
1731
1745
  ]
1732
1746
  }
1733
1747
  ),
1734
- this.state.error && /* @__PURE__ */ C(
1748
+ this.state.error && /* @__PURE__ */ b(
1735
1749
  "details",
1736
1750
  {
1737
1751
  style: {
@@ -1766,13 +1780,13 @@ class Yt extends Xe {
1766
1780
  ) : this.props.children;
1767
1781
  }
1768
1782
  }
1769
- const qt = ({
1783
+ const en = ({
1770
1784
  isActive: n,
1771
1785
  instance: t,
1772
1786
  params: r
1773
1787
  }) => {
1774
- const { activeMenuId: o, closeTab: i } = O(), a = () => {
1775
- o && i(o);
1788
+ const { activeMenuId: o, closeTab: a } = O(), i = () => {
1789
+ o && a(o);
1776
1790
  };
1777
1791
  return t ? /* @__PURE__ */ e(
1778
1792
  "div",
@@ -1788,7 +1802,7 @@ const qt = ({
1788
1802
  transition: "opacity 0.2s ease-in-out",
1789
1803
  pointerEvents: n ? "auto" : "none"
1790
1804
  },
1791
- children: /* @__PURE__ */ e(Yt, { children: /* @__PURE__ */ e(se, { fallback: null, children: t && Ie(t, { params: r }) }) })
1805
+ children: /* @__PURE__ */ e(Jt, { children: /* @__PURE__ */ e(se, { fallback: null, children: t && Ne(t, { params: r }) }) })
1792
1806
  }
1793
1807
  ) : /* @__PURE__ */ e(
1794
1808
  "div",
@@ -1819,20 +1833,20 @@ const qt = ({
1819
1833
  padding: 24
1820
1834
  },
1821
1835
  children: /* @__PURE__ */ e(
1822
- ke,
1836
+ Ie,
1823
1837
  {
1824
- icon: /* @__PURE__ */ e(gt, { twoToneColor: "#69b1ff" }),
1838
+ icon: /* @__PURE__ */ e(yt, { twoToneColor: "#69b1ff" }),
1825
1839
  status: "warning",
1826
1840
  title: "등록된 메뉴 정보가 없거나 유효한 메뉴가 아닙니다.",
1827
- subTitle: /* @__PURE__ */ e(Ze.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1828
- extra: /* @__PURE__ */ e(Ke, { children: /* @__PURE__ */ e(B, { icon: /* @__PURE__ */ e(U, {}), onClick: a, children: "탭 닫기" }) })
1841
+ subTitle: /* @__PURE__ */ e(Ye.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1842
+ extra: /* @__PURE__ */ e(Ze, { children: /* @__PURE__ */ e(B, { icon: /* @__PURE__ */ e(X, {}), onClick: i, children: "탭 닫기" }) })
1829
1843
  }
1830
1844
  )
1831
1845
  }
1832
1846
  )
1833
1847
  }
1834
1848
  );
1835
- }, Qt = fe(qt), Xt = ({
1849
+ }, tn = be(en), nn = ({
1836
1850
  menuGubunCode: n = {
1837
1851
  mainMenu: "MAIN",
1838
1852
  subMenu: "SUB",
@@ -1842,15 +1856,15 @@ const qt = ({
1842
1856
  style: r,
1843
1857
  routeMap: o
1844
1858
  }) => {
1845
- const { menuList: i, findMenuById: a, flatMenuList: b } = ie(), { activeMenuId: l } = O(), c = ge(), [v, m] = A([]), d = R(
1846
- (y, g) => {
1847
- if (y) {
1848
- const k = oe[y];
1849
- if (k)
1850
- return /* @__PURE__ */ e(k, {});
1859
+ const { menuList: a, findMenuById: i, flatMenuList: y } = ae(), { activeMenuId: c } = O(), u = fe(), [v, p] = A([]), N = D(
1860
+ (g, d) => {
1861
+ if (g) {
1862
+ const C = oe[g];
1863
+ if (C)
1864
+ return /* @__PURE__ */ e(C, {});
1851
1865
  }
1852
- if (g)
1853
- switch (g) {
1866
+ if (d)
1867
+ switch (d) {
1854
1868
  case n.mainMenu:
1855
1869
  return /* @__PURE__ */ e(oe.HomeOutlined, {});
1856
1870
  default:
@@ -1859,70 +1873,70 @@ const qt = ({
1859
1873
  return null;
1860
1874
  },
1861
1875
  [n]
1862
- ), h = R(
1863
- (y) => y.map((g) => {
1864
- const k = g.children && g.children.length === 1 && g.children[0].menuGbCd === n.program;
1876
+ ), l = D(
1877
+ (g) => g.map((d) => {
1878
+ const C = d.children && d.children.length === 1 && d.children[0].menuGbCd === n.program;
1865
1879
  return {
1866
- key: g.menuId,
1867
- label: g.menuNm,
1868
- icon: d(g.iconCd, g.menuGbCd),
1880
+ key: d.menuId,
1881
+ label: d.menuNm,
1882
+ icon: N(d.iconCd, d.menuGbCd),
1869
1883
  // children이 1개이고 program이면 드롭다운 없음, 2개 이상이면 드롭다운 표시
1870
- children: g.children && g.children.length > 0 && !k ? h(g.children) : void 0
1884
+ children: d.children && d.children.length > 0 && !C ? l(d.children) : void 0
1871
1885
  };
1872
1886
  }),
1873
- [d, n]
1874
- ), p = _(() => h(i), [i, h]), N = R(
1875
- (y) => {
1876
- const g = a(y.key);
1877
- if (g) {
1878
- if (g.children && g.children.length === 1 && g.children[0].menuGbCd === n.program) {
1879
- const k = g.children[0];
1880
- let T = o?.[k.menuId] || k.scrnPath || "/";
1881
- T === "/" ? T = "/main" : T.startsWith("/main") || (T = T.startsWith("/") ? `/main${T}` : `/main/${T}`), c(T);
1887
+ [N, n]
1888
+ ), m = _(() => l(a), [a, l]), k = D(
1889
+ (g) => {
1890
+ const d = i(g.key);
1891
+ if (d) {
1892
+ if (d.children && d.children.length === 1 && d.children[0].menuGbCd === n.program) {
1893
+ const C = d.children[0];
1894
+ let T = o?.[C.menuId] || C.scrnPath || "/";
1895
+ T === "/" ? T = "/main" : T.startsWith("/main") || (T = T.startsWith("/") ? `/main${T}` : `/main/${T}`), u(T);
1882
1896
  return;
1883
1897
  }
1884
- if (g.menuGbCd === n.program && g.scrnPath) {
1885
- let k = o?.[g.menuId] || g.scrnPath || "/";
1886
- k === "/" ? k = "/main" : k.startsWith("/main") || (k = k.startsWith("/") ? `/main${k}` : `/main/${k}`), c(k);
1898
+ if (d.menuGbCd === n.program && d.scrnPath) {
1899
+ let C = o?.[d.menuId] || d.scrnPath || "/";
1900
+ C === "/" ? C = "/main" : C.startsWith("/main") || (C = C.startsWith("/") ? `/main${C}` : `/main/${C}`), u(C);
1887
1901
  return;
1888
1902
  }
1889
1903
  }
1890
1904
  },
1891
- [a, n, c, o]
1905
+ [i, n, u, o]
1892
1906
  );
1893
- return D(() => {
1894
- if (!l || t !== "vertical") return;
1895
- const g = ((k) => {
1896
- const T = [], z = new Map(b.map((w) => [w.menuId, w]));
1897
- let E = k;
1898
- for (; E; ) {
1899
- const w = z.get(E);
1900
- if (!w) break;
1901
- if (w.menuPrntId && w.menuPrntId !== "-" && w.menuPrntId !== "")
1902
- T.push(w.menuPrntId), E = w.menuPrntId;
1907
+ return z(() => {
1908
+ if (!c || t !== "vertical") return;
1909
+ const d = ((C) => {
1910
+ const T = [], E = new Map(y.map((x) => [x.menuId, x]));
1911
+ let R = C;
1912
+ for (; R; ) {
1913
+ const x = E.get(R);
1914
+ if (!x) break;
1915
+ if (x.menuPrntId && x.menuPrntId !== "-" && x.menuPrntId !== "")
1916
+ T.push(x.menuPrntId), R = x.menuPrntId;
1903
1917
  else
1904
1918
  break;
1905
1919
  }
1906
1920
  return T;
1907
- })(l);
1908
- g.length > 0 && m((k) => {
1909
- const T = /* @__PURE__ */ new Set([...k, ...g]);
1921
+ })(c);
1922
+ d.length > 0 && p((C) => {
1923
+ const T = /* @__PURE__ */ new Set([...C, ...d]);
1910
1924
  return Array.from(T);
1911
1925
  });
1912
- }, [l, t, b]), /* @__PURE__ */ e(
1913
- me,
1926
+ }, [c, t, y]), /* @__PURE__ */ e(
1927
+ he,
1914
1928
  {
1915
1929
  mode: t,
1916
1930
  theme: "light",
1917
- items: p,
1918
- selectedKeys: [l || ""],
1931
+ items: m,
1932
+ selectedKeys: [c || ""],
1919
1933
  openKeys: t === "vertical" ? v : void 0,
1920
- onOpenChange: t === "vertical" ? m : void 0,
1921
- onClick: N,
1934
+ onOpenChange: t === "vertical" ? p : void 0,
1935
+ onClick: k,
1922
1936
  style: r
1923
1937
  }
1924
1938
  );
1925
- }, Jt = () => /* @__PURE__ */ C(K, { children: [
1939
+ }, rn = () => /* @__PURE__ */ b(K, { children: [
1926
1940
  /* @__PURE__ */ e(
1927
1941
  "link",
1928
1942
  {
@@ -1932,53 +1946,53 @@ const qt = ({
1932
1946
  }
1933
1947
  ),
1934
1948
  /* @__PURE__ */ e("div", { className: "LandingContainer-wrap", children: /* @__PURE__ */ e("div", { className: "inner", children: /* @__PURE__ */ e("div", { className: "content" }) }) })
1935
- ] }), en = (n, t) => {
1949
+ ] }), on = (n, t) => {
1936
1950
  console.log("createPopupViewLoader 호출 - popupUrl:", n);
1937
- const o = ((i) => {
1938
- if (i.startsWith("/src/pages/views/popup/")) {
1939
- const l = i + ".tsx";
1940
- return console.log(`팝업 URL 변환: ${i} -> ${l}`), l;
1951
+ const o = ((a) => {
1952
+ if (a.startsWith("/src/pages/views/popup/")) {
1953
+ const c = a + ".tsx";
1954
+ return console.log(`팝업 URL 변환: ${a} -> ${c}`), c;
1941
1955
  }
1942
- const b = `/src/pages/views/popup/${i.startsWith("/") ? i.substring(1) : i}.tsx`;
1943
- return console.log(`팝업 URL 변환: ${i} -> ${b}`), b;
1956
+ const y = `/src/pages/views/popup/${a.startsWith("/") ? a.substring(1) : a}.tsx`;
1957
+ return console.log(`팝업 URL 변환: ${a} -> ${y}`), y;
1944
1958
  })(n);
1945
1959
  return !o || !t?.glob || !t.glob[o] ? (console.warn(`팝업 뷰를 찾을 수 없습니다: ${n} (${o})`), console.warn("사용 가능한 팝업 뷰들:", Object.keys(t?.glob || {})), null) : t.glob[o];
1946
- }, tn = ({ popup: n, modules: t }) => {
1947
- const [r, o] = A(null), [i, a] = A(!1), [b, l] = A(null), c = () => {
1948
- console.log("PopupArea - handleClose:", n.popupId), be.getState().closePopup(n.popupId);
1960
+ }, sn = ({ popup: n, modules: t }) => {
1961
+ const [r, o] = A(null), [a, i] = A(!1), [y, c] = A(null), u = () => {
1962
+ console.log("PopupArea - handleClose:", n.popupId), ye.getState().closePopup(n.popupId);
1949
1963
  };
1950
- return D(() => {
1964
+ return z(() => {
1951
1965
  (async () => {
1952
- console.log("팝업 뷰 로드 시작:", n.popupUrl), a(!0), l(null);
1966
+ console.log("팝업 뷰 로드 시작:", n.popupUrl), i(!0), c(null);
1953
1967
  try {
1954
- const m = en(n.popupUrl, t);
1955
- if (!m) {
1956
- const p = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
1957
- console.error(p), l(p), a(!1);
1968
+ const p = on(n.popupUrl, t);
1969
+ if (!p) {
1970
+ const m = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
1971
+ console.error(m), c(m), i(!1);
1958
1972
  return;
1959
1973
  }
1960
1974
  console.log("팝업 뷰 모듈 로드 중...");
1961
- const d = await m();
1962
- console.log("팝업 뷰 모듈 로드 완료:", d);
1963
- const h = d.default;
1964
- if (console.log("팝업 뷰 컴포넌트:", h), !h)
1975
+ const N = await p();
1976
+ console.log("팝업 뷰 모듈 로드 완료:", N);
1977
+ const l = N.default;
1978
+ if (console.log("팝업 뷰 컴포넌트:", l), !l)
1965
1979
  throw new Error("팝업 뷰 컴포넌트를 찾을 수 없습니다");
1966
- o(() => h), console.log("팝업 뷰 설정 완료");
1967
- } catch (m) {
1968
- console.error("팝업 뷰 로드 실패:", m), l(m instanceof Error ? m.message : "팝업 뷰 로드 실패");
1980
+ o(() => l), console.log("팝업 뷰 설정 완료");
1981
+ } catch (p) {
1982
+ console.error("팝업 뷰 로드 실패:", p), c(p instanceof Error ? p.message : "팝업 뷰 로드 실패");
1969
1983
  } finally {
1970
- a(!1);
1984
+ i(!1);
1971
1985
  }
1972
1986
  })();
1973
- }, [n.popupUrl]), i ? /* @__PURE__ */ C("div", { className: "popup-loading", children: [
1987
+ }, [n.popupUrl]), a ? /* @__PURE__ */ b("div", { className: "popup-loading", children: [
1974
1988
  /* @__PURE__ */ e(re, { size: "large" }),
1975
1989
  /* @__PURE__ */ e("p", { children: "팝업을 로드하는 중..." })
1976
- ] }) : b ? /* @__PURE__ */ C("div", { className: "popup-error", children: [
1977
- /* @__PURE__ */ e(ce, { description: b, image: ce.PRESENTED_IMAGE_SIMPLE }),
1990
+ ] }) : y ? /* @__PURE__ */ b("div", { className: "popup-error", children: [
1991
+ /* @__PURE__ */ e(de, { description: y, image: de.PRESENTED_IMAGE_SIMPLE }),
1978
1992
  /* @__PURE__ */ e(
1979
1993
  B,
1980
1994
  {
1981
- icon: /* @__PURE__ */ e(ye, {}),
1995
+ icon: /* @__PURE__ */ e(Ce, {}),
1982
1996
  onClick: () => window.location.reload(),
1983
1997
  children: "다시 시도"
1984
1998
  }
@@ -1986,7 +2000,7 @@ const qt = ({
1986
2000
  ] }) : r ? /* @__PURE__ */ e(
1987
2001
  se,
1988
2002
  {
1989
- fallback: /* @__PURE__ */ C("div", { className: "popup-loading", children: [
2003
+ fallback: /* @__PURE__ */ b("div", { className: "popup-loading", children: [
1990
2004
  /* @__PURE__ */ e(re, { size: "large" }),
1991
2005
  /* @__PURE__ */ e("p", { children: "컴포넌트를 로드하는 중..." })
1992
2006
  ] }),
@@ -1995,77 +2009,77 @@ const qt = ({
1995
2009
  {
1996
2010
  popup: {
1997
2011
  ...n,
1998
- close: c
2012
+ close: u
1999
2013
  // popup 객체에 close 이벤트 추가
2000
2014
  },
2001
- onClose: c
2015
+ onClose: u
2002
2016
  }
2003
2017
  )
2004
2018
  }
2005
- ) : /* @__PURE__ */ e("div", { className: "popup-empty", children: /* @__PURE__ */ e(ce, { description: "팝업 내용을 불러올 수 없습니다." }) });
2006
- }, nn = ({ modules: n }) => {
2007
- const { popups: t } = be();
2019
+ ) : /* @__PURE__ */ e("div", { className: "popup-empty", children: /* @__PURE__ */ e(de, { description: "팝업 내용을 불러올 수 없습니다." }) });
2020
+ }, an = ({ modules: n }) => {
2021
+ const { popups: t } = ye();
2008
2022
  return t.length === 0 ? null : /* @__PURE__ */ e(K, { children: t.map((r) => {
2009
2023
  if (r.isLocal || r.popupCode.startsWith("CORE_"))
2010
2024
  return null;
2011
- const o = r.config || {}, i = o.width || r.width || 800, a = o.height || r.height || 600, b = o.title || r.popupTitle, l = r.buttonList?.map((c, v) => ({
2012
- key: c.btnId || `btn_${v}`,
2013
- text: c.btnNm,
2014
- type: c.btnId === "CLOSE" ? "default" : "primary",
2015
- disabled: c.enblYn !== "Y",
2025
+ const o = r.config || {}, a = o.width || r.width || 800, i = o.height || r.height || 600, y = o.title || r.popupTitle, c = r.buttonList?.map((u, v) => ({
2026
+ key: u.btnId || `btn_${v}`,
2027
+ text: u.btnNm,
2028
+ type: u.btnId === "CLOSE" ? "default" : "primary",
2029
+ disabled: u.enblYn !== "Y",
2016
2030
  danger: !1
2017
2031
  })) || [];
2018
2032
  return console.log("팝업 렌더링:", {
2019
2033
  popupId: r.popupId,
2020
2034
  popupCode: r.popupCode,
2021
- title: b,
2022
- width: i,
2023
- height: a,
2024
- buttons: l
2025
- }), /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(tn, { popup: r, modules: n }) }, r.popupId) }, `sbp-${r.popupId}`);
2035
+ title: y,
2036
+ width: a,
2037
+ height: i,
2038
+ buttons: c
2039
+ }), /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(sn, { popup: r, modules: n }) }, r.popupId) }, `sbp-${r.popupId}`);
2026
2040
  }) });
2027
- }, Te = () => {
2028
- const { popups: n, closePopup: t } = be();
2041
+ }, Me = () => {
2042
+ const { popups: n, closePopup: t } = ye();
2029
2043
  return /* @__PURE__ */ e(K, { children: n.map((r) => {
2030
2044
  if (!(r.isLocal || r.popupCode.startsWith("CORE_"))) return null;
2031
- const o = Dt[r.popupCode];
2045
+ const o = $t[r.popupCode];
2032
2046
  if (!o) return null;
2033
- const i = o.component;
2034
- return /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(se, { fallback: null, children: /* @__PURE__ */ e(i, { popup: r, onClose: () => t(r.popupId) }) }, r.popupId) }, `sbp-${r.popupId}`);
2047
+ const a = o.component;
2048
+ 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}`);
2035
2049
  }) });
2036
- }, rn = (n) => ({
2050
+ }, ln = (n) => ({
2037
2051
  position: "absolute",
2038
2052
  inset: 0,
2039
2053
  visibility: n ? "visible" : "hidden",
2040
2054
  opacity: n ? 1 : 0,
2041
2055
  transition: "opacity 0.2s ease-in-out",
2042
2056
  pointerEvents: n ? "auto" : "none"
2043
- }), on = ({ once: n = !0 }) => {
2044
- const { lock: t } = Oe(), r = J(!1);
2045
- return D(() => {
2057
+ }), cn = ({ once: n = !0 }) => {
2058
+ const { lock: t } = Ee(), r = Y(!1);
2059
+ return z(() => {
2046
2060
  n && r.current || (r.current = !0, t());
2047
2061
  }, [n, t]), null;
2048
- }, sn = ({ isActive: n, flagged: t, tabKey: r, onUnlock: o, children: i }) => {
2049
- const a = J(null), [b, l] = A(!1), c = R((m) => {
2050
- a.current = m, l(!!m);
2051
- }, []), v = rn(n);
2052
- return /* @__PURE__ */ e("div", { ref: c, style: v, children: b ? /* @__PURE__ */ C(
2053
- Be,
2062
+ }, dn = ({ isActive: n, flagged: t, tabKey: r, onUnlock: o, children: a }) => {
2063
+ const i = Y(null), [y, c] = A(!1), u = D((p) => {
2064
+ i.current = p, c(!!p);
2065
+ }, []), v = ln(n);
2066
+ return /* @__PURE__ */ e("div", { ref: u, style: v, children: y ? /* @__PURE__ */ b(
2067
+ Oe,
2054
2068
  {
2055
2069
  idleMs: Number.POSITIVE_INFINITY,
2056
2070
  persistLocked: !1,
2057
2071
  overlayScope: "scoped",
2058
2072
  overlayPosition: "absolute",
2059
- eventTarget: a.current,
2073
+ eventTarget: i.current,
2060
2074
  overlayId: `tab-overlay-${r}`,
2061
2075
  onUnlock: async () => (o(), !0),
2062
2076
  children: [
2063
- n && t ? /* @__PURE__ */ e(on, { once: !0 }) : null,
2064
- i
2077
+ n && t ? /* @__PURE__ */ e(cn, { once: !0 }) : null,
2078
+ a
2065
2079
  ]
2066
2080
  }
2067
- ) : i });
2068
- }, xn = ({
2081
+ ) : a });
2082
+ }, Pn = ({
2069
2083
  config: n = {},
2070
2084
  modules: t = {
2071
2085
  view: {
@@ -2076,43 +2090,45 @@ const qt = ({
2076
2090
  }
2077
2091
  }
2078
2092
  }) => {
2079
- const r = J(
2093
+ const r = Y(
2080
2094
  /* @__PURE__ */ new Map()
2081
2095
  ), {
2082
2096
  tabs: o,
2083
- tabParams: i,
2084
- activeMenuId: a,
2085
- tabProtectFlag: b,
2086
- refreshTabKey: l,
2087
- clearProtectFlagForKey: c
2088
- } = O(), { enableProtectWrapper: v } = Ne(), m = R(
2089
- (d) => {
2090
- const h = r.current.get(d.key);
2091
- if (h) return h;
2092
- const p = d.gubun === "M" ? `${t.view.path}${d.menuItem?.scrnPath}.tsx` : `${t.view.path}${d.componentItem?.scrnPath}.tsx`;
2093
- let N = t.view?.glob?.[p];
2094
- if (!N && typeof import.meta < "u" && typeof import.meta.glob == "function" && (N = (/* @__PURE__ */ Object.assign({}))[p]), N) {
2095
- const y = W(
2096
- N
2097
+ tabParams: a,
2098
+ activeMenuId: i,
2099
+ tabProtectFlag: y,
2100
+ refreshTabKey: c,
2101
+ clearProtectFlagForKey: u
2102
+ } = O(), { enableProtectWrapper: v } = Pe(), p = D(
2103
+ (l) => {
2104
+ const m = r.current.get(l.key);
2105
+ if (m) return m;
2106
+ const k = l.gubun === "M" ? `${t.view.path}${l.menuItem?.scrnPath}.tsx` : `${t.view.path}${l.componentItem?.scrnPath}.tsx`;
2107
+ let g = t.view?.glob?.[k];
2108
+ if (!g && typeof import.meta < "u" && typeof import.meta.glob == "function" && (g = (/* @__PURE__ */ Object.assign({}))[k]), g) {
2109
+ const d = W(
2110
+ g
2097
2111
  );
2098
- return r.current.set(d.key, y), y;
2112
+ return r.current.set(l.key, d), d;
2099
2113
  }
2100
2114
  return null;
2101
2115
  },
2102
2116
  [t.view?.glob]
2103
- );
2104
- return D(() => {
2105
- Object.keys(l).forEach((d) => {
2106
- r.current.delete(d);
2107
- });
2108
- }, [l]), /* @__PURE__ */ C(Z, { className: "main-layout", children: [
2109
- /* @__PURE__ */ e(Se, { config: n?.header }),
2110
- /* @__PURE__ */ C(Z, { children: [
2111
- /* @__PURE__ */ e(Zt, { config: n?.sidebar }),
2112
- /* @__PURE__ */ C("div", { className: "content-container", children: [
2113
- /* @__PURE__ */ e(Ut, { config: n?.menuTab }),
2114
- /* @__PURE__ */ C(Pe, { config: n?.content, children: [
2115
- /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ C(
2117
+ ), N = Y({});
2118
+ return z(() => {
2119
+ const l = N.current, m = c;
2120
+ Object.keys(m).forEach((k) => {
2121
+ const g = l[k], d = m[k];
2122
+ g !== d && r.current.delete(k);
2123
+ }), N.current = { ...m };
2124
+ }, [c]), /* @__PURE__ */ b(Z, { className: "main-layout", children: [
2125
+ /* @__PURE__ */ e(Te, { config: n?.header }),
2126
+ /* @__PURE__ */ b(Z, { children: [
2127
+ /* @__PURE__ */ e(Xt, { config: n?.sidebar }),
2128
+ /* @__PURE__ */ b("div", { className: "content-container", children: [
2129
+ /* @__PURE__ */ e(qt, { config: n?.menuTab }),
2130
+ /* @__PURE__ */ b(Se, { config: n?.content, children: [
2131
+ /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ b(
2116
2132
  "div",
2117
2133
  {
2118
2134
  style: {
@@ -2121,40 +2137,40 @@ const qt = ({
2121
2137
  height: "100%"
2122
2138
  },
2123
2139
  children: [
2124
- o.map((d) => {
2125
- const h = m(d), p = a === d.key, N = !!b?.[d.key], y = i[d.key] || {}, g = l[d.key], k = g ? `${d.key}-${g}` : d.key, T = /* @__PURE__ */ e(
2126
- Qt,
2140
+ o.map((l) => {
2141
+ const m = p(l), k = i === l.key, g = !!y?.[l.key], d = a[l.key] || {}, C = c[l.key], T = C !== void 0 ? `${l.key}-${C}` : l.key, E = /* @__PURE__ */ e(
2142
+ tn,
2127
2143
  {
2128
- isActive: p,
2129
- instance: h || void 0,
2130
- params: y
2144
+ isActive: k,
2145
+ instance: m || void 0,
2146
+ params: d
2131
2147
  },
2132
- k
2148
+ T
2133
2149
  );
2134
- return /* @__PURE__ */ e(pe, { children: v ? /* @__PURE__ */ e(
2135
- sn,
2150
+ return /* @__PURE__ */ e(ge, { children: v ? /* @__PURE__ */ e(
2151
+ dn,
2136
2152
  {
2137
- isActive: p,
2138
- flagged: N,
2139
- tabKey: d.key,
2140
- onUnlock: () => c(d.key),
2141
- children: T
2153
+ isActive: k,
2154
+ flagged: g,
2155
+ tabKey: l.key,
2156
+ onUnlock: () => u(l.key),
2157
+ children: E
2142
2158
  },
2143
- d.key
2144
- ) : T }, `sbp-${d.key}`);
2159
+ l.key
2160
+ ) : E }, `sbp-${l.key}`);
2145
2161
  }),
2146
- (!a || o.length === 0) && /* @__PURE__ */ e(Jt, {})
2162
+ (!i || o.length === 0) && /* @__PURE__ */ e(rn, {})
2147
2163
  ]
2148
2164
  }
2149
2165
  ) }),
2150
- /* @__PURE__ */ e(Te, {}),
2151
- /* @__PURE__ */ e(nn, { modules: t?.popup })
2166
+ /* @__PURE__ */ e(Me, {}),
2167
+ /* @__PURE__ */ e(an, { modules: t?.popup })
2152
2168
  ] })
2153
2169
  ] })
2154
2170
  ] }),
2155
- (n?.quickService?.visible ?? !0) && /* @__PURE__ */ e(Ae, {})
2171
+ (n?.quickService?.visible ?? !0) && /* @__PURE__ */ e(We, {})
2156
2172
  ] });
2157
- }, an = ({
2173
+ }, un = ({
2158
2174
  children: n,
2159
2175
  menuGubunCode: t = {
2160
2176
  mainMenu: "CMPRGRM",
@@ -2164,55 +2180,55 @@ const qt = ({
2164
2180
  routeMap: r,
2165
2181
  routes: o
2166
2182
  }) => {
2167
- const i = Re(), a = ge(), { flatMenuList: b, findMenuById: l } = ie(), c = _(() => {
2168
- const m = i.pathname, d = m.replace(/^\/main/, "") || "/";
2183
+ const a = De(), i = fe(), { flatMenuList: y, findMenuById: c } = ae(), u = _(() => {
2184
+ const p = a.pathname, N = p.replace(/^\/main/, "") || "/";
2169
2185
  if (r) {
2170
- const h = Object.keys(r).find(
2171
- (N) => r[N] === m
2186
+ const l = Object.keys(r).find(
2187
+ (k) => r[k] === p
2172
2188
  );
2173
- if (h)
2174
- return l(h);
2175
- const p = Object.keys(r).find((N) => (r[N].replace(/^\/main/, "") || "/") === d);
2176
- if (p)
2177
- return l(p);
2189
+ if (l)
2190
+ return c(l);
2191
+ const m = Object.keys(r).find((k) => (r[k].replace(/^\/main/, "") || "/") === N);
2192
+ if (m)
2193
+ return c(m);
2178
2194
  }
2179
- return b.find(
2180
- (h) => h.menuGbCd === t.program && h.scrnPath && (h.scrnPath === d || h.scrnPath === m || m.endsWith(h.scrnPath) || d === h.scrnPath)
2195
+ return y.find(
2196
+ (l) => l.menuGbCd === t.program && l.scrnPath && (l.scrnPath === N || l.scrnPath === p || p.endsWith(l.scrnPath) || N === l.scrnPath)
2181
2197
  );
2182
2198
  }, [
2183
- i.pathname,
2184
- b,
2199
+ a.pathname,
2200
+ y,
2185
2201
  t.program,
2186
2202
  r,
2187
- l
2203
+ c
2188
2204
  ]), v = _(() => {
2189
- if (!c)
2205
+ if (!u)
2190
2206
  return [];
2191
- const m = [], d = (p) => {
2192
- if (!p || !p.menuPrntId || p.menuPrntId === "-")
2207
+ const p = [], N = (m) => {
2208
+ if (!m || !m.menuPrntId || m.menuPrntId === "-")
2193
2209
  return [];
2194
- const N = l(p.menuPrntId);
2195
- return N ? [...d(N), N] : [];
2210
+ const k = c(m.menuPrntId);
2211
+ return k ? [...N(k), k] : [];
2196
2212
  };
2197
- return d(c).forEach((p) => {
2198
- if (p.menuGbCd === t.mainMenu || p.menuGbCd === t.subMenu) {
2199
- let N;
2200
- if (r && p.menuId && (N = r[p.menuId]), !N && o && p.scrnPath) {
2201
- const y = p.scrnPath.startsWith("/") ? p.scrnPath : `/${p.scrnPath}`, g = Object.keys(o).find(
2202
- (k) => k === y || k === `/main${y}`
2213
+ return N(u).forEach((m) => {
2214
+ if (m.menuGbCd === t.mainMenu || m.menuGbCd === t.subMenu) {
2215
+ let k;
2216
+ if (r && m.menuId && (k = r[m.menuId]), !k && o && m.scrnPath) {
2217
+ const g = m.scrnPath.startsWith("/") ? m.scrnPath : `/${m.scrnPath}`, d = Object.keys(o).find(
2218
+ (C) => C === g || C === `/main${g}`
2203
2219
  );
2204
- g && (N = g.startsWith("/main") ? g : `/main${g.startsWith("/") ? g : `/${g}`}`);
2220
+ d && (k = d.startsWith("/main") ? d : `/main${d.startsWith("/") ? d : `/${d}`}`);
2205
2221
  }
2206
- m.push({
2207
- title: p.menuNm,
2208
- onClick: N ? () => a(N) : void 0
2222
+ p.push({
2223
+ title: m.menuNm,
2224
+ onClick: k ? () => i(k) : void 0
2209
2225
  });
2210
2226
  }
2211
- }), m.push({
2212
- title: c.menuNm
2213
- }), m;
2214
- }, [c, t, a, l]);
2215
- return /* @__PURE__ */ C(
2227
+ }), p.push({
2228
+ title: u.menuNm
2229
+ }), p;
2230
+ }, [u, t, i, c]);
2231
+ return /* @__PURE__ */ b(
2216
2232
  "div",
2217
2233
  {
2218
2234
  style: {
@@ -2221,7 +2237,7 @@ const qt = ({
2221
2237
  },
2222
2238
  children: [
2223
2239
  /* @__PURE__ */ e(
2224
- Ye,
2240
+ qe,
2225
2241
  {
2226
2242
  separator: ">",
2227
2243
  items: v,
@@ -2232,30 +2248,30 @@ const qt = ({
2232
2248
  ]
2233
2249
  }
2234
2250
  );
2235
- }, kn = ({ config: n = {} }) => {
2236
- const t = n?.header?.menu, r = t?.visible !== !1, o = t?.routes, i = _(() => {
2251
+ }, Sn = ({ config: n = {} }) => {
2252
+ const t = n?.header?.menu, r = t?.visible !== !1, o = t?.routes, a = _(() => {
2237
2253
  if (!o) return;
2238
- const a = {}, { flatMenuList: b } = ie.getState();
2239
- return b.forEach((l) => {
2240
- if (l.menuGbCd === t?.menuGubunCode?.program && l.scrnPath) {
2241
- const c = l.scrnPath.startsWith("/") ? l.scrnPath : `/${l.scrnPath}`, v = Object.keys(o).find((m) => {
2242
- const d = m === "/" ? "/" : m.startsWith("/") ? m : `/${m}`;
2243
- return d === c || d === `/main${c}` || c === d.replace(/^\/main/, "");
2254
+ const i = {}, { flatMenuList: y } = ae.getState();
2255
+ return y.forEach((c) => {
2256
+ if (c.menuGbCd === t?.menuGubunCode?.program && c.scrnPath) {
2257
+ const u = c.scrnPath.startsWith("/") ? c.scrnPath : `/${c.scrnPath}`, v = Object.keys(o).find((p) => {
2258
+ const N = p === "/" ? "/" : p.startsWith("/") ? p : `/${p}`;
2259
+ return N === u || N === `/main${u}` || u === N.replace(/^\/main/, "");
2244
2260
  });
2245
2261
  if (v) {
2246
- const m = v === "/" ? "/main" : v.startsWith("/main") ? v : `/main${v.startsWith("/") ? v : `/${v}`}`;
2247
- a[l.menuId] = m;
2262
+ const p = v === "/" ? "/main" : v.startsWith("/main") ? v : `/main${v.startsWith("/") ? v : `/${v}`}`;
2263
+ i[c.menuId] = p;
2248
2264
  }
2249
2265
  }
2250
- }), a;
2266
+ }), i;
2251
2267
  }, [o, t?.menuGubunCode?.program]);
2252
- return /* @__PURE__ */ C(Z, { className: "main-layout", children: [
2253
- /* @__PURE__ */ e(Se, { config: n?.header, children: r && /* @__PURE__ */ e(
2254
- Xt,
2268
+ return /* @__PURE__ */ b(Z, { className: "main-layout", children: [
2269
+ /* @__PURE__ */ e(Te, { config: n?.header, children: r && /* @__PURE__ */ e(
2270
+ nn,
2255
2271
  {
2256
2272
  menuGubunCode: t?.menuGubunCode,
2257
2273
  mode: t?.style?.mode || "horizontal",
2258
- routeMap: i,
2274
+ routeMap: a,
2259
2275
  style: {
2260
2276
  border: "none",
2261
2277
  backgroundColor: "transparent",
@@ -2265,7 +2281,7 @@ const qt = ({
2265
2281
  }
2266
2282
  }
2267
2283
  ) }),
2268
- /* @__PURE__ */ e("div", { className: "content-container", children: /* @__PURE__ */ C(Pe, { config: n?.content, children: [
2284
+ /* @__PURE__ */ e("div", { className: "content-container", children: /* @__PURE__ */ b(Se, { config: n?.content, children: [
2269
2285
  /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ e(
2270
2286
  "div",
2271
2287
  {
@@ -2274,65 +2290,65 @@ const qt = ({
2274
2290
  width: "100%",
2275
2291
  height: "100%"
2276
2292
  },
2277
- children: /* @__PURE__ */ e(se, { fallback: /* @__PURE__ */ e("div", { children: "Loading..." }), children: /* @__PURE__ */ e(xe, { children: Object.entries(o || {}).map(([a, b]) => {
2278
- const l = a === "/" ? "" : a.replace(/^\/main/, "").replace(/^\//, "") || "";
2293
+ children: /* @__PURE__ */ e(se, { fallback: /* @__PURE__ */ e("div", { children: "Loading..." }), children: /* @__PURE__ */ e(ke, { children: Object.entries(o || {}).map(([i, y]) => {
2294
+ const c = i === "/" ? "" : i.replace(/^\/main/, "").replace(/^\//, "") || "";
2279
2295
  return /* @__PURE__ */ e(
2280
2296
  te,
2281
2297
  {
2282
- path: l,
2298
+ path: c,
2283
2299
  element: /* @__PURE__ */ e(
2284
- an,
2300
+ un,
2285
2301
  {
2286
2302
  menuGubunCode: t?.menuGubunCode,
2287
- routeMap: i,
2303
+ routeMap: a,
2288
2304
  routes: o,
2289
- children: /* @__PURE__ */ e(b, {})
2305
+ children: /* @__PURE__ */ e(y, {})
2290
2306
  }
2291
2307
  )
2292
2308
  },
2293
- a
2309
+ i
2294
2310
  );
2295
2311
  }) }) })
2296
2312
  }
2297
2313
  ) }),
2298
- /* @__PURE__ */ e(Te, {})
2314
+ /* @__PURE__ */ e(Me, {})
2299
2315
  ] }) })
2300
2316
  ] });
2301
2317
  };
2302
- function In({
2318
+ function Tn({
2303
2319
  config: n,
2304
2320
  ui: t,
2305
2321
  navigate: r
2306
2322
  }) {
2307
- const { loading: o, capsOn: i, prefills: a, onKeyDown: b, doLogin: l } = tt(n), c = (v) => l(v, r);
2308
- return D(() => {
2309
- nt.getState().fetchSystemMap();
2310
- }, []), /* @__PURE__ */ e(K, { children: t({ onSubmit: c, loading: o, capsOn: i, onKeyDown: b, prefills: a }) });
2323
+ const { loading: o, capsOn: a, prefills: i, onKeyDown: y, doLogin: c } = nt(n), u = (v) => c(v, r);
2324
+ return z(() => {
2325
+ rt.getState().fetchSystemMap();
2326
+ }, []), /* @__PURE__ */ e(K, { children: t({ onSubmit: u, loading: o, capsOn: a, onKeyDown: y, prefills: i }) });
2311
2327
  }
2312
- function Nn({
2328
+ function Mn({
2313
2329
  onSubmit: n,
2314
2330
  loading: t,
2315
2331
  capsOn: r,
2316
2332
  onKeyDown: o,
2317
- prefills: i,
2318
- labels: a = {
2333
+ prefills: a,
2334
+ labels: i = {
2319
2335
  id: "ID 혹은 사번",
2320
2336
  pw: "비밀번호",
2321
2337
  remember: "Remember me",
2322
2338
  login: "로그인"
2323
2339
  },
2324
- header: b,
2325
- footer: l
2340
+ header: y,
2341
+ footer: c
2326
2342
  }) {
2327
- const [c] = V.useForm();
2328
- return D(() => {
2329
- i && (i.id || i.pswr) && c.setFieldsValue({ id: i.id, pswr: i.pswr });
2330
- }, [i, c]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ C("div", { className: "login_wrap", children: [
2331
- b || /* @__PURE__ */ e("div", { className: "logo_box" }),
2343
+ const [u] = U.useForm();
2344
+ return z(() => {
2345
+ a && (a.id || a.pswr) && u.setFieldsValue({ id: a.id, pswr: a.pswr });
2346
+ }, [a, u]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ b("div", { className: "login_wrap", children: [
2347
+ y || /* @__PURE__ */ e("div", { className: "logo_box" }),
2332
2348
  /* @__PURE__ */ e("div", { className: "login_title" }),
2333
- /* @__PURE__ */ e(V, { form: c, onFinish: n, className: "login-form", children: /* @__PURE__ */ C(ne, { vertical: !0, children: [
2349
+ /* @__PURE__ */ e(U, { form: u, onFinish: n, className: "login-form", children: /* @__PURE__ */ b(ne, { vertical: !0, children: [
2334
2350
  /* @__PURE__ */ e(
2335
- V.Item,
2351
+ U.Item,
2336
2352
  {
2337
2353
  name: "id",
2338
2354
  rules: [
@@ -2342,47 +2358,47 @@ function Nn({
2342
2358
  message: "아이디는 공백이 들어갈 수 없습니다."
2343
2359
  }
2344
2360
  ],
2345
- children: /* @__PURE__ */ e(ue, { allowClear: !0, placeholder: a.id, onKeyDown: o })
2361
+ children: /* @__PURE__ */ e(me, { allowClear: !0, placeholder: i.id, onKeyDown: o })
2346
2362
  }
2347
2363
  ),
2348
2364
  /* @__PURE__ */ e(
2349
- V.Item,
2365
+ U.Item,
2350
2366
  {
2351
2367
  name: "pswr",
2352
2368
  rules: [{ required: !0, message: "비밀번호를 입력하세요." }],
2353
2369
  children: /* @__PURE__ */ e(
2354
- ue.Password,
2370
+ me.Password,
2355
2371
  {
2356
2372
  allowClear: !0,
2357
- placeholder: a.pw,
2373
+ placeholder: i.pw,
2358
2374
  onKeyDown: o
2359
2375
  }
2360
2376
  )
2361
2377
  }
2362
2378
  ),
2363
- /* @__PURE__ */ e(V.Item, { name: "remember", valuePropName: "checked", children: /* @__PURE__ */ e(qe, { children: a.remember }) }),
2379
+ /* @__PURE__ */ e(U.Item, { name: "remember", valuePropName: "checked", children: /* @__PURE__ */ e(Qe, { children: i.remember }) }),
2364
2380
  /* @__PURE__ */ e("div", { className: r ? "caps-lock caps-lock-on" : "caps-lock", children: r ? "Caps Lock On" : "Caps Lock Off" }),
2365
- /* @__PURE__ */ e(V.Item, { children: /* @__PURE__ */ e(B, { type: "primary", htmlType: "submit", loading: t, block: !0, children: a.login }) })
2381
+ /* @__PURE__ */ e(U.Item, { children: /* @__PURE__ */ e(B, { type: "primary", htmlType: "submit", loading: t, block: !0, children: i.login }) })
2366
2382
  ] }) }),
2367
- l
2383
+ c
2368
2384
  ] }) });
2369
2385
  }
2370
2386
  export {
2371
- wn as A,
2372
- xn as B,
2373
- Qt as C,
2374
- Nn as D,
2375
- Xt as H,
2376
- vn as L,
2377
- nn as P,
2378
- kn as a,
2379
- In as b,
2380
- Jt as c,
2381
- Pe as d,
2382
- Se as e,
2383
- Ut as f,
2384
- Zt as g,
2385
- an as h,
2386
- sn as i,
2387
- Dt as l
2387
+ Nn as A,
2388
+ Pn as B,
2389
+ tn as C,
2390
+ Mn as D,
2391
+ nn as H,
2392
+ In as L,
2393
+ an as P,
2394
+ Sn as a,
2395
+ Tn as b,
2396
+ rn as c,
2397
+ Se as d,
2398
+ Te as e,
2399
+ qt as f,
2400
+ Xt as g,
2401
+ un as h,
2402
+ dn as i,
2403
+ $t as l
2388
2404
  };