@bwg-ui/core 1.1.18 → 1.1.19
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/BwgCheck-BDt8r0gn.js +200 -0
- package/dist/chunks/BwgCheck-BDt8r0gn.js.map +1 -0
- package/dist/chunks/BwgCheck-Dtzr-6rg.cjs +2 -0
- package/dist/chunks/BwgCheck-Dtzr-6rg.cjs.map +1 -0
- package/dist/chunks/BwgDownload-Cm_XfYl_.cjs +3 -0
- package/dist/chunks/BwgDownload-Cm_XfYl_.cjs.map +1 -0
- package/dist/chunks/{BwgLargeUploader-D6plJv5D.js → BwgDownload-Qhs6jJxM.js} +809 -908
- package/dist/chunks/BwgDownload-Qhs6jJxM.js.map +1 -0
- package/dist/chunks/{SSOHandler-yNjxYbHn.js → SSOHandler-B4yYaeJF.js} +10739 -8719
- package/dist/chunks/SSOHandler-B4yYaeJF.js.map +1 -0
- package/dist/chunks/SSOHandler-C-pcl0On.cjs +236 -0
- package/dist/chunks/SSOHandler-C-pcl0On.cjs.map +1 -0
- package/dist/chunks/{SearchBoxContext-Cinu3U4b.cjs → SearchBoxContext-BgAzWZQl.cjs} +2 -2
- package/dist/chunks/{SearchBoxContext-Cinu3U4b.cjs.map → SearchBoxContext-BgAzWZQl.cjs.map} +1 -1
- package/dist/chunks/{SearchBoxContext-CO1AyqH4.js → SearchBoxContext-CyTyFuB5.js} +7 -7
- package/dist/chunks/{SearchBoxContext-CO1AyqH4.js.map → SearchBoxContext-CyTyFuB5.js.map} +1 -1
- package/dist/chunks/{ViewContainer-CMbN_tYW.js → ViewContainer-CbO6vSvW.js} +2 -2
- package/dist/chunks/{ViewContainer-CMbN_tYW.js.map → ViewContainer-CbO6vSvW.js.map} +1 -1
- package/dist/chunks/{ViewContainer-BH7t9T4d.cjs → ViewContainer-pwafdfAs.cjs} +2 -2
- package/dist/chunks/{ViewContainer-BH7t9T4d.cjs.map → ViewContainer-pwafdfAs.cjs.map} +1 -1
- package/dist/chunks/apiUtils-CH40MvpT.js +1402 -0
- package/dist/chunks/apiUtils-CH40MvpT.js.map +1 -0
- package/dist/chunks/apiUtils-D9cBQG0u.cjs +3 -0
- package/dist/chunks/apiUtils-D9cBQG0u.cjs.map +1 -0
- package/dist/chunks/{codeStore-C0f5xZ_m.js → codeStore-CC9_8nmU.js} +2 -2
- package/dist/chunks/{codeStore-C0f5xZ_m.js.map → codeStore-CC9_8nmU.js.map} +1 -1
- package/dist/chunks/{codeStore-DTtOQhfW.cjs → codeStore-DVUySb7V.cjs} +2 -2
- package/dist/chunks/{codeStore-DTtOQhfW.cjs.map → codeStore-DVUySb7V.cjs.map} +1 -1
- package/dist/chunks/favoriteStore-Byy7k_UI.cjs +2 -0
- package/dist/chunks/favoriteStore-Byy7k_UI.cjs.map +1 -0
- package/dist/chunks/favoriteStore-DYiTW7cU.js +439 -0
- package/dist/chunks/favoriteStore-DYiTW7cU.js.map +1 -0
- package/dist/chunks/{popupStore-D1rxKTyJ.js → popupStore-C8-CPKwz.js} +2 -2
- package/dist/chunks/{popupStore-D1rxKTyJ.js.map → popupStore-C8-CPKwz.js.map} +1 -1
- package/dist/chunks/{popupStore-DGMxbQ--.cjs → popupStore-wA4nh-mr.cjs} +2 -2
- package/dist/chunks/{popupStore-DGMxbQ--.cjs.map → popupStore-wA4nh-mr.cjs.map} +1 -1
- package/dist/chunks/{usePopup-CdpFYf3m.cjs → usePopup-6-TNfqyf.cjs} +2 -2
- package/dist/chunks/{usePopup-CdpFYf3m.cjs.map → usePopup-6-TNfqyf.cjs.map} +1 -1
- package/dist/chunks/{usePopup-C1h8V04_.js → usePopup-D7c9t7AW.js} +3 -3
- package/dist/chunks/{usePopup-C1h8V04_.js.map → usePopup-D7c9t7AW.js.map} +1 -1
- package/dist/components/common/BookmarkMngModal.d.ts +16 -0
- package/dist/components/common/BookmarkMngModal.d.ts.map +1 -0
- package/dist/components/common/BookmarkPopver.d.ts +7 -0
- package/dist/components/common/BookmarkPopver.d.ts.map +1 -0
- package/dist/components/common/BwgDraggable.d.ts +25 -0
- package/dist/components/common/BwgDraggable.d.ts.map +1 -0
- package/dist/components/common/BwgEditor.d.ts +4 -0
- package/dist/components/common/BwgEditor.d.ts.map +1 -1
- package/dist/components/common/BwgGrid.d.ts +15 -3
- package/dist/components/common/BwgGrid.d.ts.map +1 -1
- package/dist/components/common/BwgPagination.d.ts +13 -0
- package/dist/components/common/BwgPagination.d.ts.map +1 -0
- package/dist/components/common/BwgView.d.ts.map +1 -1
- package/dist/components/common/SearchBox.d.ts.map +1 -1
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/core/BwgDownload.d.ts +33 -0
- package/dist/components/core/BwgDownload.d.ts.map +1 -0
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.d.ts +2 -0
- package/dist/components/core/index.d.ts.map +1 -1
- package/dist/components/core/index.js +21 -19
- package/dist/components/core/index.js.map +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/popup/MenuReport.d.ts +8 -0
- package/dist/components/popup/MenuReport.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +184 -181
- package/dist/index.js.map +1 -1
- package/dist/provider/index.cjs +1 -1
- package/dist/provider/index.js +2 -2
- package/dist/stores/favoriteStore.d.ts +81 -17
- package/dist/stores/favoriteStore.d.ts.map +1 -1
- package/dist/stores/index.cjs +1 -1
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/stores/index.js +6 -6
- 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/utils/apiUtils.d.ts +8 -0
- package/dist/utils/apiUtils.d.ts.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +89 -88
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/BwgLargeUploader-D6plJv5D.js.map +0 -1
- package/dist/chunks/BwgLargeUploader-LMj6KXhK.cjs +0 -3
- package/dist/chunks/BwgLargeUploader-LMj6KXhK.cjs.map +0 -1
- package/dist/chunks/SSOHandler-DXnV_f_M.cjs +0 -236
- package/dist/chunks/SSOHandler-DXnV_f_M.cjs.map +0 -1
- package/dist/chunks/SSOHandler-yNjxYbHn.js.map +0 -1
- package/dist/chunks/apiUtils-BJRcT3Tm.js +0 -1315
- package/dist/chunks/apiUtils-BJRcT3Tm.js.map +0 -1
- package/dist/chunks/apiUtils-DEnQeWNI.cjs +0 -3
- package/dist/chunks/apiUtils-DEnQeWNI.cjs.map +0 -1
- package/dist/chunks/favoriteStore-Drhx0843.js +0 -111
- package/dist/chunks/favoriteStore-Drhx0843.js.map +0 -1
- package/dist/chunks/favoriteStore-Dyp89Kew.cjs +0 -2
- package/dist/chunks/favoriteStore-Dyp89Kew.cjs.map +0 -1
package/dist/stores/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as e } from "../chunks/codeStore-
|
|
2
|
-
import { b as x, a as C } from "../chunks/codeStore-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as r } from "../chunks/popupStore-
|
|
6
|
-
import { u as a } from "../chunks/favoriteStore-
|
|
1
|
+
import { u as e } from "../chunks/codeStore-CC9_8nmU.js";
|
|
2
|
+
import { b as x, a as C } from "../chunks/codeStore-CC9_8nmU.js";
|
|
3
|
+
import { aI as t, aG as o, aH as s } from "../chunks/apiUtils-CH40MvpT.js";
|
|
4
|
+
import { aF as v } from "../chunks/apiUtils-CH40MvpT.js";
|
|
5
|
+
import { u as r } from "../chunks/popupStore-C8-CPKwz.js";
|
|
6
|
+
import { u as a } from "../chunks/favoriteStore-DYiTW7cU.js";
|
|
7
7
|
const i = () => e.getState(), m = () => r.getState(), g = () => t.getState(), c = () => a.getState(), f = () => o.getState(), M = () => s.getState();
|
|
8
8
|
export {
|
|
9
9
|
i as useCode,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11.9998 19.9993V20.9993C11.9998 21.3932 12.0774 21.7833 12.2282 22.1473C12.3789 22.5112 12.5999 22.8419 12.8785 23.1205C13.157 23.399 13.4877 23.62 13.8517 23.7708C14.2156 23.9215 14.6057 23.9991 14.9997 23.9991C15.3936 23.9991 15.7837 23.9215 16.1477 23.7708C16.5116 23.62 16.8423 23.399 17.1209 23.1205C17.3994 22.8419 17.6204 22.5112 17.7712 22.1473C17.9219 21.7833 17.9995 21.3932 17.9995 20.9993V19.9993M20.9994 11.9997C20.9994 14.9996 22.9993 19.9993 22.9993 19.9993H7.00006C7.00006 19.9993 8.99996 15.9995 8.99996 11.9997C8.99996 8.73187 11.7318 6 14.9997 6C18.2675 6 20.9994 8.73187 20.9994 11.9997Z" stroke="#485299" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M11.9998 19.9993V20.9993C11.9998 21.3932 12.0774 21.7833 12.2282 22.1473C12.3789 22.5112 12.5999 22.8419 12.8785 23.1205C13.157 23.399 13.4877 23.62 13.8517 23.7708C14.2156 23.9215 14.6057 23.9991 14.9997 23.9991C15.3936 23.9991 15.7837 23.9215 16.1477 23.7708C16.5116 23.62 16.8423 23.399 17.1209 23.1205C17.3994 22.8419 17.6204 22.5112 17.7712 22.1473C17.9219 21.7833 17.9995 21.3932 17.9995 20.9993V19.9993M20.9994 11.9997C20.9994 14.9996 22.9993 19.9993 22.9993 19.9993H7.00006C7.00006 19.9993 8.99996 15.9995 8.99996 11.9997C8.99996 8.73187 11.7318 6 14.9997 6C18.2675 6 20.9994 8.73187 20.9994 11.9997Z" stroke="#485299" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_93_4488)">
|
|
3
|
-
<path d="M18 7H21C22.1046 7 23 7.89543 23 9V21C23 22.1046 22.1046 23 21 23H18M11 11L7 15M7 15L11 19M7 15L19 15" stroke="#485299" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_93_4488">
|
|
7
|
-
<rect width="30" height="30" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
1
|
+
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_93_4488)">
|
|
3
|
+
<path d="M18 7H21C22.1046 7 23 7.89543 23 9V21C23 22.1046 22.1046 23 21 23H18M11 11L7 15M7 15L11 19M7 15L19 15" stroke="#485299" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_93_4488">
|
|
7
|
+
<rect width="30" height="30" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M14 6H16C16.5523 6 17 6.44772 17 7V7.56879C17 7.99659 17.2871 8.36825 17.6822 8.53228C18.0775 8.69638 18.5377 8.63384 18.8403 8.33123L19.2426 7.92891C19.6331 7.53838 20.2663 7.53838 20.6568 7.92891L22.071 9.34312C22.4616 9.73365 22.4615 10.3668 22.071 10.7573L21.6688 11.1596C21.3661 11.4622 21.3036 11.9225 21.4677 12.3177C21.6317 12.7129 22.0034 13 22.4313 13L23 13C23.5523 13 24 13.4477 24 14V16C24 16.5523 23.5523 17 23 17H22.4312C22.0034 17 21.6318 17.2871 21.4677 17.6822C21.3036 18.0775 21.3661 18.5377 21.6688 18.8403L22.071 19.2426C22.4616 19.6331 22.4616 20.2663 22.071 20.6568L20.6568 22.071C20.2663 22.4616 19.6331 22.4616 19.2426 22.071L18.8403 21.6688C18.5377 21.3661 18.0775 21.3036 17.6822 21.4677C17.2871 21.6318 17 22.0034 17 22.4312V23C17 23.5523 16.5523 24 16 24H14C13.4477 24 13 23.5523 13 23V22.4313C13 22.0034 12.7129 21.6317 12.3177 21.4677C11.9225 21.3036 11.4622 21.3661 11.1596 21.6688L10.7573 22.071C10.3668 22.4616 9.73363 22.4616 9.34311 22.071L7.92889 20.6568C7.53837 20.2663 7.53837 19.6331 7.92889 19.2426L8.33123 18.8403C8.63384 18.5377 8.69638 18.0775 8.53228 17.6822C8.36825 17.2871 7.99659 17 7.56879 17H7C6.44772 17 6 16.5523 6 16V14C6 13.4477 6.44772 13 7 13L7.56877 13C7.99658 13 8.36825 12.7129 8.53229 12.3178C8.6964 11.9225 8.63386 11.4623 8.33123 11.1597L7.92891 10.7573C7.53838 10.3668 7.53838 9.73365 7.92891 9.34313L9.34312 7.92891C9.73365 7.53839 10.3668 7.53839 10.7573 7.92891L11.1597 8.33123C11.4623 8.63386 11.9225 8.6964 12.3178 8.53229C12.7129 8.36825 13 7.99658 13 7.56876V7C13 6.44772 13.4477 6 14 6Z" stroke="#485299" stroke-width="1.5"/>
|
|
3
|
-
<path d="M17 15C17 16.1046 16.1046 17 15 17C13.8954 17 13 16.1046 13 15C13 13.8954 13.8954 13 15 13C16.1046 13 17 13.8954 17 15Z" stroke="#485299" stroke-width="1.5"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14 6H16C16.5523 6 17 6.44772 17 7V7.56879C17 7.99659 17.2871 8.36825 17.6822 8.53228C18.0775 8.69638 18.5377 8.63384 18.8403 8.33123L19.2426 7.92891C19.6331 7.53838 20.2663 7.53838 20.6568 7.92891L22.071 9.34312C22.4616 9.73365 22.4615 10.3668 22.071 10.7573L21.6688 11.1596C21.3661 11.4622 21.3036 11.9225 21.4677 12.3177C21.6317 12.7129 22.0034 13 22.4313 13L23 13C23.5523 13 24 13.4477 24 14V16C24 16.5523 23.5523 17 23 17H22.4312C22.0034 17 21.6318 17.2871 21.4677 17.6822C21.3036 18.0775 21.3661 18.5377 21.6688 18.8403L22.071 19.2426C22.4616 19.6331 22.4616 20.2663 22.071 20.6568L20.6568 22.071C20.2663 22.4616 19.6331 22.4616 19.2426 22.071L18.8403 21.6688C18.5377 21.3661 18.0775 21.3036 17.6822 21.4677C17.2871 21.6318 17 22.0034 17 22.4312V23C17 23.5523 16.5523 24 16 24H14C13.4477 24 13 23.5523 13 23V22.4313C13 22.0034 12.7129 21.6317 12.3177 21.4677C11.9225 21.3036 11.4622 21.3661 11.1596 21.6688L10.7573 22.071C10.3668 22.4616 9.73363 22.4616 9.34311 22.071L7.92889 20.6568C7.53837 20.2663 7.53837 19.6331 7.92889 19.2426L8.33123 18.8403C8.63384 18.5377 8.69638 18.0775 8.53228 17.6822C8.36825 17.2871 7.99659 17 7.56879 17H7C6.44772 17 6 16.5523 6 16V14C6 13.4477 6.44772 13 7 13L7.56877 13C7.99658 13 8.36825 12.7129 8.53229 12.3178C8.6964 11.9225 8.63386 11.4623 8.33123 11.1597L7.92891 10.7573C7.53838 10.3668 7.53838 9.73365 7.92891 9.34313L9.34312 7.92891C9.73365 7.53839 10.3668 7.53839 10.7573 7.92891L11.1597 8.33123C11.4623 8.63386 11.9225 8.6964 12.3178 8.53229C12.7129 8.36825 13 7.99658 13 7.56876V7C13 6.44772 13.4477 6 14 6Z" stroke="#485299" stroke-width="1.5"/>
|
|
3
|
+
<path d="M17 15C17 16.1046 16.1046 17 15 17C13.8954 17 13 16.1046 13 15C13 13.8954 13.8954 13 15 13C16.1046 13 17 13.8954 17 15Z" stroke="#485299" stroke-width="1.5"/>
|
|
4
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6.77771 8.1809C6.37747 8.67607 5.62253 8.67607 5.22229 8.18089L2.98627 5.41454C2.4577 4.7606 2.92314 3.78592 3.76399 3.78592L8.23602 3.78592C9.07687 3.78592 9.5423 4.7606 9.01373 5.41454L6.77771 8.1809Z" fill="#B9B9B9"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6.77771 8.1809C6.37747 8.67607 5.62253 8.67607 5.22229 8.18089L2.98627 5.41454C2.4577 4.7606 2.92314 3.78592 3.76399 3.78592L8.23602 3.78592C9.07687 3.78592 9.5423 4.7606 9.01373 5.41454L6.77771 8.1809Z" fill="#B9B9B9"/>
|
|
3
|
+
</svg>
|
package/dist/utils/apiUtils.d.ts
CHANGED
|
@@ -60,6 +60,14 @@ export declare const getGuid: () => string;
|
|
|
60
60
|
* @returns Promise<ApiResponse<T>>
|
|
61
61
|
*/
|
|
62
62
|
export declare const callService: <T = any>(trxCd: string, data?: any, options?: ApiOptions) => Promise<T>;
|
|
63
|
+
/**
|
|
64
|
+
* Tomcat WAS와 통신하는 범용 API 호출 함수
|
|
65
|
+
* @param trxCd - 거래코드드
|
|
66
|
+
* @param data - 요청 데이터 (GET 요청 시 params로 사용)
|
|
67
|
+
* @param options - 옵션 파라미터 (선택사항)
|
|
68
|
+
* @returns Promise<ApiResponse<T>>
|
|
69
|
+
*/
|
|
70
|
+
export declare const callService_SYSCD: <T = any>(_sysCd: string, trxCd: string, data?: any, options?: ApiOptions) => Promise<T>;
|
|
63
71
|
export declare const apiGet: <T = any>(trxCd: string, params?: any, options?: ApiOptions) => Promise<T>;
|
|
64
72
|
export declare const apiPost: <T = any>(trxCd: string, data?: any, options?: ApiOptions) => Promise<T>;
|
|
65
73
|
export declare const apiPut: <T = any>(trxCd: string, data?: any, options?: ApiOptions) => Promise<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiUtils.d.ts","sourceRoot":"","sources":["../../src/utils/apiUtils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAsB,aAAa,EAAE,MAAM,OAAO,CAAC;AAU/D;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAU,KAAK,MAAM,KAAG,OAAO,CAAC,IAAI,CAsB3D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,GAAG,IAEvC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,QAAa,OAAO,CAAC,MAAM,CA+BrD,CAAC;AAGF,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAA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EACd,QAAQ,MAAM,EACd,UAAU,MAAM,iBAyBjB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,cAAc;IAE7B,aAAa,EAAE,KAAK,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;QACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC,CAAC;IAEH,kBAAkB,EAAE;QAClB,CAAC,OAAO,EAAE,MAAM,GAAG;YACjB,CAAC,QAAQ,EAAE,MAAM,GAAG;gBAClB,KAAK,EAAE,MAAM,CAAC;gBACd,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;gBACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;gBACnB,OAAO,CAAC,EAAE,OAAO,CAAC;gBAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;aACpB,CAAC;SACH,CAAC;KACH,CAAC;IAEF,SAAS,EAAE,OAAO,CAAC;IAEnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/apiUtils-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/apiUtils-D9cBQG0u.cjs"),r=require("antd"),g=require("../chunks/realFormat-Cha7OTd9.cjs"),d=(o,t,i="text/plain")=>{const s=new Blob([o],{type:i}),a=URL.createObjectURL(s),l=document.createElement("a");l.href=a,l.download=t,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(a)};async function u(o){try{return await e.callService("SCMFILE00101",{crprCd:e.getUserInfo()?.crprCd,sysCd:__SYS_CD__,fileKey:o}).then(i=>{let s;if(i.sub&&(s=i.sub[0]),console.log(i),console.log(s),!s.lgclFileNm)throw console.error("논리파일명이 없습니다."),new Error("논리 파일명 누락");if(!s.filePath)throw console.error("파일 경로가 없습니다."),new Error("파일 경로 누락");const a=`api/download?filePath=${encodeURIComponent(s.filePath)}&logicalName=${encodeURIComponent(s.lgclFileNm)}`;return window.open(a,"_blank"),{success:!0,message:"파일 다운로드 요청 성공"}})}catch(t){throw console.error("downloadByFileKey 함수 실행 중 오류 발생:",t),t}}const p=Object.freeze(Object.defineProperty({__proto__:null,downloadByFileKey:u,downloadFile:d},Symbol.toStringTag,{value:"Module"})),c=(o,t=3)=>{r.message.success({content:o,duration:t})},n=(o,t=5)=>{r.message.error({content:o,duration:t})},m=(o,t=4)=>{r.message.warning({content:o,duration:t})},S=(o,t=3)=>{r.message.info({content:o,duration:t})},U=(o="처리중...")=>r.message.loading({content:o,duration:0}),C=o=>{r.message.destroy(o)},f=()=>{r.message.destroy()},v=(o,t="처리 중 오류가 발생했습니다.")=>{const i=o?.response?.data?.message||o?.message||t;n(i)},h=(o="저장")=>{c(`${o}이 완료되었습니다.`)},w=(o="저장")=>{n(`${o} 중 오류가 발생했습니다.`)},y=o=>{n(`이미 사용중인 ${o}입니다.`)},E=o=>{n(`${o}을(를) 입력해주세요.`)},M=Object.freeze(Object.defineProperty({__proto__:null,closeAllMessages:f,closeMessage:C,showApiError:v,showDuplicateError:y,showError:n,showInfo:S,showLoading:U,showRequiredError:E,showSaveError:w,showSaveSuccess:h,showSuccess:c,showWarning:m},Symbol.toStringTag,{value:"Module"})),D=e.apiUtilsModule,I=e.commonUtilsModule,R=e.envUtilsModule,N=p,_=M,A=e.notificationUtilsModule,O=e.serviceConfigModule,P=e.userUtilsModule,b={...e.apiUtilsModule,...e.commonUtilsModule,...e.envUtilsModule,...p,...M,...e.notificationUtilsModule,...e.serviceConfigModule,...e.userUtilsModule,realFormat:g.realFormat};exports.ApiError=e.ApiError;exports.THEME_COOKIE_NAME=e.THEME_COOKIE_NAME;exports.apiDelete=e.apiDelete;exports.apiGet=e.apiGet;exports.apiPatch=e.apiPatch;exports.apiPost=e.apiPost;exports.apiPut=e.apiPut;exports.arrAverage=e.arrAverage;exports.arrCount=e.arrCount;exports.arrMax=e.arrMax;exports.arrMin=e.arrMin;exports.arrReverse=e.arrReverse;exports.arrSum=e.arrSum;exports.arrUnique=e.arrUnique;exports.callService=e.callService;exports.callService_SYSCD=e.callService_SYSCD;exports.clamp=e.clamp;exports.clearSessionStorage=e.clearSessionStorage;exports.closeNotification=e.closeNotification;exports.configureEnvUtils=e.configureEnvUtils;exports.copyToClipboard=e.copyToClipboard;exports.debounce=e.debounce;exports.deleteCookie=e.deleteCookie;exports.destroyNotifications=e.destroyNotifications;exports.duplicates=e.duplicates;exports.encryptSha256=e.encryptSha256;exports.generateRandomColor=e.generateRandomColor;exports.generateRandomString=e.generateRandomString;exports.generateUID=e.generateUID;exports.getAllServiceCodes=e.getAllServiceCodes;exports.getClientIp=e.getClientIp;exports.getCookie=e.getCookie;exports.getCrprCd=e.getCrprCd;exports.getCurrentDate=e.getCurrentDate;exports.getCurrentDateString=e.getCurrentDateString;exports.getDepartmentInfo=e.getDepartmentInfo;exports.getDeviceType=e.getDeviceType;exports.getDisplayName=e.getDisplayName;exports.getDprtCd=e.getDprtCd;exports.getDprtNm=e.getDprtNm;exports.getEmplNo=e.getEmplNo;exports.getEnvCode=e.getEnvCode;exports.getGuid=e.getGuid;exports.getPermissionService=e.getPermissionService;exports.getRoleList=e.getRoleList;exports.getServiceCode=e.getServiceCode;exports.getSessionStorage=e.getSessionStorage;exports.getUserDvsn=e.getUserDvsn;exports.getUserId=e.getUserId;exports.getUserInfo=e.getUserInfo;exports.getUserNm=e.getUserNm;exports.hasAllRoles=e.hasAllRoles;exports.hasAnyRole=e.hasAnyRole;exports.hasRole=e.hasRole;exports.hasUserInfo=e.hasUserInfo;exports.isArray=e.isArray;exports.isBoolean=e.isBoolean;exports.isDesktop=e.isDesktop;exports.isDev=e.isDev;exports.isEmpty=e.isEmpty;exports.isEmptyArray=e.isEmptyArray;exports.isFunction=e.isFunction;exports.isLocal=e.isLocal;exports.isLoggedIn=e.isLoggedIn;exports.isMobile=e.isMobile;exports.isNull=e.isNull;exports.isNullOrUndefined=e.isNullOrUndefined;exports.isNumber=e.isNumber;exports.isObject=e.isObject;exports.isProd=e.isProd;exports.isSafeEmpty=e.isSafeEmpty;exports.isString=e.isString;exports.isTablet=e.isTablet;exports.isUndefined=e.isUndefined;exports.isValidEmail=e.isValidEmail;exports.isValidUrl=e.isValidUrl;exports.logServiceCodeConfig=e.logServiceCodeConfig;exports.notiBwgError=e.notiBwgError;exports.notiError=e.notiError;exports.notiInfo=e.notiInfo;exports.notiSuccess=e.notiSuccess;exports.notiWarning=e.notiWarning;exports.notificationService=e.notificationService;exports.padLeft=e.padLeft;exports.padRight=e.padRight;exports.random=e.random;exports.removeSessionStorage=e.removeSessionStorage;exports.round=e.round;exports.setClientIp=e.setClientIp;exports.setCookie=e.setCookie;exports.setServiceCodeOverrides=e.setServiceCodeOverrides;exports.setSessionStorage=e.setSessionStorage;exports.throttle=e.throttle;exports.toCamelCase=e.toCamelCase;exports.verifyClientIp=e.verifyClientIp;exports.realFormat=g.realFormat;exports.apiUtils=D;exports.bwgUtils=b;exports.closeAllMessages=f;exports.closeMessage=C;exports.commonUtils=I;exports.default=b;exports.downloadByFileKey=u;exports.downloadFile=d;exports.envUtils=R;exports.fileUtils=N;exports.messageUtils=_;exports.notificationUtils=A;exports.serviceUtils=O;exports.showApiError=v;exports.showDuplicateError=y;exports.showError=n;exports.showInfo=S;exports.showLoading=U;exports.showRequiredError=E;exports.showSaveError=w;exports.showSaveSuccess=h;exports.showSuccess=c;exports.showWarning=m;exports.userUtils=P;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/utils/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../src/utils/
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../src/utils/FileUtils.ts","../../src/utils/messageUtils.ts","../../src/utils/index.ts"],"sourcesContent":["import { callService } from \"./apiUtils\";\r\nimport { getUserInfo } from \"./userUtils\";\r\n\r\n/**\r\n * 파일 다운로드\r\n * @param data \r\n * @param filename \r\n * @param type \r\n * @returns \r\n */\r\nexport const downloadFile = (data: string, filename: string, type: string = 'text/plain'): void => {\r\n const blob = new Blob([data], { type })\r\n const url = URL.createObjectURL(blob)\r\n const link = document.createElement('a')\r\n link.href = url\r\n link.download = filename\r\n document.body.appendChild(link)\r\n link.click()\r\n document.body.removeChild(link)\r\n URL.revokeObjectURL(url)\r\n}\r\n\r\n/**\r\n * 파일 키를 사용하여 파일 상세 정보를 조회하고, 해당 정보를 바탕으로 다운로드를 시작하는 유틸리티 함수입니다.\r\n *\r\n * @param fileKey - 조회할 파일의 키 (fileGrpKey)\r\n * @returns API 호출 결과 또는 오류\r\n */\r\nexport async function downloadByFileKey(fileKey: string): Promise<any> {\r\n try {\r\n // 1. fileKey를 매개변수로 파일 상세 정보 조회 서비스 호출\r\n const fileDetailsResponse = await callService(\"SCMFILE00101\", {\r\n crprCd: getUserInfo()?.crprCd,\r\n sysCd: __SYS_CD__,\r\n fileKey,\r\n }).then((res) => {\r\n let response;\r\n if (res.sub) {\r\n response = res.sub[0];\r\n }\r\n console.log(res);\r\n console.log(response);\r\n if (!response.lgclFileNm) {\r\n console.error(\"논리파일명이 없습니다.\");\r\n throw new Error(\"논리 파일명 누락\");\r\n }\r\n if (!response.filePath) {\r\n console.error(\"파일 경로가 없습니다.\");\r\n throw new Error(\"파일 경로 누락\");\r\n }\r\n\r\n // download api 호출\r\n const downloadUrl = `api/download?filePath=${encodeURIComponent(\r\n response.filePath\r\n )}&logicalName=${encodeURIComponent(response.lgclFileNm)}`;\r\n window.open(downloadUrl, \"_blank\"); // 새 탭에서 열어 다운로드 트리거\r\n\r\n return { success: true, message: \"파일 다운로드 요청 성공\" }; // 다운로드 요청 성공을 나타내는 객체 반환\r\n });\r\n\r\n return fileDetailsResponse; // .then() 블록의 결과 반환\r\n } catch (error) {\r\n console.error(\"downloadByFileKey 함수 실행 중 오류 발생:\", error);\r\n throw error;\r\n }\r\n}\r\n","import { message } from 'antd';\r\n\r\n/**\r\n * 성공 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showSuccess = (content: string, duration: number = 3) => {\r\n message.success({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 오류 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showError = (content: string, duration: number = 5) => {\r\n message.error({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 경고 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showWarning = (content: string, duration: number = 4) => {\r\n message.warning({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 정보 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showInfo = (content: string, duration: number = 3) => {\r\n message.info({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 로딩 메시지 표시\r\n * @param content 메시지 내용\r\n * @returns 메시지 키 (닫을 때 사용)\r\n */\r\nexport const showLoading = (content: string = '처리중...') => {\r\n return message.loading({\r\n content,\r\n duration: 0, // 수동으로 닫을 때까지 유지\r\n });\r\n};\r\n\r\n/**\r\n * 메시지 닫기\r\n * @param key 메시지 키\r\n */\r\nexport const closeMessage = (key: string) => {\r\n message.destroy(key);\r\n};\r\n\r\n/**\r\n * 모든 메시지 닫기\r\n */\r\nexport const closeAllMessages = () => {\r\n message.destroy();\r\n};\r\n\r\n/**\r\n * API 오류 메시지 표시 (공통)\r\n * @param error 오류 객체\r\n * @param defaultMessage 기본 오류 메시지\r\n */\r\nexport const showApiError = (\r\n error: any,\r\n defaultMessage: string = '처리 중 오류가 발생했습니다.'\r\n) => {\r\n const errorMessage =\r\n error?.response?.data?.message || error?.message || defaultMessage;\r\n showError(errorMessage);\r\n};\r\n\r\n/**\r\n * 저장 성공 메시지 표시\r\n * @param type 저장 타입 ('등록', '수정', '삭제' 등)\r\n */\r\nexport const showSaveSuccess = (type: string = '저장') => {\r\n showSuccess(`${type}이 완료되었습니다.`);\r\n};\r\n\r\n/**\r\n * 저장 실패 메시지 표시\r\n * @param type 저장 타입 ('등록', '수정', '삭제' 등)\r\n */\r\nexport const showSaveError = (type: string = '저장') => {\r\n showError(`${type} 중 오류가 발생했습니다.`);\r\n};\r\n\r\n/**\r\n * 중복 체크 실패 메시지 표시\r\n * @param fieldName 필드명\r\n */\r\nexport const showDuplicateError = (fieldName: string) => {\r\n showError(`이미 사용중인 ${fieldName}입니다.`);\r\n};\r\n\r\n/**\r\n * 필수 입력 항목 메시지 표시\r\n * @param fieldName 필드명\r\n */\r\nexport const showRequiredError = (fieldName: string) => {\r\n showError(`${fieldName}을(를) 입력해주세요.`);\r\n};\r\n","// 기존 방식: 개별 함수들을 직접 export\r\nexport * from './apiUtils';\r\nexport * from './commonUtils';\r\nexport * from './envUtils';\r\nexport * from './fileUtils';\r\nexport * from './messageUtils';\r\nexport * from './notificationUtils';\r\nexport { default as realFormat } from './realFormat';\r\nexport * from './serviceConfig';\r\nexport * from './userUtils';\r\n\r\n// 네임스페이스 객체들도 함께 제공\r\nimport * as apiUtilsModule from './apiUtils';\r\nimport * as commonUtilsModule from './commonUtils';\r\nimport * as envUtilsModule from './envUtils';\r\nimport * as fileUtilsModule from './fileUtils';\r\nimport * as messageUtilsModule from './messageUtils';\r\nimport * as notificationUtilsModule from './notificationUtils';\r\nimport { default as realFormat } from './realFormat';\r\nimport * as serviceConfigModule from './serviceConfig';\r\nimport * as userUtilsModule from './userUtils';\r\n\r\n// 개별 네임스페이스 객체들\r\nexport const apiUtils = apiUtilsModule;\r\nexport const commonUtils = commonUtilsModule;\r\nexport const envUtils = envUtilsModule;\r\nexport const fileUtils = fileUtilsModule;\r\nexport const messageUtils = messageUtilsModule;\r\nexport const notificationUtils = notificationUtilsModule;\r\nexport const serviceUtils = serviceConfigModule;\r\nexport const userUtils = userUtilsModule;\r\n\r\n// 통합 bwgUtils 객체 (모든 유틸리티를 하나로)\r\nexport const bwgUtils = {\r\n ...apiUtilsModule,\r\n ...commonUtilsModule,\r\n ...envUtilsModule,\r\n ...fileUtilsModule,\r\n ...messageUtilsModule,\r\n ...notificationUtilsModule,\r\n ...serviceConfigModule,\r\n ...userUtilsModule,\r\n realFormat,\r\n};\r\n\r\n// 기본 export로 bwgUtils 제공\r\nexport default bwgUtils;"],"names":["downloadFile","data","filename","type","blob","url","link","downloadByFileKey","fileKey","callService","getUserInfo","res","response","downloadUrl","error","showSuccess","content","duration","message","showError","showWarning","showInfo","showLoading","closeMessage","key","closeAllMessages","showApiError","defaultMessage","errorMessage","showSaveSuccess","showSaveError","showDuplicateError","fieldName","showRequiredError","apiUtils","apiUtilsModule","commonUtils","commonUtilsModule","envUtils","envUtilsModule","fileUtils","fileUtilsModule","messageUtils","messageUtilsModule","notificationUtils","notificationUtilsModule","serviceUtils","serviceConfigModule","userUtils","userUtilsModule","bwgUtils","realFormat"],"mappings":"gOAUaA,EAAe,CAACC,EAAcC,EAAkBC,EAAe,eAAuB,CACjG,MAAMC,EAAO,IAAI,KAAK,CAACH,CAAI,EAAG,CAAE,KAAAE,EAAM,EAChCE,EAAM,IAAI,gBAAgBD,CAAI,EAC9BE,EAAO,SAAS,cAAc,GAAG,EACvCA,EAAK,KAAOD,EACZC,EAAK,SAAWJ,EAChB,SAAS,KAAK,YAAYI,CAAI,EAC9BA,EAAK,MAAA,EACL,SAAS,KAAK,YAAYA,CAAI,EAC9B,IAAI,gBAAgBD,CAAG,CACzB,EAQA,eAAsBE,EAAkBC,EAA+B,CACrE,GAAI,CA+BF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AM,CACpCP,EAAAA,QAAQ,QAAA,CACV,EAOaQ,EAAe,CAC1BZ,EACAa,EAAyB,qBACtB,CACH,MAAMC,EACJd,GAAO,UAAU,MAAM,SAAWA,GAAO,SAAWa,EACtDR,EAAUS,CAAY,CACxB,EAMaC,EAAkB,CAAC1B,EAAe,OAAS,CACtDY,EAAY,GAAGZ,CAAI,YAAY,CACjC,EAMa2B,EAAgB,CAAC3B,EAAe,OAAS,CACpDgB,EAAU,GAAGhB,CAAI,gBAAgB,CACnC,EAMa4B,EAAsBC,GAAsB,CACvDb,EAAU,WAAWa,CAAS,MAAM,CACtC,EAMaC,EAAqBD,GAAsB,CACtDb,EAAU,GAAGa,CAAS,cAAc,CACtC,4RClGaE,EAAWC,EAAAA,eACXC,EAAcC,EAAAA,kBACdC,EAAWC,EAAAA,eACXC,EAAYC,EACZC,EAAeC,EACfC,EAAoBC,EAAAA,wBACpBC,EAAeC,EAAAA,oBACfC,EAAYC,EAAAA,gBAGZC,EAAW,CACtB,GAAGf,EAAAA,eACH,GAAGE,EAAAA,kBACH,GAAGE,EAAAA,eACH,GAAGE,EACH,GAAGE,EACH,GAAGE,EAAAA,wBACH,GAAGE,EAAAA,oBACH,GAAGE,EAAAA,gBAAA,WACHE,EAAAA,UACF"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -372,6 +372,7 @@ export declare const bwgUtils: {
|
|
|
372
372
|
ApiError: typeof apiUtilsModule.ApiError;
|
|
373
373
|
getGuid: () => string;
|
|
374
374
|
callService: <T = any>(trxCd: string, data?: any, options?: apiUtilsModule.ApiOptions) => Promise<T>;
|
|
375
|
+
callService_SYSCD: <T = any>(_sysCd: string, trxCd: string, data?: any, options?: apiUtilsModule.ApiOptions) => Promise<T>;
|
|
375
376
|
apiGet: <T = any>(trxCd: string, params?: any, options?: apiUtilsModule.ApiOptions) => Promise<T>;
|
|
376
377
|
apiPost: <T = any>(trxCd: string, data?: any, options?: apiUtilsModule.ApiOptions) => Promise<T>;
|
|
377
378
|
apiPut: <T = any>(trxCd: string, data?: any, options?: apiUtilsModule.ApiOptions) => Promise<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAG5B,OAAO,KAAK,cAAc,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,cAAc,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,eAAe,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,kBAAkB,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,uBAAuB,MAAM,qBAAqB,CAAC;AAE/D,OAAO,KAAK,mBAAmB,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,eAAe,MAAM,aAAa,CAAC;AAG/C,eAAO,MAAM,QAAQ,uBAAiB,CAAC;AACvC,eAAO,MAAM,WAAW,0BAAoB,CAAC;AAC7C,eAAO,MAAM,QAAQ,uBAAiB,CAAC;AACvC,eAAO,MAAM,SAAS,wBAAkB,CAAC;AACzC,eAAO,MAAM,YAAY,2BAAqB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,gCAA0B,CAAC;AACzD,eAAO,MAAM,YAAY,4BAAsB,CAAC;AAChD,eAAO,MAAM,SAAS,wBAAkB,CAAC;AAGzC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAiB,EAAC,UAAc,EAAC,mCAAwB;aAA0H,OAAO,EAAE,aAAiB,EAAC,UAAc,EAAC,mCAAwB;gBAA4H,OAAO,EAAE,aAAiB,EAAC,UAAc,EAAC,mCAAwB;eAA8H,OAAO,EAAE,aAAiB,EAAC,UAAc,EAAC,mCAAwB;2BAA2Q,cAAkB,EAAC,cAAkB,EAAC,gBAAoB;CAHlwtB,CAAC;AAGF,eAAe,QAAQ,CAAC"}
|
package/dist/utils/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { A as V, T as W,
|
|
1
|
+
import { c as C, aB as U, aK as l, aL as c, aM as d, aN as g, aO as p, aP as u } from "../chunks/apiUtils-CH40MvpT.js";
|
|
2
|
+
import { A as V, T as W, h as Y, d as H, i as J, e as Q, f as X, I as Z, K as ss, G as es, H as as, L as os, J as ts, F as rs, b as is, O as ns, U as ls, ak as cs, a9 as ds, x as gs, w as ps, X as us, aj as ms, M as fs, a5 as Ss, D as Cs, a3 as Us, a4 as hs, an as vs, g as ws, W as ys, ap as bs, a6 as Es, a7 as Ms, aE as Ds, y as Rs, aD as _s, au as Is, av as Ns, at as Os, ac as As, a as Ls, j as Ps, aw as ks, am as js, R as Fs, as as Bs, aq as Ts, ar as $s, az as xs, ay as Ks, ax as qs, aC as zs, p as Gs, m as Vs, C as Ws, aa as Ys, Y as Hs, E as Js, n as Qs, a8 as Xs, aA as Zs, z as se, q as ee, t as ae, l as oe, o as te, ab as re, Z as ie, k as ne, B as le, r as ce, $ as de, a0 as ge, ao as pe, ae as ue, ai as me, ag as fe, af as Se, ah as Ce, ad as Ue, a1 as he, a2 as ve, N as we, S as ye, P as be, s as Ee, V as Me, al as De, Q as Re, u as _e, _ as Ie, v as Ne } from "../chunks/apiUtils-CH40MvpT.js";
|
|
3
3
|
import { message as t } from "antd";
|
|
4
4
|
import { r as h } from "../chunks/realFormat-DRGLFabQ.js";
|
|
5
|
-
const
|
|
5
|
+
const v = (s, e, o = "text/plain") => {
|
|
6
6
|
const a = new Blob([s], { type: o }), n = URL.createObjectURL(a), r = document.createElement("a");
|
|
7
7
|
r.href = n, r.download = e, document.body.appendChild(r), r.click(), document.body.removeChild(r), URL.revokeObjectURL(n);
|
|
8
8
|
};
|
|
9
|
-
async function
|
|
9
|
+
async function w(s) {
|
|
10
10
|
try {
|
|
11
|
-
return await
|
|
12
|
-
crprCd:
|
|
11
|
+
return await C("SCMFILE00101", {
|
|
12
|
+
crprCd: U()?.crprCd,
|
|
13
13
|
sysCd: __SYS_CD__,
|
|
14
14
|
fileKey: s
|
|
15
15
|
}).then((o) => {
|
|
@@ -29,8 +29,8 @@ async function v(s) {
|
|
|
29
29
|
}
|
|
30
30
|
const m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31
31
|
__proto__: null,
|
|
32
|
-
downloadByFileKey:
|
|
33
|
-
downloadFile:
|
|
32
|
+
downloadByFileKey: w,
|
|
33
|
+
downloadFile: v
|
|
34
34
|
}, Symbol.toStringTag, { value: "Module" })), f = (s, e = 3) => {
|
|
35
35
|
t.success({
|
|
36
36
|
content: s,
|
|
@@ -70,7 +70,7 @@ const m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
70
70
|
i(`이미 사용중인 ${s}입니다.`);
|
|
71
71
|
}, O = (s) => {
|
|
72
72
|
i(`${s}을(를) 입력해주세요.`);
|
|
73
|
-
},
|
|
73
|
+
}, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
74
74
|
__proto__: null,
|
|
75
75
|
closeAllMessages: D,
|
|
76
76
|
closeMessage: M,
|
|
@@ -84,12 +84,12 @@ const m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84
84
|
showSaveSuccess: _,
|
|
85
85
|
showSuccess: f,
|
|
86
86
|
showWarning: y
|
|
87
|
-
}, Symbol.toStringTag, { value: "Module" })), k = l, j = c, F = d, B = m, T =
|
|
87
|
+
}, Symbol.toStringTag, { value: "Module" })), k = l, j = c, F = d, B = m, T = S, $ = g, x = p, K = u, q = {
|
|
88
88
|
...l,
|
|
89
89
|
...c,
|
|
90
90
|
...d,
|
|
91
91
|
...m,
|
|
92
|
-
...
|
|
92
|
+
...S,
|
|
93
93
|
...g,
|
|
94
94
|
...p,
|
|
95
95
|
...u,
|
|
@@ -98,9 +98,9 @@ const m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
98
98
|
export {
|
|
99
99
|
V as ApiError,
|
|
100
100
|
W as THEME_COOKIE_NAME,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
Y as apiDelete,
|
|
102
|
+
H as apiGet,
|
|
103
|
+
J as apiPatch,
|
|
104
104
|
Q as apiPost,
|
|
105
105
|
X as apiPut,
|
|
106
106
|
k as apiUtils,
|
|
@@ -112,95 +112,96 @@ export {
|
|
|
112
112
|
ts as arrSum,
|
|
113
113
|
rs as arrUnique,
|
|
114
114
|
q as bwgUtils,
|
|
115
|
-
|
|
116
|
-
is as
|
|
117
|
-
ns as
|
|
115
|
+
C as callService,
|
|
116
|
+
is as callService_SYSCD,
|
|
117
|
+
ns as clamp,
|
|
118
|
+
ls as clearSessionStorage,
|
|
118
119
|
D as closeAllMessages,
|
|
119
120
|
M as closeMessage,
|
|
120
|
-
|
|
121
|
+
cs as closeNotification,
|
|
121
122
|
j as commonUtils,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
ds as configureEnvUtils,
|
|
124
|
+
gs as copyToClipboard,
|
|
125
|
+
ps as debounce,
|
|
125
126
|
q as default,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
us as deleteCookie,
|
|
128
|
+
ms as destroyNotifications,
|
|
129
|
+
w as downloadByFileKey,
|
|
130
|
+
v as downloadFile,
|
|
131
|
+
fs as duplicates,
|
|
132
|
+
Ss as encryptSha256,
|
|
132
133
|
F as envUtils,
|
|
133
134
|
B as fileUtils,
|
|
134
135
|
Cs as generateRandomColor,
|
|
135
136
|
Us as generateRandomString,
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
hs as generateUID,
|
|
138
|
+
vs as getAllServiceCodes,
|
|
138
139
|
ws as getClientIp,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
140
|
+
ys as getCookie,
|
|
141
|
+
bs as getCrprCd,
|
|
142
|
+
Es as getCurrentDate,
|
|
143
|
+
Ms as getCurrentDateString,
|
|
144
|
+
Ds as getDepartmentInfo,
|
|
145
|
+
Rs as getDeviceType,
|
|
146
|
+
_s as getDisplayName,
|
|
147
|
+
Is as getDprtCd,
|
|
148
|
+
Ns as getDprtNm,
|
|
149
|
+
Os as getEmplNo,
|
|
150
|
+
As as getEnvCode,
|
|
151
|
+
Ls as getGuid,
|
|
152
|
+
Ps as getPermissionService,
|
|
153
|
+
ks as getRoleList,
|
|
154
|
+
js as getServiceCode,
|
|
155
|
+
Fs as getSessionStorage,
|
|
156
|
+
Bs as getUserDvsn,
|
|
157
|
+
Ts as getUserId,
|
|
158
|
+
U as getUserInfo,
|
|
159
|
+
$s as getUserNm,
|
|
160
|
+
xs as hasAllRoles,
|
|
161
|
+
Ks as hasAnyRole,
|
|
162
|
+
qs as hasRole,
|
|
163
|
+
zs as hasUserInfo,
|
|
164
|
+
Gs as isArray,
|
|
165
|
+
Vs as isBoolean,
|
|
166
|
+
Ws as isDesktop,
|
|
167
|
+
Ys as isDev,
|
|
167
168
|
Hs as isEmpty,
|
|
168
169
|
Js as isEmptyArray,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
170
|
+
Qs as isFunction,
|
|
171
|
+
Xs as isLocal,
|
|
172
|
+
Zs as isLoggedIn,
|
|
173
|
+
se as isMobile,
|
|
174
|
+
ee as isNull,
|
|
175
|
+
ae as isNullOrUndefined,
|
|
176
|
+
oe as isNumber,
|
|
177
|
+
te as isObject,
|
|
178
|
+
re as isProd,
|
|
179
|
+
ie as isSafeEmpty,
|
|
180
|
+
ne as isString,
|
|
181
|
+
le as isTablet,
|
|
182
|
+
ce as isUndefined,
|
|
183
|
+
de as isValidEmail,
|
|
184
|
+
ge as isValidUrl,
|
|
185
|
+
pe as logServiceCodeConfig,
|
|
185
186
|
T as messageUtils,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
ue as notiBwgError,
|
|
188
|
+
me as notiError,
|
|
189
|
+
fe as notiInfo,
|
|
190
|
+
Se as notiSuccess,
|
|
190
191
|
Ce as notiWarning,
|
|
191
192
|
Ue as notificationService,
|
|
192
193
|
$ as notificationUtils,
|
|
193
|
-
|
|
194
|
-
|
|
194
|
+
he as padLeft,
|
|
195
|
+
ve as padRight,
|
|
195
196
|
we as random,
|
|
196
197
|
h as realFormat,
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
ye as removeSessionStorage,
|
|
199
|
+
be as round,
|
|
199
200
|
x as serviceUtils,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
Ee as setClientIp,
|
|
202
|
+
Me as setCookie,
|
|
203
|
+
De as setServiceCodeOverrides,
|
|
204
|
+
Re as setSessionStorage,
|
|
204
205
|
R as showApiError,
|
|
205
206
|
N as showDuplicateError,
|
|
206
207
|
i as showError,
|
|
@@ -211,9 +212,9 @@ export {
|
|
|
211
212
|
_ as showSaveSuccess,
|
|
212
213
|
f as showSuccess,
|
|
213
214
|
y as showWarning,
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
_e as throttle,
|
|
216
|
+
Ie as toCamelCase,
|
|
216
217
|
K as userUtils,
|
|
217
|
-
|
|
218
|
+
Ne as verifyClientIp
|
|
218
219
|
};
|
|
219
220
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/utils/
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/utils/FileUtils.ts","../../src/utils/messageUtils.ts","../../src/utils/index.ts"],"sourcesContent":["import { callService } from \"./apiUtils\";\r\nimport { getUserInfo } from \"./userUtils\";\r\n\r\n/**\r\n * 파일 다운로드\r\n * @param data \r\n * @param filename \r\n * @param type \r\n * @returns \r\n */\r\nexport const downloadFile = (data: string, filename: string, type: string = 'text/plain'): void => {\r\n const blob = new Blob([data], { type })\r\n const url = URL.createObjectURL(blob)\r\n const link = document.createElement('a')\r\n link.href = url\r\n link.download = filename\r\n document.body.appendChild(link)\r\n link.click()\r\n document.body.removeChild(link)\r\n URL.revokeObjectURL(url)\r\n}\r\n\r\n/**\r\n * 파일 키를 사용하여 파일 상세 정보를 조회하고, 해당 정보를 바탕으로 다운로드를 시작하는 유틸리티 함수입니다.\r\n *\r\n * @param fileKey - 조회할 파일의 키 (fileGrpKey)\r\n * @returns API 호출 결과 또는 오류\r\n */\r\nexport async function downloadByFileKey(fileKey: string): Promise<any> {\r\n try {\r\n // 1. fileKey를 매개변수로 파일 상세 정보 조회 서비스 호출\r\n const fileDetailsResponse = await callService(\"SCMFILE00101\", {\r\n crprCd: getUserInfo()?.crprCd,\r\n sysCd: __SYS_CD__,\r\n fileKey,\r\n }).then((res) => {\r\n let response;\r\n if (res.sub) {\r\n response = res.sub[0];\r\n }\r\n console.log(res);\r\n console.log(response);\r\n if (!response.lgclFileNm) {\r\n console.error(\"논리파일명이 없습니다.\");\r\n throw new Error(\"논리 파일명 누락\");\r\n }\r\n if (!response.filePath) {\r\n console.error(\"파일 경로가 없습니다.\");\r\n throw new Error(\"파일 경로 누락\");\r\n }\r\n\r\n // download api 호출\r\n const downloadUrl = `api/download?filePath=${encodeURIComponent(\r\n response.filePath\r\n )}&logicalName=${encodeURIComponent(response.lgclFileNm)}`;\r\n window.open(downloadUrl, \"_blank\"); // 새 탭에서 열어 다운로드 트리거\r\n\r\n return { success: true, message: \"파일 다운로드 요청 성공\" }; // 다운로드 요청 성공을 나타내는 객체 반환\r\n });\r\n\r\n return fileDetailsResponse; // .then() 블록의 결과 반환\r\n } catch (error) {\r\n console.error(\"downloadByFileKey 함수 실행 중 오류 발생:\", error);\r\n throw error;\r\n }\r\n}\r\n","import { message } from 'antd';\r\n\r\n/**\r\n * 성공 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showSuccess = (content: string, duration: number = 3) => {\r\n message.success({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 오류 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showError = (content: string, duration: number = 5) => {\r\n message.error({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 경고 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showWarning = (content: string, duration: number = 4) => {\r\n message.warning({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 정보 메시지 표시\r\n * @param content 메시지 내용\r\n * @param duration 표시 시간 (초)\r\n */\r\nexport const showInfo = (content: string, duration: number = 3) => {\r\n message.info({\r\n content,\r\n duration,\r\n });\r\n};\r\n\r\n/**\r\n * 로딩 메시지 표시\r\n * @param content 메시지 내용\r\n * @returns 메시지 키 (닫을 때 사용)\r\n */\r\nexport const showLoading = (content: string = '처리중...') => {\r\n return message.loading({\r\n content,\r\n duration: 0, // 수동으로 닫을 때까지 유지\r\n });\r\n};\r\n\r\n/**\r\n * 메시지 닫기\r\n * @param key 메시지 키\r\n */\r\nexport const closeMessage = (key: string) => {\r\n message.destroy(key);\r\n};\r\n\r\n/**\r\n * 모든 메시지 닫기\r\n */\r\nexport const closeAllMessages = () => {\r\n message.destroy();\r\n};\r\n\r\n/**\r\n * API 오류 메시지 표시 (공통)\r\n * @param error 오류 객체\r\n * @param defaultMessage 기본 오류 메시지\r\n */\r\nexport const showApiError = (\r\n error: any,\r\n defaultMessage: string = '처리 중 오류가 발생했습니다.'\r\n) => {\r\n const errorMessage =\r\n error?.response?.data?.message || error?.message || defaultMessage;\r\n showError(errorMessage);\r\n};\r\n\r\n/**\r\n * 저장 성공 메시지 표시\r\n * @param type 저장 타입 ('등록', '수정', '삭제' 등)\r\n */\r\nexport const showSaveSuccess = (type: string = '저장') => {\r\n showSuccess(`${type}이 완료되었습니다.`);\r\n};\r\n\r\n/**\r\n * 저장 실패 메시지 표시\r\n * @param type 저장 타입 ('등록', '수정', '삭제' 등)\r\n */\r\nexport const showSaveError = (type: string = '저장') => {\r\n showError(`${type} 중 오류가 발생했습니다.`);\r\n};\r\n\r\n/**\r\n * 중복 체크 실패 메시지 표시\r\n * @param fieldName 필드명\r\n */\r\nexport const showDuplicateError = (fieldName: string) => {\r\n showError(`이미 사용중인 ${fieldName}입니다.`);\r\n};\r\n\r\n/**\r\n * 필수 입력 항목 메시지 표시\r\n * @param fieldName 필드명\r\n */\r\nexport const showRequiredError = (fieldName: string) => {\r\n showError(`${fieldName}을(를) 입력해주세요.`);\r\n};\r\n","// 기존 방식: 개별 함수들을 직접 export\r\nexport * from './apiUtils';\r\nexport * from './commonUtils';\r\nexport * from './envUtils';\r\nexport * from './fileUtils';\r\nexport * from './messageUtils';\r\nexport * from './notificationUtils';\r\nexport { default as realFormat } from './realFormat';\r\nexport * from './serviceConfig';\r\nexport * from './userUtils';\r\n\r\n// 네임스페이스 객체들도 함께 제공\r\nimport * as apiUtilsModule from './apiUtils';\r\nimport * as commonUtilsModule from './commonUtils';\r\nimport * as envUtilsModule from './envUtils';\r\nimport * as fileUtilsModule from './fileUtils';\r\nimport * as messageUtilsModule from './messageUtils';\r\nimport * as notificationUtilsModule from './notificationUtils';\r\nimport { default as realFormat } from './realFormat';\r\nimport * as serviceConfigModule from './serviceConfig';\r\nimport * as userUtilsModule from './userUtils';\r\n\r\n// 개별 네임스페이스 객체들\r\nexport const apiUtils = apiUtilsModule;\r\nexport const commonUtils = commonUtilsModule;\r\nexport const envUtils = envUtilsModule;\r\nexport const fileUtils = fileUtilsModule;\r\nexport const messageUtils = messageUtilsModule;\r\nexport const notificationUtils = notificationUtilsModule;\r\nexport const serviceUtils = serviceConfigModule;\r\nexport const userUtils = userUtilsModule;\r\n\r\n// 통합 bwgUtils 객체 (모든 유틸리티를 하나로)\r\nexport const bwgUtils = {\r\n ...apiUtilsModule,\r\n ...commonUtilsModule,\r\n ...envUtilsModule,\r\n ...fileUtilsModule,\r\n ...messageUtilsModule,\r\n ...notificationUtilsModule,\r\n ...serviceConfigModule,\r\n ...userUtilsModule,\r\n realFormat,\r\n};\r\n\r\n// 기본 export로 bwgUtils 제공\r\nexport default bwgUtils;"],"names":["downloadFile","data","filename","type","blob","url","link","downloadByFileKey","fileKey","callService","getUserInfo","res","response","downloadUrl","error","showSuccess","content","duration","message","showError","showWarning","showInfo","showLoading","closeMessage","key","closeAllMessages","showApiError","defaultMessage","errorMessage","showSaveSuccess","showSaveError","showDuplicateError","fieldName","showRequiredError","apiUtils","apiUtilsModule","commonUtils","commonUtilsModule","envUtils","envUtilsModule","fileUtils","fileUtilsModule","messageUtils","messageUtilsModule","notificationUtils","notificationUtilsModule","serviceUtils","serviceConfigModule","userUtils","userUtilsMod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