403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/main/wwallpopup/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/main/wwallpopup/dist/wwallpopup.bundle.js.map
{"version":3,"file":"wwallpopup.bundle.js","sources":["../src/wwallpopup.js"],"sourcesContent":["import { Cache, Loc, Tag, Type } from 'main.core';\nimport { Popup } from 'main.popup';\nimport { Button } from 'ui.buttons';\n\nexport class WwallPopup\n{\n\tconstructor(options)\n\t{\n\t\tthis.colorTheme = options.colorTheme || 'danger';\n\t\tthis.title = options.title || null;\n\t\tthis.subtitle = options.subtitle || null;\n\t\tthis.text = options.text || null;\n\t\tthis.isToolTipShow = Type.isBoolean(options.isToolTipShow) ? options.isToolTipShow : false;\n\t\tthis.closeIcon = Type.isBoolean(options.closeIcon) ? options.closeIcon : true;\n\t\tthis.isSuccess = Type.isBoolean(options.isSuccess) ? options.isSuccess : false;\n\t\tthis.cache = new Cache.MemoryCache();\n\t\tthis.buttons = options.buttons || null;\n\t}\n\n\tgetTitleWrapper(): HTMLElement\n\t{\n\t\treturn this.cache.remember('titleBox', () => {\n\t\t\treturn Tag.render`\n\t\t\t\t<div class='adm-security-popup_title-box'>\n\t\t\t\t\t${this.getTitle()}\n\t\t\t\t</div>\n\t\t\t`;\n\t\t});\n\t}\n\n\tgetTitle()\n\t{\n\t\tconst title = this.title || Loc.getMessage('SEC_WWALL_POPUP_TITLE');\n\t\tconst toolTip = this.isToolTipShow ? this.getTooltip() : '';\n\n\t\treturn Tag.render`\n\t\t\t<div class='adm-security-popup_title'>\n\t\t\t\t${title}\n\t\t\t</div>\n\t\t\t${toolTip}\n\t\t`;\n\t}\n\n\tgetTooltip()\n\t{\n\t\treturn Tag.render`\n\t\t\t<a class='tooltip adm-security-popup_tooltip adm-security-info_link' href='https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=35&LESSON_ID=27172' target='_blank'>\n\t\t\t\t${Loc.getMessage('SEC_WWALL_POPUP_TITLE_ABOUT')}\n\t\t\t</a>\n\t\t`;\n\t}\n\n\tgetContent(): HTMLElement\n\t{\n\t\treturn this.cache.remember('popupContentWarningWrap', () => {\n\t\t\treturn Tag.render`\n\t\t\t\t<div class='adm-security-popup_wrap --${this.colorTheme}'>\n\t\t\t\t\t${this.getTitleWrapper()}\n\t\t\t\t\t<div class='adm-security-popup_content'>\n\t\t\t\t\t\t<div class=\"adm-security-popup_icon\"></div>\n\t\t\t\t\t\t<div class=\"adm-security-popup_inner\">\n\t\t\t\t\t\t\t<div class=\"adm-security-popup_inner-title\">\n\t\t\t\t\t\t\t\t${this.subtitle || this.getSubtitle()} \n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"adm-security-popup_info\">\n\t\t\t\t\t\t\t\t${this.text || this.getPopupInfo()}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t`;\n\t\t});\n\t}\n\n\tgetSubtitle(): ?string\n\t{\n\t\treturn this.isSuccess ? Loc.getMessage('SEC_WWALL_POPUP_ATTACK_TITLE')\n\t\t\t: (this.isPortal ? Loc.getMessage('SEC_WWALL_POPUP_WARNING_TITLE_CP') : Loc.getMessage('SEC_WWALL_POPUP_WARNING_TITLE'));\n\t}\n\n\tgetPopupInfo(): ?string\n\t{\n\t\treturn this.isSuccess ? Loc.getMessage('SEC_WWALL_POPUP_ATTACK_CONTENT')\n\t\t\t: (this.isPortal ? Loc.getMessage('SEC_WWALL_POPUP_WARNING_CONTENT_CP') : Loc.getMessage('SEC_WWALL_POPUP_WARNING_CONTENT'));\n\t}\n\n\tsetButtons()\n\t{\n\t\tif (this.buttons)\n\t\t{\n\t\t\treturn this.createCustomButtons();\n\t\t}\n\n\t\treturn this.createDefaultButtons();\n\t}\n\n\tcreateDefaultButtons(): [Button, Button]\n\t{\n\t\treturn [\n\t\t\tnew Button({\n\t\t\t\ttext: this.isSuccess ? Loc.getMessage('SEC_WWALL_POPUP_ACTION_OPEN') : Loc.getMessage('SEC_WWALL_POPUP_ACTION_UPDATE'),\n\t\t\t\tclassName: this.isSuccess ? 'adm-security-popup-btn-accept' : 'adm-security-popup-btn-refresh',\n\t\t\t\tevents: {\n\t\t\t\t\tclick: () => {\n\t\t\t\t\t\tdocument.location.href = '/bitrix/admin/update_system.php';\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t\tnew Button({\n\t\t\t\ttext: this.isSuccess ? Loc.getMessage('SEC_WWALL_POPUP_ACTION_CONTINUE') : Loc.getMessage('SEC_WWALL_POPUP_ACTION_IGNORE'),\n\t\t\t\tclassName: 'adm-security-popup-btn-close',\n\t\t\t\tevents: {\n\t\t\t\t\tclick: () => {\n\t\t\t\t\t\tthis.close();\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t];\n\t}\n\n\tcreateCustomButtons()\n\t{\n\t\tconst buttons = [];\n\t\tif (this.buttons.primary)\n\t\t{\n\t\t\tbuttons.push(\n\t\t\t\tnew Button({\n\t\t\t\t\ttext: this.buttons.primary.text,\n\t\t\t\t\tclassName: this.setButtonStyle(this.buttons.primary.type),\n\t\t\t\t\tevents: {\n\t\t\t\t\t\tclick: () => {\n\t\t\t\t\t\t\tif (this.buttons.primary.onclick)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.buttons.primary.onclick();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\n\t\tif (this.buttons.secondary)\n\t\t{\n\t\t\tbuttons.push(\n\t\t\t\tnew Button({\n\t\t\t\t\ttext: this.buttons.secondary.text,\n\t\t\t\t\tclassName: this.setButtonStyle(this.buttons.secondary.type),\n\t\t\t\t\tevents: {\n\t\t\t\t\t\tclick: () => {\n\t\t\t\t\t\t\tif (this.buttons.secondary.onclick)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.buttons.secondary.onclick();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\n\t\treturn buttons;\n\t}\n\n\tsetButtonStyle(type): string\n\t{\n\t\tswitch (type)\n\t\t{\n\t\t\tcase 'accept':\n\t\t\t\treturn 'adm-security-popup-btn-accept';\n\t\t\tcase 'refresh':\n\t\t\t\treturn 'adm-security-popup-btn-refresh';\n\t\t\tcase 'close':\n\t\t\tdefault:\n\t\t\t\treturn 'adm-security-popup-btn-close';\n\t\t}\n\t}\n\n\tshow()\n\t{\n\t\tthis.popup = new Popup({\n\t\t\tclassName: 'adm-security-popup',\n\t\t\tcloseIcon: this.closeIcon,\n\t\t\tcontentBackground: 'transparent',\n\t\t\toverlay: true,\n\t\t\tminWidth: 500,\n\t\t\tcontent: this.getContent(),\n\t\t\tbuttons: this.setButtons(),\n\t\t\tevents: {\n\t\t\t\tonPopupClose() {\n\t\t\t\t\tthis.destroy();\n\t\t\t\t},\n\t\t\t\tonPopupDestroy() {\n\t\t\t\t\tthis.popup = null;\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tthis.popup.show();\n\t}\n\n\tclose()\n\t{\n\t\tthis.popup.close();\n\t}\n}\n"],"names":["WwallPopup","constructor","options","colorTheme","title","subtitle","text","isToolTipShow","Type","isBoolean","closeIcon","isSuccess","cache","Cache","MemoryCache","buttons","getTitleWrapper","remember","Tag","render","getTitle","Loc","getMessage","toolTip","getTooltip","getContent","getSubtitle","getPopupInfo","isPortal","setButtons","createCustomButtons","createDefaultButtons","Button","className","events","click","document","location","href","close","primary","push","setButtonStyle","type","onclick","secondary","show","popup","Popup","contentBackground","overlay","minWidth","content","onPopupClose","destroy","onPopupDestroy"],"mappings":";;;;;;;;;;AAAA,CAIO,MAAMA,UAAU,CACvB;GACCC,WAAW,CAACC,OAAO,EACnB;KACC,IAAI,CAACC,UAAU,GAAGD,OAAO,CAACC,UAAU,IAAI,QAAQ;KAChD,IAAI,CAACC,KAAK,GAAGF,OAAO,CAACE,KAAK,IAAI,IAAI;KAClC,IAAI,CAACC,QAAQ,GAAGH,OAAO,CAACG,QAAQ,IAAI,IAAI;KACxC,IAAI,CAACC,IAAI,GAAGJ,OAAO,CAACI,IAAI,IAAI,IAAI;KAChC,IAAI,CAACC,aAAa,GAAGC,cAAI,CAACC,SAAS,CAACP,OAAO,CAACK,aAAa,CAAC,GAAGL,OAAO,CAACK,aAAa,GAAG,KAAK;KAC1F,IAAI,CAACG,SAAS,GAAGF,cAAI,CAACC,SAAS,CAACP,OAAO,CAACQ,SAAS,CAAC,GAAGR,OAAO,CAACQ,SAAS,GAAG,IAAI;KAC7E,IAAI,CAACC,SAAS,GAAGH,cAAI,CAACC,SAAS,CAACP,OAAO,CAACS,SAAS,CAAC,GAAGT,OAAO,CAACS,SAAS,GAAG,KAAK;KAC9E,IAAI,CAACC,KAAK,GAAG,IAAIC,eAAK,CAACC,WAAW,EAAE;KACpC,IAAI,CAACC,OAAO,GAAGb,OAAO,CAACa,OAAO,IAAI,IAAI;;GAGvCC,eAAe,GACf;KACC,OAAO,IAAI,CAACJ,KAAK,CAACK,QAAQ,CAAC,UAAU,EAAE,MAAM;OAC5C,OAAOC,aAAG,CAACC,MAAM,cAAC;;OAEhB,CAAkB;;IAEpB,GAFI,IAAI,CAACC,QAAQ,EAAE;MAGnB,CAAC;;GAGHA,QAAQ,GACR;KACC,MAAMhB,KAAK,GAAG,IAAI,CAACA,KAAK,IAAIiB,aAAG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