@bwg-ui/core 1.2.20 → 1.2.21
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/{MenuReport-ByLduwwZ.js → MenuReport-D-gxEaXb.js} +1 -1
- package/dist/chunks/{MenuReport-D5nIx5g9.cjs → MenuReport-DbGZz84g.cjs} +1 -1
- package/dist/chunks/{common-components-CyxuMobg.js → common-components-BLgaNCNY.js} +2934 -2997
- package/dist/chunks/{common-components-BXjzima0.cjs → common-components-CeY5flj3.cjs} +37 -37
- package/dist/chunks/layout-components-C_HvgcCg.cjs +35 -0
- package/dist/chunks/{layout-components-CyKRhOdT.js → layout-components-IvmBzdev.js} +25 -25
- package/dist/components/common/BwgGrid.d.ts +7 -3
- package/dist/components/common/BwgGrid.d.ts.map +1 -1
- package/dist/components/common/index.cjs +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/guide/BwgPracticeGuideS00.d.ts.map +1 -1
- package/dist/components/guide/index.cjs +1 -1
- package/dist/components/guide/index.js +60 -66
- package/dist/components/layout/custom/ConfigurableHeader.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/auth/CMAuthMstrM01.d.ts.map +1 -1
- package/dist/components/pages/auth/CMRoleMstrM01.d.ts.map +1 -1
- package/dist/components/pages/rsrc/CMMenuMstrM01.d.ts.map +1 -1
- package/dist/components/pages/rsrc/CMPopuMstrM01.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 +248 -250
- package/dist/stores/index.cjs +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/utils/commonUtils.d.ts +23 -84
- package/dist/utils/commonUtils.d.ts.map +1 -1
- package/dist/utils/gwUtils.d.ts +20 -1
- package/dist/utils/gwUtils.d.ts.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.ts +12 -14
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1129 -977
- package/package.json +1 -1
- package/dist/chunks/layout-components-CfFi4fiJ.cjs +0 -35
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),D=require("../provider/index.cjs"),E=require("react-router-dom"),G=require("./common-components-CeY5flj3.cjs"),o=require("antd"),l=require("react"),k=require("../stores/index.cjs"),j=require("@ant-design/icons"),T=require("../utils/index.cjs"),O=require("@dnd-kit/core"),se=require("@dnd-kit/modifiers"),V=require("@dnd-kit/sortable");var $=typeof document<"u"?document.currentScript:null;function oe(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}return t.default=r,Object.freeze(t)}const q=oe(j),ae=l.lazy(()=>Promise.resolve().then(()=>require("./MenuReport-DbGZz84g.cjs"))),ie=l.lazy(()=>Promise.resolve().then(()=>require("./common-components-CeY5flj3.cjs")).then(r=>r.SearchDepartmentP01$1)),le=l.lazy(()=>Promise.resolve().then(()=>require("./common-components-CeY5flj3.cjs")).then(r=>r.SearchDepartmentP02$1)),ce=l.lazy(()=>Promise.resolve().then(()=>require("./common-components-CeY5flj3.cjs")).then(r=>r.SearchOrganizationP01$1)),de=l.lazy(()=>Promise.resolve().then(()=>require("./common-components-CeY5flj3.cjs")).then(r=>r.SearchOrganizationP02$1)),K={CORE_REPORT:{component:ae,defaultConfig:{title:"게시판/문의",width:1200,height:800}},CORE_DEPARTMENT_01:{component:ie,defaultConfig:{title:"부서 검색",width:620,height:700}},CORE_DEPARTMENT_02:{component:le,defaultConfig:{title:"부서 검색",width:620,height:700}},CORE_ORGANIZATION_01:{component:ce,defaultConfig:{title:"조직 검색",width:620,height:700}},CORE_ORGANIZATION_02:{component:de,defaultConfig:{title:"조직 검색",width:1e3,height:700}}},U="bwg-dot-line-wave-v4";function ue(){if(typeof document>"u"||document.getElementById(U))return;const r=document.createElement("style");r.id=U,r.textContent=`
|
|
2
|
+
.bwg-dotline {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: var(--bwg-gap, 12px);
|
|
6
|
+
height: calc(var(--bwg-size, 12px) + 2 * var(--bwg-amp, 12px));
|
|
7
|
+
line-height: 0;
|
|
8
|
+
}
|
|
9
|
+
.bwg-dotline .dot {
|
|
10
|
+
width: var(--bwg-size, 12px);
|
|
11
|
+
height: var(--bwg-size, 12px);
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
background: currentColor;
|
|
14
|
+
will-change: transform, opacity;
|
|
15
|
+
filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
|
|
16
|
+
animation: bwg-dotline-sine var(--bwg-speed, 780ms) linear infinite;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* sin(θ) 근사: 0, 45, 90, 135, 180, 225, 270, 315, 360deg */
|
|
20
|
+
@keyframes bwg-dotline-sine {
|
|
21
|
+
0% { transform: translate3d(0, 0, 0) scale(.98); opacity: .80; }
|
|
22
|
+
12.5%{ transform: translate3d(0, calc(-0.7071 * var(--bwg-amp, 12px)), 0) scale(1.03); opacity: .92; }
|
|
23
|
+
25% { transform: translate3d(0, calc(-1 * var(--bwg-amp, 12px)), 0) scale(1.06); opacity: 1; }
|
|
24
|
+
37.5%{ transform: translate3d(0, calc(-0.7071 * var(--bwg-amp, 12px)), 0) scale(1.03); opacity: .92; }
|
|
25
|
+
50% { transform: translate3d(0, 0, 0) scale(.98); opacity: .80; }
|
|
26
|
+
62.5%{ transform: translate3d(0, calc( 0.7071 * var(--bwg-amp, 12px)), 0) scale(.97); opacity: .78; }
|
|
27
|
+
75% { transform: translate3d(0, calc( 1 * var(--bwg-amp, 12px)), 0) scale(.96); opacity: .76; }
|
|
28
|
+
87.5%{ transform: translate3d(0, calc( 0.7071 * var(--bwg-amp, 12px)), 0) scale(.97); opacity: .78; }
|
|
29
|
+
100% { transform: translate3d(0, 0, 0) scale(.98); opacity: .80; }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (prefers-reduced-motion: reduce) {
|
|
33
|
+
.bwg-dotline .dot { animation: none; }
|
|
34
|
+
}
|
|
35
|
+
`,document.head.appendChild(r)}const me=({colors:r=["#DAD3FF","#B3A6FF","#9380FF","#816BFA"],count:t,size:n=12,gap:a=10,amp:s=16,speedMs:m=900,direction:g="ltr",phase:h=.7})=>{l.useEffect(()=>{ue()},[]);const c=t??r.length,u=Array.from({length:c}),f={"--bwg-size":`${n}px`,"--bwg-gap":`${a}px`,"--bwg-amp":`${s}px`,"--bwg-speed":`${m}ms`},v=m/c*h;return e.jsx("span",{className:"bwg-dotline",role:"img","aria-label":"loading",style:f,children:u.map((y,i)=>e.jsx("span",{className:"dot",style:{backgroundColor:r[i%r.length],animationDelay:g==="ltr"?`${i*v}ms`:`${(c-1-i)*v}ms`}},i))})},pe=({spin:r=null,text:t="인증중...",dimStyle:n="dark"})=>{if(!(r??!0))return null;const m=n==="dark";return e.jsxs("div",{className:"loading-overlay",style:{position:"fixed",height:"100vh",left:0,right:0,top:0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:8,padding:"8px 12px",background:m?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.85)",color:m?"#fff":"#333",backdropFilter:"blur(4px)",zIndex:1e4},"aria-live":"polite","aria-busy":"true",role:"status",children:[e.jsx(o.Spin,{indicator:e.jsx(me,{colors:["#DAD3FF","#B3A6FF","#9380FF","#816BFA"],size:12,gap:10,amp:16,speedMs:900,phase:.75,direction:"ltr"})}),e.jsx("span",{className:"bwg-spin-txt",style:{marginTop:"15px"},children:t})]})},he=({routes:r,useCommonProvider:t=!0,useServiceProvider:n=!0})=>{let s=e.jsxs(E.Routes,{children:[e.jsx(E.Route,{path:"/",element:e.jsx(E.Navigate,{to:"/login"})}),e.jsx(E.Route,{path:"/login",element:r.login}),e.jsx(E.Route,{path:"/main",element:r.main})]});return n&&(s=e.jsx(D.ServiceCodeProvider,{children:s})),t&&(s=e.jsx(D.CommonCodeProvider,{children:s})),e.jsx(G.GlobalConfigProvider,{children:s})},{Content:ge}=o.Layout,Z=({config:r={},children:t})=>{const n={wrapper:{className:"content-wrapper",...r.wrapper},body:{className:"content-body",...r.body},...r};return e.jsx(ge,{className:n.wrapper.className,style:n.wrapper.style,children:e.jsx(G.BwgConfigProvider,{children:e.jsx("div",{className:n.body.className,style:n.body.style,children:t})})})},fe="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9998%2019.9993V20.9993C11.9998%2021.3932%2012.0774%2021.7833%2012.2282%2022.1473C12.3789%2022.5112%2012.5999%2022.8419%2012.8785%2023.1205C13.157%2023.399%2013.4877%2023.62%2013.8517%2023.7708C14.2156%2023.9215%2014.6057%2023.9991%2014.9997%2023.9991C15.3936%2023.9991%2015.7837%2023.9215%2016.1477%2023.7708C16.5116%2023.62%2016.8423%2023.399%2017.1209%2023.1205C17.3994%2022.8419%2017.6204%2022.5112%2017.7712%2022.1473C17.9219%2021.7833%2017.9995%2021.3932%2017.9995%2020.9993V19.9993M20.9994%2011.9997C20.9994%2014.9996%2022.9993%2019.9993%2022.9993%2019.9993H7.00006C7.00006%2019.9993%208.99996%2015.9995%208.99996%2011.9997C8.99996%208.73187%2011.7318%206%2014.9997%206C18.2675%206%2020.9994%208.73187%2020.9994%2011.9997Z'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",xe="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_93_4488)'%3e%3cpath%20d='M18%207H21C22.1046%207%2023%207.89543%2023%209V21C23%2022.1046%2022.1046%2023%2021%2023H18M11%2011L7%2015M7%2015L11%2019M7%2015L19%2015'%20stroke='%23485299'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_93_4488'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",be="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%206H16C16.5523%206%2017%206.44772%2017%207V7.56879C17%207.99659%2017.2871%208.36825%2017.6822%208.53228C18.0775%208.69638%2018.5377%208.63384%2018.8403%208.33123L19.2426%207.92891C19.6331%207.53838%2020.2663%207.53838%2020.6568%207.92891L22.071%209.34312C22.4616%209.73365%2022.4615%2010.3668%2022.071%2010.7573L21.6688%2011.1596C21.3661%2011.4622%2021.3036%2011.9225%2021.4677%2012.3177C21.6317%2012.7129%2022.0034%2013%2022.4313%2013L23%2013C23.5523%2013%2024%2013.4477%2024%2014V16C24%2016.5523%2023.5523%2017%2023%2017H22.4312C22.0034%2017%2021.6318%2017.2871%2021.4677%2017.6822C21.3036%2018.0775%2021.3661%2018.5377%2021.6688%2018.8403L22.071%2019.2426C22.4616%2019.6331%2022.4616%2020.2663%2022.071%2020.6568L20.6568%2022.071C20.2663%2022.4616%2019.6331%2022.4616%2019.2426%2022.071L18.8403%2021.6688C18.5377%2021.3661%2018.0775%2021.3036%2017.6822%2021.4677C17.2871%2021.6318%2017%2022.0034%2017%2022.4312V23C17%2023.5523%2016.5523%2024%2016%2024H14C13.4477%2024%2013%2023.5523%2013%2023V22.4313C13%2022.0034%2012.7129%2021.6317%2012.3177%2021.4677C11.9225%2021.3036%2011.4622%2021.3661%2011.1596%2021.6688L10.7573%2022.071C10.3668%2022.4616%209.73363%2022.4616%209.34311%2022.071L7.92889%2020.6568C7.53837%2020.2663%207.53837%2019.6331%207.92889%2019.2426L8.33123%2018.8403C8.63384%2018.5377%208.69638%2018.0775%208.53228%2017.6822C8.36825%2017.2871%207.99659%2017%207.56879%2017H7C6.44772%2017%206%2016.5523%206%2016V14C6%2013.4477%206.44772%2013%207%2013L7.56877%2013C7.99658%2013%208.36825%2012.7129%208.53229%2012.3178C8.6964%2011.9225%208.63386%2011.4623%208.33123%2011.1597L7.92891%2010.7573C7.53838%2010.3668%207.53838%209.73365%207.92891%209.34313L9.34312%207.92891C9.73365%207.53839%2010.3668%207.53839%2010.7573%207.92891L11.1597%208.33123C11.4623%208.63386%2011.9225%208.6964%2012.3178%208.53229C12.7129%208.36825%2013%207.99658%2013%207.56876V7C13%206.44772%2013.4477%206%2014%206Z'%20stroke='%23485299'%20stroke-width='1.5'/%3e%3cpath%20d='M17%2015C17%2016.1046%2016.1046%2017%2015%2017C13.8954%2017%2013%2016.1046%2013%2015C13%2013.8954%2013.8954%2013%2015%2013C16.1046%2013%2017%2013.8954%2017%2015Z'%20stroke='%23485299'%20stroke-width='1.5'/%3e%3c/svg%3e",{Header:ye}=o.Layout,M={light:{headerBg:"#ffffff",headerText:"#000000",sidebarBg:"#ffffff",sidebarText:"#000000",buttonPrimary:"#1890ff",buttonPrimaryHover:"#40a9ff",buttonPrimaryActive:"#096dd9",buttonDefault:"#ffffff",buttonDefaultHover:"#f5f5f5",buttonDefaultBorder:"#d9d9d9",buttonPermissionBorder:"#bdb1ff"},dark:{headerBg:"#4a4a4a",headerText:"#ffffff",sidebarBg:"#4a4a4a",sidebarText:"#ffffff",buttonPrimary:"#177ddc",buttonPrimaryHover:"#1890ff",buttonPrimaryActive:"#0958b5",buttonDefault:"#434343",buttonDefaultHover:"#303030",buttonDefaultBorder:"#434343",buttonPermissionBorder:"#bdb1ff"},blue:{headerBg:"#4a90e2",headerText:"#ffffff",sidebarBg:"#4a90e2",sidebarText:"#ffffff",buttonPrimary:"#1890ff",buttonPrimaryHover:"#40a9ff",buttonPrimaryActive:"#096dd9",buttonDefault:"#ffffff",buttonDefaultHover:"#f0f8ff",buttonDefaultBorder:"#4a90e2",buttonPermissionBorder:"#bdb1ff"},modern:{headerBg:"#f3f4ff",headerText:"#333333",sidebarBg:"#ffffff",sidebarText:"#555555",buttonPrimary:"#6449FC",buttonPrimaryHover:"#6449FC",buttonPrimaryActive:"#6449FC",buttonDefault:"#ffffff",buttonDefaultHover:"#f5f5f5",buttonDefaultBorder:"#dddddd",buttonPermissionBorder:"#bdb1ff"}},Y=({config:r={}})=>{const t={gap:14,minWidth:200,items:r.right?.items,alarm:{visible:!0,...r.right?.alarm||{}},theme:{visible:!0,...r.right?.theme||{}},logout:{visible:!0,...r.right?.logout||{}},avatar:{visible:!0,width:30,height:30,...r.right?.avatar||{}}},n={wrapper:{className:"header-wrapper",...r.wrapper},logo:{gap:10,...r.logo},right:t},a=E.useNavigate(),[s,m]=l.useState("modern"),g=l.useRef(null),h=k.useLogout(),c=(i,C)=>{try{if(!/^[a-zA-Z0-9-]+$/.test(i)||!/^[#a-zA-Z0-9()\s,.-]+$/.test(C))return;document.documentElement.style.setProperty(i,C)}catch(L){console.error("CSS variable setting failed:",L)}},u=i=>{if(!M[i])return;m(i);const C={...M[i]};c("--header-bg",C.headerBg),c("--header-text",C.headerText),c("--sidebar-bg",C.sidebarBg),c("--sidebar-text",C.sidebarText),c("--button-primary",C.buttonPrimary),c("--button-primary-hover",C.buttonPrimaryHover),c("--button-primary-active",C.buttonPrimaryActive),c("--button-default",C.buttonDefault),c("--button-default-hover",C.buttonDefaultHover),c("--button-default-border",C.buttonDefaultBorder),c("--button-permission-border",C.buttonPermissionBorder),g.current&&g.current.setAttribute("data-theme",i),document.documentElement.setAttribute("data-theme",i),T.setCookie(T.THEME_COOKIE_NAME,i,30)};l.useEffect(()=>{const i=T.getCookie(T.THEME_COOKIE_NAME);i&&M[i]?u(i):u("modern")},[]);const f=()=>({...M[s]}).headerBg,v=()=>{h(),a("/login")};T.getTodateString?T.getTodateString("HH:mm:ss"):new Date().toLocaleTimeString("ko-KR");const y=e.jsxs("div",{style:{padding:"8px 0"},children:[e.jsxs("div",{style:{marginBottom:"12px"},children:[e.jsx(o.ColorPicker,{value:f(),disabled:!0,size:"small"}),e.jsx("span",{style:{marginLeft:"8px",fontSize:"12px"},children:"현재 테마 색상"})]}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[e.jsx(o.Button,{type:s==="modern"?"primary":"default",size:"small",onClick:()=>u("modern"),style:{textAlign:"left",backgroundColor:s==="modern"?M.modern.headerBg:void 0,color:s==="modern"?M.modern.headerText:void 0},children:"모던"},"modern"),Object.entries(M).filter(([i])=>i!=="modern").map(([i,C])=>e.jsx(o.Button,{type:s===i?"primary":"default",size:"small",onClick:()=>u(i),style:{textAlign:"left",backgroundColor:s===i?C.headerBg:void 0,color:s===i?C.headerText:void 0},children:i},i))]})]});return e.jsxs(ye,{className:n.wrapper.className,style:{...n.wrapper.style},children:[n.logo&&e.jsx("div",{className:"header-left",children:e.jsx("div",{className:"logo-container",style:{gap:n.logo?.gap},children:n.logo?.items})}),e.jsxs("div",{className:"header-right",style:{gap:n.right?.gap,minWidth:n.right?.minWidth},children:[n.right?.items?.map((i,C)=>e.jsx("div",{children:i},C)),n.right?.alarm?.visible&&e.jsx(o.Button,{type:"text",icon:e.jsx("img",{src:fe,alt:"알림"}),className:"alarm-btn",onClick:n.right?.alarm?.onClick}),n.right?.theme?.visible&&e.jsx(o.Popover,{content:y,title:"테마 설정",trigger:"click",placement:"bottomRight",onOpenChange:i=>n.right?.theme?.onOpenChange?.(i),children:e.jsx(o.Button,{type:"text",icon:e.jsx("img",{src:be,alt:"개인설정"}),className:"theme-btn",onClick:n.right?.theme?.onClick})}),n.right?.logout?.visible&&e.jsx(o.Button,{type:"text",icon:e.jsx("img",{src:xe,alt:"로그아웃"}),onClick:n.right?.logout?.onClick||v,className:"logout-btn"}),n.right?.avatar?.visible&&e.jsx(o.Avatar,{icon:e.jsx(j.UserOutlined,{}),className:"avatar",style:{width:n.right?.avatar?.width,height:n.right?.avatar?.height},onClick:n.right?.avatar?.onClick})]})]})},H=Object.freeze({Translate:{toString(r){if(!r)return;const{x:t,y:n}=r;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(r){if(!r)return;const{scaleX:t,scaleY:n}=r;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(r){if(r)return[H.Translate.toString(r),H.Scale.toString(r)].join(" ")}},Transition:{toString(r){let{property:t,duration:n,easing:a}=r;return t+" "+n+"ms "+a}}}),Ce=l.memo(({className:r,...t})=>{const n=l.useRef(null),{attributes:a,listeners:s,transform:m,transition:g,isDragging:h,setNodeRef:c}=V.useSortable({id:t["data-node-key"]}),[u,f]=l.useState();l.useEffect(()=>{const y=n.current;if(y)if(h){const i=Math.round(y.getBoundingClientRect().width);f(i)}else f(void 0)},[h]);const v={...t.style,transform:m?H.Transform.toString(m):void 0,transition:g??"transform 0.16s ease",cursor:"grab",userSelect:"none",willChange:"transform",width:u??void 0,minWidth:u??void 0,maxWidth:u??void 0,flex:u!==void 0?"0 0 auto":void 0};return l.cloneElement(t.children,{ref:y=>{n.current!==y&&(n.current=y),c(y)},style:v,...a,...s})}),ve=l.memo(function({config:t,isFirst:n,isLast:a,canCloseAll:s,onFirst:m,onPrev:g,onNext:h,onLast:c,onCloseAll:u}){return e.jsxs("div",{className:t.wrapper?.className,style:t.wrapper?.style,children:[e.jsx(o.Tooltip,{title:"첫 번째 탭",className:t.tooltip?.className,style:t.tooltip?.style,children:e.jsx(o.Button,{className:t.buttons?.className,style:t.buttons?.style,size:"small",icon:e.jsx(j.StepBackwardOutlined,{}),onClick:m,disabled:n})}),e.jsx(o.Tooltip,{title:"이전 탭",className:t.tooltip?.className,style:t.tooltip?.style,children:e.jsx(o.Button,{className:t.buttons?.className,style:t.buttons?.style,size:"small",icon:e.jsx(j.LeftOutlined,{}),onClick:g,disabled:n})}),e.jsx(o.Tooltip,{title:"다음 탭",className:t.tooltip?.className,style:t.tooltip?.style,children:e.jsx(o.Button,{className:t.buttons?.className,style:t.buttons?.style,size:"small",icon:e.jsx(j.RightOutlined,{}),onClick:h,disabled:a})}),e.jsx(o.Tooltip,{title:"마지막 탭",className:t.tooltip?.className,style:t.tooltip?.style,children:e.jsx(o.Button,{className:t.buttons?.className,style:t.buttons?.style,size:"small",icon:e.jsx(j.StepForwardOutlined,{}),onClick:c,disabled:a})}),e.jsx(o.Tooltip,{title:"모든 탭 닫기",className:t.tooltip?.className,style:t.tooltip?.style,children:e.jsx(o.Button,{className:t.buttons?.className,style:t.buttons?.style,size:"small",icon:e.jsx(j.CloseOutlined,{}),onClick:u,disabled:!s})})]})}),X=({config:r={}})=>{const t={wrapper:{className:"menu-tab-wrapper",...r?.wrapper},tabs:{className:"menu-tabs",...r?.tabs},nav:{wrapper:{className:"menu-nav-wrapper",...r?.nav?.wrapper},buttons:{className:"menu-nav-buttons",...r?.nav?.buttons},tooltip:{className:"menu-nav-tooltip",...r?.nav?.tooltip},...r?.nav},...r},n=k.useMenuViewStore(p=>p.tabs),a=k.useMenuViewStore(p=>p.activeMenuId),s=k.useMenuViewStore(p=>p.focusTab),m=k.useMenuViewStore(p=>p.closeTab),g=k.useMenuViewStore(p=>p.reorderTabs),h=O.useSensors(O.useSensor(O.PointerSensor,{activationConstraint:{distance:6}})),c=p=>{s(p)},u=(p,S)=>{S==="remove"&&typeof p=="string"&&m(p)},f=()=>{n.length>0&&s(n[0].key)},v=()=>{if(!a||n.length<=1)return;const p=n.findIndex(S=>S.key===a);p>0&&s(n[p-1].key)},y=()=>{if(!a||n.length<=1)return;const p=n.findIndex(S=>S.key===a);p<n.length-1&&s(n[p+1].key)},i=()=>{n.length>0&&s(n[n.length-1].key)},C=()=>{n.forEach(p=>{m(p.key)})},L=a?n.findIndex(p=>p.key===a):-1,F=L===0,R=L===n.length-1,_=l.useMemo(()=>n.map(p=>({key:p.key,label:p.label,closable:!0,children:null})),[n]),z=l.useCallback(({active:p,over:S})=>{if(!S||p.id===S.id)return;const I=n.findIndex(d=>d.key===p.id),P=n.findIndex(d=>d.key===S.id);if(I<0||P<0||I===P)return;const x=n.map(d=>d.key),b=V.arrayMove(x,I,P);g?.(b)},[n,g]),A=l.useCallback((p,S)=>e.jsx(O.DndContext,{sensors:h,onDragEnd:z,collisionDetection:O.closestCenter,modifiers:[se.restrictToHorizontalAxis],children:e.jsx(V.SortableContext,{items:n.map(I=>I.key),strategy:V.horizontalListSortingStrategy,children:e.jsx(S,{...p,children:I=>l.createElement(Ce,{...I.props,key:I.key},I)})})}),[h,z,n]);return e.jsx("div",{className:t.wrapper.className,style:{...t.wrapper.style,display:n.length===0?"none":"block"},children:e.jsx(o.Tabs,{type:"editable-card",activeKey:a||void 0,onChange:c,onEdit:u,className:t.tabs.className,style:t.tabs.style,hideAdd:!0,items:_,tabBarExtraContent:e.jsx(ve,{config:t?.nav,isFirst:!!F,isLast:!!R,canCloseAll:n.length>0,onFirst:f,onPrev:v,onNext:y,onLast:i,onCloseAll:C}),renderTabBar:A})})},{Sider:je}=o.Layout,Q=({config:r={}})=>{const t={collapsed:!1,width:230,menuGubunCode:{mainMenu:"MAIN",subMenu:"SUB",program:"PRGM",...r?.menuGubunCode},className:{wrapper:"side-wrapper",search:"sider-search-ipt",segmented:{wrapper:"sider-segmented",item:"sider-segment-item",...r?.className?.segmented},sider:{content:"sider-content",loading:"sider-loading",loadingText:"sider-loading-text",error:"sider-error",errorIcon:"sider-error-icon",errorText:"sider-error-text",menu:"sider-menu",menuContainer:"sider-menu-container",...r?.className?.sider},...r?.className},style:{search:{placeholder:"메뉴명, 메뉴번호 검색...",height:30,...r?.style?.search},...r?.style},...r};console.log("@@ 사이드바 config : ",r);const[n,a]=l.useState(""),[s,m]=l.useState("category"),{activeMenuId:g,sidebarCollapsed:h,openTabFromMenu:c,toggleSidebar:u}=k.useMenuViewStore(),{menuList:f,isLoading:v,error:y,findMenuById:i}=k.useMenuModelStore(),{nodes:C,treeNodes:L,loadFavoritesIfNeeded:F}=k.useFavoriteStore(),R=l.useMemo(()=>{const x=[],b=(d,N=0)=>{if(d.menuGbCd===t.menuGubunCode.program&&d.scrnPath){const w=" ".repeat(N),B=d.menuNo||"";x.push({value:d.menuId,label:e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e.jsxs("span",{children:[w,d.menuNm]}),e.jsx("span",{style:{fontSize:"11px",color:"#999",backgroundColor:"#f0f0f0",padding:"2px 6px",borderRadius:"3px",marginLeft:"8px"},children:B})]}),menuItem:d})}d.children&&d.children.length>0&&d.children.forEach(w=>b(w,N+1))};return f.forEach(d=>b(d)),x},[f]),_=l.useMemo(()=>n.trim()?R.filter(x=>{const b=x.menuItem.menuNm.toLowerCase(),d=String(x.menuItem.menuNo||"미지정").toLowerCase(),N=n.toLowerCase();return b.includes(N)||d.includes(N)}):[],[R,n]),z=x=>{if(!x||typeof x!="string"){console.warn("Invalid menu selection value:",x);return}if(!/^[a-zA-Z0-9_-]+$/.test(x)){console.warn("Invalid menu ID format:",x);return}const b=R.find(d=>d.value===x);if(b){const{menuItem:d}=b;if(!d||!d.menuId||!d.menuNm){console.warn("Invalid menu item:",d);return}d.menuGbCd===t.menuGubunCode.program&&d.scrnPath?(console.log("✅ 검색으로 프로그램 메뉴 선택 - 탭 추가 및 setCurrentProgram 호출"),console.log("메뉴명:",d.menuNm,"경로:",d.scrnPath,"scrnId:",d.scrnId),c(d)):(d.menuGbCd===t.menuGubunCode.mainMenu||d.menuGbCd===t.menuGubunCode.subMenu)&&(console.log("❌ 검색으로 메인/서브 메뉴 선택 - 이벤트 무시"),console.log("메뉴명:",d.menuNm,"menuGbCd:",d.menuGbCd)),a("")}},A=l.useCallback(x=>{const b=i(x);b?.menuGbCd===t.menuGubunCode.program&&(console.log("메뉴명:",b.menuNm,"경로:",b.scrnPath,"scrnId:",b.scrnId),c(b))},[i,c]),p=l.useCallback(x=>x.map(b=>({key:b.menuId,label:e.jsx("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:e.jsx("span",{children:b.menuNm})}),icon:S(b.iconCd,b.menuGbCd),children:b.children&&b.children.length>0?p(b.children):void 0})),[]),S=(x,b)=>{if(x){const d=q[x];if(d)return e.jsx(d,{})}if(b)switch(b){case t.menuGubunCode.mainMenu:return e.jsx(q.HomeOutlined,{});case t.menuGubunCode.subMenu:return null;case t.menuGubunCode.program:return null;default:return null}return null},I=l.useCallback(x=>{if(f.length===0)return[];const b=N=>{if(N)return typeof N=="string"?C[N]:N},d=N=>{if(N.type==="M"){const w=N,B=i(w.menuId)||void 0,W=!!B,re=W?`${B?.menuNm??w.menuNm??w.menuId}`:`${w.menuNm??w.menuId} (삭제됨)`;return{key:w.menuId,label:re,icon:W?void 0:e.jsx(j.WarningOutlined,{style:{color:"#faad14"}})}}else{const w=N,B=(w.children??[]).map(b).filter(Boolean).map(d);return{key:w.bkmkId,label:w.bkmkNm??w.bkmkId,icon:w.prntBkmkId==="-"?e.jsx(j.StarOutlined,{}):e.jsx(j.FolderOpenOutlined,{}),children:B}}};return x.map(d)},[i,C,f]),P=l.useMemo(()=>I(L),[I,L,C]);return l.useEffect(()=>{T.getUserId()&&F(T.getUserId())},[F]),l.useEffect(()=>{s==="category"&&a("")},[s]),e.jsxs(je,{className:t.className.wrapper,collapsed:t.collapsed||h,trigger:null,width:t.width||230,children:[e.jsx("div",{style:{position:"absolute",top:"9px",right:"-25px",zIndex:"1000",width:"25px",height:"41px",backgroundColor:"#ffffff",border:"1px solid #dddddd",borderRadius:"0 10px 10px 0",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxShadow:"2px 2px 2px rgba(0, 0, 0, 0.05)",transition:"all 0.3s ease"},children:e.jsx(o.Button,{type:"text",icon:t.collapsed||h?e.jsx(j.MenuUnfoldOutlined,{}):e.jsx(j.MenuFoldOutlined,{}),style:{fontSize:"12px",color:"#787878",padding:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"0 10px 10px 0"},onClick:u})}),!(t.collapsed||h)&&e.jsx("div",{style:{padding:10},children:e.jsx(o.AutoComplete,{value:n,options:_,onSelect:z,onSearch:a,style:{width:"100%"},allowClear:!0,children:e.jsx(o.Input,{className:t.className.search,placeholder:t.style.search.placeholder,prefix:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M16.4972 16.6667L13.0355 13.1694M14.8475 8.75C14.8475 5.29822 12.0777 2.5 8.66105 2.5C5.24437 2.5 2.47461 5.29822 2.47461 8.75C2.47461 12.2018 5.24437 15 8.66105 15C12.0777 15 14.8475 12.2018 14.8475 8.75Z",stroke:"#5F5F5F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),size:"middle",style:{height:t.style.search.height||30}})})}),!(t.collapsed||h)&&e.jsx("div",{style:{width:"100%",padding:"0px 10px",marginBottom:"10px"},children:e.jsx(o.Segmented,{className:t.className.segmented.wrapper,options:[{label:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:t.className.segmented.item,style:{display:"flex",alignItems:"center"},children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e.jsx("path",{d:"M2.46979 6.90625H13.0298C13.7298 6.90625 14.2965 7.47292 14.2965 8.17292V13.5396H1.20312V8.17292C1.20312 7.47292 1.76979 6.90625 2.46979 6.90625Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.76318 4.70626C2.76318 4.00626 3.18318 3.75293 3.69652 3.75293H11.8032C12.3165 3.75293 12.7365 4.00626 12.7365 4.70626",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4.71631 1.45996H10.783",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),"카테고리"]}),value:"category"},{label:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:t.className.segmented.item,style:{display:"flex",alignItems:"center"},children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M7.11329 1.33356C7.32084 0.888813 7.66676 0.888813 7.88296 1.33356L9.258 4.25619C9.46556 4.70094 10.0277 5.12753 10.4947 5.20014L13.5647 5.67212C14.0317 5.74473 14.1441 6.08964 13.7982 6.43455L11.5757 8.70367C11.2384 9.04858 11.0222 9.73839 11.1 10.2285L11.6276 13.4325C11.7054 13.9227 11.4287 14.1405 11.0049 13.9045L8.26348 12.3887C7.83972 12.1527 7.15653 12.1527 6.73277 12.3887L3.99134 13.9045C3.56759 14.1405 3.29085 13.9227 3.36868 13.4325L3.89621 10.2285C3.97405 9.73839 3.76649 9.04858 3.42057 8.70367L1.19802 6.43455C0.86075 6.08964 0.964526 5.74473 1.43152 5.67212L4.50158 5.20014C4.96857 5.12753 5.5307 4.70094 5.73825 4.25619L7.11329 1.33356Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"4"})})}),"즐겨찾기"]}),value:"favorite"}],value:s,onChange:x=>{m(x)},style:{width:"100%"},block:!0})}),e.jsxs("div",{className:t.className.sider.content,children:[v&&e.jsxs("div",{className:t.className.sider.loading,style:{padding:10,margin:"0 auto",textAlign:"center",color:"var(--text-primary)"},children:[e.jsx(o.ConfigProvider,{theme:{components:{Spin:{colorPrimary:"var(--primary-color)"}}},children:e.jsx(o.Spin,{size:"default"})}),e.jsx("div",{className:t.className.sider.loadingText,style:{marginTop:10},children:"메뉴 로딩 중..."})]}),y&&e.jsxs("div",{className:t.className.sider.error,children:[e.jsx(j.ExclamationCircleOutlined,{className:t.className.sider.errorIcon}),e.jsx("div",{className:t.className.sider.errorText,children:"메뉴 로드 실패"})]}),!v&&!y&&s==="category"&&f.length===0&&e.jsx("div",{style:{padding:"16px",textAlign:"center",color:"#666",fontSize:"12px"},children:"메뉴가 없습니다"}),!v&&!y&&s==="favorite"&&P.length===0&&e.jsx("div",{style:{padding:"16px",textAlign:"center",color:"#666",fontSize:"12px"},children:"즐겨찾기된 메뉴가 없습니다"}),!v&&!y&&s==="category"&&f.length>0&&e.jsx("div",{className:t.className.sider.menuContainer,children:e.jsx(o.Menu,{theme:"light",mode:"inline",items:p(f),className:t.className.sider.menu,selectedKeys:[g||""],onClick:x=>A(x.key)})}),!v&&!y&&s==="favorite"&&P.length>0&&e.jsx("div",{className:t.className.sider.menuContainer,children:e.jsx(o.Menu,{theme:"light",mode:"inline",items:P,className:t.className.sider.menu,selectedKeys:[g||""],onClick:x=>A(x.key)})})]})]})};class we extends l.Component{constructor(t){super(t),this.resetError=()=>{this.setState({hasError:!1,error:void 0,errorInfo:void 0})},this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("ErrorBound caught an error:",t,n),this.setState({error:t,errorInfo:n})}render(){return this.state.hasError?this.props.fallback?this.props.fallback:e.jsxs("div",{style:{padding:"40px 20px",textAlign:"center",backgroundColor:"#fafafa",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[e.jsx(o.Result,{status:"error",title:"컴포넌트 로딩 중 오류가 발생했습니다",subTitle:this.state.error?`오류 내용: ${this.state.error.message}`:"알 수 없는 오류가 발생했습니다",extra:[e.jsx(o.Button,{type:"primary",icon:e.jsx(j.ReloadOutlined,{}),onClick:this.resetError,style:{marginRight:8},children:"다시 시도"},"retry")]}),this.state.error&&e.jsxs("details",{style:{marginTop:"20px",textAlign:"left",maxWidth:"600px",backgroundColor:"#fff",padding:"16px",borderRadius:"6px",border:"1px solid #d9d9d9"},children:[e.jsx("summary",{style:{cursor:"pointer",fontWeight:"bold"},children:"오류 상세 정보"}),e.jsx("pre",{style:{marginTop:"8px",fontSize:"12px",color:"#666",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:this.state.error.stack})]})]}):this.props.children}}const ke=({isActive:r,instance:t,params:n})=>{const{activeMenuId:a,closeTab:s}=k.useMenuViewStore(),m=()=>{a&&s(a)};return t?e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",visibility:r?"visible":"hidden",opacity:r?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:r?"auto":"none"},children:e.jsx(we,{children:e.jsx(l.Suspense,{fallback:null,children:t&&l.createElement(t,{params:n})})})}):e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",visibility:r?"visible":"hidden",opacity:r?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:r?"auto":"none"},children:e.jsx("div",{style:{width:500,maxWidth:"90%",background:"#fff",borderRadius:16,boxShadow:"0 8px 30px rgba(0,0,0,0.05)",padding:24},children:e.jsx(o.Result,{icon:e.jsx(j.ExclamationCircleTwoTone,{twoToneColor:"#69b1ff"}),status:"warning",title:"등록된 메뉴 정보가 없거나 유효한 메뉴가 아닙니다.",subTitle:e.jsx(o.Typography.Text,{type:"secondary",children:"자세한 내용은 관리자에게 문의바랍니다."}),extra:e.jsx(o.Space,{children:e.jsx(o.Button,{icon:e.jsx(j.CloseOutlined,{}),onClick:m,children:"탭 닫기"})})})})})},J=l.memo(ke),ee=()=>e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"preload",as:"image",href:"/src/styles/assets/images/backgrounds/LandingContainer_bg.png"}),e.jsx("div",{className:"LandingContainer-wrap",children:e.jsx("div",{className:"inner",children:e.jsx("div",{className:"content"})})})]}),Ne=(r,t)=>{console.log("createPopupViewLoader 호출 - popupUrl:",r);const a=(s=>{if(s.startsWith("/src/pages/views/popup/")){const h=s+".tsx";return console.log(`팝업 URL 변환: ${s} -> ${h}`),h}const g=`/src/pages/views/popup/${s.startsWith("/")?s.substring(1):s}.tsx`;return console.log(`팝업 URL 변환: ${s} -> ${g}`),g})(r);return!a||!t?.glob[a]?(console.warn(`팝업 뷰를 찾을 수 없습니다: ${r} (${a})`),console.warn("사용 가능한 팝업 뷰들:",Object.keys(t?.glob||{})),null):t?.glob[a]},Se=({popup:r,modules:t})=>{const[n,a]=l.useState(null),[s,m]=l.useState(!1),[g,h]=l.useState(null),c=()=>{console.log("PopupArea - handleClose:",r.popupId),k.usePopupStore.getState().closePopup(r.popupId)};return l.useEffect(()=>{(async()=>{console.log("팝업 뷰 로드 시작:",r.popupUrl),m(!0),h(null);try{const f=Ne(r.popupUrl,t);if(!f){const i=`팝업 뷰를 찾을 수 없습니다: ${r.popupUrl}`;console.error(i),h(i),m(!1);return}console.log("팝업 뷰 모듈 로드 중...");const v=await f();console.log("팝업 뷰 모듈 로드 완료:",v);const y=v.default;if(console.log("팝업 뷰 컴포넌트:",y),!y)throw new Error("팝업 뷰 컴포넌트를 찾을 수 없습니다");a(()=>y),console.log("팝업 뷰 설정 완료")}catch(f){console.error("팝업 뷰 로드 실패:",f),h(f instanceof Error?f.message:"팝업 뷰 로드 실패")}finally{m(!1)}})()},[r.popupUrl]),s?e.jsxs("div",{className:"popup-loading",children:[e.jsx(o.Spin,{size:"large"}),e.jsx("p",{children:"팝업을 로드하는 중..."})]}):g?e.jsxs("div",{className:"popup-error",children:[e.jsx(o.Empty,{description:g,image:o.Empty.PRESENTED_IMAGE_SIMPLE}),e.jsx(o.Button,{icon:e.jsx(j.ReloadOutlined,{}),onClick:()=>window.location.reload(),children:"다시 시도"})]}):n?e.jsx(l.Suspense,{fallback:e.jsxs("div",{className:"popup-loading",children:[e.jsx(o.Spin,{size:"large"}),e.jsx("p",{children:"컴포넌트를 로드하는 중..."})]}),children:e.jsx(n,{popup:{...r,close:c},onClose:c})}):e.jsx("div",{className:"popup-empty",children:e.jsx(o.Empty,{description:"팝업 내용을 불러올 수 없습니다."})})},te=({modules:r})=>{const{popups:t}=k.usePopupStore();return t.length===0?null:e.jsx(e.Fragment,{children:t.map(n=>{const a=n.config||{},s=a.width||n.width||800,m=a.height||n.height||600,g=a.title||n.popupTitle,h=n.buttonList?.map((c,u)=>({key:c.btnId||`btn_${u}`,text:c.btnNm,type:c.btnId==="CLOSE"?"default":"primary",disabled:c.enblYn!=="Y",danger:!1}))||[];return console.log("팝업 렌더링:",{popupId:n.popupId,popupCode:n.popupCode,title:g,width:s,height:m,buttons:h}),e.jsx("div",{children:e.jsx(Se,{popup:n,modules:r})},n.popupId)})})},Ie=()=>{const{popups:r,closePopup:t}=k.usePopupStore();return e.jsx(e.Fragment,{children:r.map(n=>{if(!(n.isLocal||n.popupCode.startsWith("CORE_")))return null;const a=K[n.popupCode];if(!a)return null;const s=a.component;return e.jsx(l.Suspense,{fallback:null,children:e.jsx(s,{popup:n,onClose:()=>t(n.popupId)})},n.popupId)})})},Te=r=>({position:"absolute",inset:0,visibility:r?"visible":"hidden",opacity:r?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:r?"auto":"none"}),Le=({once:r=!0})=>{const{lock:t}=D.useLock(),n=l.useRef(!1);return l.useEffect(()=>{r&&n.current||(n.current=!0,t())},[r,t]),null},ne=({isActive:r,flagged:t,tabKey:n,onUnlock:a,children:s})=>{const m=l.useRef(null),[g,h]=l.useState(!1),c=l.useCallback(f=>{m.current=f,h(!!f)},[]),u=Te(r);return e.jsx("div",{ref:c,style:u,children:g?e.jsxs(D.ScreenProtectProvider,{idleMs:Number.POSITIVE_INFINITY,persistLocked:!1,overlayScope:"scoped",overlayPosition:"absolute",eventTarget:m.current,overlayId:`tab-overlay-${n}`,onUnlock:async()=>(a(),!0),children:[r&&t?e.jsx(Le,{once:!0}):null,s]}):s})},Pe=({config:r={},modules:t={view:{path:"/src/pages/views/content"},popup:{path:"/src/pages/views/popups"}}})=>{const n=l.useRef(new Map),{tabs:a,tabParams:s,activeMenuId:m,tabProtectFlag:g,clearProtectFlagForKey:h}=k.useMenuViewStore(),c=l.useCallback(u=>{const f=n.current.get(u.key);if(f)return f;const v=u.gubun==="M"?`${t.view.path}${u.menuItem?.scrnPath}.tsx`:`${t.view.path}${u.componentItem?.scrnPath}.tsx`;let y=t.view?.glob?.[v];if(!y&&typeof{url:typeof document>"u"?require("url").pathToFileURL(__filename).href:$&&$.tagName.toUpperCase()==="SCRIPT"&&$.src||new URL("chunks/layout-components-C_HvgcCg.cjs",document.baseURI).href}<"u",y){const i=l.lazy(y);return n.current.set(u.key,i),i}return null},[t.view?.glob]);return e.jsxs(o.Layout,{className:"main-layout",children:[e.jsx(Y,{config:r?.header}),e.jsxs(o.Layout,{children:[e.jsx(Q,{config:r?.sidebar}),e.jsxs("div",{className:"content-container",children:[e.jsx(X,{config:r?.menuTab}),e.jsxs(Z,{config:r?.content,children:[e.jsx("div",{className:"view-container",children:e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[a.map(u=>{const f=c(u),v=m===u.key,y=!!g?.[u.key],i=s[u.key]||{};return e.jsx(D.SearchBoxProvider,{children:e.jsx(ne,{isActive:v,flagged:y,tabKey:u.key,onUnlock:()=>h(u.key),children:e.jsx(J,{isActive:v,instance:f||void 0,params:i},u.key)},u.key)},`sbp-${u.key}`)}),(!m||a.length===0)&&e.jsx(ee,{})]})}),e.jsx(Ie,{}),e.jsx(te,{modules:t?.popup})]})]})]}),e.jsx(G.QuickServiceToggle,{})]})},Me=({config:r,children:t})=>e.jsx("div",{children:"BwgPortal02"});function Be({config:r,ui:t,navigate:n}){const{loading:a,capsOn:s,prefills:m,onKeyDown:g,doLogin:h}=k.useLogin(r),c=u=>h(u,n);return l.useEffect(()=>{k.useSystemStore.getState().fetchSystemMap()},[]),e.jsx(e.Fragment,{children:t({onSubmit:c,loading:a,capsOn:s,onKeyDown:g,prefills:m})})}function Ee({onSubmit:r,loading:t,capsOn:n,onKeyDown:a,prefills:s,labels:m={id:"ID 혹은 사번",pw:"비밀번호",remember:"Remember me",login:"로그인"},header:g,footer:h}){const[c]=o.Form.useForm();return l.useEffect(()=>{s&&(s.id||s.pswr)&&c.setFieldsValue({id:s.id,pswr:s.pswr})},[s,c]),e.jsx("div",{className:"login-main",children:e.jsxs("div",{className:"login_wrap",children:[g||e.jsx("div",{className:"logo_box"}),e.jsx("div",{className:"login_title"}),e.jsx(o.Form,{form:c,onFinish:r,className:"login-form",children:e.jsxs(o.Flex,{vertical:!0,children:[e.jsx(o.Form.Item,{name:"id",rules:[{required:!0,message:"아이디를 입력해주세요."},{whitespace:!0,message:"아이디는 공백이 들어갈 수 없습니다."}],children:e.jsx(o.Input,{allowClear:!0,placeholder:m.id,onKeyDown:a})}),e.jsx(o.Form.Item,{name:"pswr",rules:[{required:!0,message:"비밀번호를 입력하세요."}],children:e.jsx(o.Input.Password,{allowClear:!0,placeholder:m.pw,onKeyDown:a})}),e.jsx(o.Form.Item,{name:"remember",valuePropName:"checked",children:e.jsx(o.Checkbox,{children:m.remember})}),e.jsx("div",{className:n?"caps-lock caps-lock-on":"caps-lock",children:n?"Caps Lock On":"Caps Lock Off"}),e.jsx(o.Form.Item,{children:e.jsx(o.Button,{type:"primary",htmlType:"submit",loading:t,block:!0,children:m.login})})]})}),h]})})}exports.AppWrapper=he;exports.BwgCoreLogin=Be;exports.BwgPortal01=Pe;exports.BwgPortal02=Me;exports.ConfigurableContent=Z;exports.ConfigurableHeader=Y;exports.ConfigurableMenuTab=X;exports.ConfigurableSidebar=Q;exports.ContentContainer=J;exports.DefaultLoginView=Ee;exports.LandingContainer=ee;exports.LoadingContainer=pe;exports.PopupContainer=te;exports.ProtectWrapper=ne;exports.localPopupRegistry=K;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as g, jsx as e, Fragment as R } from "react/jsx-runtime";
|
|
2
2
|
import { ServiceCodeProvider as me, CommonCodeProvider as pe, ScreenProtectProvider as he, useLock as ge, SearchBoxProvider as fe } from "../provider/index.js";
|
|
3
3
|
import { Routes as be, Route as K, Navigate as ye, useNavigate as Ce } from "react-router-dom";
|
|
4
|
-
import { G as ve, B as we, Q as xe } from "./common-components-
|
|
5
|
-
import { Spin as j, Layout as H, ColorPicker as ke, Button as x, Popover as Ne, Avatar as Ie, Tabs as
|
|
6
|
-
import { lazy as F, useEffect as
|
|
7
|
-
import { useLogout as Fe, useMenuViewStore as
|
|
4
|
+
import { G as ve, B as we, Q as xe } from "./common-components-BLgaNCNY.js";
|
|
5
|
+
import { Spin as j, Layout as H, ColorPicker as ke, Button as x, Popover as Ne, Avatar as Ie, Tabs as Te, Tooltip as z, AutoComplete as Se, Input as Y, Segmented as Le, ConfigProvider as Pe, Menu as te, Result as ie, Space as Me, Typography as Be, Empty as Z, Form as O, Flex as Ee, Checkbox as De } from "antd";
|
|
6
|
+
import { lazy as F, useEffect as T, useState as L, useRef as V, useMemo as W, useCallback as E, createElement as le, memo as q, cloneElement as Oe, Component as Re, Suspense as Q } from "react";
|
|
7
|
+
import { useLogout as Fe, useMenuViewStore as S, useMenuModelStore as Ae, useFavoriteStore as ze, usePopupStore as J, useLogin as He, useSystemStore as Ve } from "../stores/index.js";
|
|
8
8
|
import * as ne from "@ant-design/icons";
|
|
9
9
|
import { UserOutlined as _e, StepBackwardOutlined as $e, LeftOutlined as Ge, RightOutlined as We, StepForwardOutlined as je, CloseOutlined as ce, MenuUnfoldOutlined as Ue, MenuFoldOutlined as Ke, ExclamationCircleOutlined as Ze, WarningOutlined as Ye, StarOutlined as Xe, FolderOpenOutlined as qe, ReloadOutlined as de, ExclamationCircleTwoTone as Qe } from "@ant-design/icons";
|
|
10
|
-
import { getCookie as Je,
|
|
10
|
+
import { getCookie as Je, getTodateString as re, setCookie as et, THEME_COOKIE_NAME as oe, getUserId as se } from "../utils/index.js";
|
|
11
11
|
import { useSensors as tt, useSensor as nt, PointerSensor as rt, DndContext as ot, closestCenter as st } from "@dnd-kit/core";
|
|
12
12
|
import { restrictToHorizontalAxis as at } from "@dnd-kit/modifiers";
|
|
13
13
|
import { arrayMove as it, SortableContext as lt, horizontalListSortingStrategy as ct, useSortable as dt } from "@dnd-kit/sortable";
|
|
14
|
-
const ut = F(() => import("./MenuReport-
|
|
14
|
+
const ut = F(() => import("./MenuReport-D-gxEaXb.js")), mt = F(() => import("./common-components-BLgaNCNY.js").then((r) => r.W)), pt = F(() => import("./common-components-BLgaNCNY.js").then((r) => r.X)), ht = F(() => import("./common-components-BLgaNCNY.js").then((r) => r.Y)), gt = F(() => import("./common-components-BLgaNCNY.js").then((r) => r.Z)), ft = {
|
|
15
15
|
// 게시판/문의
|
|
16
16
|
CORE_REPORT: {
|
|
17
17
|
component: ut,
|
|
@@ -104,7 +104,7 @@ const yt = ({
|
|
|
104
104
|
direction: p = "ltr",
|
|
105
105
|
phase: m = 0.7
|
|
106
106
|
}) => {
|
|
107
|
-
|
|
107
|
+
T(() => {
|
|
108
108
|
bt();
|
|
109
109
|
}, []);
|
|
110
110
|
const i = t ?? r.length, c = Array.from({ length: i }), h = {
|
|
@@ -325,7 +325,7 @@ const yt = ({
|
|
|
325
325
|
C.buttonPermissionBorder
|
|
326
326
|
), p.current && p.current.setAttribute("data-theme", a), document.documentElement.setAttribute("data-theme", a), et(oe, a, 30);
|
|
327
327
|
};
|
|
328
|
-
|
|
328
|
+
T(() => {
|
|
329
329
|
const a = Je(oe);
|
|
330
330
|
a && B[a] ? c(a) : c("modern");
|
|
331
331
|
}, []);
|
|
@@ -489,7 +489,7 @@ const yt = ({
|
|
|
489
489
|
return t + " " + n + "ms " + s;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
}),
|
|
492
|
+
}), Tt = q(
|
|
493
493
|
({ className: r, ...t }) => {
|
|
494
494
|
const n = V(null), {
|
|
495
495
|
attributes: s,
|
|
@@ -499,7 +499,7 @@ const yt = ({
|
|
|
499
499
|
isDragging: m,
|
|
500
500
|
setNodeRef: i
|
|
501
501
|
} = dt({ id: t["data-node-key"] }), [c, h] = L();
|
|
502
|
-
|
|
502
|
+
T(() => {
|
|
503
503
|
const b = n.current;
|
|
504
504
|
if (b)
|
|
505
505
|
if (m) {
|
|
@@ -530,7 +530,7 @@ const yt = ({
|
|
|
530
530
|
...o
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
),
|
|
533
|
+
), St = q(function({
|
|
534
534
|
config: t,
|
|
535
535
|
isFirst: n,
|
|
536
536
|
isLast: s,
|
|
@@ -666,7 +666,7 @@ const yt = ({
|
|
|
666
666
|
...r?.nav
|
|
667
667
|
},
|
|
668
668
|
...r
|
|
669
|
-
}, n =
|
|
669
|
+
}, n = S((u) => u.tabs), s = S((u) => u.activeMenuId), o = S((u) => u.focusTab), d = S((u) => u.closeTab), p = S((u) => u.reorderTabs), m = tt(
|
|
670
670
|
nt(rt, { activationConstraint: { distance: 6 } })
|
|
671
671
|
), i = (u) => {
|
|
672
672
|
o(u);
|
|
@@ -720,7 +720,7 @@ const yt = ({
|
|
|
720
720
|
items: n.map((I) => I.key),
|
|
721
721
|
strategy: ct,
|
|
722
722
|
children: /* @__PURE__ */ e(N, { ...u, children: (I) => /* @__PURE__ */ le(
|
|
723
|
-
|
|
723
|
+
Tt,
|
|
724
724
|
{
|
|
725
725
|
...I.props,
|
|
726
726
|
key: I.key
|
|
@@ -742,7 +742,7 @@ const yt = ({
|
|
|
742
742
|
display: n.length === 0 ? "none" : "block"
|
|
743
743
|
},
|
|
744
744
|
children: /* @__PURE__ */ e(
|
|
745
|
-
|
|
745
|
+
Te,
|
|
746
746
|
{
|
|
747
747
|
type: "editable-card",
|
|
748
748
|
activeKey: s || void 0,
|
|
@@ -753,7 +753,7 @@ const yt = ({
|
|
|
753
753
|
hideAdd: !0,
|
|
754
754
|
items: U,
|
|
755
755
|
tabBarExtraContent: /* @__PURE__ */ e(
|
|
756
|
-
|
|
756
|
+
St,
|
|
757
757
|
{
|
|
758
758
|
config: t?.nav,
|
|
759
759
|
isFirst: !!_,
|
|
@@ -817,7 +817,7 @@ const yt = ({
|
|
|
817
817
|
console.log("@@ 사이드바 config : ", r);
|
|
818
818
|
const [n, s] = L(""), [o, d] = L(
|
|
819
819
|
"category"
|
|
820
|
-
), { activeMenuId: p, sidebarCollapsed: m, openTabFromMenu: i, toggleSidebar: c } =
|
|
820
|
+
), { activeMenuId: p, sidebarCollapsed: m, openTabFromMenu: i, toggleSidebar: c } = S(), { menuList: h, isLoading: v, error: b, findMenuById: a } = Ae(), { nodes: C, treeNodes: P, loadFavoritesIfNeeded: _ } = ze(), A = W(() => {
|
|
821
821
|
const f = [], y = (l, k = 0) => {
|
|
822
822
|
if (l.menuGbCd === t.menuGubunCode.program && l.scrnPath) {
|
|
823
823
|
const w = " ".repeat(k), D = l.menuNo || "";
|
|
@@ -969,9 +969,9 @@ const yt = ({
|
|
|
969
969
|
() => I(P),
|
|
970
970
|
[I, P, C]
|
|
971
971
|
);
|
|
972
|
-
return
|
|
972
|
+
return T(() => {
|
|
973
973
|
se() && _(se());
|
|
974
|
-
}, [_]),
|
|
974
|
+
}, [_]), T(() => {
|
|
975
975
|
o === "category" && s("");
|
|
976
976
|
}, [o]), /* @__PURE__ */ g(
|
|
977
977
|
Pt,
|
|
@@ -1029,7 +1029,7 @@ const yt = ({
|
|
|
1029
1029
|
padding: 10
|
|
1030
1030
|
},
|
|
1031
1031
|
children: /* @__PURE__ */ e(
|
|
1032
|
-
|
|
1032
|
+
Se,
|
|
1033
1033
|
{
|
|
1034
1034
|
value: n,
|
|
1035
1035
|
options: U,
|
|
@@ -1344,7 +1344,7 @@ const Et = ({
|
|
|
1344
1344
|
instance: t,
|
|
1345
1345
|
params: n
|
|
1346
1346
|
}) => {
|
|
1347
|
-
const { activeMenuId: s, closeTab: o } =
|
|
1347
|
+
const { activeMenuId: s, closeTab: o } = S(), d = () => {
|
|
1348
1348
|
s && o(s);
|
|
1349
1349
|
};
|
|
1350
1350
|
return t ? /* @__PURE__ */ e(
|
|
@@ -1430,7 +1430,7 @@ const Et = ({
|
|
|
1430
1430
|
const [n, s] = L(null), [o, d] = L(!1), [p, m] = L(null), i = () => {
|
|
1431
1431
|
console.log("PopupArea - handleClose:", r.popupId), J.getState().closePopup(r.popupId);
|
|
1432
1432
|
};
|
|
1433
|
-
return
|
|
1433
|
+
return T(() => {
|
|
1434
1434
|
(async () => {
|
|
1435
1435
|
console.log("팝업 뷰 로드 시작:", r.popupUrl), d(!0), m(null);
|
|
1436
1436
|
try {
|
|
@@ -1523,7 +1523,7 @@ const Et = ({
|
|
|
1523
1523
|
pointerEvents: r ? "auto" : "none"
|
|
1524
1524
|
}), Vt = ({ once: r = !0 }) => {
|
|
1525
1525
|
const { lock: t } = ge(), n = V(!1);
|
|
1526
|
-
return
|
|
1526
|
+
return T(() => {
|
|
1527
1527
|
r && n.current || (n.current = !0, t());
|
|
1528
1528
|
}, [r, t]), null;
|
|
1529
1529
|
}, _t = ({ isActive: r, flagged: t, tabKey: n, onUnlock: s, children: o }) => {
|
|
@@ -1565,7 +1565,7 @@ const Et = ({
|
|
|
1565
1565
|
activeMenuId: d,
|
|
1566
1566
|
tabProtectFlag: p,
|
|
1567
1567
|
clearProtectFlagForKey: m
|
|
1568
|
-
} =
|
|
1568
|
+
} = S(), i = E(
|
|
1569
1569
|
(c) => {
|
|
1570
1570
|
const h = n.current.get(c.key);
|
|
1571
1571
|
if (h) return h;
|
|
@@ -1637,7 +1637,7 @@ function on({
|
|
|
1637
1637
|
navigate: n
|
|
1638
1638
|
}) {
|
|
1639
1639
|
const { loading: s, capsOn: o, prefills: d, onKeyDown: p, doLogin: m } = He(r), i = (c) => m(c, n);
|
|
1640
|
-
return
|
|
1640
|
+
return T(() => {
|
|
1641
1641
|
Ve.getState().fetchSystemMap();
|
|
1642
1642
|
}, []), /* @__PURE__ */ e(R, { children: t({ onSubmit: i, loading: s, capsOn: o, onKeyDown: p, prefills: d }) });
|
|
1643
1643
|
}
|
|
@@ -1657,7 +1657,7 @@ function sn({
|
|
|
1657
1657
|
footer: m
|
|
1658
1658
|
}) {
|
|
1659
1659
|
const [i] = O.useForm();
|
|
1660
|
-
return
|
|
1660
|
+
return T(() => {
|
|
1661
1661
|
o && (o.id || o.pswr) && i.setFieldsValue({ id: o.id, pswr: o.pswr });
|
|
1662
1662
|
}, [o, i]), /* @__PURE__ */ e("div", { className: "login-main", children: /* @__PURE__ */ g("div", { className: "login_wrap", children: [
|
|
1663
1663
|
p || /* @__PURE__ */ e("div", { className: "logo_box" }),
|
|
@@ -263,7 +263,7 @@ interface BwgGridRef {
|
|
|
263
263
|
}
|
|
264
264
|
interface BwgGridProps {
|
|
265
265
|
/** 그리드 렌더 타입 */
|
|
266
|
-
type?:
|
|
266
|
+
type?: 'nrml' | 'tree';
|
|
267
267
|
/** 그리드영역 CSS 스타일 */
|
|
268
268
|
gridDivStyle?: CSSProperties;
|
|
269
269
|
/** 그리드영역 CSS 클래스 */
|
|
@@ -411,6 +411,8 @@ interface BwgGridOptions {
|
|
|
411
411
|
container?: {
|
|
412
412
|
/** 헤더 표시 여부 */
|
|
413
413
|
header?: boolean;
|
|
414
|
+
/** 헤더 툴팁 설정 */
|
|
415
|
+
headerShowTooltip?: boolean;
|
|
414
416
|
/**
|
|
415
417
|
* 라디오 버튼 표시 여부
|
|
416
418
|
* @remark 체크박스 옵션과 동시 사용시, 우선적용
|
|
@@ -455,6 +457,8 @@ interface BwgGridColHeaderProps {
|
|
|
455
457
|
* 그룹헤더 이용시 그룹헤더 숨김처리
|
|
456
458
|
*/
|
|
457
459
|
visible?: boolean;
|
|
460
|
+
/** 헤더 툴팁 설정 */
|
|
461
|
+
tooltip?: string;
|
|
458
462
|
}
|
|
459
463
|
interface BwgGridColProps extends DataColumn {
|
|
460
464
|
/** 컬럼명 (큰 의미를 갖지는 않는다.) */
|
|
@@ -470,7 +474,7 @@ interface BwgGridColProps extends DataColumn {
|
|
|
470
474
|
/** 편집여부 */
|
|
471
475
|
editable?: boolean;
|
|
472
476
|
/** 컬럼 데이터 정렬 */
|
|
473
|
-
align?:
|
|
477
|
+
align?: 'left' | 'center' | 'right';
|
|
474
478
|
/** 컬럼 필드 자료형 */
|
|
475
479
|
dataType?: ValueType | string;
|
|
476
480
|
/** 컬럼 필수 */
|
|
@@ -480,7 +484,7 @@ interface BwgGridColProps extends DataColumn {
|
|
|
480
484
|
/** 그룹핑 자식 컬럼헤더 */
|
|
481
485
|
children?: BwgGridColProps[];
|
|
482
486
|
/** 그룹핑 정렬 */
|
|
483
|
-
direction?:
|
|
487
|
+
direction?: 'vertical' | 'horizontal';
|
|
484
488
|
/** true시 lookupDisplay가 true인 컬럼은 value가 아닌 label 또는 labelField의 값을 복사 */
|
|
485
489
|
lookupDisplay?: boolean;
|
|
486
490
|
renderer?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgGrid.d.ts","sourceRoot":"","sources":["../../../src/components/common/BwgGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,YAAY,EAIb,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,aAAa,EACb,aAAa,EAGb,gBAAgB,EAEhB,GAAG,EAOJ,MAAM,OAAO,CAAC;AAEf,OAAO,QAAQ,EAAE,EACf,SAAS,EACT,SAAS,EACT,wBAAwB,EACxB,UAAU,EACV,gBAAgB,EAEhB,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,qBAAqB,EAErB,cAAc,EAGd,QAAQ,EACR,eAAe,EACf,SAAS,EACV,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAS9D,UAAU,qBAAqB;IAC7B,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe;IACf,UAAU,CAAC,EAAE;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,6BAA6B;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED;;;;GAIG;AACH,UAAU,gBAAgB;IACxB,UAAU;IACV,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,UAAU;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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS;IACT,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA46CD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACxD,YAAY,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC;IAClC,KAAK,EAAE,MAAM,GAAG,CAAC;CAClB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,KACzE,iBAkCF,CAAC;wBAGwB,aAAa,CAAC,YAAY,CAAC;AAArD,wBAAsD;AACtD,YAAY,EACV,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,GACX,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-CeY5flj3.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=e.createBwgGridRenderer;exports.realFormat=o.realFormat;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e, q as o, r, j as B, B as g, s as w, t, p as i, h as n, u as l, o as d, n as p, i as C, b as c, v as u, l as f, e as S, k as m, d as x, C as G, G as b, Q as v, w as P, S as T, m as A } from "../../chunks/common-components-
|
|
1
|
+
import { f as e, q as o, r, j as B, B as g, s as w, t, p as i, h as n, u as l, o as d, n as p, i as C, b as c, v as u, l as f, e as S, k as m, d as x, C as G, G as b, Q as v, w as P, S as T, m as A } from "../../chunks/common-components-BLgaNCNY.js";
|
|
2
2
|
import { realFormat as k } from "../../utils/index.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ButtonAccessController,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BwgPracticeGuideS00.d.ts","sourceRoot":"","sources":["../../../src/components/guide/BwgPracticeGuideS00.tsx"],"names":[],"mappings":"AA8BA;;GAEG;AACH,QAAA,MAAM,cAAc,+
|
|
1
|
+
{"version":3,"file":"BwgPracticeGuideS00.d.ts","sourceRoot":"","sources":["../../../src/components/guide/BwgPracticeGuideS00.tsx"],"names":[],"mappings":"AA8BA;;GAEG;AACH,QAAA,MAAM,cAAc,+CAqTnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../chunks/common-components-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../chunks/common-components-CeY5flj3.cjs"),a=require("react"),w=require("antd"),o=require("../../utils/index.cjs"),l=require("../core/index.cjs"),B=require("../../provider/index.cjs"),y=()=>e.jsx(t.BwgSpace,{children:"BwgComponentGuide"}),b=()=>e.jsx(t.BwgSpace,{children:"BwgDeveloperGuide"}),f=()=>{const s=a.useRef(null),r=a.useRef(null),[u,m]=a.useState(""),n=a.useMemo(()=>[{reqNo:"REQ-2025-001",eventType:"결혼",employeeId:"E001",employeeName:"김지원",relation:"본인",eventDate:"2025-10-05",amount:"200000",docTitle:"본인 결혼 경조사",note:"",requestDate:"2025-10-01",status:"접수",fileGrpKey:"293",aprvKey:"4d04f9f9a0ca4de8b475bc0b86263e7"},{reqNo:"REQ-2025-002",eventType:"출산",employeeId:"E002",employeeName:"박지영",relation:"배우자",eventDate:"2025-09-28",amount:"150000",docTitle:"배우자 출산 경조사",note:"증빙 파일 첨부",requestDate:"2025-09-29",status:"완료",fileGrpKey:"294"},{reqNo:"REQ-2025-003",eventType:"조의",employeeId:"E003",employeeName:"이도현",relation:"부모",eventDate:"2025-10-10",amount:"100000",docTitle:"부모상 조의",note:"",requestDate:"2025-10-11",status:"진행",fileGrpKey:"295"}],[]),d=a.useMemo(()=>[{fieldName:"reqNo",width:120,header:{text:"신청번호"},styleName:"center"},{fieldName:"aprvKey",width:120,header:{text:"그룹웨어 신청번호"},styleName:"center"},{fieldName:"eventType",width:110,header:{text:"경조구분"},styleName:"center"},{fieldName:"employeeName",width:120,header:{text:"대상자"},styleName:"left"},{fieldName:"relation",width:100,header:{text:"관계"},styleName:"center"},{fieldName:"amount",width:120,header:{text:"금액"},styleName:"right"},{fieldName:"docTitle",width:120,header:{text:"제목"},styleName:"left"},{fieldName:"requestDate",width:130,header:{text:"신청일자"},styleName:"center"},{fieldName:"status",width:100,header:{text:"상태"},styleName:"center"},{fieldName:"fileGrpKey",width:100,header:{text:"파일그룹키"},styleName:"center"},{fieldName:"testData",width:100,header:{text:"테스트 값"},lookupDisplay:!0,labels:["메인메뉴","서브메뉴","프로그램"],values:["CMPRGRM","CMPRGRS","CMPRGRP"]}],[]),c=a.useCallback((i,p)=>{const x=i.getDataSource().getJsonRow(p.dataRow);m(x.fileGrpKey)},[]),h=a.useMemo(()=>({onCurrentChanged:c}),[c]),g={search:()=>{s.current?.addAllData?.(n)},new:()=>{r.current?.resetFields?.(),r.current?.setFieldsValue?.({status:"임시"})}};return e.jsxs(t.ContentLayOut,{type:"horizontal",children:[e.jsxs(t.ContentBox,{border:!0,children:[e.jsx(t.BwgTitleBox,{title:"경조사비 신청",children:e.jsx(t.ButtonAccessController,{buttons:[{id:"search",label:"조회",onClick:()=>{g.search()}},{id:"new",label:"신규",onClick:()=>{g.new()}}]})}),e.jsx(t.BwgGrid,{ref:s,bindRef:r,gridColumns:d,gridEvents:h,gridInitCallback:()=>{s.current?.addAllData?.(n)},gridOptions:{edit:{editable:!0}}})]}),e.jsxs(t.ContentBox,{border:!0,style:{width:"40%"},children:[e.jsx(t.BwgTitleBox,{title:"상세 정보",children:e.jsx(l.BwgButton,{size:"small",onClick:()=>{const i=r.current?.getFieldsValue()?.fileGrpKey;console.log(i),o.submitGwApproval().then(p=>{console.log(p)})},children:"기안"})}),e.jsxs(l.BwgForm,{ref:r,children:[e.jsx(w.Divider,{orientation:"left",plain:!0,children:"기본 정보"}),e.jsxs(t.BwgRow,{style:{marginBottom:8},children:[e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgInput,{itemProps:{name:"reqNo",label:"신청번호"},inputProps:{disabled:!0}})}),e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgSelect,{itemProps:{name:"status",label:"상태"},selectProps:{options:[{label:"임시",value:"임시"},{label:"접수",value:"접수"},{label:"진행",value:"진행"},{label:"완료",value:"완료"},{label:"반려",value:"반려"}]}})})]}),e.jsxs(t.BwgRow,{style:{marginBottom:8},children:[e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgSelect,{itemProps:{name:"eventType",label:"경조구분"},selectProps:{options:[{label:"결혼",value:"결혼"},{label:"출산",value:"출산"},{label:"조의",value:"조의"},{label:"기타",value:"기타"}]}})}),e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgSelect,{itemProps:{name:"relation",label:"관계"},selectProps:{options:[{label:"본인",value:"본인"},{label:"배우자",value:"배우자"},{label:"부모",value:"부모"},{label:"자녀",value:"자녀"},{label:"형제자매",value:"형제자매"},{label:"기타",value:"기타"}]}})})]}),e.jsxs(t.BwgRow,{style:{marginBottom:8},children:[e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgInput,{itemProps:{name:"employeeId",label:"사번"}})}),e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgInput,{itemProps:{name:"employeeName",label:"대상자"}})})]}),e.jsxs(t.BwgRow,{style:{marginBottom:8},children:[e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgDatePicker,{type:"date",itemProps:{name:"eventDate",label:"경조일자"}})}),e.jsx(t.BwgCol,{span:12,children:e.jsx(l.BwgInput,{itemProps:{name:"amount",label:"금액"},inputProps:{placeholder:"숫자만",style:{textAlign:"right"}}})})]}),e.jsx(t.BwgRow,{style:{marginBottom:8},children:e.jsx(t.BwgCol,{span:24,children:e.jsx(l.BwgInput,{itemProps:{name:"docTitle",label:"제목"}})})}),e.jsx(w.Divider,{style:{margin:"8px 0"}}),e.jsx(l.BwgInput,{itemProps:{name:"aprvKey",label:"그룹웨어 신청번호"}}),e.jsx(l.BwgInput,{itemProps:{name:"fileGrpKey",label:"파일그룹키"},inputProps:{disabled:!0}}),e.jsx(l.BwgUploader,{itemProps:{name:"files",label:"첨부파일"},fileGrpKey:u,onUploadComplete:i=>{console.log(i)}})]})]})]})},C=()=>{a.useEffect(()=>{s.current&&s.current.addAllData(m)},[]),B.usePopup(),a.useRef(null),a.useRef(null),a.useRef(null),a.useRef(null);const s=a.useRef(null),r=a.useRef(null),u=[{fieldName:"sysCd",width:100,header:{text:"시스템 코드"}},{fieldName:"aprvKey",width:100,header:{text:"연계Key"}},{fieldName:"dcmtGb",width:100,header:{text:"GW/내부결제 구분"}},{fieldName:"formId",width:100,header:{text:"FormId"}},{fieldName:"docTitle",width:100,header:{text:"문서 제목"}},{fieldName:"aprvStts",width:100,header:{text:"결재 상태"}},{fieldName:"draftDt",width:100,header:{text:"기안 날짜"}}],m=[{a0:"a0",a1:"a1",a2:"a2",a3:"a3",ab1:"ab1"}];return e.jsx(t.ContentLayOut,{children:e.jsxs(t.ContentBox,{className:"ml10",children:[e.jsx(t.BwgTitleBox,{title:"전자결재 목록",children:e.jsx(l.BwgButton,{onClick:()=>{o.callService("SCMINTF00101",{crprCd:o.getCrprCd(),sysCd:__SYS_CD__}).then(n=>{r.current?.addAllData(n.sub)})},children:"조회"})}),e.jsx(t.BwgGrid,{gridColumns:u,gridEvents:{onCellDblClicked(n,d){console.log(d);const c=n.getDataSource().getJsonRow(d.dataRow);o.openGwDraftByAprvKey(c.aprvKey)}},ref:r,gridInitCallback:()=>{o.callService("SCMINTF00101",{crprCd:o.getCrprCd(),sysCd:__SYS_CD__}).then(n=>{r.current?.addAllData(n.sub)})}})]})})},j=()=>e.jsx(t.BwgView,{buttons:{grant:[{id:"search",label:"조회",onClick:()=>{console.log("search")}},{id:"new",label:"신규",onClick:()=>{console.log("new")}}],custom:[{id:"manual",label:"매뉴얼",onClick:()=>{console.log("manual")}}]},children:e.jsx(t.BwgTabs,{items:[{key:"M01S00",label:"경조사비 신청",children:e.jsx(f,{})},{key:"M01S01",label:"기안연계 목록",children:e.jsx(C,{})}]})});exports.BwgComponentGuide=y;exports.BwgDeveloperGuide=b;exports.BwgPracticeGuide=j;
|