This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/aha"],{2999:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var i=s(90);class n extends i.Popup{_initConfiguration(e){this.setLocale(i.Locale.getSection("components.aha")),super._initConfiguration({id:"aha-dialog",title:this.lmsg("voteTitle"),closeButtonEnabled:!0,hideOnEscape:!0,content:`<div class="form-box form--vertical"><div class="box-area"><div class="content"><div class="content-area"><div class="nps-survey"><p class="nps-survey__question">${this.lmsg("voteQuestion")}</p><div class="nps-survey__container"><div id="aha-rating" class="nps-survey__scores"></div><div class="nps-survey__legend"><div class="nps-survey__legend-left">${this.lmsg("voteLegendBad")}</div><div class="nps-survey__legend-right">${this.lmsg("voteLegendGood")}</div></div></div></div><hr/><div class="form-row"><div class="field-name">${this.lmsg("voteGoodHint")}</div><div class="field-value"><textarea id="aha-good" class="f-max-size" maxlength="1000"></textarea></div></div><div class="form-row"><div class="field-name">${this.lmsg("voteBetterHint")}</div><div class="field-value"><textarea id="aha-better" class="f-max-size" maxlength="1000"></textarea></div></div></div></div></div></div>`,buttons:[{title:this.lmsg("voteButtonOk"),id:"aha-vote-button-ok",class:"action",handler:this.handleVoteButton.bind(this)},{title:i.Locale.getSection("components.buttons").lmsg("cancel"),id:"aha-vote-button-cancel",handler(e,t){t.hide()}}],...e})}_initComponentElement(){super._initComponentElement(),(0,i.render)(this._componentElement.querySelector("#aha-rating"),[0,1,2,3,4,5,6,7,8,9,10].map(e=>(0,i.createElement)("label",{class:`nps-survey__score nps-survey__score--${e}`,onclick:this.checkPossibleSendVote.bind(this)},[(0,i.createElement)("input",{type:"radio",name:"nps-survey-option",value:e}),(0,i.createElement)("span",{class:"nps-survey__score-label"})])))}hide(){super.hide(),this.voted||(this.checkPossibleSendVote()||this.getFeedbackGood()||this.getFeedbackBetter()?this.sendVote():this.sendHide())}handleVoteButton(){this.checkPossibleSendVote()&&(this.voted=!0,this.sendVote(),this.hide(),new a)}checkPossibleSendVote(){const e=this._componentElement.querySelector(".nps-survey"),t=this.getRate();if(t){e.classList.remove("error");const t=e.querySelector(".field-errors");t&&t.parentNode.removeChild(t)}else{e.classList.add("error");e.querySelector(".field-errors")||(0,i.render)(e,`<span class="field-errors"><span class="error-hint">${this.lmsg("voteRequire")}</span></span>`)}return t}sendVote(){i.api.post((0,i.prepareUrl)("/admin/aha/vote"),{voted:this.voted||!1,rate:this.getRate(),feedbackGood:this.getFeedbackGood(),feedbackBetter:this.getFeedbackBetter(),dialogAtPage:window.location.pathname})}sendHide(){i.api.post((0,i.prepareUrl)("/admin/aha/hide"))}getRate(){const e=this._componentElement.querySelector(`#${this.getId()}-form input[name=nps-survey-option]:checked`);return e?e.value:""}getFeedbackGood(){return this._componentElement.querySelector("#aha-good").value.trim()}getFeedbackBetter(){return this._componentElement.querySelector("#aha-better").value.trim()}}class a extends i.Popup{_initConfiguration(e){this.setLocale(i.Locale.getSection("components.aha"));const t=[{title:this.lmsg("thankButtonClose"),class:"action",handler(e,t){t.hide()}}],s=`<p>${this.lmsg("thankHint")}</p>`;super._initConfiguration({id:"thank-dialog",title:this.lmsg("thankTitle"),closeButtonEnabled:!0,hideOnEscape:!0,content:s,buttons:t,...e})}}const o=e=>new n(e)}}]);
//# sourceMappingURL=aha.js.map?f59d2d5bb3fda4fd2db2

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/app-image/gallery"],{3001:(e,t,i)=>{i.r(t),i.d(t,{default:()=>l});var s=i(90);class n extends s.Component{_initConfiguration(e){super._initConfiguration({locale:s.Locale.getSection("smb.controllers.app-image.gallery"),...e}),this._images=this._getConfigParam("images",[])}_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML=`<div class="topline"><span id="${this.getId()}-close" class="close"><a class="toplink" id="${this.getId()}-close">${this.lmsg("closeGallery")}</a></span><span id="${this.getId()}-navigation" class="navigation"><a class="toplink" id="${this.getId()}-prev">${this.lmsg("prevImage")}</a>&nbsp|&nbsp;<a class="toplink" id="${this.getId()}-next">${this.lmsg("nextImage")}</a>&nbsp;</span><span><span id="${this.getId()}-current"></span> ${this.lmsg("navigationOf")} <span id="${this.getId()}-total"></span> ${this.lmsg("typeScreenshot")}</span></div><div id="${this.getId()}-images" class="screenshots-images"><img id="${this.getId()}-image" /><div id="${this.getId()}-image_title" class="screenshots-title"></div></div>`}_addEvents(){this._componentElement.querySelectorAll(`#${this.getId()}-close`).forEach(e=>{e.addEventListener("click",this.close.bind(this))}),this._componentElement.querySelectorAll(`#${this.getId()}-prev`).forEach(e=>{e.addEventListener("click",this.prev.bind(this))}),this._componentElement.querySelectorAll(`#${this.getId()}-next`).forEach(e=>{e.addEventListener("click",this.next.bind(this))}),this.show(0)}getCount(){return this._images.length}show(e){this.getCount()<2&&this._componentElement.querySelectorAll(`[id="${this.getId()}-navigation"]`).forEach(e=>{e.style.display="none"}),this._componentElement.querySelectorAll(`[id="${this.getId()}-total"]`).forEach(e=>{e.innerHTML=this.getCount()}),0!==this.getCount()&&(e>=this.getCount()?e=0:e<0&&(e=this.getCount()-1),this._componentElement.querySelectorAll(`img[id="${this.getId()}-image"]`).forEach(t=>{t.src=this._images[e].href}),this._componentElement.querySelectorAll(`[id="${this.getId()}-image_title"]`).forEach(t=>{t.innerHTML=(0,s.escapeHtml)(this._images[e].name)}),this._componentElement.querySelectorAll(`[id="${this.getId()}-current"]`).forEach(t=>{t.innerHTML=e+1}),this.current=e)}next(){this.show(this.current+1)}prev(){this.show(this.current-1)}close(){window.close()}}const l=e=>new n(e)}}]);
//# sourceMappingURL=gallery.js.map?0dc741f2f8c855ce78af

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/app/installed"],{3062:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var s=a(90);const l=({updates:e,instancesList:t,domainIdParam:a,locale:l})=>{l=s.Locale.getSection("smb.components.lists.app.instances"),new s.Panel({renderTo:"installed-apps-list",cls:"list-box",items:[new s.List({id:"instances-list",pageable:!1,data:t,dataUrl:"/app/installed-list-data",columns:[{header:l.lmsg("name"),sortable:!0,dataIndex:"name",cls:"first",renderer(t){let n=t.name?(0,s.escapeHtml)(t.name):l.lmsg("undefinedApp");return t.settingsUrl&&(n=`<a href="${(0,s.prepareUrl)(t.settingsUrl)}">${n}</a>`),[n,e.some(e=>e.resourceId===t.resourceId)?(0,s.createElement)(`.hint-attention.update-available.package-update-${(0,s.escapeHtml)(t.resourceId)}`,(0,s.createElement)("a",{onclick:e=>{e.preventDefault(),(0,s.redirectPost)(`/app-update/index/resourceId/${encodeURIComponent(t.resourceId)+a}`)}},l.lmsg("update"))):null]}},{header:l.lmsg("installedTo"),renderer:e=>e.url?`<a href="${(0,s.escapeAttribute)(e.url)}" target="_blank">${(0,s.escapeHtml)(e.url)}</a>`:e.path?(0,s.escapeHtml)(e.path):l.lmsg("noInstallationUrlAvailable")},{header:"",cls:"last minor t-r",renderer:e=>e.deleteUrl?(0,s.createElement)("a",{onclick:t=>{t.preventDefault();const a=s.Locale.getSection("smb.controllers.service.index");s.messageBox.show({type:s.messageBox.TYPE_YESNO,subtype:s.messageBox.SUBTYPE_DELETE,text:a.lmsg("buttonUninstallApplicationConfirmationTitle"),onYesClick(){(0,s.redirectPost)(e.deleteUrl)}})}},(0,s.escapeHtml)(l.lmsg("uninstall"))):""}],operations:[{componentType:s.SmallButton,title:l.lmsg("buttonScan"),description:l.lmsg("hintButtonScan"),addCls:"sb-refresh",handler(e){const t=Element.cumulativeOffset(e.target),a=(0,s.getComponent)("asyncProgressBarWrapper"),n=a.fly(t,l.lmsg("taskScan"),()=>{s.api.post("/smb/app/scan").then(()=>{a.update()}).catch(({message:e})=>{a.failPreparingItem(n,e)})})}}]})]})}}}]);
//# sourceMappingURL=installed.js.map?7d99b3f5b29aeee6622d

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/app/progress"],{3061:(e,t,s)=>{s.r(t),s.d(t,{default:()=>l});var r=s(94),a=s(90),i=s(375);class o extends a.Component{constructor(...e){super(...e),(0,r.default)(this,"STATUS_STARTED",0),(0,r.default)(this,"STATUS_NOT_STARTED",1),(0,r.default)(this,"STATUS_DONE",2),(0,r.default)(this,"STATUS_ERROR",3)}_initConfiguration(e){super._initConfiguration({locale:a.Locale.getSection("smb.components.elements.download"),...e}),setTimeout(()=>{this.updateProgress()},1e3)}_initComponentElement(){this._progressTextElement=(0,i.createHtmlElement)("div",{class:"progress-label"}),this._progressBarElement=(0,i.createHtmlElement)("div",{class:"progress"}),this._progressBarElement.innerHTML='<div class="progress-bar"></div>',this._componentElement=(0,i.createHtmlElement)("div",{class:"progress-box app-progress-panel"}),this._componentElement.appendChild(this._progressTextElement),this._componentElement.appendChild(this._progressBarElement),this._update(0)}_update(e){e=Math.max(e,1),this._progressTextElement.innerHTML=this.lmsg("progress",{percents:e}),this._progressBarElement.querySelectorAll("div.progress-bar").forEach(t=>{t.style.width=`${e}%`})}updateProgress(){a.api.get(this._getConfigParam("requestUrl")).then(e=>{e.progress&&this._update(e.progress),e.status!==this.STATUS_STARTED&&e.status!==this.STATUS_NOT_STARTED?(e.url=e.url?e.url:this._getConfigParam("redirectUrl").replace("%packageId%",e.packageId).replace("%resourceId%",e.resourceId),e.method=this._getConfigParam("redirectMethod","get"),(0,a.redirect)(e)):setTimeout(()=>{this.updateProgress()},this._getConfigParam("timeout",1e3))})}}const l=e=>{new o(e)}}}]);
//# sourceMappingURL=progress.js.map?34b21b44dbcbe007a3e2

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/app/progress.js?34b21b44dbcbe007a3e2","mappings":"mLAKA,MAAMA,UAAiBC,EAAAA,UAAUC,WAAAA,IAAAC,GAAA,SAAAA,IAAAC,EAAAA,EAAAA,SAAA,sBACZ,IAACA,EAAAA,EAAAA,SAAA,0BAEG,IAACA,EAAAA,EAAAA,SAAA,mBAER,IAACA,EAAAA,EAAAA,SAAA,oBAEA,EAAC,CAEhBC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,OAAQC,EAAAA,OAAOC,WAAW,uCACvBJ,IAEPK,WAAW,KACPC,KAAKC,kBACN,IACP,CAEAC,qBAAAA,GACIF,KAAKG,sBAAuBC,EAAAA,EAAAA,mBAAkB,MAAO,CACjDC,MAAO,mBAEXL,KAAKM,qBAAsBF,EAAAA,EAAAA,mBAAkB,MAAO,CAChDC,MAAO,aAEXL,KAAKM,oBAAoBC,UAAY,mCACrCP,KAAKQ,mBAAoBJ,EAAAA,EAAAA,mBAAkB,MAAO,CAC9CC,MAAO,oCAEXL,KAAKQ,kBAAkBC,YAAYT,KAAKG,sBACxCH,KAAKQ,kBAAkBC,YAAYT,KAAKM,qBACxCN,KAAKU,QAAQ,EACjB,CAEAA,OAAAA,CAAQC,GACJA,EAAWC,KAAKC,IAAIF,EAAU,GAC9BX,KAAKG,qBAAqBI,UAAYP,KAAKc,KAAK,WAAY,CAAEH,aAC9DX,KAAKM,oBAAoBS,iBAAiB,oBAAoBC,QAAQC,IAClEA,EAAQC,MAAMC,MAAQ,GAAGR,MAEjC,CAEAV,cAAAA,GACImB,EAAAA,IAAIC,IAAIrB,KAAKsB,gBAAgB,eACxBC,KAAKC,IACEA,EAAOC,UACPzB,KAAKU,QAAQc,EAAOC,UAEpBD,EAAOE,SAAW1B,KAAK2B,gBAAkBH,EAAOE,SAAW1B,KAAK4B,oBAMpEJ,EAAOK,IAAML,EAAOK,IACdL,EAAOK,IACP7B,KAAKsB,gBAAgB,eAAeQ,QAAQ,cAAeN,EAAOO,WAAWD,QAAQ,eAAgBN,EAAOQ,YAClHR,EAAOS,OAASjC,KAAKsB,gBAAgB,iBAAkB,QACvDY,EAAAA,EAAAA,UAASV,IATLzB,WAAW,KACPC,KAAKC,kBACND,KAAKsB,gBAAgB,UAAW,OASnD,EAGJ,QAAea,IACX,IAAI/C,EAAS+C,EAChB,C","sources":["webpack:///./app/app/progress.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { Component, Locale, redirect, api } from 'jsw';\nimport { createHtmlElement } from 'helpers/createHtmlElement';\n\nclass Progress extends Component {\n STATUS_STARTED = 0;\n\n STATUS_NOT_STARTED = 1;\n\n STATUS_DONE = 2;\n\n STATUS_ERROR = 3;\n\n _initConfiguration(config) {\n super._initConfiguration({\n locale: Locale.getSection('smb.components.elements.download'),\n ...config,\n });\n setTimeout(() => {\n this.updateProgress();\n }, 1000);\n }\n\n _initComponentElement() {\n this._progressTextElement = createHtmlElement('div', {\n class: 'progress-label',\n });\n this._progressBarElement = createHtmlElement('div', {\n class: 'progress',\n });\n this._progressBarElement.innerHTML = '<div class=\"progress-bar\"></div>';\n this._componentElement = createHtmlElement('div', {\n class: 'progress-box app-progress-panel',\n });\n this._componentElement.appendChild(this._progressTextElement);\n this._componentElement.appendChild(this._progressBarElement);\n this._update(0);\n }\n\n _update(percents) {\n percents = Math.max(percents, 1);\n this._progressTextElement.innerHTML = this.lmsg('progress', { percents });\n this._progressBarElement.querySelectorAll('div.progress-bar').forEach(element => {\n element.style.width = `${percents}%`;\n });\n }\n\n updateProgress() {\n api.get(this._getConfigParam('requestUrl'))\n .then(result => {\n if (result.progress) {\n this._update(result.progress);\n }\n if (result.status === this.STATUS_STARTED || result.status === this.STATUS_NOT_STARTED) {\n setTimeout(() => {\n this.updateProgress();\n }, this._getConfigParam('timeout', 1000));\n return;\n }\n result.url = result.url\n ? result.url\n : this._getConfigParam('redirectUrl').replace('%packageId%', result.packageId).replace('%resourceId%', result.resourceId);\n result.method = this._getConfigParam('redirectMethod', 'get');\n redirect(result);\n });\n }\n}\n\nexport default params => {\n new Progress(params);\n};\n"],"names":["Progress","Component","constructor","args","_defineProperty","_initConfiguration","config","super","locale","Locale","getSection","setTimeout","this","updateProgress","_initComponentElement","_progressTextElement","createHtmlElement","class","_progressBarElement","innerHTML","_componentElement","appendChild","_update","percents","Math","max","lmsg","querySelectorAll","forEach","element","style","width","api","get","_getConfigParam","then","result","progress","status","STATUS_STARTED","STATUS_NOT_STARTED","url","replace","packageId","resourceId","method","redirect","params"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/backup/upload-files"],{3008:(e,n,i)=>{i.r(n),i.d(n,{default:()=>r});var t=i(90);const a=t.Locale.getSection("components.forms.backup.upload");class o extends t.AddRemoveDynamicSubForm{_initConfiguration(e){super._initConfiguration({addButtonTitle:a.lmsg("addFileLink"),removeButtonTitle:a.lmsg("removeLink"),...e})}_bindDynamicContent(e,n){super._bindDynamicContent(e,n),e.querySelectorAll("input").forEach(e=>{(0,t.render)(e,(0,t.createElement)("input",{type:"file",id:e.id,name:e.name}),"replace")})}_prepareDynamicContent(e){const n=Math.floor(1e6*Math.random()),i=new RegExp(`(name=.*?)\\[(${this._id})\\]\\[dynamicSubFormTemplate\\]\\[file\\]`,"g"),t=new RegExp(`(id=.*?\\-${this._id}-)dynamicSubFormTemplate(-)`,"g");return e.innerHTML=e.innerHTML.replace(i,`$1__$2__c${n}[]`).replace(t,`$1c${n}$2`),e}}const r=e=>new o(e)}}]);
//# sourceMappingURL=upload-files.js.map?71728a3d51fd05d619e6

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/backup/upload-files.js?71728a3d51fd05d619e6","mappings":"yKAIA,MAAMA,EAASC,EAAAA,OAAOC,WAAW,kCAEjC,MAAMC,UAAkCC,EAAAA,wBACpCC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,eAAgBR,EAAOS,KAAK,eAC5BC,kBAAmBV,EAAOS,KAAK,iBAC5BH,GAEX,CAEAK,mBAAAA,CAAoBC,EAASC,GACzBN,MAAMI,oBAAoBC,EAASC,GACnCD,EAAQE,iBAAiB,SAASC,QAAQC,KACtCC,EAAAA,EAAAA,QAAOD,GAAOE,EAAAA,EAAAA,eAAc,QAAS,CACjCC,KAAM,OACNC,GAAIJ,EAAMI,GACVC,KAAML,EAAMK,OACZ,YAEZ,CAEAC,sBAAAA,CAAuBV,GACnB,MAAMW,EAAQC,KAAKC,MAAM,IAAUD,KAAKE,UAElCC,EAAa,IAAIC,OAAO,iBAAiBC,KAAKC,gDAAiD,KAC/FC,EAAW,IAAIH,OAAO,aAAaC,KAAKC,iCAAkC,KAMhF,OAJAlB,EAAQoB,UAAYpB,EAAQoB,UACvBC,QAAQN,EAAY,YAAcJ,OAClCU,QAAQF,EAAU,MAAOR,OAEvBX,CACX,EAGJ,QAAesB,GAAU,IAAI/B,EAA0B+B,E","sources":["webpack:///./app/backup/upload-files.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { AddRemoveDynamicSubForm, render, createElement, Locale } from 'jsw';\n\nconst locale = Locale.getSection('components.forms.backup.upload');\n\nclass UploadFilesDynamicSubForm extends AddRemoveDynamicSubForm {\n _initConfiguration(config) {\n super._initConfiguration({\n addButtonTitle: locale.lmsg('addFileLink'),\n removeButtonTitle: locale.lmsg('removeLink'),\n ...config,\n });\n }\n\n _bindDynamicContent(content, isFirstElement) {\n super._bindDynamicContent(content, isFirstElement);\n content.querySelectorAll('input').forEach(input => {\n render(input, createElement('input', {\n type: 'file',\n id: input.id,\n name: input.name,\n }), 'replace');\n });\n }\n\n _prepareDynamicContent(content) {\n const newId = Math.floor(1000000 * Math.random());\n\n const nameRegExp = new RegExp(`(name=.*?)\\\\[(${this._id})\\\\]\\\\[dynamicSubFormTemplate\\\\]\\\\[file\\\\]`, 'g');\n const idRegExp = new RegExp(`(id=.*?\\\\-${this._id}-)dynamicSubFormTemplate(-)`, 'g');\n\n content.innerHTML = content.innerHTML\n .replace(nameRegExp, `\\$1__\\$2__c${newId}[]`)\n .replace(idRegExp, `\\$1c${newId}\\$2`);\n\n return content;\n }\n}\n\nexport default params => new UploadFilesDynamicSubForm(params);\n"],"names":["locale","Locale","getSection","UploadFilesDynamicSubForm","AddRemoveDynamicSubForm","_initConfiguration","config","super","addButtonTitle","lmsg","removeButtonTitle","_bindDynamicContent","content","isFirstElement","querySelectorAll","forEach","input","render","createElement","type","id","name","_prepareDynamicContent","newId","Math","floor","random","nameRegExp","RegExp","this","_id","idRegExp","innerHTML","replace","params"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/change-customers-owner"],{3055:(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var i=s(90);class n extends i.ConfirmationPopupManager.PopupForm{_initConfiguration(e){super._initConfiguration({locale:i.Locale.getSection("admin.components.confirmations.change-customer-owner"),...e})}_onSuccessPreparePopup(e){if(this._clearMessages(),this._owners=$H(),this._response=e,"success"===this._response.status){document.getElementById(this._formBoxAreaId).innerHTML=`<p>${this.lmsg("ownerHint")}</p>${this.getOwnerSelectorHtml()}`,document.getElementById("owners").addEventListener("change",this.onOwnerChange.bind(this)),document.getElementById(this._formListAreaId).innerHTML=`<table cellspacing="0" width="100%"><tbody id="${this._formListItemsAreaId}"></tbody></table>`;let e=!1;$H(this._response.customers).each(({value:t})=>{0!==t.subscriptions.length&&(e=!0),this.addCustomer(t)}),e||(document.getElementById(this._formDescriptionId).innerHTML="")}else this._addErrorMessage(this._response.message)}getOwnerSelectorHtml(){let e='<select class="owners" name="owners" id="owners">';return(this._response.owners||[]).forEach(t=>{e+=`<option value="${t.id}">${(0,i.escapeHtml)(t.name)}</option>`,this._owners.set(t.id,t)}),e+="</select>",e}onOwnerChange(){$H(this._response.customers).each(({value:e})=>{0!==e.subscriptions.length&&$H(e.subscriptions).each(({value:e})=>{document.getElementById(`plans-box-${e.id}`).innerHTML=this.getPlanSelectorHtml(e),document.getElementById(`ipV4-box-${e.id}`).innerHTML=this.getIpAddressSelectorHtml(e,"ipV4"),document.getElementById(`ipV6-box-${e.id}`).innerHTML=this.getIpAddressSelectorHtml(e,"ipV6")})})}addCustomer(e){if(0===e.subscriptions.length){this._itemClass="odd"===this._itemClass?"even":"odd";const t=`<tr class="${this._itemClass}"><td><b>${(0,i.escapeHtml)(e.name)}</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>`;(0,i.render)(document.getElementById(this._formListItemsAreaId),t)}else{let t=e.name;$H(e.subscriptions).each(({value:e})=>{this.addSubscription(e,t),t=" "})}}addSubscription(e,t){this._itemClass="odd"===this._itemClass?"even":"odd";const s=`<tr class="${this._itemClass}"><td><b>${(0,i.escapeHtml)(t)}</b></td><td>${(0,i.escapeHtml)(e.name)}</td><td id="plans-box-${e.id}">${this.getPlanSelectorHtml(e)}</td><td id="ipV4-box-${e.id}">${this.getIpAddressSelectorHtml(e,"ipV4")}</td><td id="ipV6-box-${e.id}">${this.getIpAddressSelectorHtml(e,"ipV6")}</td></tr>`;(0,i.render)(document.getElementById(this._formListItemsAreaId),s)}getPlanSelectorHtml({id:e}){const t=this.getSelectedOwner();if(0===t.plans.length)return"";let s=`<select class="plans" name="plans[${e}]" id="plans-${e}">`;return $H(t.plans).each(({value:e})=>{void 0!==e.id&&(s+=`<option value="${e.id}">${(0,i.escapeHtml)(e.name)}</option>`)}),s+="</select>",s}getIpAddressSelectorHtml(e,t){const s=this.getSelectedOwner();if(void 0===s[t])return"";const{id:i}=e;let n=`<select class="${t}" name="${t}[${i}]" id="${t}-${i}">`;return $H(s[t]).each(({value:s})=>{if(void 0!==s.id){const i=s.id==e[t].id?"selected":"";n+=`<option value="${s.id}" ${i}>${s.description}</option>`}}),n+="</select>",e[t].isDedicated&&(n+=`<div class="hint-sub hint-attention">${this.lmsg("ipAddressHint")}</div>`),n}getSelectedOwner(){return this._owners.get(document.getElementById("owners").value)}_isValid(){return this._valid=!0,this.getSelectedOwner().id?($H(this._response.customers).each(({value:e})=>{0!==e.subscriptions.length&&$H(e.subscriptions).each(({value:e})=>{if(this._valid){const{id:t}=e,s=document.getElementById(`ipV4-${t}`)?document.getElementById(`ipV4-${t}`).value:0,i=document.getElementById(`ipV6-${t}`)?document.getElementById(`ipV6-${t}`).value:0;s||i||(this._addErrorMessage(this.lmsg("ipAddressNotSelected")),this._valid=!1)}})}),this._valid):(this._addErrorMessage(this.lmsg("ownerNotSelected")),!1)}_getAdditionalParams(e){return e.set("owner-id",document.getElementById("owners").value),document.querySelectorAll(".plans").forEach(({id:t,value:s})=>{e.set(`plans[${t.replace("plans-","")}]`,s)}),document.querySelectorAll(".ipV4").forEach(({id:t,value:s})=>{e.set(`ipV4[${t.replace("ipV4-","")}]`,s)}),document.querySelectorAll(".ipV6").forEach(({id:t,value:s})=>{e.set(`ipV6[${t.replace("ipV6-","")}]`,s)}),e}}const d=n}}]);
//# sourceMappingURL=change-customers-owner.js.map?a9da2bfdfc76e9f67f68

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/convert-customers-to-resellers"],{3056:(e,s,t)=>{t.r(s),t.d(s,{default:()=>a});var o=t(90);class r extends o.ConfirmationPopupManager.PopupForm{_initConfiguration(e){super._initConfiguration({locale:o.Locale.getSection("admin.components.confirmations.customer"),...e})}_onSuccessPreparePopup(e){this._clearMessages(),this._response=e,"success"===this._response.status?(document.getElementById(this._formBoxAreaId).innerHTML="",document.getElementById(this._formListAreaId).innerHTML=`<table cellspacing="0" width="100%"><tbody id="${this._formListItemsAreaId}"></tbody></table>`,$H(this._response.customers).each(({value:e})=>{this.addCustomer(e)})):this._addErrorMessage(this._response.message)}addCustomer(e){this._itemClass="odd"===this._itemClass?"even":"odd";const s=`<tr class="${this._itemClass}"><td><b>${(0,o.escapeHtml)(e.name)}</b></td><td>${this.getPlanSelectorHtml(e)}</td></tr>`;(0,o.render)(document.getElementById(this._formListItemsAreaId),s)}getPlanSelectorHtml(e){let s=`<select class="customers" name="customers[${e.id}]" id="customers-select-${e.id}" title="${e.id}">`;return $H(this._response.plans).each(({value:e})=>{s+=`<option value="${e.id}">${(0,o.escapeHtml)(e.name)}</option>`}),s+="</select>",s}_getAdditionalParams(e){return document.querySelectorAll(".customers").forEach(({title:s,value:t})=>{e.set(`customers[${s}]`,t)}),e}}const a=r}}]);
//# sourceMappingURL=convert-customers-to-resellers.js.map?f6fa876dc60a47af2fe0

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/convert-customers-to-resellers.js?f6fa876dc60a47af2fe0","mappings":"oLAIA,MAAMA,UAAoCC,EAAAA,yBAAyBC,UAC/DC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,OAAQC,EAAAA,OAAOC,WAAW,8CACvBJ,GAEX,CAEAK,sBAAAA,CAAuBC,GACnBC,KAAKC,iBAELD,KAAKE,UAAYH,EAEb,YAAcC,KAAKE,UAAUC,QAC7BC,SAASC,eAAeL,KAAKM,gBAAgBC,UAAY,GACzDH,SAASC,eAAeL,KAAKQ,iBAAiBD,UAEtC,kDAAcP,KAAKS,yCAK3BC,GAAGV,KAAKE,UAAUS,WAAWC,KAAK,EAAGC,YACjCb,KAAKc,YAAYD,MAGrBb,KAAKe,iBAAiBf,KAAKE,UAAUc,QAE7C,CAEAF,WAAAA,CAAYG,GACRjB,KAAKkB,WAAc,QAAUlB,KAAKkB,WAAc,OAAS,MACzD,MAAMC,EACF,cAAcnB,KAAKkB,uBACLE,EAAAA,EAAAA,YAAWH,EAASI,qBACvBrB,KAAKsB,oBAAoBL,gBAIxCM,EAAAA,EAAAA,QAAOnB,SAASC,eAAeL,KAAKS,sBAAuBU,EAC/D,CAEAG,mBAAAA,CAAoBL,GAChB,IAAIO,EAAmB,6CAA6CP,EAASQ,6BAA6BR,EAASQ,cAAcR,EAASQ,OAM1I,OALAf,GAAGV,KAAKE,UAAUwB,OAAOd,KAAK,EAAGC,MAAOc,MACpCH,GAAoB,kBAAkBG,EAAKF,QAAOL,EAAAA,EAAAA,YAAWO,EAAKN,mBAEtEG,GAAoB,YAEbA,CACX,CAEAI,oBAAAA,CAAqBC,GAIjB,OAHAzB,SAAS0B,iBAAiB,cAAcC,QAAQ,EAAGC,QAAOnB,YACtDgB,EAAOI,IAAI,aAAaD,KAAUnB,KAE/BgB,CACX,EAGJ,S","sources":["webpack:///./app/convert-customers-to-resellers.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { ConfirmationPopupManager, Locale, escapeHtml, render } from 'jsw';\n\nclass ConvertCustomersToResellers extends ConfirmationPopupManager.PopupForm {\n _initConfiguration(config) {\n super._initConfiguration({\n locale: Locale.getSection('admin.components.confirmations.customer'),\n ...config,\n });\n }\n\n _onSuccessPreparePopup(response) {\n this._clearMessages();\n\n this._response = response;\n\n if ('success' === this._response.status) {\n document.getElementById(this._formBoxAreaId).innerHTML = '';\n document.getElementById(this._formListAreaId).innerHTML = (\n '<table cellspacing=\"0\" width=\"100%\">' +\n `<tbody id=\"${this._formListItemsAreaId}\">` +\n '</tbody>' +\n '</table>'\n );\n\n $H(this._response.customers).each(({ value }) => {\n this.addCustomer(value);\n });\n } else {\n this._addErrorMessage(this._response.message);\n }\n }\n\n addCustomer(customer) {\n this._itemClass = ('odd' === this._itemClass) ? 'even' : 'odd';\n const itemHtml = (\n `<tr class=\"${this._itemClass}\">` +\n `<td><b>${escapeHtml(customer.name)}</b></td>` +\n `<td>${this.getPlanSelectorHtml(customer)}</td>` +\n '</tr>'\n );\n\n render(document.getElementById(this._formListItemsAreaId), itemHtml);\n }\n\n getPlanSelectorHtml(customer) {\n let planSelectorHtml = `<select class=\"customers\" name=\"customers[${customer.id}]\" id=\"customers-select-${customer.id}\" title=\"${customer.id}\">`;\n $H(this._response.plans).each(({ value: plan }) => {\n planSelectorHtml += `<option value=\"${plan.id}\">${escapeHtml(plan.name)}</option>`;\n });\n planSelectorHtml += '</select>';\n\n return planSelectorHtml;\n }\n\n _getAdditionalParams(params) {\n document.querySelectorAll('.customers').forEach(({ title, value }) => {\n params.set(`customers[${title}]`, value);\n });\n return params;\n }\n}\n\nexport default ConvertCustomersToResellers;\n"],"names":["ConvertCustomersToResellers","ConfirmationPopupManager","PopupForm","_initConfiguration","config","super","locale","Locale","getSection","_onSuccessPreparePopup","response","this","_clearMessages","_response","status","document","getElementById","_formBoxAreaId","innerHTML","_formListAreaId","_formListItemsAreaId","$H","customers","each","value","addCustomer","_addErrorMessage","message","customer","_itemClass","itemHtml","escapeHtml","name","getPlanSelectorHtml","render","planSelectorHtml","id","plans","plan","_getAdditionalParams","params","querySelectorAll","forEach","title","set"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/convert-resellers-to-customers"],{3057:(e,s,t)=>{t.r(s),t.d(s,{default:()=>r});var i=t(90);class n extends i.ConfirmationPopupManager.PopupForm{_initConfiguration(e){super._initConfiguration({locale:i.Locale.getSection("admin.components.confirmations.reseller"),...e})}_onSuccessPreparePopup(e){if(this._clearMessages(),this._response=e,"success"===this._response.status){document.getElementById(this._formBoxAreaId).innerHTML="",document.getElementById(this._formListAreaId).innerHTML=`<table cellspacing="0" width="100%"><tbody id="${this._formListItemsAreaId}"></tbody></table>`;let e=!1;$H(this._response.resellers).each(({value:s})=>{0!==s.subscriptions.length&&(e=!0),this.addReseller(s)}),e&&(0,i.render)(document.getElementById(this._formDescriptionId),`&nbsp;${this.lmsg("descriptionExtended")}`)}else this._addErrorMessage(this._response.message)}addReseller(e){if(0===e.subscriptions.length){this._itemClass="odd"===this._itemClass?"even":"odd";const s=`<tr class="${this._itemClass}"><td><b>${(0,i.escapeHtml)(e.name)}</b></td><td>&nbsp;</td><td>&nbsp;</td></tr>`;(0,i.render)(document.getElementById(this._formListItemsAreaId),s)}else{let s=e.name;$H(e.subscriptions).each(({value:e})=>{this.addSubscription(e,s),s=" "})}}addSubscription(e,s){this._itemClass="odd"===this._itemClass?"even":"odd";const t=`<tr class="${this._itemClass}"><td><b>${(0,i.escapeHtml)(s)}</b></td><td>${(0,i.escapeHtml)(e.name)}</td><td>${this.getPlanSelectorHtml(e)}</td></tr>`;(0,i.render)(document.getElementById(this._formListItemsAreaId),t)}getPlanSelectorHtml(e){let s=`<select class="subscriptions" name="subscriptions[${e.id}]" id="" title="${e.id}">`;return $H(this._response.plans).each(({value:e})=>{s+=`<option value="${e.id}">${(0,i.escapeHtml)(e.name)}</option>`}),s+="</select>",s}_getAdditionalParams(e){return document.querySelectorAll(".subscriptions").forEach(({title:s,value:t})=>{e.set(`subscriptions[${s}]`,t)}),e}}const r=n}}]);
//# sourceMappingURL=convert-resellers-to-customers.js.map?7b51e276020180934133

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/domain/restriction"],{3040:(e,t,o)=>{o.r(t),o.d(t,{default:()=>i});var s=o(296),l=o(3041);const i=({listToggleStatus:e,resolutionToggleStatus:t,resolutionToggleIsAllowed:o,renderTo:i})=>{(0,s.render)((0,s.jsx)(l.Toggles,{listToggleStatus:e,resolutionToggleStatus:t,resolutionToggleIsAllowed:o}),document.getElementById(i))}},3041:(e,t,o)=>{o.r(t),o.d(t,{Toggles:()=>r,default:()=>a});var s=o(296),l=o(90),i=o(297),n=o(668),g=o.n(n);const r=({listToggleStatus:e,resolutionToggleStatus:t,resolutionToggleIsAllowed:o=!1})=>{const[n,g]=(0,s.useState)(e),[r,a]=(0,s.useState)(t),[u,d]=(0,s.useState)(!1),[c,T]=(0,s.useState)(!1),S=l.Locale.getSection("admin.components.lists.restricteddomains");(0,s.useEffect)(()=>{g(e),a(t)},[e,t]);return(0,s.jsxs)(s.Fragment,{children:[o&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Switch,{id:"resolutionToggle",onChange:e=>(e=>{a(e=>!e),T(!0),l.api.post("/admin/domain-restriction/resolution-restriction",{toState:e}).finally(()=>T(!1))})(e),loading:c,checked:r,children:S.lmsg("toggleResolution")}),(0,s.jsx)("br",{})]}),(0,s.jsx)(i.Switch,{id:"listToggle",onChange:e=>(e=>{g(e=>!e),d(!0),l.api.post("/admin/domain-restriction/list-restriction",{toState:e}).finally(()=>d(!1))})(e),loading:u,checked:n,children:S.lmsg("toggleProhibitedList")})]})};r.propTypes={listToggleStatus:g().bool.isRequired,resolutionToggleStatus:g().bool.isRequired,resolutionToggleIsAllowed:g().bool};const a=r}}]);
//# sourceMappingURL=restriction.js.map?96b890fa960678d333df

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/email-address/aliases-dynamic"],{3015:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var a=t(90);const i=a.Locale.getSection("smb.components.forms.email-address");class o extends a.AddRemoveDynamicSubForm{_initConfiguration(e){super._initConfiguration({addButtonTitle:i.lmsg("buttonAddMailAlias"),removeButtonTitle:i.lmsg("buttonRemoveMailAlias"),...e})}_onInitDynamic(){super._onInitDynamic(),this.domainNameFieldId="general-generalSection-domain",document.getElementById("general-generalSection-domain")||(this.domainNameFieldId="general-vcard-domain"),document.getElementById(this.domainNameFieldId)&&document.getElementById(this.domainNameFieldId).addEventListener("change",()=>{this.onDomainChange()}),this.onDomainChange()}_isAddButtonDisabled(){try{return Smb.Views.User.isExternalMailUsed()}catch{}return!1}_bindDynamicContent(e,n){const t=document.createElement("span");t.className="aliasDomainName";const i=e.querySelectorAll(".field-value input");return(0,a.render)(i[i.length-1],t,"after"),super._bindDynamicContent(e,n)}_initRemoveButtonWrapper(e){const n=`${this._removeButtonId}-${this._getRandomNumber()}`,t=e.querySelectorAll(".aliasDomainName");return(0,a.render)(t[t.length-1],`<span id="${n}" class="${this._removeButtonId}"></span>`,"after"),n}_onUpdateDynamic(){super._onUpdateDynamic(),this.onDomainChange()}onDomainChange(){const e=this.getDomainName();this._componentElement.querySelectorAll(".aliasDomainName").forEach(n=>{n.innerHTML=` @${e}`})}getDomainName(){const e=this._getConfigParam("domainName");if(e)return e;const n=document.getElementById(this.domainNameFieldId);return"general-vcard-domain"===this.domainNameFieldId?n.value:n.options[n.selectedIndex].text}}const m=e=>new o(e)}}]);
//# sourceMappingURL=aliases-dynamic.js.map?00ed6f7a9c47b16c174a

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/email-address/aliases-dynamic.js?00ed6f7a9c47b16c174a","mappings":"mLAIA,MAAMA,EAASC,EAAAA,OAAOC,WAAW,sCAEjC,MAAMC,UAA8BC,EAAAA,wBAChCC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,eAAgBR,EAAOS,KAAK,sBAC5BC,kBAAmBV,EAAOS,KAAK,4BAC5BH,GAEX,CAEAK,cAAAA,GACIJ,MAAMI,iBACNC,KAAKC,kBAAoB,gCAEpBC,SAASC,eAAe,mCAEzBH,KAAKC,kBAAoB,wBAGzBC,SAASC,eAAeH,KAAKC,oBAC7BC,SAASC,eAAeH,KAAKC,mBAAmBG,iBAAiB,SAAU,KACvEJ,KAAKK,mBAGbL,KAAKK,gBACT,CAEAC,oBAAAA,GACI,IACI,OAAOC,IAAIC,MAAMC,KAAKC,oBAC1B,CAAE,MAAQ,CACV,OAAO,CACX,CAEAC,mBAAAA,CAAoBC,EAASC,GACzB,MAAMC,EAAgBZ,SAASa,cAAc,QAC7CD,EAAcE,UAAY,kBAC1B,MAAMC,EAAML,EAAQM,iBAAiB,sBAGrC,OAFAC,EAAAA,EAAAA,QAAOF,EAAIA,EAAIG,OAAS,GAAIN,EAAe,SAEpCnB,MAAMgB,oBAAoBC,EAASC,EAC9C,CAEAQ,wBAAAA,CAAyBT,GACrB,MAAMU,EAAY,GAAGtB,KAAKuB,mBAAmBvB,KAAKwB,qBAC5CP,EAAML,EAAQM,iBAAiB,oBAGrC,OAFAC,EAAAA,EAAAA,QAAOF,EAAIA,EAAIG,OAAS,GAAI,aAAaE,aAAqBtB,KAAKuB,2BAA4B,SAExFD,CACX,CAEAG,gBAAAA,GACI9B,MAAM8B,mBACNzB,KAAKK,gBACT,CAEAA,cAAAA,GACI,MAAMqB,EAAa1B,KAAK2B,gBACxB3B,KAAK4B,kBAAkBV,iBAAiB,oBAAoBW,QAAQC,IAChEA,EAAMC,UAAY,KAAKL,KAE/B,CAEAC,aAAAA,GACI,MAAMD,EAAa1B,KAAKgC,gBAAgB,cACxC,GAAIN,EACA,OAAOA,EAGX,MAAMO,EAAe/B,SAASC,eAAeH,KAAKC,mBAClD,MAA+B,yBAA3BD,KAAKC,kBACEgC,EAAaC,MAGjBD,EAAaE,QAAQF,EAAaG,eAAeC,IAC5D,EAGJ,QAAeC,GAAU,IAAI/C,EAAsB+C,E","sources":["webpack:///./app/email-address/aliases-dynamic.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { AddRemoveDynamicSubForm, Locale, render } from 'jsw';\n\nconst locale = Locale.getSection('smb.components.forms.email-address');\n\nclass AliasesDynamicSubForm extends AddRemoveDynamicSubForm {\n _initConfiguration(config) {\n super._initConfiguration({\n addButtonTitle: locale.lmsg('buttonAddMailAlias'),\n removeButtonTitle: locale.lmsg('buttonRemoveMailAlias'),\n ...config,\n });\n }\n\n _onInitDynamic() {\n super._onInitDynamic();\n this.domainNameFieldId = 'general-generalSection-domain';\n\n if (!document.getElementById('general-generalSection-domain')) {\n // for my profile\n this.domainNameFieldId = 'general-vcard-domain';\n }\n\n if (document.getElementById(this.domainNameFieldId)) {\n document.getElementById(this.domainNameFieldId).addEventListener('change', () => {\n this.onDomainChange();\n });\n }\n this.onDomainChange();\n }\n\n _isAddButtonDisabled() {\n try {\n return Smb.Views.User.isExternalMailUsed();\n } catch { }\n return false;\n }\n\n _bindDynamicContent(content, isFirstElement) {\n const domainElement = document.createElement('span');\n domainElement.className = 'aliasDomainName';\n const els = content.querySelectorAll('.field-value input');\n render(els[els.length - 1], domainElement, 'after');\n\n return super._bindDynamicContent(content, isFirstElement);\n }\n\n _initRemoveButtonWrapper(content) {\n const wrapperId = `${this._removeButtonId}-${this._getRandomNumber()}`;\n const els = content.querySelectorAll('.aliasDomainName');\n render(els[els.length - 1], `<span id=\"${wrapperId}\" class=\"${this._removeButtonId}\"></span>`, 'after');\n\n return wrapperId;\n }\n\n _onUpdateDynamic() {\n super._onUpdateDynamic();\n this.onDomainChange();\n }\n\n onDomainChange() {\n const domainName = this.getDomainName();\n this._componentElement.querySelectorAll('.aliasDomainName').forEach(child => {\n child.innerHTML = ` @${domainName}`;\n });\n }\n\n getDomainName() {\n const domainName = this._getConfigParam('domainName');\n if (domainName) {\n return domainName;\n }\n\n const domainNameEl = document.getElementById(this.domainNameFieldId);\n if (this.domainNameFieldId === 'general-vcard-domain') {\n return domainNameEl.value;\n }\n\n return domainNameEl.options[domainNameEl.selectedIndex].text;\n }\n}\n\nexport default params => new AliasesDynamicSubForm(params);\n"],"names":["locale","Locale","getSection","AliasesDynamicSubForm","AddRemoveDynamicSubForm","_initConfiguration","config","super","addButtonTitle","lmsg","removeButtonTitle","_onInitDynamic","this","domainNameFieldId","document","getElementById","addEventListener","onDomainChange","_isAddButtonDisabled","Smb","Views","User","isExternalMailUsed","_bindDynamicContent","content","isFirstElement","domainElement","createElement","className","els","querySelectorAll","render","length","_initRemoveButtonWrapper","wrapperId","_removeButtonId","_getRandomNumber","_onUpdateDynamic","domainName","getDomainName","_componentElement","forEach","child","innerHTML","_getConfigParam","domainNameEl","value","options","selectedIndex","text","params"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/email-address/client-configuration-link"],{1473:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var o=t(297),s=t(90),c=t(296);const i=s.Locale.getSection("components.buttons"),l=({id:e,content:n,icon:t="copy",className:s,tooltip:l=i.lmsg("copyToClipboard"),onCopy:a=()=>{},children:r})=>(0,c.jsx)(o.Button,{className:s,ghost:!0,icon:t,tooltip:l,tooltipAsLabel:!0,onClick:()=>{(0,o.copyToClipboard)(n),a()},"data-action":"copy-to-clipboard"+(e?`-${e}`:""),children:r})},3016:(e,n,t)=>{t.r(n),t.d(n,{default:()=>a});var o=t(297),s=t(299),c=t(90),i=t(3017),l=t(296);const a=({renderTo:e,...n})=>{const t=c.Locale.getSection("components.email-address.client-configuration-link").messages;(0,s.createRoot)(document.getElementById(e)).render((0,l.jsx)(o.LocaleProvider,{messages:t,children:(0,l.jsx)(i.default,{...n})}))}},3017:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var o=t(297),s=t(668),c=t.n(s),i=t(296),l=t(1473),a=t(546),r=t(90);const d=({link:e})=>{const[n,t]=(0,i.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Action,{onClick:()=>t(!0),children:(0,i.jsx)(o.Translate,{content:"action"})}),(0,i.jsx)(o.Drawer,{size:"sm",isOpen:n,onClose:()=>t(!1),title:(0,i.jsx)(o.Translate,{content:"title"}),"data-type":"client-configuration-link",children:(0,i.jsxs)(o.Alert,{intent:"info",children:[(0,i.jsx)("div",{children:e}),(0,i.jsx)("div",{children:(0,i.jsx)(l.default,{content:e,onCopy:()=>(0,a.addToast)({intent:"success",message:r.Locale.getSection("components.buttons").lmsg("copied")}),children:(0,i.jsx)(o.Translate,{content:"copy"})})})]})})]})};d.propTypes={link:c().string.isRequired};const p=d}}]);
//# sourceMappingURL=client-configuration-link.js.map?5567685ee408417bffa7

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/email-address/postbox"],{3020:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var l=n(90);const a=({domainLimits:e,units:t,quotaValue:n,isDefault:a})=>{const o=l.Locale.getSection("smb.components.forms.email-address"),c=e=>{let n=t[0];return t.forEach(t=>{n<t&&Math.round(e/t)*t===e&&(n=t)}),n},i=()=>{const e=document.getElementById("general-generalSection-postbox").checked;document.getElementById("redirect-redirectSection-remove")&&(document.getElementById("redirect-redirectSection-remove").disabled=!e),document.getElementById("general-generalSection-mboxQuotaValue-default").disabled=!e,document.getElementById("general-generalSection-mboxQuotaValue-specific").disabled=!e,document.getElementById("general-generalSection-mboxQuotaValue-specific-input").disabled=!e||!document.getElementById("general-generalSection-mboxQuotaValue-specific").checked,document.getElementById("general-generalSection-mboxQuotaValue-specific-multiplier").disabled=!e||!document.getElementById("general-generalSection-mboxQuotaValue-specific").checked,e&&document.getElementById("general-generalSection-mboxQuotaValue-specific").checked&&document.getElementById("general-generalSection-mboxQuotaValue-specific-input").focus(),u()},u=()=>{if(document.getElementById("general-generalSection-postbox").checked)if(document.getElementById("general-generalSection-mboxQuotaValue-specific").checked){const e=document.getElementById("general-generalSection-mboxQuotaValue-specific-input").value;if(/^\d+$/.test(e)){const t=document.getElementById("general-generalSection-mboxQuotaValue-specific-multiplier").value;document.getElementById("general-generalSection-mboxQuotaValue").value=e*t}else document.getElementById("general-generalSection-mboxQuotaValue").value="error"}else document.getElementById("general-generalSection-mboxQuotaValue").value="-1"},d=()=>{const{value:t,desc:n}=(()=>{const t=document.getElementById("general-generalSection-domain"),n=t?t.options[t.selectedIndex].value:Object.keys(e)[0];return e[n]})();if(document.getElementById("general-generalSection-text-default").innerHTML=o.lmsg("mailBoxQuotaDomainDefault",{domainMboxQuota:-1===t?o.lmsg("mailBoxQuotaUnlimited"):n}),document.getElementById("general-generalSection-mboxQuotaValue-specific").checked)return;const l=c(t),a=-1===t?0:Math.round(t/l);document.getElementById("general-generalSection-mboxQuotaValue").value="-1",document.getElementById("general-generalSection-mboxQuotaValue-specific-input").value=a,document.getElementById("general-generalSection-mboxQuotaValue-specific-multiplier").value=l};(()=>{if(!a){const e=c(n);document.getElementById("general-generalSection-mboxQuotaValue-specific-input").value=n/e,document.getElementById("general-generalSection-mboxQuotaValue-specific-multiplier").value=e}i(),d()})(),document.getElementById("general-generalSection-postbox").addEventListener("click",i),document.getElementById("general-generalSection-mboxQuotaValue-default").addEventListener("click",i),document.getElementById("general-generalSection-mboxQuotaValue-specific").addEventListener("click",i),document.getElementById("general-generalSection-mboxQuotaValue-specific-input").addEventListener("change",u),document.getElementById("general-generalSection-mboxQuotaValue-specific-multiplier").addEventListener("change",u),document.getElementById("general-generalSection-domain")&&document.getElementById("general-generalSection-domain").addEventListener("change",d)}}}]);
//# sourceMappingURL=postbox.js.map?2b595d77125e10a90db3

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/email-address/responder-attachments-dynamic"],{3021:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var a=n(90);const o=a.Locale.getSection("smb.components.forms.email-address");class l extends a.AddRemoveDynamicSubForm{_initConfiguration(e){super._initConfiguration({addButtonTitle:o.lmsg("buttonAddResponderAttachment"),removeButtonTitle:o.lmsg("buttonRemoveResponderAttachment"),...e})}_bindDynamicContent(e){super._bindDynamicContent(e,!1),e.querySelectorAll("input").forEach(e=>{if(e.value){const t=new Element("div",{class:"text-value"});(0,a.render)(e.closest(".field-value"),t,"top"),e.closest(".field-value").querySelectorAll("input, .remove-responder-attachment-button-wrapper").forEach(e=>{e!==t&&(0,a.render)(t,e)}),(0,a.render)(e,e.value,"after")}else e.parentNode.replaceChild(new Element("input",{type:"file",id:e.id,name:e.name}),e)})}}const r=e=>new l(e)}}]);
//# sourceMappingURL=responder-attachments-dynamic.js.map?dd4eec00db3dde3934f4

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/email-address/responder-attachments-dynamic.js?dd4eec00db3dde3934f4","mappings":"iMAIA,MAAMA,EAASC,EAAAA,OAAOC,WAAW,sCAEjC,MAAMC,UAA0CC,EAAAA,wBAC5CC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,eAAgBR,EAAOS,KAAK,gCAC5BC,kBAAmBV,EAAOS,KAAK,sCAC5BH,GAEX,CAEAK,mBAAAA,CAAoBC,GAChBL,MAAMI,oBAAoBC,GAAS,GACnCA,EAAQC,iBAAiB,SAASC,QAAQC,IACtC,GAAIA,EAAMC,MAAO,CACb,MAAMC,EAAU,IAAIC,QAAQ,MAAO,CAAEC,MAAO,gBAC5CC,EAAAA,EAAAA,QAAOL,EAAMM,QAAQ,gBAAiBJ,EAAS,OAC/CF,EAAMM,QAAQ,gBAAgBR,iBAAiB,sDAC1CC,QAAQQ,IACDA,IAASL,IACTG,EAAAA,EAAAA,QAAOH,EAASK,MAG5BF,EAAAA,EAAAA,QAAOL,EAAOA,EAAMC,MAAO,QAC/B,MACID,EAAMQ,WAAWC,aAAa,IAAIN,QAAQ,QAAS,CAC/CO,KAAM,OACNC,GAAIX,EAAMW,GACVC,KAAMZ,EAAMY,OACZZ,IAGhB,EAGJ,QAAea,GAAU,IAAIzB,EAAkCyB,E","sources":["webpack:///./app/email-address/responder-attachments-dynamic.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { AddRemoveDynamicSubForm, Locale, render } from 'jsw';\n\nconst locale = Locale.getSection('smb.components.forms.email-address');\n\nclass ResponderAttachmentDynamicSubForm extends AddRemoveDynamicSubForm {\n _initConfiguration(config) {\n super._initConfiguration({\n addButtonTitle: locale.lmsg('buttonAddResponderAttachment'),\n removeButtonTitle: locale.lmsg('buttonRemoveResponderAttachment'),\n ...config,\n });\n }\n\n _bindDynamicContent(content) {\n super._bindDynamicContent(content, false);\n content.querySelectorAll('input').forEach(input => {\n if (input.value) {\n const element = new Element('div', { class: 'text-value' });\n render(input.closest('.field-value'), element, 'top');\n input.closest('.field-value').querySelectorAll('input, .remove-responder-attachment-button-wrapper')\n .forEach(item => {\n if (item !== element) {\n render(element, item);\n }\n });\n render(input, input.value, 'after');\n } else {\n input.parentNode.replaceChild(new Element('input', {\n type: 'file',\n id: input.id,\n name: input.name,\n }), input);\n }\n });\n }\n}\n\nexport default params => new ResponderAttachmentDynamicSubForm(params);\n"],"names":["locale","Locale","getSection","ResponderAttachmentDynamicSubForm","AddRemoveDynamicSubForm","_initConfiguration","config","super","addButtonTitle","lmsg","removeButtonTitle","_bindDynamicContent","content","querySelectorAll","forEach","input","value","element","Element","class","render","closest","item","parentNode","replaceChild","type","id","name","params"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/eula"],{3e3:(e,p,l)=>{l.r(p),l.d(p,{default:()=>a});var t=l(90);const a=({isUpdate:e,license:p})=>{const l=t.Locale.getSection("admin.controllers.index.eula");new t.Popup({popupCls:"popup-panel popup-panel-lg",id:"eula-update-popup",hideOnBgClick:!1,title:e?l.lmsg("updatePopupTitle"):l.lmsg("popupTitle"),content:`<h4>${e?l.lmsg("updatePopupDescription"):l.lmsg("popupDescription")}</h4><div class="eula">${p}</div>`,buttons:[{id:"eula-update-accept",title:l.lmsg("buttonAccept"),handler(e,p){t.api.post("/admin/index/accept-eula"),p.hide()}},{id:"eula-update-decline",title:l.lmsg("buttonDecline"),handler(e,p){document.location.href="/logout.php",p.hide()}}]})}}}]);
//# sourceMappingURL=eula.js.map?72acfe7f5320ae0d8673

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/eula.js?72acfe7f5320ae0d8673","mappings":"yJAIA,UAAkBA,WAAUC,cACxB,MAAMC,EAASC,EAAAA,OAAOC,WAAW,gCAEjC,IAAIC,EAAAA,MAAM,CACNC,SAAU,6BACVC,GAAI,oBACJC,eAAe,EACfC,MAAOT,EAAWE,EAAOQ,KAAK,oBAAsBR,EAAOQ,KAAK,cAChEC,QAAS,OAAOX,EAAWE,EAAOQ,KAAK,0BAA4BR,EAAOQ,KAAK,6CACtDT,UACzBW,QAAS,CAAC,CACNL,GAAI,qBACJE,MAAOP,EAAOQ,KAAK,gBACnBG,OAAAA,CAAQC,EAAOC,GACXC,EAAAA,IAAIC,KAAK,4BACTF,EAAMG,MACV,GACD,CACCX,GAAI,sBACJE,MAAOP,EAAOQ,KAAK,iBACnBG,OAAAA,CAAQC,EAAOC,GACXI,SAASC,SAASC,KAAO,cACzBN,EAAMG,MACV,KAGX,C","sources":["webpack:///./app/eula.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { Locale, Popup, api } from 'jsw';\n\nexport default ({ isUpdate, license }) => {\n const locale = Locale.getSection('admin.controllers.index.eula');\n\n new Popup({\n popupCls: 'popup-panel popup-panel-lg',\n id: 'eula-update-popup',\n hideOnBgClick: false,\n title: isUpdate ? locale.lmsg('updatePopupTitle') : locale.lmsg('popupTitle'),\n content: `<h4>${isUpdate ? locale.lmsg('updatePopupDescription') : locale.lmsg('popupDescription')}</h4>` +\n `<div class=\"eula\">${license}</div>`,\n buttons: [{\n id: 'eula-update-accept',\n title: locale.lmsg('buttonAccept'),\n handler(event, popup) {\n api.post('/admin/index/accept-eula');\n popup.hide();\n },\n }, {\n id: 'eula-update-decline',\n title: locale.lmsg('buttonDecline'),\n handler(event, popup) {\n document.location.href = '/logout.php';\n popup.hide();\n },\n }],\n });\n};\n"],"names":["isUpdate","license","locale","Locale","getSection","Popup","popupCls","id","hideOnBgClick","title","lmsg","content","buttons","handler","event","popup","api","post","hide","document","location","href"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/log-browser/files"],{3030:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(90),n=s(555);const o=class extends i.List{_initConfiguration(t){super._initConfiguration({id:"log-file-list",locale:i.Locale.getSection("smb.components.lists.logfiles"),searchOveral:"name",isDisabledItem:t=>t.readOnly,...t}),this._webspaceId=this._getConfigParam("webspaceId",""),this._urls=this._getConfigParam("urls",{}),this._initActions(),this._initColumns(),this._initOperations()}_initColumns(){this._columns=[i.list.COLUMN_SELECTION,{header:this.lmsg("modificationDate"),sortable:!0,dataIndex:"modificationDate",cls:"t-r number",renderer:t=>(0,i.escapeHtml)(t.modificationDisplayDate)},{header:this.lmsg("name"),sortable:!0,dataIndex:"name",renderer:({id:t,name:e})=>`<span class="tooltipData">${this.lmsg("viewHint")}</span><a href="${this._urls.browser}?file=${encodeURIComponent(t)}" class="log-file-name">${(0,i.escapeHtml)(e)}</a>`},{header:this.lmsg("path"),sortable:!0,dataIndex:"path"},{header:this.lmsg("fileSize"),sortable:!0,dataIndex:"fileSize",cls:"t-r number",renderer:t=>(0,i.escapeHtml)(t.fileDisplaySize)},{header:"",sortable:!1,cls:"action-icon-set t-r min",renderer:this._renderTools.bind(this)}]}_renderTools(t){const e=[];return t.isCustom&&this._urls.unlink&&e.push((0,i.createElement)("span",(0,i.createElement)("span",{class:"tooltipData"},this.lmsg("buttonUnlinkHint")),(0,i.createElement)("a",{class:"i-link",href:"#","data-action-name":"unlinkCustomLog"},(0,i.createElement)("i",{class:"icon-unlink"})))),e.push((0,i.createElement)("span",(0,i.createElement)("span",{class:"tooltipData"},this.lmsg("buttonViewHint")),(0,i.createElement)("a",{class:"i-link",href:"#","data-action-name":"viewLog"},(0,i.createElement)("i",{class:"icon-logs"})))),e.push((0,i.createElement)("span",(0,i.createElement)("span",{class:"tooltipData"},this.lmsg("buttonDownloadHint")),(0,i.createElement)("a",{href:`${this._urls.download}?filename=${encodeURIComponent(t.id)}`,class:"i-link"},(0,i.createElement)("i",{class:"icon-download"})))),e}_initOperations(){this._operations=[],this._urls.addCustom&&this._operations.push({componentType:i.SmallButton,id:"buttonAddCustomLog",title:this.lmsg("addCustomLog"),description:this.lmsg("addCustomLogHint"),addCls:"sb-add-new",handler:this._addCustomLog.bind(this)}),this._urls.logRotation&&(this._operations.push({componentType:i.SmallButton,id:"buttonSettings",title:this.lmsg("logRotation"),description:this.lmsg("logRotationHint"),addCls:"sb-log-rotation",handler:()=>{new i.AjaxPopupForm({cls:"popup-panel",title:this.lmsg("logRotationTitle"),url:this._urls.logRotation,locale:{waitMsg:this.lmsg("loadingTitle")}})}}),this._operations.push({componentType:i.bar.Separator})),this._operations.push({componentType:i.SmallButton,id:"buttonRemoveLogFiles",title:this.lmsg("remove"),description:this.lmsg("hintRemove"),addCls:"sb-remove-selected",handler:t=>{this.execGroupOperation({url:this._urls.deleteFile,subtype:"delete",mouseEvent:t,locale:{confirmOnGroupOperation:this.lmsg("confirmOnDelete")}})}})}_addCustomLog(){new i.DirectoryBrowser({subscriptionId:this._webspaceId,showFiles:!0,treeConfig:{filterNodes:t=>t.isDirectory||n.FTYPE_TEXT===t.type||n.FTYPE_UNKNOWN_TEXT===t.type},locale:{title:this.lmsg("customLogPopupTitle"),buttonOk:i.Locale.getSection("components.buttons").lmsg("ok"),buttonCancel:i.Locale.getSection("components.buttons").lmsg("cancel")},onSubmit:t=>{this.disable(),i.api.post(this._urls.addCustom,{file:`/${t}`}).then(t=>{this.reload(),t.isUnsupportedLog&&(0,i.addStatusMessage)("warning",this.lmsg("invalidLogFormat"))})}})}_unlinkCustomLog(t){i.messageBox.show({subtype:"unlink",text:this.lmsg("buttonUnlinkConfirmationDescription"),type:i.messageBox.TYPE_YESNO,buttonTitles:{yes:this.lmsg("buttonUnlinkConfirmationYes"),no:this.lmsg("buttonUnlinkConfirmationNo")},onYesClick:()=>{this.disable(),i.api.post(this._urls.unlink,{file:t.id}).finally(()=>this.reload())}})}_initActions(){this._itemActions.unlinkCustomLog=this._unlinkCustomLog.bind(this),this._itemActions.viewLog=t=>{const e=`${this._urls.view}?filename=${encodeURIComponent(t.id)}`;window.open(e,"_blank","toolbar=yes,scrollbars=yes,resizable=yes,width=600,height=500,innerWidth=1000,innerHeight=500")}}}}}]);
//# sourceMappingURL=files.js.map?6418a3ab851356320659

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/login/recovery-password"],{1473:(e,s,t)=>{t.r(s),t.d(s,{default:()=>a});var n=t(297),r=t(90),i=t(296);const o=r.Locale.getSection("components.buttons"),a=({id:e,content:s,icon:t="copy",className:r,tooltip:a=o.lmsg("copyToClipboard"),onCopy:c=()=>{},children:l})=>(0,i.jsx)(n.Button,{className:r,ghost:!0,icon:t,tooltip:a,tooltipAsLabel:!0,onClick:()=>{(0,n.copyToClipboard)(s),c()},"data-action":"copy-to-clipboard"+(e?`-${e}`:""),children:l})},1832:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});var n=t(94),r=t(297),i=t(296),o=t(668),a=t.n(o),c=t(90),l=t(1473),d=t(546);class p extends i.Component{constructor(e){if(super(e),(0,n.default)(this,"state",{recoveryLink:"",recoveryEmail:"",isActionInProgress:!1,isDrawerOpen:!1,isSendingInProgress:!1}),(0,n.default)(this,"handleAction",()=>{if(this.state.isActionInProgress)return;if(this.state.recoveryLink)return void this.setState({isDrawerOpen:!0});this.setState({isActionInProgress:!0});const{userType:e,userId:s}=this.props;c.api.post((0,c.prepareUrl)(`${this.endpoint}/generate-secret`),{userType:e,userId:s}).then(e=>{"success"===e.status?this.setState({recoveryLink:e.link,recoveryEmail:e.email,isActionInProgress:!1,isDrawerOpen:!0}):location.reload()})}),(0,n.default)(this,"handleSend",()=>{if(this.state.isSendingInProgress)return;this.setState({isSendingInProgress:!0});const{messages:e}=this.props,{userType:s,userId:t}=this.props;c.api.post((0,c.prepareUrl)(`${this.endpoint}/send-secret`),{userType:s,userId:t,secret:this.state.recoveryLink}).then(s=>{"success"===s.status?(this.setState({isDrawerOpen:!1}),(0,d.addToast)({intent:"success",message:e.linkSendedMessage}),this.setState({isSendingInProgress:!1,recoveryLink:null})):location.reload()})}),(0,n.default)(this,"handleClose",()=>{this.setState({isDrawerOpen:!1,recoveryLink:null})}),2===this.props.userType)this.endpoint="/admin/reseller";else if(4===this.props.userType)this.endpoint="/admin/customer";else if(8===this.props.userType)this.endpoint="/smb/user";else{if(32!==this.props.userType)throw new Error("Unexpected user type.");this.endpoint="/smb/email-address"}}render(){const{renderAction:e}=this.props,s=e?.(this.handleAction,this.state.isActionInProgress)??(0,i.jsx)(r.Action,{onClick:this.handleAction,progress:this.state.isActionInProgress,children:(0,i.jsx)(r.Translate,{content:"action"})});return(0,i.jsxs)(i.Fragment,{children:[s,(0,i.jsxs)(r.Drawer,{size:"sm",isOpen:this.state.isDrawerOpen,title:(0,i.jsx)(r.Translate,{content:"title"}),cancelTitle:(0,i.jsx)(r.Translate,{content:"closeButton"}),onClose:this.handleClose,"data-type":"recovery-password",children:[(0,i.jsx)(r.Paragraph,{children:(0,i.jsx)(r.Translate,{content:"copyText",params:{email:(0,i.jsx)(r.Text,{bold:!0,children:this.state.recoveryEmail})}})}),(0,i.jsxs)(r.Alert,{intent:"info",children:[(0,i.jsx)("div",{"data-cy":"recovery-link",children:this.state.recoveryLink}),(0,i.jsx)("br",{}),(0,i.jsx)("div",{children:(0,i.jsx)(l.default,{content:this.state.recoveryLink||"",onCopy:()=>(0,d.addToast)({intent:"success",message:c.Locale.getSection("components.buttons").lmsg("copied")}),children:(0,i.jsx)(r.Translate,{content:"copyButton"})})})]}),!!this.state.recoveryEmail&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Paragraph,{children:(0,i.jsx)(r.Translate,{content:"text",params:{email:(0,i.jsx)(r.Text,{bold:!0,children:this.state.recoveryEmail})}})}),(0,i.jsx)(r.Button,{size:"lg",intent:"primary",onClick:this.handleSend,state:this.state.isSendingInProgress?"loading":void 0,children:(0,i.jsx)(r.Translate,{content:"sendButton"})},"sendButton")]})]})]})}}p.propTypes={messages:a().object.isRequired,userType:a().number.isRequired,userId:a().number.isRequired,renderAction:a().func},p.defaultProps={renderAction:null};const h=p},3031:(e,s,t)=>{t.r(s),t.d(s,{default:()=>a});var n=t(297),r=t(296),i=t(90),o=t(1832);const a=({renderTo:e,...s})=>{const t=i.Locale.getSection("components.login.recovery-password").messages;(0,r.render)((0,r.jsx)(n.LocaleProvider,{messages:t,children:(0,r.jsx)(o.default,{messages:t,...s})}),document.getElementById(e))}}}]);
//# sourceMappingURL=recovery-password.js.map?0574522dd59f55b3772c

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/mail-settings/confirmation-remove-popup-form"],{3023:(t,e,n)=>{n.r(e),n.d(e,{default:()=>s});var i=n(90);class o extends i.PopupForm{_initConfiguration(t){super._initConfiguration({locale:i.Locale.getSection("smb.components.forms.mail-settings.show"),...t}),this._handler=this._getConfigParam("handler",null),this._domain=this._getConfigParam("domain",null),this._handlerOnCancel=this._getConfigParam("handlerOnCancel",()=>null)}render(){super.render(),this.setBoxType("form-box"),this.setTitle(this.lmsg("title",{domain:(0,i.escapeHtml)(this._domain)})),(0,i.render)(document.getElementById(this._contentAreaId),`<div class="form-row"><div class="single-row"><div class="indent-box"><input id="confirm-remove-all" type="checkbox" class="checkbox" ><div class="indent-box-content"><label for="confirm-remove-all">${this.lmsg("checkbox",{domain:(0,i.escapeHtml)(this._domain)})}</label></div></div></div></div>`);const t=document.getElementById("confirm-remove-all");t.addEventListener("click",()=>{this._updateButton(this._buttonOk,{disabled:!t.checked})}),this.addOkButton(),this.addCancelButton()}addOkButton(){this._buttonOk=this.addRightButton(i.Locale.getSection("components.buttons").lmsg("yesRemove"),this.onOkClick,!0,!1,{disabled:!0,class:"btn-danger"})}addCancelButton(){this.addRightButton(i.Locale.getSection("components.buttons").lmsg("cancel"),this.onCancelClick,!1,!1)}onOkClick(){this._handler(),this.hide()}onCancelClick(){this._handlerOnCancel(),this.hide()}}const s=o}}]);
//# sourceMappingURL=confirmation-remove-popup-form.js.map?4cc9a8cba1100524261a

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/mail-settings/confirmation-remove-popup-form.js?4cc9a8cba1100524261a","mappings":"kMAIA,MAAMA,UAAoCC,EAAAA,UACtCC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,OAAQC,EAAAA,OAAOC,WAAW,8CACvBJ,IAEPK,KAAKC,SAAWD,KAAKE,gBAAgB,UAAW,MAChDF,KAAKG,QAAUH,KAAKE,gBAAgB,SAAU,MAC9CF,KAAKI,iBAAmBJ,KAAKE,gBAAgB,kBAAmB,IAAM,KAC1E,CAEAG,MAAAA,GACIT,MAAMS,SAENL,KAAKM,WAAW,YAChBN,KAAKO,SAASP,KAAKQ,KAAK,QAAS,CAAEC,QAAQC,EAAAA,EAAAA,YAAWV,KAAKG,aAE3DE,EAAAA,EAAAA,QAAOM,SAASC,eAAeZ,KAAKa,gBAMpB,0MAAmCb,KAAKQ,KAAK,WAAY,CAAEC,QAAQC,EAAAA,EAAAA,YAAWV,KAAKG,8CAMnG,MAAMW,EAAYH,SAASC,eAAe,sBAC1CE,EAAUC,iBAAiB,QAAS,KAChCf,KAAKgB,cAAchB,KAAKiB,UAAW,CAAEC,UAAWJ,EAAUK,YAG9DnB,KAAKoB,cACLpB,KAAKqB,iBACT,CAEAD,WAAAA,GACIpB,KAAKiB,UAAYjB,KAAKsB,eAAexB,EAAAA,OAAOC,WAAW,sBAAsBS,KAAK,aAAcR,KAAKuB,WAAW,GAAM,EAAO,CAAEL,UAAU,EAAMM,MAAO,cAC1J,CAEAH,eAAAA,GACIrB,KAAKsB,eAAexB,EAAAA,OAAOC,WAAW,sBAAsBS,KAAK,UAAWR,KAAKyB,eAAe,GAAO,EAC3G,CAEAF,SAAAA,GACIvB,KAAKC,WACLD,KAAK0B,MACT,CAEAD,aAAAA,GACIzB,KAAKI,mBACLJ,KAAK0B,MACT,EAGJ,S","sources":["webpack:///./app/mail-settings/confirmation-remove-popup-form.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { PopupForm, Locale, render, escapeHtml } from 'jsw';\n\nclass ConfirmationRemovePopupForm extends PopupForm {\n _initConfiguration(config) {\n super._initConfiguration({\n locale: Locale.getSection('smb.components.forms.mail-settings.show'),\n ...config,\n });\n this._handler = this._getConfigParam('handler', null);\n this._domain = this._getConfigParam('domain', null);\n this._handlerOnCancel = this._getConfigParam('handlerOnCancel', () => null);\n }\n\n render() {\n super.render();\n\n this.setBoxType('form-box');\n this.setTitle(this.lmsg('title', { domain: escapeHtml(this._domain) }));\n\n render(document.getElementById(this._contentAreaId), (\n '<div class=\"form-row\">' +\n '<div class=\"single-row\">' +\n '<div class=\"indent-box\">' +\n '<input id=\"confirm-remove-all\" type=\"checkbox\" class=\"checkbox\" >' +\n '<div class=\"indent-box-content\">' +\n `<label for=\"confirm-remove-all\">${this.lmsg('checkbox', { domain: escapeHtml(this._domain) })}</label>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '</div>'\n ));\n const confirmEl = document.getElementById('confirm-remove-all');\n confirmEl.addEventListener('click', () => {\n this._updateButton(this._buttonOk, { disabled: !confirmEl.checked });\n });\n\n this.addOkButton();\n this.addCancelButton();\n }\n\n addOkButton() {\n this._buttonOk = this.addRightButton(Locale.getSection('components.buttons').lmsg('yesRemove'), this.onOkClick, true, false, { disabled: true, class: 'btn-danger' });\n }\n\n addCancelButton() {\n this.addRightButton(Locale.getSection('components.buttons').lmsg('cancel'), this.onCancelClick, false, false);\n }\n\n onOkClick() {\n this._handler();\n this.hide();\n }\n\n onCancelClick() {\n this._handlerOnCancel();\n this.hide();\n }\n}\n\nexport default ConfirmationRemovePopupForm;\n"],"names":["ConfirmationRemovePopupForm","PopupForm","_initConfiguration","config","super","locale","Locale","getSection","this","_handler","_getConfigParam","_domain","_handlerOnCancel","render","setBoxType","setTitle","lmsg","domain","escapeHtml","document","getElementById","_contentAreaId","confirmEl","addEventListener","_updateButton","_buttonOk","disabled","checked","addOkButton","addCancelButton","addRightButton","onOkClick","class","onCancelClick","hide"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/profile/announcement-settings"],{3038:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var l=t(296),s=t(90),o=t(3039);const a="send_personalized_announce",d="none",c=({id:e,email:n,infoClosed:t})=>{const c=s.Locale.getSection("admin.components.forms.admin.announcement-settings"),i=document.getElementById(`${e}-loader`),r=document.getElementById(`${e}`),y=document.getElementById(`${e}-info`),u=document.getElementById(`${e}-checkbox`),p=document.getElementById(`${e}-checkbox-block`),m=document.getElementById(`${e}-radio-block`),g=document.getElementById(`${e}-warning`),h=document.getElementById(`${e}-retry`),f=e=>e.some(e=>e.type===a),k=async()=>{p.style.display="none",m.style.display="none",g.style.display="none",i.style.display="";try{const{consents:e,status:h}=await s.api.get((0,s.prepareUrl)("/my-profile/get-consent"),{email:n});if(i.style.display="none","error"!==h&&e){const n=e.filter(e=>e.enabled);(e=>{f(e)||e.length>0&&!t&&(0,l.render)((0,l.jsx)(o.default,{onClose:()=>s.api.post((0,s.prepareUrl)("/my-profile/close-consent-info")),children:c.lmsg("consentGivenInfo")}),y)})(n),(e=>{f(e)?(u.checked=!0,p.style.display="",r.value=a,u.addEventListener("change",e=>{r.value=e.target.checked?a:d})):e.length>0?(m.style.display="",r.value="send_announce",m.addEventListener("change",e=>{r.value=e.target.value})):(u.checked=!1,p.style.display="",r.value=d,u.addEventListener("change",e=>{r.value=e.target.checked?a:d}))})(n)}else g.style.display=""}catch{i.style.display="none",g.style.display=""}};h.addEventListener("click",e=>{e.preventDefault(),k()}),window.loadConsentStatus=k,k()}},3039:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var l=t(297),s=t(296),o=t(668),a=t.n(o);const d=({children:e,onClose:n})=>{const[t,o]=(0,s.useState)(!0);return t?(0,s.jsx)(l.StatusMessage,{intent:"info",onClose:()=>{n(),o(!1)},children:e}):null};d.propTypes={children:a().node.isRequired,onClose:a().func.isRequired};const c=d}}]);
//# sourceMappingURL=announcement-settings.js.map?1afb290c60ea968d00bc

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/progress-dialog"],{3036:(e,s,t)=>{t.r(s),t.d(s,{default:()=>a});var r=t(297),n=t(296),o=t(3037);const a=({locale:e,container:s,...t})=>{(0,n.render)((0,n.jsx)(r.LocaleProvider,{messages:e,children:(0,n.jsx)(o.default,{...t})}),s)}},3037:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});var r=t(297),n=t(296),o=t(668),a=t.n(o),i=t(90);const l="done",u="error",c="not_started",d="canceled",p="running";class g extends n.Component{renderErrors(e,s){if(!Array.isArray(s)||0===s.length)return null;const t=e===u?"danger":"warning";return(0,n.jsx)(r.Alert,{intent:t,"data-type":"errors",children:s.map(e=>(0,n.jsx)("div",{children:e},e))})}renderStatusText({status:e,progress:s,progressStatus:t}){const o={[l]:"statusDone",[u]:"statusError",[c]:"statusNotStarted",[d]:"statusCanceled"};return e===p&&t?t:e===p&&-1!==s?(0,n.jsx)(r.Translate,{content:"percentCompleted",params:{percent:s}}):o[e]?(0,n.jsx)(r.Translate,{content:o[e]}):null}render(){const{title:e,steps:s,isOpen:t,onComplete:o,onHide:a,...l}=this.props;return(0,n.jsx)(r.ProgressDialog,{title:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e}}),actions:a?(0,n.jsx)(r.Button,{"aria-label":i.Locale.getSection("components.tasks.common").lmsg("minimize"),ghost:!0,size:"lg",icon:"minimize",onClick:a}):null,cancelTitle:(0,n.jsx)(r.Translate,{content:"close","data-type":"close-button"}),isOpen:t,onFinish:o,onClose:a,"data-type":"progress-dialog",...l,children:s.map(({title:e,icon:s,status:t,progress:o,progressStatus:a,errors:i=[],output:l=[]})=>{const u=Number(o);return(0,n.jsxs)(r.ProgressStep,{title:e,icon:{src:s},status:t,statusText:this.renderStatusText({status:t,progress:u,progressStatus:a}),progress:u,children:[this.renderErrors(t,i),l.length>0&&(0,n.jsx)(r.ConsoleOutput,{children:l})]},e)})})}}g.propTypes={title:a().node.isRequired,steps:a().array.isRequired,isOpen:a().bool.isRequired,errors:a().array.isRequired,onComplete:a().func.isRequired,onHide:a().func.isRequired};const h=g}}]);
//# sourceMappingURL=progress-dialog.js.map?10eee250eb814e52f936

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/server-mail-antivirus-promo"],{3050:(e,r,l)=>{l.r(r),l.d(r,{default:()=>d});var n=l(296),s=l(602),o=l(426),i=l(1317);const a=(0,n.lazy)(()=>Promise.all([l.e("vendors"),l.e("components/common/ServerMailAntivirusPromo")]).then(l.bind(l,3135))),d=({renderTo:e,...r})=>{(0,n.render)((0,n.jsx)(s.ApolloProvider,{client:o.default,children:(0,n.jsx)(i.default,{children:(0,n.jsx)(n.Suspense,{children:(0,n.jsx)(a,{...r})})})}),document.getElementById(e))}}}]);
//# sourceMappingURL=server-mail-antivirus-promo.js.map?48ed9014af049f17429e

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/server-mail-antivirus-promo.js?48ed9014af049f17429e","mappings":"8MASA,MAAMA,GAA2BC,EAAAA,EAAAA,MAAK,IAAM,sGAE5C,IAAkBC,cAAaC,OAC3BC,EAAAA,EAAAA,SACIC,EAAAA,EAAAA,KAACC,EAAAA,eAAc,CAACC,OAAQC,EAAAA,QAAaC,UACjCJ,EAAAA,EAAAA,KAACK,EAAAA,QAAc,CAAAD,UACXJ,EAAAA,EAAAA,KAACM,EAAAA,SAAQ,CAAAF,UACLJ,EAAAA,EAAAA,KAACL,EAAwB,IAAKG,UAI3CS,SAASC,eAAeX,GAC9B,C","sources":["webpack:///./app/server-mail-antivirus-promo/index.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\n// eslint-disable-next-line react/no-deprecated\nimport { render } from 'react-dom';\nimport { lazy, Suspense } from 'react';\nimport { ApolloProvider } from '@apollo/client';\nimport apolloClient from 'apolloClient';\nimport LocaleProvider from 'components/LocaleProvider';\n\nconst ServerMailAntivirusPromo = lazy(() => import(/* webpackChunkName: \"components/common/ServerMailAntivirusPromo\" */'components/common/ServerMailAntivirusPromo'));\n\nexport default ({ renderTo, ...props }) => {\n render((\n <ApolloProvider client={apolloClient}>\n <LocaleProvider>\n <Suspense>\n <ServerMailAntivirusPromo {...props} />\n </Suspense>\n </LocaleProvider>\n </ApolloProvider>\n ), document.getElementById(renderTo));\n};\n"],"names":["ServerMailAntivirusPromo","lazy","renderTo","props","render","_jsx","ApolloProvider","client","apolloClient","children","LocaleProvider","Suspense","document","getElementById"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/service-sidebar"],{3058:(e,s,i)=>{i.r(s),i.d(s,{default:()=>p});var n=i(668),r=i.n(n),t=i(297),a=i(90),l=i(1241),c=i(296);const d=a.Locale.getTranslate("smb.controllers.service.index"),o=({version:e,resourceId:s})=>(0,c.jsxs)(l.default,{title:(0,c.jsx)(d,{content:"updateBlockTitle"}),children:[(0,c.jsx)("div",{className:"side-panel__item",children:(0,c.jsx)(d,{content:"newVersionAvailable",params:{version:e}})}),(0,c.jsx)("div",{className:"side-panel__item",children:(0,c.jsx)(t.Action,{href:`/smb/app-update/index/resourceId/${s}`,children:(0,c.jsx)(d,{content:"updateMoreInfo"})})}),(0,c.jsx)("div",{className:"side-panel__item",children:(0,c.jsx)(t.Action,{onClick:()=>Smb.Views.Apps.startUpdate(),children:(0,c.jsx)(d,{content:"updateNow"})})})]});o.propTypes={version:r().string.isRequired,resourceId:r().string.isRequired};const p=o}}]);
//# sourceMappingURL=service-sidebar.js.map?20fb20fd9844b37e002d

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/service-sidebar.js?20fb20fd9844b37e002d","mappings":"mNAOA,MAAMA,EAAYC,EAAAA,OAAOC,aAAa,iCAEhCC,EAAiBA,EAAGC,UAASC,iBAC/BC,EAAAA,EAAAA,MAACC,EAAAA,QAAS,CAACC,OAAOC,EAAAA,EAAAA,KAACT,EAAS,CAACU,QAAQ,qBAAsBC,SAAA,EACvDF,EAAAA,EAAAA,KAAA,OAAKG,UAAU,mBAAkBD,UAC7BF,EAAAA,EAAAA,KAACT,EAAS,CAACU,QAAQ,sBAAsBG,OAAQ,CAAET,gBAEvDK,EAAAA,EAAAA,KAAA,OAAKG,UAAU,mBAAkBD,UAC7BF,EAAAA,EAAAA,KAACK,EAAAA,OAAM,CAACC,KAAM,oCAAoCV,IAAaM,UAC3DF,EAAAA,EAAAA,KAACT,EAAS,CAACU,QAAQ,wBAG3BD,EAAAA,EAAAA,KAAA,OAAKG,UAAU,mBAAkBD,UAC7BF,EAAAA,EAAAA,KAACK,EAAAA,OAAM,CAACE,QAASA,IAAMC,IAAIC,MAAMC,KAAKC,cAAcT,UAChDF,EAAAA,EAAAA,KAACT,EAAS,CAACU,QAAQ,qBAMnCP,EAAekB,UAAY,CACvBjB,QAASkB,IAAAA,OAAiBC,WAC1BlB,WAAYiB,IAAAA,OAAiBC,YAGjC,S","sources":["webpack:///./components/sidebars/ServiceSidebar.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport PropTypes from 'prop-types';\nimport { Action } from '@plesk/ui-library';\nimport { Locale } from 'jsw';\nimport SidePanel from './SidePanel';\n\nconst Translate = Locale.getTranslate('smb.controllers.service.index');\n\nconst ServiceSidebar = ({ version, resourceId }) => (\n <SidePanel title={<Translate content=\"updateBlockTitle\" />}>\n <div className=\"side-panel__item\">\n <Translate content=\"newVersionAvailable\" params={{ version }} />\n </div>\n <div className=\"side-panel__item\">\n <Action href={`/smb/app-update/index/resourceId/${resourceId}`}>\n <Translate content=\"updateMoreInfo\" />\n </Action>\n </div>\n <div className=\"side-panel__item\">\n <Action onClick={() => Smb.Views.Apps.startUpdate()}>\n <Translate content=\"updateNow\" />\n </Action>\n </div>\n </SidePanel>\n);\n\nServiceSidebar.propTypes = {\n version: PropTypes.string.isRequired,\n resourceId: PropTypes.string.isRequired,\n};\n\nexport default ServiceSidebar;\n"],"names":["Translate","Locale","getTranslate","ServiceSidebar","version","resourceId","_jsxs","SidePanel","title","_jsx","content","children","className","params","Action","href","onClick","Smb","Views","Apps","startUpdate","propTypes","PropTypes","isRequired"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/show-output-popup"],{3051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var p=s(90);const o=t=>{const e=JSON.parse(t.getAttribute("data-config")),s=t.getAttribute("data-output"),o=p.Locale.getSection("components.tasks.scheduler-run-task");let a="",l="";e.result?(a="popupDone",l="hint-ok"):(a="popupError",l="hint-failed"),a=o.lmsg(a,{task:e.name,seconds:e.seconds});const n=new p.Popup({id:"scheduled-tasks-popup",title:o.lmsg("popupTitle"),closeButtonEnabled:!0,content:`<div><p><span class="${l}"><b>${a}</b></span></p></div><div class="tree-box"><p>${(0,p.escapeHtml)(s).replace(/\n/gm,"<br>")}</p></div>`,buttons:[{title:o.lmsg("popupClose"),handler(){n.hide()}}]})}}}]);
//# sourceMappingURL=show-output-popup.js.map?c508a6fd8bae43aebb0b

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/show-output-popup.js?c508a6fd8bae43aebb0b","mappings":"uKAIA,QAAeA,IACX,MAAMC,EAASC,KAAKC,MAAMH,EAAKI,aAAa,gBACtCC,EAASL,EAAKI,aAAa,eAC3BE,EAASC,EAAAA,OAAOC,WAAW,uCAEjC,IAAIC,EAAe,GACfC,EAAa,GACbT,EAAOU,QACPF,EAAe,YACfC,EAAa,YAEbD,EAAe,aACfC,EAAa,eAEjBD,EAAeH,EAAOM,KAAKH,EAAc,CACrCI,KAAMZ,EAAOa,KACbC,QAASd,EAAOc,UAGpB,MAAMC,EAAQ,IAAIC,EAAAA,MAAM,CACpBC,GAAI,wBACJC,MAAOb,EAAOM,KAAK,cACnBQ,oBAAoB,EACpBC,QACI,wBAAwBX,SAAkBD,mDAEhCa,EAAAA,EAAAA,YAAWjB,GAAQkB,QAAQ,OAAQ,oBAGjDC,QAAS,CAAC,CACNL,MAAOb,EAAOM,KAAK,cACnBa,OAAAA,GACIT,EAAMU,MACV,KAGX,C","sources":["webpack:///./app/show-output-popup.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { Popup, Locale, escapeHtml } from 'jsw';\n\nexport default link => {\n const config = JSON.parse(link.getAttribute('data-config'));\n const output = link.getAttribute('data-output');\n const locale = Locale.getSection('components.tasks.scheduler-run-task');\n\n let titleMessage = '';\n let titleClass = '';\n if (config.result) {\n titleMessage = 'popupDone';\n titleClass = 'hint-ok';\n } else {\n titleMessage = 'popupError';\n titleClass = 'hint-failed';\n }\n titleMessage = locale.lmsg(titleMessage, {\n task: config.name,\n seconds: config.seconds,\n });\n\n const popup = new Popup({\n id: 'scheduled-tasks-popup',\n title: locale.lmsg('popupTitle'),\n closeButtonEnabled: true,\n content: (\n `<div><p><span class=\"${titleClass}\"><b>${titleMessage}</b></span></p></div>` +\n '<div class=\"tree-box\">' +\n `<p>${escapeHtml(output).replace(/\\n/gm, '<br>')}</p>` +\n '</div>'\n ),\n buttons: [{\n title: locale.lmsg('popupClose'),\n handler() {\n popup.hide();\n },\n }],\n });\n};\n"],"names":["link","config","JSON","parse","getAttribute","output","locale","Locale","getSection","titleMessage","titleClass","result","lmsg","task","name","seconds","popup","Popup","id","title","closeButtonEnabled","content","escapeHtml","replace","buttons","handler","hide"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/task-progress-bar"],{3052:(e,s,r)=>{r.r(s),r.d(s,{default:()=>a});var o=r(296),n=r(297),t=r(3053);const a=({locale:e,container:s,...r})=>{(0,o.render)((0,o.jsx)(n.LocaleProvider,{messages:e,children:(0,o.jsx)(t.default,{...r})}),s)}},3053:(e,s,r)=>{r.r(s),r.d(s,{TaskProgressBarItemContent:()=>g,default:()=>m});var o=r(683),n=r.n(o),t=r(297),a=r(668),l=r.n(a),i=r(90),c=r(684),p=r(296);const u=i.Locale.getSection("components.tasks.common"),g=({title:e,progress:s,output:r,errors:o,refresh:n})=>{const a=[];return e&&(e=(0,p.jsx)("span",{dangerouslySetInnerHTML:{__html:e}},"title")),s?a.push((0,p.jsx)(t.Progress,{children:(0,p.jsx)(t.ProgressStep,{title:e,status:"running",progress:s.value,statusText:void 0!==s.value?`${s.value}%`:void 0,children:s.onClick&&(0,p.jsx)(t.Link,{onClick:s.onClick,children:(0,p.jsx)(t.Translate,{content:"progressDialogLink"})})})},"progress")):(a.push(e),r&&a.push((0,p.jsx)(t.Text,{component:"ul",intent:"muted",fontSize:"sm",className:"task-progress-bar-item__output",children:r.map((e,s)=>(0,p.jsx)("li",{children:e},s.toString()))},"output")),o&&a.push((0,p.jsx)(t.Text,{component:"ul",intent:"muted",fontSize:"sm",className:"task-progress-bar-item__output",children:o.map((e,s)=>(0,p.jsx)("li",{children:e},s.toString()))},"errors")),n&&a.push((0,p.jsx)(t.Link,{onClick:n.onClick,component:t.Text,fontSize:"sm",children:n.title||(0,p.jsx)(t.Translate,{content:"refresh"})},"refresh"))),(0,p.jsx)("div",{className:"task-progress-bar-item__content",children:a})};g.propTypes={title:l().string,progress:l().shape({value:l().number,onClick:l().func}),output:l().arrayOf(l().string),errors:l().arrayOf(l().string),refresh:l().shape({title:l().string,onClick:l().func.isRequired})};const d=({viewerId:e,items:s,isOpen:r,onGroupClose:o,...a})=>{const[l,d]=(0,c.useLocalStorage)(`task-progress-bar-collapsed-${e}`,!1),m=[];if(s.forEach(e=>{e instanceof i.Task.ProgressBar.Item&&m.push((e=>{const{key:s,intent:r,onClose:o,...t}=e.toToast();return{key:s,intent:r,onClose:o,message:(0,p.jsx)(g,{...t}),closable:!t.progress,className:n()("task-progress-bar-item",{[`task-progress-bar-item--${r}`]:r}),groupKey:t.progress?"progress":r}})(e))}),!r)return null;const b=[{groupKey:"progress",intent:"info",renderHeaderLabel:({count:e},s)=>(0,p.jsx)(t.Label,{...s,icon:(0,p.jsx)(t.Spinner,{className:"task-progress-bar__loading-spinner",colorAnimation:!1}),children:u.formatMessage("progressLabel",{count:e})})},{groupKey:"success",intent:"success",renderHeaderLabelTitle:({count:e})=>u.formatMessage("successLabel",{count:e}),renderHeaderLabelTooltip:()=>u.lmsg("successLabelTooltip"),closable:!0},{groupKey:"warning",intent:"warning",renderHeaderLabelTitle:({count:e})=>u.formatMessage("warningLabel",{count:e}),renderHeaderLabelTooltip:()=>u.lmsg("warningLabelTooltip"),closable:!0},{groupKey:"danger",intent:"danger",renderHeaderLabelTitle:({count:e})=>u.formatMessage("errorLabel",{count:e}),renderHeaderLabelTooltip:()=>u.lmsg("errorLabelTooltip"),closable:!0}];return(0,p.jsx)(t.Toaster,{id:"asyncProgressBar",view:"panel",groupConfigs:b,isPanelCollapsed:l,onPanelCollapseStateChange:d,toasts:m,onToastGroupClose:o,...a})};d.propTypes={viewerId:l().number.isRequired,items:l().array.isRequired,isOpen:l().bool.isRequired,onGroupClose:l().func.isRequired};const m=d}}]);
//# sourceMappingURL=task-progress-bar.js.map?1c4bf0393e404adf8df0

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/user/login-string"],{3054:(e,n,t)=>{t.r(n),t.d(n,{default:()=>a});const a=({activationData:e,isNew:n})=>{const t=document.getElementById("general-vcard-email-internalEmail"),a=document.getElementById("general-vcard-email-domain"),d=document.getElementById("general-vcard-email-externalEmail"),c=document.getElementById("general-account-login"),l=document.getElementById("general-account-isActivationRequired");let i,r,g=!1;const s=()=>{g=!0},u=e=>{i||(i=e.target)},o=e=>{g||e.target!==i||(c.value=(()=>{let e="";if(i===t){if(!t.value)return e;e=`${t.value}@${r}`}else i===d&&(e=d.value);return e})())},m=()=>{v(""===d.value)},v=e=>{e&&(l.checked=!e),l.disabled=e},E=()=>{r=a.options[a.selectedIndex].text,i===t&&t.dispatchEvent(new Event("change"))};n&&c&&c instanceof HTMLInputElement&&(t&&(a?(a.addEventListener("change",E),E()):r=document.getElementById("general-vcard-email-internalEmail-domain").innerHTML,t.addEventListener("keyup",u),["change","keyup"].forEach(e=>t.addEventListener(e,o))),d&&(d.addEventListener("keyup",u),["change","keyup"].forEach(e=>d.addEventListener(e,o))),c.addEventListener("change",s)),(e=>{if(!l)return;d&&(d.addEventListener("change",m),m());const n=document.getElementById("general-vcard-roleId"),t=document.getElementById("general-account-isActive"),a=()=>{l.checked&&(t.checked=!1)},c=()=>{t.checked&&(l.checked=!1)},i=()=>{e[n.value]?(t.checked=!1,l.checked=!0):l.checked=!1};n&&(n.addEventListener("change",i),i()),t&&(l.addEventListener("change",a),t.addEventListener("change",c),a(),c())})(e)}}}]);
//# sourceMappingURL=login-string.js.map?55899dff5f30685f8afc

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/web-app-firewall/submit-handler"],{3064:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(90);const s=o.Locale.getSection("components.forms.web-app-firewall"),l=o.Locale.getSection("components.buttons"),c=({currentWebServer:e,currentRuleSet:t,isCustomized:n,needPresetWarning:c})=>{const r=[];let i=!1;const u=document.getElementById("ruleSets-webServer")?.value;"nginx"===u&&e!==u&&n&&(r.push(s.lmsg("nginxIsIncompatible")),i=!0);const d=document.getElementById("ruleSets-ruleSet-crs")?.checked;d&&"crs"!==t&&r.push(s.lmsg("ruleSetCrsConfirmDescription"));const g=document.getElementById("ruleEngine-On"),m=document.getElementById("ruleEngine-DetectionOnly"),a=document.getElementById("config-configPreset-tradeoff"),p=document.getElementById("config-configPreset-thorough");if(!c||m&&!m.checked&&!g.checked||p&&!p.checked&&!a.checked||r.push(s.lmsg("tradeoffAndThoroughModeWarning")),!r.length)return!0;let h=r[0],b="p",f=e=>e;return r.length>1&&(h=r.map(e=>`<li>${e}</li>`).join(""),b="ul"),i&&(f=e=>`${e}<div class="indent-box"><input type="checkbox" class="checkbox" id="resetBox" value="true"><div class="indent-box-content"><label for="resetBox">${s.lmsg("nginxResetCustomizations")}</label></div></div>`),new Promise(e=>{o.messageBox.show({type:o.messageBox.TYPE_YESNO,subtype:o.messageBox.SUBTYPE_CONFIRM,text:s.lmsg("ruleSetCrsConfirmTitle"),description:h,descriptionWrapperTag:b,descriptionDecorator:f,onYesClick:()=>{document.getElementById("resetBox")?.checked&&(document.getElementById("ruleSets-resetCustomizations").value="true"),e(!0)},onNoClick:()=>{e(!1)},buttonTitles:{yes:l.lmsg("yes"),no:l.lmsg("no")}})})}}}]);
//# sourceMappingURL=submit-handler.js.map?de5ad7af737ca8dd266f

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/web-app-firewall/submit-handler.js?de5ad7af737ca8dd266f","mappings":"qLAIA,MAAMA,EAASC,EAAAA,OAAOC,WAAW,qCAC3BC,EAAgBF,EAAAA,OAAOC,WAAW,sBAExC,IAAkBE,mBAAkBC,iBAAgBC,eAAcC,wBAC9D,MAAMC,EAAW,GACjB,IAAIC,GAAe,EAEnB,MAAMC,EAAYC,SAASC,eAAe,uBAAuBC,MAC7D,UAAYH,GAAaN,IAAqBM,GAAaJ,IAC3DE,EAASM,KAAKd,EAAOe,KAAK,wBAC1BN,GAAe,GAGnB,MAAMO,EAAoBL,SAASC,eAAe,yBAAyBK,QACvED,GAAwC,QAAnBX,GACrBG,EAASM,KAAKd,EAAOe,KAAK,iCAG9B,MAAMG,EAAUP,SAASC,eAAe,iBAClCO,EAAgBR,SAASC,eAAe,4BACxCQ,EAAeT,SAASC,eAAe,gCACvCS,EAAeV,SAASC,eAAe,gCAQ7C,IAPIL,GACKY,IAAiBA,EAAcF,UAAWC,EAAQD,SAClDI,IAAgBA,EAAaJ,UAAWG,EAAaH,SAE1DT,EAASM,KAAKd,EAAOe,KAAK,oCAGzBP,EAASc,OACV,OAAO,EAGX,IAAIC,EAAcf,EAAS,GACvBgB,EAAwB,IACxBC,EAAuBC,GAAWA,EAgBtC,OAfIlB,EAASc,OAAS,IAClBC,EAAcf,EAASmB,IAAIJ,GAAe,OAAOA,UAAoBK,KAAK,IAC1EJ,EAAwB,MAExBf,IACAgB,EAAuBC,GAAW,GAAGA,qJAIA1B,EAAOe,KAAK,mDAM9C,IAAIc,QAAQC,IACfC,EAAAA,WAAWC,KAAK,CACZC,KAAMF,EAAAA,WAAWG,WACjBC,QAASJ,EAAAA,WAAWK,gBACpBC,KAAMrC,EAAOe,KAAK,0BAClBQ,cACAC,wBACAC,uBACAa,WAAYA,KACJ3B,SAASC,eAAe,aAAaK,UACrCN,SAASC,eAAe,gCAAgCC,MAAQ,QAEpEiB,GAAQ,IAEZS,UAAWA,KACPT,GAAQ,IAEZU,aAAc,CACVC,IAAKtC,EAAcY,KAAK,OACxB2B,GAAIvC,EAAcY,KAAK,UAItC,C","sources":["webpack:///./app/web-app-firewall/submit-handler.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { Locale, messageBox } from 'jsw';\n\nconst locale = Locale.getSection('components.forms.web-app-firewall');\nconst buttonsLocale = Locale.getSection('components.buttons');\n\nexport default ({ currentWebServer, currentRuleSet, isCustomized, needPresetWarning }) => {\n const messages = [];\n let showResetBox = false;\n\n const webServer = document.getElementById('ruleSets-webServer')?.value;\n if ('nginx' === webServer && currentWebServer !== webServer && isCustomized) {\n messages.push(locale.lmsg('nginxIsIncompatible'));\n showResetBox = true;\n }\n\n const crsRuleSetChecked = document.getElementById('ruleSets-ruleSet-crs')?.checked;\n if (crsRuleSetChecked && currentRuleSet !== 'crs') {\n messages.push(locale.lmsg('ruleSetCrsConfirmDescription'));\n }\n\n const enabled = document.getElementById('ruleEngine-On');\n const detectionOnly = document.getElementById('ruleEngine-DetectionOnly');\n const tradeoffMode = document.getElementById('config-configPreset-tradeoff');\n const thoroughMode = document.getElementById('config-configPreset-thorough');\n if (needPresetWarning\n && (!detectionOnly || detectionOnly.checked || enabled.checked)\n && (!thoroughMode || thoroughMode.checked || tradeoffMode.checked)\n ) {\n messages.push(locale.lmsg('tradeoffAndThoroughModeWarning'));\n }\n\n if (!messages.length) {\n return true;\n }\n\n let description = messages[0];\n let descriptionWrapperTag = 'p';\n let descriptionDecorator = content => content;\n if (messages.length > 1) {\n description = messages.map(description => `<li>${description}</li>`).join('');\n descriptionWrapperTag = 'ul';\n }\n if (showResetBox) {\n descriptionDecorator = content => `${content}${(\n '<div class=\"indent-box\">' +\n '<input type=\"checkbox\" class=\"checkbox\" id=\"resetBox\" value=\"true\">' +\n '<div class=\"indent-box-content\">' +\n `<label for=\"resetBox\">${locale.lmsg('nginxResetCustomizations')}</label>` +\n '</div>' +\n '</div>'\n )}`;\n }\n\n return new Promise(resolve => {\n messageBox.show({\n type: messageBox.TYPE_YESNO,\n subtype: messageBox.SUBTYPE_CONFIRM,\n text: locale.lmsg('ruleSetCrsConfirmTitle'),\n description,\n descriptionWrapperTag,\n descriptionDecorator,\n onYesClick: () => {\n if (document.getElementById('resetBox')?.checked) {\n document.getElementById('ruleSets-resetCustomizations').value = 'true';\n }\n resolve(true);\n },\n onNoClick: () => {\n resolve(false);\n },\n buttonTitles: {\n yes: buttonsLocale.lmsg('yes'),\n no: buttonsLocale.lmsg('no'),\n },\n });\n });\n};\n"],"names":["locale","Locale","getSection","buttonsLocale","currentWebServer","currentRuleSet","isCustomized","needPresetWarning","messages","showResetBox","webServer","document","getElementById","value","push","lmsg","crsRuleSetChecked","checked","enabled","detectionOnly","tradeoffMode","thoroughMode","length","description","descriptionWrapperTag","descriptionDecorator","content","map","join","Promise","resolve","messageBox","show","type","TYPE_YESNO","subtype","SUBTYPE_CONFIRM","text","onYesClick","onNoClick","buttonTitles","yes","no"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More