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