%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.116.65.1 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/ui/panel/ |
Upload File : |
(function(){"use strict";BX.namespace("BX.Landing.UI.Panel");BX.Landing.UI.Panel.GoogleImagesSettings=function(){BX.Landing.UI.Panel.Content.apply(this,["google_images_settings",{title:BX.Landing.Loc.getMessage("LANDING_GOOGLE_IMAGES_KEY_PANEL_TITLE"),footer:[new BX.Landing.UI.Button.BaseButton("save_block_content",{text:BX.Landing.Loc.getMessage("BLOCK_SAVE"),onClick:this.onSaveClick.bind(this),className:"landing-ui-button-content-save",attrs:{title:BX.Landing.Loc.getMessage("LANDING_TITLE_OF_SLIDER_SAVE")}}),new BX.Landing.UI.Button.BaseButton("cancel_block_content",{text:BX.Landing.Loc.getMessage("BLOCK_CANCEL"),onClick:this.onCancelClick.bind(this),className:"landing-ui-button-content-cancel",attrs:{title:BX.Landing.Loc.getMessage("LANDING_TITLE_OF_SLIDER_CANCEL")}})]}]);this.layout.style.width="496px";this.layout.style.zIndex="600";this.overlay.style.zIndex="599";this.settingsForm=new BX.Landing.UI.Form.BaseForm;this.keyField=new BX.Landing.UI.Field.Text({title:BX.Landing.Loc.getMessage("LANDING_GOOGLE_IMAGES_KEY_FIELD_TITLE"),textOnly:true,description:BX.Landing.Loc.getMessage("LANDING_GOOGLE_IMAGES_GET_KEY_GUIDE"),content:BX.Landing.Client.Google.key});this.settingsForm.addField(this.keyField);this.appendForm(this.settingsForm);document.body.appendChild(this.layout)};BX.Landing.UI.Panel.GoogleImagesSettings.getInstance=function(){return BX.Landing.UI.Panel.GoogleImagesSettings.instance||(BX.Landing.UI.Panel.GoogleImagesSettings.instance=new BX.Landing.UI.Panel.GoogleImagesSettings)};BX.Landing.UI.Panel.GoogleImagesSettings.prototype={constructor:BX.Landing.UI.Panel.GoogleImagesSettings,__proto__:BX.Landing.UI.Panel.Content.prototype,superclass:BX.Landing.UI.Panel.Content.prototype,show:function(){this.superclass.show.call(this);return new Promise(function(n){this.resolver=n}.bind(this))},onSaveClick:function(){var n=this.keyField.getValue();this.resolver(n);BX.Landing.Backend.getInstance().action("Utils::saveSettings",{settings:{google_images_key:n}});BX.Landing.Client.Google.key=n;this.hide()},onCancelClick:function(){this.hide()}}})(); //# sourceMappingURL=google_images_settings_panel.map.js