@bwg-ui/core 1.0.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AuthContext-CXng9fj0.cjs +2 -0
- package/dist/chunks/AuthContext-CXng9fj0.cjs.map +1 -0
- package/dist/chunks/AuthContext-Ei2P-z4d.js +53 -0
- package/dist/chunks/AuthContext-Ei2P-z4d.js.map +1 -0
- package/dist/chunks/BwgLargeUploader-CaH2F8x6.cjs +3 -0
- package/dist/chunks/BwgLargeUploader-CaH2F8x6.cjs.map +1 -0
- package/dist/chunks/BwgLargeUploader-CwaZ2WwY.js +3316 -0
- package/dist/chunks/BwgLargeUploader-CwaZ2WwY.js.map +1 -0
- package/dist/chunks/BwgSpace-CnLM4qcg.js +1 -0
- package/dist/chunks/BwgSpace-CnLM4qcg.js.map +1 -0
- package/dist/chunks/BwgSpace-b0hmM1Ht.cjs +1 -0
- package/dist/chunks/BwgSpace-b0hmM1Ht.cjs.map +1 -0
- package/dist/chunks/FileUtils-CmK-zHC5.cjs +2 -0
- package/dist/chunks/FileUtils-CmK-zHC5.cjs.map +1 -0
- package/dist/chunks/FileUtils-DsA-Sw37.js +141 -0
- package/dist/chunks/FileUtils-DsA-Sw37.js.map +1 -0
- package/dist/chunks/PublicLayout-BiTPwkVq.cjs +36 -0
- package/dist/chunks/PublicLayout-BiTPwkVq.cjs.map +1 -0
- package/dist/chunks/PublicLayout-g9WMtoZ0.js +139 -0
- package/dist/chunks/PublicLayout-g9WMtoZ0.js.map +1 -0
- package/dist/chunks/SSOHandler-CpCGcq5k.cjs +184 -0
- package/dist/chunks/SSOHandler-CpCGcq5k.cjs.map +1 -0
- package/dist/chunks/{QuickServiceToggle-y7esp1kp.js → SSOHandler-CvYiloZ5.js} +14832 -14630
- package/dist/chunks/SSOHandler-CvYiloZ5.js.map +1 -0
- package/dist/chunks/ScreenProtectContext-ofv2QgMp.cjs +2 -0
- package/dist/chunks/ScreenProtectContext-ofv2QgMp.cjs.map +1 -0
- package/dist/chunks/ScreenProtectContext-zByHldrr.js +115 -0
- package/dist/chunks/ScreenProtectContext-zByHldrr.js.map +1 -0
- package/dist/chunks/{ServiceCodeContext-CDZMr3Mm.js → SearchBoxContext-CzDzVCVm.js} +40 -39
- package/dist/chunks/SearchBoxContext-CzDzVCVm.js.map +1 -0
- package/dist/chunks/SearchBoxContext-mcPWk862.cjs +2 -0
- package/dist/chunks/SearchBoxContext-mcPWk862.cjs.map +1 -0
- package/dist/chunks/{UtilsContext-B16Gh9LL.cjs → UtilsContext-B6P_aohP.cjs} +2 -1
- package/dist/chunks/UtilsContext-B6P_aohP.cjs.map +1 -0
- package/dist/chunks/{UtilsContext-BbfZYiMR.js → UtilsContext-B9uAvAVF.js} +10 -9
- package/dist/chunks/UtilsContext-B9uAvAVF.js.map +1 -0
- package/dist/chunks/_commonjsHelpers-C6fGbg64.js +1 -0
- package/dist/chunks/_commonjsHelpers-C6fGbg64.js.map +1 -0
- package/dist/chunks/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/chunks/_commonjsHelpers-DwGv2jUC.cjs.map +1 -0
- package/dist/chunks/{codeStore-Dt6j826J.cjs → codeStore-BG8S_mdS.cjs} +2 -1
- package/dist/chunks/codeStore-BG8S_mdS.cjs.map +1 -0
- package/dist/chunks/{codeStore-bxk_q1sl.js → codeStore-rU4v3QIA.js} +2 -1
- package/dist/chunks/codeStore-rU4v3QIA.js.map +1 -0
- package/dist/chunks/commonUtils-BV6WFv-z.js +1 -0
- package/dist/chunks/commonUtils-BV6WFv-z.js.map +1 -0
- package/dist/chunks/commonUtils-L9Jgc5y-.cjs +1 -0
- package/dist/chunks/commonUtils-L9Jgc5y-.cjs.map +1 -0
- package/dist/chunks/envUtils-C9Gf5aek.js +30 -0
- package/dist/chunks/envUtils-C9Gf5aek.js.map +1 -0
- package/dist/chunks/envUtils-CduTHoHu.cjs +2 -0
- package/dist/chunks/envUtils-CduTHoHu.cjs.map +1 -0
- package/dist/chunks/jsx-runtime-CeSfJrVB.cjs +1 -0
- package/dist/chunks/jsx-runtime-CeSfJrVB.cjs.map +1 -0
- package/dist/chunks/jsx-runtime-Dpn_P65e.js +1 -0
- package/dist/chunks/jsx-runtime-Dpn_P65e.js.map +1 -0
- package/dist/chunks/menuStore-CBvENehP.cjs +2 -0
- package/dist/chunks/menuStore-CBvENehP.cjs.map +1 -0
- package/dist/chunks/{favoriteStore-CguRSEcH.js → menuStore-CvQrMo35.js} +137 -123
- package/dist/chunks/menuStore-CvQrMo35.js.map +1 -0
- package/dist/chunks/{popupStore-CVD8SPTa.cjs → popupStore--hKZUZcO.cjs} +2 -1
- package/dist/chunks/popupStore--hKZUZcO.cjs.map +1 -0
- package/dist/chunks/{popupStore-Dp_fqtim.js → popupStore-BFIHOcoZ.js} +2 -1
- package/dist/chunks/popupStore-BFIHOcoZ.js.map +1 -0
- package/dist/chunks/realFormat-Cha7OTd9.cjs +1 -0
- package/dist/chunks/realFormat-Cha7OTd9.cjs.map +1 -0
- package/dist/chunks/realFormat-DRGLFabQ.js +1 -0
- package/dist/chunks/realFormat-DRGLFabQ.js.map +1 -0
- package/dist/chunks/serviceConfig-Cc8jfw_Y.cjs +3 -0
- package/dist/chunks/serviceConfig-Cc8jfw_Y.cjs.map +1 -0
- package/dist/chunks/{serviceConfig-BJBsdee_.js → serviceConfig-lAlRNVIw.js} +177 -206
- package/dist/chunks/serviceConfig-lAlRNVIw.js.map +1 -0
- package/dist/components/common/BwgButtonGroup.d.ts +1 -0
- package/dist/components/common/BwgButtonGroup.d.ts.map +1 -0
- package/dist/components/common/BwgCmptArea.d.ts +85 -6
- package/dist/components/common/BwgCmptArea.d.ts.map +1 -0
- package/dist/components/common/BwgCol.d.ts +20 -0
- package/dist/components/common/BwgCol.d.ts.map +1 -0
- package/dist/components/common/BwgConfigProvider.d.ts +3 -1
- package/dist/components/common/BwgConfigProvider.d.ts.map +1 -0
- package/dist/components/common/BwgDrawer.d.ts +1 -0
- package/dist/components/common/BwgDrawer.d.ts.map +1 -0
- package/dist/components/common/BwgGrid.d.ts +10 -4
- package/dist/components/common/BwgGrid.d.ts.map +1 -0
- package/dist/components/common/BwgInfoArea.d.ts +3 -1
- package/dist/components/common/BwgInfoArea.d.ts.map +1 -0
- package/dist/components/common/BwgPopup.d.ts +1 -0
- package/dist/components/common/BwgPopup.d.ts.map +1 -0
- package/dist/components/common/BwgRow.d.ts +20 -0
- package/dist/components/common/BwgRow.d.ts.map +1 -0
- package/dist/components/common/BwgSpace.d.ts +1 -0
- package/dist/components/common/BwgSpace.d.ts.map +1 -0
- package/dist/components/common/BwgTable.d.ts +1 -0
- package/dist/components/common/BwgTable.d.ts.map +1 -0
- package/dist/components/common/BwgTabs.d.ts +1 -0
- package/dist/components/common/BwgTabs.d.ts.map +1 -0
- package/dist/components/common/BwgTitleBox.d.ts +6 -1
- package/dist/components/common/BwgTitleBox.d.ts.map +1 -0
- package/dist/components/common/BwgView.d.ts +3 -13
- package/dist/components/common/BwgView.d.ts.map +1 -0
- package/dist/components/common/ContentBox.d.ts +1 -0
- package/dist/components/common/ContentBox.d.ts.map +1 -0
- package/dist/components/common/ContentLayOut.d.ts +1 -0
- package/dist/components/common/ContentLayOut.d.ts.map +1 -0
- package/dist/components/common/GlobalConfigProvider.d.ts +1 -0
- package/dist/components/common/GlobalConfigProvider.d.ts.map +1 -0
- package/dist/components/common/QuickServiceToggle.d.ts +1 -0
- package/dist/components/common/QuickServiceToggle.d.ts.map +1 -0
- package/dist/components/common/SSOHandler.d.ts +3 -0
- package/dist/components/common/SSOHandler.d.ts.map +1 -0
- package/dist/components/common/SearchBox.d.ts +60 -7
- package/dist/components/common/SearchBox.d.ts.map +1 -0
- package/dist/components/common/index.cjs +2 -1
- package/dist/components/common/index.cjs.map +1 -0
- package/dist/components/common/index.d.ts +20 -16
- package/dist/components/common/index.d.ts.map +1 -0
- package/dist/components/common/index.js +21 -17
- package/dist/components/common/index.js.map +1 -0
- package/dist/components/core/BwgButton.d.ts +1 -0
- package/dist/components/core/BwgButton.d.ts.map +1 -0
- package/dist/components/core/BwgCheck.d.ts +1 -0
- package/dist/components/core/BwgCheck.d.ts.map +1 -0
- package/dist/components/core/BwgCheckList.d.ts +1 -0
- package/dist/components/core/BwgCheckList.d.ts.map +1 -0
- package/dist/components/core/BwgDatePicker.d.ts +1 -0
- package/dist/components/core/BwgDatePicker.d.ts.map +1 -0
- package/dist/components/core/BwgForm.d.ts +1 -0
- package/dist/components/core/BwgForm.d.ts.map +1 -0
- package/dist/components/core/BwgFormItem.d.ts +1 -0
- package/dist/components/core/BwgFormItem.d.ts.map +1 -0
- package/dist/components/core/BwgInput.d.ts +1 -0
- package/dist/components/core/BwgInput.d.ts.map +1 -0
- package/dist/components/core/BwgLargeUploader.d.ts +5 -1
- package/dist/components/core/BwgLargeUploader.d.ts.map +1 -0
- package/dist/components/core/BwgMaskedInput.d.ts +1 -0
- package/dist/components/core/BwgMaskedInput.d.ts.map +1 -0
- package/dist/components/core/BwgMaskedPicker.d.ts +1 -0
- package/dist/components/core/BwgMaskedPicker.d.ts.map +1 -0
- package/dist/components/core/BwgMultiSelect.d.ts +1 -0
- package/dist/components/core/BwgMultiSelect.d.ts.map +1 -0
- package/dist/components/core/BwgNumber.d.ts +1 -0
- package/dist/components/core/BwgNumber.d.ts.map +1 -0
- package/dist/components/core/BwgRadio.d.ts +1 -0
- package/dist/components/core/BwgRadio.d.ts.map +1 -0
- package/dist/components/core/BwgRangePicker.d.ts +1 -0
- package/dist/components/core/BwgRangePicker.d.ts.map +1 -0
- package/dist/components/core/BwgSearch.d.ts +5 -0
- package/dist/components/core/BwgSearch.d.ts.map +1 -0
- package/dist/components/core/BwgSelect.d.ts +1 -0
- package/dist/components/core/BwgSelect.d.ts.map +1 -0
- package/dist/components/core/BwgTextArea.d.ts +1 -0
- package/dist/components/core/BwgTextArea.d.ts.map +1 -0
- package/dist/components/core/BwgUploader.d.ts +31 -7
- package/dist/components/core/BwgUploader.d.ts.map +1 -0
- package/dist/components/core/index.cjs +2 -1
- package/dist/components/core/index.cjs.map +1 -0
- package/dist/components/core/index.d.ts +1 -0
- package/dist/components/core/index.d.ts.map +1 -0
- package/dist/components/core/index.js +2 -1
- package/dist/components/core/index.js.map +1 -0
- package/dist/components/guide/BwgComponentGuide.d.ts +1 -0
- package/dist/components/guide/BwgComponentGuide.d.ts.map +1 -0
- package/dist/components/guide/BwgDeveloperGuide.d.ts +1 -0
- package/dist/components/guide/BwgDeveloperGuide.d.ts.map +1 -0
- package/dist/components/guide/index.cjs +1 -0
- package/dist/components/guide/index.cjs.map +1 -0
- package/dist/components/guide/index.d.ts +1 -0
- package/dist/components/guide/index.d.ts.map +1 -0
- package/dist/components/guide/index.js +1 -0
- package/dist/components/guide/index.js.map +1 -0
- package/dist/components/layout/ProgressOverlay.d.ts +11 -0
- package/dist/components/layout/ProgressOverlay.d.ts.map +1 -0
- package/dist/components/layout/ProtectLayout.d.ts +7 -0
- package/dist/components/layout/ProtectLayout.d.ts.map +1 -0
- package/dist/components/layout/PublicLayout.d.ts +7 -0
- package/dist/components/layout/PublicLayout.d.ts.map +1 -0
- package/dist/components/layout/index.cjs +2 -0
- package/dist/components/layout/index.cjs.map +1 -0
- package/dist/components/layout/index.d.ts +4 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/components/layout/index.js +7 -0
- package/dist/components/layout/index.js.map +1 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +305 -289
- package/dist/index.js.map +1 -0
- package/dist/provider/contexts/AuthContext.d.ts +13 -0
- package/dist/provider/contexts/AuthContext.d.ts.map +1 -0
- package/dist/provider/contexts/CommonCodeContext.d.ts +6 -5
- package/dist/provider/contexts/CommonCodeContext.d.ts.map +1 -0
- package/dist/provider/contexts/ScreenProtectContext.d.ts +22 -0
- package/dist/provider/contexts/ScreenProtectContext.d.ts.map +1 -0
- package/dist/provider/contexts/SearchBoxContext.d.ts +1 -0
- package/dist/provider/contexts/SearchBoxContext.d.ts.map +1 -0
- package/dist/provider/contexts/ServiceCodeContext.d.ts +1 -0
- package/dist/provider/contexts/ServiceCodeContext.d.ts.map +1 -0
- package/dist/provider/contexts/UtilsContext.d.ts +1 -0
- package/dist/provider/contexts/UtilsContext.d.ts.map +1 -0
- package/dist/provider/contexts/index.d.ts +3 -0
- package/dist/provider/contexts/index.d.ts.map +1 -0
- package/dist/provider/hooks/index.d.ts +1 -0
- package/dist/provider/hooks/index.d.ts.map +1 -0
- package/dist/provider/hooks/usePopup.d.ts +2 -1
- package/dist/provider/hooks/usePopup.d.ts.map +1 -0
- package/dist/provider/hooks/useViewState.d.ts +1 -0
- package/dist/provider/hooks/useViewState.d.ts.map +1 -0
- package/dist/provider/index.cjs +2 -1
- package/dist/provider/index.cjs.map +1 -0
- package/dist/provider/index.d.ts +1 -0
- package/dist/provider/index.d.ts.map +1 -0
- package/dist/provider/index.js +26 -19
- package/dist/provider/index.js.map +1 -0
- package/dist/public/realgrid/css/realgrid-style-custom.css +643 -0
- package/dist/public/realgrid/css/realgrid-style.css +1902 -0
- package/dist/public/realgrid/images/ico_c.png +0 -0
- package/dist/public/realgrid/images/ico_d.png +0 -0
- package/dist/public/realgrid/images/ico_jp.png +0 -0
- package/dist/public/realgrid/images/ico_mp.png +0 -0
- package/dist/public/realgrid/images/ico_n.png +0 -0
- package/dist/public/realgrid/images/ico_nd.png +0 -0
- package/dist/public/realgrid/images/ico_p.png +0 -0
- package/dist/public/realgrid/images/ico_r.png +0 -0
- package/dist/public/realgrid/images/ico_sp.png +0 -0
- package/dist/public/realgrid/images/ico_u.png +0 -0
- package/dist/public/realgrid/images/ico_wt.png +0 -0
- package/dist/stores/codeStore.d.ts +4 -3
- package/dist/stores/codeStore.d.ts.map +1 -0
- package/dist/stores/favoriteStore.d.ts +1 -0
- package/dist/stores/favoriteStore.d.ts.map +1 -0
- package/dist/stores/index.cjs +2 -1
- package/dist/stores/index.cjs.map +1 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/index.js +6 -5
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/menuStore.d.ts +1 -0
- package/dist/stores/menuStore.d.ts.map +1 -0
- package/dist/stores/popupStore.d.ts +1 -0
- package/dist/stores/popupStore.d.ts.map +1 -0
- package/dist/stores/userStore.d.ts +4 -3
- package/dist/stores/userStore.d.ts.map +1 -0
- package/dist/styles/assets/images/backgrounds/krx_login_bg.png +0 -0
- package/dist/styles/assets/images/contents/icon/ico-lockscreen.svg +44 -0
- package/dist/styles/assets/images/logos/krx-logo-full.svg +35 -0
- package/dist/styles/components.css +130 -17
- package/dist/styles/global.css +19 -0
- package/dist/styles/layout.css +108 -35
- package/dist/styles/login.css +39 -33
- package/dist/styles/variables.css +221 -5
- package/dist/types/global.d.ts +2 -0
- package/dist/utils/FileUtils.d.ts +8 -0
- package/dist/utils/FileUtils.d.ts.map +1 -0
- package/dist/utils/apiUtils.d.ts +1 -0
- package/dist/utils/apiUtils.d.ts.map +1 -0
- package/dist/utils/arrayUtils.d.ts +1 -0
- package/dist/utils/arrayUtils.d.ts.map +1 -0
- package/dist/utils/commonUtils.d.ts +1 -0
- package/dist/utils/commonUtils.d.ts.map +1 -0
- package/dist/utils/cookieUtils.d.ts +1 -0
- package/dist/utils/cookieUtils.d.ts.map +1 -0
- package/dist/utils/dateUtils.d.ts +1 -0
- package/dist/utils/dateUtils.d.ts.map +1 -0
- package/dist/utils/envUtils.d.ts +9 -0
- package/dist/utils/envUtils.d.ts.map +1 -0
- package/dist/utils/imageUtils.d.ts +1 -0
- package/dist/utils/imageUtils.d.ts.map +1 -0
- package/dist/utils/index.cjs +2 -1
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +106 -103
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/messageUtils.d.ts +1 -0
- package/dist/utils/messageUtils.d.ts.map +1 -0
- package/dist/utils/notificationUtils.d.ts +1 -0
- package/dist/utils/notificationUtils.d.ts.map +1 -0
- package/dist/utils/objectUtils.d.ts +1 -0
- package/dist/utils/objectUtils.d.ts.map +1 -0
- package/dist/utils/realFormat.d.ts +1 -0
- package/dist/utils/realFormat.d.ts.map +1 -0
- package/dist/utils/serviceConfig.d.ts +1 -0
- package/dist/utils/serviceConfig.d.ts.map +1 -0
- package/dist/utils/stringUtils.d.ts +1 -0
- package/dist/utils/stringUtils.d.ts.map +1 -0
- package/dist/utils/userUtils.d.ts +2 -1
- package/dist/utils/userUtils.d.ts.map +1 -0
- package/package.json +40 -37
- package/dist/chunks/BwgLargeUploader-ByN1XWV4.js +0 -809
- package/dist/chunks/BwgLargeUploader-CU0-MVk4.cjs +0 -1
- package/dist/chunks/QuickServiceToggle-CiCuWfCF.cjs +0 -183
- package/dist/chunks/ServiceCodeContext--ZnMtjzD.cjs +0 -1
- package/dist/chunks/favoriteStore-TgeeY32l.cjs +0 -1
- package/dist/chunks/messageUtils-9DXOwada.js +0 -117
- package/dist/chunks/messageUtils-RjJD_ArW.cjs +0 -1
- package/dist/chunks/serviceConfig-Cr2P4yr4.cjs +0 -2
- package/dist/public/styles/assets/images/contents/icon/ico-business-trip.svg +0 -21
- package/dist/public/styles/assets/images/contents/icon/ico-holiday.svg +0 -23
- package/dist/public/styles/assets/images/contents/icon/ico-menu-help.svg +0 -5
- package/dist/public/styles/assets/images/contents/icon/ico-overtime.svg +0 -17
- package/dist/public/styles/assets/images/contents/icon/ico-quick-tab-move.svg +0 -8
- package/dist/public/styles/assets/images/contents/icon/quick tab-text.svg +0 -4
- package/dist/public/styles/assets/images/contents/icon/quick-tab-text.svg +0 -4
- package/dist/public/test.txt +0 -0
- package/dist/styles/assets/images/contents/icon/quick tab-text.svg +0 -4
- package/dist/test.txt +0 -0
- package/public/styles/assets/images/contents/icon/ico-business-trip.svg +0 -21
- package/public/styles/assets/images/contents/icon/ico-holiday.svg +0 -23
- package/public/styles/assets/images/contents/icon/ico-menu-help.svg +0 -5
- package/public/styles/assets/images/contents/icon/ico-overtime.svg +0 -17
- package/public/styles/assets/images/contents/icon/ico-quick-tab-move.svg +0 -8
- package/public/styles/assets/images/contents/icon/quick tab-text.svg +0 -4
- package/public/styles/assets/images/contents/icon/quick-tab-text.svg +0 -4
- package/public/test.txt +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import H from "axios";
|
|
2
2
|
import c from "crypto-js";
|
|
3
3
|
import { notification as C } from "antd";
|
|
4
|
-
import { create as
|
|
5
|
-
|
|
4
|
+
import { create as J } from "zustand";
|
|
5
|
+
import { i as P, g as Z } from "./envUtils-C9Gf5aek.js";
|
|
6
|
+
const D = (e) => typeof e != "string" ? !e : e.trim().length === 0, V = (e, t) => D(e) ? t : e || "", X = (e) => !D(e), Y = (e, t, r = "...") => e.length <= t ? e : e.substring(0, t) + r, M = (e) => D(e) ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Q = (e) => D(e) ? e : e.split(" ").map((t) => M(t)).join(" "), ee = (e) => e.replace(/-([a-z])/g, (t) => t[1].toUpperCase()), te = (e) => e.replace(/[A-Z]/g, (t) => `_${t.toLowerCase()}`), re = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`), ne = (e) => {
|
|
6
7
|
const r = e.replace(/\D/g, "").match(/^(\d{3})(\d{4})(\d{4})$/);
|
|
7
8
|
return r ? `${r[1]}-${r[2]}-${r[3]}` : e;
|
|
8
9
|
}, se = (e) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e), ae = (e) => {
|
|
@@ -15,7 +16,7 @@ const _ = (e) => typeof e != "string" ? !e : e.trim().length === 0, Z = (e, t) =
|
|
|
15
16
|
`), de = (e, t) => {
|
|
16
17
|
const r = e.match(t);
|
|
17
18
|
return r || [];
|
|
18
|
-
}, ge = (e, t) => e.repeat(t), me = (e, t, r = " ") => e.padStart(t, r),
|
|
19
|
+
}, ge = (e, t) => e.repeat(t), me = (e, t, r = " ") => e.padStart(t, r), he = (e, t, r = " ") => e.padEnd(t, r), fe = (e, t, r = " ") => {
|
|
19
20
|
const n = t - e.length;
|
|
20
21
|
if (n <= 0) return e;
|
|
21
22
|
const a = Math.floor(n / 2), s = n - a;
|
|
@@ -25,25 +26,25 @@ const _ = (e) => typeof e != "string" ? !e : e.trim().length === 0, Z = (e, t) =
|
|
|
25
26
|
for (let n = 0; n < e; n++)
|
|
26
27
|
r += t.charAt(Math.floor(Math.random() * t.length));
|
|
27
28
|
return r;
|
|
28
|
-
},
|
|
29
|
+
}, pe = (e) => e.split("").reverse().join(""), Se = (e, t) => (e.match(new RegExp(t, "g")) || []).length, ye = (e) => e.trim().split(/\s+/).length, B = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
29
30
|
const t = Math.random() * 16 | 0;
|
|
30
31
|
return (e === "x" ? t : t & 3 | 8).toString(16);
|
|
31
32
|
}), R = (e = 32) => {
|
|
32
33
|
const r = B().replace(/-/g, "");
|
|
33
34
|
return e >= 32 ? r + b(e - 32, "0123456789abcdef") : r.substring(0, e);
|
|
34
|
-
}, Ce = () => R(16), Ie = () => R(64),
|
|
35
|
+
}, Ce = () => R(16), Ie = () => R(64), Ue = (e = 16) => b(e, "0123456789"), Ne = (e = 16) => b(e, "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"), G = () => B(), j = () => G().replace(/-/g, ""), we = () => {
|
|
35
36
|
const e = Date.now().toString(36), t = b(8, "0123456789abcdef");
|
|
36
37
|
return e + t;
|
|
37
38
|
}, ve = (e, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") => e.replace(
|
|
38
39
|
/[X-Z]/g,
|
|
39
40
|
() => t.charAt(Math.floor(Math.random() * t.length))
|
|
40
|
-
),
|
|
41
|
+
), xe = (e) => {
|
|
41
42
|
const t = c.SHA256(e);
|
|
42
43
|
return c.enc.Base64.stringify(t);
|
|
43
|
-
},
|
|
44
|
+
}, L = () => "abcdefghij1234567890!@#$%^&*();;", K = () => "123456098765!@#$", Ee = (e) => {
|
|
44
45
|
if (!e) return "";
|
|
45
46
|
try {
|
|
46
|
-
const t = c.enc.Utf8.parse(
|
|
47
|
+
const t = c.enc.Utf8.parse(L()), r = c.enc.Utf8.parse(K());
|
|
47
48
|
return c.AES.encrypt(e, t, {
|
|
48
49
|
iv: r,
|
|
49
50
|
padding: c.pad.Pkcs7,
|
|
@@ -52,10 +53,10 @@ const _ = (e) => typeof e != "string" ? !e : e.trim().length === 0, Z = (e, t) =
|
|
|
52
53
|
} catch (t) {
|
|
53
54
|
return console.error("암호화 오류:", t), "";
|
|
54
55
|
}
|
|
55
|
-
},
|
|
56
|
+
}, De = (e) => {
|
|
56
57
|
if (!e) return "";
|
|
57
58
|
try {
|
|
58
|
-
const t = c.enc.Utf8.parse(
|
|
59
|
+
const t = c.enc.Utf8.parse(L()), r = c.enc.Utf8.parse(K());
|
|
59
60
|
return c.AES.decrypt(e, t, {
|
|
60
61
|
iv: r,
|
|
61
62
|
padding: c.pad.Pkcs7,
|
|
@@ -64,71 +65,71 @@ const _ = (e) => typeof e != "string" ? !e : e.trim().length === 0, Z = (e, t) =
|
|
|
64
65
|
} catch (t) {
|
|
65
66
|
return console.error("복호화 오류:", t), "";
|
|
66
67
|
}
|
|
67
|
-
},
|
|
68
|
+
}, be = (e, t) => {
|
|
68
69
|
if (!e) return "";
|
|
69
70
|
try {
|
|
70
|
-
const r = t ||
|
|
71
|
+
const r = t || L();
|
|
71
72
|
return c.AES.encrypt(e, r).toString();
|
|
72
73
|
} catch (r) {
|
|
73
74
|
return console.error("간단한 암호화 오류:", r), "";
|
|
74
75
|
}
|
|
75
|
-
},
|
|
76
|
+
}, Te = (e, t) => {
|
|
76
77
|
if (!e) return "";
|
|
77
78
|
try {
|
|
78
|
-
const r = t ||
|
|
79
|
+
const r = t || L();
|
|
79
80
|
return c.AES.decrypt(e, r).toString(c.enc.Utf8);
|
|
80
81
|
} catch (r) {
|
|
81
82
|
return console.error("간단한 복호화 오류:", r), "";
|
|
82
83
|
}
|
|
83
|
-
},
|
|
84
|
+
}, Ae = (e) => e ? c.MD5(e).toString() : "", Pe = (e) => e ? c.SHA256(e).toString() : "", Le = (e) => e ? c.enc.Base64.stringify(c.enc.Utf8.parse(e)) : "", Oe = (e) => {
|
|
84
85
|
if (!e) return "";
|
|
85
86
|
try {
|
|
86
87
|
return c.enc.Base64.parse(e).toString(c.enc.Utf8);
|
|
87
88
|
} catch (t) {
|
|
88
89
|
return console.error("Base64 디코딩 오류:", t), "";
|
|
89
90
|
}
|
|
90
|
-
},
|
|
91
|
+
}, Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91
92
|
__proto__: null,
|
|
92
|
-
base64Decode:
|
|
93
|
-
base64Encode:
|
|
93
|
+
base64Decode: Oe,
|
|
94
|
+
base64Encode: Le,
|
|
94
95
|
br2nl: le,
|
|
95
|
-
bxmDecrypt:
|
|
96
|
-
bxmEncrypt:
|
|
96
|
+
bxmDecrypt: De,
|
|
97
|
+
bxmEncrypt: Ee,
|
|
97
98
|
capitalize: M,
|
|
98
99
|
capitalizeWords: Q,
|
|
99
|
-
center:
|
|
100
|
-
countChar:
|
|
101
|
-
countWords:
|
|
102
|
-
encryptSha256:
|
|
100
|
+
center: fe,
|
|
101
|
+
countChar: Se,
|
|
102
|
+
countWords: ye,
|
|
103
|
+
encryptSha256: xe,
|
|
103
104
|
extractNumbers: oe,
|
|
104
105
|
findPattern: de,
|
|
105
106
|
formatPhoneNumber: ne,
|
|
106
|
-
generateAlphanumericUID:
|
|
107
|
+
generateAlphanumericUID: Ne,
|
|
107
108
|
generateCustomUID: ve,
|
|
108
109
|
generateGUID: G,
|
|
109
110
|
generateGUIDWithoutHyphens: j,
|
|
110
111
|
generateLongUID: Ie,
|
|
111
|
-
generateNumericUID:
|
|
112
|
+
generateNumericUID: Ue,
|
|
112
113
|
generateRandomString: b,
|
|
113
114
|
generateShortUID: Ce,
|
|
114
115
|
generateTimestampUID: we,
|
|
115
116
|
generateUID: R,
|
|
116
|
-
isEmpty:
|
|
117
|
+
isEmpty: D,
|
|
117
118
|
isNotEmpty: X,
|
|
118
|
-
isSafeEmpty:
|
|
119
|
+
isSafeEmpty: V,
|
|
119
120
|
isValidEmail: se,
|
|
120
121
|
isValidUrl: ae,
|
|
121
|
-
md5Hash:
|
|
122
|
+
md5Hash: Ae,
|
|
122
123
|
nl2br: ue,
|
|
123
124
|
padLeft: me,
|
|
124
|
-
padRight:
|
|
125
|
+
padRight: he,
|
|
125
126
|
removeHtmlTags: ie,
|
|
126
127
|
removeSpecialChars: ce,
|
|
127
128
|
repeat: ge,
|
|
128
|
-
reverse:
|
|
129
|
-
sha256Hash:
|
|
130
|
-
simpleDecrypt:
|
|
131
|
-
simpleEncrypt:
|
|
129
|
+
reverse: pe,
|
|
130
|
+
sha256Hash: Pe,
|
|
131
|
+
simpleDecrypt: Te,
|
|
132
|
+
simpleEncrypt: be,
|
|
132
133
|
toCamelCase: ee,
|
|
133
134
|
toKebabCase: re,
|
|
134
135
|
toSnakeCase: te,
|
|
@@ -139,7 +140,6 @@ const _ = (e) => typeof e != "string" ? !e : e.trim().length === 0, Z = (e, t) =
|
|
|
139
140
|
placement: "topRight"
|
|
140
141
|
};
|
|
141
142
|
class w {
|
|
142
|
-
static instance;
|
|
143
143
|
constructor() {
|
|
144
144
|
}
|
|
145
145
|
static getInstance() {
|
|
@@ -219,21 +219,22 @@ class w {
|
|
|
219
219
|
C.destroy();
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
const I = w.getInstance(),
|
|
222
|
+
const I = w.getInstance(), _e = (e) => {
|
|
223
223
|
I.showBwgError(e);
|
|
224
|
-
},
|
|
224
|
+
}, Ye = (e, t, r) => {
|
|
225
225
|
I.showSuccess(e, t, r);
|
|
226
|
-
},
|
|
226
|
+
}, Qe = (e, t, r) => {
|
|
227
227
|
I.showInfo(e, t, r);
|
|
228
|
-
},
|
|
228
|
+
}, et = (e, t, r) => {
|
|
229
229
|
I.showWarning(e, t, r);
|
|
230
|
-
},
|
|
230
|
+
}, tt = (e, t, r) => {
|
|
231
231
|
I.showError(e, t, r);
|
|
232
|
-
},
|
|
232
|
+
}, rt = () => {
|
|
233
233
|
I.destroy();
|
|
234
|
-
},
|
|
234
|
+
}, nt = (e) => {
|
|
235
235
|
I.close(e);
|
|
236
236
|
};
|
|
237
|
+
import.meta.env.DEV;
|
|
237
238
|
function ke(e, t) {
|
|
238
239
|
let r;
|
|
239
240
|
try {
|
|
@@ -244,19 +245,19 @@ function ke(e, t) {
|
|
|
244
245
|
return {
|
|
245
246
|
getItem: (a) => {
|
|
246
247
|
var s;
|
|
247
|
-
const
|
|
248
|
-
return m instanceof Promise ? m.then(
|
|
248
|
+
const f = (l) => l === null ? null : JSON.parse(l, void 0), m = (s = r.getItem(a)) != null ? s : null;
|
|
249
|
+
return m instanceof Promise ? m.then(f) : f(m);
|
|
249
250
|
},
|
|
250
251
|
setItem: (a, s) => r.setItem(a, JSON.stringify(s, void 0)),
|
|
251
252
|
removeItem: (a) => r.removeItem(a)
|
|
252
253
|
};
|
|
253
254
|
}
|
|
254
|
-
const
|
|
255
|
+
const _ = (e) => (t) => {
|
|
255
256
|
try {
|
|
256
257
|
const r = e(t);
|
|
257
258
|
return r instanceof Promise ? r : {
|
|
258
259
|
then(n) {
|
|
259
|
-
return
|
|
260
|
+
return _(n)(r);
|
|
260
261
|
},
|
|
261
262
|
catch(n) {
|
|
262
263
|
return this;
|
|
@@ -268,7 +269,7 @@ const P = (e) => (t) => {
|
|
|
268
269
|
return this;
|
|
269
270
|
},
|
|
270
271
|
catch(n) {
|
|
271
|
-
return
|
|
272
|
+
return _(n)(r);
|
|
272
273
|
}
|
|
273
274
|
};
|
|
274
275
|
}
|
|
@@ -277,12 +278,12 @@ const P = (e) => (t) => {
|
|
|
277
278
|
storage: ke(() => localStorage),
|
|
278
279
|
partialize: (o) => o,
|
|
279
280
|
version: 0,
|
|
280
|
-
merge: (o,
|
|
281
|
-
...
|
|
281
|
+
merge: (o, N) => ({
|
|
282
|
+
...N,
|
|
282
283
|
...o
|
|
283
284
|
}),
|
|
284
285
|
...t
|
|
285
|
-
},
|
|
286
|
+
}, f = !1;
|
|
286
287
|
const m = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set();
|
|
287
288
|
let u = s.storage;
|
|
288
289
|
if (!u)
|
|
@@ -295,38 +296,38 @@ const P = (e) => (t) => {
|
|
|
295
296
|
n,
|
|
296
297
|
a
|
|
297
298
|
);
|
|
298
|
-
const
|
|
299
|
+
const y = () => {
|
|
299
300
|
const o = s.partialize({ ...n() });
|
|
300
301
|
return u.setItem(s.name, {
|
|
301
302
|
state: o,
|
|
302
303
|
version: s.version
|
|
303
304
|
});
|
|
304
|
-
},
|
|
305
|
-
a.setState = (o,
|
|
306
|
-
const
|
|
307
|
-
(...o) => (r(...o),
|
|
305
|
+
}, p = a.setState;
|
|
306
|
+
a.setState = (o, N) => (p(o, N), y());
|
|
307
|
+
const S = e(
|
|
308
|
+
(...o) => (r(...o), y()),
|
|
308
309
|
n,
|
|
309
310
|
a
|
|
310
311
|
);
|
|
311
|
-
a.getInitialState = () =>
|
|
312
|
-
let
|
|
313
|
-
const
|
|
314
|
-
var o,
|
|
312
|
+
a.getInitialState = () => S;
|
|
313
|
+
let U;
|
|
314
|
+
const W = () => {
|
|
315
|
+
var o, N;
|
|
315
316
|
if (!u) return;
|
|
316
|
-
|
|
317
|
-
var
|
|
318
|
-
return i((
|
|
317
|
+
f = !1, m.forEach((i) => {
|
|
318
|
+
var h;
|
|
319
|
+
return i((h = n()) != null ? h : S);
|
|
319
320
|
});
|
|
320
|
-
const
|
|
321
|
-
return
|
|
321
|
+
const A = ((N = s.onRehydrateStorage) == null ? void 0 : N.call(s, (o = n()) != null ? o : S)) || void 0;
|
|
322
|
+
return _(u.getItem.bind(u))(s.name).then((i) => {
|
|
322
323
|
if (i)
|
|
323
324
|
if (typeof i.version == "number" && i.version !== s.version) {
|
|
324
325
|
if (s.migrate) {
|
|
325
|
-
const
|
|
326
|
+
const h = s.migrate(
|
|
326
327
|
i.state,
|
|
327
328
|
i.version
|
|
328
329
|
);
|
|
329
|
-
return
|
|
330
|
+
return h instanceof Promise ? h.then((O) => [!0, O]) : [!0, h];
|
|
330
331
|
}
|
|
331
332
|
console.error(
|
|
332
333
|
"State loaded from storage couldn't be migrated since no migrate function was provided"
|
|
@@ -335,17 +336,17 @@ const P = (e) => (t) => {
|
|
|
335
336
|
return [!1, i.state];
|
|
336
337
|
return [!1, void 0];
|
|
337
338
|
}).then((i) => {
|
|
338
|
-
var
|
|
339
|
-
const [
|
|
340
|
-
if (
|
|
341
|
-
|
|
342
|
-
(
|
|
343
|
-
), r(
|
|
344
|
-
return
|
|
339
|
+
var h;
|
|
340
|
+
const [O, z] = i;
|
|
341
|
+
if (U = s.merge(
|
|
342
|
+
z,
|
|
343
|
+
(h = n()) != null ? h : S
|
|
344
|
+
), r(U, !0), O)
|
|
345
|
+
return y();
|
|
345
346
|
}).then(() => {
|
|
346
|
-
|
|
347
|
+
A?.(U, void 0), U = n(), f = !0, l.forEach((i) => i(U));
|
|
347
348
|
}).catch((i) => {
|
|
348
|
-
|
|
349
|
+
A?.(void 0, i);
|
|
349
350
|
});
|
|
350
351
|
};
|
|
351
352
|
return a.persist = {
|
|
@@ -359,17 +360,17 @@ const P = (e) => (t) => {
|
|
|
359
360
|
u?.removeItem(s.name);
|
|
360
361
|
},
|
|
361
362
|
getOptions: () => s,
|
|
362
|
-
rehydrate: () =>
|
|
363
|
-
hasHydrated: () =>
|
|
363
|
+
rehydrate: () => W(),
|
|
364
|
+
hasHydrated: () => f,
|
|
364
365
|
onHydrate: (o) => (m.add(o), () => {
|
|
365
366
|
m.delete(o);
|
|
366
367
|
}),
|
|
367
368
|
onFinishHydration: (o) => (l.add(o), () => {
|
|
368
369
|
l.delete(o);
|
|
369
370
|
})
|
|
370
|
-
}, s.skipHydration ||
|
|
371
|
-
},
|
|
372
|
-
|
|
371
|
+
}, s.skipHydration || W(), U || S;
|
|
372
|
+
}, $e = Re, g = J()(
|
|
373
|
+
$e(
|
|
373
374
|
(e, t) => ({
|
|
374
375
|
user: null,
|
|
375
376
|
isLoggedIn: !1,
|
|
@@ -397,53 +398,26 @@ const P = (e) => (t) => {
|
|
|
397
398
|
// 저장할 상태만 선택
|
|
398
399
|
}
|
|
399
400
|
)
|
|
400
|
-
),
|
|
401
|
-
const t =
|
|
401
|
+
), st = () => g.getState().user?.crprCd || null, We = () => g.getState().user?.userId || null, He = () => g.getState().user?.userNm || null, at = () => g.getState().user?.userDvsn || null, ot = () => g.getState().user?.emplNo || null, Me = () => g.getState().user?.dprtCd || null, Be = () => g.getState().user?.dprtNm || null, $ = () => g.getState().user?.roleList || null, ct = (e) => {
|
|
402
|
+
const t = $();
|
|
402
403
|
return t ? t.includes(e) : !1;
|
|
403
|
-
},
|
|
404
|
-
const t =
|
|
404
|
+
}, it = (e) => {
|
|
405
|
+
const t = $();
|
|
405
406
|
return t ? e.some((r) => t.includes(r)) : !1;
|
|
406
|
-
},
|
|
407
|
-
const t =
|
|
407
|
+
}, ut = (e) => {
|
|
408
|
+
const t = $();
|
|
408
409
|
return t ? e.every((r) => t.includes(r)) : !1;
|
|
409
|
-
},
|
|
410
|
-
const e = He(), t =
|
|
410
|
+
}, lt = () => g.getState().isLoggedIn, F = () => g.getState().user, dt = () => F() !== null, gt = () => {
|
|
411
|
+
const e = He(), t = We();
|
|
411
412
|
return e || t || null;
|
|
412
|
-
},
|
|
413
|
+
}, mt = () => {
|
|
413
414
|
const e = Be(), t = Me();
|
|
414
415
|
return e || (t ? String(t) : null);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
try {
|
|
421
|
-
const t = import.meta?.env;
|
|
422
|
-
if (typeof t?.DEV == "boolean") return t.DEV;
|
|
423
|
-
if (typeof t?.MODE == "string") return t.MODE === "development";
|
|
424
|
-
} catch {
|
|
425
|
-
}
|
|
426
|
-
return typeof process < "u" && process?.env?.NODE_ENV ? process.env.NODE_ENV !== "production" : !1;
|
|
427
|
-
})();
|
|
428
|
-
let Ge = [], je = [];
|
|
429
|
-
function q() {
|
|
430
|
-
if (typeof window < "u" && window.location)
|
|
431
|
-
return window.location.hostname;
|
|
432
|
-
}
|
|
433
|
-
const Ke = (() => {
|
|
434
|
-
const e = q();
|
|
435
|
-
return !!(e && Ge.includes(e));
|
|
436
|
-
})(), Fe = (() => {
|
|
437
|
-
const e = q();
|
|
438
|
-
return !!(e && je.includes(e));
|
|
439
|
-
})();
|
|
440
|
-
function qe() {
|
|
441
|
-
return D ? "X" : Ke ? "D" : Fe ? "P" : "X";
|
|
442
|
-
}
|
|
443
|
-
let x = null;
|
|
444
|
-
const St = (e) => {
|
|
445
|
-
x === null && (x = e);
|
|
446
|
-
}, Ct = () => x, It = async () => (console.log("IP 검증 비활성화됨 (성능 최적화)"), x || "unknown"), k = {
|
|
416
|
+
};
|
|
417
|
+
let E = null;
|
|
418
|
+
const ht = (e) => {
|
|
419
|
+
E === null && (E = e);
|
|
420
|
+
}, ft = () => E, pt = async () => (console.log("IP 검증 비활성화됨 (성능 최적화)"), E || "unknown"), k = {
|
|
447
421
|
method: "POST",
|
|
448
422
|
timeout: 3e4,
|
|
449
423
|
// 30초
|
|
@@ -461,7 +435,7 @@ const St = (e) => {
|
|
|
461
435
|
Accept: "application/json; charset=utf-8"
|
|
462
436
|
}
|
|
463
437
|
});
|
|
464
|
-
|
|
438
|
+
P && (console.log("🔧 API Client Configuration:"), console.log(" - Timeout:", v.defaults.timeout), console.log(" - With Credentials:", v.defaults.withCredentials), console.log(" - Environment:", Z()));
|
|
465
439
|
v.interceptors.request.use(
|
|
466
440
|
(e) => {
|
|
467
441
|
let t = "UNKNOWN", r = "UNKNOWN";
|
|
@@ -492,7 +466,7 @@ v.interceptors.response.use(
|
|
|
492
466
|
), e;
|
|
493
467
|
},
|
|
494
468
|
async (e) => {
|
|
495
|
-
if (console.error("❌ API 응답 에러:", e),
|
|
469
|
+
if (console.error("❌ API 응답 에러:", e), P && console.error("🚨 Error Details:", {
|
|
496
470
|
message: e.message,
|
|
497
471
|
status: e.response?.status,
|
|
498
472
|
statusText: e.response?.statusText,
|
|
@@ -525,7 +499,7 @@ v.interceptors.response.use(
|
|
|
525
499
|
return Promise.reject(e);
|
|
526
500
|
}
|
|
527
501
|
);
|
|
528
|
-
const
|
|
502
|
+
const Ge = () => j(), T = async (e, t, r) => {
|
|
529
503
|
try {
|
|
530
504
|
const n = {
|
|
531
505
|
...k,
|
|
@@ -537,40 +511,40 @@ const ze = () => j(), O = async (e, t, r) => {
|
|
|
537
511
|
withCredentials: n.withCredentials
|
|
538
512
|
};
|
|
539
513
|
n.headers && (a.headers = n.headers);
|
|
540
|
-
const s =
|
|
514
|
+
const s = E || "unknown", f = __APP_CD__, m = __SYS_CD__;
|
|
541
515
|
console.log("@@ request param :: ", t);
|
|
542
516
|
const l = {
|
|
543
517
|
header: {
|
|
544
518
|
trxCd: e,
|
|
545
|
-
guid:
|
|
519
|
+
guid: Ge(),
|
|
546
520
|
userInfo: F(),
|
|
547
521
|
clientIp: s,
|
|
548
522
|
// 클라이언트 IP 추가 (서버에서 재확인 권장)
|
|
549
523
|
domainId: "DEFAULT",
|
|
550
|
-
appCd:
|
|
524
|
+
appCd: f,
|
|
551
525
|
sysCd: m
|
|
552
526
|
},
|
|
553
527
|
// data: bxmEncrypt(JSON.stringify(data)),
|
|
554
528
|
data: t
|
|
555
529
|
};
|
|
556
|
-
|
|
530
|
+
P && (console.log("__BWG_LOCAL__ 테스트 입니다. ", P), console.log("📤 Request Data:", l)), n.method === "GET" ? a.params = l || n.params : (a.data = l || n.data, n.params && (a.params = n.params));
|
|
557
531
|
let u;
|
|
558
|
-
for (let
|
|
532
|
+
for (let y = 0; y <= (n.retryCount || 0); y++)
|
|
559
533
|
try {
|
|
560
|
-
const
|
|
561
|
-
if (
|
|
562
|
-
for (const
|
|
563
|
-
if (
|
|
564
|
-
return
|
|
534
|
+
const p = await v(a);
|
|
535
|
+
if (p.data.header?.resCd == 0) {
|
|
536
|
+
for (const S in p.data)
|
|
537
|
+
if (S !== "header")
|
|
538
|
+
return p.data[S];
|
|
565
539
|
} else
|
|
566
|
-
return
|
|
540
|
+
return _e({
|
|
567
541
|
message: "서비스 호출 실패",
|
|
568
|
-
description:
|
|
542
|
+
description: p.data.header?.resMsg || "요청 처리 중 오류가 발생했습니다.",
|
|
569
543
|
duration: 5
|
|
570
544
|
}), null;
|
|
571
|
-
} catch (
|
|
572
|
-
if (u =
|
|
573
|
-
await
|
|
545
|
+
} catch (p) {
|
|
546
|
+
if (u = p, je(u) && y < (n.retryCount || 0)) {
|
|
547
|
+
await Ke(n.retryDelay || 1e3);
|
|
574
548
|
continue;
|
|
575
549
|
}
|
|
576
550
|
break;
|
|
@@ -579,7 +553,7 @@ const ze = () => j(), O = async (e, t, r) => {
|
|
|
579
553
|
} catch (n) {
|
|
580
554
|
throw console.error("callService 에러:", n), n;
|
|
581
555
|
}
|
|
582
|
-
},
|
|
556
|
+
}, je = (e) => !e.response || e.response.status >= 500 && e.response.status < 600, Ke = (e) => new Promise((t) => setTimeout(t, e)), St = (e, t, r) => T(e, t, { ...r, method: "GET" }), yt = (e, t, r) => T(e, t, { ...r, method: "POST" }), Ct = (e, t, r) => T(e, t, { ...r, method: "PUT" }), It = (e, t, r) => T(e, t, { ...r, method: "DELETE" }), Ut = (e, t, r) => T(e, t, { ...r, method: "PATCH" }), q = {
|
|
583
557
|
// 권한 관련
|
|
584
558
|
AUTH_BTNS: "SCMSIGN00202",
|
|
585
559
|
// 버튼 권한 조회
|
|
@@ -594,106 +568,103 @@ const ze = () => j(), O = async (e, t, r) => {
|
|
|
594
568
|
AUTH_BMRK: "SCMBMRK00101"
|
|
595
569
|
// 즐겨찾기 관리
|
|
596
570
|
};
|
|
597
|
-
let
|
|
598
|
-
function
|
|
599
|
-
|
|
571
|
+
let x = {};
|
|
572
|
+
function Nt(e) {
|
|
573
|
+
x = e, console.log("🔧 Provider 서비스코드 오버라이드 설정:", e);
|
|
600
574
|
}
|
|
601
|
-
function
|
|
602
|
-
if (
|
|
603
|
-
return console.log(`🔧 Provider 설정 사용: ${e} = ${
|
|
604
|
-
const t =
|
|
575
|
+
function Fe(e) {
|
|
576
|
+
if (x[e] && x[e].trim() !== "")
|
|
577
|
+
return console.log(`🔧 Provider 설정 사용: ${e} = ${x[e]}`), x[e];
|
|
578
|
+
const t = q[e];
|
|
605
579
|
return console.log(`🔧 기본값 사용: ${e} = ${t}`), t;
|
|
606
580
|
}
|
|
607
|
-
function
|
|
581
|
+
function wt() {
|
|
608
582
|
const e = {};
|
|
609
|
-
for (const t of Object.keys(
|
|
610
|
-
e[t] =
|
|
583
|
+
for (const t of Object.keys(q))
|
|
584
|
+
e[t] = Fe(t);
|
|
611
585
|
return e;
|
|
612
586
|
}
|
|
613
587
|
export {
|
|
614
|
-
|
|
588
|
+
mt as $,
|
|
615
589
|
se as A,
|
|
616
590
|
ae as B,
|
|
617
|
-
|
|
591
|
+
Ae as C,
|
|
618
592
|
ue as D,
|
|
619
593
|
me as E,
|
|
620
|
-
|
|
594
|
+
he as F,
|
|
621
595
|
ie as G,
|
|
622
596
|
ce as H,
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
597
|
+
pe as I,
|
|
598
|
+
Pe as J,
|
|
599
|
+
Te as K,
|
|
600
|
+
be as L,
|
|
627
601
|
ee as M,
|
|
628
602
|
re as N,
|
|
629
603
|
te as O,
|
|
630
604
|
Y as P,
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
605
|
+
It as Q,
|
|
606
|
+
St as R,
|
|
607
|
+
Ut as S,
|
|
608
|
+
yt as T,
|
|
609
|
+
Ct as U,
|
|
610
|
+
T as V,
|
|
611
|
+
ft as W,
|
|
612
|
+
Ge as X,
|
|
613
|
+
ht as Y,
|
|
614
|
+
pt as Z,
|
|
615
|
+
st as _,
|
|
616
|
+
Le as a,
|
|
617
|
+
gt as a0,
|
|
644
618
|
Me as a1,
|
|
645
619
|
Be as a2,
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
620
|
+
ot as a3,
|
|
621
|
+
$ as a4,
|
|
622
|
+
at as a5,
|
|
623
|
+
We as a6,
|
|
650
624
|
F as a7,
|
|
651
625
|
He as a8,
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
626
|
+
ut as a9,
|
|
627
|
+
it as aa,
|
|
628
|
+
ct as ab,
|
|
629
|
+
dt as ac,
|
|
630
|
+
lt as ad,
|
|
631
|
+
nt as ae,
|
|
632
|
+
rt as af,
|
|
659
633
|
I as ag,
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
g as as,
|
|
672
|
-
We as at,
|
|
673
|
-
tt as au,
|
|
674
|
-
Le as b,
|
|
634
|
+
tt as ah,
|
|
635
|
+
Qe as ai,
|
|
636
|
+
Ye as aj,
|
|
637
|
+
et as ak,
|
|
638
|
+
wt as al,
|
|
639
|
+
Fe as am,
|
|
640
|
+
Nt as an,
|
|
641
|
+
g as ao,
|
|
642
|
+
$e as ap,
|
|
643
|
+
Xe as aq,
|
|
644
|
+
Oe as b,
|
|
675
645
|
le as c,
|
|
676
|
-
|
|
677
|
-
|
|
646
|
+
De as d,
|
|
647
|
+
Ee as e,
|
|
678
648
|
M as f,
|
|
679
649
|
Q as g,
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
650
|
+
fe as h,
|
|
651
|
+
Se as i,
|
|
652
|
+
ye as j,
|
|
653
|
+
xe as k,
|
|
684
654
|
oe as l,
|
|
685
655
|
de as m,
|
|
686
656
|
ne as n,
|
|
687
|
-
|
|
657
|
+
Ne as o,
|
|
688
658
|
ve as p,
|
|
689
659
|
G as q,
|
|
690
660
|
j as r,
|
|
691
661
|
Ie as s,
|
|
692
|
-
|
|
662
|
+
Ue as t,
|
|
693
663
|
b as u,
|
|
694
664
|
Ce as v,
|
|
695
665
|
we as w,
|
|
696
666
|
R as x,
|
|
697
|
-
|
|
698
|
-
|
|
667
|
+
D as y,
|
|
668
|
+
V as z
|
|
699
669
|
};
|
|
670
|
+
//# sourceMappingURL=serviceConfig-lAlRNVIw.js.map
|