Current Path : /var/www/u0635749/data/www/hobbyclick.ru/public/www/bitrix/js/report/js/dashboard/ |
Current File : /var/www/u0635749/data/www/hobbyclick.ru/public/www/bitrix/js/report/js/dashboard/rowlayouts.map.js |
{"version":3,"sources":["rowlayouts.js"],"names":["BX","namespace","Report","Dashboard","Row","BaseLayout","options","this","cellCount","row","cells","prototype","getClassName","getRow","getWidgets","getCells","getFirstEmptyCell","id","length","Cell","isEmpty","getMiniatureContainer","miniatureContainer","create","attrs","className","events","click","handlerRowAddByMiniature","bind","i","linearCell","appendChild","getPseudoRowId","Math","floor","random","getPseudoCellId","util","getRandomString","getBoard","addRow","pseudo","maxWidgetCount","layoutMap","getLayoutMap","addRowPopup","close","elements","widgetContainerWrapperNum","element","type","removable","push","orientation","HorizontalLinear","apply","arguments","__proto__","constructor","LayoutFabric","map","layout","render","getLayout","fillCellsWithWidgets","getMapWithoutDomElements","params","nested","getMap","buildNestedCellNodeTree","destroy","remove","widgets","Utils","forEach","key","position","getWeight","getId","setWidget","isNested","cell","height","flexValue","cellRendered","rowContainer","getCellRowContainer","getCellColumnContainer","cellContainer","getCellContainer","style","flex","data-type","transformCellToContainer","parentContainer","findContainerContainsCell","cellIndexInContainerElements","findCellIndexInContainerElements","cellToTransferDomContainer","cellToTransfer","Object","assign","newCellId","oldCellIndex","array_search","splice","replaceCellLayout","replaceChild","containerMap","result","getCellById","adjustNoEmptyCellsInCellLevel","cellsContainsContainerMap","elementIndex","currentCellInMap","num","cellById","cellClientHeight","getContainer","clientHeight","widgetHeight","getWidget","getHeight","maxWidgetsByHeightCanBeHere","round","adjustCellToMaxSize","isCellsContainerHasFilledCell","clearCellsFromCollectionByContainer","oldDomElement","domElement","newDomElement","cellsContainContainerMap","number"],"mappings":"CAAC,WAEA,aACAA,GAAGC,UAAU,2BAMbD,GAAGE,OAAOC,UAAUC,IAAIC,WAAa,SAAUC,GAE9CC,KAAKC,UAAYF,EAAQE,UACzBD,KAAKE,IAAMH,EAAQG,IACnBF,KAAKG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