Submit
Path:
~
/
/
opt
/
psa
/
admin
/
cp
/
public
/
javascript
/
components
/
layouts
/
page-layout
/
File Content:
help-drawer.js
(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["components/layouts/page-layout/help-drawer"],{2589:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(285),r=t(591),s=t.n(r),o=t(286),a=t(89),c=t(641);const l=a.Locale.getTranslate("components.layouts.page-layout.help-drawer"),d=({helpUrl:e,searchQuery:n,data:{config:r,mode:s,primaryKey:{editionName:d},server:{productVersion:{name:p,version:m,patch:u},productUpdates:{changeLogUrl:k}}}})=>{const[h,f]=(0,i.useState)(n);(0,i.useEffect)((()=>{f(n)}),[n]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.Toolbar,{children:[(0,i.jsx)(o.ToolbarGroup,{title:"",children:(0,i.jsxs)(o.Hint,{children:[p," ",d," ",(0,i.jsxs)("b",{children:[m,u&&(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsx)(l,{content:"installedPatchVersion",params:{patch:u}})]})]})]})}),(0,i.jsx)(o.ToolbarExpander,{}),(0,i.jsxs)(o.ToolbarGroup,{title:"",children:[(0,i.jsx)(o.Button,{ghost:!0,component:"a",icon:"megaphone",href:k,target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)(l,{content:"whatsNew"})}),s?.isLicenseLocked?null:(0,i.jsx)(o.Button,{ghost:!0,component:c.default,icon:"info-circle",to:"/cp/server/about",children:(0,i.jsx)(l,{content:"aboutPlesk"})})]})]}),(0,i.jsx)("hr",{}),(0,i.jsxs)(o.ItemList,{minColumnWidth:250,children:[(0,i.jsx)(o.Item,{"data-type":"link-plesk-documentation",component:"a",icon:{src:t(2590)},href:e,target:"_blank",rel:"noopener noreferrer",title:(0,i.jsx)("b",{children:(0,i.jsx)(l,{content:"pleskDocumentation"})}),description:(0,i.jsx)(l,{content:"pleskDocumentationDescription"})}),r?.help?.helpCenterUrl?(0,i.jsx)(o.Item,{component:"a",icon:{src:t(2591)},href:r?.help?.helpCenterUrl,target:"_blank",rel:"noopener noreferrer",title:(0,i.jsx)("b",{children:(0,i.jsx)(l,{content:"helpCenter"})}),description:(0,i.jsx)(l,{content:"helpCenterDescription"})}):null]}),(0,i.jsx)(o.Alert,{intent:"info",children:(0,i.jsxs)("form",{className:"help-menu-search",method:"get",action:"https://support.plesk.com/hc/en-us/search",target:"_blank",style:{display:"grid",gap:8},onSubmit:()=>{n!==h&&a.UAT.dispatchAction("HELP_DRAWER_CUSTOM_SEARCH",{prefilled:Boolean(n)})},children:[(0,i.jsx)(o.Input,{name:"query",value:h,onChange:e=>{f(e.target.value)},size:"fill"})," ",(0,i.jsx)(o.Button,{type:"submit",size:"lg",intent:"primary",style:{margin:"auto"},children:(0,i.jsx)(l,{content:"searchButton"})})]})}),(0,i.jsx)("p",{children:(0,i.jsx)(l,{content:"helpArticles"})}),(0,i.jsxs)(o.ItemList,{minColumnWidth:250,children:[(0,i.jsx)(o.Item,{component:"a",icon:{name:"panels",size:"16"},title:(0,i.jsx)(l,{content:"pleskServiceInterface"}),description:(0,i.jsx)(l,{content:"pleskServiceInterfaceDescription"}),href:"https://support.plesk.com/hc/sections/12291201863575-Plesk-Service-Interface",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"web-settings",size:"16"},title:(0,i.jsx)(l,{content:"webserver"}),description:(0,i.jsx)(l,{content:"webserverDescription"}),href:"https://support.plesk.com/hc/sections/12291201967255-Webserver",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"gear",size:"16"},title:(0,i.jsx)(l,{content:"applicationsExtensions"}),description:(0,i.jsx)(l,{content:"applicationsExtensionsDescription"}),href:"https://support.plesk.com/hc/sections/12291201976983-Applications-Extensions",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"backup",size:"16"},title:(0,i.jsx)(l,{content:"backupRestoreMigration"}),description:(0,i.jsx)(l,{content:"backupRestoreMigrationDescription"}),href:"https://support.plesk.com/hc/sections/12291201997463-Backup-Restore-Migration",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"database",size:"16"},title:(0,i.jsx)(l,{content:"databases"}),description:(0,i.jsx)(l,{content:"databasesDescription"}),href:"https://support.plesk.com/hc/sections/12291202011927-Databases",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"mail",size:"16"},title:(0,i.jsx)(l,{content:"mail"}),description:(0,i.jsx)(l,{content:"mailDescription"}),href:"https://support.plesk.com/hc/sections/12291178547479-Mail",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"arrow-up-in",size:"16"},title:(0,i.jsx)(l,{content:"installationUpgrade"}),description:(0,i.jsx)(l,{content:"installationUpgradeDescription"}),href:"https://support.plesk.com/hc/sections/12291178540183-Installation-Upgrade",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"flag-globe",size:"16"},title:(0,i.jsx)(l,{content:"dnsStatistics"}),description:(0,i.jsx)(l,{content:"dnsStatisticsDescription"}),href:"https://support.plesk.com/hc/sections/12291202058263-DNS-Statistics",target:"_blank",rel:"noopener noreferrer"}),(0,i.jsx)(o.Item,{component:"a",icon:{name:"lightbulb",size:"16"},title:(0,i.jsx)(l,{content:"other"}),description:(0,i.jsx)(l,{content:"otherDescription"}),href:"https://support.plesk.com/hc/sections/12291178463511-Other",target:"_blank",rel:"noopener noreferrer"})]}),(0,i.jsx)("hr",{}),(0,i.jsxs)(o.ItemList,{minColumnWidth:250,children:[r?.feedback?.forumUrl?(0,i.jsx)(o.Item,{component:"a",icon:{name:"chat",size:"16"},href:r?.feedback?.forumUrl,target:"_blank",rel:"noopener noreferrer",title:(0,i.jsx)(l,{content:"pleskCommunityForum"})}):null,(0,i.jsx)(o.Item,{component:"a",icon:{name:"facebook",size:"16"},href:"https://www.facebook.com/groups/plesk",target:"_blank",rel:"noopener noreferrer",title:(0,i.jsx)(l,{content:"pleskFacebookGroup"})}),s?.isLicenseDeveloper?(0,i.jsx)(o.Item,{component:"a",icon:{name:"console",size:"16"},href:r?.extensions?.developerGuideUrl,target:"_blank",rel:"noopener noreferrer",title:(0,i.jsx)(l,{content:"extensionDeveloperGuide"})}):null,r?.feedback?.enabled?(0,i.jsx)(o.Item,{component:"a",icon:{name:"bug",size:"16"},href:"/admin/mpc/feedback",target:"_blank",rel:"noopener noreferrer",title:(0,i.jsx)(l,{content:"linkToFeedback"})}):null]})]})};d.propTypes={helpUrl:s().string.isRequired,searchQuery:s().string.isRequired,data:s().object.isRequired};const p=d},2588:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>k});var i=t(591),r=t.n(i),s=t(581),o=t(286),a=t(2589),c=t(89),l=t(2592),d=t.n(l),p=t(285);const m=c.Locale.getTranslate("components.layouts.page-layout.help-drawer"),u=({isOpen:e,onClose:n,...t})=>{const{data:i,loading:r}=(0,s.useQuery)(d());return(0,p.jsx)(o.Drawer,{"data-type":"help-drawer",placement:"right",title:(0,p.jsx)(m,{content:"title"}),size:"sm",isOpen:e,onClose:n,children:r?(0,p.jsx)(o.ContentLoader,{}):(0,p.jsx)(a.default,{...t,data:i})})};u.propTypes={helpUrl:r().string.isRequired,searchQuery:r().string.isRequired,isOpen:r().bool.isRequired,onClose:r().func.isRequired};const k=u},2587:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(2588)},2590:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/documentation.png?df8beb23ada5adb65a37cec0e8ec70bc"},2591:e=>{e.exports=Jsw.skinUrl+"/icons/32/plesk/support.png?9dfb7944b29c37c37efd99bb822079a9"},2592:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HelpDrawer"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"editionName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productVersion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"patch"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"productUpdates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"changeLogUrl"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"developerGuideUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"feedback"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"forumUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"help"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"helpCenterUrl"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLicenseDeveloper"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLicenseLocked"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:521}};n.loc.source={body:"query HelpDrawer {\n primaryKey {\n pleskKeyId\n editionName\n }\n server {\n productVersion {\n name\n version\n patch\n }\n productUpdates {\n changeLogUrl\n }\n }\n config {\n extensions {\n developerGuideUrl\n }\n feedback {\n enabled\n forumUrl\n }\n help {\n helpCenterUrl\n }\n }\n mode {\n isLicenseDeveloper\n isLicenseLocked\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.HelpDrawer=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,a=new Set;for(s.forEach((function(e){a.add(e)}));a.size>0;){var c=a;a=new Set,c.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){a.add(e)})))}))}return o.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(n,"HelpDrawer")}}]); //# sourceMappingURL=help-drawer.js.map?3f0ed132153689b86366
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
disco-ball.js
2049846 bytes
0644
help-drawer.js
11160 bytes
0644
help-drawer.js.map
31366 bytes
0644
N4ST4R_ID | Naxtarrr