PageSourceSearch

https://cdn.quotabook.com/quotabook-prod/db5c17b8176a252b90df19a63…/approvals/group-716b7f18ade31520.js

js quotabook.com collected 2026-09-25 04:35:30 UTC 15,874 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98014],{72745:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/company/[my_institution_id]/agendas/approvals/group",function(){return n(83411)}])},83411:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return _}});var r=n(87800),i=n(72287),l=n(3683),o=n(78351),c=n(81782),a=n(51375),u=n(58013),s=n(25579),d=n(79484),p=n(2326),h=n(87651),m=n(62819),f=n(53765),g=n(68550);let Z=["auto",104,144],LineApprovalGroupListItem=t=>{let{record:e}=t,n=(0,p._)(),{myInstitution:i}=(0,d.R)();return(0,r.BX)(f.Z.GridRow,{sizes:Z,onClick:()=>{n.push("/company/".concat(i.id,"/agendas/approvals/group/").concat(e.id))},children:[(0,r.BX)(f.Z.GridCell,{children:[(0,r.tZ)(l.T,{w:24}),(0,r.tZ)(l.H_,{children:e.title})]}),(0,r.tZ)(f.Z.GridCell,{children:(0,r.BX)(l.kC,{gap:6,align:"center",direction:"row",children:[(0,r.tZ)(g.JO,{name:"solid:users:users-01",size:16,color:"iconDefault"}),(0,r.tZ)(l.H_,{children:(0,r.tZ)(o.Z,{id:"{n}명",values:{n:e.lines.flatMap(t=>t.profile_ids).length}})})]})}),(0,r.tZ)(f.Z.GridCell,{children:(0,r.tZ)(o.Z,{id:"{n}단계",values:{n:e.lines.length}})})]})};var v=n(34509),LineApprovalGroupPage_LineApprovalGroupGridDocument=()=>{let{myInstitution:t}=(0,d.R)(),{data:e}=(0,v.F)({institutionId:t.id});return(0,r.tZ)(m.ep,{value:e,formatter:t=>(0,r.BX)(f.Z,{children:[(0,r.BX)(f.Z.GridRow,{sizes:Z,children:[(0,r.tZ)(f.Z.GridHeaderCell,{children:(0,r.tZ)(l.kC,{className:(0,h.css)("padding-left:24px;"),children:(0,r.tZ)(o.Z,{id:"결재선 제목"})})}),(0,r.tZ)(f.Z.GridHeaderCell,{children:(0,r.tZ)(o.Z,{id:"결재 대상"})}),(0,r.tZ)(f.Z.GridHeaderCell,{children:(0,r.tZ)(o.Z,{id:"총 단계"})})]}),t.items.map(t=>(0,r.tZ)(LineApprovalGroupListItem,{record:t},t.id))]})})},_=(0,u.O)((0,i.Rf)((0,s.y)(()=>{let{myInstitution:t}=(0,d.R)(),e=(0,p._)();return(0,r.tZ)(i.AD,{children:(0,r.BX)(c.Z,{removeMainContentPadding:!0,children:[(0,r.BX)(a.Z,{children:[(0,r.tZ)(a.Z.Title,{children:(0,r.tZ)(o.Z,{id:"결재선 관리"})}),(0,r.tZ)(a.Z.RightSection,{children:(0,r.tZ)(l.zx,{variant:"primary",size:"medium",onClick:()=>{e.push("/company/".concat(t.id,"/agendas/approvals/group/create"))},children:(0,r.tZ)(o.Z,{id:"결재선 생성하기"})})})]}),(0,r.tZ)(LineApprovalGroupPage_LineApprovalGroupGridDocument,{}),(0,r.tZ)(l.T,{h:64})]})})},{fallback:null}),"Agenda Approval Line Group"))},63058:function(t,e,n){"use strict";n.d(e,{B1:function(){return deleteLineApprovalGroup},C_:function(){return createLineApprovalGroup},Op:function(){return fetchLineApprovalGroup},r7:function(){return updateLineApprovalGroup},rm:function(){return fetchLineApprovalGroups}});var r=n(23022);function fetchLineApprovalGroups(t){let{institutionId:e}=t;return r.ZP.get("/v2/institutions/".concat(e,"/approval-lines"))}function createLineApprovalGroup(t,e){let{institutionId:n}=t;return r.ZP.post("/v2/institutions/".concat(n,"/approval-lines"),e)}function updateLineApprovalGroup(t,e){let{institutionId:n,lineApprovalGroupId:i}=t;return r.ZP.patch("/v2/institutions/".concat(n,"/approval-lines/").concat(i),e)}function fetchLineApprovalGroup(t){let{institutionId:e,lineApprovalGroupId:n}=t;return r.ZP.get("/v2/institutions/".concat(e,"/approval-lines/").concat(n))}function deleteLineApprovalGroup(t){let{institutionId:e,lineApprovalGroupId:n}=t;return r.ZP.delete("/v2/institutions/".concat(e,"/approval-lines/").concat(n))}},81100:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});let r={default:["LineApprovalGroupList"],list:t=>{let{institutionId:e}=t;return[...r.default,e]},item:t=>{let{institutionId:e,lineApprovalGroupId:n}=t;return[...r.list({institutionId:e}),n]}}},34509:function(t,e,n){"use strict";n.d(e,{F:function(){return useLineApprovalGroups}});var r=n(13977),i=n(63058),l=n(81100);function useLineApprovalGroups(t){return(0,r.f)(l.L.list(t),()=>(0,i.rm)(t))}},53765:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(50851),i=n(87800),l=n(87651),o=n(3683),c=n(2791),a=n(15291);let u={start:"flex-start",center:"center",end:"flex-end"};function _templateObject(){let t=(0,r._)(["\n            padding: 14px 24px;\n            &:first-of-type {\n              padding-left: 0;\n            }\n            &:last-of-type {\n              padding-right: 0;\n            }\n          "]);
1return _templateObject=function(){return t},t}var s=n(27378);function ListGridRow_templateObject(){let t=(0,r._)(["\n          display: grid;\n          grid-template-columns: ",";\n          width: 100%;\n          border-bottom: 1px solid ",";\n          cursor: ",";\n          :hover {\n            background-color: ",";\n          }\n        "]);return ListGridRow_templateObject=function(){return t},t}function ListHeaderGridCell_templateObject(){let t=(0,r._)(["\n          padding: 10px 24px;\n          &:first-of-type {\n            padding-left: 0;\n          }\n          &:last-of-type {\n            padding-right: 0;\n          }\n        "]);return ListHeaderGridCell_templateObject=function(){return t},t}function List_templateObject(){let t=(0,r._)(["\n          margin: 0;\n          padding: 0;\n          list-style: none;\n        "]);return List_templateObject=function(){return t},t}let List=t=>{let{className:e,children:n}=t;return(0,i.tZ)(o.kC,{direction:"column",as:"ul",className:(0,l.cx)((0,l.css)(List_templateObject()),e),children:n})};List.GridRow=t=>{let{children:e,sizes:n,onClick:r,className:o}=t,u=s.Children.toArray(e).length,d=null!=n?n:(0,a.Cj)(u,()=>"auto");return(0,i.tZ)("div",{className:(0,l.cx)((0,l.css)(ListGridRow_templateObject(),d.map(t=>"auto"===t?t:"minmax(".concat(t,"px, ").concat(t,"px)")).join(" "),c.g.color.borderSubtle,null!=r?"pointer":"default",null!=r?c.g.color.scaleBlackAlpha002:"inherit"),o),onClick:r,children:e})},List.GridHeaderCell=t=>{let{align:e="start",children:n,className:r,...c}=t;return(0,i.tZ)("div",{className:(0,l.cx)((0,l.css)(ListHeaderGridCell_templateObject()),r),...c,children:(0,i.tZ)(o.H_,{as:"p",sizing:"caption1",color:"textPlaceholder",alignment:e,weight:500,children:n})})},List.GridCell=t=>{let{children:e,align:n="start",noPadding:r=!1,className:c}=t;return(0,i.tZ)(o.kC,{className:(0,l.cx)((0,a.sx)(!1===r,(0,l.css)(_templateObject())),c),align:"center",justify:u[n],as:"span",children:e})},List.Item=t=>{let{children:e}=t;return(0,i.tZ)("li",{className:(0,l.css)("padding:",c.g.space[10]," 0;border-bottom:1px solid ",c.g.color.borderSubtle,";"),children:e})};var d=List},24636:function(t,e,n){"use strict";n.d(e,{X5:function(){return scrollTo},pV:function(){return useScrollableWindow}});var r=n(50851),i=n(87800),l=n(87651),o=n(3683),c=n(2791),a=n(62819),u=n(15291),s=n(78351),d=n(59638),p=n(81519),h=n(60082),m=n(21733);function _templateObject(){let t=(0,r._)(["\n          width: 100%;\n          height: 100%;\n          max-height: 100vh;\n          background-color: ",";\n        "]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,r._)(["\n                  position: relative;\n                  overflow: auto;\n                  overscroll-behavior: auto contain;\n                  width: 100%;\n                  height: 100%;\n                "]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,r._)(["\n                    flex: 1;\n                    width: 100%;\n                  "]);return _templateObject2=function(){return t},t}function _templateObject3(){let t=(0,r._)(["\n                      padding: 16px 24px 0;\n                    "]);return _templateObject3=function(){return t},t}function _templateObject4(){let t=(0,r._)(["\n                      max-width: ","px;\n                    "]);return _templateObject4=function(){return t},t}function _templateObject5(){let t=(0,r._)(["\n                      min-width: ","px;\n                    "]);return _templateObject5=function(){return t},t}let f="main-content",HeaderTemplate=()=>{let{pageLayout:{pageHeader:t,pageHeaderProps:e}}=(0,m.X)(),{opened:n,showSideMenu:r}=(0,d.R)(),{hideSideMenu:l}=(0,p.E)();return null==t?(0,i.tZ)(o.T,{h:48}):(0,i.BX)(o.mr,{...e,children:[(0,u.sx)(!1===n&&!1===l,(0,i.BX)(o.u,{children:[(0,i.tZ)(o.u.Trigger,{children:(0,i.tZ)(o.hU,{variant:"ghost",iconColor:"scaleGray400",icon:"outline:arrows:chevron-right-double",onClick:r})}),(0,i.tZ)(o.u.Label,{side:"bottom",align:"start",children:(0,i.tZ)(s.Z,{id:"사이드바 열기"})})]})),t]})},BannerTemplate=()=>{let{pageLayout:{pageBanner:t}}=(0,m.X)();return(0,i.tZ)("span",{children:t})},FullPageBannerTemplate=()=>{let{pageLayout:{fullPageBanner:t}}=(0,m.X)();return t},g=Object.assign(()=>null,{Left:()=>{let{pageLayout:{sidePanel:t,sidePanelProps:e}}=(0,m.X)();return(0,i.tZ)(a.gP,{expression:(null==e?void 0:e.side)==="left",then:(0,i.tZ)(h.Z,{...e,children:t})})},Right:()=>{var t;let{pageLayout:{sidePanel:e,sidePanelProps:n}}=(0,m.X)(),r=null!==(t=null==n?void 0:n.side)&&void 0!==t?t:"right";return(0,i.tZ)(a.gP,{expression:"right"===r,then:(0,i.tZ)(h.Z,{...n,children:e})})}});function scrollTo(t){var e;null===(e=document.getElementById(f))||void 0===e||e.scrollTo(t)}function useScrollableWindow(){return document.getElementById(f)}e.ZP=function(t){let{children:e,minWidth:n,maxWidth:r,removeMainContentPadding:a,align:s="normal",className:d}=t;return(0,i.tZ)(m.l,{children:(0,i.BX)(o.kC,{direction:"column",className:(0,l.cx)((0,l.css)(_templateOb
1ject(),c.g.color.bgDefault)),children:[(0,i.tZ)(HeaderTemplate,{}),(0,i.tZ)(FullPageBannerTemplate,{}),(0,i.BX)(o.kC,{className:(0,l.css)("height:100%;overflow:hidden;"),children:[(0,i.tZ)(g.Left,{}),(0,i.BX)(o.kC,{direction:"column",className:(0,l.css)("width:100%;height:100%;"),children:[(0,i.tZ)(BannerTemplate,{}),(0,i.tZ)(o.kC,{id:f,as:"main",align:s,direction:"column",className:(0,l.cx)((0,l.css)(_templateObject1()),d),children:(0,i.tZ)(o.kC,{as:"section",direction:"column",align:"normal",className:(0,l.cx)((0,l.css)(_templateObject2()),!0!==a&&(0,l.css)(_templateObject3()),(0,u.OQ)(r,t=>(0,l.css)(_templateObject4(),t)),(0,u.OQ)(n,t=>(0,l.css)(_templateObject5(),t))),children:e})})]}),(0,i.tZ)(g.Right,{})]})]})})}},81782:function(t,e,n){"use strict";n.d(e,{X:function(){return i.X5}});var r=n(87800),i=n(24636),l=n(54667);e.Z=function(t){let{children:e,minWidth:n,maxWidth:o,removeMainContentPadding:c,align:a,className:u}=t;return(0,r.tZ)(l.Lr,{children:(0,r.tZ)(i.ZP,{minWidth:n,maxWidth:o,align:a,removeMainContentPadding:c,className:u,children:e})})}},51375:function(t,e,n){"use strict";var r=n(27378),i=n(3683),l=n(15291),o=n(21733);e.Z=Object.assign(function(t){let{children:e,...n}=t,{pageLayout:i,setPageLayout:c}=(0,o.X)();return(0,r.useLayoutEffect)(()=>{(e!==i.pageHeader||!1===(0,l.Xy)(n,i.pageHeaderProps))&&c(t=>({...t,pageHeader:e,pageHeaderProps:n}))},[e,n,i.pageHeader,i.pageHeaderProps,c]),null},{TopSlot:i.mr.TopSlot,TitleColumnSlot:i.mr.TitleColumnSlot,RightSection:i.mr.RightSection,BackButton:i.mr.BackButton,Title:i.mr.Title,Description:i.mr.Description})},60082:function(t,e,n){"use strict";var r=n(50851),i=n(87800),l=n(27378),o=n(87651),c=n(3683),a=n(2791),u=n(62819),s=n(15291),d=n(74715),p=n(54667),h=n(93);function _templateObject(){let t=(0,r._)(["\n              background-color: ",";\n              flex-shrink: 0;\n              position: sticky;\n              overflow: auto;\n              right: 0;\n              top: 0;\n              z-index: ",";\n            "]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,r._)(["\n                display: none;\n              "]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,r._)(["\n                border-right: 1px solid ",";\n              "]);return _templateObject2=function(){return t},t}function _templateObject3(){let t=(0,r._)(["\n                border-left: 1px solid ",";\n              "]);return _templateObject3=function(){return t},t}function _templateObject4(){let t=(0,r._)(["\n                position: sticky;\n                min-width: ","px;\n                height: 100%;\n                min-height: fill-available;\n                width: ","px;\n              "]);return _templateObject4=function(){return t},t}e.Z=t=>{let{parentClassName:e,className:n,closable:r=!0,maxWidth:m=d.Gv,minWidth:f=d.Ud,zIndex:g=d.Wh,closeWidth:Z=d.h7,children:v,side:_="right",resizable:b=!0}=t,{opened:x,setWidth:L,width:O,showSidePanel:j,hideSidePanel:C}=(0,p.h5)(),G=(0,l.useCallback)(t=>{L(e=>({...e,currentWidth:Math.min(e.maxWidth,Math.max(e.minWidth,t))})),t>Z&&j(),t<Z&&!1!==r&&C()},[r,Z,C,L,j]);if(m<f)throw Error("minWidth가 maxWidth보다 클 수 없습니다.");if(f<Z)throw Error("closeWidth가 minWidth보다 클 수 없습니다.");return(0,l.useLayoutEffect)(()=>{L(t=>({...t,currentWidth:f,minWidth:f,maxWidth:m})),j()},[m,f,L,j]),(0,i.tZ)(u.ep,{value:v,formatter:t=>(0,i.tZ)(c.kC,{as:"aside",className:(0,o.cx)((0,o.css)(_templateObject(),a.g.color.bgDefault,g),(0,s.sx)(!0!==x,(0,o.css)(_templateObject1())),(0,s.sx)("left"===_,(0,o.css)(_templateObject2(),a.g.color.scaleGray200),(0,o.css)(_templateObject3(),a.g.color.scaleGray200)),e),children:(0,i.BX)(c.kC,{className:(0,o.cx)((0,o.css)(_templateObject4(),O.minWidth,O.currentWidth),n),children:[(0,i.tZ)(c.kC,{className:(0,o.css)("flex:1;min-width:0;"),direction:"column",children:t}),(0,i.tZ)(u.gP,{expression:b,then:(0,i.tZ)(h.Z,{barWidth:6,placement:(0,s.sx)("left"===_,"right","left"),onResize:G,className:(0,o.css)("&:hover{background-color:",a.g.color.scaleGray100,";}")})})]})})})}},74715:function(t,e,n){"use strict";n.d(e,{EJ:function(){return r},Gv:function(){return i},Ud:function(){return l},Wh:function(){return c}
1,h7:function(){return o}});let r=0,i=1200,l=300,o=225,c=1010},54667:function(t,e,n){"use strict";n.d(e,{Lr:function(){return SidePanelContextProvider},h5:function(){return useSidePanelContext}});var r=n(87800),i=n(27378),l=n(62819),o=n(74715);let c=(0,i.createContext)({width:{currentWidth:o.EJ,minWidth:o.Ud,maxWidth:o.Gv},setWidth:()=>{},opened:!1,showSidePanel:()=>{},hideSidePanel:()=>{}}),SidePanelContextProvider=t=>{let{children:e}=t,[n,a]=(0,i.useState)({currentWidth:o.EJ,minWidth:o.Ud,maxWidth:o.Gv}),[u,s,d]=(0,l.zj)(!1),p=(0,i.useCallback)(()=>{s()},[s]),h=(0,i.useCallback)(()=>{d()},[d]);return(0,r.tZ)(c.Provider,{value:{width:{...n,currentWidth:u?n.currentWidth:o.EJ},setWidth:a,opened:u,showSidePanel:p,hideSidePanel:h},children:e})};function useSidePanelContext(){let t=(0,i.useContext)(c);if(null==t)throw Error("<SidePanelContextProvider /> 가 없습니다.");return t}},21733:function(t,e,n){"use strict";n.d(e,{X:function(){return a},l:function(){return PageLayoutProvider}});var r=n(87800),i=n(27378),l=n(68446);let[o,c]=(0,l.Rk)("PageLayoutContextProvider"),PageLayoutProvider=t=>{let{children:e}=t,[n,l]=(0,i.useState)({pageHeader:null,pageHeaderProps:void 0,pageBanner:null,fullPageBanner:null,sidePanel:null});return(0,r.tZ)(o,{value:{pageLayout:n,setPageLayout:l},children:e})},a=c},58013:function(t,e,n){"use strict";n.d(e,{O:function(){return withAuthentication}});var r=n(87800),i=n(85994),l=n(25579),o=n(44368);function withAuthentication(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,l.y)(function(e){return(0,o.Z)(),(0,r.tZ)(i.Z,{hideSideMenu:n.hideSideMenu,children:(0,r.tZ)(t,{...e})})},{fallback:null!==(e=n.fallback)&&void 0!==e?e:null})}},44368:function(t,e,n){"use strict";var r=n(15291),i=n(2326),l=n(94240);e.Z=function(){var t;let e=(0,i.k)(),{data:n}=(0,l.Z)(),o=null===(t=globalThis.window)||void 0===t?void 0:t.location.pathname;if(!1===n)throw e.replace("/login".concat((0,r.f0)({redirectUrl:(0,r.sx)(null!=o&&"/"!==o,o)})))}}},function(t){t.O(0,[89573,76676,74105,538,92661,88039,22915,18581,92049,37903,945,15425,95794,85994,49774,92888,40179],function(){return t(t.s=72745)}),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.