@bwg-ui/core 1.3.5 → 1.3.7
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-CuGDAfFM.cjs → CMSearchIntfGwP01-0t3umcc_.cjs} +1 -1
- package/dist/chunks/{CMSearchIntfGwP01-DBpDpgQr.js → CMSearchIntfGwP01-DCHZJn2H.js} +1 -1
- package/dist/chunks/{MenuReport-yw8tZDUk.cjs → MenuReport-C70mGz2g.cjs} +1 -1
- package/dist/chunks/{MenuReport-CCbCy7yt.js → MenuReport-IBdoU2S3.js} +2 -2
- package/dist/chunks/common-components-DNgQR-Ge.cjs +1109 -0
- package/dist/chunks/{common-components-DtzVj5lz.js → common-components-DeYL3J6X.js} +13058 -13574
- package/dist/chunks/layout-components-Bf9IsLUS.cjs +38 -0
- package/dist/chunks/{layout-components-ljht1sHh.js → layout-components-DnuV2Psp.js} +831 -759
- package/dist/chunks/provider-Bi5OYngn.cjs +1 -0
- package/dist/chunks/{provider-Kxea5IoZ.js → provider-Bx4VpaFf.js} +90 -74
- package/dist/components/common/BwgGrid.d.ts +31 -8
- package/dist/components/common/BwgGrid.d.ts.map +1 -1
- package/dist/components/common/BwgView.d.ts.map +1 -1
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/core/BwgEmpSearch.d.ts +2 -2
- package/dist/components/core/BwgEmpSearch.d.ts.map +1 -1
- package/dist/components/core/BwgMaskedDate.d.ts.map +1 -1
- package/dist/components/core/BwgMaskedRange.d.ts.map +1 -1
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.js +211 -208
- package/dist/components/guide/index.cjs +1 -1
- package/dist/components/guide/index.js +2 -2
- package/dist/components/layout/AppWrapper.d.ts +5 -1
- package/dist/components/layout/AppWrapper.d.ts.map +1 -1
- package/dist/components/layout/BwgCoreLogin.d.ts.map +1 -1
- package/dist/components/layout/BwgPortal01.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/board/CMMyBoardM01.d.ts.map +1 -1
- package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts.map +1 -1
- package/dist/components/popup/SearchOrganizationP01.d.ts.map +1 -1
- package/dist/components/popup/SearchOrganizationP02.d.ts.map +1 -1
- package/dist/components/popup/index.cjs +1 -1
- package/dist/components/popup/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +273 -271
- package/dist/provider/contexts/PageContentContext.d.ts +23 -0
- package/dist/provider/contexts/PageContentContext.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/index.cjs +1 -1
- package/dist/provider/index.js +21 -19
- package/dist/public/realgrid/css/realgrid-style-custom.css +6 -10
- package/dist/stores/index.cjs +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/styles/assets/images/backgrounds/kiam_login_bg.png +0 -0
- package/dist/styles/assets/images/header/icon/ico-bell.svg +3 -3
- package/dist/styles/assets/images/header/icon/ico-logout.svg +10 -10
- package/dist/styles/assets/images/header/icon/ico-setting.svg +4 -4
- package/dist/styles/assets/images/header/icon/ico-sidebar-arrow.svg +3 -3
- package/dist/styles/components_02.css +35 -0
- package/dist/styles/global.css +9 -1
- package/dist/styles/index.css +3 -0
- package/dist/styles/layout.css +14 -4
- package/dist/styles/layout_02.css +99 -0
- package/dist/styles/login.css +7 -44
- package/dist/styles/login_02.css +35 -0
- package/dist/utils/apiUtils.d.ts.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.ts +16 -22
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1253 -1222
- package/dist/utils/messageUtils.d.ts +36 -48
- package/dist/utils/messageUtils.d.ts.map +1 -1
- package/dist/utils/modalUtils.d.ts +68 -0
- package/dist/utils/modalUtils.d.ts.map +1 -0
- package/dist/utils/notificationUtils.d.ts +50 -41
- package/dist/utils/notificationUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/common-components-CbkWoYfX.cjs +0 -1111
- package/dist/chunks/layout-components-BzLAGXiu.cjs +0 -38
- package/dist/chunks/provider-r4mkv5Zs.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const k=require("../stores/index.cjs"),r=require("react"),a=require("react/jsx-runtime"),R=require("antd"),P=require("../utils/index.cjs"),B=r.createContext(null),U=({children:e,serviceCodes:t={}})=>{P.setServiceCodeOverrides(t),r.useLayoutEffect(()=>{P.setServiceCodeOverrides(t)},[t]);const s={serviceCodes:t,getServiceCode:n=>t[n]&&t[n].trim()!==""?t[n]:P.DEFAULT_SERVICE_CODES[n]};return a.jsx(B.Provider,{value:s,children:e})},L=()=>{const e=r.useContext(B);if(!e)throw new Error("useServiceCode must be used within a ServiceCodeProvider");return e},_=e=>{const{getServiceCode:t}=L();return t(e)},G=()=>{const{getServiceCode:e}=L(),t={};for(const o of Object.keys(P.DEFAULT_SERVICE_CODES))t[o]=e(o);return t},q=()=>{const{getServiceCode:e}=L();console.log("🔧 bwg-core 서비스코드 설정:"),console.log("📋 Provider 설정 > 기본값 순서로 확인");for(const t of Object.keys(P.DEFAULT_SERVICE_CODES)){const o=e(t);console.log(` ${t}: ${o}`)}},D=r.createContext(null),W=({children:e,menuId:t})=>a.jsx(D.Provider,{value:{menuId:t},children:e}),$=()=>r.useContext(D),J=()=>{const{componentSize:e}=k.useUserStore();return r.useMemo(()=>{const o={0:12,1:14,2:16},s={0:"small",1:"middle",2:"large"};return{fontSize:o[e],componentSize:s[e]}},[e])},H=()=>{const{gridSize:e}=k.useUserStore();return r.useMemo(()=>{const o={0:12,1:13,2:14},s={0:"small",1:"middle",2:"large"},n={0:24,1:30,2:35},u={0:200,1:220,2:250};return{fontSize:o[e],componentSize:s[e],buttonSize:n[e],width:u[e]}},[e])},F=r.createContext(null),Q=({children:e})=>{const t=r.useRef(null),d={searchBoxRef:t,getFormData:()=>t.current?.getFormData()||{},setFormData:C=>{t.current?.setFormData(C)},setDefaultValue:C=>{t.current?.setDefaultValue(C)},resetForm:()=>{t.current?.resetForm()},validateForm:async()=>await t.current?.validateForm()||{success:!1,error:null}};return a.jsx(F.Provider,{value:d,children:e})},X=()=>{const e=r.useContext(F);if(!e)throw new Error("useSearchBox must be used within a SearchBoxProvider");return e},Y=()=>{const{popups:e,activePopupId:t,setActivePopup:o,closePopup:s,openPopup:n,openCorePopup:u}=k.usePopupStore(),p=r.useCallback(async(C,v,c)=>{try{await n(C,v,c)}catch(i){throw console.error("팝업 열기 실패:",i),i}},[n]),d=r.useCallback((C,v)=>{try{u(C,v)}catch(c){throw console.error("로컬 팝업 열기 실패:",c),c}},[u]);return{popups:e,activePopupId:t,setActivePopup:o,closePopup:s,showPopup:p,openCorePopup:d,isPopup:e.length>0}},O=r.createContext(null),Z=()=>{const e=r.useContext(O);if(!e)throw new Error("useAuth must be used within AuthProvider");return e},K=({children:e})=>{const[t,o]=r.useState(!1),[s,n]=r.useState(!1),u=async c=>{const i=(await c.text()).trim().toLowerCase();try{const l=JSON.parse(i);if(typeof l=="object"&&l&&(l.ok===!0||l.success===!0))return!0}catch{}return!!["true","ok","1","y"].includes(i)},p=async c=>{n(!0);try{const i=await fetch("/serviceEndpoint/sso_check.jsp",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"token="+encodeURIComponent(c)}),l=i.ok&&await u(i);return o(l),l}catch{return!1}finally{n(!1)}},d=async c=>{n(!0);try{const i=await fetch("/serviceEndpoint/sso_reauth.jsp",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"pin="+encodeURIComponent(c)});return i.ok&&await u(i)?(o(!0),!0):!1}catch{return!1}finally{n(!1)}},C=()=>{o(!1)},v=r.useMemo(()=>({authed:t,busy:s,verifyWithToken:p,reauthWithPin:d,logout:C}),[t,s]);return a.jsx(O.Provider,{value:v,children:e})},V=r.createContext(void 0),ee=({children:e})=>{const{codeData:t,isLoading:o,error:s,lastUpdated:n,getCodeList:u,getCodeListByOption:p,getCodeName:d,getCodeColor:C,getCodeByOption:v,getAvailableGroupCodes:c,getGridLookup:i,fetchCommonCodes:l}=k.useCodeStore(),E={codeData:t,isLoading:o,error:s,lastUpdated:n,getCodeList:u,getCodeListByOption:p,getCodeName:d,getCodeColor:C,getCodeByOption:v,getAvailableGroupCodes:c,getGridLookup:i,refreshCodes:l};return a.jsx(V.Provider,{value:E,children:e})},h=()=>{const e=r.useContext(V);if(e===void 0)throw new Error("useCommonCode must be used within a CommonCodeProvider");return e},te=()=>{const{getCodeList:e,isLoading:t,error:o}=h();return{getCodeList:e,isLoading:t,error:o}},oe=()=>{const{getCodeName:e,isLoading:t,error:o}=h();return{getCodeName:e,isLoading:t,error:o}},re=()=>{const{getCodeColor:e,isLoading:t,error:o}=h();return{getCodeColor:e,isLoading:t,error:o}},ne=()=>{const{getCodeListByOption:e,isLoading:t,error:o}=h();return{getCodeListByOption:e,isLoading:t,error:o}},se=()=>{const{getGridLookup:e,isLoading:t,error:o}=h();return{getGridLookup:e,isLoading:t,error:o}},A=r.createContext(void 0),ce=({children:e})=>{const[t,o]=r.useState(void 0),[s,n]=r.useState(void 0);return a.jsx(A.Provider,{value:{title:t,setTitle:o,extra:s,setExtra:n},children:e})},ie=()=>{const e=r.useContext(A);if(!e)throw new Error("usePageContent must be used within a PageContentProvider");return e},I=r.createContext(null),ue=()=>{const e=r.useContext(I);if(!e)throw new Error("useLock must be used within ScreenProtectProvider");return e},ae=({children:e,idleMs:t=1e4,onUnlock:o,persistLocked:s=!0,storageKey:n="inactivityLocked",eventTarget:u,overlayScope:p="global",overlayId:d="lock-overlay-root",overlayPosition:C="fixed"})=>{const v=s&&typeof window<"u"&&window.localStorage.getItem(n)==="1",[c,i]=r.useState(v),[l,E]=r.useState(t),y=Number.isFinite(l)&&l>0,w=r.useRef(null),T=()=>{try{s&&window.localStorage.setItem(n,"1")}catch{}i(!0)},j=async m=>{if(!(o&&!await o(m))){try{s&&window.localStorage.removeItem(n)}catch{}i(!1),y&&b()}},M=()=>{try{s&&window.localStorage.setItem(n,"1")}catch{}i(!0)},b=()=>{y&&(w.current&&window.clearTimeout(w.current),w.current=window.setTimeout(()=>{M()},l))};r.useEffect(()=>{if(!y)return;const m=()=>{c||b()},g={passive:!0},S=["pointermove","pointerdown","keydown","wheel","touchstart"],x=u??window;return S.forEach(f=>x.addEventListener(f,m,g)),b(),()=>{w.current&&window.clearTimeout(w.current),S.forEach(f=>x.removeEventListener(f,m))}},[l,c,u,y]),r.useEffect(()=>{if(!c)return;const m=f=>{const z=document.getElementById(d);z&&z.contains(f.target)||(f.stopPropagation(),f.preventDefault())},g={capture:!0},S=["pointerdown","pointerup","pointermove","click","wheel","keydown","keyup","touchstart","touchmove"],x=p==="scoped"?u??window:window;return S.forEach(f=>x.addEventListener(f,m,g)),()=>S.forEach(f=>x.removeEventListener(f,m,g))},[c,p,d,u]);const N=r.useMemo(()=>({locked:c,lock:T,unlock:j,setIdleMs:E}),[c]);return a.jsxs(I.Provider,{value:N,children:[a.jsx("div",{style:{width:"100%",height:"100%"},...c?{inert:""}:{},...c?{"aria-hidden":!0}:{},children:e}),c&&a.jsx(de,{onUnlock:j,overlayId:d,overlayPosition:C})]})},de=({onUnlock:e,overlayId:t="lock-overlay-root",overlayPosition:o="fixed"})=>{const[s]=r.useState(4),[n,u]=r.useState("");return a.jsx("div",{id:t,"aria-modal":"true",role:"dialog","aria-label":"Locked screen",style:{position:o,inset:0,background:"rgba(12, 14, 18, 0.85)",backdropFilter:"blur(4px)",display:"grid",placeItems:"center",zIndex:9999},children:a.jsxs("div",{className:"lockscreen-form",style:{width:420,maxWidth:"92vw"},children:[a.jsx("div",{className:"lock-icon-wrap",children:a.jsx("span",{className:"lock-icon-box"})}),a.jsx("h2",{children:"잠금됨"}),a.jsx("p",{children:"PIN 번호를 입력하세요"}),a.jsx("div",{className:"lock-ipt-wrap",style:{display:"flex",justifyContent:"center"},children:a.jsx(R.Input.OTP,{mask:"*",autoFocus:!0,length:s,value:n,onChange:p=>{const d=(p??"").replace(/\D/g,"").slice(0,s);u(d),d.length===s&&e(d)}})})]})})};exports.AuthProvider=K;exports.BwgViewProvider=W;exports.CommonCodeProvider=ee;exports.PageContentProvider=ce;exports.ScreenProtectProvider=ae;exports.SearchBoxProvider=Q;exports.ServiceCodeProvider=U;exports.useAllServiceCodes=G;exports.useAuth=Z;exports.useBwgView=$;exports.useCodeColor=re;exports.useCodeList=te;exports.useCodeListByOption=ne;exports.useCodeName=oe;exports.useCommonCode=h;exports.useGridLookup=se;exports.useGridSizeConfig=H;exports.useLock=ue;exports.useLogServiceCodeConfig=q;exports.usePageContent=ie;exports.usePopup=Y;exports.useSearchBox=X;exports.useServiceCode=L;exports.useServiceCodeValue=_;exports.useSizeConfig=J;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useUserStore as A, usePopupStore as
|
|
2
|
-
import { useLayoutEffect as
|
|
1
|
+
import { useUserStore as A, usePopupStore as H, useCodeStore as Q } from "../stores/index.js";
|
|
2
|
+
import { useLayoutEffect as X, createContext as v, useContext as C, useMemo as L, useRef as j, useCallback as I, useState as h, useEffect as O } from "react";
|
|
3
3
|
import { jsx as d, jsxs as N } from "react/jsx-runtime";
|
|
4
|
-
import { Input as
|
|
4
|
+
import { Input as Y } from "antd";
|
|
5
5
|
import { setServiceCodeOverrides as V, DEFAULT_SERVICE_CODES as z } from "../utils/index.js";
|
|
6
|
-
const T =
|
|
6
|
+
const T = v(null), ne = ({
|
|
7
7
|
children: e,
|
|
8
8
|
serviceCodes: t = {}
|
|
9
9
|
}) => {
|
|
10
|
-
V(t),
|
|
10
|
+
V(t), X(() => {
|
|
11
11
|
V(t);
|
|
12
12
|
}, [t]);
|
|
13
13
|
const n = {
|
|
@@ -16,29 +16,29 @@ const T = C(null), re = ({
|
|
|
16
16
|
};
|
|
17
17
|
return /* @__PURE__ */ d(T.Provider, { value: n, children: e });
|
|
18
18
|
}, B = () => {
|
|
19
|
-
const e =
|
|
19
|
+
const e = C(T);
|
|
20
20
|
if (!e)
|
|
21
21
|
throw new Error("useServiceCode must be used within a ServiceCodeProvider");
|
|
22
22
|
return e;
|
|
23
|
-
},
|
|
23
|
+
}, se = (e) => {
|
|
24
24
|
const { getServiceCode: t } = B();
|
|
25
25
|
return t(e);
|
|
26
|
-
},
|
|
26
|
+
}, ce = () => {
|
|
27
27
|
const { getServiceCode: e } = B(), t = {};
|
|
28
28
|
for (const o of Object.keys(z))
|
|
29
29
|
t[o] = e(o);
|
|
30
30
|
return t;
|
|
31
|
-
},
|
|
31
|
+
}, ie = () => {
|
|
32
32
|
const { getServiceCode: e } = B();
|
|
33
33
|
console.log("🔧 bwg-core 서비스코드 설정:"), console.log("📋 Provider 설정 > 기본값 순서로 확인");
|
|
34
34
|
for (const t of Object.keys(z)) {
|
|
35
35
|
const o = e(t);
|
|
36
36
|
console.log(` ${t}: ${o}`);
|
|
37
37
|
}
|
|
38
|
-
}, M =
|
|
38
|
+
}, M = v(null), ae = ({
|
|
39
39
|
children: e,
|
|
40
40
|
menuId: t
|
|
41
|
-
}) => /* @__PURE__ */ d(M.Provider, { value: { menuId: t }, children: e }),
|
|
41
|
+
}) => /* @__PURE__ */ d(M.Provider, { value: { menuId: t }, children: e }), ue = () => C(M), de = () => {
|
|
42
42
|
const { componentSize: e } = A();
|
|
43
43
|
return L(() => {
|
|
44
44
|
const o = {
|
|
@@ -58,7 +58,7 @@ const T = C(null), re = ({
|
|
|
58
58
|
componentSize: n[e]
|
|
59
59
|
};
|
|
60
60
|
}, [e]);
|
|
61
|
-
},
|
|
61
|
+
}, le = () => {
|
|
62
62
|
const { gridSize: e } = A();
|
|
63
63
|
return L(() => {
|
|
64
64
|
const o = {
|
|
@@ -94,7 +94,7 @@ const T = C(null), re = ({
|
|
|
94
94
|
width: i[e]
|
|
95
95
|
};
|
|
96
96
|
}, [e]);
|
|
97
|
-
}, R =
|
|
97
|
+
}, R = v(null), pe = ({ children: e }) => {
|
|
98
98
|
const t = j(null), a = {
|
|
99
99
|
searchBoxRef: t,
|
|
100
100
|
getFormData: () => t.current?.getFormData() || {},
|
|
@@ -113,12 +113,12 @@ const T = C(null), re = ({
|
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
return /* @__PURE__ */ d(R.Provider, { value: a, children: e });
|
|
116
|
-
},
|
|
117
|
-
const e =
|
|
116
|
+
}, fe = () => {
|
|
117
|
+
const e = C(R);
|
|
118
118
|
if (!e)
|
|
119
119
|
throw new Error("useSearchBox must be used within a SearchBoxProvider");
|
|
120
120
|
return e;
|
|
121
|
-
},
|
|
121
|
+
}, me = () => {
|
|
122
122
|
const {
|
|
123
123
|
popups: e,
|
|
124
124
|
activePopupId: t,
|
|
@@ -126,7 +126,7 @@ const T = C(null), re = ({
|
|
|
126
126
|
closePopup: n,
|
|
127
127
|
openPopup: r,
|
|
128
128
|
openCorePopup: i
|
|
129
|
-
} =
|
|
129
|
+
} = H(), p = I(
|
|
130
130
|
async (l, m, s) => {
|
|
131
131
|
try {
|
|
132
132
|
await r(l, m, s);
|
|
@@ -154,12 +154,12 @@ const T = C(null), re = ({
|
|
|
154
154
|
openCorePopup: a,
|
|
155
155
|
isPopup: e.length > 0
|
|
156
156
|
};
|
|
157
|
-
}, G =
|
|
158
|
-
const e =
|
|
157
|
+
}, G = v(null), he = () => {
|
|
158
|
+
const e = C(G);
|
|
159
159
|
if (!e) throw new Error("useAuth must be used within AuthProvider");
|
|
160
160
|
return e;
|
|
161
|
-
},
|
|
162
|
-
const [t, o] =
|
|
161
|
+
}, we = ({ children: e }) => {
|
|
162
|
+
const [t, o] = h(!1), [n, r] = h(!1), i = async (s) => {
|
|
163
163
|
const c = (await s.text()).trim().toLowerCase();
|
|
164
164
|
try {
|
|
165
165
|
const u = JSON.parse(c);
|
|
@@ -203,9 +203,9 @@ const T = C(null), re = ({
|
|
|
203
203
|
[t, n]
|
|
204
204
|
);
|
|
205
205
|
return /* @__PURE__ */ d(G.Provider, { value: m, children: e });
|
|
206
|
-
}, U =
|
|
206
|
+
}, U = v(
|
|
207
207
|
void 0
|
|
208
|
-
),
|
|
208
|
+
), ve = ({
|
|
209
209
|
children: e
|
|
210
210
|
}) => {
|
|
211
211
|
const {
|
|
@@ -221,7 +221,7 @@ const T = C(null), re = ({
|
|
|
221
221
|
getAvailableGroupCodes: s,
|
|
222
222
|
getGridLookup: c,
|
|
223
223
|
fetchCommonCodes: u
|
|
224
|
-
} =
|
|
224
|
+
} = Q(), b = {
|
|
225
225
|
codeData: t,
|
|
226
226
|
isLoading: o,
|
|
227
227
|
error: n,
|
|
@@ -237,7 +237,7 @@ const T = C(null), re = ({
|
|
|
237
237
|
};
|
|
238
238
|
return /* @__PURE__ */ d(U.Provider, { value: b, children: e });
|
|
239
239
|
}, x = () => {
|
|
240
|
-
const e =
|
|
240
|
+
const e = C(U);
|
|
241
241
|
if (e === void 0)
|
|
242
242
|
throw new Error("useCommonCode must be used within a CommonCodeProvider");
|
|
243
243
|
return e;
|
|
@@ -248,21 +248,21 @@ const T = C(null), re = ({
|
|
|
248
248
|
isLoading: t,
|
|
249
249
|
error: o
|
|
250
250
|
};
|
|
251
|
-
},
|
|
251
|
+
}, ge = () => {
|
|
252
252
|
const { getCodeName: e, isLoading: t, error: o } = x();
|
|
253
253
|
return {
|
|
254
254
|
getCodeName: e,
|
|
255
255
|
isLoading: t,
|
|
256
256
|
error: o
|
|
257
257
|
};
|
|
258
|
-
},
|
|
258
|
+
}, Se = () => {
|
|
259
259
|
const { getCodeColor: e, isLoading: t, error: o } = x();
|
|
260
260
|
return {
|
|
261
261
|
getCodeColor: e,
|
|
262
262
|
isLoading: t,
|
|
263
263
|
error: o
|
|
264
264
|
};
|
|
265
|
-
},
|
|
265
|
+
}, Pe = () => {
|
|
266
266
|
const { getCodeListByOption: e, isLoading: t, error: o } = x();
|
|
267
267
|
return {
|
|
268
268
|
getCodeListByOption: e,
|
|
@@ -276,12 +276,26 @@ const T = C(null), re = ({
|
|
|
276
276
|
isLoading: t,
|
|
277
277
|
error: o
|
|
278
278
|
};
|
|
279
|
-
}, _ =
|
|
280
|
-
|
|
279
|
+
}, _ = v(
|
|
280
|
+
void 0
|
|
281
|
+
), xe = ({
|
|
282
|
+
children: e
|
|
283
|
+
}) => {
|
|
284
|
+
const [t, o] = h(void 0), [n, r] = h(void 0);
|
|
285
|
+
return /* @__PURE__ */ d(_.Provider, { value: { title: t, setTitle: o, extra: n, setExtra: r }, children: e });
|
|
286
|
+
}, ke = () => {
|
|
287
|
+
const e = C(_);
|
|
288
|
+
if (!e)
|
|
289
|
+
throw new Error(
|
|
290
|
+
"usePageContent must be used within a PageContentProvider"
|
|
291
|
+
);
|
|
292
|
+
return e;
|
|
293
|
+
}, W = v(null), Le = () => {
|
|
294
|
+
const e = C(W);
|
|
281
295
|
if (!e)
|
|
282
296
|
throw new Error("useLock must be used within ScreenProtectProvider");
|
|
283
297
|
return e;
|
|
284
|
-
},
|
|
298
|
+
}, be = ({
|
|
285
299
|
children: e,
|
|
286
300
|
idleMs: t = 1e4,
|
|
287
301
|
onUnlock: o,
|
|
@@ -292,51 +306,51 @@ const T = C(null), re = ({
|
|
|
292
306
|
overlayId: a = "lock-overlay-root",
|
|
293
307
|
overlayPosition: l = "fixed"
|
|
294
308
|
}) => {
|
|
295
|
-
const m = n && typeof window < "u" && window.localStorage.getItem(r) === "1", [s, c] =
|
|
309
|
+
const m = n && typeof window < "u" && window.localStorage.getItem(r) === "1", [s, c] = h(m), [u, b] = h(t), k = Number.isFinite(u) && u > 0, g = j(null), $ = () => {
|
|
296
310
|
try {
|
|
297
311
|
n && window.localStorage.setItem(r, "1");
|
|
298
312
|
} catch {
|
|
299
313
|
}
|
|
300
314
|
c(!0);
|
|
301
|
-
}, F = async (
|
|
302
|
-
if (!(o && !await o(
|
|
315
|
+
}, F = async (w) => {
|
|
316
|
+
if (!(o && !await o(w))) {
|
|
303
317
|
try {
|
|
304
318
|
n && window.localStorage.removeItem(r);
|
|
305
319
|
} catch {
|
|
306
320
|
}
|
|
307
|
-
c(!1),
|
|
321
|
+
c(!1), k && E();
|
|
308
322
|
}
|
|
309
|
-
},
|
|
323
|
+
}, q = () => {
|
|
310
324
|
try {
|
|
311
325
|
n && window.localStorage.setItem(r, "1");
|
|
312
326
|
} catch {
|
|
313
327
|
}
|
|
314
328
|
c(!0);
|
|
315
329
|
}, E = () => {
|
|
316
|
-
|
|
317
|
-
|
|
330
|
+
k && (g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
331
|
+
q();
|
|
318
332
|
}, u));
|
|
319
333
|
};
|
|
320
334
|
O(() => {
|
|
321
|
-
if (!
|
|
322
|
-
const
|
|
335
|
+
if (!k) return;
|
|
336
|
+
const w = () => {
|
|
323
337
|
s || E();
|
|
324
|
-
}, S = { passive: !0 },
|
|
338
|
+
}, S = { passive: !0 }, P = [
|
|
325
339
|
"pointermove",
|
|
326
340
|
"pointerdown",
|
|
327
341
|
"keydown",
|
|
328
342
|
"wheel",
|
|
329
343
|
"touchstart"
|
|
330
|
-
],
|
|
331
|
-
return
|
|
332
|
-
g.current && window.clearTimeout(g.current),
|
|
344
|
+
], y = i ?? window;
|
|
345
|
+
return P.forEach((f) => y.addEventListener(f, w, S)), E(), () => {
|
|
346
|
+
g.current && window.clearTimeout(g.current), P.forEach((f) => y.removeEventListener(f, w));
|
|
333
347
|
};
|
|
334
|
-
}, [u, s, i,
|
|
348
|
+
}, [u, s, i, k]), O(() => {
|
|
335
349
|
if (!s) return;
|
|
336
|
-
const
|
|
350
|
+
const w = (f) => {
|
|
337
351
|
const D = document.getElementById(a);
|
|
338
352
|
D && D.contains(f.target) || (f.stopPropagation(), f.preventDefault());
|
|
339
|
-
}, S = { capture: !0 },
|
|
353
|
+
}, S = { capture: !0 }, P = [
|
|
340
354
|
"pointerdown",
|
|
341
355
|
"pointerup",
|
|
342
356
|
"pointermove",
|
|
@@ -346,14 +360,14 @@ const T = C(null), re = ({
|
|
|
346
360
|
"keyup",
|
|
347
361
|
"touchstart",
|
|
348
362
|
"touchmove"
|
|
349
|
-
],
|
|
350
|
-
return
|
|
363
|
+
], y = p === "scoped" ? i ?? window : window;
|
|
364
|
+
return P.forEach((f) => y.addEventListener(f, w, S)), () => P.forEach((f) => y.removeEventListener(f, w, S));
|
|
351
365
|
}, [s, p, a, i]);
|
|
352
|
-
const
|
|
353
|
-
() => ({ locked: s, lock:
|
|
366
|
+
const J = L(
|
|
367
|
+
() => ({ locked: s, lock: $, unlock: F, setIdleMs: b }),
|
|
354
368
|
[s]
|
|
355
369
|
);
|
|
356
|
-
return /* @__PURE__ */ N(
|
|
370
|
+
return /* @__PURE__ */ N(W.Provider, { value: J, children: [
|
|
357
371
|
/* @__PURE__ */ d(
|
|
358
372
|
"div",
|
|
359
373
|
{
|
|
@@ -364,7 +378,7 @@ const T = C(null), re = ({
|
|
|
364
378
|
}
|
|
365
379
|
),
|
|
366
380
|
s && /* @__PURE__ */ d(
|
|
367
|
-
|
|
381
|
+
Z,
|
|
368
382
|
{
|
|
369
383
|
onUnlock: F,
|
|
370
384
|
overlayId: a,
|
|
@@ -372,12 +386,12 @@ const T = C(null), re = ({
|
|
|
372
386
|
}
|
|
373
387
|
)
|
|
374
388
|
] });
|
|
375
|
-
},
|
|
389
|
+
}, Z = ({
|
|
376
390
|
onUnlock: e,
|
|
377
391
|
overlayId: t = "lock-overlay-root",
|
|
378
392
|
overlayPosition: o = "fixed"
|
|
379
393
|
}) => {
|
|
380
|
-
const [n] =
|
|
394
|
+
const [n] = h(4), [r, i] = h("");
|
|
381
395
|
return /* @__PURE__ */ d(
|
|
382
396
|
"div",
|
|
383
397
|
{
|
|
@@ -404,7 +418,7 @@ const T = C(null), re = ({
|
|
|
404
418
|
className: "lock-ipt-wrap",
|
|
405
419
|
style: { display: "flex", justifyContent: "center" },
|
|
406
420
|
children: /* @__PURE__ */ d(
|
|
407
|
-
|
|
421
|
+
Y.OTP,
|
|
408
422
|
{
|
|
409
423
|
mask: "*",
|
|
410
424
|
autoFocus: !0,
|
|
@@ -423,27 +437,29 @@ const T = C(null), re = ({
|
|
|
423
437
|
);
|
|
424
438
|
};
|
|
425
439
|
export {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
me as
|
|
440
|
+
we as A,
|
|
441
|
+
ae as B,
|
|
442
|
+
ve as C,
|
|
443
|
+
xe as P,
|
|
444
|
+
pe as S,
|
|
445
|
+
le as a,
|
|
446
|
+
ue as b,
|
|
447
|
+
fe as c,
|
|
448
|
+
de as d,
|
|
449
|
+
me as e,
|
|
450
|
+
he as f,
|
|
436
451
|
x as g,
|
|
437
452
|
Ce as h,
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
453
|
+
ge as i,
|
|
454
|
+
Se as j,
|
|
455
|
+
Pe as k,
|
|
441
456
|
ye as l,
|
|
442
457
|
ke as m,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
458
|
+
Le as n,
|
|
459
|
+
be as o,
|
|
460
|
+
ne as p,
|
|
461
|
+
B as q,
|
|
447
462
|
ce as r,
|
|
448
|
-
|
|
463
|
+
ie as s,
|
|
464
|
+
se as u
|
|
449
465
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormInstance } from 'antd';
|
|
2
|
-
import {
|
|
2
|
+
import { CSSProperties, MutableRefObject, Ref } from 'react';
|
|
3
3
|
import { default as RealGrid, CellIndex, ClickData, ColumnHeaderItemLocation, DataColumn, DataProviderBase, GridBase, GridColumn, GridExportOptions, GridFitStyle, GridView, LocalDataProvider, LocalTreeDataProvider, SelectionStyle, TreeView, ValidationError, ValueType } from 'realgrid';
|
|
4
4
|
import { RealGridReact, RealTreeReact } from 'realgrid-react';
|
|
5
5
|
interface BwgGridDataLoadOption {
|
|
@@ -242,7 +242,7 @@ interface BwgGridEventList {
|
|
|
242
242
|
*/
|
|
243
243
|
onLayoutPropertyChanged?: (grid: GridBase, layout: any, property: string, oldValue: any, newValue: any) => void;
|
|
244
244
|
}
|
|
245
|
-
interface
|
|
245
|
+
interface BwgGridRefBase {
|
|
246
246
|
/** 데이터 추가 */
|
|
247
247
|
addAllData: (data: any, option?: BwgGridDataLoadOption) => void;
|
|
248
248
|
/** 그리드 인스턴스 직접 접근 */
|
|
@@ -270,11 +270,23 @@ interface BwgGridRef {
|
|
|
270
270
|
* 그리드 데이터 삭제
|
|
271
271
|
*/
|
|
272
272
|
deleteGridData: () => void;
|
|
273
|
+
/**
|
|
274
|
+
* 그리드 변경상태 체크
|
|
275
|
+
* */
|
|
276
|
+
isUpdate: () => boolean;
|
|
273
277
|
/** 데이터 프로바이더 직접 접근 */
|
|
274
278
|
dp: LocalDataProvider | LocalTreeDataProvider | null;
|
|
275
279
|
/** 그리드 뷰 직접 접근 */
|
|
276
280
|
vw: GridView | TreeView | null;
|
|
277
281
|
}
|
|
282
|
+
export type BwgGridRef = Omit<BwgGridRefBase, 'dp' | 'vw'> & {
|
|
283
|
+
dp: LocalDataProvider;
|
|
284
|
+
vw: GridView;
|
|
285
|
+
};
|
|
286
|
+
export type BwgGridRefTree = Omit<BwgGridRefBase, 'dp' | 'vw'> & {
|
|
287
|
+
dp: LocalTreeDataProvider;
|
|
288
|
+
vw: TreeView;
|
|
289
|
+
};
|
|
278
290
|
interface BwgGridProps {
|
|
279
291
|
/** 그리드 렌더 타입 */
|
|
280
292
|
type?: 'nrml' | 'tree';
|
|
@@ -306,12 +318,16 @@ interface BwgGridProps {
|
|
|
306
318
|
};
|
|
307
319
|
}[];
|
|
308
320
|
/** 그리드 초기화 콜백 */
|
|
309
|
-
gridInitCallback?: (grid?:
|
|
321
|
+
gridInitCallback?: (grid?: BwgGridRefBase | null) => void;
|
|
310
322
|
/** 그리드 ID (레이아웃 저장/로드를 위한 고유 식별자) */
|
|
311
323
|
gridId?: string;
|
|
312
|
-
/** ref prop for forwardRef */
|
|
313
|
-
ref?: Ref<BwgGridRef>;
|
|
314
324
|
}
|
|
325
|
+
type BwgGridPropsNrml = Omit<BwgGridProps, 'type'> & {
|
|
326
|
+
type?: 'nrml';
|
|
327
|
+
};
|
|
328
|
+
type BwgGridPropsTree = Omit<BwgGridProps, 'type'> & {
|
|
329
|
+
type: 'tree';
|
|
330
|
+
};
|
|
315
331
|
/**
|
|
316
332
|
* BWG 그리드 옵션
|
|
317
333
|
* @remark 리얼그리드 기본 옵션 중 커스터마이징 가능한 옵션 제공
|
|
@@ -536,7 +552,14 @@ interface BwgGridExcelOption {
|
|
|
536
552
|
/** 꼬리말 */
|
|
537
553
|
tailTitle?: string;
|
|
538
554
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
555
|
+
declare const BwgGrid: {
|
|
556
|
+
(props: BwgGridPropsNrml & {
|
|
557
|
+
ref?: Ref<BwgGridRef>;
|
|
558
|
+
}): JSX.Element;
|
|
559
|
+
(props: BwgGridPropsTree & {
|
|
560
|
+
ref?: Ref<BwgGridRefTree>;
|
|
561
|
+
}): JSX.Element;
|
|
562
|
+
};
|
|
563
|
+
export type { BwgGridColHeaderProps, BwgGridColProps, BwgGridDataLoadOption, BwgGridEventList, BwgGridOptions, BwgGridProps, };
|
|
564
|
+
export default BwgGrid;
|
|
542
565
|
//# sourceMappingURL=BwgGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgGrid.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgGrid.tsx"],"names":[],"mappings":"AAUA,OAAO,EAKL,YAAY,EAGb,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,aAAa,
|
|
1
|
+
{"version":3,"file":"BwgGrid.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgGrid.tsx"],"names":[],"mappings":"AAUA,OAAO,EAKL,YAAY,EAGb,MAAM,MAAM,CAAC;A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AAS;IACT,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS;IACT,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA45DD,QAAA,MAAM,OAAO,EAA6B;IACxC,CAAC,KAAK,EAAE,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAA;KAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IACnE,CAAC,KAAK,EAAE,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;KAAE,GAAG,GAAG,CAAC,OAAO,CAAC;CACxE,CAAC;AAEF,YAAY,EACV,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,YAAY,GACb,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgView.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgView.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAkB,MAAM,QAAQ,CAAC;AAqBlE;;;;;;GAMG;AACH,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"BwgView.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgView.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAkB,MAAM,QAAQ,CAAC;AAqBlE;;;;;;GAMG;AACH,QAAA,MAAM,OAAO,qGAshBZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/common-components-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/common-components-DNgQR-Ge.cjs"),o=require("../../utils/index.cjs");exports.ButtonAccessController=e.ButtonAccessController;exports.BwgButtonGroup=e.BwgButtonGroup;exports.BwgCmptArea=e.BwgCmptArea;exports.BwgCol=e.BwgCol;exports.BwgConfigProvider=e.BwgConfigProvider;exports.BwgDetail=e.BwgDetail;exports.BwgDrawer=e.BwgDrawer;exports.BwgEditor=e.BwgEditor;exports.BwgGrid=e.BwgGrid;exports.BwgInfoArea=e.BwgInfoArea;exports.BwgPagination=e.BwgPagination;exports.BwgPopup=e.BwgPopup;exports.BwgRow=e.BwgRow;exports.BwgSpace=e.BwgSpace;exports.BwgTable=e.BwgTable;exports.BwgTabs=e.BwgTabs;exports.BwgTitleBox=e.BwgTitleBox;exports.BwgView=e.BwgView;exports.ContentBox=e.ContentBox;exports.ContentLayOut=e.ContentLayOut;exports.GlobalConfigProvider=e.GlobalConfigProvider;exports.QuickServiceToggle=e.QuickServiceToggle;exports.SSOHandler=e.SSOHandler;exports.SearchBox=e.SearchBox;exports.createBwgGridRenderer=o.createBwgGridRenderer;exports.realFormat=o.realFormat;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as o, p as s, q as r, j as B, B as g, r as w, s as t, o as i, h as n, t as l, n as d, m as p, i as C, b as c, u, l as f, e as S, k as m, d as x, C as G, G as b, Q as v, v as P, S as T } from "../../chunks/common-components-
|
|
1
|
+
import { f as o, p as s, q as r, j as B, B as g, r as w, s as t, o as i, h as n, t as l, n as d, m as p, i as C, b as c, u, l as f, e as S, k as m, d as x, C as G, G as b, Q as v, v as P, S as T } from "../../chunks/common-components-DeYL3J6X.js";
|
|
2
2
|
import { createBwgGridRenderer as h, realFormat as k } from "../../utils/index.js";
|
|
3
3
|
export {
|
|
4
4
|
o as ButtonAccessController,
|
|
@@ -14,9 +14,9 @@ export interface BwgEmpSearchProps {
|
|
|
14
14
|
empNoFieldName?: string;
|
|
15
15
|
/** Employee 객체를 저장할 필드명 (디폴트: employee)*/
|
|
16
16
|
employeeFieldName?: string;
|
|
17
|
-
/** 표시할 필드 1 (디폴트:
|
|
17
|
+
/** 표시할 필드 1 (디폴트: 부서명) */
|
|
18
18
|
field1?: EmpSearchField;
|
|
19
|
-
/** 표시할 필드 2 (디폴트:
|
|
19
|
+
/** 표시할 필드 2 (디폴트: 사원명) */
|
|
20
20
|
field2?: EmpSearchField;
|
|
21
21
|
/** 읽기 전용 */
|
|
22
22
|
readOnly?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgEmpSearch.d.ts","sourceRoot":"","sources":["../../../src/components/core/BwgEmpSearch.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC;IACvB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yBAAyB;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,0BAA0B;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,YAAY;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY;IACZ,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAID,QAAA,MAAM,YAAY,GAAI,OAAO,iBAAiB,
|
|
1
|
+
{"version":3,"file":"BwgEmpSearch.d.ts","sourceRoot":"","sources":["../../../src/components/core/BwgEmpSearch.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,WAAW,cAAc;IAC7B,kDAAk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,CAAC;AAE3C,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"BwgMaskedDate.d.ts","sourceRoot":"","sources":["../../../src/components/core/BwgMaskedDate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAIxD,OAAO,EAAE,EAAE,EAA+B,MAAM,OAAO,CAAC;AACxD,OAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG9D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAkBjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE3C,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgSzC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgMaskedRange.d.ts","sourceRoot":"","sources":["../../../src/components/core/BwgMaskedRange.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,EAAE,EAAE,EAA+B,MAAM,OAAO,CAAC;AACxD,OAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAI9D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAkBjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,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