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