@bwg-ui/core 1.3.6 → 1.3.8

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 (194) hide show
  1. package/dist/chunks/CMPrgrMstrP02-CIPnCdt3.cjs +1 -0
  2. package/dist/chunks/CMPrgrMstrP02-jC3zDeFU.js +154 -0
  3. package/dist/chunks/CMSearchIntfGwP01-D4qj6J2N.cjs +1 -0
  4. package/dist/chunks/{CMSearchIntfGwP01-BBdPmalj.js → CMSearchIntfGwP01-DzTHXQi3.js} +31 -31
  5. package/dist/chunks/MenuReport-BtP1uAmq.cjs +1 -0
  6. package/dist/chunks/{MenuReport-CYK_Eaqa.js → MenuReport-DgMjx5Hs.js} +5 -5
  7. package/dist/chunks/SearchAddressP01-B25Exa9E.cjs +1 -0
  8. package/dist/chunks/SearchAddressP01-B_D3nrkn.js +605 -0
  9. package/dist/chunks/SearchDepartmentP01-D5ihO3l8.cjs +1 -0
  10. package/dist/chunks/SearchDepartmentP01-pUAav3Xp.js +352 -0
  11. package/dist/chunks/SearchDepartmentP02-B3oL1B-h.js +518 -0
  12. package/dist/chunks/SearchDepartmentP02-CWs8sLuu.cjs +1 -0
  13. package/dist/chunks/SearchHolidayP01-SuuyAk9T.js +188 -0
  14. package/dist/chunks/SearchHolidayP01-cJ8Wlkwr.cjs +1 -0
  15. package/dist/chunks/SearchOrganizationP01-3nDwrB08.cjs +1 -0
  16. package/dist/chunks/SearchOrganizationP01-ChwLBfVt.js +420 -0
  17. package/dist/chunks/SearchOrganizationP02-0Suj4DLH.cjs +1 -0
  18. package/dist/chunks/SearchOrganizationP02-DI0V4Bdz.js +516 -0
  19. package/dist/chunks/UploadMultiFileP01-Bf1qonGN.cjs +1 -0
  20. package/dist/chunks/UploadMultiFileP01-BgyIhfac.js +38 -0
  21. package/dist/chunks/{layout-components-gqu1pmfr.js → layout-components-Lyp9SZ7V.js} +1134 -1008
  22. package/dist/chunks/layout-components-NtKR0O6Y.cjs +38 -0
  23. package/dist/chunks/provider-DrmM0H4o.cjs +1 -0
  24. package/dist/chunks/provider-ff4RVDYo.js +711 -0
  25. package/dist/components/common/ButtonAccessController.d.ts +2 -3
  26. package/dist/components/common/ButtonAccessController.d.ts.map +1 -1
  27. package/dist/components/common/BwgButtonGroup.d.ts +1 -1
  28. package/dist/components/common/BwgButtonGroup.d.ts.map +1 -1
  29. package/dist/components/common/BwgCol.d.ts +1 -1
  30. package/dist/components/common/BwgCol.d.ts.map +1 -1
  31. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  32. package/dist/components/common/BwgModal.d.ts +10 -0
  33. package/dist/components/common/BwgModal.d.ts.map +1 -0
  34. package/dist/components/common/BwgView.d.ts.map +1 -1
  35. package/dist/components/common/index.cjs +1 -1
  36. package/dist/components/common/index.d.ts +1 -0
  37. package/dist/components/common/index.d.ts.map +1 -1
  38. package/dist/components/common/index.js +4887 -28
  39. package/dist/components/core/BwgCmnFileItems.d.ts +47 -0
  40. package/dist/components/core/BwgCmnFileItems.d.ts.map +1 -0
  41. package/dist/components/core/BwgDeptSearch.d.ts +38 -0
  42. package/dist/components/core/BwgDeptSearch.d.ts.map +1 -0
  43. package/dist/components/core/BwgDraggerUploader.d.ts +13 -0
  44. package/dist/components/core/BwgDraggerUploader.d.ts.map +1 -0
  45. package/dist/components/core/BwgEmpSearch.d.ts +12 -4
  46. package/dist/components/core/BwgEmpSearch.d.ts.map +1 -1
  47. package/dist/components/core/BwgUploader.d.ts +6 -92
  48. package/dist/components/core/BwgUploader.d.ts.map +1 -1
  49. package/dist/components/core/BwgUploader_bak.d.ts +98 -0
  50. package/dist/components/core/BwgUploader_bak.d.ts.map +1 -0
  51. package/dist/components/core/BwgXlsxUploader.d.ts +25 -0
  52. package/dist/components/core/BwgXlsxUploader.d.ts.map +1 -0
  53. package/dist/components/core/index.cjs +1 -1
  54. package/dist/components/core/index.d.ts +11 -2
  55. package/dist/components/core/index.d.ts.map +1 -1
  56. package/dist/components/core/index.js +1318 -1164
  57. package/dist/components/guide/index.cjs +1 -1
  58. package/dist/components/guide/index.js +17 -17
  59. package/dist/components/layout/AppWrapper.d.ts +5 -1
  60. package/dist/components/layout/AppWrapper.d.ts.map +1 -1
  61. package/dist/components/layout/BwgCoreLogin.d.ts.map +1 -1
  62. package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
  63. package/dist/components/layout/custom/ConfigurableSidebar.d.ts.map +1 -1
  64. package/dist/components/layout/extension/ContentWrapper.d.ts.map +1 -1
  65. package/dist/components/layout/index.cjs +1 -1
  66. package/dist/components/layout/index.js +1 -1
  67. package/dist/components/pages/auth/AuthManagement.d.ts +8 -0
  68. package/dist/components/pages/auth/AuthManagement.d.ts.map +1 -0
  69. package/dist/components/pages/auth/AuthSelector.d.ts +28 -0
  70. package/dist/components/pages/auth/AuthSelector.d.ts.map +1 -0
  71. package/dist/components/pages/auth/RoleDashBoard.d.ts +13 -0
  72. package/dist/components/pages/auth/RoleDashBoard.d.ts.map +1 -0
  73. package/dist/components/pages/auth/RoleView.d.ts +17 -0
  74. package/dist/components/pages/auth/RoleView.d.ts.map +1 -0
  75. package/dist/components/pages/board/AdminBoard.d.ts +6 -0
  76. package/dist/components/pages/board/AdminBoard.d.ts.map +1 -0
  77. package/dist/components/pages/board/BoardComment.d.ts +8 -0
  78. package/dist/components/pages/board/BoardComment.d.ts.map +1 -0
  79. package/dist/components/pages/board/MyBoard.d.ts +6 -0
  80. package/dist/components/pages/board/MyBoard.d.ts.map +1 -0
  81. package/dist/components/pages/index.d.ts +9 -10
  82. package/dist/components/pages/index.d.ts.map +1 -1
  83. package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts.map +1 -1
  84. package/dist/components/pages/rsrc/MenuManagement.d.ts +4 -0
  85. package/dist/components/pages/rsrc/MenuManagement.d.ts.map +1 -0
  86. package/dist/components/pages/rsrc/{CMMenuPrntSelectModal.d.ts → MenuSelector.d.ts} +5 -4
  87. package/dist/components/pages/rsrc/MenuSelector.d.ts.map +1 -0
  88. package/dist/components/pages/rsrc/ProgramManagement.d.ts +4 -0
  89. package/dist/components/pages/rsrc/ProgramManagement.d.ts.map +1 -0
  90. package/dist/components/pages/rsrc/{CMMenuPrgrSelectModal.d.ts → ProgramSelector.d.ts} +5 -4
  91. package/dist/components/pages/rsrc/ProgramSelector.d.ts.map +1 -0
  92. package/dist/components/pages/syst/CommonCodeManagement.d.ts +4 -0
  93. package/dist/components/pages/syst/CommonCodeManagement.d.ts.map +1 -0
  94. package/dist/components/pages/syst/CommonCodeTester.d.ts +7 -0
  95. package/dist/components/pages/syst/CommonCodeTester.d.ts.map +1 -0
  96. package/dist/components/pages/types.d.ts +5 -1
  97. package/dist/components/pages/types.d.ts.map +1 -1
  98. package/dist/components/popup/SearchDepartmentP01.d.ts +1 -1
  99. package/dist/components/popup/SearchDepartmentP01.d.ts.map +1 -1
  100. package/dist/components/popup/SearchOrganizationP02.d.ts.map +1 -1
  101. package/dist/components/popup/UploadMultiFileP01.d.ts +14 -0
  102. package/dist/components/popup/UploadMultiFileP01.d.ts.map +1 -0
  103. package/dist/components/popup/config/localPopupRegistry.d.ts.map +1 -1
  104. package/dist/components/popup/index.cjs +1 -1
  105. package/dist/components/popup/index.d.ts +1 -0
  106. package/dist/components/popup/index.d.ts.map +1 -1
  107. package/dist/components/popup/index.js +16 -8
  108. package/dist/index.cjs +185 -1
  109. package/dist/index.js +31237 -288
  110. package/dist/provider/contexts/BwgViewContext.d.ts +8 -1
  111. package/dist/provider/contexts/BwgViewContext.d.ts.map +1 -1
  112. package/dist/provider/contexts/CommonCodeContext.d.ts +15 -28
  113. package/dist/provider/contexts/CommonCodeContext.d.ts.map +1 -1
  114. package/dist/provider/contexts/MenuButtonContentx.d.ts +1 -0
  115. package/dist/provider/contexts/MenuButtonContentx.d.ts.map +1 -0
  116. package/dist/provider/contexts/MenuButtonContext.d.ts +42 -0
  117. package/dist/provider/contexts/MenuButtonContext.d.ts.map +1 -0
  118. package/dist/provider/contexts/PageContentContext.d.ts +23 -0
  119. package/dist/provider/contexts/PageContentContext.d.ts.map +1 -0
  120. package/dist/provider/contexts/index.d.ts +1 -0
  121. package/dist/provider/contexts/index.d.ts.map +1 -1
  122. package/dist/provider/hooks/index.d.ts +1 -0
  123. package/dist/provider/hooks/index.d.ts.map +1 -1
  124. package/dist/provider/hooks/useFileUploader.d.ts +74 -0
  125. package/dist/provider/hooks/useFileUploader.d.ts.map +1 -0
  126. package/dist/provider/hooks/useSizeConfig.d.ts +2 -2
  127. package/dist/provider/index.cjs +1 -1
  128. package/dist/provider/index.d.ts +1 -0
  129. package/dist/provider/index.d.ts.map +1 -1
  130. package/dist/provider/index.js +22 -19
  131. package/dist/stores/codeStore.d.ts +65 -128
  132. package/dist/stores/codeStore.d.ts.map +1 -1
  133. package/dist/stores/index.cjs +2 -2
  134. package/dist/stores/index.d.ts +3 -3
  135. package/dist/stores/index.d.ts.map +1 -1
  136. package/dist/stores/index.js +815 -1625
  137. package/dist/stores/menuModelStore.d.ts +22 -7
  138. package/dist/stores/menuModelStore.d.ts.map +1 -1
  139. package/dist/stores/menuViewStore.d.ts +3 -3
  140. package/dist/stores/menuViewStore.d.ts.map +1 -1
  141. package/dist/stores/systemStore.d.ts +50 -17
  142. package/dist/stores/systemStore.d.ts.map +1 -1
  143. package/dist/styles/assets/images/header/icon/ico-bell.svg +3 -3
  144. package/dist/styles/assets/images/header/icon/ico-logout.svg +10 -10
  145. package/dist/styles/assets/images/header/icon/ico-setting.svg +4 -4
  146. package/dist/styles/assets/images/header/icon/ico-sidebar-arrow.svg +3 -3
  147. package/dist/styles/assets/images/menus/ico1-completed.png +0 -0
  148. package/dist/styles/assets/images/menus/ico1-design.png +0 -0
  149. package/dist/styles/assets/images/menus/ico1-dev.png +0 -0
  150. package/dist/styles/assets/images/menus/ico2-completed.png +0 -0
  151. package/dist/styles/assets/images/menus/ico2-design.png +0 -0
  152. package/dist/styles/assets/images/menus/ico2-dev.png +0 -0
  153. package/dist/styles/assets/images/menus/ico3-completed.png +0 -0
  154. package/dist/styles/assets/images/menus/ico3-design.png +0 -0
  155. package/dist/styles/assets/images/menus/ico3-dev.png +0 -0
  156. package/dist/utils/apiUtils.d.ts.map +1 -1
  157. package/dist/utils/commonUtils.d.ts +1 -2
  158. package/dist/utils/commonUtils.d.ts.map +1 -1
  159. package/dist/utils/index.cjs +1 -1
  160. package/dist/utils/index.d.ts +25 -25
  161. package/dist/utils/index.d.ts.map +1 -1
  162. package/dist/utils/index.js +980 -1967
  163. package/dist/utils/messageUtils.d.ts +36 -48
  164. package/dist/utils/messageUtils.d.ts.map +1 -1
  165. package/dist/utils/modalUtils.d.ts +68 -0
  166. package/dist/utils/modalUtils.d.ts.map +1 -0
  167. package/dist/utils/notificationUtils.d.ts +50 -41
  168. package/dist/utils/notificationUtils.d.ts.map +1 -1
  169. package/dist/utils/serviceConfig.d.ts +9 -3
  170. package/dist/utils/serviceConfig.d.ts.map +1 -1
  171. package/package.json +5 -5
  172. package/dist/chunks/CMSearchIntfGwP01-Cs78BtE7.cjs +0 -1
  173. package/dist/chunks/MenuReport-BCO-gXwk.cjs +0 -1
  174. package/dist/chunks/common-components-C61ER0qC.js +0 -52599
  175. package/dist/chunks/common-components-mXgJEMpT.cjs +0 -1109
  176. package/dist/chunks/layout-components-D7I6VhXN.cjs +0 -38
  177. package/dist/chunks/provider-Kxea5IoZ.js +0 -449
  178. package/dist/chunks/provider-r4mkv5Zs.cjs +0 -1
  179. package/dist/components/pages/board/CMAdminBoardM01.d.ts +0 -6
  180. package/dist/components/pages/board/CMAdminBoardM01.d.ts.map +0 -1
  181. package/dist/components/pages/board/CMBoardS01.d.ts +0 -8
  182. package/dist/components/pages/board/CMBoardS01.d.ts.map +0 -1
  183. package/dist/components/pages/board/CMMyBoardM01.d.ts +0 -6
  184. package/dist/components/pages/board/CMMyBoardM01.d.ts.map +0 -1
  185. package/dist/components/pages/guide/BwgComponentGuideM01.d.ts +0 -3
  186. package/dist/components/pages/guide/BwgComponentGuideM01.d.ts.map +0 -1
  187. package/dist/components/pages/guide/BwgDeveloperGuideM01.d.ts +0 -3
  188. package/dist/components/pages/guide/BwgDeveloperGuideM01.d.ts.map +0 -1
  189. package/dist/components/pages/guide/BwgReactGuideM01.d.ts +0 -3
  190. package/dist/components/pages/guide/BwgReactGuideM01.d.ts.map +0 -1
  191. package/dist/components/pages/rsrc/CMMenuPrgrSelectModal.d.ts.map +0 -1
  192. package/dist/components/pages/rsrc/CMMenuPrntSelectModal.d.ts.map +0 -1
  193. package/dist/components/pages/syst/CMSystCodeM01.d.ts +0 -4
  194. package/dist/components/pages/syst/CMSystCodeM01.d.ts.map +0 -1
@@ -1,38 +1,40 @@
1
- import { jsxs as i, jsx as e, Fragment as j } from "react/jsx-runtime";
2
- import { o as Ae, C as ze, S as ge, n as He, m as $e } from "./provider-Kxea5IoZ.js";
3
- import { Routes as Le, Route as U, Navigate as Fe, useNavigate as fe, useLocation as We } from "react-router-dom";
4
- import { G as Ge, B as Ve, Q as Ke } from "./common-components-C61ER0qC.js";
5
- import { Spin as q, Layout as Q, Button as B, ConfigProvider as be, Flex as re, Slider as ce, Divider as xe, Switch as Ze, Modal as Ue, Popover as Ye, Avatar as qe, Dropdown as Qe, Tabs as Xe, Tooltip as ee, AutoComplete as Je, Input as ue, Segmented as et, Menu as pe, Result as Me, Space as Y, Typography as ye, Empty as de, Breadcrumb as tt, Form as Z, Checkbox as nt, Card as Te } from "antd";
6
- import { lazy as z, useEffect as E, useRef as X, useCallback as R, useMemo as F, useState as A, createElement as Be, memo as Ce, cloneElement as rt, Component as ot, Suspense as se } from "react";
7
- import { useUserStore as De, useLogout as it, useMenuViewStore as D, useMenuModelStore as ae, useFavoriteStore as st, usePopupStore as ve, useLogin as at, useSystemStore as oe, useSsoLogin as lt } from "../stores/index.js";
1
+ import { jsxs as s, jsx as e, Fragment as z } from "react/jsx-runtime";
2
+ import { i as je, C as ze, S as ge, j as Fe, k as Ve, B as Ge, P as Ue, l as We } from "./provider-ff4RVDYo.js";
3
+ import { lazy as j, useEffect as D, useRef as q, useCallback as R, useMemo as U, useState as F, createElement as Pe, memo as fe, cloneElement as Ye, Component as Ke, Suspense as se } from "react";
4
+ import { Routes as Le, Route as Q, Navigate as Je, useNavigate as be, useLocation as _e } from "react-router-dom";
5
+ import { GlobalConfigProvider as Ze, BwgConfigProvider as Qe, QuickServiceToggle as Xe } from "../components/common/index.js";
6
+ import { setGlobalModalStyle as qe, setGlobalNotificationStyle as $e, setGlobalMessageStyle as et, getTodateString as xe, getUserId as Ae } from "../utils/index.js";
7
+ import { Spin as $, Layout as ee, Button as L, ConfigProvider as Ce, Flex as re, Slider as ce, Divider as Ie, Switch as tt, Modal as nt, Popover as rt, Avatar as ot, Dropdown as it, Tabs as st, Tooltip as te, AutoComplete as lt, Input as pe, Segmented as at, Menu as he, Result as Me, Space as X, Typography as ye, Empty as de, Breadcrumb as ct, Form as Z, Checkbox as dt, Card as Te } from "antd";
8
+ import { useUserStore as Be, useLogout as ut, useMenuViewStore as O, useMenuModelStore as le, useFavoriteStore as pt, usePopupStore as we, useLogin as ht, useSystemStore as oe, useSsoLogin as mt } from "../stores/index.js";
8
9
  import * as ie from "@ant-design/icons";
