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/landing/ui/field/ |
Upload File : |
(function(){"use strict";BX.namespace("BX.Landing.UI.Field");BX.Landing.UI.Field.Pages=function(e){BX.Landing.UI.Field.BaseField.apply(this,arguments);BX.remove(this.input);this.layout.classList.add("landing-ui-field-pages");this.rangeField=this.createRangeField(Number(e.value));this.gridLeft=this.createGridLeft();this.gridRight=this.createGridRight();this.grid=this.createGrid([this.gridLeft,this.gridRight]);this.layout.appendChild(this.grid);this.gridLeft.appendChild(this.rangeField.layout)};BX.Landing.UI.Field.Pages.prototype={constructor:BX.Landing.UI.Field.Pages,__proto__:BX.Landing.UI.Field.BaseField.prototype,createRangeField:function(e){var i=new BX.Landing.UI.Field.Range({items:Array.from({length:100},function(e,i){return{name:i,value:i}}),content:BX.type.isNumber(e)?e:undefined});BX.remove(i.header);return i},createGridLeft:function(){return BX.create("div",{props:{className:"landing-ui-field-pages-grid-left"}})},createGridRight:function(){return BX.create("div",{props:{className:"landing-ui-field-pages-grid-right"}})},createGrid:function(e){return BX.create("div",{props:{className:"landing-ui-field-pages-grid"},children:e})},createButtonField:function(){return new BX.Landing.UI.Button.BaseButton({text:BX.Landing.Loc.getMessage("LANDING_CARDS__ADD_NEW_PAGE_BUTTON"),className:["landing-ui-button-select-link","landing-ui-field-pages-add-button"]})},getValue:function(){return this.rangeField.getValue()}}})(); //# sourceMappingURL=pages_field.map.js