Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/main/kanban/ |
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/js/main/kanban/column.map.js |
{"version":3,"file":"column.map.js","names":["BX","namespace","Kanban","Column","options","Utils","isValidId","id","Error","this","name","color","data","Object","create","total","isTotalFrozen","animate","canEdit","canSort","canRemove","canAddItem","droppable","setOptions","items","draftItem","grid","selectedItems","page","layout","container","dragTarget","title","subTitle","subTitleAddButton","subTitleAddButtonText","subTitleAddButtonTextWrapper","titleArrow","editForm","fillColorButton","titleTextBox","addColumnButton","addColumnButtonAfter","addColumnButtonBefore","editButton","removeButton","ahaItem","rectArea","dragColumnOffset","dragColumnIndex","dragTargetColumn","confirmDialog","textBoxTimeout","colorChanged","hasBeenEdt","addItemTitleText","pagination","Pagination","handleScrollWithThrottle","Runtime","throttle","handleScroll","DEFAULT_COLOR","prototype","getId","setName","setTotal","setColor","setData","boolOptions","forEach","boolOption","type","isBoolean","isValidColor","toLowerCase","getColor","setGrid","onCustomEvent","getGrid","getPagination","addSelectedItems","addItem","item","beforeItem","Item","setColumnId","index","util","array_search","splice","push","isCountable","incrementTotal","isRendered","render","addItems","startBeforeItem","itemId","cleanSelectedItems","adjustMultiSelectMode","getItems","getItemsCount","reduce","count","isVisible","getFirstItem","onlyVisible","i","length","getLastItem","getNextItemSibling","currentItem","getItem","itemIndex","getPreviousItemSibling","removeItem","itemToRemove","found","filter","decrementTotal","removeSelectedItems","itemsToRemove","removeItems","cleanNode","isNotEmptyString","getName","getData","isPlainObject","getGridData","isEditable","canEditColumns","isSortable","canSortColumns","isRemovable","canRemoveColumns","canAddItems","getTotal","value","isNumber","Math","max","freezeTotal","unfreezeTotal","refreshTotal","renderTitle","hasLoading","getIndex","getColumnIndex","getTitleContainer","appendChild","canAddColumns","getAddColumnButton","getSubTitle","subTitleContent","renderSubTitle","cleanLayoutItems","isEmptyColumn","document","createDocumentFragment","renderLayout","columnContainer","getContainer","classList","isDroppable","firstRenderComplete","contains","add","cleanAnimate","remove","removeEventListener","bind","addEventListener","adjust","adjustEmptyStub","titleBody","getDefaultTitleLayout","isDark","isDarkColor","nameInner","textContent","style","backgroundColor","background","customButtons","getCustomTitleButtons","isDomNode","isArray","attrs","className","children","info","getColumnTitle","getTotalItem","getEditButton","concat","getEditForm","events","click","switchToEditMode","getRemoveButton","handleRemoveButtonClick","getTitleTextBox","getFillColorButton","placeholder","getMessage","autocomplete","disabled","blur","handleTextBoxBlur","keydown","handleTextBoxKeyDown","showColorPicker","disableDragging","focusTextBox","isEditModeEnabled","applyEditMode","trim","titleChanged","enableDragging","event","setTimeout","stopTextBoxBlur","clearTimeout","focus","keyCode","showRemoveConfirmDialog","Event","EventEmitter","emit","getColorPicker","open","colorPicker","ColorPicker","bindElement","onColorSelected","popupOptions","onPopupClose","substr","getConfirmDialog","PopupWindow","getRandomString","titleBar","content","width","autoHide","overlay","closeByEsc","closeIcon","draggable","restrict","buttons","PopupWindowButton","text","handleConfirmButtonClick","PopupWindowButtonLink","popupWindow","close","destroy","getButton","addClassName","promise","getEventPromise","result","removeColumn","removeClassName","error","setContent","display","fulfill","show","handleAddColumnButtonClick","newColumn","addColumn","targetId","getNextColumnSibling","button","handleAddItemButtonClick","getAddItemTitleText","props","firstItem","existsDraftItem","indexOf","applyDraftEditMode","addDraftItem","getDraftItem","targetItem","getColumn","columnId","countable","focusDraftTextArea","removeDraftItem","getHeader","getBody","mouseenter","offsetWidth","mouseleave","makeDraggable","makeDroppable","header","body","wheel","delegate","blockPageScroll","scroll","getItemsContainer","getDragTarget","handlerHoverClass","node","onAhaMode","getAhaItem","offAhaMode","removeChild","bodyContainer","scrollHeight","offsetHeight","mouseScroll","deltaY","detail","wheelDelta","scrollTop","preventDefault","clientHeight","onbxdragstart","onColumnDragStart","onbxdrag","onColumnDrag","onbxdragstop","onColumnDragStop","columnBody","onbxdestdraghover","onDragEnter","onbxdestdraghout","onDragLeave","onbxdestdragfinish","onDragDrop","onbxdestdragstop","onItemDragEnd","jsDD","registerDest","disableDropping","unregisterObject","registerObject","disableDest","enableDropping","enableDest","isDraggable","itemNode","x","y","draggableItem","getItemByElement","showDragTarget","getBodyContainer","hideDragTarget","getSelectedItems","onDragDropMulti","DragEvent","setItem","setTargetColumn","isActionAllowed","success","moveItem","draggableItems","setItems","moveItems","start_x","getRectArea","left","transform","columns","getColumns","columnWidth","columnIndex","column","columnRectArea","columnMiddle","middle","transition","resetRectArea","moveBackRight","moveBackLeft","moveColumn","removeProperty","adjustEars","pos","height","DraftColumn","apply","arguments","asyncEventStarted","addCustomEvent","onAddedToGrid","lastColorIndex","__proto__","constructor","targetColumn","getNextColor","defaultColors","getDefaultColors","timer","loadingInProgress","topButton","bottomButton","loader","init","getTopButton","getBottomButton","getLoader","window","isTopVisible","isBottomVisible","top","offsetTop","refreshDestArea","showLoader","loadItems","onPromiseFulfilled","onPromiseRejected","hideLoader","processPromiseResult","reason","setRenderStatus","getPage","scrollUp","stopScroll","scrollDown","html","getDragMode","DragMode","ITEM","setInterval","clearInterval"],"sources":["column.js"],"mappings":"CAAC,WAED,aAEAA,GAAGC,UAAU,aAYbD,GAAGE,OAAOC,OAAS,SAASC,GAE3BA,EAAUA,GAAW,CAAC,EACtB,IAAKJ,GAAGE,OAAOG,MAAMC,UAAUF,EAAQG,IACvC,CACC,MAAM,IAAIC,MAAM,iDACjB,CAEAC,KAAKF,GAAKH,EAAQG,GAClBE,KAAKC,KAAO,KACZD,KAAKE,MAAQ,KACbF,KAAKG,KAAOC,OAAOC,OAAO,MAC1BL,KAAKM,MAAQ,KACbN,KAAKO,cAAgB,MACrBP,KAAKQ,QAAUb,EAAQa,SAAW,KAElCR,KAAKS,QAAU,KACfT,KAAKU,QAAU,KACfV,KAAKW,UAAY,KACjBX,KAAKY,WAAa,KAElBZ,KAAKa,UAAY,KAEjBb,KAAKc,WAAWnB,GAGhBK,KAAKe,MAAQ,GAEbf,KAAKgB,UAAY,KAGjBhB,KAAKiB,KAAO,KAEZjB,K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