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/ui/buttons-panel/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/buttons-panel/dist/buttons-panel.bundle.js.map
{"version":3,"file":"buttons-panel.bundle.js","sources":["../src/panel.js"],"sourcesContent":["import { Dom, Tag, Type } from 'main.core';\nimport { Button, SplitButton } from 'ui.buttons';\nimport 'ui.fonts.opensans';\nimport './style.css';\n\nexport default class ButtonsPanel\n{\n\tconstructor(options)\n\t{\n\t\toptions = Type.isPlainObject(options) ? options : {};\n\t\tthis.target = Type.isDomNode(options.target) ? options.target : null;\n\t\tconst buttons = Type.isArray(options.buttons) ? options.buttons : [];\n\n\t\tthis.container = null;\n\t\tthis.buttons = [];\n\n\t\tbuttons.forEach(button => {\n\t\t\tif (button instanceof Button)\n\t\t\t{\n\t\t\t\tthis.buttons.push(button);\n\t\t\t}\n\t\t\telse if (Type.isPlainObject(button))\n\t\t\t{\n\t\t\t\tif (button.splitButton)\n\t\t\t\t{\n\t\t\t\t\tthis.buttons.push(new SplitButton(button));\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthis.buttons.push(new Button(button));\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t#getContainer()\n\t{\n\t\tif (!this.container)\n\t\t{\n\t\t\tthis.container = Tag.render`\n\t\t\t\t<div class=\"ui-button-panel__container ui-button-panel__scope\"></div>\n\t\t\t`;\n\t\t}\n\n\t\treturn this.container;\n\t}\n\n\t#getButtons()\n\t{\n\t\treturn this.buttons;\n\t}\n\n\tcollapse()\n\t{\n\t\tconst buttons = Object.values(this.#getButtons());\n\t\tfor (let i = buttons.length - 1; i >= 0; i--)\n\t\t{\n\t\t\tlet button = buttons[i];\n\t\t\tif (!button.getIcon() && !Type.isStringFilled(button.getDataSet()['buttonCollapsedIcon']))\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (button.isCollapsed())\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tbutton.setCollapsed(true);\n\n\t\t\tif (!button.getIcon())\n\t\t\t{\n\t\t\t\tbutton.setIcon(button.getDataSet()['buttonCollapsedIcon']);\n\t\t\t}\n\n\t\t\tbreak;\n\t\t}\n\t}\n\n\texpand()\n\t{\n\n\t}\n\n\t#render()\n\t{\n\t\tDom.append(this.#getContainer(), this.target);\n\n\t\tif (this.#getButtons().length > 0)\n\t\t{\n\t\t\tthis.#getButtons().forEach(button => {\n\t\t\t\tDom.append(button.getContainer(), this.#getContainer());\n\t\t\t})\n\t\t}\n\t}\n\n\tinit()\n\t{\n\t\tthis.#render();\n\t}\n}\n"],"names":["ButtonsPanel","constructor","options","Type","isPlainObject","target","isDomNode","buttons","isArray","container","forEach","button","Button","push","splitButton","SplitButton","collapse","Object","values","i","length","getIcon","isStringFilled","getDataSet","isCollapsed","setCollapsed","setIcon","expand","init","Tag","render","Dom","append","getContainer"],"mappings":";;;;;;;AAAA,CAGqB;CAAA;CAAA;AAErB,CAAe,MAAMA,YAAY,CACjC;GACCC,WAAW,CAACC,OAAO,EACnB;KAAA;OAAA;;KAAA;OAAA;;KAAA;OAAA;;KACCA,OAAO,GAAGC,cAAI,CAACC,aAAa,CAACF,OAAO,CAAC,GAAGA,OAAO,GAAG,EAAE;KACpD,IAAI,CAACG,MAAM,GAAGF,cAAI,CAACG,SAAS,CAACJ,OAAO,CAACG,MAAM,CAAC,GAAGH,OAAO,CAACG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