{"version":3,"sources":["kendo.columnmenu.js"],"names":["f","define","$","undefined","trim","text","replace","toHash","arr","key","idx","len","current","result","length","leafColumns","columns","concat","push","attrEquals","attrName","attrValue","kendo","attr","insertElementAt","index","element","container","insertAfter","children","eq","prepend","window","ui","proxy","extend","grep","map","inArray","ACTIVE","ASC","DESC","CHANGE","INIT","OPEN","SELECT","POPUP","FILTERMENU","MENU","NS","Widget","ColumnMenu","init","options","link","that","this","fn","call","owner","dataSource","field","title","find","addClass","messages","settings","on","_click","wrapper","_refreshHandler","refresh","bind","_init","pane","_isMobile","_createMobileMenu","_createMenu","_muteAngularRebind","_angularItems","_sort","_columns","_filter","_lockColumns","trigger","events","name","sortAscending","sortDescending","filter","done","lock","unlock","sortable","filterable","animations","left","html","template","uid","guid","ns","_ownerColumns","showColumns","lockedColumns","popup","anchor","open","_open","activate","_activate","close","closeCallback","data","menu","orientation","closeOnClick","_updateMenuItems","mobileTemplate","view","append","MobileMenu","e","preventDefault","_updateLockedColumns","action","angular","items","closest","col","column","_originalObject","elements","destroy","filterMenu","unbind","_updateColumnsMenuHandler","_updateColumnsLockedStateHandler","off","purge","stopPropagation","is","navigate","toggle","_setMenuItemsVisibility","_reorderMenuItems","_eachRenderedMenuItem","renderedListElement","matchesMedia","hide","show","renderedList","callback","i","first","originalField","not","each","keyCode","keys","ESC","focus","menuColumns","hidden","locked","dir","item","hasClass","parent","removeClass","_sortDataSource","compare","sort","allowUnsort","mode","splice","_updateColumnsMenu","_updateColumnsLockedState","input","showColumn","hideColumn","checked","checkboxes","fieldAttr","lockedAttr","visibleFields","visibleDataFields","lockedCount","nonLockedCount","columnNotInMenuCount","visible","prop","widget","multi","checkSource","appendToElement","values","change","lockColumn","unlockColumn","lockItem","unlockItem","descriptor","_filterExist","filters","found","target","currentTarget","plugin","jQuery","amd","a1","a2","a3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,oBACH,cACA,mBACA,cACDD,IACL,W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\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n*/\n(function (f, define) {\n define('kendo.columnmenu', [\n 'kendo.popup',\n 'kendo.filtermenu',\n 'kendo.menu'\n ], f);\n}(function () {\n var __meta__ = {\n id: 'columnmenu',\n name: 'Column Menu',\n category: 'framework',\n depends: [\n 'popup',\n 'filtermenu',\n 'menu'\n ],\n advanced: true\n };\n (function ($, undefined) {\n var kendo = window.kendo, ui = kendo.ui, proxy = $.proxy, extend = $.extend, grep = $.grep, map = $.map, inArray = $.inArray, ACTIVE = 'k-state-selected', ASC = 'asc', DESC = 'desc', CHANGE = 'change', INIT = 'init', OPEN = 'open', SELECT = 'select', POPUP = 'kendoPopup', FILTERMENU = 'kendoFilterMenu', MENU = 'kendoMenu', NS = '.kendoColumnMenu', Widget = ui.Widget;\n function trim(text) {\n return $.trim(text).replace(/ /gi, '');\n }\n function toHash(arr, key) {\n var result = {};\n var idx, len, current;\n for (idx = 0, len = arr.length; idx < len; idx++) {\n current = arr[idx];\n result[current[key]] = current;\n }\n return result;\n }\n function leafColumns(columns) {\n var result = [];\n for (var idx = 0; idx < columns.length; idx++) {\n if (!columns[idx].columns) {\n result.push(columns[idx]);\n continue;\n }\n result = result.concat(leafColumns(columns[idx].columns));\n }\n return result;\n }\n function attrEquals(attrName, attrValue) {\n return '[' + kendo.attr(attrName) + '=\\'' + (attrValue || '').replace(/'/g, '\"') + '\\']';\n }\n function insertElementAt(index, element, container) {\n if (index > 0) {\n element.insertAfter(container.children().eq(index - 1));\n } else {\n container.prepend(element);\n }\n }\n var ColumnMenu = Widget.extend({\n init: function (element, options) {\n var that = this, link;\n Widget.fn.init.call(that, element, options);\n element = that.element;\n options = that.options;\n that.owner = options.owner;\n that.dataSource = options.dataSource;\n that.field = element.attr(kendo.attr('field'));\n that.title = element.attr(kendo.attr('title'));\n link = element.find('.k-header-column-menu');\n if (!link[0]) {\n link = element.addClass('k-with-icon').prepend('').find('.k-header-column-menu');\n }\n that.link = link.attr('tabindex', -1).on('click' + NS, proxy(that._click, that));\n that.wrapper = $('