@bwg-ui/core 1.2.35 → 1.3.1
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/{CMSearchIntfGwP01-Duabg_5A.js → CMSearchIntfGwP01-BWm9OqAH.js} +28 -28
- package/dist/chunks/{CMSearchIntfGwP01-CMSQULsU.cjs → CMSearchIntfGwP01-CihGc5Q1.cjs} +1 -1
- package/dist/chunks/MenuReport-khjaUz1Q.cjs +1 -0
- package/dist/chunks/{MenuReport-B4EU1A6l.js → MenuReport-yYhMOHyq.js} +10 -10
- package/dist/chunks/common-components-DletnDTf.cjs +1109 -0
- package/dist/chunks/{common-components-DIpOkbb5.js → common-components-coAoWxE9.js} +12963 -12155
- package/dist/chunks/{layout-components-D2Fla5uu.js → layout-components-C1DG2B74.js} +982 -705
- package/dist/chunks/layout-components-C6KeWPIu.cjs +35 -0
- package/dist/chunks/provider-DrboIg2C.cjs +1 -0
- package/dist/chunks/provider-VCa8UGvF.js +446 -0
- package/dist/components/common/BwgDetail.d.ts.map +1 -1
- package/dist/components/common/BwgGrid.d.ts +17 -16
- package/dist/components/common/BwgGrid.d.ts.map +1 -1
- package/dist/components/common/BwgPagination.d.ts.map +1 -1
- package/dist/components/common/BwgView.d.ts +3 -3
- package/dist/components/common/BwgView.d.ts.map +1 -1
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.d.ts +4 -3
- package/dist/components/common/index.d.ts.map +1 -1
- package/dist/components/common/index.js +5 -5
- package/dist/components/common/type.d.ts +7 -0
- package/dist/components/common/type.d.ts.map +1 -1
- package/dist/components/core/BwgMaskedDate.d.ts +13 -0
- package/dist/components/core/BwgMaskedDate.d.ts.map +1 -0
- package/dist/components/core/{BwgMaskedPicker.d.ts → BwgMaskedRange.d.ts} +6 -4
- package/dist/components/core/BwgMaskedRange.d.ts.map +1 -0
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.d.ts +4 -2
- package/dist/components/core/index.d.ts.map +1 -1
- package/dist/components/core/index.js +1219 -781
- package/dist/components/guide/index.cjs +1 -1
- package/dist/components/guide/index.js +2 -2
- package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
- package/dist/components/layout/custom/ConfigurableHeader.d.ts.map +1 -1
- package/dist/components/layout/custom/ConfigurableMenuTab.d.ts.map +1 -1
- package/dist/components/layout/extension/ContentWrapper.d.ts.map +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/pages/syst/CMHldyCfg.d.ts.map +1 -1
- package/dist/components/popup/MenuReport.d.ts.map +1 -1
- package/dist/components/popup/SearchAddressP01.d.ts +30 -0
- package/dist/components/popup/SearchAddressP01.d.ts.map +1 -0
- package/dist/components/popup/SearchHolidayP01.d.ts +2 -2
- package/dist/components/popup/SearchHolidayP01.d.ts.map +1 -1
- package/dist/components/popup/config/localPopupRegistry.d.ts.map +1 -1
- package/dist/components/popup/index.cjs +1 -1
- package/dist/components/popup/index.d.ts +2 -0
- package/dist/components/popup/index.d.ts.map +1 -1
- package/dist/components/popup/index.js +6 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +270 -259
- package/dist/provider/contexts/BwgViewContext.d.ts +19 -0
- package/dist/provider/contexts/BwgViewContext.d.ts.map +1 -0
- package/dist/provider/contexts/index.d.ts +1 -0
- package/dist/provider/contexts/index.d.ts.map +1 -1
- package/dist/provider/hooks/index.d.ts +1 -0
- package/dist/provider/hooks/index.d.ts.map +1 -1
- package/dist/provider/hooks/useSizeConfig.d.ts +19 -0
- package/dist/provider/hooks/useSizeConfig.d.ts.map +1 -0
- package/dist/provider/index.cjs +1 -1
- package/dist/provider/index.js +22 -381
- package/dist/stores/index.cjs +2 -2
- package/dist/stores/index.d.ts +6 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/stores/index.js +279 -192
- package/dist/stores/menuViewStore.d.ts +6 -0
- package/dist/stores/menuViewStore.d.ts.map +1 -1
- package/dist/stores/userStore.d.ts +23 -0
- package/dist/stores/userStore.d.ts.map +1 -1
- package/dist/styles/assets/images/contents/icon/ico-tab-hashtag-grey.svg +11 -0
- package/dist/styles/assets/images/contents/icon/ico-tab-hashtag.svg +11 -0
- package/dist/styles/components.css +161 -60
- package/dist/styles/layout.css +1289 -1234
- package/dist/utils/{FileUtils.d.ts → fileUtils.d.ts} +1 -1
- package/dist/utils/fileUtils.d.ts.map +1 -0
- package/dist/utils/gridUtils.d.ts +45 -0
- package/dist/utils/gridUtils.d.ts.map +1 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.ts +12 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +736 -664
- package/package.json +1 -1
- package/dist/chunks/MenuReport-5e2dMr_C.cjs +0 -1
- package/dist/chunks/common-components-D3-r7D-8.cjs +0 -1109
- package/dist/chunks/layout-components-pfHVy2at.cjs +0 -35
- package/dist/components/core/BwgMaskedPicker.d.ts.map +0 -1
- package/dist/utils/FileUtils.d.ts.map +0 -1
package/dist/utils/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { g as
|
|
3
|
-
import
|
|
1
|
+
import qe from "axios";
|
|
2
|
+
import { g as qt, c as He, a as oe } from "../chunks/common-components-coAoWxE9.js";
|
|
3
|
+
import O from "dayjs";
|
|
4
4
|
import { notification as ee, message as se } from "antd";
|
|
5
|
-
import { useUserStore as
|
|
6
|
-
|
|
5
|
+
import { useUserStore as T } from "../stores/index.js";
|
|
6
|
+
import Vt from "react-dom";
|
|
7
|
+
const Ve = {
|
|
7
8
|
// 권한 관련
|
|
8
9
|
AUTH_BTNS: "SCMSIGN00202",
|
|
9
10
|
// 버튼 권한 조회
|
|
@@ -21,55 +22,55 @@ const qe = {
|
|
|
21
22
|
SYST_CODE: "SCMSYST00101"
|
|
22
23
|
// 시스템 코드 조회
|
|
23
24
|
};
|
|
24
|
-
let
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
let fe = {};
|
|
26
|
+
function Wt(e) {
|
|
27
|
+
fe = e, console.log("🔧 Provider 서비스코드 오버라이드 설정:", e);
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
-
return
|
|
29
|
+
function ct(e) {
|
|
30
|
+
return fe[e] && fe[e].trim() !== "" ? fe[e] : Ve[e];
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
+
function ut() {
|
|
32
33
|
const e = {};
|
|
33
|
-
for (const t of Object.keys(
|
|
34
|
-
e[t] =
|
|
34
|
+
for (const t of Object.keys(Ve))
|
|
35
|
+
e[t] = ct(t);
|
|
35
36
|
return e;
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
+
function Gt() {
|
|
38
39
|
console.log("🔧 bwg-core 서비스코드 설정:"), console.log("📋 Provider 설정 > 기본값 순서로 확인");
|
|
39
|
-
const e =
|
|
40
|
+
const e = ut();
|
|
40
41
|
for (const [t, r] of Object.entries(e)) {
|
|
41
|
-
const n =
|
|
42
|
+
const n = fe[t] ? "Provider 설정" : "기본값";
|
|
42
43
|
console.log(` ${t}: ${r} (${n})`);
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
const
|
|
46
|
+
const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46
47
|
__proto__: null,
|
|
47
|
-
DEFAULT_SERVICE_CODES:
|
|
48
|
-
getAllServiceCodes:
|
|
49
|
-
getServiceCode:
|
|
50
|
-
logServiceCodeConfig:
|
|
51
|
-
setServiceCodeOverrides:
|
|
48
|
+
DEFAULT_SERVICE_CODES: Ve,
|
|
49
|
+
getAllServiceCodes: ut,
|
|
50
|
+
getServiceCode: ct,
|
|
51
|
+
logServiceCodeConfig: Gt,
|
|
52
|
+
setServiceCodeOverrides: Wt
|
|
52
53
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
53
|
-
var
|
|
54
|
-
function
|
|
54
|
+
var we = { exports: {} };
|
|
55
|
+
function Kt(e) {
|
|
55
56
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
56
57
|
}
|
|
57
|
-
var
|
|
58
|
-
const
|
|
58
|
+
var be = { exports: {} };
|
|
59
|
+
const Zt = {}, Jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
59
60
|
__proto__: null,
|
|
60
|
-
default:
|
|
61
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62
|
-
var
|
|
63
|
-
function
|
|
64
|
-
return
|
|
61
|
+
default: Zt
|
|
62
|
+
}, Symbol.toStringTag, { value: "Module" })), Xt = /* @__PURE__ */ qt(Jt);
|
|
63
|
+
var Qt = be.exports, Xe;
|
|
64
|
+
function ft() {
|
|
65
|
+
return Xe || (Xe = 1, (function(e, t) {
|
|
65
66
|
(function(r, n) {
|
|
66
67
|
e.exports = n();
|
|
67
|
-
})(
|
|
68
|
+
})(Qt, function() {
|
|
68
69
|
var r = r || (function(n, u) {
|
|
69
70
|
var l;
|
|
70
|
-
if (typeof window < "u" && window.crypto && (l = window.crypto), typeof self < "u" && self.crypto && (l = self.crypto), typeof globalThis < "u" && globalThis.crypto && (l = globalThis.crypto), !l && typeof window < "u" && window.msCrypto && (l = window.msCrypto), !l && typeof
|
|
71
|
+
if (typeof window < "u" && window.crypto && (l = window.crypto), typeof self < "u" && self.crypto && (l = self.crypto), typeof globalThis < "u" && globalThis.crypto && (l = globalThis.crypto), !l && typeof window < "u" && window.msCrypto && (l = window.msCrypto), !l && typeof He < "u" && He.crypto && (l = He.crypto), !l && typeof Kt == "function")
|
|
71
72
|
try {
|
|
72
|
-
l =
|
|
73
|
+
l = Xt;
|
|
73
74
|
} catch {
|
|
74
75
|
}
|
|
75
76
|
var c = function() {
|
|
@@ -225,12 +226,12 @@ function ut() {
|
|
|
225
226
|
var i = this.words, p = o.words, g = this.sigBytes, C = o.sigBytes;
|
|
226
227
|
if (this.clamp(), g % 4)
|
|
227
228
|
for (var S = 0; S < C; S++) {
|
|
228
|
-
var
|
|
229
|
-
i[g + S >>> 2] |=
|
|
229
|
+
var _ = p[S >>> 2] >>> 24 - S % 4 * 8 & 255;
|
|
230
|
+
i[g + S >>> 2] |= _ << 24 - (g + S) % 4 * 8;
|
|
230
231
|
}
|
|
231
232
|
else
|
|
232
|
-
for (var
|
|
233
|
-
i[g +
|
|
233
|
+
for (var $ = 0; $ < C; $ += 4)
|
|
234
|
+
i[g + $ >>> 2] = p[$ >>> 2];
|
|
234
235
|
return this.sigBytes += C, this;
|
|
235
236
|
},
|
|
236
237
|
/**
|
|
@@ -429,13 +430,13 @@ function ut() {
|
|
|
429
430
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
430
431
|
*/
|
|
431
432
|
_process: function(o) {
|
|
432
|
-
var i, p = this._data, g = p.words, C = p.sigBytes, S = this.blockSize,
|
|
433
|
-
o ?
|
|
434
|
-
var
|
|
435
|
-
if (
|
|
436
|
-
for (var
|
|
437
|
-
this._doProcessBlock(g,
|
|
438
|
-
i = g.splice(0,
|
|
433
|
+
var i, p = this._data, g = p.words, C = p.sigBytes, S = this.blockSize, _ = S * 4, $ = C / _;
|
|
434
|
+
o ? $ = n.ceil($) : $ = n.max(($ | 0) - this._minBufferSize, 0);
|
|
435
|
+
var M = $ * S, k = n.min(M * 4, C);
|
|
436
|
+
if (M) {
|
|
437
|
+
for (var D = 0; D < M; D += S)
|
|
438
|
+
this._doProcessBlock(g, D);
|
|
439
|
+
i = g.splice(0, M), p.sigBytes -= k;
|
|
439
440
|
}
|
|
440
441
|
return new b.init(i, k);
|
|
441
442
|
},
|
|
@@ -558,14 +559,14 @@ function ut() {
|
|
|
558
559
|
})(Math);
|
|
559
560
|
return r;
|
|
560
561
|
});
|
|
561
|
-
})(
|
|
562
|
+
})(be)), be.exports;
|
|
562
563
|
}
|
|
563
|
-
var
|
|
564
|
-
function
|
|
565
|
-
return
|
|
564
|
+
var er = we.exports, Qe;
|
|
565
|
+
function tr() {
|
|
566
|
+
return Qe || (Qe = 1, (function(e, t) {
|
|
566
567
|
(function(r, n) {
|
|
567
|
-
e.exports = n(/* @__PURE__ */
|
|
568
|
-
})(
|
|
568
|
+
e.exports = n(/* @__PURE__ */ ft());
|
|
569
|
+
})(er, function(r) {
|
|
569
570
|
return (function(n) {
|
|
570
571
|
var u = r, l = u.lib, c = l.WordArray, x = l.Hasher, h = u.algo, v = [], f = [];
|
|
571
572
|
(function() {
|
|
@@ -586,14 +587,14 @@ function Jt() {
|
|
|
586
587
|
this._hash = new c.init(v.slice(0));
|
|
587
588
|
},
|
|
588
589
|
_doProcessBlock: function(y, w) {
|
|
589
|
-
for (var a = this._hash.words, s = a[0], d = a[1], o = a[2], i = a[3], p = a[4], g = a[5], C = a[6], S = a[7],
|
|
590
|
-
if (
|
|
591
|
-
b[
|
|
590
|
+
for (var a = this._hash.words, s = a[0], d = a[1], o = a[2], i = a[3], p = a[4], g = a[5], C = a[6], S = a[7], _ = 0; _ < 64; _++) {
|
|
591
|
+
if (_ < 16)
|
|
592
|
+
b[_] = y[w + _] | 0;
|
|
592
593
|
else {
|
|
593
|
-
var
|
|
594
|
-
b[
|
|
594
|
+
var $ = b[_ - 15], M = ($ << 25 | $ >>> 7) ^ ($ << 14 | $ >>> 18) ^ $ >>> 3, k = b[_ - 2], D = (k << 15 | k >>> 17) ^ (k << 13 | k >>> 19) ^ k >>> 10;
|
|
595
|
+
b[_] = M + b[_ - 7] + D + b[_ - 16];
|
|
595
596
|
}
|
|
596
|
-
var
|
|
597
|
+
var I = p & g ^ ~p & C, q = s & d ^ s & o ^ d & o, V = (s << 30 | s >>> 2) ^ (s << 19 | s >>> 13) ^ (s << 10 | s >>> 22), K = (p << 26 | p >>> 6) ^ (p << 21 | p >>> 11) ^ (p << 7 | p >>> 25), X = S + K + I + f[_] + b[_], Z = V + q;
|
|
597
598
|
S = C, C = g, g = p, p = i + X | 0, i = o, o = d, d = s, s = X + Z | 0;
|
|
598
599
|
}
|
|
599
600
|
a[0] = a[0] + s | 0, a[1] = a[1] + d | 0, a[2] = a[2] + o | 0, a[3] = a[3] + i | 0, a[4] = a[4] + p | 0, a[5] = a[5] + g | 0, a[6] = a[6] + C | 0, a[7] = a[7] + S | 0;
|
|
@@ -610,16 +611,16 @@ function Jt() {
|
|
|
610
611
|
u.SHA256 = x._createHelper(m), u.HmacSHA256 = x._createHmacHelper(m);
|
|
611
612
|
})(Math), r.SHA256;
|
|
612
613
|
});
|
|
613
|
-
})(
|
|
614
|
+
})(we)), we.exports;
|
|
614
615
|
}
|
|
615
|
-
var
|
|
616
|
-
const
|
|
617
|
-
var
|
|
618
|
-
function
|
|
619
|
-
return
|
|
616
|
+
var rr = /* @__PURE__ */ tr();
|
|
617
|
+
const nr = /* @__PURE__ */ oe(rr);
|
|
618
|
+
var xe = { exports: {} }, or = xe.exports, et;
|
|
619
|
+
function sr() {
|
|
620
|
+
return et || (et = 1, (function(e, t) {
|
|
620
621
|
(function(r, n) {
|
|
621
|
-
e.exports = n(/* @__PURE__ */
|
|
622
|
-
})(
|
|
622
|
+
e.exports = n(/* @__PURE__ */ ft());
|
|
623
|
+
})(or, function(r) {
|
|
623
624
|
return (function() {
|
|
624
625
|
var n = r, u = n.lib, l = u.WordArray, c = n.enc;
|
|
625
626
|
c.Base64 = {
|
|
@@ -687,16 +688,16 @@ function tr() {
|
|
|
687
688
|
}
|
|
688
689
|
})(), r.enc.Base64;
|
|
689
690
|
});
|
|
690
|
-
})(
|
|
691
|
+
})(xe)), xe.exports;
|
|
691
692
|
}
|
|
692
|
-
var
|
|
693
|
-
const
|
|
694
|
-
var
|
|
695
|
-
function
|
|
696
|
-
return
|
|
693
|
+
var ar = /* @__PURE__ */ sr();
|
|
694
|
+
const ir = /* @__PURE__ */ oe(ar);
|
|
695
|
+
var Ce = { exports: {} }, cr = Ce.exports, tt;
|
|
696
|
+
function ur() {
|
|
697
|
+
return tt || (tt = 1, (function(e, t) {
|
|
697
698
|
(function(r, n) {
|
|
698
699
|
e.exports = n();
|
|
699
|
-
})(
|
|
700
|
+
})(cr, (function() {
|
|
700
701
|
return function(r, n, u) {
|
|
701
702
|
r = r || {};
|
|
702
703
|
var l = n.prototype, c = { 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" };
|
|
@@ -716,8 +717,8 @@ function sr() {
|
|
|
716
717
|
}
|
|
717
718
|
}
|
|
718
719
|
if (f) return a;
|
|
719
|
-
var
|
|
720
|
-
return typeof
|
|
720
|
+
var _ = s ? d.future : d.past;
|
|
721
|
+
return typeof _ == "function" ? _(a) : _.replace("%s", a);
|
|
721
722
|
}, l.to = function(v, f) {
|
|
722
723
|
return x(v, f, this, !0);
|
|
723
724
|
}, l.from = function(v, f) {
|
|
@@ -733,16 +734,16 @@ function sr() {
|
|
|
733
734
|
};
|
|
734
735
|
};
|
|
735
736
|
}));
|
|
736
|
-
})(
|
|
737
|
+
})(Ce)), Ce.exports;
|
|
737
738
|
}
|
|
738
|
-
var
|
|
739
|
-
const
|
|
740
|
-
var
|
|
741
|
-
function
|
|
742
|
-
return
|
|
739
|
+
var lr = /* @__PURE__ */ ur();
|
|
740
|
+
const fr = /* @__PURE__ */ oe(lr);
|
|
741
|
+
var Se = { exports: {} }, dr = Se.exports, rt;
|
|
742
|
+
function pr() {
|
|
743
|
+
return rt || (rt = 1, (function(e, t) {
|
|
743
744
|
(function(r, n) {
|
|
744
745
|
e.exports = n();
|
|
745
|
-
})(
|
|
746
|
+
})(dr, (function() {
|
|
746
747
|
var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, n = {};
|
|
747
748
|
return function(u, l, c) {
|
|
748
749
|
var x, h = function(m, y, w) {
|
|
@@ -758,8 +759,8 @@ function ur() {
|
|
|
758
759
|
var d = w[s], o = d.type, i = d.value, p = r[o];
|
|
759
760
|
p >= 0 && (a[p] = parseInt(i, 10));
|
|
760
761
|
}
|
|
761
|
-
var g = a[3], C = g === 24 ? 0 : g, S = a[0] + "-" + a[1] + "-" + a[2] + " " + C + ":" + a[4] + ":" + a[5] + ":000",
|
|
762
|
-
return (c.utc(S).valueOf() - (
|
|
762
|
+
var g = a[3], C = g === 24 ? 0 : g, S = a[0] + "-" + a[1] + "-" + a[2] + " " + C + ":" + a[4] + ":" + a[5] + ":000", _ = +m;
|
|
763
|
+
return (c.utc(S).valueOf() - (_ -= _ % 1e3)) / 6e4;
|
|
763
764
|
}, f = l.prototype;
|
|
764
765
|
f.tz = function(m, y) {
|
|
765
766
|
m === void 0 && (m = x);
|
|
@@ -784,11 +785,11 @@ function ur() {
|
|
|
784
785
|
}, c.tz = function(m, y, w) {
|
|
785
786
|
var a = w && y, s = w || y || x, d = v(+c(), s);
|
|
786
787
|
if (typeof m != "string") return c(m).tz(s);
|
|
787
|
-
var o = (function(C, S,
|
|
788
|
-
var
|
|
789
|
-
if (S ===
|
|
790
|
-
var k = v(
|
|
791
|
-
return
|
|
788
|
+
var o = (function(C, S, _) {
|
|
789
|
+
var $ = C - 60 * S * 1e3, M = v($, _);
|
|
790
|
+
if (S === M) return [$, S];
|
|
791
|
+
var k = v($ -= 60 * (M - S) * 1e3, _);
|
|
792
|
+
return M === k ? [$, M] : [C - 60 * Math.min(M, k) * 1e3, Math.max(M, k)];
|
|
792
793
|
})(c.utc(m, a).valueOf(), d, s), i = o[0], p = o[1], g = c(i).utcOffset(p);
|
|
793
794
|
return g.$x.$timezone = s, g;
|
|
794
795
|
}, c.tz.guess = function() {
|
|
@@ -798,16 +799,16 @@ function ur() {
|
|
|
798
799
|
};
|
|
799
800
|
};
|
|
800
801
|
}));
|
|
801
|
-
})(
|
|
802
|
+
})(Se)), Se.exports;
|
|
802
803
|
}
|
|
803
|
-
var
|
|
804
|
-
const
|
|
805
|
-
var
|
|
806
|
-
function
|
|
807
|
-
return
|
|
804
|
+
var hr = /* @__PURE__ */ pr();
|
|
805
|
+
const mr = /* @__PURE__ */ oe(hr);
|
|
806
|
+
var _e = { exports: {} }, gr = _e.exports, nt;
|
|
807
|
+
function yr() {
|
|
808
|
+
return nt || (nt = 1, (function(e, t) {
|
|
808
809
|
(function(r, n) {
|
|
809
810
|
e.exports = n();
|
|
810
|
-
})(
|
|
811
|
+
})(gr, (function() {
|
|
811
812
|
var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, u = /([+-]|\d\d)/g;
|
|
812
813
|
return function(l, c, x) {
|
|
813
814
|
var h = c.prototype;
|
|
@@ -839,8 +840,8 @@ function pr() {
|
|
|
839
840
|
g === void 0 && (g = "");
|
|
840
841
|
var C = g.match(n);
|
|
841
842
|
if (!C) return null;
|
|
842
|
-
var S = ("" + C[0]).match(u) || ["-", 0, 0],
|
|
843
|
-
return
|
|
843
|
+
var S = ("" + C[0]).match(u) || ["-", 0, 0], _ = S[0], $ = 60 * +S[1] + +S[2];
|
|
844
|
+
return $ === 0 ? 0 : _ === "+" ? $ : -$;
|
|
844
845
|
})(a), a === null)) return this;
|
|
845
846
|
var o = Math.abs(a) <= 16 ? 60 * a : a;
|
|
846
847
|
if (o === 0) return this.utc(s);
|
|
@@ -875,16 +876,16 @@ function pr() {
|
|
|
875
876
|
};
|
|
876
877
|
};
|
|
877
878
|
}));
|
|
878
|
-
})(
|
|
879
|
+
})(_e)), _e.exports;
|
|
879
880
|
}
|
|
880
|
-
var
|
|
881
|
-
const
|
|
882
|
-
var $e = { exports: {} },
|
|
883
|
-
function
|
|
884
|
-
return
|
|
881
|
+
var vr = /* @__PURE__ */ yr();
|
|
882
|
+
const wr = /* @__PURE__ */ oe(vr);
|
|
883
|
+
var $e = { exports: {} }, br = $e.exports, ot;
|
|
884
|
+
function xr() {
|
|
885
|
+
return ot || (ot = 1, (function(e, t) {
|
|
885
886
|
(function(r, n) {
|
|
886
887
|
e.exports = n();
|
|
887
|
-
})(
|
|
888
|
+
})(br, (function() {
|
|
888
889
|
var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, n = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, u = /\d/, l = /\d\d/, c = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, h = {}, v = function(s) {
|
|
889
890
|
return (s = +s) + (s > 68 ? 1900 : 2e3);
|
|
890
891
|
}, f = function(s) {
|
|
@@ -940,29 +941,29 @@ function yr() {
|
|
|
940
941
|
function a(s) {
|
|
941
942
|
var d, o;
|
|
942
943
|
d = s, o = h && h.formats;
|
|
943
|
-
for (var i = (s = d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(
|
|
944
|
-
var
|
|
945
|
-
return k || o[
|
|
946
|
-
return V ||
|
|
944
|
+
for (var i = (s = d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(M, k, D) {
|
|
945
|
+
var I = D && D.toUpperCase();
|
|
946
|
+
return k || o[D] || r[D] || o[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(q, V, K) {
|
|
947
|
+
return V || K.slice(1);
|
|
947
948
|
}));
|
|
948
949
|
}))).match(n), p = i.length, g = 0; g < p; g += 1) {
|
|
949
|
-
var C = i[g], S = w[C],
|
|
950
|
-
i[g] =
|
|
950
|
+
var C = i[g], S = w[C], _ = S && S[0], $ = S && S[1];
|
|
951
|
+
i[g] = $ ? { regex: _, parser: $ } : C.replace(/^\[|\]$/g, "");
|
|
951
952
|
}
|
|
952
|
-
return function(
|
|
953
|
-
for (var k = {},
|
|
954
|
-
var q = i[
|
|
955
|
-
if (typeof q == "string")
|
|
953
|
+
return function(M) {
|
|
954
|
+
for (var k = {}, D = 0, I = 0; D < p; D += 1) {
|
|
955
|
+
var q = i[D];
|
|
956
|
+
if (typeof q == "string") I += q.length;
|
|
956
957
|
else {
|
|
957
|
-
var V = q.regex,
|
|
958
|
-
|
|
958
|
+
var V = q.regex, K = q.parser, X = M.slice(I), Z = V.exec(X)[0];
|
|
959
|
+
K.call(k, Z), M = M.replace(Z, "");
|
|
959
960
|
}
|
|
960
961
|
}
|
|
961
962
|
return (function(Q) {
|
|
962
|
-
var
|
|
963
|
-
if (
|
|
963
|
+
var me = Q.afternoon;
|
|
964
|
+
if (me !== void 0) {
|
|
964
965
|
var A = Q.hours;
|
|
965
|
-
|
|
966
|
+
me ? A < 12 && (Q.hours += 12) : A === 12 && (Q.hours = 0), delete Q.afternoon;
|
|
966
967
|
}
|
|
967
968
|
})(k), k;
|
|
968
969
|
};
|
|
@@ -971,27 +972,27 @@ function yr() {
|
|
|
971
972
|
o.p.customParseFormat = !0, s && s.parseTwoDigitYear && (v = s.parseTwoDigitYear);
|
|
972
973
|
var i = d.prototype, p = i.parse;
|
|
973
974
|
i.parse = function(g) {
|
|
974
|
-
var C = g.date, S = g.utc,
|
|
975
|
+
var C = g.date, S = g.utc, _ = g.args;
|
|
975
976
|
this.$u = S;
|
|
976
|
-
var
|
|
977
|
-
if (typeof
|
|
978
|
-
var
|
|
979
|
-
k && (
|
|
977
|
+
var $ = _[1];
|
|
978
|
+
if (typeof $ == "string") {
|
|
979
|
+
var M = _[2] === !0, k = _[3] === !0, D = M || k, I = _[2];
|
|
980
|
+
k && (I = _[2]), h = this.$locale(), !M && I && (h = o.Ls[I]), this.$d = (function(X, Z, Q, me) {
|
|
980
981
|
try {
|
|
981
982
|
if (["x", "X"].indexOf(Z) > -1) return new Date((Z === "X" ? 1e3 : 1) * X);
|
|
982
|
-
var A = a(Z)(X),
|
|
983
|
-
|
|
984
|
-
var
|
|
985
|
-
return
|
|
983
|
+
var A = a(Z)(X), Ue = A.year, ge = A.month, Bt = A.day, Ft = A.hours, Ht = A.minutes, zt = A.seconds, jt = A.milliseconds, Ze = A.zone, Je = A.week, Ye = /* @__PURE__ */ new Date(), Ae = Bt || (Ue || ge ? 1 : Ye.getDate()), Pe = Ue || Ye.getFullYear(), ye = 0;
|
|
984
|
+
Ue && !ge || (ye = ge > 0 ? ge - 1 : Ye.getMonth());
|
|
985
|
+
var ve, Re = Ft || 0, Le = Ht || 0, Be = zt || 0, Fe = jt || 0;
|
|
986
|
+
return Ze ? new Date(Date.UTC(Pe, ye, Ae, Re, Le, Be, Fe + 60 * Ze.offset * 1e3)) : Q ? new Date(Date.UTC(Pe, ye, Ae, Re, Le, Be, Fe)) : (ve = new Date(Pe, ye, Ae, Re, Le, Be, Fe), Je && (ve = me(ve).week(Je).toDate()), ve);
|
|
986
987
|
} catch {
|
|
987
988
|
return /* @__PURE__ */ new Date("");
|
|
988
989
|
}
|
|
989
|
-
})(C,
|
|
990
|
-
} else if (
|
|
991
|
-
|
|
992
|
-
var
|
|
993
|
-
if (
|
|
994
|
-
this.$d =
|
|
990
|
+
})(C, $, S, o), this.init(), I && I !== !0 && (this.$L = this.locale(I).$L), D && C != this.format($) && (this.$d = /* @__PURE__ */ new Date("")), h = {};
|
|
991
|
+
} else if ($ instanceof Array) for (var q = $.length, V = 1; V <= q; V += 1) {
|
|
992
|
+
_[1] = $[V - 1];
|
|
993
|
+
var K = o.apply(this, _);
|
|
994
|
+
if (K.isValid()) {
|
|
995
|
+
this.$d = K.$d, this.$L = K.$L, this.init();
|
|
995
996
|
break;
|
|
996
997
|
}
|
|
997
998
|
V === q && (this.$d = /* @__PURE__ */ new Date(""));
|
|
@@ -1002,14 +1003,14 @@ function yr() {
|
|
|
1002
1003
|
}));
|
|
1003
1004
|
})($e)), $e.exports;
|
|
1004
1005
|
}
|
|
1005
|
-
var
|
|
1006
|
-
const
|
|
1007
|
-
var Me = { exports: {} },
|
|
1008
|
-
function
|
|
1009
|
-
return
|
|
1006
|
+
var Cr = /* @__PURE__ */ xr();
|
|
1007
|
+
const Sr = /* @__PURE__ */ oe(Cr);
|
|
1008
|
+
var Me = { exports: {} }, _r = Me.exports, st;
|
|
1009
|
+
function $r() {
|
|
1010
|
+
return st || (st = 1, (function(e, t) {
|
|
1010
1011
|
(function(r, n) {
|
|
1011
1012
|
e.exports = n();
|
|
1012
|
-
})(
|
|
1013
|
+
})(_r, (function() {
|
|
1013
1014
|
var r = "month", n = "quarter";
|
|
1014
1015
|
return function(u, l) {
|
|
1015
1016
|
var c = l.prototype;
|
|
@@ -1033,70 +1034,70 @@ function xr() {
|
|
|
1033
1034
|
}));
|
|
1034
1035
|
})(Me)), Me.exports;
|
|
1035
1036
|
}
|
|
1036
|
-
var
|
|
1037
|
-
const
|
|
1037
|
+
var Mr = /* @__PURE__ */ $r();
|
|
1038
|
+
const kr = /* @__PURE__ */ oe(Mr), Tr = "ui_theme", Dr = (e) => typeof e == "string", Or = (e) => typeof e == "number" && !isNaN(e), Ir = (e) => typeof e == "boolean", Er = (e) => typeof e == "function", Nr = (e) => e !== null && typeof e == "object", Ur = (e) => Array.isArray(e), Yr = (e) => e === null, Ar = (e) => e === void 0, Pr = (e) => e == null, Rr = (e, t) => {
|
|
1038
1039
|
let r = 0;
|
|
1039
1040
|
return (...n) => {
|
|
1040
1041
|
const u = Date.now();
|
|
1041
1042
|
u - r >= t && (r = u, e(...n));
|
|
1042
1043
|
};
|
|
1043
|
-
},
|
|
1044
|
+
}, Lr = (e, t) => {
|
|
1044
1045
|
let r;
|
|
1045
1046
|
return (...n) => {
|
|
1046
1047
|
clearTimeout(r), r = setTimeout(() => e(...n), t);
|
|
1047
1048
|
};
|
|
1048
|
-
},
|
|
1049
|
+
}, Br = async (e) => {
|
|
1049
1050
|
try {
|
|
1050
1051
|
return await navigator.clipboard.writeText(e), !0;
|
|
1051
1052
|
} catch (t) {
|
|
1052
1053
|
return console.error("Error copying to clipboard:", t), !1;
|
|
1053
1054
|
}
|
|
1054
|
-
},
|
|
1055
|
+
}, Oe = () => {
|
|
1055
1056
|
const e = window.innerWidth;
|
|
1056
1057
|
return e < 768 ? "mobile" : e < 1024 ? "tablet" : "desktop";
|
|
1057
|
-
},
|
|
1058
|
+
}, Fr = () => Oe() === "mobile", Hr = () => Oe() === "tablet", zr = () => Oe() === "desktop", jr = () => "#" + Math.floor(Math.random() * 16777215).toString(16), Ie = (e) => !e || e.length === 0, qr = (e) => [...new Set(e)], Vr = (e) => {
|
|
1058
1059
|
if (!Ie(e))
|
|
1059
1060
|
return Math.max(...e);
|
|
1060
|
-
},
|
|
1061
|
+
}, Wr = (e) => {
|
|
1061
1062
|
if (!Ie(e))
|
|
1062
1063
|
return Math.min(...e);
|
|
1063
|
-
},
|
|
1064
|
+
}, Gr = (e) => {
|
|
1064
1065
|
if (!Ie(e))
|
|
1065
1066
|
return e.reduce((t, r) => t + r, 0) / e.length;
|
|
1066
|
-
},
|
|
1067
|
+
}, Kr = (e) => e.reduce((t, r) => t + r, 0), Zr = (e, t) => e.filter(t).length, Jr = (e) => [...e].reverse(), Xr = (e) => {
|
|
1067
1068
|
const t = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
|
|
1068
1069
|
return e.forEach((n) => {
|
|
1069
1070
|
t.has(n) ? r.add(n) : t.add(n);
|
|
1070
1071
|
}), Array.from(r);
|
|
1071
|
-
},
|
|
1072
|
+
}, Qr = (e, t) => Math.random() * (t - e) + e, en = (e, t, r) => Math.min(Math.max(e, t), r), tn = (e, t = 0) => Math.round(e * Math.pow(10, t)) / Math.pow(10, t), rn = (e, t) => {
|
|
1072
1073
|
try {
|
|
1073
1074
|
sessionStorage.setItem(e, JSON.stringify(t));
|
|
1074
1075
|
} catch (r) {
|
|
1075
1076
|
console.error("Error saving to sessionStorage:", r);
|
|
1076
1077
|
}
|
|
1077
|
-
},
|
|
1078
|
+
}, nn = (e, t) => {
|
|
1078
1079
|
try {
|
|
1079
1080
|
const r = sessionStorage.getItem(e);
|
|
1080
1081
|
return r ? JSON.parse(r) : t || null;
|
|
1081
1082
|
} catch (r) {
|
|
1082
1083
|
return console.error("Error reading from sessionStorage:", r), t || null;
|
|
1083
1084
|
}
|
|
1084
|
-
},
|
|
1085
|
+
}, on = (e) => {
|
|
1085
1086
|
try {
|
|
1086
1087
|
sessionStorage.removeItem(e);
|
|
1087
1088
|
} catch (t) {
|
|
1088
1089
|
console.error("Error removing from sessionStorage:", t);
|
|
1089
1090
|
}
|
|
1090
|
-
},
|
|
1091
|
+
}, sn = () => {
|
|
1091
1092
|
try {
|
|
1092
1093
|
sessionStorage.clear();
|
|
1093
1094
|
} catch (e) {
|
|
1094
1095
|
console.error("Error clearing sessionStorage:", e);
|
|
1095
1096
|
}
|
|
1096
|
-
},
|
|
1097
|
+
}, an = (e, t, r = 30) => {
|
|
1097
1098
|
const n = /* @__PURE__ */ new Date();
|
|
1098
1099
|
n.setTime(n.getTime() + r * 24 * 60 * 60 * 1e3), document.cookie = `${e}=${t};expires=${n.toUTCString()};path=/`;
|
|
1099
|
-
},
|
|
1100
|
+
}, cn = (e) => {
|
|
1100
1101
|
const t = e + "=", r = document.cookie.split(";");
|
|
1101
1102
|
for (let n = 0; n < r.length; n++) {
|
|
1102
1103
|
let u = r[n];
|
|
@@ -1104,103 +1105,103 @@ const Sr = /* @__PURE__ */ oe(Cr), $r = "ui_theme", Mr = (e) => typeof e == "str
|
|
|
1104
1105
|
if (u.indexOf(t) === 0) return u.substring(t.length, u.length);
|
|
1105
1106
|
}
|
|
1106
1107
|
return null;
|
|
1107
|
-
},
|
|
1108
|
+
}, un = (e) => {
|
|
1108
1109
|
document.cookie = `${e}=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/`;
|
|
1109
|
-
},
|
|
1110
|
+
}, dt = (e) => typeof e != "string" ? !e : e.trim().length === 0, ln = (e, t) => dt(e) ? t : e || "", fn = (e) => e.replace(/-([a-z])/g, (t) => t[1].toUpperCase()), dn = (e) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e), pn = (e) => {
|
|
1110
1111
|
try {
|
|
1111
1112
|
return new URL(e), !0;
|
|
1112
1113
|
} catch {
|
|
1113
1114
|
return !1;
|
|
1114
1115
|
}
|
|
1115
|
-
},
|
|
1116
|
+
}, hn = (e, t, r = " ") => e.padStart(t, r), mn = (e, t, r = " ") => e.padEnd(t, r), pt = (e, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") => {
|
|
1116
1117
|
let r = "";
|
|
1117
1118
|
for (let n = 0; n < e; n++)
|
|
1118
1119
|
r += t.charAt(Math.floor(Math.random() * t.length));
|
|
1119
1120
|
return r;
|
|
1120
|
-
},
|
|
1121
|
+
}, gn = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
1121
1122
|
const t = Math.random() * 16 | 0;
|
|
1122
1123
|
return (e === "x" ? t : t & 3 | 8).toString(16);
|
|
1123
|
-
}),
|
|
1124
|
-
const r =
|
|
1125
|
-
return e >= 32 ? r +
|
|
1124
|
+
}), We = (e = 32) => {
|
|
1125
|
+
const r = gn().replace(/-/g, "");
|
|
1126
|
+
return e >= 32 ? r + pt(e - 32, "0123456789abcdef") : r.substring(0, e);
|
|
1126
1127
|
};
|
|
1127
|
-
async function
|
|
1128
|
-
return
|
|
1128
|
+
async function yn(e) {
|
|
1129
|
+
return nr(e).toString(ir);
|
|
1129
1130
|
}
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
const ae = "YYYYMMDD",
|
|
1137
|
-
let
|
|
1138
|
-
const
|
|
1139
|
-
|
|
1140
|
-
}, re = () =>
|
|
1131
|
+
O.extend(fr);
|
|
1132
|
+
O.extend(wr);
|
|
1133
|
+
O.extend(mr);
|
|
1134
|
+
O.locale("ko");
|
|
1135
|
+
O.extend(Sr);
|
|
1136
|
+
O.extend(kr);
|
|
1137
|
+
const ae = "YYYYMMDD", ht = () => O(), mt = (e = ae) => gt(ht(), e), gt = (e, t = ae) => O(e).format(t), Ee = (e, t = ae) => O(e, t, !0).isValid(), vn = (e) => Ee(e, "YYYYMMDD"), wn = (e) => Ee(e, "YYYY"), bn = (e) => Ee(e, "YYYYMM"), xn = (e, t = "month", r = ae) => O(e).startOf(t).format(r), Cn = (e, t = "month", r = ae) => O(e).endOf(t).format(r), Sn = (e, t, r = "day", n = ae) => O(e).add(t, r).format(n), _n = (e, t, r = "day") => O(e).diff(O(t), r);
|
|
1138
|
+
let yt = {};
|
|
1139
|
+
const $n = (e) => {
|
|
1140
|
+
yt = e;
|
|
1141
|
+
}, re = () => yt, vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1141
1142
|
__proto__: null,
|
|
1142
1143
|
DEFAULT_FMT: ae,
|
|
1143
|
-
THEME_COOKIE_NAME:
|
|
1144
|
-
add:
|
|
1145
|
-
arrAverage:
|
|
1146
|
-
arrCount:
|
|
1147
|
-
arrMax:
|
|
1148
|
-
arrMin:
|
|
1149
|
-
arrReverse:
|
|
1150
|
-
arrSum:
|
|
1151
|
-
arrUnique:
|
|
1152
|
-
clamp:
|
|
1153
|
-
clearSessionStorage:
|
|
1154
|
-
copyToClipboard:
|
|
1155
|
-
debounce:
|
|
1156
|
-
deleteCookie:
|
|
1157
|
-
diff:
|
|
1158
|
-
duplicates:
|
|
1159
|
-
encryptSha256:
|
|
1160
|
-
endOf:
|
|
1161
|
-
format:
|
|
1162
|
-
generateRandomColor:
|
|
1163
|
-
generateRandomString:
|
|
1164
|
-
generateUID:
|
|
1144
|
+
THEME_COOKIE_NAME: Tr,
|
|
1145
|
+
add: Sn,
|
|
1146
|
+
arrAverage: Gr,
|
|
1147
|
+
arrCount: Zr,
|
|
1148
|
+
arrMax: Vr,
|
|
1149
|
+
arrMin: Wr,
|
|
1150
|
+
arrReverse: Jr,
|
|
1151
|
+
arrSum: Kr,
|
|
1152
|
+
arrUnique: qr,
|
|
1153
|
+
clamp: en,
|
|
1154
|
+
clearSessionStorage: sn,
|
|
1155
|
+
copyToClipboard: Br,
|
|
1156
|
+
debounce: Lr,
|
|
1157
|
+
deleteCookie: un,
|
|
1158
|
+
diff: _n,
|
|
1159
|
+
duplicates: Xr,
|
|
1160
|
+
encryptSha256: yn,
|
|
1161
|
+
endOf: Cn,
|
|
1162
|
+
format: gt,
|
|
1163
|
+
generateRandomColor: jr,
|
|
1164
|
+
generateRandomString: pt,
|
|
1165
|
+
generateUID: We,
|
|
1165
1166
|
getApiDeps: re,
|
|
1166
|
-
getCookie:
|
|
1167
|
-
getDeviceType:
|
|
1168
|
-
getSessionStorage:
|
|
1169
|
-
getTodateString:
|
|
1170
|
-
initApiDeps:
|
|
1171
|
-
isArray:
|
|
1172
|
-
isBoolean:
|
|
1173
|
-
isDesktop:
|
|
1174
|
-
isEmpty:
|
|
1167
|
+
getCookie: cn,
|
|
1168
|
+
getDeviceType: Oe,
|
|
1169
|
+
getSessionStorage: nn,
|
|
1170
|
+
getTodateString: mt,
|
|
1171
|
+
initApiDeps: $n,
|
|
1172
|
+
isArray: Ur,
|
|
1173
|
+
isBoolean: Ir,
|
|
1174
|
+
isDesktop: zr,
|
|
1175
|
+
isEmpty: dt,
|
|
1175
1176
|
isEmptyArray: Ie,
|
|
1176
|
-
isFunction:
|
|
1177
|
-
isMobile:
|
|
1178
|
-
isNull:
|
|
1179
|
-
isNullOrUndefined:
|
|
1180
|
-
isNumber:
|
|
1181
|
-
isObject:
|
|
1182
|
-
isSafeEmpty:
|
|
1183
|
-
isString:
|
|
1184
|
-
isTablet:
|
|
1185
|
-
isUndefined:
|
|
1186
|
-
isValid:
|
|
1187
|
-
isValidDate:
|
|
1188
|
-
isValidEmail:
|
|
1189
|
-
isValidUrl:
|
|
1190
|
-
isValidYear:
|
|
1191
|
-
isValidYearMonth:
|
|
1192
|
-
now:
|
|
1193
|
-
padLeft:
|
|
1194
|
-
padRight:
|
|
1195
|
-
random:
|
|
1196
|
-
removeSessionStorage:
|
|
1197
|
-
round:
|
|
1198
|
-
setCookie:
|
|
1199
|
-
setSessionStorage:
|
|
1200
|
-
startOf:
|
|
1201
|
-
throttle:
|
|
1202
|
-
toCamelCase:
|
|
1203
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1177
|
+
isFunction: Er,
|
|
1178
|
+
isMobile: Fr,
|
|
1179
|
+
isNull: Yr,
|
|
1180
|
+
isNullOrUndefined: Pr,
|
|
1181
|
+
isNumber: Or,
|
|
1182
|
+
isObject: Nr,
|
|
1183
|
+
isSafeEmpty: ln,
|
|
1184
|
+
isString: Dr,
|
|
1185
|
+
isTablet: Hr,
|
|
1186
|
+
isUndefined: Ar,
|
|
1187
|
+
isValid: Ee,
|
|
1188
|
+
isValidDate: vn,
|
|
1189
|
+
isValidEmail: dn,
|
|
1190
|
+
isValidUrl: pn,
|
|
1191
|
+
isValidYear: wn,
|
|
1192
|
+
isValidYearMonth: bn,
|
|
1193
|
+
now: ht,
|
|
1194
|
+
padLeft: hn,
|
|
1195
|
+
padRight: mn,
|
|
1196
|
+
random: Qr,
|
|
1197
|
+
removeSessionStorage: on,
|
|
1198
|
+
round: tn,
|
|
1199
|
+
setCookie: an,
|
|
1200
|
+
setSessionStorage: rn,
|
|
1201
|
+
startOf: xn,
|
|
1202
|
+
throttle: Rr,
|
|
1203
|
+
toCamelCase: fn
|
|
1204
|
+
}, Symbol.toStringTag, { value: "Module" })), Ge = (() => {
|
|
1204
1205
|
try {
|
|
1205
1206
|
if (import.meta.env.DEV)
|
|
1206
1207
|
return !0;
|
|
@@ -1208,41 +1209,41 @@ const xn = (e) => {
|
|
|
1208
1209
|
}
|
|
1209
1210
|
return !1;
|
|
1210
1211
|
})();
|
|
1211
|
-
let
|
|
1212
|
-
function
|
|
1213
|
-
e.devHosts && (
|
|
1212
|
+
let wt = [], bt = [];
|
|
1213
|
+
function Mn(e) {
|
|
1214
|
+
e.devHosts && (wt = e.devHosts), e.prodHosts && (bt = e.prodHosts);
|
|
1214
1215
|
}
|
|
1215
|
-
function
|
|
1216
|
+
function xt() {
|
|
1216
1217
|
if (typeof window < "u" && window.location)
|
|
1217
1218
|
return window.location.hostname;
|
|
1218
1219
|
}
|
|
1219
|
-
const
|
|
1220
|
-
const e =
|
|
1221
|
-
return !!(e &&
|
|
1222
|
-
})(),
|
|
1223
|
-
const e =
|
|
1224
|
-
return !!(e &&
|
|
1220
|
+
const Ct = (() => {
|
|
1221
|
+
const e = xt();
|
|
1222
|
+
return !!(e && wt.includes(e));
|
|
1223
|
+
})(), St = (() => {
|
|
1224
|
+
const e = xt();
|
|
1225
|
+
return !!(e && bt.includes(e));
|
|
1225
1226
|
})();
|
|
1226
|
-
function
|
|
1227
|
-
return
|
|
1227
|
+
function kn() {
|
|
1228
|
+
return Ge ? "X" : Ct ? "D" : St ? "P" : "X";
|
|
1228
1229
|
}
|
|
1229
|
-
const
|
|
1230
|
+
const _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1230
1231
|
__proto__: null,
|
|
1231
|
-
configureEnvUtils:
|
|
1232
|
-
getEnvCode:
|
|
1233
|
-
isDev:
|
|
1234
|
-
isLocal:
|
|
1235
|
-
isProd:
|
|
1232
|
+
configureEnvUtils: Mn,
|
|
1233
|
+
getEnvCode: kn,
|
|
1234
|
+
isDev: Ct,
|
|
1235
|
+
isLocal: Ge,
|
|
1236
|
+
isProd: St
|
|
1236
1237
|
}, Symbol.toStringTag, { value: "Module" })), W = {
|
|
1237
1238
|
duration: 4.5,
|
|
1238
1239
|
// 4.5초
|
|
1239
1240
|
placement: "topRight"
|
|
1240
1241
|
};
|
|
1241
|
-
class
|
|
1242
|
+
class ce {
|
|
1242
1243
|
constructor() {
|
|
1243
1244
|
}
|
|
1244
1245
|
static getInstance() {
|
|
1245
|
-
return
|
|
1246
|
+
return ce.instance || (ce.instance = new ce()), ce.instance;
|
|
1246
1247
|
}
|
|
1247
1248
|
/**
|
|
1248
1249
|
* BwgError 전용 에러 알림
|
|
@@ -1323,77 +1324,77 @@ class ie {
|
|
|
1323
1324
|
ee.destroy();
|
|
1324
1325
|
}
|
|
1325
1326
|
}
|
|
1326
|
-
const J =
|
|
1327
|
+
const J = ce.getInstance(), $t = (e) => {
|
|
1327
1328
|
J.showBwgError(e);
|
|
1328
|
-
},
|
|
1329
|
+
}, Tn = (e, t, r) => {
|
|
1329
1330
|
J.showSuccess(e, t, r);
|
|
1330
|
-
}, $t = (e, t, r) => {
|
|
1331
|
-
J.showInfo(e, t, r);
|
|
1332
1331
|
}, Mt = (e, t, r) => {
|
|
1332
|
+
J.showInfo(e, t, r);
|
|
1333
|
+
}, kt = (e, t, r) => {
|
|
1333
1334
|
J.showWarning(e, t, r);
|
|
1334
|
-
},
|
|
1335
|
+
}, Dn = (e, t, r) => {
|
|
1335
1336
|
J.showError(e, t, r);
|
|
1336
|
-
},
|
|
1337
|
+
}, On = () => {
|
|
1337
1338
|
J.destroy();
|
|
1338
|
-
},
|
|
1339
|
+
}, In = (e) => {
|
|
1339
1340
|
J.close(e);
|
|
1340
|
-
},
|
|
1341
|
+
}, Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1341
1342
|
__proto__: null,
|
|
1342
|
-
closeNotification:
|
|
1343
|
-
destroyNotifications:
|
|
1344
|
-
notiBwgError:
|
|
1345
|
-
notiError:
|
|
1346
|
-
notiInfo:
|
|
1347
|
-
notiSuccess:
|
|
1348
|
-
notiWarning:
|
|
1343
|
+
closeNotification: In,
|
|
1344
|
+
destroyNotifications: On,
|
|
1345
|
+
notiBwgError: $t,
|
|
1346
|
+
notiError: Dn,
|
|
1347
|
+
notiInfo: Mt,
|
|
1348
|
+
notiSuccess: Tn,
|
|
1349
|
+
notiWarning: kt,
|
|
1349
1350
|
notificationService: J
|
|
1350
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1351
|
-
const e =
|
|
1352
|
-
return
|
|
1353
|
-
},
|
|
1354
|
-
const e =
|
|
1351
|
+
}, Symbol.toStringTag, { value: "Module" })), de = () => T.getState().user?.crprCd || null, ke = () => {
|
|
1352
|
+
const e = T.getState().user;
|
|
1353
|
+
return T.getState().hrInfo?.empNo || e?.userId || null;
|
|
1354
|
+
}, Dt = () => T.getState().user?.userNm || null, En = () => T.getState().user?.userDvsn || null, Nn = () => T.getState().user?.emplNo || null, Te = () => {
|
|
1355
|
+
const e = T.getState().hrInfo, t = T.getState().user;
|
|
1355
1356
|
return e?.deptCd || t?.dprtCd || null;
|
|
1356
|
-
},
|
|
1357
|
+
}, Un = () => T.getState().hrInfo?.fullDeptCd || null, Ot = () => T.getState().user?.dprtNm || null, Yn = () => T.getState().hrInfo?.fullDeptNm || null, Ne = () => T.getState().user?.roleList || null, An = (e) => {
|
|
1357
1358
|
const t = Ne();
|
|
1358
1359
|
return t ? t.includes(e) : !1;
|
|
1359
|
-
},
|
|
1360
|
+
}, Pn = (e) => {
|
|
1360
1361
|
const t = Ne();
|
|
1361
1362
|
return t ? e.some((r) => t.includes(r)) : !1;
|
|
1362
|
-
},
|
|
1363
|
+
}, Rn = (e) => {
|
|
1363
1364
|
const t = Ne();
|
|
1364
1365
|
return t ? e.every((r) => t.includes(r)) : !1;
|
|
1365
|
-
},
|
|
1366
|
-
const e =
|
|
1366
|
+
}, Ln = () => T.getState().isLoggedIn(), pe = () => T.getState().user, Bn = () => pe() !== null, Fn = () => {
|
|
1367
|
+
const e = Dt(), t = ke();
|
|
1367
1368
|
return e || t || null;
|
|
1368
|
-
},
|
|
1369
|
-
const e =
|
|
1369
|
+
}, Hn = () => {
|
|
1370
|
+
const e = Ot(), t = Te();
|
|
1370
1371
|
return e || (t ? String(t) : null);
|
|
1371
|
-
},
|
|
1372
|
+
}, le = () => T.getState().hrInfo, zn = () => le()?.jbpsCd || null, jn = () => le()?.jbgdCd || null, qn = () => le()?.jbdtCd || null, Vn = () => le()?.jbkdCd || null, Wn = () => le()?.wkplCd || null, It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1372
1373
|
__proto__: null,
|
|
1373
|
-
getCrprCd:
|
|
1374
|
-
getDepartmentInfo:
|
|
1375
|
-
getDisplayName:
|
|
1376
|
-
getDprtCd:
|
|
1377
|
-
getDprtNm:
|
|
1378
|
-
getEmplNo:
|
|
1379
|
-
getFullDprtCd:
|
|
1380
|
-
getFullDprtNm:
|
|
1381
|
-
getHrInfo:
|
|
1382
|
-
getJbdtCd:
|
|
1383
|
-
getJbgdCd:
|
|
1384
|
-
getJbkdCd:
|
|
1385
|
-
getJbpsCd:
|
|
1374
|
+
getCrprCd: de,
|
|
1375
|
+
getDepartmentInfo: Hn,
|
|
1376
|
+
getDisplayName: Fn,
|
|
1377
|
+
getDprtCd: Te,
|
|
1378
|
+
getDprtNm: Ot,
|
|
1379
|
+
getEmplNo: Nn,
|
|
1380
|
+
getFullDprtCd: Un,
|
|
1381
|
+
getFullDprtNm: Yn,
|
|
1382
|
+
getHrInfo: le,
|
|
1383
|
+
getJbdtCd: qn,
|
|
1384
|
+
getJbgdCd: jn,
|
|
1385
|
+
getJbkdCd: Vn,
|
|
1386
|
+
getJbpsCd: zn,
|
|
1386
1387
|
getRoleList: Ne,
|
|
1387
|
-
getUserDvsn:
|
|
1388
|
-
getUserId:
|
|
1389
|
-
getUserInfo:
|
|
1390
|
-
getUserNm:
|
|
1391
|
-
getWkplCd:
|
|
1392
|
-
hasAllRoles:
|
|
1393
|
-
hasAnyRole:
|
|
1394
|
-
hasRole:
|
|
1395
|
-
hasUserInfo:
|
|
1396
|
-
isLoggedIn:
|
|
1388
|
+
getUserDvsn: En,
|
|
1389
|
+
getUserId: ke,
|
|
1390
|
+
getUserInfo: pe,
|
|
1391
|
+
getUserNm: Dt,
|
|
1392
|
+
getWkplCd: Wn,
|
|
1393
|
+
hasAllRoles: Rn,
|
|
1394
|
+
hasAnyRole: Pn,
|
|
1395
|
+
hasRole: An,
|
|
1396
|
+
hasUserInfo: Bn,
|
|
1397
|
+
isLoggedIn: Ln
|
|
1397
1398
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1398
1399
|
class ne extends Error {
|
|
1399
1400
|
constructor(t, r, n, u, l) {
|
|
@@ -1401,7 +1402,7 @@ class ne extends Error {
|
|
|
1401
1402
|
}
|
|
1402
1403
|
}
|
|
1403
1404
|
let te = null;
|
|
1404
|
-
const
|
|
1405
|
+
const ze = {
|
|
1405
1406
|
method: "POST",
|
|
1406
1407
|
timeout: 3e4,
|
|
1407
1408
|
// 30초
|
|
@@ -1412,16 +1413,16 @@ const He = {
|
|
|
1412
1413
|
showError: !0,
|
|
1413
1414
|
retryCount: 0,
|
|
1414
1415
|
retryDelay: 1e3
|
|
1415
|
-
},
|
|
1416
|
-
timeout:
|
|
1417
|
-
withCredentials:
|
|
1416
|
+
}, De = qe.create({
|
|
1417
|
+
timeout: ze.timeout,
|
|
1418
|
+
withCredentials: ze.withCredentials,
|
|
1418
1419
|
headers: {
|
|
1419
1420
|
"Content-Type": "application/json; charset=utf-8",
|
|
1420
1421
|
Accept: "application/json; charset=utf-8",
|
|
1421
|
-
"Apm-Guid":
|
|
1422
|
+
"Apm-Guid": We()
|
|
1422
1423
|
}
|
|
1423
1424
|
});
|
|
1424
|
-
|
|
1425
|
+
De.interceptors.request.use(
|
|
1425
1426
|
(e) => {
|
|
1426
1427
|
const t = re();
|
|
1427
1428
|
e.showLoading && !e.isPopup && t.showLoading?.(), e.showLoading && e.isPopup && t.showPopupLoading?.();
|
|
@@ -1433,14 +1434,14 @@ Te.interceptors.request.use(
|
|
|
1433
1434
|
console.warn("trxCd/guid 추출 실패:", u);
|
|
1434
1435
|
}
|
|
1435
1436
|
e.trxCd = r, e.requestStartTime = Date.now(), console.log(
|
|
1436
|
-
`🚀 API 요청 시작 [거래코드: ${r} / 서비스요청자: ${
|
|
1437
|
+
`🚀 API 요청 시작 [거래코드: ${r} / 서비스요청자: ${pe()?.userId}]`
|
|
1437
1438
|
);
|
|
1438
1439
|
const n = localStorage.getItem("accessToken");
|
|
1439
1440
|
return n && (e.headers.Authorization = `Bearer ${n}`), e.headers["Content-Type"] = "application/json; charset=UTF-8", e.headers.Accept = "application/json; charset=UTF-8", e;
|
|
1440
1441
|
},
|
|
1441
1442
|
(e) => (console.error("❌ 요청 인터셉터 에러:", e), Promise.reject(e))
|
|
1442
1443
|
);
|
|
1443
|
-
|
|
1444
|
+
De.interceptors.response.use(
|
|
1444
1445
|
(e) => {
|
|
1445
1446
|
const t = re();
|
|
1446
1447
|
e.config.showLoading && !e.config.isPopup && t.hideLoading?.(), e.config.isPopup && t.hidePopupLoading?.();
|
|
@@ -1458,7 +1459,7 @@ Te.interceptors.response.use(
|
|
|
1458
1459
|
},
|
|
1459
1460
|
async (e) => {
|
|
1460
1461
|
const t = re();
|
|
1461
|
-
if (e.config && e.config.showLoading && !e.config.isPopup && t.hideLoading?.(), e.config && e.config.isPopup && t.hidePopupLoading?.(), console.error("❌ API 응답 에러:", e),
|
|
1462
|
+
if (e.config && e.config.showLoading && !e.config.isPopup && t.hideLoading?.(), e.config && e.config.isPopup && t.hidePopupLoading?.(), console.error("❌ API 응답 에러:", e), Ge && console.error("🚨 Error Details:", {
|
|
1462
1463
|
message: e.message,
|
|
1463
1464
|
status: e.response?.status,
|
|
1464
1465
|
statusText: e.response?.statusText,
|
|
@@ -1472,7 +1473,7 @@ Te.interceptors.response.use(
|
|
|
1472
1473
|
const r = localStorage.getItem("refreshToken");
|
|
1473
1474
|
if (r)
|
|
1474
1475
|
try {
|
|
1475
|
-
const n = await
|
|
1476
|
+
const n = await qe.post("/auth/refresh", {
|
|
1476
1477
|
refreshToken: r
|
|
1477
1478
|
});
|
|
1478
1479
|
if (n.data.accessToken) {
|
|
@@ -1482,7 +1483,7 @@ Te.interceptors.response.use(
|
|
|
1482
1483
|
);
|
|
1483
1484
|
const u = e.config;
|
|
1484
1485
|
if (u)
|
|
1485
|
-
return u.headers.Authorization = `Bearer ${n.data.accessToken}`,
|
|
1486
|
+
return u.headers.Authorization = `Bearer ${n.data.accessToken}`, De(u);
|
|
1486
1487
|
}
|
|
1487
1488
|
} catch {
|
|
1488
1489
|
localStorage.removeItem("accessToken"), localStorage.removeItem("refreshToken"), window.location.href = "/login";
|
|
@@ -1491,19 +1492,19 @@ Te.interceptors.response.use(
|
|
|
1491
1492
|
return Promise.reject(e);
|
|
1492
1493
|
}
|
|
1493
1494
|
);
|
|
1494
|
-
const
|
|
1495
|
+
const Gn = async () => {
|
|
1495
1496
|
if (te === null) {
|
|
1496
1497
|
const e = Date.now();
|
|
1497
|
-
await
|
|
1498
|
+
await Et();
|
|
1498
1499
|
const t = Date.now();
|
|
1499
1500
|
console.log(`[INFO] IP 조회 소요시간: ${t - e}ms`);
|
|
1500
1501
|
}
|
|
1501
|
-
},
|
|
1502
|
+
}, Kn = (e, t, r, n) => {
|
|
1502
1503
|
const l = re().getActiveMenuId?.();
|
|
1503
1504
|
return {
|
|
1504
1505
|
header: {
|
|
1505
1506
|
trxCd: e,
|
|
1506
|
-
userInfo:
|
|
1507
|
+
userInfo: pe(),
|
|
1507
1508
|
clientIp: r,
|
|
1508
1509
|
domainId: "DEFAULT",
|
|
1509
1510
|
sysCd: n?.sysCd,
|
|
@@ -1514,7 +1515,7 @@ const jn = async () => {
|
|
|
1514
1515
|
// 추후 암호화(bxmEncrypt) 가능 지점
|
|
1515
1516
|
data: t
|
|
1516
1517
|
};
|
|
1517
|
-
},
|
|
1518
|
+
}, Zn = (e, t, r) => {
|
|
1518
1519
|
const n = {
|
|
1519
1520
|
method: t.method,
|
|
1520
1521
|
url: e,
|
|
@@ -1527,74 +1528,74 @@ const jn = async () => {
|
|
|
1527
1528
|
}
|
|
1528
1529
|
};
|
|
1529
1530
|
return t.method === "GET" ? (n.params = r || t.params, t.params && (n.params = t.params)) : (n.data = r || t.data, t.params && (n.params = t.params)), n;
|
|
1530
|
-
},
|
|
1531
|
+
}, Jn = async (e, t) => {
|
|
1531
1532
|
let r;
|
|
1532
1533
|
const n = t.retryCount || 0, u = t.retryDelay || 1e3;
|
|
1533
1534
|
for (let l = 0; l <= n; l++)
|
|
1534
1535
|
try {
|
|
1535
|
-
const c = await
|
|
1536
|
+
const c = await De(e);
|
|
1536
1537
|
if (c.data?.header?.resCd == 0)
|
|
1537
|
-
return
|
|
1538
|
+
return Qn(c.data);
|
|
1538
1539
|
const x = c.data?.header || {}, h = x?.msgs?.basicMsg || "요청 처리 중 오류가 발생했습니다.", v = x?.msgs?.detailMsgs || h, f = x?.msgCd, b = x?.msgs?.type;
|
|
1539
1540
|
throw new ne(h, v, c, f, b);
|
|
1540
1541
|
} catch (c) {
|
|
1541
|
-
if (r =
|
|
1542
|
-
await
|
|
1542
|
+
if (r = Xn(c), c?.isAxiosError && to(c) && l < n) {
|
|
1543
|
+
await ro(u);
|
|
1543
1544
|
continue;
|
|
1544
1545
|
}
|
|
1545
1546
|
break;
|
|
1546
1547
|
}
|
|
1547
|
-
throw r ? (
|
|
1548
|
-
},
|
|
1548
|
+
throw r ? (eo(r, t), r) : new Error("알 수 없는 API 오류가 발생했습니다.");
|
|
1549
|
+
}, Xn = (e) => {
|
|
1549
1550
|
if (e?.isAxiosError && e.response) {
|
|
1550
1551
|
const t = e, r = t.response, n = r.data, u = n?.header?.msgs?.basicMsg || t.message || "서버에서 오류가 발생했습니다.", l = n?.header?.msgs?.detailMsgs || (typeof r.data == "string" ? r.data : JSON.stringify(r.data)) || u, c = n?.header?.msgCd, x = n?.header?.msgs?.type;
|
|
1551
1552
|
return new ne(u, l, r, c, x);
|
|
1552
1553
|
}
|
|
1553
1554
|
return e instanceof ne, e;
|
|
1554
|
-
},
|
|
1555
|
+
}, Qn = (e) => {
|
|
1555
1556
|
if (!e || typeof e != "object")
|
|
1556
1557
|
return {};
|
|
1557
1558
|
for (const t in e)
|
|
1558
1559
|
if (Object.prototype.hasOwnProperty.call(e, t) && t !== "header")
|
|
1559
1560
|
return e[t];
|
|
1560
1561
|
return {};
|
|
1561
|
-
},
|
|
1562
|
+
}, eo = (e, t) => {
|
|
1562
1563
|
if (!t.showError) return;
|
|
1563
1564
|
const r = e instanceof ne, n = r ? e.message : "요청 처리 중 오류가 발생했습니다.", u = r ? e.msgCd : "요청 처리 중 오류가 발생했습니다.", l = r ? e.detailMsg : e.message, c = r ? e.errorType : "";
|
|
1564
|
-
u && u.startsWith?.("BXM") ?
|
|
1565
|
+
u && u.startsWith?.("BXM") ? $t({
|
|
1565
1566
|
message: n,
|
|
1566
1567
|
description: l,
|
|
1567
1568
|
duration: 5
|
|
1568
|
-
}) : c === "I" ?
|
|
1569
|
+
}) : c === "I" ? Mt(n, l, 5) : kt(n, l, 5);
|
|
1569
1570
|
}, Ke = async (e, t, r, n, u) => {
|
|
1570
1571
|
const c = re().findSystemByAppCd?.(u ?? __APP_CD__);
|
|
1571
|
-
(!c || !c.sysCd) && console.error("해당 앱코드는 존재하지 않습니다.", u), await
|
|
1572
|
+
(!c || !c.sysCd) && console.error("해당 앱코드는 존재하지 않습니다.", u), await Gn();
|
|
1572
1573
|
const x = {
|
|
1573
|
-
...
|
|
1574
|
+
...ze,
|
|
1574
1575
|
...n
|
|
1575
|
-
}, h =
|
|
1576
|
+
}, h = Kn(
|
|
1576
1577
|
t,
|
|
1577
1578
|
r,
|
|
1578
|
-
|
|
1579
|
+
Nt() || "unknown",
|
|
1579
1580
|
c
|
|
1580
|
-
), v =
|
|
1581
|
+
), v = Zn(e, x, h);
|
|
1581
1582
|
try {
|
|
1582
|
-
return await
|
|
1583
|
+
return await Jn(v, x);
|
|
1583
1584
|
} catch (f) {
|
|
1584
1585
|
throw console.error("callService 최종 에러:", f), f;
|
|
1585
1586
|
}
|
|
1586
|
-
},
|
|
1587
|
+
}, to = (e) => !e.response || e.response.status >= 500 && e.response.status < 600, ro = (e) => new Promise((t) => setTimeout(t, e)), Et = async (e) => {
|
|
1587
1588
|
if (te === null)
|
|
1588
1589
|
if (e === void 0)
|
|
1589
1590
|
try {
|
|
1590
|
-
let r = (await
|
|
1591
|
+
let r = (await qe.get("/api/ip")).data.trim();
|
|
1591
1592
|
r = r.replace(/\s+/g, ""), te = r;
|
|
1592
1593
|
} catch (t) {
|
|
1593
1594
|
console.warn("IP 가져오기 실패:", t), te = "unknown";
|
|
1594
1595
|
}
|
|
1595
1596
|
else
|
|
1596
1597
|
te = e;
|
|
1597
|
-
},
|
|
1598
|
+
}, Nt = () => te, no = async () => (console.log("IP 검증 비활성화됨 (성능 최적화)"), te || "unknown"), ue = async (e, t, r) => Ke("/api/service", e, t, r), oo = async (e, t, r) => Ke("/api/service", e.trxCd, t, r, e.appCd), so = async (e, t, r) => {
|
|
1598
1599
|
const u = re().findSystemByAppCd?.(e.appCd ?? __APP_CD__);
|
|
1599
1600
|
return !u || !u.sysCd ? (console.error("해당 앱코드는 존재하지 않습니다.", e.appCd), Promise.reject(new Error("해당 앱코드는 존재하지 않습니다 ."))) : Ke(
|
|
1600
1601
|
"/api/service",
|
|
@@ -1603,7 +1604,7 @@ const jn = async () => {
|
|
|
1603
1604
|
{ ...r, headers: { ...r?.headers, sysCd: u?.sysCd } },
|
|
1604
1605
|
e.appCd
|
|
1605
1606
|
);
|
|
1606
|
-
},
|
|
1607
|
+
}, ao = async (e, t, r) => {
|
|
1607
1608
|
try {
|
|
1608
1609
|
const n = await fetch("/api/permissions", {
|
|
1609
1610
|
method: "POST",
|
|
@@ -1622,24 +1623,24 @@ const jn = async () => {
|
|
|
1622
1623
|
} catch (n) {
|
|
1623
1624
|
throw console.error("권한 확인 서비스 오류:", n), n;
|
|
1624
1625
|
}
|
|
1625
|
-
},
|
|
1626
|
+
}, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1626
1627
|
__proto__: null,
|
|
1627
1628
|
ApiError: ne,
|
|
1628
|
-
callEndpoint:
|
|
1629
|
-
callService:
|
|
1630
|
-
callServiceByAppCd:
|
|
1631
|
-
getClientIp:
|
|
1632
|
-
getPermissionService:
|
|
1633
|
-
setClientIp:
|
|
1634
|
-
verifyClientIp:
|
|
1635
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1629
|
+
callEndpoint: oo,
|
|
1630
|
+
callService: ue,
|
|
1631
|
+
callServiceByAppCd: so,
|
|
1632
|
+
getClientIp: Nt,
|
|
1633
|
+
getPermissionService: ao,
|
|
1634
|
+
setClientIp: Et,
|
|
1635
|
+
verifyClientIp: no
|
|
1636
|
+
}, Symbol.toStringTag, { value: "Module" })), io = (e, t, r = "text/plain") => {
|
|
1636
1637
|
const n = new Blob([e], { type: r }), u = URL.createObjectURL(n), l = document.createElement("a");
|
|
1637
1638
|
l.href = u, l.download = t, document.body.appendChild(l), l.click(), document.body.removeChild(l), URL.revokeObjectURL(u);
|
|
1638
1639
|
};
|
|
1639
|
-
async function
|
|
1640
|
+
async function co(e) {
|
|
1640
1641
|
try {
|
|
1641
|
-
return await
|
|
1642
|
-
crprCd:
|
|
1642
|
+
return await ue("SCMFILE00101", {
|
|
1643
|
+
crprCd: pe()?.crprCd,
|
|
1643
1644
|
sysCd: __SYS_CD__,
|
|
1644
1645
|
fileKey: e
|
|
1645
1646
|
}).then((r) => {
|
|
@@ -1659,62 +1660,124 @@ async function oo(e) {
|
|
|
1659
1660
|
}
|
|
1660
1661
|
const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1661
1662
|
__proto__: null,
|
|
1662
|
-
downloadByFileKey:
|
|
1663
|
-
downloadFile:
|
|
1664
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
1663
|
+
downloadByFileKey: co,
|
|
1664
|
+
downloadFile: io
|
|
1665
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1666
|
+
var ie = {}, at;
|
|
1667
|
+
function uo() {
|
|
1668
|
+
if (at) return ie;
|
|
1669
|
+
at = 1;
|
|
1670
|
+
var e = Vt;
|
|
1671
|
+
if (process.env.NODE_ENV === "production")
|
|
1672
|
+
ie.createRoot = e.createRoot, ie.hydrateRoot = e.hydrateRoot;
|
|
1673
|
+
else {
|
|
1674
|
+
var t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1675
|
+
ie.createRoot = function(r, n) {
|
|
1676
|
+
t.usingClientEntryPoint = !0;
|
|
1677
|
+
try {
|
|
1678
|
+
return e.createRoot(r, n);
|
|
1679
|
+
} finally {
|
|
1680
|
+
t.usingClientEntryPoint = !1;
|
|
1681
|
+
}
|
|
1682
|
+
}, ie.hydrateRoot = function(r, n, u) {
|
|
1683
|
+
t.usingClientEntryPoint = !0;
|
|
1684
|
+
try {
|
|
1685
|
+
return e.hydrateRoot(r, n, u);
|
|
1686
|
+
} finally {
|
|
1687
|
+
t.usingClientEntryPoint = !1;
|
|
1688
|
+
}
|
|
1689
|
+
};
|
|
1690
|
+
}
|
|
1691
|
+
return ie;
|
|
1692
|
+
}
|
|
1693
|
+
var lo = /* @__PURE__ */ uo();
|
|
1694
|
+
const fo = (e) => ({
|
|
1695
|
+
initContent(t) {
|
|
1696
|
+
this._root = lo.createRoot(t);
|
|
1697
|
+
},
|
|
1698
|
+
render(t, r, n, u) {
|
|
1699
|
+
const l = this._root;
|
|
1700
|
+
l && e(t, r, n, u, l);
|
|
1701
|
+
},
|
|
1702
|
+
clearContent(t) {
|
|
1703
|
+
},
|
|
1704
|
+
canClick(t) {
|
|
1705
|
+
return !0;
|
|
1706
|
+
},
|
|
1707
|
+
click() {
|
|
1708
|
+
return {};
|
|
1709
|
+
}
|
|
1710
|
+
}), po = (e) => T.getState().getGridLayouts(e), ho = (e, t, r) => T.getState().getGridLayout(e, t, r), mo = (e, t, r, n) => {
|
|
1711
|
+
T.getState().saveGridLayout(e, t, r, n);
|
|
1712
|
+
}, go = (e, t, r) => {
|
|
1713
|
+
T.getState().removeGridLayout(e, t, r);
|
|
1714
|
+
}, yo = (e) => {
|
|
1715
|
+
T.getState().clearGridLayouts(e);
|
|
1716
|
+
}, vo = () => {
|
|
1717
|
+
T.getState().clearAllGridLayouts();
|
|
1718
|
+
}, At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1719
|
+
__proto__: null,
|
|
1720
|
+
clearAllGridLayouts: vo,
|
|
1721
|
+
clearGridLayouts: yo,
|
|
1722
|
+
createBwgGridRenderer: fo,
|
|
1723
|
+
getGridLayout: ho,
|
|
1724
|
+
getGridLayouts: po,
|
|
1725
|
+
removeGridLayout: go,
|
|
1726
|
+
saveGridLayout: mo
|
|
1727
|
+
}, Symbol.toStringTag, { value: "Module" })), Pt = (e, t = 3) => {
|
|
1665
1728
|
se.success({
|
|
1666
1729
|
content: e,
|
|
1667
1730
|
duration: t
|
|
1668
1731
|
});
|
|
1669
|
-
},
|
|
1732
|
+
}, he = (e, t = 5) => {
|
|
1670
1733
|
se.error({
|
|
1671
1734
|
content: e,
|
|
1672
1735
|
duration: t
|
|
1673
1736
|
});
|
|
1674
|
-
},
|
|
1737
|
+
}, wo = (e, t = 4) => {
|
|
1675
1738
|
se.warning({
|
|
1676
1739
|
content: e,
|
|
1677
1740
|
duration: t
|
|
1678
1741
|
});
|
|
1679
|
-
},
|
|
1742
|
+
}, bo = (e, t = 3) => {
|
|
1680
1743
|
se.info({
|
|
1681
1744
|
content: e,
|
|
1682
1745
|
duration: t
|
|
1683
1746
|
});
|
|
1684
|
-
},
|
|
1747
|
+
}, xo = (e = "처리중...") => se.loading({
|
|
1685
1748
|
content: e,
|
|
1686
1749
|
duration: 0
|
|
1687
1750
|
// 수동으로 닫을 때까지 유지
|
|
1688
|
-
}),
|
|
1751
|
+
}), Co = (e) => {
|
|
1689
1752
|
se.destroy(e);
|
|
1690
|
-
},
|
|
1753
|
+
}, So = () => {
|
|
1691
1754
|
se.destroy();
|
|
1692
|
-
},
|
|
1755
|
+
}, _o = (e, t = "처리 중 오류가 발생했습니다.") => {
|
|
1693
1756
|
const r = e?.response?.data?.message || e?.message || t;
|
|
1694
|
-
|
|
1695
|
-
},
|
|
1696
|
-
|
|
1697
|
-
},
|
|
1698
|
-
|
|
1699
|
-
},
|
|
1700
|
-
|
|
1701
|
-
},
|
|
1702
|
-
|
|
1703
|
-
},
|
|
1757
|
+
he(r);
|
|
1758
|
+
}, $o = (e = "저장") => {
|
|
1759
|
+
Pt(`${e}이 완료되었습니다.`);
|
|
1760
|
+
}, Mo = (e = "저장") => {
|
|
1761
|
+
he(`${e} 중 오류가 발생했습니다.`);
|
|
1762
|
+
}, ko = (e) => {
|
|
1763
|
+
he(`이미 사용중인 ${e}입니다.`);
|
|
1764
|
+
}, To = (e) => {
|
|
1765
|
+
he(`${e}을(를) 입력해주세요.`);
|
|
1766
|
+
}, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1704
1767
|
__proto__: null,
|
|
1705
|
-
closeAllMessages:
|
|
1706
|
-
closeMessage:
|
|
1707
|
-
showApiError:
|
|
1708
|
-
showDuplicateError:
|
|
1709
|
-
showError:
|
|
1710
|
-
showInfo:
|
|
1711
|
-
showLoading:
|
|
1712
|
-
showRequiredError:
|
|
1713
|
-
showSaveError:
|
|
1714
|
-
showSaveSuccess:
|
|
1715
|
-
showSuccess:
|
|
1716
|
-
showWarning:
|
|
1717
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1768
|
+
closeAllMessages: So,
|
|
1769
|
+
closeMessage: Co,
|
|
1770
|
+
showApiError: _o,
|
|
1771
|
+
showDuplicateError: ko,
|
|
1772
|
+
showError: he,
|
|
1773
|
+
showInfo: bo,
|
|
1774
|
+
showLoading: xo,
|
|
1775
|
+
showRequiredError: To,
|
|
1776
|
+
showSaveError: Mo,
|
|
1777
|
+
showSaveSuccess: $o,
|
|
1778
|
+
showSuccess: Pt,
|
|
1779
|
+
showWarning: wo
|
|
1780
|
+
}, Symbol.toStringTag, { value: "Module" })), Do = {
|
|
1718
1781
|
/*************************************************************************************************************************************************
|
|
1719
1782
|
* RealGrid2 use
|
|
1720
1783
|
*************************************************************************************************************************************************/
|
|
@@ -2014,7 +2077,7 @@ const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2014
2077
|
bg_gray01: {
|
|
2015
2078
|
background: "#cdcdcd"
|
|
2016
2079
|
}
|
|
2017
|
-
},
|
|
2080
|
+
}, Oo = async (e) => {
|
|
2018
2081
|
if (e.map((t) => {
|
|
2019
2082
|
t.status = "uploading", t.percent = 10, console.log(t);
|
|
2020
2083
|
}), !e || !Array.isArray(e) || e.length === 0) {
|
|
@@ -2080,25 +2143,25 @@ const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2080
2143
|
message: "파일 업로드 중 오류가 발생했습니다."
|
|
2081
2144
|
};
|
|
2082
2145
|
}
|
|
2083
|
-
},
|
|
2146
|
+
}, Lo = async (e, t, r) => {
|
|
2084
2147
|
const {
|
|
2085
2148
|
trxCd: n = "SCMINTF00102",
|
|
2086
2149
|
openDraft: u = !0,
|
|
2087
2150
|
fetchFilesTrxCd: l = "SCMFILE00101"
|
|
2088
|
-
} = r || {}, c = e ?? {}, x = c.aprvKey ||
|
|
2151
|
+
} = r || {}, c = e ?? {}, x = c.aprvKey || We(), h = c.docTitle || "제목없음";
|
|
2089
2152
|
if (c.aprvKey) {
|
|
2090
|
-
const m = await
|
|
2091
|
-
crprCd:
|
|
2153
|
+
const m = await ue("SCMINTF00101", {
|
|
2154
|
+
crprCd: de(),
|
|
2092
2155
|
sysCd: __SYS_CD__,
|
|
2093
2156
|
aprvKey: x
|
|
2094
2157
|
});
|
|
2095
2158
|
if (Array.isArray(m?.sub) && m.sub.length >= 1)
|
|
2096
|
-
return console.log("이미 승인된 기안입니다."), u &&
|
|
2159
|
+
return console.log("이미 승인된 기안입니다."), u && it(x), { skipped: !0, alreadyDrafted: !0, draftedRes: m };
|
|
2097
2160
|
}
|
|
2098
2161
|
let v;
|
|
2099
2162
|
if (t) {
|
|
2100
|
-
const m = await
|
|
2101
|
-
crprCd:
|
|
2163
|
+
const m = await ue(l, {
|
|
2164
|
+
crprCd: de(),
|
|
2102
2165
|
sysCd: __SYS_CD__,
|
|
2103
2166
|
fileGrpKey: t
|
|
2104
2167
|
}), y = Array.isArray(m?.sub) ? m.sub.filter((s) => s?.filePath && s?.lgclFileNm).map((s) => ({
|
|
@@ -2118,7 +2181,7 @@ const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2118
2181
|
}), name: d, status: "ready" };
|
|
2119
2182
|
}), a = await Promise.all(w);
|
|
2120
2183
|
if (y.length) {
|
|
2121
|
-
const s = await
|
|
2184
|
+
const s = await Oo(a);
|
|
2122
2185
|
if (!s || s.result !== "success")
|
|
2123
2186
|
throw new Error(s?.message || "파일 업로드 실패");
|
|
2124
2187
|
v = a;
|
|
@@ -2127,14 +2190,14 @@ const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2127
2190
|
console.warn("@@ payloadData", c), console.log(c);
|
|
2128
2191
|
const f = {
|
|
2129
2192
|
...c,
|
|
2130
|
-
crprCd:
|
|
2193
|
+
crprCd: de(),
|
|
2131
2194
|
aprvKey: x,
|
|
2132
2195
|
sysCd: __SYS_CD__,
|
|
2133
|
-
draftDt:
|
|
2196
|
+
draftDt: mt("YYYYMMDD"),
|
|
2134
2197
|
docTitle: h,
|
|
2135
2198
|
/** 연계값 추후 수정필요 */
|
|
2136
|
-
emplNo: c.emplNo ||
|
|
2137
|
-
dprtNo: c.dprtNo ||
|
|
2199
|
+
emplNo: c.emplNo || ke(),
|
|
2200
|
+
dprtNo: c.dprtNo || Te(),
|
|
2138
2201
|
formId: "2023000022",
|
|
2139
2202
|
/**
|
|
2140
2203
|
* 해당 그룹웨어 연계데이터는 추후 추가수정 필요
|
|
@@ -2148,22 +2211,22 @@ const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2148
2211
|
//양식키
|
|
2149
2212
|
bodyXml: c.bodyXml || "<div>test</div>",
|
|
2150
2213
|
title: h,
|
|
2151
|
-
deptCd: c.dprtNo ||
|
|
2152
|
-
userId: c.emplNo ||
|
|
2214
|
+
deptCd: c.dprtNo || Te(),
|
|
2215
|
+
userId: c.emplNo || ke(),
|
|
2153
2216
|
status: c.status || "INT"
|
|
2154
2217
|
}
|
|
2155
2218
|
// 그룹웨어 기안연계
|
|
2156
|
-
}, b = await
|
|
2157
|
-
return u && f?.aprvKey &&
|
|
2158
|
-
},
|
|
2219
|
+
}, b = await ue(n, f);
|
|
2220
|
+
return u && f?.aprvKey && it(x), { response: b, aprvKey: x };
|
|
2221
|
+
}, it = async (e, t) => {
|
|
2159
2222
|
if (!e)
|
|
2160
2223
|
return console.warn("openGwDraftByAprvKey: aprvKey가 필요합니다."), { opened: !1, reason: "missing_aprvKey" };
|
|
2161
2224
|
const {
|
|
2162
2225
|
draftUrlBase: r = "https://kgwd.krx.co.kr/ezConn/ezApprGate.do",
|
|
2163
2226
|
windowFeatures: n = "width=1000,height=600",
|
|
2164
2227
|
requireExisting: u = !1
|
|
2165
|
-
} = t || {}, l = await
|
|
2166
|
-
crprCd:
|
|
2228
|
+
} = t || {}, l = await ue("SCMINTF00101", {
|
|
2229
|
+
crprCd: de(),
|
|
2167
2230
|
sysCd: __SYS_CD__,
|
|
2168
2231
|
aprvKey: e
|
|
2169
2232
|
}), c = Array.isArray(l?.sub) && l.sub.length >= 1;
|
|
@@ -2180,33 +2243,33 @@ const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2180
2243
|
(s) => String.fromCharCode(s)
|
|
2181
2244
|
).join(""), a = `${r}?connkey=${btoa(w)}`;
|
|
2182
2245
|
return console.log("@@ url", a), window.open(a, "_blank", n), { opened: !0, hasExisting: c, url: a };
|
|
2183
|
-
},
|
|
2184
|
-
|
|
2246
|
+
}, E = ["#fff1f0", "#ffccc7", "#ffa39e", "#ff7875", "#ff4d4f", "#f5222d", "#cf1322", "#a8071a", "#820014", "#5c0011"];
|
|
2247
|
+
E.primary = E[5];
|
|
2185
2248
|
const P = ["#fff2e8", "#ffd8bf", "#ffbb96", "#ff9c6e", "#ff7a45", "#fa541c", "#d4380d", "#ad2102", "#871400", "#610b00"];
|
|
2186
2249
|
P.primary = P[5];
|
|
2187
|
-
const
|
|
2188
|
-
B.primary = B[5];
|
|
2189
|
-
const Y = ["#fffbe6", "#fff1b8", "#ffe58f", "#ffd666", "#ffc53d", "#faad14", "#d48806", "#ad6800", "#874d00", "#613400"];
|
|
2190
|
-
Y.primary = Y[5];
|
|
2191
|
-
const F = ["#feffe6", "#ffffb8", "#fffb8f", "#fff566", "#ffec3d", "#fadb14", "#d4b106", "#ad8b00", "#876800", "#614700"];
|
|
2192
|
-
F.primary = F[5];
|
|
2193
|
-
const L = ["#fcffe6", "#f4ffb8", "#eaff8f", "#d3f261", "#bae637", "#a0d911", "#7cb305", "#5b8c00", "#3f6600", "#254000"];
|
|
2194
|
-
L.primary = L[5];
|
|
2195
|
-
const E = ["#f6ffed", "#d9f7be", "#b7eb8f", "#95de64", "#73d13d", "#52c41a", "#389e0d", "#237804", "#135200", "#092b00"];
|
|
2196
|
-
E.primary = E[5];
|
|
2197
|
-
const R = ["#e6fffb", "#b5f5ec", "#87e8de", "#5cdbd3", "#36cfc9", "#13c2c2", "#08979c", "#006d75", "#00474f", "#002329"];
|
|
2250
|
+
const R = ["#fff7e6", "#ffe7ba", "#ffd591", "#ffc069", "#ffa940", "#fa8c16", "#d46b08", "#ad4e00", "#873800", "#612500"];
|
|
2198
2251
|
R.primary = R[5];
|
|
2199
|
-
const
|
|
2252
|
+
const N = ["#fffbe6", "#fff1b8", "#ffe58f", "#ffd666", "#ffc53d", "#faad14", "#d48806", "#ad6800", "#874d00", "#613400"];
|
|
2253
|
+
N.primary = N[5];
|
|
2254
|
+
const L = ["#feffe6", "#ffffb8", "#fffb8f", "#fff566", "#ffec3d", "#fadb14", "#d4b106", "#ad8b00", "#876800", "#614700"];
|
|
2255
|
+
L.primary = L[5];
|
|
2256
|
+
const B = ["#fcffe6", "#f4ffb8", "#eaff8f", "#d3f261", "#bae637", "#a0d911", "#7cb305", "#5b8c00", "#3f6600", "#254000"];
|
|
2257
|
+
B.primary = B[5];
|
|
2258
|
+
const U = ["#f6ffed", "#d9f7be", "#b7eb8f", "#95de64", "#73d13d", "#52c41a", "#389e0d", "#237804", "#135200", "#092b00"];
|
|
2200
2259
|
U.primary = U[5];
|
|
2260
|
+
const F = ["#e6fffb", "#b5f5ec", "#87e8de", "#5cdbd3", "#36cfc9", "#13c2c2", "#08979c", "#006d75", "#00474f", "#002329"];
|
|
2261
|
+
F.primary = F[5];
|
|
2262
|
+
const Y = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
|
|
2263
|
+
Y.primary = Y[5];
|
|
2201
2264
|
const H = ["#f0f5ff", "#d6e4ff", "#adc6ff", "#85a5ff", "#597ef7", "#2f54eb", "#1d39c4", "#10239e", "#061178", "#030852"];
|
|
2202
2265
|
H.primary = H[5];
|
|
2203
2266
|
const z = ["#f9f0ff", "#efdbff", "#d3adf7", "#b37feb", "#9254de", "#722ed1", "#531dab", "#391085", "#22075e", "#120338"];
|
|
2204
2267
|
z.primary = z[5];
|
|
2205
2268
|
const j = ["#fff0f6", "#ffd6e7", "#ffadd2", "#ff85c0", "#f759ab", "#eb2f96", "#c41d7f", "#9e1068", "#780650", "#520339"];
|
|
2206
2269
|
j.primary = j[5];
|
|
2207
|
-
const
|
|
2208
|
-
|
|
2209
|
-
const
|
|
2270
|
+
const je = ["#a6a6a6", "#999999", "#8c8c8c", "#808080", "#737373", "#666666", "#404040", "#1a1a1a", "#000000", "#000000"];
|
|
2271
|
+
je.primary = je[5];
|
|
2272
|
+
const G = je, Io = {
|
|
2210
2273
|
site: {
|
|
2211
2274
|
purple01: "var(--bwg-purple-1)",
|
|
2212
2275
|
purple02: "var(--bwg-purple-2)",
|
|
@@ -2235,16 +2298,16 @@ const K = ze, vo = {
|
|
|
2235
2298
|
yellow05: "var(--bwg-yellow-5)"
|
|
2236
2299
|
},
|
|
2237
2300
|
default: {
|
|
2238
|
-
red01:
|
|
2239
|
-
red02:
|
|
2240
|
-
red03:
|
|
2241
|
-
red04:
|
|
2242
|
-
red05:
|
|
2243
|
-
red06:
|
|
2244
|
-
red07:
|
|
2245
|
-
red08:
|
|
2246
|
-
red09:
|
|
2247
|
-
red10:
|
|
2301
|
+
red01: E[0],
|
|
2302
|
+
red02: E[1],
|
|
2303
|
+
red03: E[2],
|
|
2304
|
+
red04: E[3],
|
|
2305
|
+
red05: E[4],
|
|
2306
|
+
red06: E[5],
|
|
2307
|
+
red07: E[6],
|
|
2308
|
+
red08: E[7],
|
|
2309
|
+
red09: E[8],
|
|
2310
|
+
red10: E[9],
|
|
2248
2311
|
volcano01: P[0],
|
|
2249
2312
|
volcano02: P[1],
|
|
2250
2313
|
volcano03: P[2],
|
|
@@ -2255,76 +2318,76 @@ const K = ze, vo = {
|
|
|
2255
2318
|
volcano08: P[7],
|
|
2256
2319
|
volcano09: P[8],
|
|
2257
2320
|
volcano10: P[9],
|
|
2258
|
-
orange01:
|
|
2259
|
-
orange02:
|
|
2260
|
-
orange03:
|
|
2261
|
-
orange04:
|
|
2262
|
-
orange05:
|
|
2263
|
-
orange06:
|
|
2264
|
-
orange07:
|
|
2265
|
-
orange08:
|
|
2266
|
-
orange09:
|
|
2267
|
-
orange10:
|
|
2268
|
-
lime01:
|
|
2269
|
-
lime02:
|
|
2270
|
-
lime03:
|
|
2271
|
-
lime04:
|
|
2272
|
-
lime05:
|
|
2273
|
-
lime06:
|
|
2274
|
-
lime07:
|
|
2275
|
-
lime08:
|
|
2276
|
-
lime09:
|
|
2277
|
-
lime10:
|
|
2278
|
-
gold01:
|
|
2279
|
-
gold02:
|
|
2280
|
-
gold03:
|
|
2281
|
-
gold04:
|
|
2282
|
-
gold05:
|
|
2283
|
-
gold06:
|
|
2284
|
-
gold07:
|
|
2285
|
-
gold08:
|
|
2286
|
-
gold09:
|
|
2287
|
-
gold10:
|
|
2288
|
-
yellow01:
|
|
2289
|
-
yellow02:
|
|
2290
|
-
yellow03:
|
|
2291
|
-
yellow04:
|
|
2292
|
-
yellow05:
|
|
2293
|
-
yellow06:
|
|
2294
|
-
yellow07:
|
|
2295
|
-
yellow08:
|
|
2296
|
-
yellow09:
|
|
2297
|
-
yellow10:
|
|
2298
|
-
green01:
|
|
2299
|
-
green02:
|
|
2300
|
-
green03:
|
|
2301
|
-
green04:
|
|
2302
|
-
green05:
|
|
2303
|
-
green06:
|
|
2304
|
-
green07:
|
|
2305
|
-
green08:
|
|
2306
|
-
green09:
|
|
2307
|
-
green10:
|
|
2308
|
-
cyan01:
|
|
2309
|
-
cyan02:
|
|
2310
|
-
cyan03:
|
|
2311
|
-
cyan04:
|
|
2312
|
-
cyan05:
|
|
2313
|
-
cyan06:
|
|
2314
|
-
cyan07:
|
|
2315
|
-
cyan08:
|
|
2316
|
-
cyan09:
|
|
2317
|
-
cyan10:
|
|
2318
|
-
blue01:
|
|
2319
|
-
blue02:
|
|
2320
|
-
blue03:
|
|
2321
|
-
blue04:
|
|
2322
|
-
blue05:
|
|
2323
|
-
blue06:
|
|
2324
|
-
blue07:
|
|
2325
|
-
blue08:
|
|
2326
|
-
blue09:
|
|
2327
|
-
blue10:
|
|
2321
|
+
orange01: R[0],
|
|
2322
|
+
orange02: R[1],
|
|
2323
|
+
orange03: R[2],
|
|
2324
|
+
orange04: R[3],
|
|
2325
|
+
orange05: R[4],
|
|
2326
|
+
orange06: R[5],
|
|
2327
|
+
orange07: R[6],
|
|
2328
|
+
orange08: R[7],
|
|
2329
|
+
orange09: R[8],
|
|
2330
|
+
orange10: R[9],
|
|
2331
|
+
lime01: B[0],
|
|
2332
|
+
lime02: B[1],
|
|
2333
|
+
lime03: B[2],
|
|
2334
|
+
lime04: B[3],
|
|
2335
|
+
lime05: B[4],
|
|
2336
|
+
lime06: B[5],
|
|
2337
|
+
lime07: B[6],
|
|
2338
|
+
lime08: B[7],
|
|
2339
|
+
lime09: B[8],
|
|
2340
|
+
lime10: B[9],
|
|
2341
|
+
gold01: N[0],
|
|
2342
|
+
gold02: N[1],
|
|
2343
|
+
gold03: N[2],
|
|
2344
|
+
gold04: N[3],
|
|
2345
|
+
gold05: N[4],
|
|
2346
|
+
gold06: N[5],
|
|
2347
|
+
gold07: N[6],
|
|
2348
|
+
gold08: N[7],
|
|
2349
|
+
gold09: N[8],
|
|
2350
|
+
gold10: N[9],
|
|
2351
|
+
yellow01: L[0],
|
|
2352
|
+
yellow02: L[1],
|
|
2353
|
+
yellow03: L[2],
|
|
2354
|
+
yellow04: L[3],
|
|
2355
|
+
yellow05: L[4],
|
|
2356
|
+
yellow06: L[5],
|
|
2357
|
+
yellow07: L[6],
|
|
2358
|
+
yellow08: L[7],
|
|
2359
|
+
yellow09: L[8],
|
|
2360
|
+
yellow10: L[9],
|
|
2361
|
+
green01: U[0],
|
|
2362
|
+
green02: U[1],
|
|
2363
|
+
green03: U[2],
|
|
2364
|
+
green04: U[3],
|
|
2365
|
+
green05: U[4],
|
|
2366
|
+
green06: U[5],
|
|
2367
|
+
green07: U[6],
|
|
2368
|
+
green08: U[7],
|
|
2369
|
+
green09: U[8],
|
|
2370
|
+
green10: U[9],
|
|
2371
|
+
cyan01: F[0],
|
|
2372
|
+
cyan02: F[1],
|
|
2373
|
+
cyan03: F[2],
|
|
2374
|
+
cyan04: F[3],
|
|
2375
|
+
cyan05: F[4],
|
|
2376
|
+
cyan06: F[5],
|
|
2377
|
+
cyan07: F[6],
|
|
2378
|
+
cyan08: F[7],
|
|
2379
|
+
cyan09: F[8],
|
|
2380
|
+
cyan10: F[9],
|
|
2381
|
+
blue01: Y[0],
|
|
2382
|
+
blue02: Y[1],
|
|
2383
|
+
blue03: Y[2],
|
|
2384
|
+
blue04: Y[3],
|
|
2385
|
+
blue05: Y[4],
|
|
2386
|
+
blue06: Y[5],
|
|
2387
|
+
blue07: Y[6],
|
|
2388
|
+
blue08: Y[7],
|
|
2389
|
+
blue09: Y[8],
|
|
2390
|
+
blue10: Y[9],
|
|
2328
2391
|
geekblue01: H[0],
|
|
2329
2392
|
geekblue02: H[1],
|
|
2330
2393
|
geekblue03: H[2],
|
|
@@ -2355,178 +2418,187 @@ const K = ze, vo = {
|
|
|
2355
2418
|
magenta08: j[7],
|
|
2356
2419
|
magenta09: j[8],
|
|
2357
2420
|
magenta10: j[9],
|
|
2358
|
-
gray01:
|
|
2359
|
-
gray02:
|
|
2360
|
-
gray03:
|
|
2361
|
-
gray04:
|
|
2362
|
-
gray05:
|
|
2363
|
-
gray06:
|
|
2364
|
-
gray07:
|
|
2365
|
-
gray08:
|
|
2366
|
-
gray09:
|
|
2367
|
-
gray10:
|
|
2421
|
+
gray01: G[0],
|
|
2422
|
+
gray02: G[1],
|
|
2423
|
+
gray03: G[2],
|
|
2424
|
+
gray04: G[3],
|
|
2425
|
+
gray05: G[4],
|
|
2426
|
+
gray06: G[5],
|
|
2427
|
+
gray07: G[6],
|
|
2428
|
+
gray08: G[7],
|
|
2429
|
+
gray09: G[8],
|
|
2430
|
+
gray10: G[9]
|
|
2368
2431
|
},
|
|
2369
2432
|
status: {
|
|
2370
|
-
error:
|
|
2371
|
-
warning:
|
|
2372
|
-
success:
|
|
2373
|
-
info:
|
|
2433
|
+
error: E[5],
|
|
2434
|
+
warning: N[5],
|
|
2435
|
+
success: U[5],
|
|
2436
|
+
info: Y[5]
|
|
2374
2437
|
}
|
|
2375
|
-
},
|
|
2438
|
+
}, Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2376
2439
|
__proto__: null,
|
|
2377
|
-
colorFormat:
|
|
2378
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2379
|
-
...Nt,
|
|
2380
|
-
...gt,
|
|
2381
|
-
...Ct,
|
|
2382
|
-
...Yt,
|
|
2440
|
+
colorFormat: Io
|
|
2441
|
+
}, Symbol.toStringTag, { value: "Module" })), Bo = Ut, Fo = vt, Ho = _t, zo = Yt, jo = At, qo = Rt, Vo = Tt, Wo = lt, Go = It, Ko = Lt, Zo = {
|
|
2383
2442
|
...Ut,
|
|
2443
|
+
...vt,
|
|
2384
2444
|
..._t,
|
|
2385
|
-
...
|
|
2386
|
-
...
|
|
2387
|
-
|
|
2388
|
-
...
|
|
2445
|
+
...Yt,
|
|
2446
|
+
...At,
|
|
2447
|
+
...Rt,
|
|
2448
|
+
...Tt,
|
|
2449
|
+
...lt,
|
|
2450
|
+
...It,
|
|
2451
|
+
realFormat: Do,
|
|
2452
|
+
...Lt
|
|
2389
2453
|
};
|
|
2390
2454
|
export {
|
|
2391
2455
|
ne as ApiError,
|
|
2392
2456
|
ae as DEFAULT_FMT,
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2457
|
+
Ve as DEFAULT_SERVICE_CODES,
|
|
2458
|
+
Tr as THEME_COOKIE_NAME,
|
|
2459
|
+
Sn as add,
|
|
2460
|
+
Bo as apiUtils,
|
|
2461
|
+
Gr as arrAverage,
|
|
2462
|
+
Zr as arrCount,
|
|
2463
|
+
Vr as arrMax,
|
|
2464
|
+
Wr as arrMin,
|
|
2465
|
+
Jr as arrReverse,
|
|
2466
|
+
Kr as arrSum,
|
|
2467
|
+
qr as arrUnique,
|
|
2468
|
+
Zo as bwgUtils,
|
|
2469
|
+
oo as callEndpoint,
|
|
2470
|
+
ue as callService,
|
|
2471
|
+
so as callServiceByAppCd,
|
|
2472
|
+
en as clamp,
|
|
2473
|
+
vo as clearAllGridLayouts,
|
|
2474
|
+
yo as clearGridLayouts,
|
|
2475
|
+
sn as clearSessionStorage,
|
|
2476
|
+
So as closeAllMessages,
|
|
2477
|
+
Co as closeMessage,
|
|
2478
|
+
In as closeNotification,
|
|
2479
|
+
Io as colorFormat,
|
|
2480
|
+
Ko as colorUtils,
|
|
2481
|
+
Fo as commonUtils,
|
|
2482
|
+
Mn as configureEnvUtils,
|
|
2483
|
+
Br as copyToClipboard,
|
|
2484
|
+
fo as createBwgGridRenderer,
|
|
2485
|
+
Lr as debounce,
|
|
2486
|
+
Zo as default,
|
|
2487
|
+
un as deleteCookie,
|
|
2488
|
+
On as destroyNotifications,
|
|
2489
|
+
_n as diff,
|
|
2490
|
+
co as downloadByFileKey,
|
|
2491
|
+
io as downloadFile,
|
|
2492
|
+
Xr as duplicates,
|
|
2493
|
+
yn as encryptSha256,
|
|
2494
|
+
Cn as endOf,
|
|
2495
|
+
Ho as envUtils,
|
|
2496
|
+
zo as fileUtils,
|
|
2497
|
+
gt as format,
|
|
2498
|
+
jr as generateRandomColor,
|
|
2499
|
+
pt as generateRandomString,
|
|
2500
|
+
We as generateUID,
|
|
2501
|
+
ut as getAllServiceCodes,
|
|
2435
2502
|
re as getApiDeps,
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2503
|
+
Nt as getClientIp,
|
|
2504
|
+
cn as getCookie,
|
|
2505
|
+
de as getCrprCd,
|
|
2506
|
+
Hn as getDepartmentInfo,
|
|
2507
|
+
Oe as getDeviceType,
|
|
2508
|
+
Fn as getDisplayName,
|
|
2509
|
+
Te as getDprtCd,
|
|
2510
|
+
Ot as getDprtNm,
|
|
2511
|
+
Nn as getEmplNo,
|
|
2512
|
+
kn as getEnvCode,
|
|
2513
|
+
Un as getFullDprtCd,
|
|
2514
|
+
Yn as getFullDprtNm,
|
|
2515
|
+
ho as getGridLayout,
|
|
2516
|
+
po as getGridLayouts,
|
|
2517
|
+
le as getHrInfo,
|
|
2518
|
+
qn as getJbdtCd,
|
|
2519
|
+
jn as getJbgdCd,
|
|
2520
|
+
Vn as getJbkdCd,
|
|
2521
|
+
zn as getJbpsCd,
|
|
2522
|
+
ao as getPermissionService,
|
|
2454
2523
|
Ne as getRoleList,
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
An as
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2524
|
+
ct as getServiceCode,
|
|
2525
|
+
nn as getSessionStorage,
|
|
2526
|
+
mt as getTodateString,
|
|
2527
|
+
En as getUserDvsn,
|
|
2528
|
+
ke as getUserId,
|
|
2529
|
+
pe as getUserInfo,
|
|
2530
|
+
Dt as getUserNm,
|
|
2531
|
+
Wn as getWkplCd,
|
|
2532
|
+
jo as gridUtils,
|
|
2533
|
+
Rn as hasAllRoles,
|
|
2534
|
+
Pn as hasAnyRole,
|
|
2535
|
+
An as hasRole,
|
|
2536
|
+
Bn as hasUserInfo,
|
|
2537
|
+
$n as initApiDeps,
|
|
2538
|
+
Ur as isArray,
|
|
2539
|
+
Ir as isBoolean,
|
|
2540
|
+
zr as isDesktop,
|
|
2541
|
+
Ct as isDev,
|
|
2542
|
+
dt as isEmpty,
|
|
2473
2543
|
Ie as isEmptyArray,
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2544
|
+
Er as isFunction,
|
|
2545
|
+
Ge as isLocal,
|
|
2546
|
+
Ln as isLoggedIn,
|
|
2547
|
+
Fr as isMobile,
|
|
2548
|
+
Yr as isNull,
|
|
2549
|
+
Pr as isNullOrUndefined,
|
|
2550
|
+
Or as isNumber,
|
|
2551
|
+
Nr as isObject,
|
|
2552
|
+
St as isProd,
|
|
2553
|
+
ln as isSafeEmpty,
|
|
2554
|
+
Dr as isString,
|
|
2555
|
+
Hr as isTablet,
|
|
2556
|
+
Ar as isUndefined,
|
|
2557
|
+
Ee as isValid,
|
|
2558
|
+
vn as isValidDate,
|
|
2559
|
+
dn as isValidEmail,
|
|
2560
|
+
pn as isValidUrl,
|
|
2561
|
+
wn as isValidYear,
|
|
2562
|
+
bn as isValidYearMonth,
|
|
2563
|
+
Gt as logServiceCodeConfig,
|
|
2564
|
+
qo as messageUtils,
|
|
2565
|
+
$t as notiBwgError,
|
|
2566
|
+
Dn as notiError,
|
|
2567
|
+
Mt as notiInfo,
|
|
2568
|
+
Tn as notiSuccess,
|
|
2569
|
+
kt as notiWarning,
|
|
2500
2570
|
J as notificationService,
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2571
|
+
Vo as notificationUtils,
|
|
2572
|
+
ht as now,
|
|
2573
|
+
it as openGwDraftByAprvKey,
|
|
2574
|
+
hn as padLeft,
|
|
2575
|
+
mn as padRight,
|
|
2576
|
+
Qr as random,
|
|
2577
|
+
Do as realFormat,
|
|
2578
|
+
go as removeGridLayout,
|
|
2579
|
+
on as removeSessionStorage,
|
|
2580
|
+
tn as round,
|
|
2581
|
+
mo as saveGridLayout,
|
|
2582
|
+
Wo as serviceUtils,
|
|
2583
|
+
Et as setClientIp,
|
|
2584
|
+
an as setCookie,
|
|
2585
|
+
Wt as setServiceCodeOverrides,
|
|
2586
|
+
rn as setSessionStorage,
|
|
2587
|
+
_o as showApiError,
|
|
2588
|
+
ko as showDuplicateError,
|
|
2589
|
+
he as showError,
|
|
2590
|
+
bo as showInfo,
|
|
2591
|
+
xo as showLoading,
|
|
2592
|
+
To as showRequiredError,
|
|
2593
|
+
Mo as showSaveError,
|
|
2594
|
+
$o as showSaveSuccess,
|
|
2595
|
+
Pt as showSuccess,
|
|
2596
|
+
wo as showWarning,
|
|
2597
|
+
xn as startOf,
|
|
2598
|
+
Lo as submitGwApproval,
|
|
2599
|
+
Rr as throttle,
|
|
2600
|
+
fn as toCamelCase,
|
|
2601
|
+
Oo as uploadFilesViaSftp,
|
|
2602
|
+
Go as userUtils,
|
|
2603
|
+
no as verifyClientIp
|
|
2532
2604
|
};
|