@bwg-ui/core 1.2.7 → 1.2.9
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/README.md +28 -0
- package/dist/chunks/MenuReport-CuAfCZbc.cjs +1 -0
- package/dist/chunks/MenuReport-iuRC_snf.js +1244 -0
- package/dist/chunks/{common-components-BiUtYMIt.js → common-components-CFIJNFN0.js} +6704 -7999
- package/dist/chunks/common-components-CioS_8Bi.cjs +183 -0
- package/dist/chunks/{core-CF_HWm44.cjs → core-CA7iRgyb.cjs} +1 -1
- package/dist/chunks/{core-Cb5dF0QU.js → core-D18HD1It.js} +1 -1
- package/dist/chunks/{enc-base64-Dy-3zKzn.js → enc-base64-CdWu8KMI.js} +2 -2
- package/dist/chunks/{enc-base64-CAxIzedh.cjs → enc-base64-DSIiAsI5.cjs} +1 -1
- package/dist/chunks/layout-components-C-9ATcL9.js +1616 -0
- package/dist/chunks/layout-components-DMR4tl9_.cjs +35 -0
- package/dist/chunks/{sha256-DbQnwvPn.cjs → sha256-D5iKSlK6.cjs} +1 -1
- package/dist/chunks/{sha256-DKma8qua.js → sha256-DQcqzuys.js} +2 -2
- package/dist/components/common/ButtonAccessController.d.ts +5 -0
- package/dist/components/common/ButtonAccessController.d.ts.map +1 -0
- package/dist/components/common/BwgEditor.d.ts +3 -3
- package/dist/components/common/BwgEditor.d.ts.map +1 -1
- package/dist/components/common/BwgPopup.d.ts +15 -0
- package/dist/components/common/BwgPopup.d.ts.map +1 -1
- package/dist/components/common/BwgView.d.ts +2 -23
- package/dist/components/common/BwgView.d.ts.map +1 -1
- package/dist/components/common/SearchBox.d.ts +1 -57
- package/dist/components/common/SearchBox.d.ts.map +1 -1
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.d.ts +5 -3
- package/dist/components/common/index.d.ts.map +1 -1
- package/dist/components/common/index.js +24 -23
- package/dist/components/common/type.d.ts +132 -0
- package/dist/components/common/type.d.ts.map +1 -0
- package/dist/components/guide/index.cjs +1 -1
- package/dist/components/guide/index.js +1 -1
- package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
- package/dist/components/layout/default/LocalPopupContainer.d.ts +3 -0
- package/dist/components/layout/default/LocalPopupContainer.d.ts.map +1 -0
- package/dist/components/layout/default/PopupContainer.d.ts.map +1 -1
- package/dist/components/layout/index.cjs +1 -35
- package/dist/components/layout/index.js +13 -1558
- package/dist/components/popup/MenuReport.d.ts +2 -5
- package/dist/components/popup/MenuReport.d.ts.map +1 -1
- package/dist/components/popup/SearchDepartmentP01.d.ts +4 -5
- package/dist/components/popup/SearchDepartmentP01.d.ts.map +1 -1
- package/dist/components/popup/SearchDepartmentP02.d.ts +3 -5
- package/dist/components/popup/SearchDepartmentP02.d.ts.map +1 -1
- package/dist/components/popup/SearchEmployeeP01.d.ts +3 -1
- package/dist/components/popup/SearchEmployeeP01.d.ts.map +1 -1
- package/dist/components/popup/SearchEmployeeP02.d.ts +3 -1
- package/dist/components/popup/SearchEmployeeP02.d.ts.map +1 -1
- package/dist/components/popup/SearchOrganizationP01.d.ts +2 -4
- package/dist/components/popup/SearchOrganizationP01.d.ts.map +1 -1
- package/dist/components/popup/SearchOrganizationP02.d.ts +3 -4
- package/dist/components/popup/SearchOrganizationP02.d.ts.map +1 -1
- package/dist/components/popup/config/localPopupRegistry.d.ts +8 -0
- package/dist/components/popup/config/localPopupRegistry.d.ts.map +1 -0
- package/dist/components/popup/index.cjs +1 -1
- package/dist/components/popup/index.d.ts +2 -4
- package/dist/components/popup/index.d.ts.map +1 -1
- package/dist/components/popup/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +238 -217
- package/dist/provider/hooks/usePopup.d.ts +2 -1
- package/dist/provider/hooks/usePopup.d.ts.map +1 -1
- package/dist/provider/index.cjs +1 -1
- package/dist/provider/index.js +205 -188
- package/dist/stores/index.cjs +2 -2
- package/dist/stores/index.js +265 -196
- package/dist/stores/popupStore.d.ts +17 -1
- package/dist/stores/popupStore.d.ts.map +1 -1
- package/dist/stores/userStore.d.ts +16 -2
- package/dist/stores/userStore.d.ts.map +1 -1
- package/dist/utils/commonUtils.d.ts +77 -6
- package/dist/utils/commonUtils.d.ts.map +1 -1
- package/dist/utils/gwUtils.d.ts +23 -0
- package/dist/utils/gwUtils.d.ts.map +1 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.ts +27 -8
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +770 -619
- package/dist/utils/userUtils.d.ts +6 -0
- package/dist/utils/userUtils.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/chunks/common-components-DyOLtUJx.cjs +0 -183
package/dist/utils/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { g as
|
|
4
|
-
import { notification as U, message as
|
|
5
|
-
import { useUserStore as
|
|
6
|
-
const
|
|
1
|
+
import ee from "axios";
|
|
2
|
+
import C from "dayjs";
|
|
3
|
+
import { g as te } from "../chunks/common-components-CFIJNFN0.js";
|
|
4
|
+
import { notification as U, message as E } from "antd";
|
|
5
|
+
import { useUserStore as T, useMenuViewStore as le, useLoadingStore as X, usePopupLoadingStore as Q } from "../stores/index.js";
|
|
6
|
+
const de = {
|
|
7
7
|
// 권한 관련
|
|
8
8
|
AUTH_BTNS: "SCMSIGN00202",
|
|
9
9
|
// 버튼 권한 조회
|
|
@@ -18,406 +18,437 @@ const ce = {
|
|
|
18
18
|
AUTH_BMRK: "SCMBMRK00101"
|
|
19
19
|
// 즐겨찾기 관리
|
|
20
20
|
};
|
|
21
|
-
let
|
|
22
|
-
function
|
|
23
|
-
|
|
21
|
+
let H = {};
|
|
22
|
+
function Le(e) {
|
|
23
|
+
H = e, console.log("🔧 Provider 서비스코드 오버라이드 설정:", e);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
return
|
|
25
|
+
function me(e) {
|
|
26
|
+
return H[e] && H[e].trim() !== "" ? H[e] : de[e];
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function fe() {
|
|
29
29
|
const e = {};
|
|
30
|
-
for (const t of Object.keys(
|
|
31
|
-
e[t] =
|
|
30
|
+
for (const t of Object.keys(de))
|
|
31
|
+
e[t] = me(t);
|
|
32
32
|
return e;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Fe() {
|
|
35
35
|
console.log("🔧 bwg-core 서비스코드 설정:"), console.log("📋 Provider 설정 > 기본값 순서로 확인");
|
|
36
|
-
const e =
|
|
36
|
+
const e = fe();
|
|
37
37
|
for (const [t, r] of Object.entries(e)) {
|
|
38
|
-
const o =
|
|
38
|
+
const o = H[t] ? "Provider 설정" : "기본값";
|
|
39
39
|
console.log(` ${t}: ${r} (${o})`);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
43
43
|
__proto__: null,
|
|
44
|
-
getAllServiceCodes:
|
|
45
|
-
getServiceCode:
|
|
46
|
-
logServiceCodeConfig:
|
|
47
|
-
setServiceCodeOverrides:
|
|
48
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
49
|
-
const
|
|
44
|
+
getAllServiceCodes: fe,
|
|
45
|
+
getServiceCode: me,
|
|
46
|
+
logServiceCodeConfig: Fe,
|
|
47
|
+
setServiceCodeOverrides: Le
|
|
48
|
+
}, Symbol.toStringTag, { value: "Module" })), ge = () => T.getState().user?.crprCd || null, pe = () => {
|
|
49
|
+
const e = T.getState().user;
|
|
50
|
+
return T.getState().hrInfo?.empNo || e?.userId || null;
|
|
51
|
+
}, ye = () => T.getState().user?.userNm || null, He = () => T.getState().user?.userDvsn || null, Re = () => T.getState().user?.emplNo || null, we = () => {
|
|
52
|
+
const e = T.getState().hrInfo, t = T.getState().user;
|
|
53
|
+
return e?.deptCd || t?.dprtCd || null;
|
|
54
|
+
}, Se = () => T.getState().user?.dprtNm || null, K = () => T.getState().user?.roleList || null, je = (e) => {
|
|
55
|
+
const t = K();
|
|
50
56
|
return t ? t.includes(e) : !1;
|
|
51
|
-
},
|
|
52
|
-
const t =
|
|
57
|
+
}, Ve = (e) => {
|
|
58
|
+
const t = K();
|
|
53
59
|
return t ? e.some((r) => t.includes(r)) : !1;
|
|
54
60
|
}, ze = (e) => {
|
|
55
|
-
const t =
|
|
61
|
+
const t = K();
|
|
56
62
|
return t ? e.every((r) => t.includes(r)) : !1;
|
|
57
|
-
},
|
|
58
|
-
const e =
|
|
63
|
+
}, Be = () => T.getState().isLoggedIn, L = () => T.getState().user, We = () => L() !== null, qe = () => {
|
|
64
|
+
const e = ye(), t = pe();
|
|
59
65
|
return e || t || null;
|
|
60
|
-
},
|
|
61
|
-
const e =
|
|
66
|
+
}, Ke = () => {
|
|
67
|
+
const e = Se(), t = we();
|
|
62
68
|
return e || (t ? String(t) : null);
|
|
63
|
-
},
|
|
69
|
+
}, F = () => T.getState().hrInfo, Ge = () => F()?.jbpsCd || null, Je = () => F()?.jbgdCd || null, Ze = () => F()?.jbdtCd || null, Xe = () => F()?.jbkdCd || null, Qe = () => F()?.wkplCd || null, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
64
70
|
__proto__: null,
|
|
65
|
-
getCrprCd:
|
|
66
|
-
getDepartmentInfo:
|
|
67
|
-
getDisplayName:
|
|
68
|
-
getDprtCd:
|
|
69
|
-
getDprtNm:
|
|
70
|
-
getEmplNo:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
getCrprCd: ge,
|
|
72
|
+
getDepartmentInfo: Ke,
|
|
73
|
+
getDisplayName: qe,
|
|
74
|
+
getDprtCd: we,
|
|
75
|
+
getDprtNm: Se,
|
|
76
|
+
getEmplNo: Re,
|
|
77
|
+
getHrInfo: F,
|
|
78
|
+
getJbdtCd: Ze,
|
|
79
|
+
getJbgdCd: Je,
|
|
80
|
+
getJbkdCd: Xe,
|
|
81
|
+
getJbpsCd: Ge,
|
|
82
|
+
getRoleList: K,
|
|
83
|
+
getUserDvsn: He,
|
|
84
|
+
getUserId: pe,
|
|
85
|
+
getUserInfo: L,
|
|
86
|
+
getUserNm: ye,
|
|
87
|
+
getWkplCd: Qe,
|
|
76
88
|
hasAllRoles: ze,
|
|
77
|
-
hasAnyRole:
|
|
78
|
-
hasRole:
|
|
79
|
-
hasUserInfo:
|
|
80
|
-
isLoggedIn:
|
|
89
|
+
hasAnyRole: Ve,
|
|
90
|
+
hasRole: je,
|
|
91
|
+
hasUserInfo: We,
|
|
92
|
+
isLoggedIn: Be
|
|
81
93
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82
|
-
var
|
|
83
|
-
function
|
|
84
|
-
return
|
|
94
|
+
var z = { exports: {} }, et = z.exports, ie;
|
|
95
|
+
function tt() {
|
|
96
|
+
return ie || (ie = 1, (function(e, t) {
|
|
85
97
|
(function(r, o) {
|
|
86
98
|
e.exports = o();
|
|
87
|
-
})(
|
|
88
|
-
return function(r, o,
|
|
99
|
+
})(et, (function() {
|
|
100
|
+
return function(r, o, n) {
|
|
89
101
|
r = r || {};
|
|
90
|
-
var
|
|
91
|
-
function
|
|
92
|
-
return
|
|
102
|
+
var f = o.prototype, h = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
103
|
+
function M(g, m, l, a) {
|
|
104
|
+
return f.fromToBase(g, m, l, a);
|
|
93
105
|
}
|
|
94
|
-
|
|
95
|
-
for (var
|
|
96
|
-
var S =
|
|
97
|
-
S.d && (
|
|
98
|
-
var
|
|
99
|
-
if (u =
|
|
100
|
-
|
|
101
|
-
var
|
|
102
|
-
c && (
|
|
106
|
+
n.en.relativeTime = h, f.fromToBase = function(g, m, l, a, c) {
|
|
107
|
+
for (var i, s, u, p = l.$locale().relativeTime || h, y = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], w = y.length, v = 0; v < w; v += 1) {
|
|
108
|
+
var S = y[v];
|
|
109
|
+
S.d && (i = a ? n(g).diff(l, S.d, !0) : l.diff(g, S.d, !0));
|
|
110
|
+
var $ = (r.rounding || Math.round)(Math.abs(i));
|
|
111
|
+
if (u = i > 0, $ <= S.r || !S.r) {
|
|
112
|
+
$ <= 1 && v > 0 && (S = y[v - 1]);
|
|
113
|
+
var b = p[S.l];
|
|
114
|
+
c && ($ = c("" + $)), s = typeof b == "string" ? b.replace("%d", $) : b($, m, S.l, u);
|
|
103
115
|
break;
|
|
104
116
|
}
|
|
105
117
|
}
|
|
106
|
-
if (
|
|
107
|
-
var
|
|
108
|
-
return typeof
|
|
109
|
-
},
|
|
110
|
-
return
|
|
111
|
-
},
|
|
112
|
-
return
|
|
118
|
+
if (m) return s;
|
|
119
|
+
var D = u ? p.future : p.past;
|
|
120
|
+
return typeof D == "function" ? D(s) : D.replace("%s", s);
|
|
121
|
+
}, f.to = function(g, m) {
|
|
122
|
+
return M(g, m, this, !0);
|
|
123
|
+
}, f.from = function(g, m) {
|
|
124
|
+
return M(g, m, this);
|
|
113
125
|
};
|
|
114
|
-
var
|
|
115
|
-
return
|
|
126
|
+
var d = function(g) {
|
|
127
|
+
return g.$u ? n.utc() : n();
|
|
116
128
|
};
|
|
117
|
-
|
|
118
|
-
return this.to(
|
|
119
|
-
},
|
|
120
|
-
return this.from(
|
|
129
|
+
f.toNow = function(g) {
|
|
130
|
+
return this.to(d(this), g);
|
|
131
|
+
}, f.fromNow = function(g) {
|
|
132
|
+
return this.from(d(this), g);
|
|
121
133
|
};
|
|
122
134
|
};
|
|
123
135
|
}));
|
|
124
|
-
})(
|
|
136
|
+
})(z)), z.exports;
|
|
125
137
|
}
|
|
126
|
-
var
|
|
127
|
-
const
|
|
128
|
-
var
|
|
129
|
-
function
|
|
130
|
-
return
|
|
138
|
+
var rt = /* @__PURE__ */ tt();
|
|
139
|
+
const ot = /* @__PURE__ */ te(rt);
|
|
140
|
+
var B = { exports: {} }, st = B.exports, ce;
|
|
141
|
+
function nt() {
|
|
142
|
+
return ce || (ce = 1, (function(e, t) {
|
|
131
143
|
(function(r, o) {
|
|
132
144
|
e.exports = o();
|
|
133
|
-
})(
|
|
145
|
+
})(st, (function() {
|
|
134
146
|
var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, o = {};
|
|
135
|
-
return function(
|
|
136
|
-
var
|
|
137
|
-
|
|
138
|
-
var s = new Date(
|
|
139
|
-
|
|
140
|
-
var w =
|
|
141
|
-
return S || (S = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone:
|
|
142
|
-
})(c,
|
|
147
|
+
return function(n, f, h) {
|
|
148
|
+
var M, d = function(a, c, i) {
|
|
149
|
+
i === void 0 && (i = {});
|
|
150
|
+
var s = new Date(a), u = (function(p, y) {
|
|
151
|
+
y === void 0 && (y = {});
|
|
152
|
+
var w = y.timeZoneName || "short", v = p + "|" + w, S = o[v];
|
|
153
|
+
return S || (S = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: p, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: w }), o[v] = S), S;
|
|
154
|
+
})(c, i);
|
|
143
155
|
return u.formatToParts(s);
|
|
144
|
-
},
|
|
145
|
-
for (var
|
|
146
|
-
var
|
|
156
|
+
}, g = function(a, c) {
|
|
157
|
+
for (var i = d(a, c), s = [], u = 0; u < i.length; u += 1) {
|
|
158
|
+
var p = i[u], y = p.type, w = p.value, v = r[y];
|
|
147
159
|
v >= 0 && (s[v] = parseInt(w, 10));
|
|
148
160
|
}
|
|
149
|
-
var S = s[3],
|
|
150
|
-
return (
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
var
|
|
155
|
-
if (!Number(w))
|
|
156
|
-
else if (
|
|
157
|
-
var v =
|
|
158
|
-
|
|
161
|
+
var S = s[3], $ = S === 24 ? 0 : S, b = s[0] + "-" + s[1] + "-" + s[2] + " " + $ + ":" + s[4] + ":" + s[5] + ":000", D = +a;
|
|
162
|
+
return (h.utc(b).valueOf() - (D -= D % 1e3)) / 6e4;
|
|
163
|
+
}, m = f.prototype;
|
|
164
|
+
m.tz = function(a, c) {
|
|
165
|
+
a === void 0 && (a = M);
|
|
166
|
+
var i, s = this.utcOffset(), u = this.toDate(), p = u.toLocaleString("en-US", { timeZone: a }), y = Math.round((u - new Date(p)) / 1e3 / 60), w = 15 * -Math.round(u.getTimezoneOffset() / 15) - y;
|
|
167
|
+
if (!Number(w)) i = this.utcOffset(0, c);
|
|
168
|
+
else if (i = h(p, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(w, !0), c) {
|
|
169
|
+
var v = i.utcOffset();
|
|
170
|
+
i = i.add(s - v, "minute");
|
|
159
171
|
}
|
|
160
|
-
return
|
|
161
|
-
},
|
|
162
|
-
var c = this.$x.$timezone ||
|
|
172
|
+
return i.$x.$timezone = a, i;
|
|
173
|
+
}, m.offsetName = function(a) {
|
|
174
|
+
var c = this.$x.$timezone || h.tz.guess(), i = d(this.valueOf(), c, { timeZoneName: a }).find((function(s) {
|
|
163
175
|
return s.type.toLowerCase() === "timezonename";
|
|
164
176
|
}));
|
|
165
|
-
return
|
|
177
|
+
return i && i.value;
|
|
166
178
|
};
|
|
167
|
-
var l =
|
|
168
|
-
|
|
169
|
-
if (!this.$x || !this.$x.$timezone) return l.call(this,
|
|
170
|
-
var
|
|
171
|
-
return l.call(
|
|
172
|
-
},
|
|
173
|
-
var s =
|
|
174
|
-
if (typeof
|
|
175
|
-
var
|
|
176
|
-
var
|
|
177
|
-
if (
|
|
178
|
-
var
|
|
179
|
-
return
|
|
180
|
-
})(
|
|
179
|
+
var l = m.startOf;
|
|
180
|
+
m.startOf = function(a, c) {
|
|
181
|
+
if (!this.$x || !this.$x.$timezone) return l.call(this, a, c);
|
|
182
|
+
var i = h(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
183
|
+
return l.call(i, a, c).tz(this.$x.$timezone, !0);
|
|
184
|
+
}, h.tz = function(a, c, i) {
|
|
185
|
+
var s = i && c, u = i || c || M, p = g(+h(), u);
|
|
186
|
+
if (typeof a != "string") return h(a).tz(u);
|
|
187
|
+
var y = (function($, b, D) {
|
|
188
|
+
var Y = $ - 60 * b * 1e3, P = g(Y, D);
|
|
189
|
+
if (b === P) return [Y, b];
|
|
190
|
+
var Z = g(Y -= 60 * (P - b) * 1e3, D);
|
|
191
|
+
return P === Z ? [Y, P] : [$ - 60 * Math.min(P, Z) * 1e3, Math.max(P, Z)];
|
|
192
|
+
})(h.utc(a, s).valueOf(), p, u), w = y[0], v = y[1], S = h(w).utcOffset(v);
|
|
181
193
|
return S.$x.$timezone = u, S;
|
|
182
|
-
},
|
|
194
|
+
}, h.tz.guess = function() {
|
|
183
195
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
184
|
-
},
|
|
185
|
-
|
|
196
|
+
}, h.tz.setDefault = function(a) {
|
|
197
|
+
M = a;
|
|
186
198
|
};
|
|
187
199
|
};
|
|
188
200
|
}));
|
|
189
|
-
})(
|
|
201
|
+
})(B)), B.exports;
|
|
190
202
|
}
|
|
191
|
-
var
|
|
192
|
-
const
|
|
193
|
-
var
|
|
194
|
-
function
|
|
195
|
-
return
|
|
203
|
+
var at = /* @__PURE__ */ nt();
|
|
204
|
+
const it = /* @__PURE__ */ te(at);
|
|
205
|
+
var W = { exports: {} }, ct = W.exports, ue;
|
|
206
|
+
function ut() {
|
|
207
|
+
return ue || (ue = 1, (function(e, t) {
|
|
196
208
|
(function(r, o) {
|
|
197
209
|
e.exports = o();
|
|
198
|
-
})(
|
|
199
|
-
var r = "minute", o = /[+-]\d\d(?::?\d\d)?/g,
|
|
200
|
-
return function(
|
|
201
|
-
var
|
|
202
|
-
|
|
210
|
+
})(ct, (function() {
|
|
211
|
+
var r = "minute", o = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
212
|
+
return function(f, h, M) {
|
|
213
|
+
var d = h.prototype;
|
|
214
|
+
M.utc = function(s) {
|
|
203
215
|
var u = { date: s, utc: !0, args: arguments };
|
|
204
|
-
return new
|
|
205
|
-
},
|
|
206
|
-
var u =
|
|
216
|
+
return new h(u);
|
|
217
|
+
}, d.utc = function(s) {
|
|
218
|
+
var u = M(this.toDate(), { locale: this.$L, utc: !0 });
|
|
207
219
|
return s ? u.add(this.utcOffset(), r) : u;
|
|
208
|
-
},
|
|
209
|
-
return
|
|
220
|
+
}, d.local = function() {
|
|
221
|
+
return M(this.toDate(), { locale: this.$L, utc: !1 });
|
|
210
222
|
};
|
|
211
|
-
var
|
|
212
|
-
|
|
213
|
-
s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset),
|
|
223
|
+
var g = d.parse;
|
|
224
|
+
d.parse = function(s) {
|
|
225
|
+
s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset), g.call(this, s);
|
|
214
226
|
};
|
|
215
|
-
var
|
|
216
|
-
|
|
227
|
+
var m = d.init;
|
|
228
|
+
d.init = function() {
|
|
217
229
|
if (this.$u) {
|
|
218
230
|
var s = this.$d;
|
|
219
231
|
this.$y = s.getUTCFullYear(), this.$M = s.getUTCMonth(), this.$D = s.getUTCDate(), this.$W = s.getUTCDay(), this.$H = s.getUTCHours(), this.$m = s.getUTCMinutes(), this.$s = s.getUTCSeconds(), this.$ms = s.getUTCMilliseconds();
|
|
220
|
-
} else
|
|
232
|
+
} else m.call(this);
|
|
221
233
|
};
|
|
222
|
-
var l =
|
|
223
|
-
|
|
224
|
-
var
|
|
225
|
-
if (
|
|
234
|
+
var l = d.utcOffset;
|
|
235
|
+
d.utcOffset = function(s, u) {
|
|
236
|
+
var p = this.$utils().u;
|
|
237
|
+
if (p(s)) return this.$u ? 0 : p(this.$offset) ? l.call(this) : this.$offset;
|
|
226
238
|
if (typeof s == "string" && (s = (function(S) {
|
|
227
239
|
S === void 0 && (S = "");
|
|
228
|
-
var
|
|
229
|
-
if (
|
|
230
|
-
var
|
|
231
|
-
return
|
|
240
|
+
var $ = S.match(o);
|
|
241
|
+
if (!$) return null;
|
|
242
|
+
var b = ("" + $[0]).match(n) || ["-", 0, 0], D = b[0], Y = 60 * +b[1] + +b[2];
|
|
243
|
+
return Y === 0 ? 0 : D === "+" ? Y : -Y;
|
|
232
244
|
})(s), s === null)) return this;
|
|
233
|
-
var
|
|
234
|
-
if (
|
|
245
|
+
var y = Math.abs(s) <= 16 ? 60 * s : s;
|
|
246
|
+
if (y === 0) return this.utc(u);
|
|
235
247
|
var w = this.clone();
|
|
236
|
-
if (u) return w.$offset =
|
|
248
|
+
if (u) return w.$offset = y, w.$u = !1, w;
|
|
237
249
|
var v = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
238
|
-
return (w = this.local().add(
|
|
250
|
+
return (w = this.local().add(y + v, r)).$offset = y, w.$x.$localOffset = v, w;
|
|
239
251
|
};
|
|
240
|
-
var
|
|
241
|
-
|
|
252
|
+
var a = d.format;
|
|
253
|
+
d.format = function(s) {
|
|
242
254
|
var u = s || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
243
|
-
return
|
|
244
|
-
},
|
|
255
|
+
return a.call(this, u);
|
|
256
|
+
}, d.valueOf = function() {
|
|
245
257
|
var s = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
246
258
|
return this.$d.valueOf() - 6e4 * s;
|
|
247
|
-
},
|
|
259
|
+
}, d.isUTC = function() {
|
|
248
260
|
return !!this.$u;
|
|
249
|
-
},
|
|
261
|
+
}, d.toISOString = function() {
|
|
250
262
|
return this.toDate().toISOString();
|
|
251
|
-
},
|
|
263
|
+
}, d.toString = function() {
|
|
252
264
|
return this.toDate().toUTCString();
|
|
253
265
|
};
|
|
254
|
-
var c =
|
|
255
|
-
|
|
256
|
-
return s === "s" && this.$offset ?
|
|
266
|
+
var c = d.toDate;
|
|
267
|
+
d.toDate = function(s) {
|
|
268
|
+
return s === "s" && this.$offset ? M(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : c.call(this);
|
|
257
269
|
};
|
|
258
|
-
var
|
|
259
|
-
|
|
260
|
-
if (s && this.$u === s.$u) return
|
|
261
|
-
var
|
|
262
|
-
return
|
|
270
|
+
var i = d.diff;
|
|
271
|
+
d.diff = function(s, u, p) {
|
|
272
|
+
if (s && this.$u === s.$u) return i.call(this, s, u, p);
|
|
273
|
+
var y = this.local(), w = M(s).local();
|
|
274
|
+
return i.call(y, w, u, p);
|
|
263
275
|
};
|
|
264
276
|
};
|
|
265
277
|
}));
|
|
266
|
-
})(
|
|
278
|
+
})(W)), W.exports;
|
|
267
279
|
}
|
|
268
|
-
var
|
|
269
|
-
const
|
|
280
|
+
var lt = /* @__PURE__ */ ut();
|
|
281
|
+
const dt = /* @__PURE__ */ te(lt), mt = "ui_theme", ft = (e) => typeof e == "string", ht = (e) => typeof e == "number" && !isNaN(e), gt = (e) => typeof e == "boolean", pt = (e) => typeof e == "function", yt = (e) => e !== null && typeof e == "object", wt = (e) => Array.isArray(e), St = (e) => e === null, Mt = (e) => e === void 0, vt = (e) => e == null, Ct = (e, t) => {
|
|
270
282
|
let r = 0;
|
|
271
283
|
return (...o) => {
|
|
272
|
-
const
|
|
273
|
-
|
|
284
|
+
const n = Date.now();
|
|
285
|
+
n - r >= t && (r = n, e(...o));
|
|
274
286
|
};
|
|
275
|
-
},
|
|
287
|
+
}, xt = (e, t) => {
|
|
276
288
|
let r;
|
|
277
289
|
return (...o) => {
|
|
278
290
|
clearTimeout(r), r = setTimeout(() => e(...o), t);
|
|
279
291
|
};
|
|
280
|
-
},
|
|
292
|
+
}, $t = async (e) => {
|
|
281
293
|
try {
|
|
282
294
|
return await navigator.clipboard.writeText(e), !0;
|
|
283
295
|
} catch (t) {
|
|
284
296
|
return console.error("Error copying to clipboard:", t), !1;
|
|
285
297
|
}
|
|
286
|
-
},
|
|
298
|
+
}, G = () => {
|
|
287
299
|
const e = window.innerWidth;
|
|
288
300
|
return e < 768 ? "mobile" : e < 1024 ? "tablet" : "desktop";
|
|
289
|
-
},
|
|
290
|
-
if (!
|
|
301
|
+
}, bt = () => G() === "mobile", Tt = () => G() === "tablet", Dt = () => G() === "desktop", kt = () => "#" + Math.floor(Math.random() * 16777215).toString(16), J = (e) => !e || e.length === 0, Ot = (e) => [...new Set(e)], Yt = (e) => {
|
|
302
|
+
if (!J(e))
|
|
291
303
|
return Math.max(...e);
|
|
292
|
-
},
|
|
293
|
-
if (!
|
|
304
|
+
}, It = (e) => {
|
|
305
|
+
if (!J(e))
|
|
294
306
|
return Math.min(...e);
|
|
295
|
-
},
|
|
296
|
-
if (!
|
|
307
|
+
}, Nt = (e) => {
|
|
308
|
+
if (!J(e))
|
|
297
309
|
return e.reduce((t, r) => t + r, 0) / e.length;
|
|
298
|
-
},
|
|
310
|
+
}, _t = (e) => e.reduce((t, r) => t + r, 0), Ut = (e, t) => e.filter(t).length, Et = (e) => [...e].reverse(), Pt = (e) => {
|
|
299
311
|
const t = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
|
|
300
312
|
return e.forEach((o) => {
|
|
301
313
|
t.has(o) ? r.add(o) : t.add(o);
|
|
302
314
|
}), Array.from(r);
|
|
303
|
-
},
|
|
315
|
+
}, At = (e, t) => Math.random() * (t - e) + e, Lt = (e, t, r) => Math.min(Math.max(e, t), r), Ft = (e, t = 0) => Math.round(e * Math.pow(10, t)) / Math.pow(10, t), Ht = (e, t) => {
|
|
304
316
|
try {
|
|
305
317
|
sessionStorage.setItem(e, JSON.stringify(t));
|
|
306
318
|
} catch (r) {
|
|
307
319
|
console.error("Error saving to sessionStorage:", r);
|
|
308
320
|
}
|
|
309
|
-
},
|
|
321
|
+
}, Rt = (e, t) => {
|
|
310
322
|
try {
|
|
311
323
|
const r = sessionStorage.getItem(e);
|
|
312
324
|
return r ? JSON.parse(r) : t || null;
|
|
313
325
|
} catch (r) {
|
|
314
326
|
return console.error("Error reading from sessionStorage:", r), t || null;
|
|
315
327
|
}
|
|
316
|
-
},
|
|
328
|
+
}, jt = (e) => {
|
|
317
329
|
try {
|
|
318
330
|
sessionStorage.removeItem(e);
|
|
319
331
|
} catch (t) {
|
|
320
332
|
console.error("Error removing from sessionStorage:", t);
|
|
321
333
|
}
|
|
322
|
-
},
|
|
334
|
+
}, Vt = () => {
|
|
323
335
|
try {
|
|
324
336
|
sessionStorage.clear();
|
|
325
337
|
} catch (e) {
|
|
326
338
|
console.error("Error clearing sessionStorage:", e);
|
|
327
339
|
}
|
|
328
|
-
},
|
|
340
|
+
}, zt = (e, t, r = 30) => {
|
|
329
341
|
const o = /* @__PURE__ */ new Date();
|
|
330
342
|
o.setTime(o.getTime() + r * 24 * 60 * 60 * 1e3), document.cookie = `${e}=${t};expires=${o.toUTCString()};path=/`;
|
|
331
|
-
},
|
|
343
|
+
}, Bt = (e) => {
|
|
332
344
|
const t = e + "=", r = document.cookie.split(";");
|
|
333
345
|
for (let o = 0; o < r.length; o++) {
|
|
334
|
-
let
|
|
335
|
-
for (;
|
|
336
|
-
if (
|
|
346
|
+
let n = r[o];
|
|
347
|
+
for (; n.charAt(0) === " "; ) n = n.substring(1, n.length);
|
|
348
|
+
if (n.indexOf(t) === 0) return n.substring(t.length, n.length);
|
|
337
349
|
}
|
|
338
350
|
return null;
|
|
339
|
-
},
|
|
351
|
+
}, Wt = (e) => {
|
|
340
352
|
document.cookie = `${e}=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/`;
|
|
341
|
-
},
|
|
353
|
+
}, ve = (e) => typeof e != "string" ? !e : e.trim().length === 0, qt = (e, t) => ve(e) ? t : e || "", Kt = (e) => e.replace(/-([a-z])/g, (t) => t[1].toUpperCase()), Gt = (e) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e), Jt = (e) => {
|
|
342
354
|
try {
|
|
343
355
|
return new URL(e), !0;
|
|
344
356
|
} catch {
|
|
345
357
|
return !1;
|
|
346
358
|
}
|
|
347
|
-
},
|
|
359
|
+
}, Zt = (e, t, r = " ") => e.padStart(t, r), Xt = (e, t, r = " ") => e.padEnd(t, r), Ce = (e, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") => {
|
|
348
360
|
let r = "";
|
|
349
361
|
for (let o = 0; o < e; o++)
|
|
350
362
|
r += t.charAt(Math.floor(Math.random() * t.length));
|
|
351
363
|
return r;
|
|
352
|
-
},
|
|
364
|
+
}, Qt = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
353
365
|
const t = Math.random() * 16 | 0;
|
|
354
366
|
return (e === "x" ? t : t & 3 | 8).toString(16);
|
|
355
|
-
}),
|
|
356
|
-
const r =
|
|
357
|
-
return e >= 32 ? r +
|
|
367
|
+
}), re = (e = 32) => {
|
|
368
|
+
const r = Qt().replace(/-/g, "");
|
|
369
|
+
return e >= 32 ? r + Ce(e - 32, "0123456789abcdef") : r.substring(0, e);
|
|
358
370
|
};
|
|
359
|
-
async function
|
|
371
|
+
async function er(e) {
|
|
360
372
|
const [{ default: t }, { default: r }] = await Promise.all([
|
|
361
|
-
import("../chunks/sha256-
|
|
362
|
-
import("../chunks/enc-base64-
|
|
373
|
+
import("../chunks/sha256-DQcqzuys.js").then((o) => o.s),
|
|
374
|
+
import("../chunks/enc-base64-CdWu8KMI.js").then((o) => o.e)
|
|
363
375
|
]);
|
|
364
376
|
return t(e).toString(r);
|
|
365
377
|
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
const
|
|
378
|
+
C.extend(ot);
|
|
379
|
+
C.extend(dt);
|
|
380
|
+
C.extend(it);
|
|
381
|
+
C.locale("ko");
|
|
382
|
+
const I = "YYYYMMDD", tr = () => C(), xe = (e = I) => C().format(e), rr = (e) => C(e, I, !0).isValid(), or = (e) => C(e, "YYYY", !0).isValid(), sr = (e) => C(e, "YYYYMM", !0).isValid(), nr = (e) => C(e, "YYYYMMDDHHmmss", !0).isValid(), ar = (e, t = "CM") => {
|
|
383
|
+
let r = "";
|
|
384
|
+
return t == "CM" ? r = "YYYYMMDD" : t == "C" ? r = "YYYY.MM.DD" : t == "H" ? r = "YYYY년 MM월 DD일" : t == "D" ? r = "YYYY-MM-DD" : t == "S" ? r = "YYYY/MM/DD" : t == "M" ? r = "YYYY-MM" : t == "YM" ? r = "YYYY년 MM월" : t == "DT" ? r = "YYYY-MM-DD HH:mm:ss" : t == "T" ? r = "HH:mm:ss" : t == "HM" && (r = "HH:mm"), C(e).format(r);
|
|
385
|
+
}, ir = (e, t = "month") => C(e).endOf(t).format(I), cr = (e, t = "month") => C(e).startOf(t).format(I), ur = (e, t) => C(e).add(t, "month").format(I), lr = (e, t) => C(e).add(t, "day").format(I), dr = (e, t) => C(e).diff(t, "day"), mr = (e = I) => {
|
|
386
|
+
const t = C(e), r = C();
|
|
387
|
+
let o = r.year() - t.year();
|
|
388
|
+
return (r.month() < t.month() || r.month() === t.month() && r.date() < t.date()) && o--, o;
|
|
389
|
+
}, $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
371
390
|
__proto__: null,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
391
|
+
COMMON_DATE_FORMAT: I,
|
|
392
|
+
THEME_COOKIE_NAME: mt,
|
|
393
|
+
addDays: lr,
|
|
394
|
+
addMonths: ur,
|
|
395
|
+
arrAverage: Nt,
|
|
396
|
+
arrCount: Ut,
|
|
397
|
+
arrMax: Yt,
|
|
398
|
+
arrMin: It,
|
|
399
|
+
arrReverse: Et,
|
|
400
|
+
arrSum: _t,
|
|
401
|
+
arrUnique: Ot,
|
|
402
|
+
clamp: Lt,
|
|
403
|
+
clearSessionStorage: Vt,
|
|
404
|
+
copyToClipboard: $t,
|
|
405
|
+
datetimeFormat: ar,
|
|
406
|
+
debounce: xt,
|
|
407
|
+
deleteCookie: Wt,
|
|
408
|
+
diffDays: dr,
|
|
409
|
+
duplicates: Pt,
|
|
410
|
+
encryptSha256: er,
|
|
411
|
+
generateRandomColor: kt,
|
|
412
|
+
generateRandomString: Ce,
|
|
413
|
+
generateUID: re,
|
|
414
|
+
getAge: mr,
|
|
415
|
+
getCookie: Bt,
|
|
416
|
+
getCurrentDate: tr,
|
|
417
|
+
getCurrentDateString: xe,
|
|
418
|
+
getDeviceType: G,
|
|
419
|
+
getLastDateByDiv: ir,
|
|
420
|
+
getSessionStorage: Rt,
|
|
421
|
+
getStartDateByDiv: cr,
|
|
422
|
+
isArray: wt,
|
|
423
|
+
isBoolean: gt,
|
|
424
|
+
isDesktop: Dt,
|
|
425
|
+
isEmpty: ve,
|
|
426
|
+
isEmptyArray: J,
|
|
427
|
+
isFunction: pt,
|
|
428
|
+
isMobile: bt,
|
|
429
|
+
isNull: St,
|
|
430
|
+
isNullOrUndefined: vt,
|
|
431
|
+
isNumber: ht,
|
|
432
|
+
isObject: yt,
|
|
433
|
+
isSafeEmpty: qt,
|
|
434
|
+
isString: ft,
|
|
435
|
+
isTablet: Tt,
|
|
436
|
+
isUndefined: Mt,
|
|
437
|
+
isValidDate: rr,
|
|
438
|
+
isValidDateTime: nr,
|
|
439
|
+
isValidEmail: Gt,
|
|
440
|
+
isValidUrl: Jt,
|
|
441
|
+
isValidYear: or,
|
|
442
|
+
isValidYearMonth: sr,
|
|
443
|
+
padLeft: Zt,
|
|
444
|
+
padRight: Xt,
|
|
445
|
+
random: At,
|
|
446
|
+
removeSessionStorage: jt,
|
|
447
|
+
round: Ft,
|
|
448
|
+
setCookie: zt,
|
|
449
|
+
setSessionStorage: Ht,
|
|
450
|
+
throttle: Ct,
|
|
451
|
+
toCamelCase: Kt
|
|
421
452
|
}, Symbol.toStringTag, { value: "Module" })), R = (() => {
|
|
422
453
|
try {
|
|
423
454
|
if (import.meta.env.DEV)
|
|
@@ -426,41 +457,41 @@ const qt = () => L(), Kt = (e = "YYYY-MM-DD") => L().format(e), ve = /* @__PURE_
|
|
|
426
457
|
}
|
|
427
458
|
return !1;
|
|
428
459
|
})();
|
|
429
|
-
let
|
|
430
|
-
function
|
|
431
|
-
e.devHosts && (
|
|
460
|
+
let be = [], Te = [];
|
|
461
|
+
function fr(e) {
|
|
462
|
+
e.devHosts && (be = e.devHosts), e.prodHosts && (Te = e.prodHosts);
|
|
432
463
|
}
|
|
433
|
-
function
|
|
464
|
+
function De() {
|
|
434
465
|
if (typeof window < "u" && window.location)
|
|
435
466
|
return window.location.hostname;
|
|
436
467
|
}
|
|
437
|
-
const
|
|
438
|
-
const e =
|
|
439
|
-
return !!(e &&
|
|
440
|
-
})(),
|
|
441
|
-
const e =
|
|
442
|
-
return !!(e &&
|
|
468
|
+
const ke = (() => {
|
|
469
|
+
const e = De();
|
|
470
|
+
return !!(e && be.includes(e));
|
|
471
|
+
})(), Oe = (() => {
|
|
472
|
+
const e = De();
|
|
473
|
+
return !!(e && Te.includes(e));
|
|
443
474
|
})();
|
|
444
|
-
function
|
|
445
|
-
return R ? "X" :
|
|
475
|
+
function hr() {
|
|
476
|
+
return R ? "X" : ke ? "D" : Oe ? "P" : "X";
|
|
446
477
|
}
|
|
447
|
-
const
|
|
478
|
+
const Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
448
479
|
__proto__: null,
|
|
449
|
-
configureEnvUtils:
|
|
450
|
-
getEnvCode:
|
|
451
|
-
isDev:
|
|
480
|
+
configureEnvUtils: fr,
|
|
481
|
+
getEnvCode: hr,
|
|
482
|
+
isDev: ke,
|
|
452
483
|
isLocal: R,
|
|
453
|
-
isProd:
|
|
454
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
484
|
+
isProd: Oe
|
|
485
|
+
}, Symbol.toStringTag, { value: "Module" })), k = {
|
|
455
486
|
duration: 4.5,
|
|
456
487
|
// 4.5초
|
|
457
488
|
placement: "topRight"
|
|
458
489
|
};
|
|
459
|
-
class
|
|
490
|
+
class A {
|
|
460
491
|
constructor() {
|
|
461
492
|
}
|
|
462
493
|
static getInstance() {
|
|
463
|
-
return
|
|
494
|
+
return A.instance || (A.instance = new A()), A.instance;
|
|
464
495
|
}
|
|
465
496
|
/**
|
|
466
497
|
* BwgError 전용 에러 알림
|
|
@@ -470,14 +501,14 @@ class P {
|
|
|
470
501
|
const {
|
|
471
502
|
message: r,
|
|
472
503
|
description: o,
|
|
473
|
-
duration:
|
|
474
|
-
placement:
|
|
504
|
+
duration: n = k.duration,
|
|
505
|
+
placement: f = k.placement
|
|
475
506
|
} = t;
|
|
476
507
|
U.error({
|
|
477
508
|
message: `${r}`,
|
|
478
509
|
description: o || "오류가 발생했습니다. 다시 시도해주세요.",
|
|
479
|
-
duration:
|
|
480
|
-
placement:
|
|
510
|
+
duration: n,
|
|
511
|
+
placement: f,
|
|
481
512
|
style: {
|
|
482
513
|
borderLeft: "4px solid #ff4d4f",
|
|
483
514
|
backgroundColor: "#fff2f0"
|
|
@@ -491,8 +522,8 @@ class P {
|
|
|
491
522
|
U.success({
|
|
492
523
|
message: `${t}`,
|
|
493
524
|
description: r,
|
|
494
|
-
duration: o ||
|
|
495
|
-
placement:
|
|
525
|
+
duration: o || k.duration,
|
|
526
|
+
placement: k.placement
|
|
496
527
|
});
|
|
497
528
|
}
|
|
498
529
|
/**
|
|
@@ -502,8 +533,8 @@ class P {
|
|
|
502
533
|
U.info({
|
|
503
534
|
message: `${t}`,
|
|
504
535
|
description: r,
|
|
505
|
-
duration: o ||
|
|
506
|
-
placement:
|
|
536
|
+
duration: o || k.duration,
|
|
537
|
+
placement: k.placement
|
|
507
538
|
});
|
|
508
539
|
}
|
|
509
540
|
/**
|
|
@@ -513,8 +544,8 @@ class P {
|
|
|
513
544
|
U.warning({
|
|
514
545
|
message: `${t}`,
|
|
515
546
|
description: r,
|
|
516
|
-
duration: o ||
|
|
517
|
-
placement:
|
|
547
|
+
duration: o || k.duration,
|
|
548
|
+
placement: k.placement
|
|
518
549
|
});
|
|
519
550
|
}
|
|
520
551
|
/**
|
|
@@ -524,8 +555,8 @@ class P {
|
|
|
524
555
|
U.error({
|
|
525
556
|
message: `${t}`,
|
|
526
557
|
description: r,
|
|
527
|
-
duration: o ||
|
|
528
|
-
placement:
|
|
558
|
+
duration: o || k.duration,
|
|
559
|
+
placement: k.placement
|
|
529
560
|
});
|
|
530
561
|
}
|
|
531
562
|
/**
|
|
@@ -541,50 +572,50 @@ class P {
|
|
|
541
572
|
U.destroy();
|
|
542
573
|
}
|
|
543
574
|
}
|
|
544
|
-
const
|
|
545
|
-
|
|
546
|
-
},
|
|
547
|
-
|
|
548
|
-
},
|
|
549
|
-
|
|
550
|
-
},
|
|
551
|
-
|
|
552
|
-
},
|
|
553
|
-
|
|
554
|
-
},
|
|
555
|
-
|
|
556
|
-
},
|
|
557
|
-
|
|
558
|
-
},
|
|
575
|
+
const N = A.getInstance(), oe = (e) => {
|
|
576
|
+
N.showBwgError(e);
|
|
577
|
+
}, gr = (e, t, r) => {
|
|
578
|
+
N.showSuccess(e, t, r);
|
|
579
|
+
}, se = (e, t, r) => {
|
|
580
|
+
N.showInfo(e, t, r);
|
|
581
|
+
}, ne = (e, t, r) => {
|
|
582
|
+
N.showWarning(e, t, r);
|
|
583
|
+
}, pr = (e, t, r) => {
|
|
584
|
+
N.showError(e, t, r);
|
|
585
|
+
}, yr = () => {
|
|
586
|
+
N.destroy();
|
|
587
|
+
}, wr = (e) => {
|
|
588
|
+
N.close(e);
|
|
589
|
+
}, Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
559
590
|
__proto__: null,
|
|
560
|
-
closeNotification:
|
|
561
|
-
destroyNotifications:
|
|
562
|
-
notiBwgError:
|
|
563
|
-
notiError:
|
|
564
|
-
notiInfo:
|
|
565
|
-
notiSuccess:
|
|
566
|
-
notiWarning:
|
|
567
|
-
notificationService:
|
|
591
|
+
closeNotification: wr,
|
|
592
|
+
destroyNotifications: yr,
|
|
593
|
+
notiBwgError: oe,
|
|
594
|
+
notiError: pr,
|
|
595
|
+
notiInfo: se,
|
|
596
|
+
notiSuccess: gr,
|
|
597
|
+
notiWarning: ne,
|
|
598
|
+
notificationService: N
|
|
568
599
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
569
|
-
let
|
|
570
|
-
const
|
|
571
|
-
if (
|
|
600
|
+
let O = null;
|
|
601
|
+
const ae = async (e) => {
|
|
602
|
+
if (O === null)
|
|
572
603
|
if (e === void 0)
|
|
573
604
|
try {
|
|
574
|
-
let r = (await
|
|
575
|
-
r = r.replace(/\s+/g, ""),
|
|
605
|
+
let r = (await ee.get("/api/ip")).data.trim();
|
|
606
|
+
r = r.replace(/\s+/g, ""), O = r;
|
|
576
607
|
} catch (t) {
|
|
577
|
-
console.warn("IP 가져오기 실패:", t),
|
|
608
|
+
console.warn("IP 가져오기 실패:", t), O = "unknown";
|
|
578
609
|
}
|
|
579
610
|
else
|
|
580
|
-
|
|
581
|
-
},
|
|
582
|
-
class
|
|
583
|
-
constructor(t, r, o,
|
|
584
|
-
super(t), this.name = "ApiError", this.detailMsg = r, this.response = o, this.msgCd =
|
|
611
|
+
O = e;
|
|
612
|
+
}, Sr = () => O, Mr = async () => (console.log("IP 검증 비활성화됨 (성능 최적화)"), O || "unknown");
|
|
613
|
+
class x extends Error {
|
|
614
|
+
constructor(t, r, o, n, f) {
|
|
615
|
+
super(t), this.name = "ApiError", this.detailMsg = r, this.response = o, this.msgCd = n, this.errorType = f, Error.captureStackTrace && Error.captureStackTrace(this, x);
|
|
585
616
|
}
|
|
586
617
|
}
|
|
587
|
-
const
|
|
618
|
+
const q = {
|
|
588
619
|
method: "POST",
|
|
589
620
|
timeout: 3e4,
|
|
590
621
|
// 30초
|
|
@@ -595,18 +626,18 @@ const B = {
|
|
|
595
626
|
showError: !0,
|
|
596
627
|
retryCount: 0,
|
|
597
628
|
retryDelay: 1e3
|
|
598
|
-
},
|
|
599
|
-
timeout:
|
|
600
|
-
withCredentials:
|
|
629
|
+
}, j = ee.create({
|
|
630
|
+
timeout: q.timeout,
|
|
631
|
+
withCredentials: q.withCredentials,
|
|
601
632
|
headers: {
|
|
602
633
|
"Content-Type": "application/json; charset=utf-8",
|
|
603
634
|
Accept: "application/json; charset=utf-8",
|
|
604
|
-
"Apm-Guid":
|
|
635
|
+
"Apm-Guid": re()
|
|
605
636
|
}
|
|
606
637
|
});
|
|
607
|
-
|
|
638
|
+
j.interceptors.request.use(
|
|
608
639
|
(e) => {
|
|
609
|
-
e.showLoading && !e.isPopup &&
|
|
640
|
+
e.showLoading && !e.isPopup && X.getState().showLoading(), e.showLoading && e.isPopup && Q.getState().showLoading();
|
|
610
641
|
let t = "UNKNOWN";
|
|
611
642
|
(/* @__PURE__ */ new Date()).getTime();
|
|
612
643
|
try {
|
|
@@ -615,30 +646,30 @@ Y.interceptors.request.use(
|
|
|
615
646
|
console.warn("trxCd/guid 추출 실패:", o);
|
|
616
647
|
}
|
|
617
648
|
e.trxCd = t, e.requestStartTime = Date.now(), console.log(
|
|
618
|
-
`🚀 API 요청 시작 [거래코드: ${t} / 서비스요청자: ${
|
|
649
|
+
`🚀 API 요청 시작 [거래코드: ${t} / 서비스요청자: ${L()?.userId}]`
|
|
619
650
|
);
|
|
620
651
|
const r = localStorage.getItem("accessToken");
|
|
621
652
|
return r && (e.headers.Authorization = `Bearer ${r}`), e.headers["Content-Type"] = "application/json; charset=UTF-8", e.headers.Accept = "application/json; charset=UTF-8", e;
|
|
622
653
|
},
|
|
623
654
|
(e) => (console.error("❌ 요청 인터셉터 에러:", e), Promise.reject(e))
|
|
624
655
|
);
|
|
625
|
-
|
|
656
|
+
j.interceptors.response.use(
|
|
626
657
|
(e) => {
|
|
627
|
-
e.config.showLoading && !e.config.isPopup &&
|
|
658
|
+
e.config.showLoading && !e.config.isPopup && X.getState().hideLoading(), e.config.isPopup && Q.getState().hideLoading();
|
|
628
659
|
let t = "UNKNOWN", r = "UNKNOWN";
|
|
629
660
|
const o = (/* @__PURE__ */ new Date()).getTime();
|
|
630
661
|
try {
|
|
631
662
|
e.config.trxCd && (t = e.config.trxCd), e.config.guid ? r = e.config.guid : e.data && e.data.header && e.data.header.trxCd ? (t = e.data.header.trxCd, r = e.data.header.guid || "UNKNOWN") : e.config.data && e.config.data.header ? (t = e.config.data.header.trxCd || "UNKNOWN", r = e.config.data.header.guid || "UNKNOWN") : e.config.params && e.config.params.header && (t = e.config.params.header.trxCd || "UNKNOWN", r = e.config.params.header.guid || "UNKNOWN");
|
|
632
|
-
} catch (
|
|
633
|
-
console.warn("trxCd/guid 추출 실패:",
|
|
663
|
+
} catch (f) {
|
|
664
|
+
console.warn("trxCd/guid 추출 실패:", f);
|
|
634
665
|
}
|
|
635
|
-
let
|
|
636
|
-
return e.config.requestStartTime && (
|
|
637
|
-
`✅ API 응답 성공 [거래코드: ${t} / GUID : ${r}] - (소요시간: ${
|
|
666
|
+
let n = 0;
|
|
667
|
+
return e.config.requestStartTime && (n = o - e.config.requestStartTime), console.log(
|
|
668
|
+
`✅ API 응답 성공 [거래코드: ${t} / GUID : ${r}] - (소요시간: ${n}ms)`
|
|
638
669
|
), e;
|
|
639
670
|
},
|
|
640
671
|
async (e) => {
|
|
641
|
-
if (e.config && e.config.showLoading && !e.config.isPopup &&
|
|
672
|
+
if (e.config && e.config.showLoading && !e.config.isPopup && X.getState().hideLoading(), e.config && e.config.isPopup && Q.getState().hideLoading(), console.error("❌ API 응답 에러:", e), R && console.error("🚨 Error Details:", {
|
|
642
673
|
message: e.message,
|
|
643
674
|
status: e.response?.status,
|
|
644
675
|
statusText: e.response?.statusText,
|
|
@@ -652,7 +683,7 @@ Y.interceptors.response.use(
|
|
|
652
683
|
const t = localStorage.getItem("refreshToken");
|
|
653
684
|
if (t)
|
|
654
685
|
try {
|
|
655
|
-
const r = await
|
|
686
|
+
const r = await ee.post("/auth/refresh", {
|
|
656
687
|
refreshToken: t
|
|
657
688
|
});
|
|
658
689
|
if (r.data.accessToken) {
|
|
@@ -662,7 +693,7 @@ Y.interceptors.response.use(
|
|
|
662
693
|
);
|
|
663
694
|
const o = e.config;
|
|
664
695
|
if (o)
|
|
665
|
-
return o.headers.Authorization = `Bearer ${r.data.accessToken}`,
|
|
696
|
+
return o.headers.Authorization = `Bearer ${r.data.accessToken}`, j(o);
|
|
666
697
|
}
|
|
667
698
|
} catch {
|
|
668
699
|
localStorage.removeItem("accessToken"), localStorage.removeItem("refreshToken"), window.location.href = "/login";
|
|
@@ -671,19 +702,19 @@ Y.interceptors.response.use(
|
|
|
671
702
|
return Promise.reject(e);
|
|
672
703
|
}
|
|
673
704
|
);
|
|
674
|
-
const
|
|
705
|
+
const _ = async (e, t, r) => {
|
|
675
706
|
try {
|
|
676
707
|
const o = {
|
|
677
|
-
...
|
|
708
|
+
...q,
|
|
678
709
|
...r
|
|
679
|
-
}, { activeMenuId:
|
|
680
|
-
if (
|
|
710
|
+
}, { activeMenuId: n } = le.getState();
|
|
711
|
+
if (O === null) {
|
|
681
712
|
const l = Date.now();
|
|
682
|
-
await
|
|
683
|
-
const
|
|
684
|
-
console.log(`[INFO] IP 조회 소요시간: ${
|
|
713
|
+
await ae();
|
|
714
|
+
const a = Date.now();
|
|
715
|
+
console.log(`[INFO] IP 조회 소요시간: ${a - l}ms`);
|
|
685
716
|
}
|
|
686
|
-
const
|
|
717
|
+
const f = {
|
|
687
718
|
method: o.method,
|
|
688
719
|
url: "/api/service",
|
|
689
720
|
timeout: o.timeout,
|
|
@@ -691,155 +722,155 @@ const E = async (e, t, r) => {
|
|
|
691
722
|
showLoading: o.showLoading,
|
|
692
723
|
isPopup: o.isPopup
|
|
693
724
|
};
|
|
694
|
-
o.headers && (
|
|
695
|
-
const
|
|
725
|
+
o.headers && (f.headers = o.headers);
|
|
726
|
+
const h = O || "unknown", M = __APP_CD__, d = __SYS_CD__, g = {
|
|
696
727
|
header: {
|
|
697
728
|
trxCd: e,
|
|
698
|
-
userInfo:
|
|
699
|
-
clientIp:
|
|
729
|
+
userInfo: L(),
|
|
730
|
+
clientIp: h,
|
|
700
731
|
// 클라이언트 IP 추가 (서버에서 재확인 권장)
|
|
701
732
|
domainId: "DEFAULT",
|
|
702
|
-
appCd:
|
|
703
|
-
sysCd:
|
|
704
|
-
screenId:
|
|
733
|
+
appCd: M,
|
|
734
|
+
sysCd: d,
|
|
735
|
+
screenId: n
|
|
705
736
|
},
|
|
706
737
|
// data: bxmEncrypt(JSON.stringify(data)),
|
|
707
738
|
data: t
|
|
708
739
|
};
|
|
709
|
-
o.method === "GET" ?
|
|
710
|
-
let
|
|
740
|
+
o.method === "GET" ? f.params = g || o.params : (f.data = g || o.data, o.params && (f.params = o.params));
|
|
741
|
+
let m;
|
|
711
742
|
for (let l = 0; l <= (o.retryCount || 0); l++)
|
|
712
743
|
try {
|
|
713
|
-
const
|
|
714
|
-
if (
|
|
715
|
-
for (const c in
|
|
744
|
+
const a = await j(f);
|
|
745
|
+
if (a.data.header?.resCd == 0) {
|
|
746
|
+
for (const c in a.data)
|
|
716
747
|
if (c !== "header")
|
|
717
|
-
return
|
|
748
|
+
return a.data[c];
|
|
718
749
|
return {};
|
|
719
750
|
} else {
|
|
720
|
-
const c =
|
|
721
|
-
throw new
|
|
751
|
+
const c = a.data.header, i = c?.msgs?.basicMsg || "요청 처리 중 오류가 발생했습니다.", s = c?.msgs?.detailMsgs || i, u = c?.msgCd, p = c?.msgs?.type;
|
|
752
|
+
throw new x(i, s, a, u, p);
|
|
722
753
|
}
|
|
723
|
-
} catch (
|
|
724
|
-
if (
|
|
725
|
-
const c =
|
|
726
|
-
"서버에서 오류가 발생했습니다.",
|
|
727
|
-
(typeof
|
|
728
|
-
|
|
754
|
+
} catch (a) {
|
|
755
|
+
if (a.isAxiosError && a.response) {
|
|
756
|
+
const c = a, i = c.response, s = i.data, u = s?.header?.msgs?.basicMsg || c.message || // 실패 시 Axios 에러 메시지 사용
|
|
757
|
+
"서버에서 오류가 발생했습니다.", p = s?.header?.msgs?.detailMsgs || // 상세 메시지로 응답 본문 제공 (문자열이 아니면 JSON으로 변환)
|
|
758
|
+
(typeof i.data == "string" ? i.data : JSON.stringify(i.data)) || u, y = s?.header?.msgCd, w = s?.header?.msgs?.type;
|
|
759
|
+
m = new x(
|
|
729
760
|
u,
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
761
|
+
p,
|
|
762
|
+
i,
|
|
763
|
+
y,
|
|
733
764
|
w
|
|
734
765
|
);
|
|
735
766
|
} else
|
|
736
|
-
|
|
737
|
-
if (
|
|
738
|
-
await
|
|
767
|
+
m = a;
|
|
768
|
+
if (a.isAxiosError && Ne(a) && l < (o.retryCount || 0)) {
|
|
769
|
+
await _e(o.retryDelay || 1e3);
|
|
739
770
|
continue;
|
|
740
771
|
}
|
|
741
772
|
break;
|
|
742
773
|
}
|
|
743
|
-
if (
|
|
774
|
+
if (m) {
|
|
744
775
|
if (o.showError) {
|
|
745
|
-
const l =
|
|
746
|
-
|
|
776
|
+
const l = m instanceof x ? m.message : "요청 처리 중 오류가 발생했습니다.", a = m instanceof x ? m.msgCd : "요청 처리 중 오류가 발생했습니다.", c = m instanceof x ? m.detailMsg : m.message, i = m instanceof x ? m.errorType : "";
|
|
777
|
+
a?.startsWith("BXM") ? oe({
|
|
747
778
|
message: l,
|
|
748
779
|
description: c,
|
|
749
780
|
duration: 5
|
|
750
|
-
}) :
|
|
781
|
+
}) : i == "I" ? se(l, c, 5) : ne(l, c, 5);
|
|
751
782
|
}
|
|
752
|
-
throw
|
|
783
|
+
throw m;
|
|
753
784
|
}
|
|
754
785
|
throw new Error("알 수 없는 API 오류가 발생했습니다.");
|
|
755
786
|
} catch (o) {
|
|
756
787
|
throw console.error("callService 최종 에러:", o), o;
|
|
757
788
|
}
|
|
758
|
-
},
|
|
789
|
+
}, vr = async (e, t, r, o) => {
|
|
759
790
|
try {
|
|
760
|
-
const
|
|
761
|
-
...
|
|
791
|
+
const n = {
|
|
792
|
+
...q,
|
|
762
793
|
...o
|
|
763
|
-
}, { activeMenuId:
|
|
764
|
-
if (
|
|
765
|
-
const
|
|
766
|
-
await
|
|
794
|
+
}, { activeMenuId: f } = le.getState();
|
|
795
|
+
if (O === null) {
|
|
796
|
+
const a = Date.now();
|
|
797
|
+
await ae();
|
|
767
798
|
const c = Date.now();
|
|
768
|
-
console.log(`[INFO] IP 조회 소요시간: ${c -
|
|
799
|
+
console.log(`[INFO] IP 조회 소요시간: ${c - a}ms`);
|
|
769
800
|
}
|
|
770
|
-
const
|
|
771
|
-
method:
|
|
801
|
+
const h = {
|
|
802
|
+
method: n.method,
|
|
772
803
|
url: "/api/" + e + "/service",
|
|
773
|
-
timeout:
|
|
774
|
-
withCredentials:
|
|
775
|
-
showLoading:
|
|
776
|
-
isPopup:
|
|
804
|
+
timeout: n.timeout,
|
|
805
|
+
withCredentials: n.withCredentials,
|
|
806
|
+
showLoading: n.showLoading,
|
|
807
|
+
isPopup: n.isPopup
|
|
777
808
|
};
|
|
778
|
-
|
|
779
|
-
const
|
|
809
|
+
n.headers && (h.headers = n.headers);
|
|
810
|
+
const M = O || "unknown", d = __APP_CD__, g = __SYS_CD__, m = {
|
|
780
811
|
header: {
|
|
781
812
|
trxCd: t,
|
|
782
|
-
userInfo:
|
|
783
|
-
clientIp:
|
|
813
|
+
userInfo: L(),
|
|
814
|
+
clientIp: M,
|
|
784
815
|
// 클라이언트 IP 추가 (서버에서 재확인 권장)
|
|
785
816
|
domainId: "DEFAULT",
|
|
786
|
-
appCd:
|
|
787
|
-
sysCd:
|
|
788
|
-
screenId:
|
|
817
|
+
appCd: d,
|
|
818
|
+
sysCd: g,
|
|
819
|
+
screenId: f
|
|
789
820
|
},
|
|
790
821
|
// data: bxmEncrypt(JSON.stringify(data)),
|
|
791
822
|
data: r
|
|
792
823
|
};
|
|
793
|
-
R && console.log("__BWG_LOCAL__ 테스트 입니다. ", R),
|
|
824
|
+
R && console.log("__BWG_LOCAL__ 테스트 입니다. ", R), n.method === "GET" ? h.params = m || n.params : (h.data = m || n.data, n.params && (h.params = n.params));
|
|
794
825
|
let l;
|
|
795
|
-
for (let
|
|
826
|
+
for (let a = 0; a <= (n.retryCount || 0); a++)
|
|
796
827
|
try {
|
|
797
|
-
const c = await
|
|
828
|
+
const c = await j(h);
|
|
798
829
|
if (c.data.header?.resCd == 0) {
|
|
799
|
-
for (const
|
|
800
|
-
if (
|
|
801
|
-
return c.data[
|
|
830
|
+
for (const i in c.data)
|
|
831
|
+
if (i !== "header")
|
|
832
|
+
return c.data[i];
|
|
802
833
|
return {};
|
|
803
834
|
} else {
|
|
804
|
-
const
|
|
805
|
-
throw new
|
|
835
|
+
const i = c.data.header, s = i?.msgs?.basicMsg || "요청 처리 중 오류가 발생했습니다.", u = i?.msgs?.detailMsgs || s, p = i?.msgCd, y = i?.msgs?.type;
|
|
836
|
+
throw new x(s, u, c, p, y);
|
|
806
837
|
}
|
|
807
838
|
} catch (c) {
|
|
808
839
|
if (c.isAxiosError && c.response) {
|
|
809
|
-
const
|
|
810
|
-
"서버에서 오류가 발생했습니다.",
|
|
811
|
-
(typeof s.data == "string" ? s.data : JSON.stringify(s.data)) ||
|
|
812
|
-
l = new
|
|
813
|
-
|
|
814
|
-
|
|
840
|
+
const i = c, s = i.response, u = s.data, p = u?.header?.msgs?.basicMsg || i.message || // 실패 시 Axios 에러 메시지 사용
|
|
841
|
+
"서버에서 오류가 발생했습니다.", y = u?.header?.msgs?.detailMsgs || // 상세 메시지로 응답 본문 제공 (문자열이 아니면 JSON으로 변환)
|
|
842
|
+
(typeof s.data == "string" ? s.data : JSON.stringify(s.data)) || p, w = u?.header?.msgCd, v = u?.header?.msgs?.type;
|
|
843
|
+
l = new x(
|
|
844
|
+
p,
|
|
845
|
+
y,
|
|
815
846
|
s,
|
|
816
847
|
w,
|
|
817
848
|
v
|
|
818
849
|
);
|
|
819
850
|
} else
|
|
820
851
|
l = c;
|
|
821
|
-
if (c.isAxiosError &&
|
|
822
|
-
await
|
|
852
|
+
if (c.isAxiosError && Ne(c) && a < (n.retryCount || 0)) {
|
|
853
|
+
await _e(n.retryDelay || 1e3);
|
|
823
854
|
continue;
|
|
824
855
|
}
|
|
825
856
|
break;
|
|
826
857
|
}
|
|
827
858
|
if (l) {
|
|
828
|
-
if (
|
|
829
|
-
const
|
|
830
|
-
c?.startsWith("BXM") ?
|
|
831
|
-
message:
|
|
832
|
-
description:
|
|
859
|
+
if (n.showError) {
|
|
860
|
+
const a = l instanceof x ? l.message : "요청 처리 중 오류가 발생했습니다.", c = l instanceof x ? l.msgCd : "요청 처리 중 오류가 발생했습니다.", i = l instanceof x ? l.detailMsg : l.message, s = l instanceof x ? l.errorType : "";
|
|
861
|
+
c?.startsWith("BXM") ? oe({
|
|
862
|
+
message: a,
|
|
863
|
+
description: i,
|
|
833
864
|
duration: 5
|
|
834
|
-
}) : s == "I" ?
|
|
865
|
+
}) : s == "I" ? se(a, i, 5) : ne(a, i, 5);
|
|
835
866
|
}
|
|
836
867
|
throw l;
|
|
837
868
|
}
|
|
838
869
|
throw new Error("알 수 없는 API 오류가 발생했습니다.");
|
|
839
|
-
} catch (
|
|
840
|
-
throw console.error("callService 최종 에러:",
|
|
870
|
+
} catch (n) {
|
|
871
|
+
throw console.error("callService 최종 에러:", n), n;
|
|
841
872
|
}
|
|
842
|
-
},
|
|
873
|
+
}, Ne = (e) => !e.response || e.response.status >= 500 && e.response.status < 600, _e = (e) => new Promise((t) => setTimeout(t, e)), Cr = (e, t, r) => _(e, t, { ...r, method: "GET" }), xr = (e, t, r) => _(e, t, { ...r, method: "POST" }), $r = (e, t, r) => _(e, t, { ...r, method: "PUT" }), br = (e, t, r) => _(e, t, { ...r, method: "DELETE" }), Tr = (e, t, r) => _(e, t, { ...r, method: "PATCH" }), Dr = async (e, t, r) => {
|
|
843
874
|
try {
|
|
844
875
|
const o = await fetch("/api/permissions", {
|
|
845
876
|
method: "POST",
|
|
@@ -858,28 +889,28 @@ const E = async (e, t, r) => {
|
|
|
858
889
|
} catch (o) {
|
|
859
890
|
throw console.error("권한 확인 서비스 오류:", o), o;
|
|
860
891
|
}
|
|
861
|
-
},
|
|
892
|
+
}, Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
862
893
|
__proto__: null,
|
|
863
|
-
ApiError:
|
|
864
|
-
apiDelete:
|
|
865
|
-
apiGet:
|
|
866
|
-
apiPatch:
|
|
867
|
-
apiPost:
|
|
868
|
-
apiPut:
|
|
869
|
-
callService:
|
|
870
|
-
callService_SYSCD:
|
|
871
|
-
getClientIp:
|
|
872
|
-
getPermissionService:
|
|
873
|
-
setClientIp:
|
|
874
|
-
verifyClientIp:
|
|
875
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
876
|
-
const o = new Blob([e], { type: r }),
|
|
877
|
-
|
|
894
|
+
ApiError: x,
|
|
895
|
+
apiDelete: br,
|
|
896
|
+
apiGet: Cr,
|
|
897
|
+
apiPatch: Tr,
|
|
898
|
+
apiPost: xr,
|
|
899
|
+
apiPut: $r,
|
|
900
|
+
callService: _,
|
|
901
|
+
callService_SYSCD: vr,
|
|
902
|
+
getClientIp: Sr,
|
|
903
|
+
getPermissionService: Dr,
|
|
904
|
+
setClientIp: ae,
|
|
905
|
+
verifyClientIp: Mr
|
|
906
|
+
}, Symbol.toStringTag, { value: "Module" })), kr = (e, t, r = "text/plain") => {
|
|
907
|
+
const o = new Blob([e], { type: r }), n = URL.createObjectURL(o), f = document.createElement("a");
|
|
908
|
+
f.href = n, f.download = t, document.body.appendChild(f), f.click(), document.body.removeChild(f), URL.revokeObjectURL(n);
|
|
878
909
|
};
|
|
879
|
-
async function
|
|
910
|
+
async function Or(e) {
|
|
880
911
|
try {
|
|
881
|
-
return await
|
|
882
|
-
crprCd:
|
|
912
|
+
return await _("SCMFILE00101", {
|
|
913
|
+
crprCd: L()?.crprCd,
|
|
883
914
|
sysCd: __SYS_CD__,
|
|
884
915
|
fileKey: e
|
|
885
916
|
}).then((r) => {
|
|
@@ -888,73 +919,73 @@ async function dr(e) {
|
|
|
888
919
|
throw console.error("논리파일명이 없습니다."), new Error("논리 파일명 누락");
|
|
889
920
|
if (!o.filePath)
|
|
890
921
|
throw console.error("파일 경로가 없습니다."), new Error("파일 경로 누락");
|
|
891
|
-
const
|
|
922
|
+
const n = `api/download?filePath=${encodeURIComponent(
|
|
892
923
|
o.filePath
|
|
893
924
|
)}&logicalName=${encodeURIComponent(o.lgclFileNm)}`;
|
|
894
|
-
return window.open(
|
|
925
|
+
return window.open(n, "_blank"), { success: !0, message: "파일 다운로드 요청 성공" };
|
|
895
926
|
});
|
|
896
927
|
} catch (t) {
|
|
897
928
|
throw console.error("downloadByFileKey 함수 실행 중 오류 발생:", t), t;
|
|
898
929
|
}
|
|
899
930
|
}
|
|
900
|
-
const
|
|
931
|
+
const Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
901
932
|
__proto__: null,
|
|
902
|
-
downloadByFileKey:
|
|
903
|
-
downloadFile:
|
|
904
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
905
|
-
|
|
933
|
+
downloadByFileKey: Or,
|
|
934
|
+
downloadFile: kr
|
|
935
|
+
}, Symbol.toStringTag, { value: "Module" })), Pe = (e, t = 3) => {
|
|
936
|
+
E.success({
|
|
906
937
|
content: e,
|
|
907
938
|
duration: t
|
|
908
939
|
});
|
|
909
|
-
},
|
|
910
|
-
|
|
940
|
+
}, V = (e, t = 5) => {
|
|
941
|
+
E.error({
|
|
911
942
|
content: e,
|
|
912
943
|
duration: t
|
|
913
944
|
});
|
|
914
|
-
},
|
|
915
|
-
|
|
945
|
+
}, Yr = (e, t = 4) => {
|
|
946
|
+
E.warning({
|
|
916
947
|
content: e,
|
|
917
948
|
duration: t
|
|
918
949
|
});
|
|
919
|
-
},
|
|
920
|
-
|
|
950
|
+
}, Ir = (e, t = 3) => {
|
|
951
|
+
E.info({
|
|
921
952
|
content: e,
|
|
922
953
|
duration: t
|
|
923
954
|
});
|
|
924
|
-
},
|
|
955
|
+
}, Nr = (e = "처리중...") => E.loading({
|
|
925
956
|
content: e,
|
|
926
957
|
duration: 0
|
|
927
958
|
// 수동으로 닫을 때까지 유지
|
|
928
|
-
}),
|
|
929
|
-
|
|
930
|
-
},
|
|
931
|
-
|
|
932
|
-
},
|
|
959
|
+
}), _r = (e) => {
|
|
960
|
+
E.destroy(e);
|
|
961
|
+
}, Ur = () => {
|
|
962
|
+
E.destroy();
|
|
963
|
+
}, Er = (e, t = "처리 중 오류가 발생했습니다.") => {
|
|
933
964
|
const r = e?.response?.data?.message || e?.message || t;
|
|
934
|
-
|
|
935
|
-
},
|
|
936
|
-
|
|
937
|
-
},
|
|
938
|
-
|
|
939
|
-
},
|
|
940
|
-
|
|
941
|
-
},
|
|
942
|
-
|
|
943
|
-
},
|
|
965
|
+
V(r);
|
|
966
|
+
}, Pr = (e = "저장") => {
|
|
967
|
+
Pe(`${e}이 완료되었습니다.`);
|
|
968
|
+
}, Ar = (e = "저장") => {
|
|
969
|
+
V(`${e} 중 오류가 발생했습니다.`);
|
|
970
|
+
}, Lr = (e) => {
|
|
971
|
+
V(`이미 사용중인 ${e}입니다.`);
|
|
972
|
+
}, Fr = (e) => {
|
|
973
|
+
V(`${e}을(를) 입력해주세요.`);
|
|
974
|
+
}, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
944
975
|
__proto__: null,
|
|
945
|
-
closeAllMessages:
|
|
946
|
-
closeMessage:
|
|
947
|
-
showApiError:
|
|
948
|
-
showDuplicateError:
|
|
949
|
-
showError:
|
|
950
|
-
showInfo:
|
|
951
|
-
showLoading:
|
|
952
|
-
showRequiredError:
|
|
953
|
-
showSaveError:
|
|
954
|
-
showSaveSuccess:
|
|
955
|
-
showSuccess:
|
|
956
|
-
showWarning:
|
|
957
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
976
|
+
closeAllMessages: Ur,
|
|
977
|
+
closeMessage: _r,
|
|
978
|
+
showApiError: Er,
|
|
979
|
+
showDuplicateError: Lr,
|
|
980
|
+
showError: V,
|
|
981
|
+
showInfo: Ir,
|
|
982
|
+
showLoading: Nr,
|
|
983
|
+
showRequiredError: Fr,
|
|
984
|
+
showSaveError: Ar,
|
|
985
|
+
showSaveSuccess: Pr,
|
|
986
|
+
showSuccess: Pe,
|
|
987
|
+
showWarning: Yr
|
|
988
|
+
}, Symbol.toStringTag, { value: "Module" })), Hr = {
|
|
958
989
|
/*************************************************************************************************************************************************
|
|
959
990
|
* RealGrid2 use
|
|
960
991
|
*************************************************************************************************************************************************/
|
|
@@ -1254,135 +1285,255 @@ const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1254
1285
|
bg_gray01: {
|
|
1255
1286
|
background: "#cdcdcd"
|
|
1256
1287
|
}
|
|
1257
|
-
},
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1288
|
+
}, Rr = async (e) => {
|
|
1289
|
+
if (e.map((t) => {
|
|
1290
|
+
t.status = "uploading", t.percent = 10, console.log(t);
|
|
1291
|
+
}), !e || !Array.isArray(e) || e.length === 0) {
|
|
1292
|
+
alert("업로드할 파일을 선택해주세요.");
|
|
1293
|
+
return;
|
|
1294
|
+
}
|
|
1295
|
+
try {
|
|
1296
|
+
const t = {
|
|
1297
|
+
//로컬 VM 설정-----------------------------------------
|
|
1298
|
+
// sftpHost: "localhost",
|
|
1299
|
+
// sftpPort: "2222",
|
|
1300
|
+
// sftpUsername: "admin",
|
|
1301
|
+
// sftpPassword: "admin",
|
|
1302
|
+
// remoteDir: "/home/admin/test",
|
|
1303
|
+
// useOriginalName: "true",
|
|
1304
|
+
//-------------------------------------------
|
|
1305
|
+
remoteDir: "/home/krxuser/bkrx/files/testForGW",
|
|
1306
|
+
useOriginalName: "true"
|
|
1307
|
+
}, r = e.map(async (h, M) => {
|
|
1308
|
+
const d = new FormData();
|
|
1309
|
+
Object.entries(t).forEach(([l, a]) => {
|
|
1310
|
+
d.append(l, a);
|
|
1311
|
+
});
|
|
1312
|
+
const g = h.originFileObj;
|
|
1313
|
+
d.append("file", g);
|
|
1314
|
+
const m = await fetch("/api/gw-sftp", {
|
|
1315
|
+
method: "POST",
|
|
1316
|
+
body: d
|
|
1317
|
+
});
|
|
1318
|
+
return m.ok ? (console.log(e), e.map(
|
|
1319
|
+
(l) => l === h ? {
|
|
1320
|
+
...l,
|
|
1321
|
+
status: "success",
|
|
1322
|
+
percent: 100
|
|
1323
|
+
} : l
|
|
1324
|
+
)) : h.status = "done", { index: M, response: m, fileName: g.name };
|
|
1325
|
+
}), o = await Promise.all(r), n = o.filter((h) => h.response.ok).length, f = o.length - n;
|
|
1326
|
+
if (n === o.length)
|
|
1327
|
+
return alert(`${n}개 파일 업로드가 완료되었습니다.`), {
|
|
1328
|
+
result: "success",
|
|
1329
|
+
message: `${n}개 파일 업로드가 완료되었습니다.`,
|
|
1330
|
+
successCount: n,
|
|
1331
|
+
failCount: f
|
|
1332
|
+
};
|
|
1333
|
+
if (n > 0) {
|
|
1334
|
+
const h = `${n}개 성공, ${f}개 실패`;
|
|
1335
|
+
return alert(h), {
|
|
1336
|
+
result: "partial",
|
|
1337
|
+
message: h,
|
|
1338
|
+
successCount: n,
|
|
1339
|
+
failCount: f
|
|
1340
|
+
};
|
|
1341
|
+
}
|
|
1342
|
+
return alert("모든 파일 업로드에 실패했습니다."), {
|
|
1343
|
+
result: "error",
|
|
1344
|
+
message: "모든 파일 업로드에 실패했습니다.",
|
|
1345
|
+
successCount: n,
|
|
1346
|
+
failCount: f
|
|
1347
|
+
};
|
|
1348
|
+
} catch {
|
|
1349
|
+
return alert("파일 업로드 중 오류가 발생했습니다."), {
|
|
1350
|
+
result: "error",
|
|
1351
|
+
message: "파일 업로드 중 오류가 발생했습니다."
|
|
1352
|
+
};
|
|
1353
|
+
}
|
|
1354
|
+
}, qr = async (e, t, r) => {
|
|
1355
|
+
const {
|
|
1356
|
+
trxCd: o = "SCMINTF00102",
|
|
1357
|
+
connInfo: n = {},
|
|
1358
|
+
openDraft: f = !0,
|
|
1359
|
+
draftUrlBase: h = "https://dev.bwg.co.kr:5510",
|
|
1360
|
+
windowFeatures: M = "width=1000,height=600"
|
|
1361
|
+
} = r || {}, d = e ?? {}, g = Array.isArray(t) ? t : void 0;
|
|
1362
|
+
if (g && Array.isArray(g) && g.length > 0) {
|
|
1363
|
+
const a = await Rr(g);
|
|
1364
|
+
if (!a || a.result !== "success")
|
|
1365
|
+
throw new Error(a?.message || "파일 업로드 실패");
|
|
1366
|
+
}
|
|
1367
|
+
const m = {
|
|
1368
|
+
crprCd: ge(),
|
|
1369
|
+
aprvKey: d.aprvKey || re(),
|
|
1370
|
+
sysCd: __SYS_CD__,
|
|
1371
|
+
draftDt: xe("YYYYMMDD"),
|
|
1372
|
+
/**
|
|
1373
|
+
* 해당 그룹웨어 연계데이터는 추후 추가수정 필요
|
|
1374
|
+
* +) 기안연계가 DB로 넣는것 외에 soap를 통한 파라미터 전달 & SAP방식 등등 여러개로 나눠진다고함..
|
|
1375
|
+
* 해당 내용들은 공통화하기 힘들어 json & rest 방식으로 연계만 공통화 할듯함.
|
|
1376
|
+
*/
|
|
1377
|
+
fileInfoList: g,
|
|
1378
|
+
// 그룹웨어 파일연계
|
|
1379
|
+
connInfo: n,
|
|
1380
|
+
// 그룹웨어 기안연계
|
|
1381
|
+
...d
|
|
1382
|
+
}, l = await _(o, m);
|
|
1383
|
+
if (f && d?.aprvKey) {
|
|
1384
|
+
const a = `${h}?key=${d.aprvKey}&docTitle=${d.docTitle}`;
|
|
1385
|
+
window.open(a, "_blank", M);
|
|
1386
|
+
}
|
|
1387
|
+
return l;
|
|
1388
|
+
}, Kr = Ue, Gr = $e, Jr = Ye, Zr = Ee, Xr = Ae, Qr = Ie, eo = he, to = Me, ro = {
|
|
1261
1389
|
...Ue,
|
|
1390
|
+
...$e,
|
|
1391
|
+
...Ye,
|
|
1262
1392
|
...Ee,
|
|
1263
|
-
...
|
|
1264
|
-
...
|
|
1265
|
-
...
|
|
1266
|
-
|
|
1393
|
+
...Ae,
|
|
1394
|
+
...Ie,
|
|
1395
|
+
...he,
|
|
1396
|
+
...Me,
|
|
1397
|
+
realFormat: Hr
|
|
1267
1398
|
};
|
|
1268
1399
|
export {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1400
|
+
x as ApiError,
|
|
1401
|
+
I as COMMON_DATE_FORMAT,
|
|
1402
|
+
mt as THEME_COOKIE_NAME,
|
|
1403
|
+
lr as addDays,
|
|
1404
|
+
ur as addMonths,
|
|
1405
|
+
br as apiDelete,
|
|
1406
|
+
Cr as apiGet,
|
|
1407
|
+
Tr as apiPatch,
|
|
1408
|
+
xr as apiPost,
|
|
1409
|
+
$r as apiPut,
|
|
1410
|
+
Kr as apiUtils,
|
|
1411
|
+
Nt as arrAverage,
|
|
1412
|
+
Ut as arrCount,
|
|
1413
|
+
Yt as arrMax,
|
|
1414
|
+
It as arrMin,
|
|
1415
|
+
Et as arrReverse,
|
|
1416
|
+
_t as arrSum,
|
|
1417
|
+
Ot as arrUnique,
|
|
1418
|
+
ro as bwgUtils,
|
|
1419
|
+
_ as callService,
|
|
1420
|
+
vr as callService_SYSCD,
|
|
1421
|
+
Lt as clamp,
|
|
1422
|
+
Vt as clearSessionStorage,
|
|
1423
|
+
Ur as closeAllMessages,
|
|
1424
|
+
_r as closeMessage,
|
|
1425
|
+
wr as closeNotification,
|
|
1426
|
+
Gr as commonUtils,
|
|
1427
|
+
fr as configureEnvUtils,
|
|
1428
|
+
$t as copyToClipboard,
|
|
1429
|
+
ar as datetimeFormat,
|
|
1430
|
+
xt as debounce,
|
|
1431
|
+
ro as default,
|
|
1432
|
+
Wt as deleteCookie,
|
|
1433
|
+
yr as destroyNotifications,
|
|
1434
|
+
dr as diffDays,
|
|
1435
|
+
Or as downloadByFileKey,
|
|
1436
|
+
kr as downloadFile,
|
|
1437
|
+
Pt as duplicates,
|
|
1438
|
+
er as encryptSha256,
|
|
1439
|
+
Jr as envUtils,
|
|
1440
|
+
Zr as fileUtils,
|
|
1441
|
+
kt as generateRandomColor,
|
|
1442
|
+
Ce as generateRandomString,
|
|
1443
|
+
re as generateUID,
|
|
1444
|
+
mr as getAge,
|
|
1445
|
+
fe as getAllServiceCodes,
|
|
1446
|
+
Sr as getClientIp,
|
|
1447
|
+
Bt as getCookie,
|
|
1448
|
+
ge as getCrprCd,
|
|
1449
|
+
tr as getCurrentDate,
|
|
1450
|
+
xe as getCurrentDateString,
|
|
1451
|
+
Ke as getDepartmentInfo,
|
|
1452
|
+
G as getDeviceType,
|
|
1453
|
+
qe as getDisplayName,
|
|
1454
|
+
we as getDprtCd,
|
|
1455
|
+
Se as getDprtNm,
|
|
1456
|
+
Re as getEmplNo,
|
|
1457
|
+
hr as getEnvCode,
|
|
1458
|
+
F as getHrInfo,
|
|
1459
|
+
Ze as getJbdtCd,
|
|
1460
|
+
Je as getJbgdCd,
|
|
1461
|
+
Xe as getJbkdCd,
|
|
1462
|
+
Ge as getJbpsCd,
|
|
1463
|
+
ir as getLastDateByDiv,
|
|
1464
|
+
Dr as getPermissionService,
|
|
1465
|
+
K as getRoleList,
|
|
1466
|
+
me as getServiceCode,
|
|
1467
|
+
Rt as getSessionStorage,
|
|
1468
|
+
cr as getStartDateByDiv,
|
|
1469
|
+
He as getUserDvsn,
|
|
1470
|
+
pe as getUserId,
|
|
1471
|
+
L as getUserInfo,
|
|
1472
|
+
ye as getUserNm,
|
|
1473
|
+
Qe as getWkplCd,
|
|
1329
1474
|
ze as hasAllRoles,
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1475
|
+
Ve as hasAnyRole,
|
|
1476
|
+
je as hasRole,
|
|
1477
|
+
We as hasUserInfo,
|
|
1478
|
+
wt as isArray,
|
|
1479
|
+
gt as isBoolean,
|
|
1480
|
+
Dt as isDesktop,
|
|
1481
|
+
ke as isDev,
|
|
1482
|
+
ve as isEmpty,
|
|
1483
|
+
J as isEmptyArray,
|
|
1484
|
+
pt as isFunction,
|
|
1340
1485
|
R as isLocal,
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1486
|
+
Be as isLoggedIn,
|
|
1487
|
+
bt as isMobile,
|
|
1488
|
+
St as isNull,
|
|
1489
|
+
vt as isNullOrUndefined,
|
|
1490
|
+
ht as isNumber,
|
|
1491
|
+
yt as isObject,
|
|
1492
|
+
Oe as isProd,
|
|
1493
|
+
qt as isSafeEmpty,
|
|
1494
|
+
ft as isString,
|
|
1495
|
+
Tt as isTablet,
|
|
1496
|
+
Mt as isUndefined,
|
|
1497
|
+
rr as isValidDate,
|
|
1498
|
+
nr as isValidDateTime,
|
|
1499
|
+
Gt as isValidEmail,
|
|
1500
|
+
Jt as isValidUrl,
|
|
1501
|
+
or as isValidYear,
|
|
1502
|
+
sr as isValidYearMonth,
|
|
1503
|
+
Fe as logServiceCodeConfig,
|
|
1504
|
+
Xr as messageUtils,
|
|
1505
|
+
oe as notiBwgError,
|
|
1506
|
+
pr as notiError,
|
|
1507
|
+
se as notiInfo,
|
|
1508
|
+
gr as notiSuccess,
|
|
1509
|
+
ne as notiWarning,
|
|
1510
|
+
N as notificationService,
|
|
1511
|
+
Qr as notificationUtils,
|
|
1512
|
+
Zt as padLeft,
|
|
1513
|
+
Xt as padRight,
|
|
1514
|
+
At as random,
|
|
1515
|
+
Hr as realFormat,
|
|
1516
|
+
jt as removeSessionStorage,
|
|
1517
|
+
Ft as round,
|
|
1518
|
+
eo as serviceUtils,
|
|
1519
|
+
ae as setClientIp,
|
|
1520
|
+
zt as setCookie,
|
|
1521
|
+
Le as setServiceCodeOverrides,
|
|
1522
|
+
Ht as setSessionStorage,
|
|
1523
|
+
Er as showApiError,
|
|
1524
|
+
Lr as showDuplicateError,
|
|
1525
|
+
V as showError,
|
|
1526
|
+
Ir as showInfo,
|
|
1527
|
+
Nr as showLoading,
|
|
1528
|
+
Fr as showRequiredError,
|
|
1529
|
+
Ar as showSaveError,
|
|
1530
|
+
Pr as showSaveSuccess,
|
|
1531
|
+
Pe as showSuccess,
|
|
1532
|
+
Yr as showWarning,
|
|
1533
|
+
qr as submitGwApproval,
|
|
1534
|
+
Ct as throttle,
|
|
1535
|
+
Kt as toCamelCase,
|
|
1536
|
+
Rr as uploadFilesViaSftp,
|
|
1537
|
+
to as userUtils,
|
|
1538
|
+
Mr as verifyClientIp
|
|
1388
1539
|
};
|