1(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/admin/ftp-sessions/list"],{1033:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var n=t(247),o=t.n(n),a=t(90),i=t(1034);const l={id:o().string,dataUrl:o().string,operations:o().array,itemActions:o().object,columns:o().array,data:o().shape({data:o().array,state:o().object,pager:o().object,locale:o().object,additional:o().object,pathbar:o().any}),searchFilters:o().object,searchOveral:o().string,disabledSelectHint:o().string,isDisabledItem:o().func,onRedraw:o().func,emptyViewMode:o().oneOf(["all","items"]),emptyView:o().any},r={id:void 0,dataUrl:void 0,operations:void 0,itemActions:void 0,columns:void 0,data:void 0,searchFilters:void 0,searchOveral:void 0,disabledSelectHint:void 0,isDisabledItem:void 0,onRedraw:void 0,emptyViewMode:void 0,emptyView:void 0},d=(0,i.default)(a.List,Object.keys(l));d.displayName="JswList",d.propTypes=l,d.defaultProps=r;const c=d},1034:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>a});var n=t(245),o=t(90);const a=(e,s=[],t={})=>a=>{const i=(0,n.useRef)(),l=(0,n.useRef)(),[r,d]=Object.entries(a).reduce(((e,[t,n])=>(e[s.includes(t)?0:1][t]=n,e)),[{},{}]),c=s.map((e=>{const s=r[e];return t[e]?(l.current?.[t[e]](s),null):s}));return(0,n.useLayoutEffect)((()=>(l.current=new e(r),(0,o.render)(i.current,l.current),()=>{l.current.remove(),l.current=null})),[d.key,...c]),(0,n.jsx)("div",{ref:i,...d})}},1056:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>p});var n=t(245),o=t(90),a=t(1033),i=t(1057);const l=o.Locale.getSection("admin.components.lists.ftpsessions"),r=({type:e})=>{const s={A:{icon:t(1058),hint:l.lmsg("sessionTypeAnonymousTooltip")},D:{icon:t(1059),hint:l.lmsg("sessionTypeDomainAdminTooltip")},SD:{icon:t(1060),hint:l.lmsg("sessionTypeSubDomainAdminTooltip")},W:{icon:t(1061),hint:l.lmsg("sessionTypeWebUserTooltip")},S:{icon:t(1062),hint:l.lmsg("sessionTypeFtpAccountTooltip")},O:{icon:t(1063),hint:l.lmsg("sessionTypeNotPleskUserTooltip")}};return(0,i.default)(s[e])},d=({actions:e})=>{const s={L:{icon:t(1064),hint:l.lmsg("sessionStatusDownloadingDirsList")},I:{icon:t(1065),hint:l.lmsg("sessionStatusIdle")},D:{icon:t(1066),hint:l.lmsg("sessionStatusDownloadInProgress")},U:{icon:t(1067),hint:l.lmsg("sessionStatusUploadInProgress")},T:{icon:t(1068),hint:l.lmsg("sessionStatusLastCmdIsType")},P:{icon:t(1069),hint:l.lmsg("sessionStatusLastCmdIsPass")},N:{icon:t(1070),hint:l.lmsg("sessionStatusLastCmdIsNoop")},UNKNOWN:{icon:t(1071),hint:l.lmsg("sessionStatusNotKnown")}};return(0,i.default)(s[e]||s.UNKNOWN)},c=({data:e,searchFilters:s})=>{const t=(0,n.useMemo)((()=>[{componentType:o.SmallButton,id:"buttonRefresh",title:l.lmsg("buttonRefresh"),description:l.lmsg("buttonRefreshDescription"),addCls:"sb-refresh",handler:()=>{(0,o.getComponent)("admin-ftp-sessions-list").reload()}},{componentType:o.SmallButton,id:"buttonRemove",title:l.lmsg("buttonRemove"),description:l.lmsg("buttonRemoveDescription"),addCls:"sb-remove-selected",handler:e=>{(0,o.getComponent)("admin-ftp-sessions-list").execGroupOperation({url:"/admin/ftp-sessions/delete-sessions/",subtype:"delete",mouseEvent:e,locale:{confirmOnGroupOperation:l.lmsg("confirmOnDelete")}})}}]),[]),i=(0,n.useMemo)((()=>[o.list.COLUMN_SELECTION,{header:l.lmsg("typeColumnName"),sortable:!0,dataIndex:"type",headerCls:"icon",cls:"icon",renderer:r},{header:l.lmsg("statusColumnName"),sortable:!0,dataIndex:"actions",headerCls:"icon",cls:"icon",renderer:d},{header:l.lmsg("loginColumnName"),sortable:!0,dataIndex:"name"},{header:l.lmsg("domainColumnName"),sortable:!0,dataIndex:"domain"},{header:l.lmsg("currentLocationColumnName"),sortable:!0,dataIndex:"path"},{header:l.lmsg("fileNameColumnName"),sortable:!0,dataIndex:"file"},{header:l.lmsg("speedColumnName"),sortable:!0,dataIndex:"speed"},{header:l.lmsg("progressColumnName"),sortable:!0,dataIndex:"percent"},{header:l.lmsg("ipAddressColumnName"),sortable:!0,dataIndex:"ipAddr"},{header:l.lmsg("logonTimeColumnName"),sortable:!0,dataIndex:"loginTime"},{header:l.lmsg("idleTimeColumnName"),sortable:!0,dataIndex:"idle"}]),[]);return(0,n.jsx)(a.default,{id:"admin-ftp-sessions-list",data:e,dataUrl:"/admin/ftp-sessions/list-data",searchFilters:s,searchOveral
1:"name",operations:t,columns:i})};c.propTypes={data:a.default.propTypes.data.isRequired,searchFilters:a.default.propTypes.searchFilters.isRequired};const p=c},1055:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>i});var n=t(751),o=t(1056),a=t(245);const i=(0,n.withPageLayout)((({...e})=>(0,a.jsx)(o.default,{...e})))},1054:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>n.default});var n=t(1055)},1057:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>n});const n=({icon:e,hint:s})=>`<i class="icon"><img src="${e}"/><span class="tooltipData">${s}</span>`},1063:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-alien.png?f80e154cf4bfb00a15d2f452a5a0497c"},1058:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-anonymous.png?cc2eefc46f959ea48bc084dae7dae7c5"},1059:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-domain-user.png?6f5eea81bb36785d12423e7ab6a7512f"},1066:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-download.png?d58dfa0a7ad8e0316cc3e7aad55ce9ac"},1065:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-idle.png?c388f069b95279a5a6a804147e1e7a16"},1064:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-list.png?83e13aa31e1877e2b07ca3567ca52f72"},1070:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-noop.png?007ca89e7d286ef58a086a5fe19fcc5e"},1071:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-not-know.png?779e2122f8b12e8be95d8ae1d33a2ea2"},1069:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-pass.png?02b43e2536f73de086e37f581740bf31"},1062:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-sub-user.png?7ea8cf3859e69a260e9ee4982d3a1dbd"},1060:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-subdomain-user.png?ccd3b057e9543942379cbb351a4e29a2"},1068:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-type.png?7e2990a20b77a45d0fafc4bc681615ee"},1067:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-upload.png?82735fdffe08f1534bd6b7ef8f7c40b3"},1061:e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/ftpsession-web-user.png?1cefe99bfe8c8977c5e1e4a6450c0b4a"}}]); 2//# sourceMappingURL=list.js.map?8701921df8b44518f599
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.