Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/ui/alerts/dist/ |
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/ui/alerts/dist/alert.bundle.js.map |
{"version":3,"file":"alert.bundle.js","sources":["../src/alert-color.js","../src/alert-size.js","../src/alert-icon.js","../src/alert.js"],"sourcesContent":["/**\n * @namespace {BX.UI}\n */\nexport default class AlertColor\n{\n\tstatic DEFAULT = 'ui-alert-default';\n\tstatic DANGER = 'ui-alert-danger';\n\tstatic SUCCESS = 'ui-alert-success';\n\tstatic WARNING = 'ui-alert-warning';\n\tstatic PRIMARY = 'ui-alert-primary';\n\tstatic INFO = 'ui-alert-info';\n}","/**\n * @namespace {BX.UI}\n */\nexport default class AlertSize\n{\n\tstatic MD = 'ui-alert-md';\n\tstatic XS = 'ui-alert-xs';\n}","/**\n * @namespace {BX.UI}\n */\nexport default class AlertIcon\n{\n\tstatic NONE = '';\n\tstatic INFO = 'ui-alert-icon-info';\n\tstatic WARNING = 'ui-alert-icon-warning';\n\tstatic DANGER = 'ui-alert-icon-danger';\n\tstatic FORBIDDEN = 'ui-alert-icon-forbidden';\n}","// @flow\n\nimport {Dom, Tag, Type} from 'main.core';\nimport AlertColor from './alert-color';\nimport AlertSize from './alert-size';\nimport AlertIcon from './alert-icon';\n\nimport 'ui.design-tokens';\n\ntype AlertOptions = {\n\ttext: string;\n\tcolor: AlertColor;\n\tsize: AlertSize;\n\ticon: AlertIcon;\n\tcustomClass: string;\n\tcloseBtn: boolean;\n\tanimated: boolean;\n\tbeforeMessageHtml: HTMLElement;\n\tafterMessageHtml: HTMLElement;\n};\n\nexport default class Alert {\n\n\tstatic Color = AlertColor;\n\tstatic Size = AlertSize;\n\tstatic Icon = AlertIcon;\n\n\ttext: string;\n\tcolor: string;\n\tsize: string;\n\ticon: string;\n\tcloseBtn: boolean;\n\tanimated: boolean;\n\tcustomClass: string;\n\tbeforeMessageHtml: HTMLElement;\n\tafterMessageHtml: HTMLElement;\n\n\tconstructor(options: AlertOptions)\n\t{\n\t\tthis.text = options.text;\n\t\tthis.color = options.color;\n\t\tthis.size = options.size;\n\t\tthis.icon = options.icon;\n\t\tthis.closeBtn = !!options.closeBtn ? true : options.closeBtn;\n\t\tthis.animated = !!options.animated ? true : options.animated;\n\t\tthis.customClass = options.customClass;\n\t\tthis.beforeMessageHtml = Type.isElementNode(options.beforeMessageHtml) ? options.beforeMessageHtml : false ;\n\t\tthis.afterMessageHtml = Type.isElementNode(options.afterMessageHtml) ? options.afterMessageHtml : false ;\n\n\t\tthis.setText(this.text);\n\t\tthis.setSize(this.size);\n\t\tthis.setIcon(this.icon);\n\t\tthis.setColor(this.color);\n\t\tthis.setCloseBtn(this.closeBtn);\n\t\tthis.setCustomClass(this.customClass);\n\t}\n\n\t//region COLOR\n\tsetColor(color: string)\n\t{\n\t\tthis.color = color;\n\t\tthis.setClassList();\n\t}\n\n\tgetColor()\n\t{\n\t\treturn this.color;\n\t}\n\n\t// endregion\n\n\t//region SIZE\n\tsetSize(size: string)\n\t{\n\t\tthis.size = size;\n\t\tthis.setClassList();\n\t}\n\n\tgetSize()\n\t{\n\t\treturn this.size;\n\t}\n\n\t// endregion\n\n\t//region ICON\n\tsetIcon(icon: string)\n\t{\n\t\tthis.icon = icon;\n\t\tthis.setClassList();\n\t}\n\n\tgetIcon()\n\t{\n\t\treturn this.icon;\n\t}\n\n\t// endregion\n\n\t//region TEXT\n\tsetText(text: string): this\n\t{\n\t\tif (Type.isStringFilled(text))\n\t\t{\n\t\t\tthis.text = text;\n\t\t\tthis.getTextContainer().innerHTML = text;\n\t\t}\n\t}\n\n\tgetText()\n\t{\n\t\treturn this.text;\n\t}\n\n\tgetTextContainer()\n\t{\n\t\tif (!this.textContainer)\n\t\t{\n\t\t\tthis.textContainer = Dom.create('span', {\n\t\t\t\tprops: {\n\t\t\t\t\tclassName: 'ui-alert-message'\n\t\t\t\t},\n\t\t\t\thtml: this.text\n\t\t\t});\n\t\t}\n\n\t\treturn this.textContainer;\n\t}\n\n\t// endregion\n\n\t// region CLOSE BTN\n\tsetCloseBtn(closeBtn: boolean)\n\t{\n\t\tthis.closeBtn = closeBtn;\n\t}\n\n\tgetCloseBtn()\n\t{\n\t\tif (this.closeBtn != true)\n\t\t{\n\t\t\treturn\n\t\t}\n\n\t\tif ((!this.closeNode) && (this.closeBtn === true))\n\t\t{\n\t\t\tthis.closeNode = Dom.create(\"span\", {\n\t\t\t\tprops: {className: \"ui-alert-close-btn\"},\n\t\t\t\tevents: {\n\t\t\t\t\tclick: this.handleCloseBtnClick.bind(this)\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\n\t\treturn this.closeNode;\n\t}\n\n\thandleCloseBtnClick()\n\t{\n\t\tif (this.animated === true)\n\t\t{\n\t\t\tthis.animateClosing();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tDom.remove(this.container);\n\t\t}\n\t}\n\n\t// endregion\n\n\t// region Custom HTML\n\tsetBeforeMessageHtml(element: HTMLElement)\n\t{\n\t\tif (Type.isElementNode(element) && element !== false)\n\t\t{\n\t\t\tthis.beforeMessageHtml = element;\n\t\t}\n\t}\n\n\tgetBeforeMessageHtml(): HTMLElement\n\t{\n\t\treturn this.beforeMessageHtml;\n\t}\n\n\tsetAfterMessageHtml(element: HTMLElement)\n\t{\n\t\tif (Type.isElementNode(element) && element !== false)\n\t\t{\n\t\t\tthis.afterMessageHtml = element;\n\t\t}\n\t}\n\n\tgetAfterMessageHtml(): HTMLElement\n\t{\n\t\treturn this.afterMessageHtml;\n\t}\n\n\t//endregion\n\n\t//region CUSTOM CLASS\n\tsetCustomClass(customClass: string)\n\t{\n\t\tthis.customClass = customClass;\n\t\tthis.updateClassList();\n\t}\n\n\tgetCustomClass()\n\t{\n\t\treturn this.customClass;\n\t}\n\n\t// endregion\n\n\t//region CLASS LIST\n\tsetClassList()\n\t{\n\t\tthis.classList = \"ui-alert\";\n\n\t\tif (typeof this.getColor() != \"undefined\")\n\t\t{\n\t\t\tthis.classList = this.classList + \" \" + this.color;\n\t\t}\n\n\t\tif (typeof this.getSize() != \"undefined\")\n\t\t{\n\t\t\tthis.classList = this.classList + \" \" + this.size;\n\t\t}\n\n\t\tif (typeof this.getIcon() != \"undefined\")\n\t\t{\n\t\t\tthis.classList = this.classList + \" \" + this.icon;\n\t\t}\n\n\t\tif (typeof this.getCustomClass() != \"undefined\")\n\t\t{\n\t\t\tthis.classList = this.classList + \" \" + this.customClass;\n\t\t}\n\n\t\tthis.updateClassList();\n\t}\n\n\tgetClassList()\n\t{\n\t\treturn this.classList;\n\t}\n\n\tupdateClassList()\n\t{\n\t\tif (!this.container)\n\t\t{\n\t\t\tthis.getContainer()\n\t\t}\n\n\t\tthis.container.setAttribute(\"class\", this.classList);\n\t}\n\n\t// endregion\n\n\t//region ANIMATION\n\tanimateOpening()\n\t{\n\t\tthis.container.style.overflow = \"hidden\";\n\t\tthis.container.style.height = 0;\n\t\tthis.container.style.paddingTop = 0;\n\t\tthis.container.style.paddingBottom = 0;\n\t\tthis.container.style.marginBottom = 0;\n\t\tthis.container.style.opacity = 0;\n\n\t\tsetTimeout(\n\t\t\tfunction () {\n\t\t\t\tthis.container.style.height = this.container.scrollHeight + \"px\";\n\t\t\t\tthis.container.style.height = \"\";\n\t\t\t\tthis.container.style.paddingTop = \"\";\n\t\t\t\tthis.container.style.paddingBottom = \"\";\n\t\t\t\tthis.container.style.marginBottom = \"\";\n\t\t\t\tthis.container.style.opacity = \"\";\n\t\t\t}.bind(this),\n\t\t\t10\n\t\t);\n\n\t\tsetTimeout(\n\t\t\tfunction () {\n\t\t\t\tthis.container.style.height = \"\";\n\t\t\t}.bind(this),\n\t\t\t200\n\t\t);\n\t}\n\n\tanimateClosing()\n\t{\n\t\tthis.container.style.overflow = \"hidden\";\n\n\t\tvar alertWrapPos = Dom.getPosition(this.container);\n\t\tthis.container.style.height = alertWrapPos.height + \"px\";\n\n\t\tsetTimeout(\n\t\t\tfunction () {\n\t\t\t\tthis.container.style.height = 0;\n\t\t\t\tthis.container.style.paddingTop = 0;\n\t\t\t\tthis.container.style.paddingBottom = 0;\n\t\t\t\tthis.container.style.marginBottom = 0;\n\t\t\t\tthis.container.style.opacity = 0;\n\t\t\t}.bind(this),\n\t\t\t10\n\t\t);\n\n\t\tsetTimeout(\n\t\t\tfunction () {\n\t\t\t\tDom.remove(this.container);\n\t\t\t}.bind(this),\n\t\t\t260\n\t\t);\n\t}\n\n\t//endregion\n\n\tshow()\n\t{\n\t\tthis.animateOpening()\n\t}\n\n\thide()\n\t{\n\t\tthis.animateClosing()\n\t}\n\n\tgetContainer()\n\t{\n\t\tthis.container = Tag.render`<div class=\"${this.getClassList()}\">${this.getTextContainer()}</div>`;\n\n\t\tif (this.animated === true)\n\t\t{\n\t\t\tthis.animateOpening();\n\t\t}\n\n\t\tif (this.closeBtn === true)\n\t\t{\n\t\t\tDom.append(this.getCloseBtn(), this.container);\n\t\t}\n\n\t\tif (Type.isElementNode(this.beforeMessageHtml))\n\t\t{\n\t\t\tDom.prepend(this.getBeforeMessageHtml(), this.getTextContainer());\n\t\t}\n\n\t\tif (Type.isElementNode(this.afterMessageHtml))\n\t\t{\n\t\t\tDom.append(this.getAfterMessageHtml(), this.getTextContainer());\n\t\t}\n\n\t\treturn this.container;\n\t}\n\n\trender(): HTMLElement\n\t{\n\t\treturn this.getContainer();\n\t}\n\n\trenderTo(node: HTMLElement): HTMLElement | null\n\t{\n\t\tif (Type.isDomNode(node))\n\t\t{\n\t\t\treturn node.appendChild(this.getContainer());\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tdestroy(): void\n\t{\n\t\tDom.remove(this.container);\n\t\tthis.container = null;\n\t\tthis.finished = false;\n\t\tthis.textAfterContainer = null;\n\t\tthis.textBeforeContainer = null;\n\t\tthis.bar = null;\n\n\n\t\tfor (const property in this)\n\t\t{\n\t\t\tif (this.hasOwnProperty(property))\n\t\t\t{\n\t\t\t\tdelete this[property];\n\t\t\t}\n\t\t}\n\n\t\tObject.setPrototypeOf(this, null);\n\t}\n}"],"names":["AlertColor","DEFAULT","DANGER","SUCCESS","WARNING","PRIMARY","INFO","AlertSize","MD","XS","AlertIcon","NONE","FORBIDDEN","Alert","constructor","options","text","color","size","icon","closeBtn","animated","customClass","beforeMessageHtml","Type","isElementNode","afterMessageHtml","setText","setSize","setIcon","setColor","setCloseBtn","setCustomClass","setClassList","getColor","getSize","getIcon","isStringFilled","getTextContainer","innerHTML","getText","textContainer","Dom","create","props","className","html","getCloseBtn","closeNode","events","click","handleCloseBtnClick","bind","animateClosing","remove","container","setBeforeMessageHtml","element","getBeforeMessageHtml","setAfterMessageHtml","getAfterMessageHtml","updateClassList","getCustomClass","classList","getClassList","getContainer","setAttribute","animateOpening","style","overflow","height","paddingTop","paddingBottom","marginBottom","opacity","setTimeout","scrollHeight","alertWrapPos","getPosition","show","hide","Tag","render","append","prepend","renderTo","node","isDomNode","appendChild","destroy","finished","textAfterContainer","textBeforeContainer","bar","property","hasOwnProperty","Object","setPrototypeOf","Color","Size","Icon"],"mappings":";;;;;CAAA;CACA;CACA;AACA,CAAe,MAAMA,UAAU,CAC/B;CADqBA,UAAU,CAEvBC,OAAO,GAAG,kBAAkB;CAFfD,UAAU,CAGvBE,MAAM,GAAG,iBAAiB;CAHbF,UAAU,CAIvBG,OAAO,GAAG,kBAAkB;CAJfH,UAAU,CAKvBI,OAAO,GAAG,kBAAkB;CALfJ,UAAU,CAMvBK,OAAO,GAAG,kBAAkB;CANfL,UAAU,CAOvBM,IAAI,GAAG,eAAe;;CCV9B;CACA;CACA;AACA,CAAe,MAAMC,SAAS,CAC9B;CADqBA,SAAS,CAEtBC,EAAE,GAAG,aAAa;CAFLD,SAAS,CAGtBE,EAAE,GAAG,aAAa;;CCN1B;CACA;CACA;AACA,CAAe,MAAMC,SAAS,CAC9B;CADqBA,SAAS,CAEtBC,IAAI,GAAG,EAAE;CAFID,SAAS,CAGtBJ,IAAI,GAAG,oBAAoB;CAHdI,SAAS,CAItBN,OAAO,GAAG,uBAAuB;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