9
- import { UserOutlined as ct, StepBackwardOutlined as dt, LeftOutlined as ht, RightOutlined as ut, StepForwardOutlined as pt, CloseOutlined as Ee, MenuUnfoldOutlined as mt, MenuFoldOutlined as gt, ExclamationCircleOutlined as ft, WarningOutlined as bt, StarOutlined as yt, FolderOpenOutlined as Ct, ReloadOutlined as we, ExclamationCircleTwoTone as ke, CheckCircleTwoTone as _e, LoginOutlined as vt } from "@ant-design/icons";
10
- import { getTodateString as Ne, getUserId as Pe } from "../utils/index.js";
11
- import { useSensors as wt, useSensor as kt, PointerSensor as xt, DndContext as Nt, closestCenter as Pt } from "@dnd-kit/core";
12
- import { restrictToHorizontalAxis as It } from "@dnd-kit/modifiers";
13
- import { arrayMove as St, SortableContext as Lt, horizontalListSortingStrategy as Mt, useSortable as Tt } from "@dnd-kit/sortable";
14
- const Bt = z(
15
- () => import("./MenuReport-CYK_Eaqa.js")
16
- ), Dt = z(
17
- () => import("./common-components-C61ER0qC.js").then((n) => n.$)
18
- ), Et = z(
19
- () => import("./common-components-C61ER0qC.js").then((n) => n.a0)
20
- ), _t = z(
21
- () => import("./common-components-C61ER0qC.js").then((n) => n.a1)
22
- ), Ot = z(
23
- () => import("./common-components-C61ER0qC.js").then((n) => n.a2)
24
- ), Rt = z(
25
- () => import("./common-components-C61ER0qC.js").then((n) => n.a4)
26
- ), jt = z(
27
- () => import("./CMSearchIntfGwP01-BBdPmalj.js")
28
- ), At = z(
29
- () => import("./common-components-C61ER0qC.js").then((n) => n.a5)
30
- ), zt = z(
31
- () => import("./common-components-C61ER0qC.js").then((n) => n.a3)
32
- ), Ht = {
10
+ import { UserOutlined as gt, StepBackwardOutlined as ft, LeftOutlined as bt, RightOutlined as Ct, StepForwardOutlined as yt, CloseOutlined as Ee, MenuUnfoldOutlined as wt, MenuFoldOutlined as vt, ExclamationCircleOutlined as kt, WarningOutlined as xt, StarOutlined as At, FolderOpenOutlined as It, ToolTwoTone as Nt, ReloadOutlined as ve, ExclamationCircleTwoTone as ke, CheckCircleTwoTone as De, LoginOutlined as St } from "@ant-design/icons";
11
+ import { useSensors as Pt, useSensor as Lt, PointerSensor as Mt, DndContext as Tt, closestCenter as Bt } from "@dnd-kit/core";
12
+ import { restrictToHorizontalAxis as Et } from "@dnd-kit/modifiers";
13
+ import { arrayMove as Dt, SortableContext as Ot, horizontalListSortingStrategy as Rt, useSortable as Ht } from "@dnd-kit/sortable";
14
+ const jt = j(
15
+ () => import("./MenuReport-DgMjx5Hs.js")
16
+ ), zt = j(
17
+ () => import("./SearchDepartmentP01-pUAav3Xp.js")
18
+ ), Ft = j(
19
+ () => import("./SearchDepartmentP02-B3oL1B-h.js")
20
+ ), Vt = j(
21
+ () => import("./SearchOrganizationP01-ChwLBfVt.js")
22
+ ), Gt = j(
23
+ () => import("./SearchOrganizationP02-DI0V4Bdz.js")
24
+ ), Ut = j(
25
+ () => import("./CMPrgrMstrP02-jC3zDeFU.js")
26
+ ), Wt = j(
27
+ () => import("./CMSearchIntfGwP01-DzTHXQi3.js")
28
+ ), Yt = j(
29
+ () => import("./SearchAddressP01-B_D3nrkn.js")
30
+ ), Kt = j(
31
+ () => import("./SearchHolidayP01-SuuyAk9T.js")
32
+ ), Jt = j(
33
+ () => import("./UploadMultiFileP01-BgyIhfac.js")
34
+ ), _t = {
33
35
  // 게시판/문의
34
36
  CORE_REPORT: {
35
- component: Bt,
37
+ component: jt,
36
38
  defaultConfig: {
37
39
  title: "게시판/문의",
38
40
  width: 1200,
@@ -41,7 +43,7 @@ const Bt = z(
41
43
  },
42
44
  // 조직/부서 검색류
43
45
  CORE_DEPARTMENT_01: {
44
- component: Dt,
46
+ component: zt,
45
47
  defaultConfig: {
46
48
  title: "부서 검색",
47
49
  width: 620,
@@ -49,7 +51,7 @@ const Bt = z(
49
51
  }
50
52
  },
51
53
  CORE_DEPARTMENT_02: {
52
- component: Et,
54
+ component: Ft,
53
55
  defaultConfig: {
54
56
  title: "부서 검색",
55
57
  width: 620,
@@ -57,7 +59,7 @@ const Bt = z(
57
59
  }
58
60
  },
59
61
  CORE_ORGANIZATION_01: {
60
- component: _t,
62
+ component: Vt,
61
63
  defaultConfig: {
62
64
  title: "조직 검색",
63
65
  width: 620,
@@ -65,7 +67,7 @@ const Bt = z(
65
67
  }
66
68
  },
67
69
  CORE_ORGANIZATION_02: {
68
- component: Ot,
70
+ component: Gt,
69
71
  defaultConfig: {
70
72
  title: "조직 검색",
71
73
  width: 1e3,
@@ -73,7 +75,7 @@ const Bt = z(
73
75
  }
74
76
  },
75
77
  CORE_PRGR_02: {
76
- component: Rt,
78
+ component: Ut,
77
79
  defaultConfig: {
78
80
  title: "프로그램 검색",
79
81
  width: 700,
@@ -81,7 +83,7 @@ const Bt = z(
81
83
  }
82
84
  },
83
85
  CORE_GW_DRAFTS: {
84
- component: jt,
86
+ component: Wt,
85
87
  defaultConfig: {
86
88
  title: "기안 목록",
87
89
  width: 1e3,
@@ -89,7 +91,7 @@ const Bt = z(
89
91
  }
90
92
  },
91
93
  CORE_ADDRESS_01: {
92
- component: At,
94
+ component: Yt,
93
95
  defaultConfig: {
94
96
  title: "주소 검색",
95
97
  width: 750,
@@ -97,18 +99,26 @@ const Bt = z(
97
99
  }
98
100
  },
99
101
  CORE_HOLIDAY_01: {
100
- component: zt,
102
+ component: Kt,
101
103
  defaultConfig: {
102
104
  title: "휴일 검색",
103
105
  width: 750,
104
106
  height: 800
105
107
  }
108
+ },
109
+ CORE_FILEUPLOAD_01: {
110
+ component: Jt,
111
+ defaultConfig: {
112
+ title: "파일 업로드",
113
+ width: 700,
114
+ height: 500
115
+ }
106
116
  }
107
- }, Ie = "bwg-dot-line-wave-v4";
108
- function $t() {
109
- if (typeof document > "u" || document.getElementById(Ie)) return;
110
- const n = document.createElement("style");
111
- n.id = Ie, n.textContent = `
117
+ }, Ne = "bwg-dot-line-wave-v4";
118
+ function Zt() {
119
+ if (typeof document > "u" || document.getElementById(Ne)) return;
120
+ const r = document.createElement("style");
121
+ r.id = Ne, r.textContent = `
112
122
  .bwg-dotline {
113
123
  display: inline-flex;
114
124
  align-items: center;
@@ -142,55 +152,55 @@ function $t() {
142
152
  @media (prefers-reduced-motion: reduce) {
143
153
  .bwg-dotline .dot { animation: none; }
144
154
  }
145
- `, document.head.appendChild(n);
155
+ `, document.head.appendChild(r);
146
156
  }
147
- const Ft = ({
148
- colors: n = ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
157
+ const Qt = ({
158
+ colors: r = ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
149
159
  count: t,
150
- size: r = 12,
151
- gap: o = 10,
152
- amp: a = 16,
153
- speedMs: c = 900,
160
+ size: n = 12,
161
+ gap: i = 10,
162
+ amp: l = 16,
163
+ speedMs: a = 900,
154
164
  direction: g = "ltr",
155
- phase: h = 0.7
165
+ phase: c = 0.7
156
166
  }) => {
157
- E(() => {
158
- $t();
167
+ D(() => {
168
+ Zt();
159
169
  }, []);
160
- const u = t ?? n.length, f = Array.from({ length: u }), p = {
161
- "--bwg-size": `${r}px`,
162
- "--bwg-gap": `${o}px`,
163
- "--bwg-amp": `${a}px`,
164
- "--bwg-speed": `${c}ms`
165
- }, N = c / u * h;
170
+ const h = t ?? r.length, b = Array.from({ length: h }), f = {
171
+ "--bwg-size": `${n}px`,
172
+ "--bwg-gap": `${i}px`,
173
+ "--bwg-amp": `${l}px`,
174
+ "--bwg-speed": `${a}ms`
175
+ }, I = a / h * c;
166
176
  return /* @__PURE__ */ e(
167
177
  "span",
168
178
  {
169
179
  className: "bwg-dotline",
170
180
  role: "img",
171
181
  "aria-label": "loading",
172
- style: p,
173
- children: f.map((d, l) => /* @__PURE__ */ e(
182
+ style: f,
183
+ children: b.map((u, p) => /* @__PURE__ */ e(
174
184
  "span",
175
185
  {
176
186
  className: "dot",
177
187
  style: {
178
- backgroundColor: n[l % n.length],
179
- animationDelay: g === "ltr" ? `${l * N}ms` : `${(u - 1 - l) * N}ms`
188
+ backgroundColor: r[p % r.length],
189
+ animationDelay: g === "ltr" ? `${p * I}ms` : `${(h - 1 - p) * I}ms`
180
190
  }
181
191
  },
182
- l
192
+ p
183
193
  ))
184
194
  }
185
195
  );
186
- }, Sn = ({
187
- spin: n = null,
196
+ }, zn = ({
197
+ spin: r = null,
188
198
  text: t = "인증중...",
189
- dimStyle: r = "dark"
199
+ dimStyle: n = "dark"
190
200
  }) => {
191
- if (!(n ?? !0)) return null;
192
- const c = r === "dark";
193
- return /* @__PURE__ */ i(
201
+ if (!(r ?? !0)) return null;
202
+ const a = n === "dark";
203
+ return /* @__PURE__ */ s(
194
204
  "div",
195
205
  {
196
206
  className: "loading-overlay",
@@ -203,8 +213,8 @@ const Ft = ({
203
213
  alignItems: "center",
204
214
  gap: 8,
205
215
  padding: "8px 12px",
206
- background: c ? "rgba(0, 0, 0, 0.6)" : "rgba(255, 255, 255, 0.85)",
207
- color: c ? "#fff" : "#333",
216
+ background: a ? "rgba(0, 0, 0, 0.6)" : "rgba(255, 255, 255, 0.85)",
217
+ color: a ? "#fff" : "#333",
208
218
  backdropFilter: "blur(4px)",
209
219
  zIndex: 1e4
210
220
  },
@@ -213,10 +223,10 @@ const Ft = ({
213
223
  role: "status",
214
224
  children: [
215
225
  /* @__PURE__ */ e(
216
- q,
226
+ $,
217
227
  {
218
228
  indicator: /* @__PURE__ */ e(
219
- Ft,
229
+ Qt,
220
230
  {
221
231
  colors: ["#DAD3FF", "#B3A6FF", "#9380FF", "#816BFA"],
222
232
  size: 12,
@@ -233,50 +243,60 @@ const Ft = ({
233
243
  ]
234
244
  }
235
245
  );
236
- }, Ln = ({
237
- routes: n,
246
+ }, Fn = ({
247
+ routes: r,
238
248
  useCommonProvider: t = !0,
239
- useServiceProvider: r = !0
249
+ useServiceProvider: n = !0,
250
+ modalStyle: i,
251
+ notificationStyle: l,
252
+ messageStyle: a
240
253
  }) => {
241
- let a = /* @__PURE__ */ i(Le, { children: [
242
- /* @__PURE__ */ e(U, { path: "/", element: /* @__PURE__ */ e(Fe, { to: "/login" }) }),
243
- /* @__PURE__ */ e(U, { path: "/ssoLogin", element: n.ssoLogin }),
244
- /* @__PURE__ */ e(U, { path: "/login", element: n.login }),
245
- /* @__PURE__ */ e(U, { path: "/main/*", element: n.main }),
246
- /* @__PURE__ */ e(U, { path: "/sessionNotice", element: n.sessionNotice })
254
+ D(() => {
255
+ i && qe(i);
256
+ }, [i]), D(() => {
257
+ l && $e(l);
258
+ }, [l]), D(() => {
259
+ a && et(a);
260
+ }, [a]);
261
+ let c = /* @__PURE__ */ s(Le, { children: [
262
+ /* @__PURE__ */ e(Q, { path: "/", element: /* @__PURE__ */ e(Je, { to: "/login" }) }),
263
+ /* @__PURE__ */ e(Q, { path: "/ssoLogin", element: r.ssoLogin }),
264
+ /* @__PURE__ */ e(Q, { path: "/login", element: r.login }),
265
+ /* @__PURE__ */ e(Q, { path: "/main/*", element: r.main }),
266
+ /* @__PURE__ */ e(Q, { path: "/sessionNotice", element: r.sessionNotice })
247
267
  ] });
248
- return r && (a = /* @__PURE__ */ e(Ae, { children: a })), t && (a = /* @__PURE__ */ e(ze, { children: a })), /* @__PURE__ */ e(Ge, { children: a });
249
- }, { Content: Wt } = Q, Oe = ({
250
- config: n = {},
268
+ return n && (c = /* @__PURE__ */ e(je, { children: c })), t && (c = /* @__PURE__ */ e(ze, { children: c })), /* @__PURE__ */ e(Ze, { children: c });
269
+ }, { Content: Xt } = ee, Oe = ({
270
+ config: r = {},
251
271
  children: t
252
272
  }) => {
253
- const r = {
273
+ const n = {
254
274
  wrapper: {
255
275
  className: "content-wrapper",
256
- ...n.wrapper
276
+ ...r.wrapper
257
277
  },
258
278
  body: {
259
279
  className: "content-body",
260
- ...n.body
280
+ ...r.body
261
281
  },
262
- ...n
282
+ ...r
263
283
  };
264
284
  return /* @__PURE__ */ e(
265
- Wt,
285
+ Xt,
266
286
  {
267
- className: r.wrapper.className,
268
- style: r.wrapper.style,
269
- children: /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(
287
+ className: n.wrapper.className,
288
+ style: n.wrapper.style,
289
+ children: /* @__PURE__ */ e(Qe, { children: /* @__PURE__ */ e(
270
290
  "div",
271
291
  {
272
- className: r.body.className,
273
- style: r.body.style,
292
+ className: n.body.className,
293
+ style: n.body.style,
274
294
  children: t
275
295
  }
276
296
  ) })
277
297
  }
278
298
  );
279
- }, Gt = "data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9998%2019.9993V20.9993C11.9998%2021.3932%2012.0774%2021.7833%2012.2282%2022.1473C12.3789%2022.5112%2012.5999%2022.8419%2012.8785%2023.1205C13.157%2023.399%2013.4877%2023.62%2013.8517%2023.7708C14.2156%2023.9215%2014.6057%2023.9991%2014.9997%2023.9991C15.3936%2023.9991%2015.7837%2023.9215%2016.1477%2023.7708C16.5116%2023.62%2016.8423%2023.399%2017.1209%2023.1205C17.3994%2022.8419%2017.6204%2022.5112%2017.7712%2022.1473C17.9219%2021.7833%2017.9995%2021.3932%2017.9995%2020.9993V19.9993M20.9994%2011.9997C20.9994%2014.9996%2022.9993%2019.9993%2022.9993%2019.9993H7.00006C7.00006%2019.9993%208.99996%2015.9995%208.99996%2011.9997C8.99996%208.73187%2011.7318%206%2014.9997%206C18.2675%206%2020.9994%208.73187%2020.9994%2011.9997Z'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", 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%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", Kt = "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: Zt } = Q, { confirm: Ut } = Ue, te = {
299
+ }, qt = "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", $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%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", en = "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: tn } = ee, { confirm: nn } = nt, ne = {
280
300
  light: {
281
301
  headerBg: "#ffffff",
282
302
  headerText: "#000000",
@@ -329,90 +349,90 @@ const Ft = ({
329
349
  buttonDefaultBorder: "#dddddd",
330
350
  buttonPermissionBorder: "#bdb1ff"
331
351
  }
332
- }, he = {
352
+ }, ue = {
333
353
  0: "작게",
334
354
  1: "보통",
335
355
  2: "크게"
336
- }, Re = ({ config: n = {}, children: t }) => {
337
- const r = {
356
+ }, Re = ({ config: r = {}, children: t }) => {
357
+ const n = {
338
358
  gap: 14,
339
359
  minWidth: 200,
340
- items: n.right?.items,
360
+ items: r.right?.items,
341
361
  alarm: {
342
362
  visible: !0,
343
- ...n.right?.alarm || {}
363
+ ...r.right?.alarm || {}
344
364
  },
345
365
  theme: {
346
366
  visible: !0,
347
- ...n.right?.theme || {}
367
+ ...r.right?.theme || {}
348
368
  },
349
369
  logout: {
350
370
  visible: !0,
351
- ...n.right?.logout || {}
371
+ ...r.right?.logout || {}
352
372
  },
353
373
  avatar: {
354
374
  visible: !0,
355
375
  width: 30,
356
376
  height: 30,
357
- ...n.right?.avatar || {}
377
+ ...r.right?.avatar || {}
358
378
  }
359
- }, o = {
379
+ }, i = {
360
380
  wrapper: {
361
381
  className: "header-wrapper",
362
- ...n.wrapper
382
+ ...r.wrapper
363
383
  },
364
384
  logo: {
365
385
  gap: 10,
366
- ...n.logo
386
+ ...r.logo
367
387
  },
368
- right: r
369
- }, a = fe(), c = X(null), g = it(() => a("/login", { replace: !0 })), {
370
- componentSize: h,
371
- setComponentSize: u,
372
- gridSize: f,
373
- setGridSize: p,
374
- spacingSize: N,
375
- setSpacingSize: d,
376
- enableProtectWrapper: l,
377
- setEnableProtectWrapper: P,
378
- theme: k,
379
- setTheme: m,
380
- clearAllGridLayouts: C
381
- } = De(), S = 1, _ = 2, O = 2, x = (b, L) => {
388
+ right: n
389
+ }, l = be(), a = q(null), g = ut(() => l("/login", { replace: !0 })), {
390
+ componentSize: c,
391
+ setComponentSize: h,
392
+ gridSize: b,
393
+ setGridSize: f,
394
+ spacingSize: I,
395
+ setSpacingSize: u,
396
+ enableProtectWrapper: p,
397
+ setEnableProtectWrapper: S,
398
+ theme: C,
399
+ setTheme: d,
400
+ clearAllGridLayouts: m
401
+ } = Be(), N = 1, T = 2, B = 2, k = (w, P) => {
382
402
  try {
383
- if (!/^[a-zA-Z0-9-]+$/.test(b) || !/^[#a-zA-Z0-9()\s,.-]+$/.test(L)) return;
384
- document.documentElement.style.setProperty(b, L);
385
- } catch (w) {
386
- console.error("CSS variable setting failed:", w);
403
+ if (!/^[a-zA-Z0-9-]+$/.test(w) || !/^[#a-zA-Z0-9()\s,.-]+$/.test(P)) return;
404
+ document.documentElement.style.setProperty(w, P);
405
+ } catch (G) {
406
+ console.error("CSS variable setting failed:", G);
387
407
  }
388
- }, $ = (b) => {
389
- if (!te[b]) return;
390
- m(b);
391
- const L = { ...te[b] };
392
- x("--header-bg", L.headerBg), x("--header-text", L.headerText), x("--sidebar-bg", L.sidebarBg), x("--sidebar-text", L.sidebarText), x("--button-primary", L.buttonPrimary), x("--button-primary-hover", L.buttonPrimaryHover), x("--button-primary-active", L.buttonPrimaryActive), x("--button-default", L.buttonDefault), x("--button-default-hover", L.buttonDefaultHover), x("--button-default-border", L.buttonDefaultBorder), x(
408
+ }, H = (w) => {
409
+ if (!ne[w]) return;
410
+ d(w);
411
+ const P = { ...ne[w] };
412
+ k("--header-bg", P.headerBg), k("--header-text", P.headerText), k("--sidebar-bg", P.sidebarBg), k("--sidebar-text", P.sidebarText), k("--button-primary", P.buttonPrimary), k("--button-primary-hover", P.buttonPrimaryHover), k("--button-primary-active", P.buttonPrimaryActive), k("--button-default", P.buttonDefault), k("--button-default-hover", P.buttonDefaultHover), k("--button-default-border", P.buttonDefaultBorder), k(
393
413
  "--button-permission-border",
394
- L.buttonPermissionBorder
395
- ), c.current && c.current.setAttribute("data-theme", b), document.documentElement.setAttribute("data-theme", b);
414
+ P.buttonPermissionBorder
415
+ ), a.current && a.current.setAttribute("data-theme", w), document.documentElement.setAttribute("data-theme", w);
396
416
  };
397
- E(() => {
398
- if (k && te[k]) {
399
- const b = { ...te[k] };
400
- x("--header-bg", b.headerBg), x("--header-text", b.headerText), x("--sidebar-bg", b.sidebarBg), x("--sidebar-text", b.sidebarText), x("--button-primary", b.buttonPrimary), x("--button-primary-hover", b.buttonPrimaryHover), x(
417
+ D(() => {
418
+ if (C && ne[C]) {
419
+ const w = { ...ne[C] };
420
+ k("--header-bg", w.headerBg), k("--header-text", w.headerText), k("--sidebar-bg", w.sidebarBg), k("--sidebar-text", w.sidebarText), k("--button-primary", w.buttonPrimary), k("--button-primary-hover", w.buttonPrimaryHover), k(
401
421
  "--button-primary-active",
402
- b.buttonPrimaryActive
403
- ), x("--button-default", b.buttonDefault), x("--button-default-hover", b.buttonDefaultHover), x(
422
+ w.buttonPrimaryActive
423
+ ), k("--button-default", w.buttonDefault), k("--button-default-hover", w.buttonDefaultHover), k(
404
424
  "--button-default-border",
405
- b.buttonDefaultBorder
406
- ), x(
425
+ w.buttonDefaultBorder
426
+ ), k(
407
427
  "--button-permission-border",
408
- b.buttonPermissionBorder
409
- ), c.current && c.current.setAttribute("data-theme", k), document.documentElement.setAttribute("data-theme", k);
428
+ w.buttonPermissionBorder
429
+ ), a.current && a.current.setAttribute("data-theme", C), document.documentElement.setAttribute("data-theme", C);
410
430
  } else
411
- $("modern");
412
- }, [k]);
431
+ H("modern");
432
+ }, [C]);
413
433
  const K = () => {
414
434
  g();
415
- }, H = () => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
435
+ }, V = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
416
436
  /* @__PURE__ */ e("g", { clipPath: "url(#clip0_1424_1089)", children: /* @__PURE__ */ e(
417
437
  "path",
418
438
  {
@@ -424,8 +444,8 @@ const Ft = ({
424
444
  ) }),
425
445
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1424_1089", children: /* @__PURE__ */ e("rect", { width: "20", height: "20", fill: "white" }) }) })
426
446
  ] });
427
- Ne ? Ne("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
428
- const J = /* @__PURE__ */ i(
447
+ xe ? xe("HH:mm:ss") : (/* @__PURE__ */ new Date()).toLocaleTimeString("ko-KR");
448
+ const J = /* @__PURE__ */ s(
429
449
  "div",
430
450
  {
431
451
  className: "theme-setting-popover",
@@ -433,7 +453,7 @@ const Ft = ({
433
453
  minWidth: "320px"
434
454
  },
435
455
  children: [
436
- /* @__PURE__ */ i(
456
+ /* @__PURE__ */ s(
437
457
  "div",
438
458
  {
439
459
  style: {
@@ -444,7 +464,7 @@ const Ft = ({
444
464
  },
445
465
  children: [
446
466
  /* @__PURE__ */ e("div", { className: "sub-title", style: { marginBottom: 10 }, children: "테마 선택" }),
447
- /* @__PURE__ */ i(
467
+ /* @__PURE__ */ s(
448
468
  "div",
449
469
  {
450
470
  style: {
@@ -455,24 +475,24 @@ const Ft = ({
455
475
  },
456
476
  children: [
457
477
  /* @__PURE__ */ e(
458
- B,
478
+ L,
459
479
  {
460
- className: `theme-swatch-btn theme-swatch-modern ${k === "modern" ? "active" : ""}`,
480
+ className: `theme-swatch-btn theme-swatch-modern ${C === "modern" ? "active" : ""}`,
461
481
  type: "text",
462
482
  size: "small",
463
- onClick: () => $("modern")
483
+ onClick: () => H("modern")
464
484
  },
465
485
  "modern"
466
486
  ),
467
- Object.entries(te).filter(([b]) => b !== "modern").map(([b, L]) => /* @__PURE__ */ e(
468
- B,
487
+ Object.entries(ne).filter(([w]) => w !== "modern").map(([w, P]) => /* @__PURE__ */ e(
488
+ L,
469
489
  {
470
- className: `theme-swatch-btn theme-swatch-${b} ${k === b ? "active" : ""}`,
490
+ className: `theme-swatch-btn theme-swatch-${w} ${C === w ? "active" : ""}`,
471
491
  type: "text",
472
492
  size: "small",
473
- onClick: () => $(b)
493
+ onClick: () => H(w)
474
494
  },
475
- b
495
+ w
476
496
  ))
477
497
  ]
478
498
  }
@@ -480,8 +500,8 @@ const Ft = ({
480
500
  ]
481
501
  }
482
502
  ),
483
- /* @__PURE__ */ i(
484
- be,
503
+ /* @__PURE__ */ s(
504
+ Ce,
485
505
  {
486
506
  theme: {
487
507
  components: {
@@ -504,14 +524,14 @@ const Ft = ({
504
524
  }
505
525
  },
506
526
  children: [
507
- /* @__PURE__ */ i("div", { style: {
527
+ /* @__PURE__ */ s("div", { style: {
508
528
  display: "flex",
509
529
  flexDirection: "column",
510
530
  gap: 20,
511
531
  padding: "0 10px"
512
532
  }, children: [
513
- /* @__PURE__ */ i("div", { children: [
514
- /* @__PURE__ */ i(
533
+ /* @__PURE__ */ s("div", { children: [
534
+ /* @__PURE__ */ s(
515
535
  re,
516
536
  {
517
537
  justify: "space-between",
@@ -519,14 +539,14 @@ const Ft = ({
519
539
  children: [
520
540
  /* @__PURE__ */ e("span", { className: "sub-title", children: "컴포넌트 크기" }),
521
541
  /* @__PURE__ */ e(
522
- B,
542
+ L,
523
543
  {
524
544
  className: "bwg-btn",
525
545
  type: "text",
526
546
  size: "small",
527
- icon: /* @__PURE__ */ e(H, {}),
528
- onClick: () => u(S),
529
- disabled: h === S,
547
+ icon: /* @__PURE__ */ e(V, {}),
548
+ onClick: () => h(N),
549
+ disabled: c === N,
530
550
  style: { padding: "0", gap: "3px", height: "20px", lineHeight: "20px" },
531
551
  children: "초기화"
532
552
  }
@@ -538,17 +558,17 @@ const Ft = ({
538
558
  ce,
539
559
  {
540
560
  className: "theme-ctrl-slider",
541
- marks: he,
542
- value: h,
561
+ marks: ue,
562
+ value: c,
543
563
  min: 0,
544
564
  max: 2,
545
565
  step: 1,
546
- onChange: (b) => u(b)
566
+ onChange: (w) => h(w)
547
567
  }
548
568
  )
549
569
  ] }),
550
- /* @__PURE__ */ i("div", { children: [
551
- /* @__PURE__ */ i(
570
+ /* @__PURE__ */ s("div", { children: [
571
+ /* @__PURE__ */ s(
552
572
  re,
553
573
  {
554
574
  justify: "space-between",
@@ -556,14 +576,14 @@ const Ft = ({
556
576
  children: [
557
577
  /* @__PURE__ */ e("span", { className: "sub-title", children: "그리드 크기" }),
558
578
  /* @__PURE__ */ e(
559
- B,
579
+ L,
560
580
  {
561
581
  className: "bwg-btn",
562
582
  type: "text",
563
583
  size: "small",
564
- icon: /* @__PURE__ */ e(H, {}),
565
- onClick: () => p(_),
566
- disabled: f === _,
584
+ icon: /* @__PURE__ */ e(V, {}),
585
+ onClick: () => f(T),
586
+ disabled: b === T,
567
587
  style: { padding: "0", gap: "3px", height: "20px", lineHeight: "20px" },
568
588
  children: "초기화"
569
589
  }
@@ -575,17 +595,17 @@ const Ft = ({
575
595
  ce,
576
596
  {
577
597
  className: "theme-ctrl-slider",
578
- marks: he,
579
- value: f,
598
+ marks: ue,
599
+ value: b,
580
600
  min: 0,
581
601
  max: 2,
582
602
  step: 1,
583
- onChange: (b) => p(b)
603
+ onChange: (w) => f(w)
584
604
  }
585
605
  )
586
606
  ] }),
587
- /* @__PURE__ */ i("div", { children: [
588
- /* @__PURE__ */ i(
607
+ /* @__PURE__ */ s("div", { children: [
608
+ /* @__PURE__ */ s(
589
609
  re,
590
610
  {
591
611
  justify: "space-between",
@@ -593,14 +613,14 @@ const Ft = ({
593
613
  children: [
594
614
  /* @__PURE__ */ e("span", { className: "sub-title", children: "여백 조정" }),
595
615
  /* @__PURE__ */ e(
596
- B,
616
+ L,
597
617
  {
598
618
  className: "bwg-btn",
599
619
  type: "text",
600
620
  size: "small",
601
- icon: /* @__PURE__ */ e(H, {}),
602
- onClick: () => d(O),
603
- disabled: N === O,
621
+ icon: /* @__PURE__ */ e(V, {}),
622
+ onClick: () => u(B),
623
+ disabled: I === B,
604
624
  style: { padding: "0", gap: "3px", height: "20px", lineHeight: "20px" },
605
625
  children: "초기화"
606
626
  }
@@ -612,18 +632,18 @@ const Ft = ({
612
632
  ce,
613
633
  {
614
634
  className: "theme-ctrl-slider",
615
- marks: he,
616
- value: N,
635
+ marks: ue,
636
+ value: I,
617
637
  min: 0,
618
638
  max: 2,
619
639
  step: 1,
620
- onChange: (b) => d(b)
640
+ onChange: (w) => u(w)
621
641
  }
622
642
  )
623
643
  ] })
624
644
  ] }),
625
- /* @__PURE__ */ e(xe, { style: { margin: "20px 0 15px", borderBlockStart: "1px solid #dddddd" } }),
626
- /* @__PURE__ */ i(
645
+ /* @__PURE__ */ e(Ie, { style: { margin: "20px 0 15px", borderBlockStart: "1px solid #dddddd" } }),
646
+ /* @__PURE__ */ s(
627
647
  "div",
628
648
  {
629
649
  style: {
@@ -635,10 +655,10 @@ const Ft = ({
635
655
  children: [
636
656
  /* @__PURE__ */ e("span", { className: "sub-title", children: "화면 보호 활성화" }),
637
657
  /* @__PURE__ */ e(
638
- Ze,
658
+ tt,
639
659
  {
640
- checked: l,
641
- onChange: P
660
+ checked: p,
661
+ onChange: S
642
662
  }
643
663
  )
644
664
  ]
@@ -647,20 +667,20 @@ const Ft = ({
647
667
  ]
648
668
  }
649
669
  ),
650
- /* @__PURE__ */ e(xe, { style: { margin: "15px 0 20px", borderBlockStart: "1px solid #dddddd" } }),
670
+ /* @__PURE__ */ e(Ie, { style: { margin: "15px 0 20px", borderBlockStart: "1px solid #dddddd" } }),
651
671
  /* @__PURE__ */ e("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ e(
652
- B,
672
+ L,
653
673
  {
654
674
  className: "bwg-btn",
655
675
  type: "default",
656
676
  size: "small",
657
- icon: /* @__PURE__ */ e(H, {}),
677
+ icon: /* @__PURE__ */ e(V, {}),
658
678
  onClick: () => {
659
- Ut({
679
+ nn({
660
680
  title: "전체 그리드 레이아웃 초기화",
661
681
  content: "임의 변경한 그리드 레이아웃 변경사항을 초기화하시겠습니까? 기존 열려있는 화면들은 다시 열어야 적용됩니다.",
662
682
  onOk() {
663
- C();
683
+ m();
664
684
  }
665
685
  });
666
686
  },
@@ -670,18 +690,18 @@ const Ft = ({
670
690
  ]
671
691
  }
672
692
  );
673
- return /* @__PURE__ */ i(
674
- Zt,
693
+ return /* @__PURE__ */ s(
694
+ tn,
675
695
  {
676
- className: o.wrapper.className,
677
- style: { ...o.wrapper.style },
696
+ className: i.wrapper.className,
697
+ style: { ...i.wrapper.style },
678
698
  children: [
679
- o.logo && /* @__PURE__ */ e("div", { className: "header-left", children: /* @__PURE__ */ e(
699
+ i.logo && /* @__PURE__ */ e("div", { className: "header-left", children: /* @__PURE__ */ e(
680
700
  "div",
681
701
  {
682
702
  className: "logo-container",
683
- style: { gap: o.logo?.gap },
684
- children: o.logo?.items
703
+ style: { gap: i.logo?.gap },
704
+ children: i.logo?.items
685
705
  }
686
706
  ) }),
687
707
  t && /* @__PURE__ */ e(
@@ -697,63 +717,63 @@ const Ft = ({
697
717
  children: t
698
718
  }
699
719
  ),
700
- /* @__PURE__ */ i(
720
+ /* @__PURE__ */ s(
701
721
  "div",
702
722
  {
703
723
  className: "header-right",
704
724
  style: {
705
- gap: o.right?.gap,
706
- minWidth: o.right?.minWidth
725
+ gap: i.right?.gap,
726
+ minWidth: i.right?.minWidth
707
727
  },
708
728
  children: [
709
- o.right?.items?.map((b, L) => /* @__PURE__ */ e("div", { children: b }, L)),
710
- o.right?.alarm?.visible && /* @__PURE__ */ e(
711
- B,
729
+ i.right?.items?.map((w, P) => /* @__PURE__ */ e("div", { children: w }, P)),
730
+ i.right?.alarm?.visible && /* @__PURE__ */ e(
731
+ L,
712
732
  {
713
733
  type: "text",
714
- icon: /* @__PURE__ */ e("img", { src: Gt, alt: "알림" }),
734
+ icon: /* @__PURE__ */ e("img", { src: qt, alt: "알림" }),
715
735
  className: "alarm-btn",
716
- onClick: o.right?.alarm?.onClick
736
+ onClick: i.right?.alarm?.onClick
717
737
  }
718
738
  ),
719
- o.right?.theme?.visible && /* @__PURE__ */ e(
720
- Ye,
739
+ i.right?.theme?.visible && /* @__PURE__ */ e(
740
+ rt,
721
741
  {
722
742
  content: J,
723
743
  title: /* @__PURE__ */ e("span", { style: { display: "inline-block", fontSize: 16, color: "var(--text-primary)", lineHeight: "30px", marginBottom: "2px" }, children: "개인 설정" }),
724
744
  trigger: "click",
725
745
  placement: "bottomRight",
726
- onOpenChange: (b) => o.right?.theme?.onOpenChange?.(b),
746
+ onOpenChange: (w) => i.right?.theme?.onOpenChange?.(w),
727
747
  children: /* @__PURE__ */ e(
728
- B,
748
+ L,
729
749
  {
730
750
  type: "text",
731
- icon: /* @__PURE__ */ e("img", { src: Kt, alt: "개인설정" }),
751
+ icon: /* @__PURE__ */ e("img", { src: en, alt: "개인설정" }),
732
752
  className: "theme-btn",
733
- onClick: o.right?.theme?.onClick
753
+ onClick: i.right?.theme?.onClick
734
754
  }
735
755
  )
736
756
  }
737
757
  ),
738
- o.right?.logout?.visible && /* @__PURE__ */ e(
739
- B,
758
+ i.right?.logout?.visible && /* @__PURE__ */ e(
759
+ L,
740
760
  {
741
761
  type: "text",
742
- icon: /* @__PURE__ */ e("img", { src: Vt, alt: "로그아웃" }),
743
- onClick: o.right?.logout?.onClick || K,
762
+ icon: /* @__PURE__ */ e("img", { src: $t, alt: "로그아웃" }),
763
+ onClick: i.right?.logout?.onClick || K,
744
764
  className: "logout-btn"
745
765
  }
746
766
  ),
747
- o.right?.avatar?.visible && /* @__PURE__ */ e(
748
- qe,
767
+ i.right?.avatar?.visible && /* @__PURE__ */ e(
768
+ ot,
749
769
  {
750
- icon: /* @__PURE__ */ e(ct, {}),
770
+ icon: /* @__PURE__ */ e(gt, {}),
751
771
  className: "avatar",
752
772
  style: {
753
- width: o.right?.avatar?.width,
754
- height: o.right?.avatar?.height
773
+ width: i.right?.avatar?.width,
774
+ height: i.right?.avatar?.height
755
775
  },
756
- onClick: o.right?.avatar?.onClick
776
+ onClick: i.right?.avatar?.onClick
757
777
  }
758
778
  )
759
779
  ]
@@ -764,268 +784,268 @@ const Ft = ({
764
784
  );
765
785
  }, me = /* @__PURE__ */ Object.freeze({
766
786
  Translate: {
767
- toString(n) {
768
- if (!n)
787
+ toString(r) {
788
+ if (!r)
769
789
  return;
770
790
  const {
771
791
  x: t,
772
- y: r
773
- } = n;
774
- return "translate3d(" + (t ? Math.round(t) : 0) + "px, " + (r ? Math.round(r) : 0) + "px, 0)";
792
+ y: n
793
+ } = r;
794
+ return "translate3d(" + (t ? Math.round(t) : 0) + "px, " + (n ? Math.round(n) : 0) + "px, 0)";
775
795
  }
776
796
  },
777
797
  Scale: {
778
- toString(n) {
779
- if (!n)
798
+ toString(r) {
799
+ if (!r)
780
800
  return;
781
801
  const {
782
802
  scaleX: t,
783
- scaleY: r
784
- } = n;
785
- return "scaleX(" + t + ") scaleY(" + r + ")";
803
+ scaleY: n
804
+ } = r;
805
+ return "scaleX(" + t + ") scaleY(" + n + ")";
786
806
  }
787
807
  },
788
808
  Transform: {
789
- toString(n) {
790
- if (n)
791
- return [me.Translate.toString(n), me.Scale.toString(n)].join(" ");
809
+ toString(r) {
810
+ if (r)
811
+ return [me.Translate.toString(r), me.Scale.toString(r)].join(" ");
792
812
  }
793
813
  },
794
814
  Transition: {
795
- toString(n) {
815
+ toString(r) {
796
816
  let {
797
817
  property: t,
798
- duration: r,
799
- easing: o
800
- } = n;
801
- return t + " " + r + "ms " + o;
818
+ duration: n,
819
+ easing: i
820
+ } = r;
821
+ return t + " " + n + "ms " + i;
802
822
  }
803
823
  }
804
- }), Yt = Ce(
805
- ({ className: n, ...t }) => {
806
- const r = X(null), {
807
- attributes: o,
808
- listeners: a,
809
- transform: c,
824
+ }), rn = fe(
825
+ ({ className: r, ...t }) => {
826
+ const n = q(null), {
827
+ attributes: i,
828
+ listeners: l,
829
+ transform: a,
810
830
  transition: g,
811
- isDragging: h,
812
- setNodeRef: u
813
- } = Tt({ id: t["data-node-key"] }), [f, p] = A();
814
- E(() => {
815
- const C = r.current;
816
- if (C)
817
- if (h) {
818
- const S = Math.round(C.getBoundingClientRect().width);
819
- p(S);
831
+ isDragging: c,
832
+ setNodeRef: h
833
+ } = Ht({ id: t["data-node-key"] }), [b, f] = F();
834
+ D(() => {
835
+ const m = n.current;
836
+ if (m)
837
+ if (c) {
838
+ const N = Math.round(m.getBoundingClientRect().width);
839
+ f(N);
820
840
  } else
821
- p(void 0);
822
- }, [h]);
823
- const N = {
841
+ f(void 0);
842
+ }, [c]);
843
+ const I = {
824
844
  ...t.style,
825
- transform: c ? me.Transform.toString(c) : void 0,
845
+ transform: a ? me.Transform.toString(a) : void 0,
826
846
  transition: g ?? "transform 0.16s ease",
827
847
  cursor: "grab",
828
848
  userSelect: "none",
829
849
  willChange: "transform",
830
850
  // ✅ 드래그 중 픽셀 폭 고정 (flex 재계산 억제)
831
- width: f ?? void 0,
832
- minWidth: f ?? void 0,
833
- maxWidth: f ?? void 0,
834
- flex: f !== void 0 ? "0 0 auto" : void 0
835
- }, d = t.children, l = d.props?.className || "", m = t["data-gubun"] === "C" ? l ? `${l} tab-special` : "tab-special" : l;
836
- return rt(d, {
837
- ref: (C) => {
838
- r.current !== C && (r.current = C), u(C);
851
+ width: b ?? void 0,
852
+ minWidth: b ?? void 0,
853
+ maxWidth: b ?? void 0,
854
+ flex: b !== void 0 ? "0 0 auto" : void 0
855
+ }, u = t.children, p = u.props?.className || "", d = t["data-gubun"] === "C" ? p ? `${p} tab-special` : "tab-special" : p;
856
+ return Ye(u, {
857
+ ref: (m) => {
858
+ n.current !== m && (n.current = m), h(m);
839
859
  },
840
- className: m,
841
- style: N,
842
- ...o,
843
- ...a
860
+ className: d,
861
+ style: I,
862
+ ...i,
863
+ ...l
844
864
  });
845
865
  }
846
- ), qt = Ce(function({
866
+ ), on = fe(function({
847
867
  config: t,
848
- isFirst: r,
849
- isLast: o,
850
- canCloseAll: a,
851
- onFirst: c,
868
+ isFirst: n,
869
+ isLast: i,
870
+ canCloseAll: l,
871
+ onFirst: a,
852
872
  onPrev: g,
853
- onNext: h,
854
- onLast: u,
855
- onCloseAll: f
873
+ onNext: c,
874
+ onLast: h,
875
+ onCloseAll: b
856
876
  }) {
857
- return /* @__PURE__ */ i("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
877
+ return /* @__PURE__ */ s("div", { className: t.wrapper?.className, style: t.wrapper?.style, children: [
858
878
  /* @__PURE__ */ e(
859
- ee,
879
+ te,
860
880
  {
861
881
  title: "첫 번째 탭",
862
882
  className: t.tooltip?.className,
863
883
  style: t.tooltip?.style,
864
884
  children: /* @__PURE__ */ e(
865
- B,
885
+ L,
866
886
  {
867
887
  className: t.buttons?.className,
868
888
  style: t.buttons?.style,
869
889
  size: "small",
870
- icon: /* @__PURE__ */ e(dt, {}),
871
- onClick: c,
872
- disabled: r
890
+ icon: /* @__PURE__ */ e(ft, {}),
891
+ onClick: a,
892
+ disabled: n
873
893
  }
874
894
  )
875
895
  }
876
896
  ),
877
897
  /* @__PURE__ */ e(
878
- ee,
898
+ te,
879
899
  {
880
900
  title: "이전 탭",
881
901
  className: t.tooltip?.className,
882
902
  style: t.tooltip?.style,
883
903
  children: /* @__PURE__ */ e(
884
- B,
904
+ L,
885
905
  {
886
906
  className: t.buttons?.className,
887
907
  style: t.buttons?.style,
888
908
  size: "small",
889
- icon: /* @__PURE__ */ e(ht, {}),
909
+ icon: /* @__PURE__ */ e(bt, {}),
890
910
  onClick: g,
891
- disabled: r
911
+ disabled: n
892
912
  }
893
913
  )
894
914
  }
895
915
  ),
896
916
  /* @__PURE__ */ e(
897
- ee,
917
+ te,
898
918
  {
899
919
  title: "다음 탭",
900
920
  className: t.tooltip?.className,
901
921
  style: t.tooltip?.style,
902
922
  children: /* @__PURE__ */ e(
903
- B,
923
+ L,
904
924
  {
905
925
  className: t.buttons?.className,
906
926
  style: t.buttons?.style,
907
927
  size: "small",
908
- icon: /* @__PURE__ */ e(ut, {}),
909
- onClick: h,
910
- disabled: o
928
+ icon: /* @__PURE__ */ e(Ct, {}),
929
+ onClick: c,
930
+ disabled: i
911
931
  }
912
932
  )
913
933
  }
914
934
  ),
915
935
  /* @__PURE__ */ e(
916
- ee,
936
+ te,
917
937
  {
918
938
  title: "마지막 탭",
919
939
  className: t.tooltip?.className,
920
940
  style: t.tooltip?.style,
921
941
  children: /* @__PURE__ */ e(
922
- B,
942
+ L,
923
943
  {
924
944
  className: t.buttons?.className,
925
945
  style: t.buttons?.style,
926
946
  size: "small",
927
- icon: /* @__PURE__ */ e(pt, {}),
928
- onClick: u,
929
- disabled: o
947
+ icon: /* @__PURE__ */ e(yt, {}),
948
+ onClick: h,
949
+ disabled: i
930
950
  }
931
951
  )
932
952
  }
933
953
  ),
934
954
  /* @__PURE__ */ e(
935
- ee,
955
+ te,
936
956
  {
937
957
  title: "모든 탭 닫기",
938
958
  className: t.tooltip?.className,
939
959
  style: t.tooltip?.style,
940
960
  children: /* @__PURE__ */ e(
941
- B,
961
+ L,
942
962
  {
943
963
  className: t.buttons?.className,
944
964
  style: t.buttons?.style,
945
965
  size: "small",
946
966
  icon: /* @__PURE__ */ e(Ee, {}),
947
- onClick: f,
948
- disabled: !a
967
+ onClick: b,
968
+ disabled: !l
949
969
  }
950
970
  )
951
971
  }
952
972
  )
953
973
  ] });
954
- }), Qt = ({
955
- config: n = {}
974
+ }), sn = ({
975
+ config: r = {}
956
976
  }) => {
957
977
  const t = {
958
978
  wrapper: {
959
979
  className: "menu-tab-wrapper",
960
- ...n?.wrapper
980
+ ...r?.wrapper
961
981
  },
962
982
  tabs: {
963
983
  className: "menu-tabs",
964
- ...n?.tabs
984
+ ...r?.tabs
965
985
  },
966
986
  nav: {
967
987
  wrapper: {
968
988
  className: "menu-nav-wrapper",
969
- ...n?.nav?.wrapper
989
+ ...r?.nav?.wrapper
970
990
  },
971
991
  buttons: {
972
992
  className: "menu-nav-buttons",
973
- ...n?.nav?.buttons
993
+ ...r?.nav?.buttons
974
994
  },
975
995
  tooltip: {
976
996
  className: "menu-nav-tooltip",
977
- ...n?.nav?.tooltip
997
+ ...r?.nav?.tooltip
978
998
  },
979
- ...n?.nav
999
+ ...r?.nav
980
1000
  },
981
- ...n
982
- }, r = D((s) => s.tabs), o = D((s) => s.activeMenuId), a = D((s) => s.pinnedTabs), c = D((s) => s.focusTab), g = D((s) => s.closeTab), h = D((s) => s.reorderTabs), u = D((s) => s.togglePinTab), f = D((s) => s.refreshTab), p = D((s) => s.closeOtherTabs), N = D((s) => s.closeRightTabs);
983
- D((s) => s.closeAllTabs);
984
- const d = wt(
985
- kt(xt, { activationConstraint: { distance: 6 } })
986
- ), l = (s) => {
987
- c(s);
988
- }, P = (s, v) => {
989
- v === "remove" && typeof s == "string" && g(s);
990
- }, k = () => {
991
- r.length > 0 && c(r[0].key);
992
- }, m = () => {
993
- if (!o || r.length <= 1) return;
994
- const s = r.findIndex((v) => v.key === o);
995
- s > 0 && c(r[s - 1].key);
1001
+ ...r
1002
+ }, n = O((o) => o.tabs), i = O((o) => o.activeMenuId), l = O((o) => o.pinnedTabs), a = O((o) => o.focusTab), g = O((o) => o.closeTab), c = O((o) => o.reorderTabs), h = O((o) => o.togglePinTab), b = O((o) => o.refreshTab), f = O((o) => o.closeOtherTabs), I = O((o) => o.closeRightTabs);
1003
+ O((o) => o.closeAllTabs);
1004
+ const u = Pt(
1005
+ Lt(Mt, { activationConstraint: { distance: 6 } })
1006
+ ), p = (o) => {
1007
+ a(o);
1008
+ }, S = (o, y) => {
1009
+ y === "remove" && typeof o == "string" && g(o);
996
1010
  }, C = () => {
997
- if (!o || r.length <= 1) return;
998
- const s = r.findIndex((v) => v.key === o);
999
- s < r.length - 1 && c(r[s + 1].key);
1000
- }, S = () => {
1001
- r.length > 0 && c(r[r.length - 1].key);
1002
- }, _ = () => {
1003
- r.forEach((s) => {
1004
- a.has(s.key) || g(s.key);
1011
+ n.length > 0 && a(n[0].key);
1012
+ }, d = () => {
1013
+ if (!i || n.length <= 1) return;
1014
+ const o = n.findIndex((y) => y.key === i);
1015
+ o > 0 && a(n[o - 1].key);
1016
+ }, m = () => {
1017
+ if (!i || n.length <= 1) return;
1018
+ const o = n.findIndex((y) => y.key === i);
1019
+ o < n.length - 1 && a(n[o + 1].key);
1020
+ }, N = () => {
1021
+ n.length > 0 && a(n[n.length - 1].key);
1022
+ }, T = () => {
1023
+ n.forEach((o) => {
1024
+ l.has(o.key) || g(o.key);
1005
1025
  });
1006
- }, O = R((s) => (v) => {
1007
- v.preventDefault(), v.stopPropagation();
1008
- }, []), x = R(
1009
- (s) => {
1010
- const v = a.has(s), M = r.findIndex((ne) => ne.key === s), T = M >= 0 && M < r.length - 1, W = r.length > 1;
1026
+ }, B = R((o) => (y) => {
1027
+ y.preventDefault(), y.stopPropagation();
1028
+ }, []), k = R(
1029
+ (o) => {
1030
+ const y = l.has(o), A = n.findIndex((_) => _.key === o), M = A >= 0 && A < n.length - 1, E = n.length > 1;
1011
1031
  return [
1012
1032
  {
1013
1033
  key: "close",
1014
1034
  label: "닫기",
1015
- icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1035
+ icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1016
1036
  /* @__PURE__ */ e("g", { "clip-path": "url(#clip0_1409_1182)", children: /* @__PURE__ */ e("path", { d: "M16.2 5.80005L5.79004 16.21M5.80004 5.80005L16.21 16.21", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }),
1017
1037
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1182", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1018
1038
  ] }),
1019
1039
  onClick: () => {
1020
- v || g(s);
1040
+ y || g(o);
1021
1041
  },
1022
- disabled: v
1042
+ disabled: y
1023
1043
  },
1024
1044
  {
1025
1045
  key: "pin",
1026
- label: v ? "고정 해제" : "고정",
1027
- icon: v ? /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1028
- /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1222)", children: [
1046
+ label: y ? "고정 해제" : "고정",
1047
+ icon: y ? /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1048
+ /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1222)", children: [
1029
1049
  /* @__PURE__ */ e("path", { d: "M8.19998 8.28992C7.38998 8.41992 6.60998 8.78992 5.97998 9.41992L12.58 16.0199C13.2 15.3999 13.57 14.6299 13.7 13.8199", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1030
1050
  /* @__PURE__ */ e("path", { d: "M13.7601 10.9099L16.2101 8.45993L13.5501 5.79993L11.1001 8.24993", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1031
1051
  /* @__PURE__ */ e("path", { d: "M12.4502 4.70996L17.2902 9.54996", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
@@ -1033,8 +1053,8 @@ const Ft = ({
1033
1053
  /* @__PURE__ */ e("path", { d: "M5.27979 5.27991L16.7198 16.7199", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
1034
1054
  ] }),
1035
1055
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1222", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1036
- ] }) : /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1037
- /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1186)", children: [
1056
+ ] }) : /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1057
+ /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1186)", children: [
1038
1058
  /* @__PURE__ */ e("path", { d: "M13.32 11.3399L16.2 8.45993L13.54 5.79993L10.66 8.67993C9.13998 7.91993 7.24998 8.15993 5.97998 9.41993L12.58 16.0199C13.85 14.7499 14.08 12.8599 13.32 11.3399Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1039
1059
  /* @__PURE__ */ e("path", { d: "M12.4502 4.70996L17.2902 9.54996", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1040
1060
  /* @__PURE__ */ e("path", { d: "M9.27996 12.72L4.70996 17.29", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
@@ -1042,18 +1062,18 @@ const Ft = ({
1042
1062
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1186", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1043
1063
  ] }),
1044
1064
  onClick: () => {
1045
- u(s);
1065
+ h(o);
1046
1066
  }
1047
1067
  },
1048
1068
  {
1049
1069
  key: "refresh",
1050
1070
  label: "새로고침",
1051
- icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1071
+ icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1052
1072
  /* @__PURE__ */ e("g", { "clip-path": "url(#clip0_1409_1193)", children: /* @__PURE__ */ e("path", { d: "M16.1801 13.13C15.7801 14.25 15.0401 15.22 14.0401 15.87C13.0501 16.53 11.8701 16.85 10.6801 16.78C9.49009 16.71 8.36009 16.26 7.45009 15.49C6.54009 14.72 5.91009 13.68 5.64009 12.52C5.38009 11.36 5.50009 10.15 5.98009 9.05996C6.47009 7.96996 7.29009 7.07996 8.33009 6.49996C9.37009 5.91996 10.5701 5.69996 11.7501 5.86996C13.7401 6.14996 15.0501 7.58996 16.4701 8.85996M16.4901 5.20996V8.86996H12.8301", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }),
1053
1073
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1193", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1054
1074
  ] }),
1055
1075
  onClick: () => {
1056
- f(s);
1076
+ b(o);
1057
1077
  }
1058
1078
  },
1059
1079
  {
@@ -1062,8 +1082,8 @@ const Ft = ({
1062
1082
  {
1063
1083
  key: "closeOthers",
1064
1084
  label: "다른 탭 닫기",
1065
- icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1066
- /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1197)", children: [
1085
+ icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1086
+ /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1197)", children: [
1067
1087
  /* @__PURE__ */ e("path", { d: "M4.52979 5.74005V16.2601C4.52979 16.7101 4.88979 17.0701 5.33979 17.0701H16.6698C17.1198 17.0701 17.4798 16.7101 17.4798 16.2601V8.17005C17.4798 7.72005 17.1198 7.36005 16.6698 7.36005H12.6898C12.3898 7.36005 12.1098 7.23005 11.9198 7.00005L10.4398 5.22005C10.2898 5.04005 10.0598 4.93005 9.81978 4.93005H5.33979C4.88979 4.93005 4.52979 5.29005 4.52979 5.74005Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1068
1088
  /* @__PURE__ */ e("path", { d: "M13.3598 7.36011H4.52979", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1069
1089
  /* @__PURE__ */ e("path", { d: "M12.7897 10.4301L9.19971 14.0201M9.20971 10.4301L12.7997 14.0201", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
@@ -1071,15 +1091,15 @@ const Ft = ({
1071
1091
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1197", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1072
1092
  ] }),
1073
1093
  onClick: () => {
1074
- p(s);
1094
+ f(o);
1075
1095
  },
1076
- disabled: !W
1096
+ disabled: !E
1077
1097
  },
1078
1098
  {
1079
1099
  key: "closeRight",
1080
1100
  label: "우측 탭 닫기",
1081
- icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1082
- /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1204)", children: [
1101
+ icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1102
+ /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1204)", children: [
1083
1103
  /* @__PURE__ */ e("path", { d: "M16.3402 10.53V16.51C16.3402 17.05 15.9302 17.49 15.4302 17.49H5.40023C4.90023 17.49 4.49023 17.05 4.49023 16.51V7.73C4.49023 7.19 4.90023 6.75 5.40023 6.75H10.1702", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1084
1104
  /* @__PURE__ */ e("path", { d: "M12.33 11.4301L8.5 15.2601M8.5 11.4301L12.33 15.2601", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1085
1105
  /* @__PURE__ */ e("path", { d: "M12.1699 6.76001H17.4199", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
@@ -1090,15 +1110,15 @@ const Ft = ({
1090
1110
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1204", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1091
1111
  ] }),
1092
1112
  onClick: () => {
1093
- N(s);
1113
+ I(o);
1094
1114
  },
1095
- disabled: !T
1115
+ disabled: !M
1096
1116
  },
1097
1117
  {
1098
1118
  key: "closeAll",
1099
1119
  label: "전체 닫기",
1100
- icon: /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1101
- /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1409_1215)", children: [
1120
+ icon: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1121
+ /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1409_1215)", children: [
1102
1122
  /* @__PURE__ */ e("path", { d: "M14.8405 10.15L10.2305 14.76M10.2305 10.15L14.8405 14.76", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1103
1123
  /* @__PURE__ */ e("path", { d: "M16.5101 7.47998H8.56006C8.00777 7.47998 7.56006 7.9277 7.56006 8.47998V16.43C7.56006 16.9823 8.00777 17.43 8.56006 17.43H16.5101C17.0623 17.43 17.5101 16.9823 17.5101 16.43V8.47998C17.5101 7.9277 17.0623 7.47998 16.5101 7.47998Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1104
1124
  /* @__PURE__ */ e("path", { d: "M5.53023 14.81C4.95023 14.81 4.49023 14.34 4.49023 13.77V5.89999C4.49023 5.31999 4.96023 4.85999 5.53023 4.85999H13.4002C13.9802 4.85999 14.4402 5.32999 14.4402 5.89999", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })
@@ -1106,94 +1126,94 @@ const Ft = ({
1106
1126
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1409_1215", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1107
1127
  ] }),
1108
1128
  onClick: () => {
1109
- _();
1129
+ T();
1110
1130
  },
1111
- disabled: r.length === 0
1131
+ disabled: n.length === 0
1112
1132
  }
1113
1133
  ];
1114
1134
  },
1115
1135
  [
1116
- r,
1117
- a,
1136
+ n,
1137
+ l,
1118
1138
  g,
1119
- u,
1139
+ h,
1140
+ b,
1120
1141
  f,
1121
- p,
1122
- N
1142
+ I
1123
1143
  ]
1124
- ), $ = o ? r.findIndex((s) => s.key === o) : -1, K = $ === 0, H = $ === r.length - 1, J = F(
1125
- () => r.map((s) => {
1126
- const v = a.has(s.key);
1144
+ ), H = i ? n.findIndex((o) => o.key === i) : -1, K = H === 0, V = H === n.length - 1, J = U(
1145
+ () => n.map((o) => {
1146
+ const y = l.has(o.key);
1127
1147
  return {
1128
- key: s.key,
1129
- label: /* @__PURE__ */ i("span", { className: "menu-tabs-text", style: { position: "relative" }, children: [
1130
- v && /* @__PURE__ */ i("svg", { className: "tabs-pin-icon", xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1131
- /* @__PURE__ */ i("g", { "clip-path": "url(#clip0_1413_1595)", children: [
1148
+ key: o.key,
1149
+ label: /* @__PURE__ */ s("span", { className: "menu-tabs-text", style: { position: "relative" }, children: [
1150
+ y && /* @__PURE__ */ s("svg", { className: "tabs-pin-icon", xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
1151
+ /* @__PURE__ */ s("g", { "clip-path": "url(#clip0_1413_1595)", children: [
1132
1152
  /* @__PURE__ */ e("path", { d: "M13.32 11.3399L16.2 8.45993L13.54 5.79993L10.66 8.67993C9.13998 7.91993 7.24998 8.15993 5.97998 9.41993L12.58 16.0199C13.85 14.7499 14.08 12.8599 13.32 11.3399Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1133
1153
  /* @__PURE__ */ e("path", { d: "M12.4502 4.70996L17.2902 9.54996", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1134
1154
  /* @__PURE__ */ e("path", { d: "M9.27996 12.72L4.70996 17.29", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
1135
1155
  ] }),
1136
1156
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1413_1595", children: /* @__PURE__ */ e("rect", { width: "22", height: "22", fill: "white" }) }) })
1137
1157
  ] }),
1138
- s.label
1158
+ o.label
1139
1159
  ] }),
1140
- closable: !v,
1160
+ closable: !y,
1141
1161
  // 고정된 탭은 닫을 수 없음
1142
1162
  children: null
1143
1163
  // 컨텐츠는 Main 쪽에서 렌더 → 여기선 헤더만 필요
1144
1164
  };
1145
1165
  }),
1146
- [r, a]
1147
- ), [b, L] = A(null), w = R(({ active: s }) => {
1148
- L(null);
1149
- }, []), I = R(
1150
- ({ active: s, over: v }) => {
1151
- if (!v || s.id === v.id) return;
1152
- const M = r.findIndex((G) => G.key === s.id), T = r.findIndex((G) => G.key === v.id);
1153
- if (M < 0 || T < 0 || M === T) return;
1154
- const W = r.map((G) => G.key), ne = St(W, M, T);
1155
- h?.(ne);
1166
+ [n, l]
1167
+ ), [w, P] = F(null), G = R(({ active: o }) => {
1168
+ P(null);
1169
+ }, []), v = R(
1170
+ ({ active: o, over: y }) => {
1171
+ if (!y || o.id === y.id) return;
1172
+ const A = n.findIndex((W) => W.key === o.id), M = n.findIndex((W) => W.key === y.id);
1173
+ if (A < 0 || M < 0 || A === M) return;
1174
+ const E = n.map((W) => W.key), _ = Dt(E, A, M);
1175
+ c?.(_);
1156
1176
  },
1157
- [r, h]
1158
- ), y = R(
1159
- (s, v) => /* @__PURE__ */ e(
1160
- Nt,
1177
+ [n, c]
1178
+ ), x = R(
1179
+ (o, y) => /* @__PURE__ */ e(
1180
+ Tt,
1161
1181
  {
1162
- sensors: d,
1163
- onDragStart: w,
1164
- onDragEnd: I,
1165
- collisionDetection: Pt,
1166
- modifiers: [It],
1182
+ sensors: u,
1183
+ onDragStart: G,
1184
+ onDragEnd: v,
1185
+ collisionDetection: Bt,
1186
+ modifiers: [Et],
1167
1187
  children: /* @__PURE__ */ e(
1168
- Lt,
1188
+ Ot,
1169
1189
  {
1170
- items: r.map((M) => M.key),
1171
- strategy: Mt,
1172
- children: /* @__PURE__ */ e(v, { ...s, children: (M) => {
1173
- const T = M.key, W = b === T, G = r.find((le) => le.key === T)?.gubun;
1190
+ items: n.map((A) => A.key),
1191
+ strategy: Rt,
1192
+ children: /* @__PURE__ */ e(y, { ...o, children: (A) => {
1193
+ const M = A.key, E = w === M, W = n.find((ae) => ae.key === M)?.gubun;
1174
1194
  return /* @__PURE__ */ e(
1175
- Qe,
1195
+ it,
1176
1196
  {
1177
1197
  rootClassName: "menu-tabs-dropdown",
1178
- menu: { items: x(T) },
1198
+ menu: { items: k(M) },
1179
1199
  trigger: ["contextMenu"],
1180
- open: W,
1181
- onOpenChange: (le) => {
1182
- L(le ? T : null);
1200
+ open: E,
1201
+ onOpenChange: (ae) => {
1202
+ P(ae ? M : null);
1183
1203
  },
1184
1204
  children: /* @__PURE__ */ e(
1185
1205
  "span",
1186
1206
  {
1187
- onContextMenu: O(T),
1207
+ onContextMenu: B(M),
1188
1208
  style: { display: "inline-block", width: "100%", height: "100%" },
1189
- children: /* @__PURE__ */ Be(
1190
- Yt,
1209
+ children: /* @__PURE__ */ Pe(
1210
+ rn,
1191
1211
  {
1192
- ...M.props,
1193
- key: M.key,
1194
- "data-gubun": G
1212
+ ...A.props,
1213
+ key: A.key,
1214
+ "data-gubun": W
1195
1215
  },
1196
- M
1216
+ A
1197
1217
  )
1198
1218
  }
1199
1219
  )
@@ -1205,13 +1225,13 @@ const Ft = ({
1205
1225
  }
1206
1226
  ),
1207
1227
  [
1208
- d,
1228
+ u,
1229
+ G,
1230
+ v,
1231
+ n,
1209
1232
  w,
1210
- I,
1211
- r,
1212
- b,
1213
- x,
1214
- O
1233
+ k,
1234
+ B
1215
1235
  ]
1216
1236
  );
1217
1237
  return /* @__PURE__ */ e(
@@ -1220,40 +1240,40 @@ const Ft = ({
1220
1240
  className: t.wrapper.className,
1221
1241
  style: {
1222
1242
  ...t.wrapper.style,
1223
- display: r.length === 0 ? "none" : "block"
1243
+ display: n.length === 0 ? "none" : "block"
1224
1244
  },
1225
1245
  children: /* @__PURE__ */ e(
1226
- Xe,
1246
+ st,
1227
1247
  {
1228
1248
  type: "editable-card",
1229
- activeKey: o || void 0,
1230
- onChange: l,
1231
- onEdit: P,
1249
+ activeKey: i || void 0,
1250
+ onChange: p,
1251
+ onEdit: S,
1232
1252
  className: t.tabs.className,
1233
1253
  style: t.tabs.style,
1234
1254
  hideAdd: !0,
1235
1255
  items: J,
1236
1256
  tabBarExtraContent: /* @__PURE__ */ e(
1237
- qt,
1257
+ on,
1238
1258
  {
1239
1259
  config: t?.nav,
1240
1260
  isFirst: !!K,
1241
- isLast: !!H,
1242
- canCloseAll: r.length > 0,
1243
- onFirst: k,
1244
- onPrev: m,
1245
- onNext: C,
1246
- onLast: S,
1247
- onCloseAll: _
1261
+ isLast: !!V,
1262
+ canCloseAll: n.length > 0,
1263
+ onFirst: C,
1264
+ onPrev: d,
1265
+ onNext: m,
1266
+ onLast: N,
1267
+ onCloseAll: T
1248
1268
  }
1249
1269
  ),
1250
- renderTabBar: y
1270
+ renderTabBar: x
1251
1271
  }
1252
1272
  )
1253
1273
  }
1254
1274
  );
1255
- }, { Sider: Xt } = Q, Jt = ({
1256
- config: n = {}
1275
+ }, ln = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAeCAYAAADD0FVVAAAACXBIWXMAAAsSAAALEgHS3X78AAAERklEQVRIiY2VTWxUVRiGn/MzlFZ+hlJ/CNSWhJZIojORQgKJFiQsEA24gZCYWMQqJAbaICTGmmBg5UKGpkZgoaCJCdBFF8Qt0xUxUdLbEsDSYItF2SAdHDrt/Znj4t47d/5s/ZKb3HPOPe95v/d7v3OFMYZq0TnW1gHsBpJAkz8rwahBYfQA6IHzrdfGq+0V5aCdY227gVQEFIRRCDQYDUYBCmH0GYw6ce6lq1P/Cdo51pYCjgCsrF3Dg9wYIMBohNGA8gGNRqDCAyxQW86t6y8Ay3LAxbF69jQeY8eKAz47swBhYhA8pWMN6IQwOn3w5rvxEtAg5SMNNSvZ23gMgEv3T5eA+YAFoIB9OBdLgL5QzjRVI2vZseIAT5y/uXz/DFk7C2ZBBIiufoAJD9C7Dg1/tAVABlVueiXezmK9jGsP+xEhGL6WxekWsQOKD4iB0V0A4oO76wcwalci3o7t2dzJWEFBSopBcvEmcl6O0ae/BcVSwbqKCohCGLlMYnRSEGP48c/cyQwDsVI2QeXffnYPdXJJmRwl6SN8ZySlMLGmSKuoso01LXSs6CK19gfq1FJWLWxie8NOjq7+lM3x1yN9Ce2mwyLGReedrcZf8FNorUuw9/lOVi1sxvrnF4ae3CDnzfDWc+9w8Y/v2NawncSSJABWZoTv718qkkACslv6QkeVbaxpYdXCZkaf3mboyQ2sjEVr3TpGs6NM5v5iKDOClRmhVtXSuqilyGK+xsLoIfHhrZ1pUO1RYRTLYy+wbfkOkkvWUx9bzuTMJFcf/sS2hjdoWbSG4cxNrj/6FStzO2Apg70SkKs1JjYAql0UVfHR7GOu/HmJKw/62RjfxP4X9zOavYcwMc7+fpGca/sWNxrhXzLBWE583fbZuBTEBio6h8iHs3mXydwDZlwHa+oWOdeJKh5aLrLUBQB5dt3lcYw+E7VeqVXWPrOWu9l7pe2JCu1T8CyoCYxKFW6pgyPvxwUqjZGJUiOHOoXpqfJ0g06XCCO39m34JF3o/bMvfzuF0R0YnQndIAr3ZlDZyNwlHeSvqS9CwIr79JDV1SWMPB15ThWxC8cl7ABh9W04mqQoZPHgm0QqhdETpe1X2d8+OxlK0EVZyPIJ0CfCX4copK8LaQsjfeY+a6tvY3e6AqF84s3p1xoUaoJAFdt2sB0XJ3hs28WxXRzHwZlxs1+m++LHj388NSdo7UzNq9PTM00A+Xwex3FxHRfPdfEcj7zjkHdcjOshvHy95+XjwNyg169b54F9lbJUja96errHyycrftGDg4M/Sin3ARhj/PRth9lZJ3i3i8e3bdvZPG/6Uko7m53GdT08L4/r+lq6rq9nNPbwvLzteV4F/QqmAKdOnb4AvDdP6pmenu54tYUqlgKgC7AAPC9fkMC2nQJg8E3VqMq0OA4f/jwJpIGlwMXe3pMdc274P6ABcDPQ3Nt7Mj3vx8C/JdZIJ6CGKOUAAAAASUVORK5CYII=", an = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAeCAYAAADD0FVVAAAACXBIWXMAAAsSAAALEgHS3X78AAAD0UlEQVRIiY2Vz4tbVRTHP+cmmWkaYboSBUvC2IWLolFUFCkzYisFFxUUdGdwK9SZxbiaQsHuXDR2JS6sBf+AzkZcScZB1IJOWtRWW0pbFSuWOr+Tee/dc1y8H3kvk3Z64ZB7H5zPPd9zzj0RM2PU6v98dBqRFiJN4ClMQQ1MF019F/Xt6jOLN0b5yjC0f+lIE1dq49wU4kAEzBJTUA/qMVVQv4D6VvW5b1fyDFcAXnylhcgyIlOuVkfKVcSVEFcCl1yQGSAcA270fnihORLaW365BXJWSlXGHnuDsf1vI+U94EoggiCpuMSSvcgEIp2t75/PwGJm9H481MCVuq5SmxibfAdKewj/Oo+Fd0AcmGE56bH8ZO+z803UN/e+9NNKGunnwESl/hZS2Udw/TO0fxtTxTKA5nJrYMQ2WHVgBsD1LrzYwGzK1Rq4Wp3wzwUs2oohaTSmYAOwpUWzlJzZDEAZs9cxQ9wY0b/fEa1eRsSBM9zeJmOTH2Wh6OYl/N2viO58OeiG7BIDY2Lrmyeny2Y6LSb4/37Br14GV8IwRF3sBOA30d41pHqAyv4PkPFJwlvtAji3n3aY7YsPmpOc5jKGau8a21ffJ/j9OADlh99E3F4wLaYiKajDNHbeAfaDSM1APbr5G7q+HLdN9UDSETnfBF5GFVKlAiI2aHD1STYtuSRXcc0Bk980aodpNx+d5Xswi5QsJTL+SPwpWisoGqi1rkO1U2ib5OasNxOqVB9nbPIEMv4otv03uv5rJtmKEXfEzNhaPHgDkXo2QOI8UJp4lvGDnxY63KINti+9i25cKRYqBp6rHb7aKgOY+pOIO5vlM4Fq7w/CW58M+nT9Crp6AQvXcr05KBCqJ7O3D7D59RPnETmWh0o+wrQL4iiGnqyC6Wzt1evt+EVlYfgWIl1E6ukksjy1AE1gZPCFFAi50Vc7fHUF1VZ+EhXMD50teySrpr6Vv7swpGtHrnVQPTcSasVzbnq1Hzp6896TPyla23JOmXk/NAo9qF9FfXuYUR7+sFz7ojmut2+m0z2KIoIgJAgjwjAkCCLCIN73A+vf3aw25l6je18owD9rtXpcDyUMPWFYIQwjoigiDKNsH0V+Q7OnPFg7/k0BTp06Pfp/e+danJ+fnd4VurS01ALOpucgCDPb3k73QXreCILw0Nzce7vL7/e36fcDzJQg8InskCjyBfneq3r/4PJngNMPIP/p+fnZ7vDHkdAE3AGmvFfy0VQqZUQE4OP5+dmZUb73hKbr+PETTaADTAAXgekzZz5cuZ/PrtAE3AAaQHc3IMD/3g8pLLYaAAEAAAAASUVORK5CYII=", cn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAeCAYAAAAo5+5WAAAACXBIWXMAAAsSAAALEgHS3X78AAAEZklEQVRIiY2WT2xUVRSHv3NnOi2UtlMDRlFsRTegAhHFuGhsogkLIpCQaHTDoCsINgVcmFgjgaaJGzEY48bEqUtiTA2JIa5aGqrixCAhEERswRiJVGZK6bx3/7z3XLw305l2WjnJzbw7efe7v/u755wZiaKIRjE9NJEFdidjC1HUJYFDrPkVq6fE6JHOj/fkGy4GpBF4emiiHzgKdFRfdA6cQaxBjEaMj2j/hjJef1v+wMiy4ERlHtglmRSp1mZcsQyBQ5ytgWrEeIj2UdpD/PJw6zfv52rBasFGI8CudOdKOnc8xcpNayEMkArYWcQZxOqaDXzE+Hu9V97NNwRPD00cBV5qeWI12R0bcXfKzJ67nkArijViErCtQDWifUR7e83z+/rrrJgemugGJlOrmsnu2Ii9Ncvd0WtIYBFrIVGoYl8R7cXDL6P8cvzplRF/bkZ5c92pa6dLFcX9AK1b1wEw+8MfSODAOUi8bTvQQ2vfywstSDbyE8+9DtFeDiCdgHdXjjA7MQmeoWldG+37nl2UMW3DB6rP5vBnRD9eTNR7yUV6OeCTdJIJXQB3x36fv6zAxYvPTxHdngHnYmucQ1pSpHe+iBgDOgEmcLF6c0XxlqqEMKxeVHh7Fv/MZTLbulDbuutUB98XcF9+Bzf/mvc7GQB0Ptedrr4dRYlSC9aiOlYgYYA9dzUpjopiG/vuLKxpR67El6n8cu3e3WmgVIESJJflDKn2DKkn16Ba0qjHVsd2RBHS2kz4259IEBBdvwGJBdRWcLEwKlEU8e/xsxHVyqrLTTLPPELLkZ3o974gtWEdatPjBG8dQ3U/iPxyCfHuIdbUqp2hWMjG6Ra4b6sla+cLoGnzozTv30405xP+fCW24qEHkIxCDR1EvfPGQijE1RtXnjg7Mg81iDG0vP4CKw69Cvc8zJHPUcaH0l3k4dWkf/oK2bAeJm8uSkfiXjPfhIqHv76gtN4s2kOMj0oFpNdmCQuXEa+M8ucQb47UpvWxTbf/gYtXF0LHKBZ6K+kGgFiTw+pRsbpDtA/aI/z7VpxGpiadzp5HvLn4outjBshVJtUmlP30zQtidH9duSYlGxeAXy2EBlCAHMXC1CIwQHt+f16MHqvNimov0OV4vviyAIYpFuqa/cJ+jBgvJ8ZH1TVyD+XH8wYxQ9LElgWvPH1sSrQ3XNceE7VLRJ5iobTwy3SjNy/1bV8VKblBFBIFIVZrrHUYYzHWYa3DGosxFh0Ea95uwFgEHh8fz3rtLRu1tl2gcC7ASQabUrh0KoZai8uksbYJ54JyA+5icE9PT2lw8MQp4MOlzr4gTt0XeHx8PNvTs/U1pQSAMAzjI+v46PEw1bnW5un7AgMoJaZUmgWIrXCJr9ZVn50LsDYgDKN7jRgN/7AADA6emCL5ZVkmxgYGDvU2FLfMon7iHF0qGuZvJZZUXInBwRO9d+7MHHQu2AOQyTR9lM22nRkYODS63Lr/BVeir++DXqB08uTxC/fz/n/BR9oECTo+3AAAAABJRU5ErkJggg==", { Sider: dn } = ee, un = ({
1276
+ config: r = {}
1257
1277
  }) => {
1258
1278
  const t = {
1259
1279
  collapsed: !1,
@@ -1262,7 +1282,7 @@ const Ft = ({
1262
1282
  mainMenu: "MAIN",
1263
1283
  subMenu: "SUB",
1264
1284
  program: "PRGM",
1265
- ...n?.menuGubunCode
1285
+ ...r?.menuGubunCode
1266
1286
  },
1267
1287
  className: {
1268
1288
  wrapper: "side-wrapper",
@@ -1270,7 +1290,7 @@ const Ft = ({
1270
1290
  segmented: {
1271
1291
  wrapper: "sider-segmented",
1272
1292
  item: "sider-segment-item",
1273
- ...n?.className?.segmented
1293
+ ...r?.className?.segmented
1274
1294
  },
1275
1295
  sider: {
1276
1296
  content: "sider-content",
@@ -1281,28 +1301,28 @@ const Ft = ({
1281
1301
  errorText: "sider-error-text",
1282
1302
  menu: "sider-menu",
1283
1303
  menuContainer: "sider-menu-container",
1284
- ...n?.className?.sider
1304
+ ...r?.className?.sider
1285
1305
  },
1286
- ...n?.className
1306
+ ...r?.className
1287
1307
  },
1288
1308
  style: {
1289
1309
  search: {
1290
1310
  placeholder: "메뉴명, 메뉴번호 검색...",
1291
1311
  height: 30,
1292
- ...n?.style?.search
1312
+ ...r?.style?.search
1293
1313
  },
1294
- ...n?.style
1314
+ ...r?.style
1295
1315
  },
1296
- ...n
1297
- }, [r, o] = A(""), [a, c] = A(
1316
+ ...r
1317
+ }, [n, i] = F(""), [l, a] = F(
1298
1318
  "category"
1299
- ), [g, h] = A([]), { activeMenuId: u, sidebarCollapsed: f, openTabFromMenu: p, toggleSidebar: N } = D(), { menuList: d, isLoading: l, error: P, findMenuById: k, flatMenuList: m } = ae(), { nodes: C, treeNodes: S, loadFavoritesIfNeeded: _ } = st(), O = F(() => {
1300
- const w = [], I = (y, s = 0) => {
1301
- if (y.menuGbCd === t.menuGubunCode.program && y.scrnPath) {
1302
- const v = " ".repeat(s), M = y.menuNo || "";
1303
- w.push({
1304
- value: y.menuId,
1305
- label: /* @__PURE__ */ i(
1319
+ ), [g, c] = F([]), { activeMenuId: h, sidebarCollapsed: b, openTabFromMenu: f, toggleSidebar: I } = O(), { menuList: u, isLoading: p, error: S, findMenuById: C, flatMenuList: d } = le(), { nodes: m, treeNodes: N, loadFavoritesIfNeeded: T } = pt(), B = U(() => {
1320
+ const v = [], x = (o, y = 0) => {
1321
+ if (o.menuGbCd === t.menuGubunCode.program && o.prgrUrl) {
1322
+ const A = " ".repeat(y), M = o.menuNo || "";
1323
+ v.push({
1324
+ value: o.menuId,
1325
+ label: /* @__PURE__ */ s(
1306
1326
  "div",
1307
1327
  {
1308
1328
  style: {
@@ -1311,9 +1331,9 @@ const Ft = ({
1311
1331
  alignItems: "center"
1312
1332
  },
1313
1333
  children: [
1314
- /* @__PURE__ */ i("span", { children: [
1315
- v,
1316
- y.menuNm
1334
+ /* @__PURE__ */ s("span", { children: [
1335
+ A,
1336
+ o.menuNm
1317
1337
  ] }),
1318
1338
  /* @__PURE__ */ e(
1319
1339
  "span",
@@ -1332,80 +1352,130 @@ const Ft = ({
1332
1352
  ]
1333
1353
  }
1334
1354
  ),
1335
- menuItem: y
1355
+ menuItem: o
1336
1356
  });
1337
1357
  }
1338
- y.children && y.children.length > 0 && y.children.forEach((v) => I(v, s + 1));
1358
+ o.children && o.children.length > 0 && o.children.forEach((A) => x(A, y + 1));
1339
1359
  };
1340
- return d.forEach((y) => I(y)), w;
1341
- }, [d]), x = F(() => r.trim() ? O.filter((w) => {
1342
- const I = w.menuItem.menuNm.toLowerCase(), y = String(w.menuItem.menuNo || "미지정").toLowerCase(), s = r.toLowerCase();
1343
- return I.includes(s) || y.includes(s);
1344
- }) : [], [O, r]), $ = (w) => {
1345
- if (!w || typeof w != "string") {
1346
- console.warn("Invalid menu selection value:", w);
1360
+ return u.forEach((o) => x(o)), v;
1361
+ }, [u]), k = U(() => n.trim() ? B.filter((v) => {
1362
+ const x = v.menuItem.menuNm.toLowerCase(), o = String(v.menuItem.menuNo || "미지정").toLowerCase(), y = n.toLowerCase();
1363
+ return x.includes(y) || o.includes(y);
1364
+ }) : [], [B, n]), H = (v) => {
1365
+ if (!v || typeof v != "string") {
1366
+ console.warn("Invalid menu selection value:", v);
1347
1367
  return;
1348
1368
  }
1349
- if (!/^[a-zA-Z0-9_-]+$/.test(w)) {
1350
- console.warn("Invalid menu ID format:", w);
1369
+ if (!/^[a-zA-Z0-9_-]+$/.test(v)) {
1370
+ console.warn("Invalid menu ID format:", v);
1351
1371
  return;
1352
1372
  }
1353
- const I = O.find(
1354
- (y) => y.value === w
1373
+ const x = B.find(
1374
+ (o) => o.value === v
1355
1375
  );
1356
- if (I) {
1357
- const { menuItem: y } = I;
1358
- if (!y || !y.menuId || !y.menuNm) {
1359
- console.warn("Invalid menu item:", y);
1376
+ if (x) {
1377
+ const { menuItem: o } = x;
1378
+ if (!o || !o.menuId || !o.menuNm) {
1379
+ console.warn("Invalid menu item:", o);
1360
1380
  return;
1361
1381
  }
1362
- y.menuGbCd === t.menuGubunCode.program && y.scrnPath ? (console.log(
1382
+ o.menuGbCd === t.menuGubunCode.program && o.prgrUrl ? (console.log(
1363
1383
  "✅ 검색으로 프로그램 메뉴 선택 - 탭 추가 및 setCurrentProgram 호출"
1364
1384
  ), console.log(
1365
1385
  "메뉴명:",
1366
- y.menuNm,
1386
+ o.menuNm,
1367
1387
  "경로:",
1368
- y.scrnPath,
1369
- "scrnId:",
1370
- y.scrnId
1371
- ), p(y)) : (y.menuGbCd === t.menuGubunCode.mainMenu || y.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", y.menuNm, "menuGbCd:", y.menuGbCd)), o("");
1388
+ o.prgrUrl,
1389
+ "prgrId:",
1390
+ o.prgrId
1391
+ ), f(o)) : (o.menuGbCd === t.menuGubunCode.mainMenu || o.menuGbCd === t.menuGubunCode.subMenu) && (console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"), console.log("메뉴명:", o.menuNm, "menuGbCd:", o.menuGbCd)), i("");
1372
1392
  }
1373
1393
  }, K = R(
1374
- (w) => {
1375
- const I = k(w);
1376
- I?.menuGbCd === t.menuGubunCode.program && (console.log(
1394
+ (v) => {
1395
+ const x = C(v);
1396
+ x?.menuGbCd === t.menuGubunCode.program && (console.log(
1377
1397
  "메뉴명:",
1378
- I.menuNm,
1398
+ x.menuNm,
1379
1399
  "경로:",
1380
- I.scrnPath,
1381
- "scrnId:",
1382
- I.scrnId
1383
- ), p(I));
1400
+ x.prgrUrl,
1401
+ "prgrId:",
1402
+ x.prgrId
1403
+ ), f(x));
1384
1404
  },
1385
- [k, p, t.menuGubunCode.program]
1386
- ), H = R((w) => w.map((I) => ({
1387
- key: I.menuId,
1388
- label: /* @__PURE__ */ e(
1389
- "div",
1390
- {
1391
- style: {
1392
- display: "flex",
1393
- justifyContent: "space-between",
1394
- alignItems: "center"
1395
- },
1396
- children: /* @__PURE__ */ e("span", { children: I.menuNm })
1397
- }
1398
- ),
1399
- icon: J(I.iconCd, I.menuGbCd),
1400
- children: I.children && I.children.length > 0 ? H(I.children) : void 0
1401
- })), []), J = (w, I) => {
1402
- if (w) {
1403
- const y = ie[w];
1404
- if (y)
1405
- return /* @__PURE__ */ e(y, {});
1405
+ [C, f, t.menuGubunCode.program]
1406
+ ), V = (v) => {
1407
+ if (!v) return null;
1408
+ switch (v) {
1409
+ case "01":
1410
+ return /* @__PURE__ */ e(Nt, {});
1411
+ case "02":
1412
+ return /* @__PURE__ */ e(
1413
+ "img",
1414
+ {
1415
+ src: ln,
1416
+ alt: "개발완료",
1417
+ style: { width: "16px", height: "16px", display: "inline-block" }
1418
+ }
1419
+ );
1420
+ case "03":
1421
+ return /* @__PURE__ */ e(
1422
+ "img",
1423
+ {
1424
+ src: an,
1425
+ alt: "디자인검수완료",
1426
+ style: { width: "16px", height: "16px", display: "inline-block" }
1427
+ }
1428
+ );
1429
+ case "04":
1430
+ return /* @__PURE__ */ e(
1431
+ "img",
1432
+ {
1433
+ src: cn,
1434
+ alt: "최종완료",
1435
+ style: { width: "16px", height: "16px", display: "inline-block" }
1436
+ }
1437
+ );
1438
+ default:
1439
+ return null;
1406
1440
  }
1407
- if (I)
1408
- switch (I) {
1441
+ }, J = R(
1442
+ (v) => v.map((x) => {
1443
+ const y = x.menuGbCd === t.menuGubunCode.program ? V(x.prgrStts) : null;
1444
+ return {
1445
+ key: x.menuId,
1446
+ label: /* @__PURE__ */ e(
1447
+ "div",
1448
+ {
1449
+ style: {
1450
+ display: "flex",
1451
+ justifyContent: "space-between",
1452
+ alignItems: "center"
1453
+ },
1454
+ children: /* @__PURE__ */ s(
1455
+ "span",
1456
+ {
1457
+ style: { display: "flex", alignItems: "center", gap: "6px" },
1458
+ children: [
1459
+ y,
1460
+ x.menuNm
1461
+ ]
1462
+ }
1463
+ )
1464
+ }
1465
+ ),
1466
+ icon: w(x.iconCd, x.menuGbCd),
1467
+ children: x.children && x.children.length > 0 ? J(x.children) : void 0
1468
+ };
1469
+ }),
1470
+ [t.menuGubunCode.program]
1471
+ ), w = (v, x) => {
1472
+ if (v) {
1473
+ const o = ie[v];
1474
+ if (o)
1475
+ return /* @__PURE__ */ e(o, {});
1476
+ }
1477
+ if (x)
1478
+ switch (x) {
1409
1479
  case t.menuGubunCode.mainMenu:
1410
1480
  return /* @__PURE__ */ e(ie.HomeOutlined, {});
1411
1481
  case t.menuGubunCode.subMenu:
@@ -1416,66 +1486,66 @@ const Ft = ({
1416
1486
  return null;
1417
1487
  }
1418
1488
  return null;
1419
- }, b = R(
1420
- (w) => {
1421
- if (d.length === 0) return [];
1422
- const I = (s) => {
1423
- if (s)
1424
- return typeof s == "string" ? C[s] : s;
1425
- }, y = (s) => {
1426
- if (s.type === "M") {
1427
- const v = s, M = k(v.menuId) || void 0, T = !!M, W = T ? `${M?.menuNm ?? v.menuNm ?? v.menuId}` : `${v.menuNm ?? v.menuId} (삭제됨)`;
1489
+ }, P = R(
1490
+ (v) => {
1491
+ if (u.length === 0) return [];
1492
+ const x = (y) => {
1493
+ if (y)
1494
+ return typeof y == "string" ? m[y] : y;
1495
+ }, o = (y) => {
1496
+ if (y.type === "M") {
1497
+ const A = y, M = C(A.menuId) || void 0, E = !!M, _ = E ? `${M?.menuNm ?? A.menuNm ?? A.menuId}` : `${A.menuNm ?? A.menuId} (삭제됨)`;
1428
1498
  return {
1429
- key: v.menuId,
1430
- label: W,
1431
- icon: T ? void 0 : /* @__PURE__ */ e(bt, { style: { color: "#faad14" } })
1499
+ key: A.menuId,
1500
+ label: _,
1501
+ icon: E ? void 0 : /* @__PURE__ */ e(xt, { style: { color: "#faad14" } })
1432
1502
  };
1433
1503
  } else {
1434
- const v = s, M = (v.children ?? []).map(I).filter(Boolean).map(y);
1504
+ const A = y, M = (A.children ?? []).map(x).filter(Boolean).map(o);
1435
1505
  return {
1436
- key: v.bkmkId,
1437
- label: v.bkmkNm ?? v.bkmkId,
1438
- icon: v.prntBkmkId === "-" ? /* @__PURE__ */ e(yt, {}) : /* @__PURE__ */ e(Ct, {}),
1506
+ key: A.bkmkId,
1507
+ label: A.bkmkNm ?? A.bkmkId,
1508
+ icon: A.prntBkmkId === "-" ? /* @__PURE__ */ e(At, {}) : /* @__PURE__ */ e(It, {}),
1439
1509
  children: M
1440
1510
  // 빈 배열이면 자동으로 말아줌
1441
1511
  };
1442
1512
  }
1443
1513
  };
1444
- return w.map(y);
1514
+ return v.map(o);
1445
1515
  },
1446
- [k, C, d]
1447
- ), L = F(
1448
- () => b(S),
1449
- [b, S, C]
1516
+ [C, m, u]
1517
+ ), G = U(
1518
+ () => P(N),
1519
+ [P, N, m]
1450
1520
  );
1451
- return E(() => {
1452
- Pe() && _(Pe());
1453
- }, [_]), E(() => {
1454
- a === "category" && o("");
1455
- }, [a]), E(() => {
1456
- if (!u || a !== "category") return;
1457
- const I = ((y) => {
1458
- const s = [], v = new Map(m.map((T) => [T.menuId, T]));
1459
- let M = y;
1521
+ return D(() => {
1522
+ Ae() && T(Ae());
1523
+ }, [T]), D(() => {
1524
+ l === "category" && i("");
1525
+ }, [l]), D(() => {
1526
+ if (!h || l !== "category") return;
1527
+ const x = ((o) => {
1528
+ const y = [], A = new Map(d.map((E) => [E.menuId, E]));
1529
+ let M = o;
1460
1530
  for (; M; ) {
1461
- const T = v.get(M);
1462
- if (!T) break;
1463
- if (T.menuPrntId && T.menuPrntId !== "-" && T.menuPrntId !== "")
1464
- s.push(T.menuPrntId), M = T.menuPrntId;
1531
+ const E = A.get(M);
1532
+ if (!E) break;
1533
+ if (E.menuPrntId && E.menuPrntId !== "-" && E.menuPrntId !== "")
1534
+ y.push(E.menuPrntId), M = E.menuPrntId;
1465
1535
  else
1466
1536
  break;
1467
1537
  }
1468
- return s;
1469
- })(u);
1470
- I.length > 0 && h((y) => {
1471
- const s = /* @__PURE__ */ new Set([...y, ...I]);
1472
- return Array.from(s);
1538
+ return y;
1539
+ })(h);
1540
+ x.length > 0 && c((o) => {
1541
+ const y = /* @__PURE__ */ new Set([...o, ...x]);
1542
+ return Array.from(y);
1473
1543
  });
1474
- }, [u, a, m]), /* @__PURE__ */ i(
1475
- Xt,
1544
+ }, [h, l, d]), /* @__PURE__ */ s(
1545
+ dn,
1476
1546
  {
1477
1547
  className: t.className.wrapper,
1478
- collapsed: t.collapsed || f,
1548
+ collapsed: t.collapsed || b,
1479
1549
  trigger: null,
1480
1550
  width: t.width || 230,
1481
1551
  children: [
@@ -1500,10 +1570,10 @@ const Ft = ({
1500
1570
  transition: "all 0.3s ease"
1501
1571
  },
1502
1572
  children: /* @__PURE__ */ e(
1503
- B,
1573
+ L,
1504
1574
  {
1505
1575
  type: "text",
1506
- icon: t.collapsed || f ? /* @__PURE__ */ e(mt, {}) : /* @__PURE__ */ e(gt, {}),
1576
+ icon: t.collapsed || b ? /* @__PURE__ */ e(wt, {}) : /* @__PURE__ */ e(vt, {}),
1507
1577
  style: {
1508
1578
  fontSize: "12px",
1509
1579
  color: "#787878",
@@ -1515,28 +1585,28 @@ const Ft = ({
1515
1585
  justifyContent: "center",
1516
1586
  borderRadius: "0 10px 10px 0"
1517
1587
  },
1518
- onClick: N
1588
+ onClick: I
1519
1589
  }
1520
1590
  )
1521
1591
  }
1522
1592
  ),
1523
- !(t.collapsed || f) && /* @__PURE__ */ e(
1593
+ !(t.collapsed || b) && /* @__PURE__ */ e(
1524
1594
  "div",
1525
1595
  {
1526
1596
  style: {
1527
1597
  padding: 10
1528
1598
  },
1529
1599
  children: /* @__PURE__ */ e(
1530
- Je,
1600
+ lt,
1531
1601
  {
1532
- value: r,
1533
- options: x,
1534
- onSelect: $,
1535
- onSearch: o,
1602
+ value: n,
1603
+ options: k,
1604
+ onSelect: H,
1605
+ onSearch: i,
1536
1606
  style: { width: "100%" },
1537
1607
  allowClear: !0,
1538
1608
  children: /* @__PURE__ */ e(
1539
- ue,
1609
+ pe,
1540
1610
  {
1541
1611
  className: t.className.search,
1542
1612
  placeholder: t.style.search.placeholder,
@@ -1570,7 +1640,7 @@ const Ft = ({
1570
1640
  )
1571
1641
  }
1572
1642
  ),
1573
- !(t.collapsed || f) && /* @__PURE__ */ e(
1643
+ !(t.collapsed || b) && /* @__PURE__ */ e(
1574
1644
  "div",
1575
1645
  {
1576
1646
  style: {
@@ -1579,18 +1649,18 @@ const Ft = ({
1579
1649
  marginBottom: "10px"
1580
1650
  },
1581
1651
  children: /* @__PURE__ */ e(
1582
- et,
1652
+ at,
1583
1653
  {
1584
1654
  className: t.className.segmented.wrapper,
1585
1655
  options: [
1586
1656
  {
1587
- label: /* @__PURE__ */ i(j, { children: [
1657
+ label: /* @__PURE__ */ s(z, { children: [
1588
1658
  /* @__PURE__ */ e(
1589
1659
  "span",
1590
1660
  {
1591
1661
  className: t.className.segmented.item,
1592
1662
  style: { display: "flex", alignItems: "center" },
1593
- children: /* @__PURE__ */ i(
1663
+ children: /* @__PURE__ */ s(
1594
1664
  "svg",
1595
1665
  {
1596
1666
  xmlns: "http://www.w3.org/2000/svg",
@@ -1639,7 +1709,7 @@ const Ft = ({
1639
1709
  value: "category"
1640
1710
  },
1641
1711
  {
1642
- label: /* @__PURE__ */ i(j, { children: [
1712
+ label: /* @__PURE__ */ s(z, { children: [
1643
1713
  /* @__PURE__ */ e(
1644
1714
  "span",
1645
1715
  {
@@ -1671,9 +1741,9 @@ const Ft = ({
1671
1741
  value: "favorite"
1672
1742
  }
1673
1743
  ],
1674
- value: a,
1675
- onChange: (w) => {
1676
- c(w);
1744
+ value: l,
1745
+ onChange: (v) => {
1746
+ a(v);
1677
1747
  },
1678
1748
  style: {
1679
1749
  width: "100%"
@@ -1683,8 +1753,8 @@ const Ft = ({
1683
1753
  )
1684
1754
  }
1685
1755
  ),
1686
- /* @__PURE__ */ i("div", { className: t.className.sider.content, children: [
1687
- l && /* @__PURE__ */ i(
1756
+ /* @__PURE__ */ s("div", { className: t.className.sider.content, children: [
1757
+ p && /* @__PURE__ */ s(
1688
1758
  "div",
1689
1759
  {
1690
1760
  className: t.className.sider.loading,
@@ -1696,7 +1766,7 @@ const Ft = ({
1696
1766
  },
1697
1767
  children: [
1698
1768
  /* @__PURE__ */ e(
1699
- be,
1769
+ Ce,
1700
1770
  {
1701
1771
  theme: {
1702
1772
  components: {
@@ -1705,7 +1775,7 @@ const Ft = ({
1705
1775
  }
1706
1776
  }
1707
1777
  },
1708
- children: /* @__PURE__ */ e(q, { size: "default" })
1778
+ children: /* @__PURE__ */ e($, { size: "default" })
1709
1779
  }
1710
1780
  ),
1711
1781
  /* @__PURE__ */ e(
@@ -1719,16 +1789,16 @@ const Ft = ({
1719
1789
  ]
1720
1790
  }
1721
1791
  ),
1722
- P && /* @__PURE__ */ i("div", { className: t.className.sider.error, children: [
1792
+ S && /* @__PURE__ */ s("div", { className: t.className.sider.error, children: [
1723
1793
  /* @__PURE__ */ e(
1724
- ft,
1794
+ kt,
1725
1795
  {
1726
1796
  className: t.className.sider.errorIcon
1727
1797
  }
1728
1798
  ),
1729
1799
  /* @__PURE__ */ e("div", { className: t.className.sider.errorText, children: "메뉴 로드 실패" })
1730
1800
  ] }),
1731
- !l && !P && a === "category" && d.length === 0 && /* @__PURE__ */ e(
1801
+ !p && !S && l === "category" && u.length === 0 && /* @__PURE__ */ e(
1732
1802
  "div",
1733
1803
  {
1734
1804
  style: {
@@ -1740,7 +1810,7 @@ const Ft = ({
1740
1810
  children: "메뉴가 없습니다"
1741
1811
  }
1742
1812
  ),
1743
- !l && !P && a === "favorite" && L.length === 0 && /* @__PURE__ */ e(
1813
+ !p && !S && l === "favorite" && G.length === 0 && /* @__PURE__ */ e(
1744
1814
  "div",
1745
1815
  {
1746
1816
  style: {
@@ -1752,33 +1822,33 @@ const Ft = ({
1752
1822
  children: "즐겨찾기된 메뉴가 없습니다"
1753
1823
  }
1754
1824
  ),
1755
- !l && !P && a === "category" && d.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1756
- pe,
1825
+ !p && !S && l === "category" && u.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1826
+ he,
1757
1827
  {
1758
1828
  theme: "light",
1759
1829
  mode: "inline",
1760
- items: H(d),
1830
+ items: J(u),
1761
1831
  className: t.className.sider.menu,
1762
- selectedKeys: [u || ""],
1832
+ selectedKeys: [h || ""],
1763
1833
  openKeys: g,
1764
- onOpenChange: h,
1765
- onClick: (w) => K(w.key),
1766
- onDoubleClick: (w) => {
1767
- w.preventDefault(), w.stopPropagation();
1834
+ onOpenChange: c,
1835
+ onClick: (v) => K(v.key),
1836
+ onDoubleClick: (v) => {
1837
+ v.preventDefault(), v.stopPropagation();
1768
1838
  }
1769
1839
  }
1770
1840
  ) }),
1771
- !l && !P && a === "favorite" && L.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1772
- pe,
1841
+ !p && !S && l === "favorite" && G.length > 0 && /* @__PURE__ */ e("div", { className: t.className.sider.menuContainer, children: /* @__PURE__ */ e(
1842
+ he,
1773
1843
  {
1774
1844
  theme: "light",
1775
1845
  mode: "inline",
1776
- items: L,
1846
+ items: G,
1777
1847
  className: t.className.sider.menu,
1778
- selectedKeys: [u || ""],
1779
- onClick: (w) => K(w.key),
1780
- onDoubleClick: (w) => {
1781
- w.preventDefault(), w.stopPropagation();
1848
+ selectedKeys: [h || ""],
1849
+ onClick: (v) => K(v.key),
1850
+ onDoubleClick: (v) => {
1851
+ v.preventDefault(), v.stopPropagation();
1782
1852
  }
1783
1853
  }
1784
1854
  ) })
@@ -1787,7 +1857,7 @@ const Ft = ({
1787
1857
  }
1788
1858
  );
1789
1859
  };
1790
- class en extends ot {
1860
+ class pn extends Ke {
1791
1861
  constructor(t) {
1792
1862
  super(t), this.resetError = () => {
1793
1863
  this.setState({ hasError: !1, error: void 0, errorInfo: void 0 });
@@ -1796,14 +1866,14 @@ class en extends ot {
1796
1866
  static getDerivedStateFromError(t) {
1797
1867
  return { hasError: !0, error: t };
1798
1868
  }
1799
- componentDidCatch(t, r) {
1800
- console.error("ErrorBound caught an error:", t, r), this.setState({
1869
+ componentDidCatch(t, n) {
1870
+ console.error("ErrorBound caught an error:", t, n), this.setState({
1801
1871
  error: t,
1802
- errorInfo: r
1872
+ errorInfo: n
1803
1873
  });
1804
1874
  }
1805
1875
  render() {
1806
- return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ i(
1876
+ return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ s(
1807
1877
  "div",
1808
1878
  {
1809
1879
  style: {
@@ -1824,10 +1894,10 @@ class en extends ot {
1824
1894
  subTitle: this.state.error ? `오류 내용: ${this.state.error.message}` : "알 수 없는 오류가 발생했습니다",
1825
1895
  extra: [
1826
1896
  /* @__PURE__ */ e(
1827
- B,
1897
+ L,
1828
1898
  {
1829
1899
  type: "primary",
1830
- icon: /* @__PURE__ */ e(we, {}),
1900
+ icon: /* @__PURE__ */ e(ve, {}),
1831
1901
  onClick: this.resetError,
1832
1902
  style: { marginRight: 8 },
1833
1903
  children: "다시 시도"
@@ -1837,7 +1907,7 @@ class en extends ot {
1837
1907
  ]
1838
1908
  }
1839
1909
  ),
1840
- this.state.error && /* @__PURE__ */ i(
1910
+ this.state.error && /* @__PURE__ */ s(
1841
1911
  "details",
1842
1912
  {
1843
1913
  style: {
@@ -1872,13 +1942,13 @@ class en extends ot {
1872
1942
  ) : this.props.children;
1873
1943
  }
1874
1944
  }
1875
- const tn = ({
1876
- isActive: n,
1945
+ const hn = ({
1946
+ isActive: r,
1877
1947
  instance: t,
1878
- params: r
1948
+ params: n
1879
1949
  }) => {
1880
- const { activeMenuId: o, closeTab: a } = D(), c = () => {
1881
- o && a(o);
1950
+ const { activeMenuId: i, closeTab: l } = O(), a = () => {
1951
+ i && l(i);
1882
1952
  };
1883
1953
  return t ? /* @__PURE__ */ e(
1884
1954
  "div",
@@ -1889,12 +1959,12 @@ const tn = ({
1889
1959
  left: 0,
1890
1960
  width: "100%",
1891
1961
  height: "100%",
1892
- visibility: n ? "visible" : "hidden",
1893
- opacity: n ? 1 : 0,
1962
+ visibility: r ? "visible" : "hidden",
1963
+ opacity: r ? 1 : 0,
1894
1964
  transition: "opacity 0.2s ease-in-out",
1895
- pointerEvents: n ? "auto" : "none"
1965
+ pointerEvents: r ? "auto" : "none"
1896
1966
  },
1897
- children: /* @__PURE__ */ e(en, { children: /* @__PURE__ */ e(se, { fallback: null, children: t && Be(t, { params: r }) }) })
1967
+ children: /* @__PURE__ */ e(pn, { children: /* @__PURE__ */ e(se, { fallback: null, children: t && Pe(t, { params: n }) }) })
1898
1968
  }
1899
1969
  ) : /* @__PURE__ */ e(
1900
1970
  "div",
@@ -1908,10 +1978,10 @@ const tn = ({
1908
1978
  display: "flex",
1909
1979
  justifyContent: "center",
1910
1980
  alignItems: "center",
1911
- visibility: n ? "visible" : "hidden",
1912
- opacity: n ? 1 : 0,
1981
+ visibility: r ? "visible" : "hidden",
1982
+ opacity: r ? 1 : 0,
1913
1983
  transition: "opacity 0.2s ease-in-out",
1914
- pointerEvents: n ? "auto" : "none"
1984
+ pointerEvents: r ? "auto" : "none"
1915
1985
  },
1916
1986
  children: /* @__PURE__ */ e(
1917
1987
  "div",
@@ -1931,104 +2001,104 @@ const tn = ({
1931
2001
  status: "warning",
1932
2002
  title: "등록된 메뉴 정보가 없거나 유효한 메뉴가 아닙니다.",
1933
2003
  subTitle: /* @__PURE__ */ e(ye.Text, { type: "secondary", children: "자세한 내용은 관리자에게 문의바랍니다." }),
1934
- extra: /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(B, { icon: /* @__PURE__ */ e(Ee, {}), onClick: c, children: "탭 닫기" }) })
2004
+ extra: /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(L, { icon: /* @__PURE__ */ e(Ee, {}), onClick: a, children: "탭 닫기" }) })
1935
2005
  }
1936
2006
  )
1937
2007
  }
1938
2008
  )
1939
2009
  }
1940
2010
  );
1941
- }, nn = Ce(tn), rn = ({
1942
- menuGubunCode: n = {
2011
+ }, mn = fe(hn), gn = ({
2012
+ menuGubunCode: r = {
1943
2013
  mainMenu: "MAIN",
1944
2014
  subMenu: "SUB",
1945
2015
  program: "PRGM"
1946
2016
  },
1947
2017
  mode: t = "horizontal",
1948
- style: r,
1949
- routeMap: o
2018
+ style: n,
2019
+ routeMap: i
1950
2020
  }) => {
1951
- const { menuList: a, findMenuById: c, flatMenuList: g } = ae(), { activeMenuId: h } = D(), u = fe(), [f, p] = A([]), N = R(
1952
- (k, m) => {
1953
- if (k) {
1954
- const C = ie[k];
1955
- if (C)
1956
- return /* @__PURE__ */ e(C, {});
2021
+ const { menuList: l, findMenuById: a, flatMenuList: g } = le(), { activeMenuId: c } = O(), h = be(), [b, f] = F([]), I = R(
2022
+ (C, d) => {
2023
+ if (C) {
2024
+ const m = ie[C];
2025
+ if (m)
2026
+ return /* @__PURE__ */ e(m, {});
1957
2027
  }
1958
- if (m)
1959
- switch (m) {
1960
- case n.mainMenu:
2028
+ if (d)
2029
+ switch (d) {
2030
+ case r.mainMenu:
1961
2031
  return /* @__PURE__ */ e(ie.HomeOutlined, {});
1962
2032
  default:
1963
2033
  return null;
1964
2034
  }
1965
2035
  return null;
1966
2036
  },
1967
- [n]
1968
- ), d = R(
1969
- (k) => k.map((m) => {
1970
- const C = m.children && m.children.length === 1 && m.children[0].menuGbCd === n.program;
2037
+ [r]
2038
+ ), u = R(
2039
+ (C) => C.map((d) => {
2040
+ const m = d.children && d.children.length === 1 && d.children[0].menuGbCd === r.program;
1971
2041
  return {
1972
- key: m.menuId,
1973
- label: m.menuNm,
1974
- icon: N(m.iconCd, m.menuGbCd),
2042
+ key: d.menuId,
2043
+ label: d.menuNm,
2044
+ icon: I(d.iconCd, d.menuGbCd),
1975
2045
  // children이 1개이고 program이면 드롭다운 없음, 2개 이상이면 드롭다운 표시
1976
- children: m.children && m.children.length > 0 && !C ? d(m.children) : void 0
2046
+ children: d.children && d.children.length > 0 && !m ? u(d.children) : void 0
1977
2047
  };
1978
2048
  }),
1979
- [N, n]
1980
- ), l = F(() => d(a), [a, d]), P = R(
1981
- (k) => {
1982
- const m = c(k.key);
1983
- if (m) {
1984
- if (m.children && m.children.length === 1 && m.children[0].menuGbCd === n.program) {
1985
- const C = m.children[0];
1986
- let S = o?.[C.menuId] || C.scrnPath || "/";
1987
- S === "/" ? S = "/main" : S.startsWith("/main") || (S = S.startsWith("/") ? `/main${S}` : `/main/${S}`), u(S);
2049
+ [I, r]
2050
+ ), p = U(() => u(l), [l, u]), S = R(
2051
+ (C) => {
2052
+ const d = a(C.key);
2053
+ if (d) {
2054
+ if (d.children && d.children.length === 1 && d.children[0].menuGbCd === r.program) {
2055
+ const m = d.children[0];
2056
+ let N = i?.[m.menuId] || m.prgrUrl || "/";
2057
+ N === "/" ? N = "/main" : N.startsWith("/main") || (N = N.startsWith("/") ? `/main${N}` : `/main/${N}`), h(N);
1988
2058
  return;
1989
2059
  }
1990
- if (m.menuGbCd === n.program && m.scrnPath) {
1991
- let C = o?.[m.menuId] || m.scrnPath || "/";
1992
- C === "/" ? C = "/main" : C.startsWith("/main") || (C = C.startsWith("/") ? `/main${C}` : `/main/${C}`), u(C);
2060
+ if (d.menuGbCd === r.program && d.prgrUrl) {
2061
+ let m = i?.[d.menuId] || d.prgrUrl || "/";
2062
+ m === "/" ? m = "/main" : m.startsWith("/main") || (m = m.startsWith("/") ? `/main${m}` : `/main/${m}`), h(m);
1993
2063
  return;
1994
2064
  }
1995
2065
  }
1996
2066
  },
1997
- [c, n, u, o]
2067
+ [a, r, h, i]
1998
2068
  );
1999
- return E(() => {
2000
- if (!h || t !== "vertical") return;
2001
- const m = ((C) => {
2002
- const S = [], _ = new Map(g.map((x) => [x.menuId, x]));
2003
- let O = C;
2004
- for (; O; ) {
2005
- const x = _.get(O);
2006
- if (!x) break;
2007
- if (x.menuPrntId && x.menuPrntId !== "-" && x.menuPrntId !== "")
2008
- S.push(x.menuPrntId), O = x.menuPrntId;
2069
+ return D(() => {
2070
+ if (!c || t !== "vertical") return;
2071
+ const d = ((m) => {
2072
+ const N = [], T = new Map(g.map((k) => [k.menuId, k]));
2073
+ let B = m;
2074
+ for (; B; ) {
2075
+ const k = T.get(B);
2076
+ if (!k) break;
2077
+ if (k.menuPrntId && k.menuPrntId !== "-" && k.menuPrntId !== "")
2078
+ N.push(k.menuPrntId), B = k.menuPrntId;
2009
2079
  else
2010
2080
  break;
2011
2081
  }
2012
- return S;
2013
- })(h);
2014
- m.length > 0 && p((C) => {
2015
- const S = /* @__PURE__ */ new Set([...C, ...m]);
2016
- return Array.from(S);
2082
+ return N;
2083
+ })(c);
2084
+ d.length > 0 && f((m) => {
2085
+ const N = /* @__PURE__ */ new Set([...m, ...d]);
2086
+ return Array.from(N);
2017
2087
  });
2018
- }, [h, t, g]), /* @__PURE__ */ e(
2019
- pe,
2088
+ }, [c, t, g]), /* @__PURE__ */ e(
2089
+ he,
2020
2090
  {
2021
2091
  mode: t,
2022
2092
  theme: "light",
2023
- items: l,
2024
- selectedKeys: [h || ""],
2025
- openKeys: t === "vertical" ? f : void 0,
2026
- onOpenChange: t === "vertical" ? p : void 0,
2027
- onClick: P,
2028
- style: r
2093
+ items: p,
2094
+ selectedKeys: [c || ""],
2095
+ openKeys: t === "vertical" ? b : void 0,
2096
+ onOpenChange: t === "vertical" ? f : void 0,
2097
+ onClick: S,
2098
+ style: n
2029
2099
  }
2030
2100
  );
2031
- }, on = () => /* @__PURE__ */ i(j, { children: [
2101
+ }, fn = () => /* @__PURE__ */ s(z, { children: [
2032
2102
  /* @__PURE__ */ e(
2033
2103
  "link",
2034
2104
  {
@@ -2038,141 +2108,141 @@ const tn = ({
2038
2108
  }
2039
2109
  ),
2040
2110
  /* @__PURE__ */ e("div", { className: "LandingContainer-wrap", children: /* @__PURE__ */ e("div", { className: "inner", children: /* @__PURE__ */ e("div", { className: "content" }) }) })
2041
- ] }), sn = (n, t) => {
2042
- console.log("createPopupViewLoader 호출 - popupUrl:", n);
2043
- const o = ((a) => {
2044
- if (a.startsWith("/src/pages/views/popup/")) {
2045
- const h = a + ".tsx";
2046
- return console.log(`팝업 URL 변환: ${a} -> ${h}`), h;
2111
+ ] }), bn = (r, t) => {
2112
+ console.log("createPopupViewLoader 호출 - popupUrl:", r);
2113
+ const i = ((l) => {
2114
+ if (l.startsWith("/src/pages/views/popup/")) {
2115
+ const c = l + ".tsx";
2116
+ return console.log(`팝업 URL 변환: ${l} -> ${c}`), c;
2047
2117
  }
2048
- const g = `/src/pages/views/popup/${a.startsWith("/") ? a.substring(1) : a}.tsx`;
2049
- return console.log(`팝업 URL 변환: ${a} -> ${g}`), g;
2050
- })(n);
2051
- return !o || !t?.glob || !t.glob[o] ? (console.warn(`팝업 뷰를 찾을 수 없습니다: ${n} (${o})`), console.warn("사용 가능한 팝업 뷰들:", Object.keys(t?.glob || {})), null) : t.glob[o];
2052
- }, an = ({ popup: n, modules: t }) => {
2053
- const [r, o] = A(null), [a, c] = A(!1), [g, h] = A(null), u = () => {
2054
- console.log("PopupArea - handleClose:", n.popupId), ve.getState().closePopup(n.popupId);
2118
+ const g = `/src/pages/views/popup/${l.startsWith("/") ? l.substring(1) : l}.tsx`;
2119
+ return console.log(`팝업 URL 변환: ${l} -> ${g}`), g;
2120
+ })(r);
2121
+ return !i || !t?.glob || !t.glob[i] ? (console.warn(`팝업 뷰를 찾을 수 없습니다: ${r} (${i})`), console.warn("사용 가능한 팝업 뷰들:", Object.keys(t?.glob || {})), null) : t.glob[i];
2122
+ }, Cn = ({ popup: r, modules: t }) => {
2123
+ const [n, i] = F(null), [l, a] = F(!1), [g, c] = F(null), h = () => {
2124
+ console.log("PopupArea - handleClose:", r.popupId), we.getState().closePopup(r.popupId);
2055
2125
  };
2056
- return E(() => {
2126
+ return D(() => {
2057
2127
  (async () => {
2058
- console.log("팝업 뷰 로드 시작:", n.popupUrl), c(!0), h(null);
2128
+ console.log("팝업 뷰 로드 시작:", r.popupUrl), a(!0), c(null);
2059
2129
  try {
2060
- const p = sn(n.popupUrl, t);
2061
- if (!p) {
2062
- const l = `팝업 뷰를 찾을 수 없습니다: ${n.popupUrl}`;
2063
- console.error(l), h(l), c(!1);
2130
+ const f = bn(r.popupUrl, t);
2131
+ if (!f) {
2132
+ const p = `팝업 뷰를 찾을 수 없습니다: ${r.popupUrl}`;
2133
+ console.error(p), c(p), a(!1);
2064
2134
  return;
2065
2135
  }
2066
2136
  console.log("팝업 뷰 모듈 로드 중...");
2067
- const N = await p();
2068
- console.log("팝업 뷰 모듈 로드 완료:", N);
2069
- const d = N.default;
2070
- if (console.log("팝업 뷰 컴포넌트:", d), !d)
2137
+ const I = await f();
2138
+ console.log("팝업 뷰 모듈 로드 완료:", I);
2139
+ const u = I.default;
2140
+ if (console.log("팝업 뷰 컴포넌트:", u), !u)
2071
2141
  throw new Error("팝업 뷰 컴포넌트를 찾을 수 없습니다");
2072
- o(() => d), console.log("팝업 뷰 설정 완료");
2073
- } catch (p) {
2074
- console.error("팝업 뷰 로드 실패:", p), h(p instanceof Error ? p.message : "팝업 뷰 로드 실패");
2142
+ i(() => u), console.log("팝업 뷰 설정 완료");
2143
+ } catch (f) {
2144
+ console.error("팝업 뷰 로드 실패:", f), c(f instanceof Error ? f.message : "팝업 뷰 로드 실패");
2075
2145
  } finally {
2076
- c(!1);
2146
+ a(!1);
2077
2147
  }
2078
2148
  })();
2079
- }, [n.popupUrl]), a ? /* @__PURE__ */ i("div", { className: "popup-loading", children: [
2080
- /* @__PURE__ */ e(q, { size: "large" }),
2149
+ }, [r.popupUrl]), l ? /* @__PURE__ */ s("div", { className: "popup-loading", children: [
2150
+ /* @__PURE__ */ e($, { size: "large" }),
2081
2151
  /* @__PURE__ */ e("p", { children: "팝업을 로드하는 중..." })
2082
- ] }) : g ? /* @__PURE__ */ i("div", { className: "popup-error", children: [
2152
+ ] }) : g ? /* @__PURE__ */ s("div", { className: "popup-error", children: [
2083
2153
  /* @__PURE__ */ e(de, { description: g, image: de.PRESENTED_IMAGE_SIMPLE }),
2084
2154
  /* @__PURE__ */ e(
2085
- B,
2155
+ L,
2086
2156
  {
2087
- icon: /* @__PURE__ */ e(we, {}),
2157
+ icon: /* @__PURE__ */ e(ve, {}),
2088
2158
  onClick: () => window.location.reload(),
2089
2159
  children: "다시 시도"
2090
2160
  }
2091
2161
  )
2092
- ] }) : r ? /* @__PURE__ */ e(
2162
+ ] }) : n ? /* @__PURE__ */ e(
2093
2163
  se,
2094
2164
  {
2095
- fallback: /* @__PURE__ */ i("div", { className: "popup-loading", children: [
2096
- /* @__PURE__ */ e(q, { size: "large" }),
2165
+ fallback: /* @__PURE__ */ s("div", { className: "popup-loading", children: [
2166
+ /* @__PURE__ */ e($, { size: "large" }),
2097
2167
  /* @__PURE__ */ e("p", { children: "컴포넌트를 로드하는 중..." })
2098
2168
  ] }),
2099
2169
  children: /* @__PURE__ */ e(
2100
- r,
2170
+ n,
2101
2171
  {
2102
2172
  popup: {
2103
- ...n,
2104
- close: u
2173
+ ...r,
2174
+ close: h
2105
2175
  // popup 객체에 close 이벤트 추가
2106
2176
  },
2107
- onClose: u
2177
+ onClose: h
2108
2178
  }
2109
2179
  )
2110
2180
  }
2111
2181
  ) : /* @__PURE__ */ e("div", { className: "popup-empty", children: /* @__PURE__ */ e(de, { description: "팝업 내용을 불러올 수 없습니다." }) });
2112
- }, ln = ({ modules: n }) => {
2113
- const { popups: t } = ve();
2114
- return t.length === 0 ? null : /* @__PURE__ */ e(j, { children: t.map((r) => {
2115
- if (r.isLocal || r.popupCode.startsWith("CORE_"))
2182
+ }, yn = ({ modules: r }) => {
2183
+ const { popups: t } = we();
2184
+ return t.length === 0 ? null : /* @__PURE__ */ e(z, { children: t.map((n) => {
2185
+ if (n.isLocal || n.popupCode.startsWith("CORE_"))
2116
2186
  return null;
2117
- const o = r.config || {}, a = o.width || r.width || 800, c = o.height || r.height || 600, g = o.title || r.popupTitle, h = r.buttonList?.map((u, f) => ({
2118
- key: u.btnId || `btn_${f}`,
2119
- text: u.btnNm,
2120
- type: u.btnId === "CLOSE" ? "default" : "primary",
2121
- disabled: u.enblYn !== "Y",
2187
+ const i = n.config || {}, l = i.width || n.width || 800, a = i.height || n.height || 600, g = i.title || n.popupTitle, c = n.buttonList?.map((h, b) => ({
2188
+ key: h.btnId || `btn_${b}`,
2189
+ text: h.btnNm,
2190
+ type: h.btnId === "CLOSE" ? "default" : "primary",
2191
+ disabled: h.enblYn !== "Y",
2122
2192
  danger: !1
2123
2193
  })) || [];
2124
2194
  return console.log("팝업 렌더링:", {
2125
- popupId: r.popupId,
2126
- popupCode: r.popupCode,
2195
+ popupId: n.popupId,
2196
+ popupCode: n.popupCode,
2127
2197
  title: g,
2128
- width: a,
2129
- height: c,
2130
- buttons: h
2131
- }), /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(an, { popup: r, modules: n }) }, r.popupId) }, `sbp-${r.popupId}`);
2198
+ width: l,
2199
+ height: a,
2200
+ buttons: c
2201
+ }), /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(Cn, { popup: n, modules: r }) }, n.popupId) }, `sbp-${n.popupId}`);
2132
2202
  }) });
2133
- }, je = () => {
2134
- const { popups: n, closePopup: t } = ve();
2135
- return /* @__PURE__ */ e(j, { children: n.map((r) => {
2136
- if (!(r.isLocal || r.popupCode.startsWith("CORE_"))) return null;
2137
- const o = Ht[r.popupCode];
2138
- if (!o) return null;
2139
- const a = o.component;
2140
- return /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(se, { fallback: null, children: /* @__PURE__ */ e(a, { popup: r, onClose: () => t(r.popupId) }) }, r.popupId) }, `sbp-${r.popupId}`);
2203
+ }, He = () => {
2204
+ const { popups: r, closePopup: t } = we();
2205
+ return /* @__PURE__ */ e(z, { children: r.map((n) => {
2206
+ if (!(n.isLocal || n.popupCode.startsWith("CORE_"))) return null;
2207
+ const i = _t[n.popupCode];
2208
+ if (!i) return null;
2209
+ const l = i.component;
2210
+ return /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(se, { fallback: null, children: /* @__PURE__ */ e(l, { popup: n, onClose: () => t(n.popupId) }) }, n.popupId) }, `sbp-${n.popupId}`);
2141
2211
  }) });
2142
- }, cn = (n) => ({
2212
+ }, wn = (r) => ({
2143
2213
  position: "absolute",
2144
2214
  inset: 0,
2145
- visibility: n ? "visible" : "hidden",
2146
- opacity: n ? 1 : 0,
2215
+ visibility: r ? "visible" : "hidden",
2216
+ opacity: r ? 1 : 0,
2147
2217
  transition: "opacity 0.2s ease-in-out",
2148
- pointerEvents: n ? "auto" : "none"
2149
- }), dn = ({ once: n = !0 }) => {
2150
- const { lock: t } = $e(), r = X(!1);
2151
- return E(() => {
2152
- n && r.current || (r.current = !0, t());
2153
- }, [n, t]), null;
2154
- }, hn = ({ isActive: n, flagged: t, tabKey: r, onUnlock: o, children: a }) => {
2155
- const c = X(null), [g, h] = A(!1), u = R((p) => {
2156
- c.current = p, h(!!p);
2157
- }, []), f = cn(n);
2158
- return /* @__PURE__ */ e("div", { ref: u, style: f, children: g ? /* @__PURE__ */ i(
2159
- He,
2218
+ pointerEvents: r ? "auto" : "none"
2219
+ }), vn = ({ once: r = !0 }) => {
2220
+ const { lock: t } = Ve(), n = q(!1);
2221
+ return D(() => {
2222
+ r && n.current || (n.current = !0, t());
2223
+ }, [r, t]), null;
2224
+ }, kn = ({ isActive: r, flagged: t, tabKey: n, onUnlock: i, children: l }) => {
2225
+ const a = q(null), [g, c] = F(!1), h = R((f) => {
2226
+ a.current = f, c(!!f);
2227
+ }, []), b = wn(r);
2228
+ return /* @__PURE__ */ e("div", { ref: h, style: b, children: g ? /* @__PURE__ */ s(
2229
+ Fe,
2160
2230
  {
2161
2231
  idleMs: Number.POSITIVE_INFINITY,
2162
2232
  persistLocked: !1,
2163
2233
  overlayScope: "scoped",
2164
2234
  overlayPosition: "absolute",
2165
- eventTarget: c.current,
2166
- overlayId: `tab-overlay-${r}`,
2167
- onUnlock: async () => (o(), !0),
2235
+ eventTarget: a.current,
2236
+ overlayId: `tab-overlay-${n}`,
2237
+ onUnlock: async () => (i(), !0),
2168
2238
  children: [
2169
- n && t ? /* @__PURE__ */ e(dn, { once: !0 }) : null,
2170
- a
2239
+ r && t ? /* @__PURE__ */ e(vn, { once: !0 }) : null,
2240
+ l
2171
2241
  ]
2172
2242
  }
2173
- ) : a });
2174
- }, Mn = ({
2175
- config: n = {},
2243
+ ) : l });
2244
+ }, Vn = ({
2245
+ config: r = {},
2176
2246
  modules: t = {
2177
2247
  view: {
2178
2248
  path: "/src/pages/views/content"
@@ -2182,53 +2252,53 @@ const tn = ({
2182
2252
  }
2183
2253
  }
2184
2254
  }) => {
2185
- const r = X(
2255
+ const n = q(
2186
2256
  /* @__PURE__ */ new Map()
2187
2257
  ), {
2188
- tabs: o,
2189
- tabParams: a,
2190
- activeMenuId: c,
2258
+ tabs: i,
2259
+ tabParams: l,
2260
+ activeMenuId: a,
2191
2261
  tabProtectFlag: g,
2192
- refreshTabKey: h,
2193
- clearProtectFlagForKey: u
2194
- } = D(), { enableProtectWrapper: f } = De(), p = R(
2195
- (d) => {
2196
- const l = r.current.get(d.key);
2197
- if (l) return l;
2198
- const P = d.gubun === "M" ? `${t.view.path}${d.menuItem?.scrnPath}.tsx` : `${t.view.path}${d.componentItem?.scrnPath}.tsx`;
2199
- let k = t.view?.glob?.[P];
2200
- if (!k && typeof import.meta < "u" && typeof import.meta.glob == "function" && (k = (/* @__PURE__ */ Object.assign({}))[P]), k) {
2201
- const m = z(
2202
- k
2262
+ refreshTabKey: c,
2263
+ clearProtectFlagForKey: h
2264
+ } = O(), { enableProtectWrapper: b } = Be(), f = R(
2265
+ (u) => {
2266
+ const p = n.current.get(u.key);
2267
+ if (p) return p;
2268
+ const S = u.gubun === "M" ? `${t.view.path}${u.menuItem?.prgrUrl}.tsx` : `${t.view.path}${u.componentItem?.prgrUrl}.tsx`;
2269
+ let C = t.view?.glob?.[S];
2270
+ if (!C && typeof import.meta < "u" && typeof import.meta.glob == "function" && (C = (/* @__PURE__ */ Object.assign({}))[S]), C) {
2271
+ const d = j(
2272
+ C
2203
2273
  );
2204
- return r.current.set(d.key, m), m;
2274
+ return n.current.set(u.key, d), d;
2205
2275
  }
2206
2276
  return null;
2207
2277
  },
2208
2278
  [t.view?.glob]
2209
- ), N = X({});
2210
- return E(() => {
2211
- const d = N.current, l = h;
2212
- Object.keys(l).forEach((P) => {
2213
- const k = d[P], m = l[P];
2214
- k !== m && r.current.delete(P);
2215
- }), N.current = { ...l };
2216
- }, [h]), E(() => {
2217
- const d = (l) => {
2218
- if (l.key === "F5" || l.ctrlKey && l.key === "r" || l.ctrlKey && l.shiftKey && l.key === "R" || l.ctrlKey && l.key === "s")
2219
- return l.preventDefault(), !1;
2279
+ ), I = q({});
2280
+ return D(() => {
2281
+ const u = I.current, p = c;
2282
+ Object.keys(p).forEach((S) => {
2283
+ const C = u[S], d = p[S];
2284
+ C !== d && n.current.delete(S);
2285
+ }), I.current = { ...p };
2286
+ }, [c]), D(() => {
2287
+ const u = (p) => {
2288
+ if (p.key === "F5" || p.ctrlKey && p.key === "r" || p.ctrlKey && p.shiftKey && p.key === "R" || p.ctrlKey && p.key === "s")
2289
+ return p.preventDefault(), !1;
2220
2290
  };
2221
- return window.addEventListener("keydown", d, !0), () => {
2222
- window.removeEventListener("keydown", d, !0);
2291
+ return window.addEventListener("keydown", u, !0), () => {
2292
+ window.removeEventListener("keydown", u, !0);
2223
2293
  };
2224
- }, []), /* @__PURE__ */ i(Q, { className: "main-layout", children: [
2225
- /* @__PURE__ */ e(Re, { config: n?.header }),
2226
- /* @__PURE__ */ i(Q, { children: [
2227
- /* @__PURE__ */ e(Jt, { config: n?.sidebar }),
2228
- /* @__PURE__ */ i("div", { className: "content-container", children: [
2229
- /* @__PURE__ */ e(Qt, { config: n?.menuTab }),
2230
- /* @__PURE__ */ i(Oe, { config: n?.content, children: [
2231
- /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ i(
2294
+ }, []), /* @__PURE__ */ s(ee, { className: "main-layout", children: [
2295
+ /* @__PURE__ */ e(Re, { config: r?.header }),
2296
+ /* @__PURE__ */ s(ee, { children: [
2297
+ /* @__PURE__ */ e(un, { config: r?.sidebar }),
2298
+ /* @__PURE__ */ s("div", { className: "content-container", children: [
2299
+ /* @__PURE__ */ e(sn, { config: r?.menuTab }),
2300
+ /* @__PURE__ */ s(Oe, { config: r?.content, children: [
2301
+ /* @__PURE__ */ e("div", { className: "view-container", children: /* @__PURE__ */ s(
2232
2302
  "div",
2233
2303
  {
2234
2304
  style: {
@@ -2237,101 +2307,110 @@ const tn = ({
2237
2307
  height: "100%"
2238
2308
  },
2239
2309
  children: [
2240
- o.map((d) => {
2241
- const l = p(d), P = c === d.key, k = !!g?.[d.key], m = a[d.key] || {}, C = h[d.key], S = C !== void 0 ? `${d.key}-${C}` : d.key, _ = /* @__PURE__ */ e(
2242
- nn,
2310
+ i.map((u) => {
2311
+ const p = f(u), S = a === u.key, C = !!g?.[u.key], d = l[u.key] || {}, m = c[u.key], N = m !== void 0 ? `${u.key}-${m}` : u.key, T = u.gubun === "M" ? u.menuItem?.menuId : u.key, B = u.gubun === "M" ? u.menuItem : null, k = u.gubun === "M" ? u.menuItem?.appCd : void 0, H = /* @__PURE__ */ e(
2312
+ mn,
2243
2313
  {
2244
- isActive: P,
2245
- instance: l || void 0,
2246
- params: m
2314
+ isActive: S,
2315
+ instance: p || void 0,
2316
+ params: d
2247
2317
  },
2248
- S
2318
+ N
2249
2319
  );
2250
- return /* @__PURE__ */ e(ge, { children: f ? /* @__PURE__ */ e(
2251
- hn,
2320
+ return /* @__PURE__ */ e(
2321
+ Ge,
2252
2322
  {
2253
- isActive: P,
2254
- flagged: k,
2255
- tabKey: d.key,
2256
- onUnlock: () => u(d.key),
2257
- children: _
2323
+ menuId: T,
2324
+ menuItem: B || null,
2325
+ appCd: k,
2326
+ children: /* @__PURE__ */ e(ge, { children: b ? /* @__PURE__ */ e(
2327
+ kn,
2328
+ {
2329
+ isActive: S,
2330
+ flagged: C,
2331
+ tabKey: u.key,
2332
+ onUnlock: () => h(u.key),
2333
+ children: H
2334
+ },
2335
+ u.key
2336
+ ) : H }, `sbp-${u.key}`)
2258
2337
  },
2259
- d.key
2260
- ) : _ }, `sbp-${d.key}`);
2338
+ `bwg-${u.key}`
2339
+ );
2261
2340
  }),
2262
- (!c || o.length === 0) && /* @__PURE__ */ e(on, {})
2341
+ (!a || i.length === 0) && /* @__PURE__ */ e(fn, {})
2263
2342
  ]
2264
2343
  }
2265
2344
  ) }),
2266
- /* @__PURE__ */ e(je, {}),
2267
- /* @__PURE__ */ e(ln, { modules: t?.popup })
2345
+ /* @__PURE__ */ e(He, {}),
2346
+ /* @__PURE__ */ e(yn, { modules: t?.popup })
2268
2347
  ] })
2269
2348
  ] })
2270
2349
  ] }),
2271
- (n?.quickService?.visible ?? !0) && /* @__PURE__ */ e(Ke, {})
2350
+ (r?.quickService?.visible ?? !0) && /* @__PURE__ */ e(Xe, {})
2272
2351
  ] });
2273
- }, un = ({
2274
- children: n,
2352
+ }, xn = ({
2353
+ children: r,
2275
2354
  menuGubunCode: t = {
2276
2355
  mainMenu: "CMPRGRM",
2277
2356
  subMenu: "CMPRGRS",
2278
2357
  program: "CMPRGRP"
2279
2358
  },
2280
- routeMap: r,
2281
- routes: o
2359
+ routeMap: n,
2360
+ routes: i
2282
2361
  }) => {
2283
- const a = We(), c = fe(), { flatMenuList: g, findMenuById: h } = ae(), u = F(() => {
2284
- const p = a.pathname, N = p.replace(/^\/main/, "") || "/";
2285
- if (r) {
2286
- const d = Object.keys(r).find(
2287
- (P) => r[P] === p
2362
+ const l = _e(), a = be(), { flatMenuList: g, findMenuById: c } = le(), { title: h, extra: b } = We(), f = U(() => {
2363
+ const p = l.pathname, S = p.replace(/^\/main/, "") || "/";
2364
+ if (n) {
2365
+ const C = Object.keys(n).find(
2366
+ (m) => n[m] === p
2288
2367
  );
2368
+ if (C)
2369
+ return c(C);
2370
+ const d = Object.keys(n).find((m) => (n[m].replace(/^\/main/, "") || "/") === S);
2289
2371
  if (d)
2290
- return h(d);
2291
- const l = Object.keys(r).find((P) => (r[P].replace(/^\/main/, "") || "/") === N);
2292
- if (l)
2293
- return h(l);
2372
+ return c(d);
2294
2373
  }
2295
2374
  return g.find(
2296
- (d) => d.menuGbCd === t.program && d.scrnPath && (d.scrnPath === N || d.scrnPath === p || p.endsWith(d.scrnPath) || N === d.scrnPath)
2375
+ (C) => C.menuGbCd === t.program && C.prgrUrl && (C.prgrUrl === S || C.prgrUrl === p || p.endsWith(C.prgrUrl) || S === C.prgrUrl)
2297
2376
  );
2298
2377
  }, [
2299
- a.pathname,
2378
+ l.pathname,
2300
2379
  g,
2301
2380
  t.program,
2302
- r,
2303
- h
2304
- ]), f = F(() => {
2305
- if (!u)
2381
+ n,
2382
+ c
2383
+ ]), I = U(() => {
2384
+ if (!f)
2306
2385
  return [];
2307
- const p = [], N = (l) => {
2308
- if (!l || !l.menuPrntId || l.menuPrntId === "-")
2386
+ const p = [], S = (d) => {
2387
+ if (!d || !d.menuPrntId || d.menuPrntId === "-")
2309
2388
  return [];
2310
- const P = h(l.menuPrntId);
2311
- return P ? [...N(P), P] : [];
2389
+ const m = c(d.menuPrntId);
2390
+ return m ? [...S(m), m] : [];
2312
2391
  };
2313
- return N(u).forEach((l) => {
2314
- if (l.menuGbCd === t.mainMenu || l.menuGbCd === t.subMenu) {
2315
- let P;
2316
- if (r && l.menuId && (P = r[l.menuId]), !P && o && l.scrnPath) {
2317
- const k = l.scrnPath.startsWith("/") ? l.scrnPath : `/${l.scrnPath}`, m = Object.keys(o).find(
2318
- (C) => C === k || C === `/main${k}`
2392
+ return S(f).forEach((d) => {
2393
+ if (d.menuGbCd === t.mainMenu || d.menuGbCd === t.subMenu) {
2394
+ let m;
2395
+ if (n && d.menuId && (m = n[d.menuId]), !m && i && d.prgrUrl) {
2396
+ const N = d.prgrUrl.startsWith("/") ? d.prgrUrl : `/${d.prgrUrl}`, T = Object.keys(i).find(
2397
+ (B) => B === N || B === `/main${N}`
2319
2398
  );
2320
- m && (P = m.startsWith("/main") ? m : `/main${m.startsWith("/") ? m : `/${m}`}`);
2399
+ T && (m = T.startsWith("/main") ? T : `/main${T.startsWith("/") ? T : `/${T}`}`);
2321
2400
  }
2322
2401
  p.push({
2323
- title: l.menuNm,
2324
- onClick: P ? () => c(P) : void 0
2402
+ title: d.menuNm,
2403
+ onClick: m ? () => a(m) : void 0
2325
2404
  });
2326
2405
  }
2327
2406
  }), p.push({
2328
- title: u.menuNm
2407
+ title: f.menuNm
2329
2408
  }), p;
2330
- }, [u, t, c, h]);
2331
- return /* @__PURE__ */ i("div", { className: "admin-page-inner", children: [
2332
- /* @__PURE__ */ i("div", { className: "page-header", children: [
2409
+ }, [f, t, a, c]), u = h !== void 0 ? h : f?.menuNm || "타이틀";
2410
+ return /* @__PURE__ */ s("div", { className: "admin-page-inner", children: [
2411
+ /* @__PURE__ */ s("div", { className: "page-header", children: [
2333
2412
  /* @__PURE__ */ e(
2334
- tt,
2413
+ ct,
2335
2414
  {
2336
2415
  className: "admin-breadcrumb",
2337
2416
  separator: /* @__PURE__ */ e(
@@ -2353,38 +2432,52 @@ const tn = ({
2353
2432
  )
2354
2433
  }
2355
2434
  ),
2356
- items: f,
2435
+ items: I,
2357
2436
  style: { marginBottom: "15px" }
2358
2437
  }
2359
2438
  ),
2360
- /* @__PURE__ */ e("h2", { className: "page-title", children: "타이틀" })
2439
+ /* @__PURE__ */ s(
2440
+ "div",
2441
+ {
2442
+ style: {
2443
+ display: "flex",
2444
+ justifyContent: "space-between",
2445
+ alignItems: "center",
2446
+ gap: "16px"
2447
+ },
2448
+ children: [
2449
+ /* @__PURE__ */ e("h2", { className: "page-title", style: { margin: 0, flex: 1 }, children: u }),
2450
+ b && /* @__PURE__ */ e("div", { style: { flexShrink: 0 }, children: b })
2451
+ ]
2452
+ }
2453
+ )
2361
2454
  ] }),
2362
- /* @__PURE__ */ e("div", { className: "page-main-content", children: n })
2455
+ /* @__PURE__ */ e("div", { className: "page-main-content", children: r })
2363
2456
  ] });
2364
- }, Tn = ({ config: n = {} }) => {
2365
- const t = n?.header?.menu, r = t?.visible !== !1, o = t?.routes, a = F(() => {
2366
- if (!o) return;
2367
- const c = {}, { flatMenuList: g } = ae.getState();
2368
- return g.forEach((h) => {
2369
- if (h.menuGbCd === t?.menuGubunCode?.program && h.scrnPath) {
2370
- const u = h.scrnPath.startsWith("/") ? h.scrnPath : `/${h.scrnPath}`, f = Object.keys(o).find((p) => {
2371
- const N = p === "/" ? "/" : p.startsWith("/") ? p : `/${p}`;
2372
- return N === u || N === `/main${u}` || u === N.replace(/^\/main/, "");
2457
+ }, An = (r) => /* @__PURE__ */ e(Ue, { children: /* @__PURE__ */ e(xn, { ...r }) }), Gn = ({ config: r = {} }) => {
2458
+ const t = r?.header?.menu, n = t?.visible !== !1, i = t?.routes, l = U(() => {
2459
+ if (!i) return;
2460
+ const a = {}, { flatMenuList: g } = le.getState();
2461
+ return g.forEach((c) => {
2462
+ if (c.menuGbCd === t?.menuGubunCode?.program && c.prgrUrl) {
2463
+ const h = c.prgrUrl.startsWith("/") ? c.prgrUrl : `/${c.prgrUrl}`, b = Object.keys(i).find((f) => {
2464
+ const I = f === "/" ? "/" : f.startsWith("/") ? f : `/${f}`;
2465
+ return I === h || I === `/main${h}` || h === I.replace(/^\/main/, "");
2373
2466
  });
2374
- if (f) {
2375
- const p = f === "/" ? "/main" : f.startsWith("/main") ? f : `/main${f.startsWith("/") ? f : `/${f}`}`;
2376
- c[h.menuId] = p;
2467
+ if (b) {
2468
+ const f = b === "/" ? "/main" : b.startsWith("/main") ? b : `/main${b.startsWith("/") ? b : `/${b}`}`;
2469
+ a[c.menuId] = f;
2377
2470
  }
2378
2471
  }
2379
- }), c;
2380
- }, [o, t?.menuGubunCode?.program]);
2381
- return /* @__PURE__ */ i(Q, { className: "admin-layout", children: [
2382
- /* @__PURE__ */ e(Re, { config: n?.header, children: r && /* @__PURE__ */ e(
2383
- rn,
2472
+ }), a;
2473
+ }, [i, t?.menuGubunCode?.program]);
2474
+ return /* @__PURE__ */ s(ee, { className: "admin-layout", children: [
2475
+ /* @__PURE__ */ e(Re, { config: r?.header, children: n && /* @__PURE__ */ e(
2476
+ gn,
2384
2477
  {
2385
2478
  menuGubunCode: t?.menuGubunCode,
2386
2479
  mode: t?.style?.mode || "horizontal",
2387
- routeMap: a,
2480
+ routeMap: l,
2388
2481
  style: {
2389
2482
  border: "none",
2390
2483
  backgroundColor: "transparent",
@@ -2394,7 +2487,7 @@ const tn = ({
2394
2487
  }
2395
2488
  }
2396
2489
  ) }),
2397
- /* @__PURE__ */ e("div", { className: "admin-content-container", children: /* @__PURE__ */ i(Oe, { config: n?.content, children: [
2490
+ /* @__PURE__ */ e("div", { className: "admin-content-container", children: /* @__PURE__ */ s(Oe, { config: r?.content, children: [
2398
2491
  /* @__PURE__ */ e("div", { className: "admin-view-container", children: /* @__PURE__ */ e(
2399
2492
  "div",
2400
2493
  {
@@ -2403,63 +2496,63 @@ const tn = ({
2403
2496
  width: "100%",
2404
2497
  height: "100%"
2405
2498
  },
2406
- children: /* @__PURE__ */ e(se, { fallback: /* @__PURE__ */ e("div", { children: "Loading..." }), children: /* @__PURE__ */ e(Le, { children: Object.entries(o || {}).map(([c, g]) => {
2407
- const h = c === "/" ? "" : c.replace(/^\/main/, "").replace(/^\//, "") || "";
2499
+ children: /* @__PURE__ */ e(se, { fallback: /* @__PURE__ */ e("div", { children: "Loading..." }), children: /* @__PURE__ */ e(Le, { children: Object.entries(i || {}).map(([a, g]) => {
2500
+ const c = a === "/" ? "" : a.replace(/^\/main/, "").replace(/^\//, "") || "";
2408
2501
  return /* @__PURE__ */ e(
2409
- U,
2502
+ Q,
2410
2503
  {
2411
- path: h,
2504
+ path: c,
2412
2505
  element: /* @__PURE__ */ e(
2413
- un,
2506
+ An,
2414
2507
  {
2415
2508
  menuGubunCode: t?.menuGubunCode,
2416
- routeMap: a,
2417
- routes: o,
2509
+ routeMap: l,
2510
+ routes: i,
2418
2511
  children: /* @__PURE__ */ e(g, {})
2419
2512
  }
2420
2513
  )
2421
2514
  },
2422
- c
2515
+ a
2423
2516
  );
2424
2517
  }) }) })
2425
2518
  }
2426
2519
  ) }),
2427
- /* @__PURE__ */ e(je, {})
2520
+ /* @__PURE__ */ e(He, {})
2428
2521
  ] }) })
2429
2522
  ] });
2430
2523
  };
2431
- function Bn({
2432
- config: n,
2524
+ function Un({
2525
+ config: r,
2433
2526
  ui: t
2434
2527
  }) {
2435
- const { loading: r, capsOn: o, prefills: a, onKeyDown: c, doLogin: g } = at(n), h = (u) => g(u);
2436
- return E(() => {
2437
- oe.getState().systemMap.length === 0 && oe.getState().fetchSystemMap();
2438
- }, []), /* @__PURE__ */ e(j, { children: t({ onSubmit: h, loading: r, capsOn: o, onKeyDown: c, prefills: a }) });
2528
+ const { loading: n, capsOn: i, prefills: l, onKeyDown: a, doLogin: g } = ht(r), c = (h) => g(h);
2529
+ return D(() => {
2530
+ oe.getState().sysInfo || oe.getState().fetchCurrentSystemInfo();
2531
+ }, []), /* @__PURE__ */ e(z, { children: t({ onSubmit: c, loading: n, capsOn: i, onKeyDown: a, prefills: l }) });
2439
2532
  }
2440
- function Dn({
2441
- onSubmit: n,
2533
+ function Wn({
2534
+ onSubmit: r,
2442
2535
  loading: t,
2443
- capsOn: r,
2444
- onKeyDown: o,
2445
- prefills: a,
2446
- labels: c = {
2536
+ capsOn: n,
2537
+ onKeyDown: i,
2538
+ prefills: l,
2539
+ labels: a = {
2447
2540
  id: "ID 혹은 사번",
2448
2541
  pw: "비밀번호",
2449
2542
  remember: "Remember me",
2450
2543
  login: "로그인"
2451
2544
  },
2452
2545
  header: g,
2453
- footer: h
2546
+ footer: c
2454
2547
  }) {
2455
- const [u] = Z.useForm();
2456
- return E(() => {
2457
- a && (a.id || a.pswr) && u.setFieldsValue({ id: a.id, pswr: a.pswr });
2458
- }, [a, u]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ i("div", { className: "login_wrap", children: [
2548
+ const [h] = Z.useForm();
2549
+ return D(() => {
2550
+ l && (l.id || l.pswr) && h.setFieldsValue({ id: l.id, pswr: l.pswr });
2551
+ }, [l, h]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ s("div", { className: "login_wrap", children: [
2459
2552
  g || /* @__PURE__ */ e("div", { className: "logo_box" }),
2460
2553
  /* @__PURE__ */ e("div", { className: "login_title" }),
2461
2554
  /* @__PURE__ */ e(
2462
- be,
2555
+ Ce,
2463
2556
  {
2464
2557
  theme: {
2465
2558
  components: {
@@ -2489,8 +2582,8 @@ function Dn({
2489
2582
  }
2490
2583
  }
2491
2584
  },
2492
- children: /* @__PURE__ */ e(Z, { form: u, onFinish: n, className: "login-form", children: /* @__PURE__ */ i(re, { vertical: !0, gap: 50, children: [
2493
- /* @__PURE__ */ i("div", { className: "login-form-item-group", children: [
2585
+ children: /* @__PURE__ */ e(Z, { form: h, onFinish: r, className: "login-form", children: /* @__PURE__ */ s(re, { vertical: !0, gap: 50, children: [
2586
+ /* @__PURE__ */ s("div", { className: "login-form-item-group", children: [
2494
2587
  /* @__PURE__ */ e(
2495
2588
  Z.Item,
2496
2589
  {
@@ -2502,51 +2595,84 @@ function Dn({
2502
2595
  message: "아이디는 공백이 들어갈 수 없습니다."
2503
2596
  }
2504
2597
  ],
2505
- children: /* @__PURE__ */ e(ue, { allowClear: !0, placeholder: c.id, onKeyDown: o })
2598
+ children: /* @__PURE__ */ e(
2599
+ pe,
2600
+ {
2601
+ allowClear: !0,
2602
+ placeholder: a.id,
2603
+ onKeyDown: i
2604
+ }
2605
+ )
2506
2606
  }
2507
2607
  ),
2508
2608
  /* @__PURE__ */ e(
2509
2609
  Z.Item,
2510
2610
  {
2511
2611
  name: "pswr",
2512
- rules: [{ required: !0, message: "비밀번호를 입력하세요." }],
2612
+ rules: [
2613
+ { required: !0, message: "비밀번호를 입력하세요." }
2614
+ ],
2513
2615
  children: /* @__PURE__ */ e(
2514
- ue.Password,
2616
+ pe.Password,
2515
2617
  {
2516
2618
  allowClear: !0,
2517
- placeholder: c.pw,
2518
- onKeyDown: o
2619
+ placeholder: a.pw,
2620
+ onKeyDown: i
2519
2621
  }
2520
2622
  )
2521
2623
  }
2522
2624
  ),
2523
- /* @__PURE__ */ e(Z.Item, { name: "remember", valuePropName: "checked", style: { marginBottom: 0 }, children: /* @__PURE__ */ e(nt, { children: c.remember }) }),
2524
- /* @__PURE__ */ e("div", { className: r ? "caps-lock caps-lock-on" : "caps-lock", children: r ? "Caps Lock On" : "Caps Lock Off" })
2625
+ /* @__PURE__ */ e(
2626
+ Z.Item,
2627
+ {
2628
+ name: "remember",
2629
+ valuePropName: "checked",
2630
+ style: { marginBottom: 0 },
2631
+ children: /* @__PURE__ */ e(dt, { children: a.remember })
2632
+ }
2633
+ ),
2634
+ /* @__PURE__ */ e(
2635
+ "div",
2636
+ {
2637
+ className: n ? "caps-lock caps-lock-on" : "caps-lock",
2638
+ children: n ? "Caps Lock On" : "Caps Lock Off"
2639
+ }
2640
+ )
2525
2641
  ] }),
2526
- /* @__PURE__ */ e(Z.Item, { style: { marginBottom: 0 }, children: /* @__PURE__ */ e(B, { type: "primary", htmlType: "submit", loading: t, block: !0, style: { borderRadius: "50px" }, children: c.login }) })
2642
+ /* @__PURE__ */ e(Z.Item, { style: { marginBottom: 0 }, children: /* @__PURE__ */ e(
2643
+ L,
2644
+ {
2645
+ type: "primary",
2646
+ htmlType: "submit",
2647
+ loading: t,
2648
+ block: !0,
2649
+ style: { borderRadius: "50px" },
2650
+ children: a.login
2651
+ }
2652
+ ) })
2527
2653
  ] }) })
2528
2654
  }
2529
2655
  ),
2530
- h
2656
+ c
2531
2657
  ] }) });
2532
2658
  }
2533
- const { Text: V, Title: pn } = ye;
2534
- function En({
2535
- loginConfig: n,
2659
+ const { Text: Y, Title: In } = ye;
2660
+ function Yn({
2661
+ loginConfig: r,
2536
2662
  loginParams: t,
2537
- mainLogo: r,
2538
- systemLogo: o,
2539
- onGoLogin: a,
2540
- onGoMain: c
2663
+ mainLogo: n,
2664
+ systemLogo: i,
2665
+ onGoLogin: l,
2666
+ onGoMain: a
2541
2667
  }) {
2542
- const { loginStatus: g, doSsoLogin: h } = lt(n);
2543
- E(() => {
2544
- u();
2668
+ const { loginStatus: g, doSsoLogin: c } = mt(r);
2669
+ D(() => {
2670
+ h();
2545
2671
  }, [t.userId]);
2546
- const u = () => h(t), f = ({
2547
- children: N
2548
- }) => /* @__PURE__ */ i(
2549
- pn,
2672
+ const h = () => c(t), b = ({
2673
+ children: I
2674
+ }) => /* @__PURE__ */ s(
2675
+ In,
2550
2676
  {
2551
2677
  level: 4,
2552
2678
  style: {
@@ -2556,60 +2682,60 @@ function En({
2556
2682
  justifyContent: "center"
2557
2683
  },
2558
2684
  children: [
2559
- o && o,
2685
+ i && i,
2560
2686
  " ",
2561
- N
2687
+ I
2562
2688
  ]
2563
2689
  }
2564
- ), p = () => g === "LOADING" ? /* @__PURE__ */ i(j, { children: [
2565
- /* @__PURE__ */ e(q, { size: "large", style: { margin: "10px 0" } }),
2566
- /* @__PURE__ */ i("div", { children: [
2567
- /* @__PURE__ */ e(f, { children: "로그인 중입니다." }),
2568
- /* @__PURE__ */ i(V, { children: [
2690
+ ), f = () => g === "LOADING" ? /* @__PURE__ */ s(z, { children: [
2691
+ /* @__PURE__ */ e($, { size: "large", style: { margin: "10px 0" } }),
2692
+ /* @__PURE__ */ s("div", { children: [
2693
+ /* @__PURE__ */ e(b, { children: "로그인 중입니다." }),
2694
+ /* @__PURE__ */ s(Y, { children: [
2569
2695
  "인증 정보를 확인하는 중입니다.",
2570
2696
  /* @__PURE__ */ e("br", {}),
2571
2697
  "브라우저 창을 닫지 말아 주세요."
2572
2698
  ] })
2573
2699
  ] }),
2574
- /* @__PURE__ */ e(V, { type: "secondary", style: { fontSize: 12 }, children: "인증이 완료되면 자동으로 다음 화면으로 이동합니다." }),
2575
- /* @__PURE__ */ e(B, { style: { marginTop: 8 }, onClick: a, children: "로그인 화면" })
2576
- ] }) : g === "SUCCESS" ? /* @__PURE__ */ i(j, { children: [
2577
- /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(_e, { twoToneColor: "#52c41a" }) }),
2578
- /* @__PURE__ */ i("div", { children: [
2579
- /* @__PURE__ */ e(f, { children: "로그인에 성공했습니다." }),
2580
- /* @__PURE__ */ e(V, { children: "잠시만 기다려 주세요." })
2700
+ /* @__PURE__ */ e(Y, { type: "secondary", style: { fontSize: 12 }, children: "인증이 완료되면 자동으로 다음 화면으로 이동합니다." }),
2701
+ /* @__PURE__ */ e(L, { style: { marginTop: 8 }, onClick: l, children: "로그인 화면" })
2702
+ ] }) : g === "SUCCESS" ? /* @__PURE__ */ s(z, { children: [
2703
+ /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(De, { twoToneColor: "#52c41a" }) }),
2704
+ /* @__PURE__ */ s("div", { children: [
2705
+ /* @__PURE__ */ e(b, { children: "로그인에 성공했습니다." }),
2706
+ /* @__PURE__ */ e(Y, { children: "잠시만 기다려 주세요." })
2581
2707
  ] }),
2582
- /* @__PURE__ */ e(V, { type: "secondary", style: { fontSize: 12 }, children: "잠시 후 자동으로 다음 화면으로 이동합니다." }),
2583
- /* @__PURE__ */ e(Y, { style: { marginTop: 8, justifyContent: "center" }, children: /* @__PURE__ */ e(B, { type: "primary", onClick: c, children: "바로 이동하기" }) })
2584
- ] }) : g === "FAIL" ? /* @__PURE__ */ i(j, { children: [
2708
+ /* @__PURE__ */ e(Y, { type: "secondary", style: { fontSize: 12 }, children: "잠시 후 자동으로 다음 화면으로 이동합니다." }),
2709
+ /* @__PURE__ */ e(X, { style: { marginTop: 8, justifyContent: "center" }, children: /* @__PURE__ */ e(L, { type: "primary", onClick: a, children: "바로 이동하기" }) })
2710
+ ] }) : g === "FAIL" ? /* @__PURE__ */ s(z, { children: [
2585
2711
  /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(ke, { twoToneColor: "#ff4d4f" }) }),
2586
- /* @__PURE__ */ i("div", { children: [
2587
- /* @__PURE__ */ e(f, { children: "로그인에 실패했습니다." }),
2588
- /* @__PURE__ */ i(V, { children: [
2712
+ /* @__PURE__ */ s("div", { children: [
2713
+ /* @__PURE__ */ e(b, { children: "로그인에 실패했습니다." }),
2714
+ /* @__PURE__ */ s(Y, { children: [
2589
2715
  "인증 과정에서 오류가 발생했습니다.",
2590
2716
  /* @__PURE__ */ e("br", {}),
2591
2717
  "다시 시도해 주세요."
2592
2718
  ] })
2593
2719
  ] }),
2594
- /* @__PURE__ */ e(V, { type: "secondary", style: { fontSize: 12 }, children: "문제가 지속되면 관리자에게 문의해 주세요." }),
2595
- /* @__PURE__ */ i(Y, { style: { marginTop: 8, justifyContent: "center" }, children: [
2720
+ /* @__PURE__ */ e(Y, { type: "secondary", style: { fontSize: 12 }, children: "문제가 지속되면 관리자에게 문의해 주세요." }),
2721
+ /* @__PURE__ */ s(X, { style: { marginTop: 8, justifyContent: "center" }, children: [
2596
2722
  /* @__PURE__ */ e(
2597
- B,
2723
+ L,
2598
2724
  {
2599
2725
  type: "primary",
2600
- onClick: u,
2601
- icon: /* @__PURE__ */ e(we, {}),
2726
+ onClick: h,
2727
+ icon: /* @__PURE__ */ e(ve, {}),
2602
2728
  children: "다시 시도"
2603
2729
  }
2604
2730
  ),
2605
- /* @__PURE__ */ e(B, { onClick: a, icon: /* @__PURE__ */ e(vt, {}), children: "로그인 화면" })
2731
+ /* @__PURE__ */ e(L, { onClick: l, icon: /* @__PURE__ */ e(St, {}), children: "로그인 화면" })
2606
2732
  ] })
2607
- ] }) : /* @__PURE__ */ i(j, { children: [
2608
- /* @__PURE__ */ e(q, { size: "large", style: { margin: "10px 0" } }),
2609
- /* @__PURE__ */ e(V, { children: "로그인 상태를 확인하는 중입니다." })
2733
+ ] }) : /* @__PURE__ */ s(z, { children: [
2734
+ /* @__PURE__ */ e($, { size: "large", style: { margin: "10px 0" } }),
2735
+ /* @__PURE__ */ e(Y, { children: "로그인 상태를 확인하는 중입니다." })
2610
2736
  ] });
2611
- return E(() => {
2612
- oe.getState().systemMap.length === 0 && oe.getState().fetchSystemMap();
2737
+ return D(() => {
2738
+ oe.getState().sysInfo || oe.getState().fetchCurrentSystemInfo();
2613
2739
  }, []), /* @__PURE__ */ e(
2614
2740
  "div",
2615
2741
  {
@@ -2630,28 +2756,28 @@ function En({
2630
2756
  borderRadius: 16,
2631
2757
  boxShadow: "0 8px 24px rgba(0,0,0,0.06)"
2632
2758
  },
2633
- children: /* @__PURE__ */ i(Y, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2634
- /* @__PURE__ */ e("div", { children: r && r }),
2635
- p()
2759
+ children: /* @__PURE__ */ s(X, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2760
+ /* @__PURE__ */ e("div", { children: n && n }),
2761
+ f()
2636
2762
  ] })
2637
2763
  }
2638
2764
  )
2639
2765
  }
2640
2766
  );
2641
2767
  }
2642
- const { Text: Se, Title: mn } = ye;
2643
- function _n({
2644
- mode: n,
2768
+ const { Text: Se, Title: Nn } = ye;
2769
+ function Kn({
2770
+ mode: r,
2645
2771
  mainLogo: t,
2646
- systemLogo: r,
2647
- newUserId: o,
2648
- onContinue: a,
2649
- onGoLogin: c
2772
+ systemLogo: n,
2773
+ newUserId: i,
2774
+ onContinue: l,
2775
+ onGoLogin: a
2650
2776
  }) {
2651
2777
  const g = ({
2652
- children: p
2653
- }) => /* @__PURE__ */ i(
2654
- mn,
2778
+ children: f
2779
+ }) => /* @__PURE__ */ s(
2780
+ Nn,
2655
2781
  {
2656
2782
  level: 4,
2657
2783
  style: {
@@ -2662,16 +2788,16 @@ function _n({
2662
2788
  gap: 6
2663
2789
  },
2664
2790
  children: [
2665
- r && r,
2791
+ n && n,
2666
2792
  " ",
2667
- p
2793
+ f
2668
2794
  ]
2669
2795
  }
2670
- ), { title: h, desc: u, subDesc: f } = n === "SESSION_CHANGED" ? {
2796
+ ), { title: c, desc: h, subDesc: b } = r === "SESSION_CHANGED" ? {
2671
2797
  title: "세션이 변경되었습니다.",
2672
2798
  desc: `이 브라우저에서 다른 계정으로 다시 로그인되었습니다.
2673
2799
  현재 창에서는 이전 계정을 더 이상 사용할 수 없습니다.`,
2674
- subDesc: o ? `새로 로그인된 계정: ${o}` : "새로 로그인된 계정으로 계속 진행하거나, 로그인 화면으로 이동해 주세요."
2800
+ subDesc: i ? `새로 로그인된 계정: ${i}` : "새로 로그인된 계정으로 계속 진행하거나, 로그인 화면으로 이동해 주세요."
2675
2801
  } : {
2676
2802
  title: "세션이 만료되었습니다.",
2677
2803
  desc: `일정 시간 동안 사용하지 않아 로그인이 해제되었습니다.
@@ -2698,26 +2824,26 @@ function _n({
2698
2824
  borderRadius: 16,
2699
2825
  boxShadow: "0 8px 24px rgba(0,0,0,0.06)"
2700
2826
  },
2701
- children: /* @__PURE__ */ i(Y, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2827
+ children: /* @__PURE__ */ s(X, { direction: "vertical", size: 16, style: { width: "100%" }, children: [
2702
2828
  /* @__PURE__ */ e("div", { children: t && t }),
2703
2829
  /* @__PURE__ */ e("div", { style: { fontSize: 48 }, children: /* @__PURE__ */ e(ke, { twoToneColor: "#faad14" }) }),
2704
- /* @__PURE__ */ i("div", { children: [
2705
- /* @__PURE__ */ e(g, { children: h }),
2706
- /* @__PURE__ */ e(Se, { children: u.split(`
2707
- `).map((p, N) => /* @__PURE__ */ i("span", { children: [
2708
- p,
2830
+ /* @__PURE__ */ s("div", { children: [
2831
+ /* @__PURE__ */ e(g, { children: c }),
2832
+ /* @__PURE__ */ e(Se, { children: h.split(`
2833
+ `).map((f, I) => /* @__PURE__ */ s("span", { children: [
2834
+ f,
2709
2835
  /* @__PURE__ */ e("br", {})
2710
- ] }, N)) })
2836
+ ] }, I)) })
2711
2837
  ] }),
2712
- /* @__PURE__ */ e(Se, { type: "secondary", style: { fontSize: 12 }, children: f }),
2713
- /* @__PURE__ */ e(Y, { style: { marginTop: 8, justifyContent: "center" }, children: a && o && /* @__PURE__ */ i(
2714
- B,
2838
+ /* @__PURE__ */ e(Se, { type: "secondary", style: { fontSize: 12 }, children: b }),
2839
+ /* @__PURE__ */ e(X, { style: { marginTop: 8, justifyContent: "center" }, children: l && i && /* @__PURE__ */ s(
2840
+ L,
2715
2841
  {
2716
2842
  type: "primary",
2717
- icon: /* @__PURE__ */ e(_e, {}),
2718
- onClick: a,
2843
+ icon: /* @__PURE__ */ e(De, {}),
2844
+ onClick: l,
2719
2845
  children: [
2720
- o,
2846
+ i,
2721
2847
  " 계정으로 계속 사용"
2722
2848
  ]
2723
2849
  }
@@ -2729,23 +2855,23 @@ function _n({
2729
2855
  );
2730
2856
  }
2731
2857
  export {
2732
- Ln as A,
2733
- Mn as B,
2734
- nn as C,
2735
- Dn as D,
2736
- rn as H,
2737
- Sn as L,
2738
- ln as P,
2739
- Tn as a,
2740
- Bn as b,
2741
- En as c,
2742
- _n as d,
2743
- on as e,
2858
+ Fn as A,
2859
+ Vn as B,
2860
+ mn as C,
2861
+ Wn as D,
2862
+ gn as H,
2863
+ zn as L,
2864
+ yn as P,
2865
+ Gn as a,
2866
+ Un as b,
2867
+ Yn as c,
2868
+ Kn as d,
2869
+ fn as e,
2744
2870
  Oe as f,
2745
2871
  Re as g,
2746
- Qt as h,
2747
- Jt as i,
2748
- un as j,
2749
- hn as k,
2750
- Ht as l
2872
+ sn as h,
2873
+ un as i,
2874
+ An as j,
2875
+ kn as k,
2876
+ _t as l
2751
2877
  };