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