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/cvetdv.ru/bitrix/js/landing/ui/card/headercard/dist/ |
Upload File : |
this.BX=this.BX||{};this.BX.Landing=this.BX.Landing||{};this.BX.Landing.UI=this.BX.Landing.UI||{};(function(t,e,a){"use strict";var i;var n=function(t){babelHelpers.inherits(e,t);function e(t){var i;babelHelpers.classCallCheck(this,e);i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(e).call(this,t));a.Dom.addClass(i.getLayout(),"landing-ui-card-headercard");if(t.bottomMargin===false){i.setBottomMargin(t.bottomMargin)}if(a.Type.isNumber(t.level)){a.Dom.addClass(i.getLayout(),"landing-ui-card-headercard-".concat(t.level))}if(a.Type.isStringFilled(t.description)){i.setDescription(t.description)}return i}babelHelpers.createClass(e,[{key:"getDescriptionLayout",value:function t(){return this.cache.remember("descriptionLayout",function(){return a.Tag.render(i||(i=babelHelpers.taggedTemplateLiteral(['\n\t\t\t\t<span class="landing-ui-card-headercard-description"></span>\n\t\t\t'])))})}},{key:"setDescription",value:function t(e){var i=this.getDescriptionLayout();if(!this.body.contains(i)){a.Dom.append(i,this.body)}i.textContent=e}},{key:"setBottomMargin",value:function t(e){if(e===true){a.Dom.removeClass(this.getLayout(),"landing-ui-card-headercard-without-bottom-margin")}else{a.Dom.addClass(this.getLayout(),"landing-ui-card-headercard-without-bottom-margin")}}}]);return e}(e.BaseCard);t.HeaderCard=n})(this.BX.Landing.UI.Card=this.BX.Landing.UI.Card||{},BX.Landing.UI.Card,BX); //# sourceMappingURL=headercard.bundle.map.js