(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/file-manager/file-name-popup-form"],{1088:(e,t,n)=>{"use strict";n.r(t);var o=n(144);class i extends o.PopupForm{_initConfiguration(e){super._initConfiguration({locale:o.Locale.getSection("smb.components.forms.file-manager.show"),...e}),this._handler=this._getConfigParam("handler",null)}render(){super.render(),this.setBoxType("form-box"),this.setTitle(this.lmsg("popupTitle")),document.getElementById(this._contentAreaId).innerHTML="".concat(this.lmsg("popupFilename"),' <input type="text" id="saveAsFileNamePopup" autofocus />'),this.addOkButton(),this.addCancelButton()}addOkButton(){this.addRightButton(o.Locale.getSection("components.buttons").lmsg("ok"),this.onOkClick,!0,!0)}addCancelButton(){this.addRightButton(o.Locale.getSection("components.buttons").lmsg("cancel"),this.onCancelClick,!1,!1)}onOkClick(){this._handler(document.getElementById("saveAsFileNamePopup").value),this.hide()}onCancelClick(){this.hide()}}t.default=i}}]);
//# sourceMappingURL=file-name-popup-form.js.map?b6d2b6ec574581ec3138