text: {"version":3,"sources":["grid.js"],"names":["BX","namespace","Kanban","Grid","options","type","isPlainObject","Error","this","isDomNode","renderTo","rendered","layout","outerContainer","innerContainer","gridContainer","earLeft","earRight","emptyStub","loader","itemType","getItemType","columnType","getColumnType","messages","Object","create","columns","columnsOrder","items","data","bgColor","Utils","isValidColor","earTimer","firstRenderComplete","dragMode","DragMode","NONE","multiSelect","selectedItems","canAddColumn","canEditColumn","canSortColumn","canRemoveColumn","canAddItem","canSortItem","dropZoneArea","DropZoneArea","dropZoneType","dropZoneTimeout","setData","loadData","events","eventName","hasOwnProperty","addCustomEvent","bindEvents","delegate","onItemDragStart","onItemDragStop","isMultiSelect","onColumnDragStart","onColumnDragStop","ITEM","COLUMN","prototype","bind","window","ev","findParent","target","className","adjustSelectItem","keyCode","getSelectedItems","forEach","item","key","getItem","unSelectItem","unDisabledItem","resetMultiSelectMode","cleanSelectedItems","addColumn","getColumn","id","column","Column","setGrid","getId","targetColumn","targetId","targetIndex","util","array_search","splice","push","isRendered","getGridContainer","insertBefore","render","getContainer","appendChild","removeColumn","removeColumnItems","filter","element","remove","updateColumn","setOptions","getNextColumnSibling","currentColumn","columnIndex","getColumnIndex","getColumns","getPreviousColumnSibling","addItem","columnId","Item","selectable","targetItem","removeItem","itemId","dispose","getItems","removeItems","updateItem","isValidId","moveItem","eventArgs","task","onCustomEvent","hideItem","isVisible","visible","isCountable","decrementTotal","unhideItem","incrementTotal","Map","clear","addItemToSelected","set","removeItemFromSelected","delete","setMultiSelectMode","addClass","removeClass","isMultiSelectMode","hasClass","getColumnsCount","length","getItemByElement","itemNode","dataset","classFn","getClass","isFunction","getDropZoneArea","getData","getBgColor","getBgColorStyle","getOptions","json","needToDraw","setRenderStatus","boolOptions","boolOption","isBoolean","isArray","dropZones","dropzone","getDropZone","updateDropZone","addDropZone","draw","docFragment","document","createDocumentFragment","i","cleanNode","renderLayout","adjustLayout","adjustEmptyStub","getOuterContainer","parentNode","getInnerContainer","getEmptyStub","getLeftEar","getRightEar","getLoader","adjustHeight","status","attrs","mouseenter","scrollToLeft","mouseleave","stopAutoScroll","scrollToRight","getRenderToContainer","props","style","backgroundColor","scroll","adjustEars","children","text","getMessage","html","adjustWidth","grid","scrollLeft","isLeftVisible","isRightVisible","scrollWidth","Math","round","offsetWidth","classList","width","getBoundingClientRect","top","height","documentElement","clientHeight","contains","minHeight","removeProperty","rectArea","left","add","beforeItem","moveItems","addItems","moveColumn","canAddColumns","canEditColumns","canSortColumns","canRemoveColumns","canAddItems","canSortItems","setInterval","clearInterval","jsDD","refreshDestArea","getDragMode","getDragModeCode","mode","code","setDragMode","toLowerCase","resetDragMode","enableDropping","emptyAll","show","hide","getEventPromise","onFulfilled","onRejected","promises","concat","promise","Promise","firstPromise","then","fadeOut","fadeIn","messageId","message","DragEvent","action","allowAction","denyAction","isActionAllowed","setItem","setTargetItem","getTargetItem","setTargetColumn","getTargetColumn"],"mappings":"CAAC,WAED,aAEAA,GAAGC,UAAU,aAyBbD,GAAGE,OAAOC,KAAO,SAASC,GAEzB,IAAKJ,GAAGK,KAAKC,cAAcF,GAC3B,CACC,MAAM,IAAIG,MAAM,+CAGjBC,KAAKJ,QAAUA,EAEf,IAAKJ,GAAGK,KAAKI,UAAUL,EAAQM,UAC/B,CACC,MAAM,IAAIH,MAAM,gDAGjBC,KAAKE,SAAWN,EAAQM,SACxBF,KAAKG,SAAW,MAEhBH,KAAKI,QACJC,eAAgB,KAChBC,eAAgB,KAChBC,cAAe,KACfC,QAAS,KACTC,SAAU,KACVC,UAAW,KACXC,OAAQ,MAGTX,KAAKY,SAAWZ,KAAKa,YAAYjB,EAAQgB,UACzCZ,KAAKc,WAAad,KAAKe,cAAcnB,EAAQkB,YAE7Cd,KAAKgB,SAAWxB,GAAGK,KAAKC,cAAcF,EAAQoB,UAAYpB,EAAQoB,SAAWC,OAAOC,OAAO,MAE3FlB,KAAKmB,QAAUF,OAAOC,OAAO,MAC7BlB,KAAKoB,gBAGLpB,KAAKqB,MAAQJ,OAA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