{"version":3,"sources":["kendo.treelist.js"],"names":["f","define","$","undefined","is","field","object","not","func","isCellVisible","this","style","display","leafDataCells","container","indexAttr","rows","find","filter","el","hasClass","cells","length","rowSpan","add","last","kendo","attr","sort","a","b","indexA","indexB","index","parseInt","createPlaceholders","options","i","level","spans","className","push","kendoDomElement","columnsWidth","cols","colWidth","idx","width","indexOf","syncTableHeight","table1","table2","lockedHeigth","tableHeigth","row","diff","offsetHeight","height","TreeListDataSource","Editor","PopupEditor","TreeList","data","extend","kendoDom","dom","element","kendoTextElement","text","kendoHtmlElement","html","outerWidth","_outerWidth","outerHeight","_outerHeight","ui","DataBoundWidget","DataSource","ObservableArray","Query","Model","proxy","map","grep","inArray","isPlainObject","Array","prototype","STRING","CHANGE","ERROR","PROGRESS","DOT","NS","CLICK","MOUSEDOWN","EDIT","SAVE","EXPAND","COLLAPSE","REMOVE","DATABINDING","DATABOUND","CANCEL","FILTERMENUINIT","COLUMNHIDE","COLUMNSHOW","HEADERCELLS","COLUMNREORDER","COLUMNRESIZE","COLUMNMENUINIT","COLUMNLOCK","COLUMNUNLOCK","PARENTIDFIELD","DRAGSTART","DRAG","DROP","DRAGEND","classNames","wrapper","header","button","alt","editCell","group","gridToolbar","gridHeader","gridHeaderWrap","gridContent","gridContentWrap","gridFilter","footerTemplate","loading","refresh","retry","selected","status","link","withIcon","filterable","icon","iconFilter","iconCollapse","iconExpand","iconHidden","iconPlaceHolder","input","dropPositions","dropTop","dropBottom","dropAdd","dropMiddle","dropDenied","dragStatus","dragClue","dragClueText","defaultCommands","create","imageClass","methodName","createchild","destroy","edit","update","canceledit","excel","pdf","TreeListModel","id","parentId","fields","type","nullable","init","value","fn","call","_loaded","parentIdField","get","accept","set","initiator","loaded","shouldSerialize","base","model","schema","modelBase","_createNewModel","fromModel","_shouldWrap","_push","result","operation","_readData","newData","_replaceData","toJSON","concat","source","target","sourceLength","_readAggregates","_aggregateResult","reader","aggregates","_defaultParentId","remove","root","items","_subtree","_childrenMap","_removeItems","_filterCallback","query","item","toArray","parentNode","len","defaultParentId","_observeView","_calculateAggregates","subtree","process","filterCallback","aggregate","_queryProcess","hasLoadedChildren","children","hasChildren","slice","_queueRequest","callback","_modelLoaded","childNodes","_modelError","e","_error","success","requestParams","_data","_observe","load","method","remote","serverSorting","serverPaging","serverFiltering","serverGrouping","serverAggregates","defaultPromise","Deferred","resolve","promise","done","fail","contains","child","rootId","_byParentId","defaultId","current","view","at","defaults","rootNodes","baseFilter","isArray","Observable","bind","events","_fields","columns","_initContainer","createEditable","editable","Editable","clearContainer","_isEditable","column","format","editor","end","close","empty","removeAttr","_attachHandlers","cycleForm","open","window","modal","resizable","draggable","title","visible","formContent","uid","append","template","_appendTemplate","_appendFields","_appendButtons","Tree","render","appendTo","Window","form","unescape","command","class","fieldRenderer","commandRenderer","closeHandler","_cancelProxy","_cancel","on","_saveProxy","_save","userTriggered","_dettachHandlers","off","trigger","center","_dataSource","dataSource","_columns","_layout","_selectable","_sortable","_resizable","_filterable","_attachEvents","_toolbar","_scrollable","_reorderable","_columnMenu","_minScreenSupport","_draggable","autoBind","fetch","_hasLockedColumns","widget","addClass","_resizeHandler","resize","notify","move","_dragging","HierarchicalDragAndDrop","$angular","autoScroll","itemSelector","allowedContainers","hintText","separator","join","destination","dest","dataItem","src","itemFromTarget","tr","closest","content","dragstart","drag","drop","removeClass","dragend","reorderable","dropHintContainer","dropPositionFrom","dropHint","prevAll","itemFor","tbody","scrollables","lockedContent","touchScroller","scrollable","thead","_wheelScroll","scrollLeft","scrollTop","movable","_touchScroller","sender","x","y","ctrlKey","delta","wheelDeltaY","preventDefault","currentTarget","one","_progress","messages","_showStatus","_render","error","action","_cancelEditor","_adjustHeight","_angularFooters","footer","allAggregates","footerRows","_footerItems","eq","_angularFooter","angular","elements","col","_items","lockedTable","dataItems","n","tmp","message","_contentTree","_lockedContentTree","hide","_hideStatus","show","isHeightSet","contentWrap","toolbar","scrollbar","support","initialHeight","newHeight","table","offsetWidth","parent","clientWidth","_resize","_applyLockedContainersWidth","any","hideMinScreenCols","minScreenResizeHandler","minWidth","screenWidth","innerWidth","screen","minScreenWidth","hideColumn","showColumn","unbind","_refreshHandler","_errorHandler","_progressHandler","_draggableInstance","_destroyEditor","_autoExpandable","_dataSourceFetchProxy","lockedHeader","_statusTree","_headerTree","_lockedHeaderColsTree","_lockedContentColsTree","_lockedHeaderTree","name","selectable","sortable","columnMenu","noRows","requestFailed","commands","hierarchy","_toggle","expand","expanded","always","_syncLockedContentHeight","collapse","_toggleChildren","event","icons","retryButton","_commandClick","_commandByName","j","currentName","toLowerCase","commandName","parentsUntil","click","_ensureExpandableColumn","visibleColumns","expandableColumns","expandable","lockedColumns","encoded","_lockedColumns","_nonLockedColumns","_columnTemplates","_columnAttributes","headerTemplate","convertStyle","properties","declaration","split","trim","camelCase","attributes","headerAttributes","rtl","layout","addBack","isRtl","css","first","_initVirtualTrees","_renderCols","_renderHeader","_headerColsTree","prev","_contentColsTree","buttons","_buildCommands","_templateColumns","_flushCache","uidAttr","select","_","_absoluteIndex","_angularItems","buttonClass","_trs","htmlEncode","contentResized","_muteAngularRebind","_adjustRowsHeight","lockedRows","containers","containersLength","heights","lockedHeaderRows","headerRows","offsetHeight1","offsetHeight2","Math","max","_ths","cellClasses","headerContent","ths","href","data-field","data-title","hidden","role","_cols","lockedWidth","headerTable","nonLockedWidth","wrapperWidth","_edit","_tds","_td","_hasFooterTemplate","data-parentId","_footerTd","noop","c","renderer","l","iconClass","_cellContent","_button","data-command","_positionResizeHandle","cellOffset","that","th","resizeHandle","position","left","cellWidth","clientX","indicatorWidth","columnResizeHandleWidth","offset","top","val","locked","autoFitColumn","isLocked","contentTable","footerTable","tables","oldColumnWidth","newColumnWidth","totalWidth","browser","visibleLocked","ceil","each","msie","version","setTimeout","oldWidth","newWidth","_syncLockedHeaderHeight","_adjustLockedHorizontalScrollBar","treelist","Resizable","handle","start","colSelector","startLocation","location","columnWidth","minColumnWidth","resizeend","floor","sortableInstance","cell","fieldAttr","kendoColumnSorter","filterMenuInstance","filterInit","kendoFilterMenu","_change","useAllItems","Selectable","parseOptions","multiple","aria","change","continuousItems","_continuousItems","relatedTarget","_selectableTarget","lockedItems","nonLockedItems","nonLockedColumns","apply","splice","related","_relatedRow","clear","clearSelection","ds","setDataSource","getByUid","editRow","_editMode","_createEditor","_cancelEdit","cancelRow","saveRow","args","sync","addRow","then","_insertAt","insert","removeRow","cancelChanges","mode","save","cancel","_toggleColumnVisibility","_findColumn","_adjustTablesWidth","selector","Draggable","guid","hint","paddingLeft","paddingRight","lineHeight","paddingTop","paddingBottom","prepend","Reorderable","dragOverContainers","_allowDragOverContainers","inSameContainer","newIndex","oldIndex","before","reorderColumn","lockable","destIndex","lockChanged","sourceIndex","destColumn","nonLockedColumnsLength","lockColumn","unlockColumn","menu","menuOptions","initHandler","_columnMenuInit","lockedColumnsLength","compare","pane","values","owner","closeCallback","kendoColumnMenu","ExcelMixin","PDFMixin","_drawPDF","progress","_drawPDFShadow","avoidLinks","page","pageNumber","totalPages","err","reject","plugin","jQuery","amd","a1","a2","a3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,kBACH,YACA,aACA,qBACA,iBACA,eACA,mBACA,mBACA,kBACA,8BACDD,IACL,WA6/EE,MA17EC,UAAUE,EAAGC,GA4LV,QAASC,GAAGC,GACR,MAAO,UAAUC,GACb,MAAOA,GAAOD,IAGtB,QAASE,GAAIC,GACT,MAAO,UAAUF,GACb,OAAQE,EAAKF,IAiQrB,QAASG,KACL,MAA8B,SAAvBC,KAAKC,MAAMC,QAEtB,QAASC,GAAcC,GAAvB,GAaQC,GAZAC,EAAOF,EAAUG,KAAK,0BACtBC,EAAS,WACT,GAAIC,GAAKjB,EAAEQ,KACX,QAAQS,EAAGC,SAAS,kBAAoBD,EAAGC,SAAS,qBAEpDC,EAAQnB,GAuBZ,OAtBIc,GAAKM,OAAS,IACdD,EAAQL,EAAKC,KAAK,MAAMC,OAAOA,GA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AiB,SAAU3c,GACvBnO,KAAKwT,QAAQpN,IACTzG,MAAOwO,EAAExO,MACTS,UAAW+N,EAAE/N,eAIrBY,MAAMsqB,YACNtqB,MAAMsqB,WAAWjoB,OAAOF,EAAS0B,WAEjC7D,MAAMuqB,WACNvqB,MAAMuqB,SAASloB,OAAOF,EAAS0B,WAC/B1B,EAASkH,GAAGmhB,SAAW,SAAUC,GAC7B,GAAIrc,GAAU,GAAI5P,GAAE0P,QAapB,OAZAlP,MAAK0rB,gBAAiBrpB,MAAOrC,KAAK6G,QAAQxE,UAAaspB,WAAY3rB,KAAK0B,QAAQkI,IAAI+hB,aAActc,KAAK,SAAUnI,GAC7G,GAAIihB,IACAyD,KAAM1kB,EACN2kB,WAAY,EACZJ,SAAU,EACVK,WAAY,EAEhBL,GAASzW,OAAOmT,GAChB/Y,EAAQD,QAAQgZ,EAAKyD,QACtBtc,KAAK,SAAUyc,GACd3c,EAAQ4c,OAAOD,KAEZ3c,IAGf/L,GAAO,EAAMrC,MAAMoC,MACfJ,mBAAoBA,EACpB6G,cAAeA,KAEnBxG,GAAO,EAAMrC,MAAMiD,IAAMd,SAAUA,IACnCc,EAAGgoB,OAAO9oB,IACZqO,OAAOxQ,MAAMkrB,QACR1a,OAAOxQ,OACE,kBAAVzB,SAAwBA,OAAO4sB,IAAM5sB,OAAS,SAAU6sB,EAAIC,EAAIC,IACrEA,GAAMD","file":"kendo.treelist.min.js","sourcesContent":["/*!\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n*/\n(function (f, define) {\n define('kendo.treelist', [\n 'kendo.dom',\n 'kendo.data',\n 'kendo.columnsorter',\n 'kendo.editable',\n 'kendo.window',\n 'kendo.filtermenu',\n 'kendo.selectable',\n 'kendo.resizable',\n 'kendo.treeview.draganddrop'\n ], f);\n}(function () {\n var __meta__ = {\n id: 'treelist',\n name: 'TreeList',\n category: 'web',\n description: 'The TreeList widget displays self-referencing data and offers rich support for interacting with data, sorting, filtering, and selection.',\n depends: [\n 'dom',\n 'data'\n ],\n features: [\n {\n id: 'treelist-sorting',\n name: 'Sorting',\n description: 'Support for column sorting',\n depends: ['columnsorter']\n },\n {\n id: 'treelist-filtering',\n name: 'Filtering',\n description: 'Support for record filtering',\n depends: ['filtermenu']\n },\n {\n id: 'treelist-editing',\n name: 'Editing',\n description: 'Support for record editing',\n depends: [\n 'editable',\n 'window'\n ]\n },\n {\n id: 'treelist-selection',\n name: 'Selection',\n description: 'Support for row selection',\n depends: ['selectable']\n },\n {\n id: 'treelist-column-resize',\n name: 'Column resizing',\n description: 'Support for column resizing',\n depends: ['resizable']\n },\n {\n id: 'treelist-dragging',\n name: 'Drag & Drop',\n description: 'Support for drag & drop of rows',\n depends: ['treeview.draganddrop']\n },\n {\n id: 'treelist-excel-export',\n name: 'Excel export',\n description: 'Export data as Excel spreadsheet',\n depends: ['excel']\n },\n {\n id: 'treelist-pdf-export',\n name: 'PDF export',\n description: 'Export data as PDF',\n depends: [\n 'pdf',\n 'drawing'\n ]\n }\n ]\n };\n (function ($, undefined) {\n var data = kendo.data;\n var extend = $.extend;\n var kendoDom = kendo.dom;\n var kendoDomElement = kendoDom.element;\n var kendoTextElement = kendoDom.text;\n var kendoHtmlElement = kendoDom.html;\n var outerWidth = kendo._outerWidth;\n var outerHeight = kendo._outerHeight;\n var ui = kendo.ui;\n var DataBoundWidget = ui.DataBoundWidget;\n var DataSource = data.DataSource;\n var ObservableArray = data.ObservableArray;\n var Query = data.Query;\n var Model = data.Model;\n var proxy = $.proxy;\n var map = $.map;\n var grep = $.grep;\n var inArray = $.inArray;\n var isPlainObject = $.isPlainObject;\n var push = Array.prototype.push;\n var STRING = 'string';\n var CHANGE = 'change';\n var ERROR = 'error';\n var PROGRESS = 'progress';\n var DOT = '.';\n var NS = '.kendoTreeList';\n var CLICK = 'click';\n var MOUSEDOWN = 'mousedown';\n var EDIT = 'edit';\n var SAVE = 'save';\n var EXPAND = 'expand';\n var COLLAPSE = 'collapse';\n var REMOVE = 'remove';\n var DATABINDING = 'dataBinding';\n var DATABOUND = 'dataBound';\n var CANCEL = 'cancel';\n var FILTERMENUINIT = 'filterMenuInit';\n var COLUMNHIDE = 'columnHide';\n var COLUMNSHOW = 'columnShow';\n var HEADERCELLS = 'th.k-header';\n var COLUMNREORDER = 'columnReorder';\n var COLUMNRESIZE = 'columnResize';\n var COLUMNMENUINIT = 'columnMenuInit';\n var COLUMNLOCK = 'columnLock';\n var COLUMNUNLOCK = 'columnUnlock';\n var PARENTIDFIELD = 'parentId';\n var DRAGSTART = 'dragstart';\n var DRAG = 'drag';\n var DROP = 'drop';\n var DRAGEND = 'dragend';\n var classNames = {\n wrapper: 'k-treelist k-grid k-widget',\n header: 'k-header',\n button: 'k-button',\n alt: 'k-alt',\n editCell: 'k-edit-cell',\n group: 'k-treelist-group',\n gridToolbar: 'k-grid-toolbar',\n gridHeader: 'k-grid-header',\n gridHeaderWrap: 'k-grid-header-wrap',\n gridContent: 'k-grid-content',\n gridContentWrap: 'k-grid-content',\n gridFilter: 'k-grid-filter',\n footerTemplate: 'k-footer-template',\n loading: 'k-i-loading',\n refresh: 'k-i-refresh',\n retry: 'k-request-retry',\n selected: 'k-state-selected',\n status: 'k-status',\n link: 'k-link',\n withIcon: 'k-with-icon',\n filterable: 'k-filterable',\n icon: 'k-icon',\n iconFilter: 'k-i-filter',\n iconCollapse: 'k-i-collapse',\n iconExpand: 'k-i-expand',\n iconHidden: 'k-i-none',\n iconPlaceHolder: 'k-icon k-i-none',\n input: 'k-input',\n dropPositions: 'k-i-insert-top k-i-insert-bottom k-i-add k-i-insert-middle',\n dropTop: 'k-i-insert-top',\n dropBottom: 'k-i-insert-bottom',\n dropAdd: 'k-i-add',\n dropMiddle: 'k-i-insert-middle',\n dropDenied: 'k-i-denied',\n dragStatus: 'k-drag-status',\n dragClue: 'k-drag-clue',\n dragClueText: 'k-clue-text'\n };\n var defaultCommands = {\n create: {\n imageClass: 'k-i-add',\n className: 'k-grid-add',\n methodName: 'addRow'\n },\n createchild: {\n imageClass: 'k-i-add',\n className: 'k-grid-add',\n methodName: 'addRow'\n },\n destroy: {\n imageClass: 'k-i-delete',\n className: 'k-grid-delete',\n methodName: 'removeRow'\n },\n edit: {\n imageClass: 'k-i-edit',\n className: 'k-grid-edit',\n methodName: 'editRow'\n },\n update: {\n imageClass: 'k-i-update',\n className: 'k-primary k-grid-update',\n methodName: 'saveRow'\n },\n canceledit: {\n imageClass: 'k-i-cancel',\n className: 'k-grid-cancel',\n methodName: '_cancelEdit'\n },\n excel: {\n imageClass: 'k-i-excel',\n className: 'k-grid-excel',\n methodName: 'saveAsExcel'\n },\n pdf: {\n imageClass: 'k-i-pdf',\n className: 'k-grid-pdf',\n methodName: 'saveAsPDF'\n }\n };\n var TreeListModel = Model.define({\n id: 'id',\n parentId: PARENTIDFIELD,\n fields: {\n id: { type: 'number' },\n parentId: {\n type: 'number',\n nullable: true\n }\n },\n init: function (value) {\n Model.fn.init.call(this, value);\n this._loaded = false;\n if (!this.parentIdField) {\n this.parentIdField = PARENTIDFIELD;\n }\n this.parentId = this.get(this.parentIdField);\n },\n accept: function (data) {\n Model.fn.accept.call(this, data);\n this.parentId = this.get(this.parentIdField);\n },\n set: function (field, value, initiator) {\n if (field == PARENTIDFIELD && this.parentIdField != PARENTIDFIELD) {\n this[this.parentIdField] = value;\n }\n Model.fn.set.call(this, field, value, initiator);\n if (field == this.parentIdField) {\n this.parentId = this.get(this.parentIdField);\n }\n },\n loaded: function (value) {\n if (value !== undefined) {\n this._loaded = value;\n } else {\n return this._loaded;\n }\n },\n shouldSerialize: function (field) {\n return Model.fn.shouldSerialize.call(this, field) && field !== '_loaded' && field != '_error' && field != '_edit' && !(this.parentIdField !== 'parentId' && field === 'parentId');\n }\n });\n TreeListModel.parentIdField = PARENTIDFIELD;\n TreeListModel.define = function (base, options) {\n if (options === undefined) {\n options = base;\n base = TreeListModel;\n }\n var parentId = options.parentId || PARENTIDFIELD;\n options.parentIdField = parentId;\n var model = Model.define(base, options);\n if (parentId) {\n model.parentIdField = parentId;\n }\n return model;\n };\n function is(field) {\n return function (object) {\n return object[field];\n };\n }\n function not(func) {\n return function (object) {\n return !func(object);\n };\n }\n var TreeListDataSource = DataSource.extend({\n init: function (options) {\n DataSource.fn.init.call(this, extend(true, {}, {\n schema: {\n modelBase: TreeListModel,\n model: TreeListModel\n }\n }, options));\n },\n _createNewModel: function (data) {\n var model = {};\n var fromModel = data instanceof Model;\n if (fromModel) {\n model = data;\n }\n model = DataSource.fn._createNewModel.call(this, model);\n if (!fromModel) {\n if (data.parentId) {\n data[model.parentIdField] = data.parentId;\n }\n model.accept(data);\n }\n return model;\n },\n _shouldWrap: function () {\n return true;\n },\n _push: function (result, operation) {\n var data = DataSource.fn._readData.call(this, result);\n if (!data) {\n data = result;\n }\n this[operation](data);\n },\n _readData: function (newData) {\n var data = this.data();\n newData = DataSource.fn._readData.call(this, newData);\n this._replaceData(data.toJSON().concat(newData), data);\n if (newData instanceof ObservableArray) {\n return newData;\n }\n return data;\n },\n _replaceData: function (source, target) {\n var sourceLength = source.length;\n for (var i = 0; i < sourceLength; i++) {\n target[i] = source[i];\n }\n target.length = sourceLength;\n },\n _readAggregates: function (data) {\n var result = extend(this._aggregateResult, this.reader.aggregates(data));\n if ('' in result) {\n result[this._defaultParentId()] = result[''];\n delete result[''];\n }\n return result;\n },\n remove: function (root) {\n var items = this._subtree(this._childrenMap(this.data()), root.id);\n this._removeItems(items);\n DataSource.fn.remove.call(this, root);\n },\n _filterCallback: function (query) {\n var i, item;\n var map = {};\n var result = [];\n var data = query.toArray();\n for (i = 0; i < data.length; i++) {\n item = data[i];\n while (item) {\n if (!map[item.id]) {\n map[item.id] = true;\n result.push(item);\n }\n if (!map[item.parentId]) {\n map[item.parentId] = true;\n item = this.parentNode(item);\n if (item) {\n result.push(item);\n }\n } else {\n break;\n }\n }\n }\n return new Query(result);\n },\n _subtree: function (map, id) {\n var result = map[id] || [];\n var defaultParentId = this._defaultParentId();\n for (var i = 0, len = result.length; i < len; i++) {\n if (result[i].id !== defaultParentId) {\n result = result.concat(this._subtree(map, result[i].id));\n }\n }\n return result;\n },\n _childrenMap: function (data) {\n var map = {};\n var i, item, id, parentId;\n data = this._observeView(data);\n for (i = 0; i < data.length; i++) {\n item = data[i];\n id = item.id;\n parentId = item.parentId;\n map[id] = map[id] || [];\n map[parentId] = map[parentId] || [];\n map[parentId].push(item);\n }\n return map;\n },\n _calculateAggregates: function (data, options) {\n options = options || {};\n var result = {};\n var item, subtree, i;\n var filter = options.filter;\n if (filter) {\n data = Query.process(data, {\n filter: filter,\n filterCallback: proxy(this._filterCallback, this)\n }).data;\n }\n var map = this._childrenMap(data);\n result[this._defaultParentId()] = new Query(this._subtree(map, this._defaultParentId())).aggregate(options.aggregate);\n for (i = 0; i < data.length; i++) {\n item = data[i];\n subtree = this._subtree(map, item.id);\n result[item.id] = new Query(subtree).aggregate(options.aggregate);\n }\n return result;\n },\n _queryProcess: function (data, options) {\n options = options || {};\n options.filterCallback = proxy(this._filterCallback, this);\n var defaultParentId = this._defaultParentId();\n var result = Query.process(data, options);\n var map = this._childrenMap(result.data);\n var hasLoadedChildren, i, item, children;\n data = map[defaultParentId] || [];\n for (i = 0; i < data.length; i++) {\n item = data[i];\n if (item.id === defaultParentId) {\n continue;\n }\n children = map[item.id];\n hasLoadedChildren = !!(children && children.length);\n if (!item.loaded()) {\n item.loaded(hasLoadedChildren || !item.hasChildren);\n }\n if (item.loaded() || item.hasChildren !== true) {\n item.hasChildren = hasLoadedChildren;\n }\n if (hasLoadedChildren) {\n data = data.slice(0, i + 1).concat(children, data.slice(i + 1));\n }\n }\n result.data = data;\n return result;\n },\n _queueRequest: function (options, callback) {\n callback.call(this);\n },\n _modelLoaded: function (id) {\n var model = this.get(id);\n model.loaded(true);\n model.hasChildren = this.childNodes(model).length > 0;\n },\n _modelError: function (id, e) {\n this.get(id)._error = e;\n },\n success: function (data, requestParams) {\n if (!requestParams || typeof requestParams.id == 'undefined') {\n this._data = this._observe([]);\n }\n return DataSource.fn.success.call(this, data, requestParams);\n },\n load: function (model) {\n var method = '_query';\n var remote = this.options.serverSorting || this.options.serverPaging || this.options.serverFiltering || this.options.serverGrouping || this.options.serverAggregates;\n var defaultPromise = $.Deferred().resolve().promise();\n if (model.loaded()) {\n if (remote) {\n return defaultPromise;\n }\n } else if (model.hasChildren) {\n method = 'read';\n }\n return this[method]({ id: model.id }).done(proxy(this._modelLoaded, this, model.id)).fail(proxy(this._modelError, this, model.id));\n },\n contains: function (root, child) {\n var rootId = root.id;\n while (child) {\n if (child.parentId === rootId) {\n return true;\n }\n child = this.parentNode(child);\n }\n return false;\n },\n _byParentId: function (id, defaultId) {\n var result = [];\n var view = this.view();\n var current;\n if (id === defaultId) {\n return [];\n }\n for (var i = 0; i < view.length; i++) {\n current = view.at(i);\n if (current.parentId == id) {\n result.push(current);\n }\n }\n return result;\n },\n _defaultParentId: function () {\n return this.reader.model.fn.defaults[this.reader.model.parentIdField];\n },\n childNodes: function (model) {\n return this._byParentId(model.id, this._defaultParentId());\n },\n rootNodes: function () {\n return this._byParentId(this._defaultParentId());\n },\n parentNode: function (model) {\n return this.get(model.parentId);\n },\n level: function (model) {\n var result = -1;\n if (!(model instanceof TreeListModel)) {\n model = this.get(model);\n }\n do {\n model = this.parentNode(model);\n result++;\n } while (model);\n return result;\n },\n filter: function (value) {\n var baseFilter = DataSource.fn.filter;\n if (value === undefined) {\n return baseFilter.call(this, value);\n }\n baseFilter.call(this, value);\n }\n });\n TreeListDataSource.create = function (options) {\n if ($.isArray(options)) {\n options = { data: options };\n } else if (options instanceof ObservableArray) {\n options = { data: options.toJSON() };\n }\n return options instanceof TreeListDataSource ? options : new TreeListDataSource(options);\n };\n function isCellVisible() {\n return this.style.display !== 'none';\n }\n function leafDataCells(container) {\n var rows = container.find('>tr:not(.k-filter-row)');\n var filter = function () {\n var el = $(this);\n return !el.hasClass('k-group-cell') && !el.hasClass('k-hierarchy-cell');\n };\n var cells = $();\n if (rows.length > 1) {\n cells = rows.find('th').filter(filter).filter(function () {\n return this.rowSpan > 1;\n });\n }\n cells = cells.add(rows.last().find('th').filter(filter));\n var indexAttr = kendo.attr('index');\n cells.sort(function (a, b) {\n a = $(a);\n b = $(b);\n var indexA = a.attr(indexAttr);\n var indexB = b.attr(indexAttr);\n if (indexA === undefined) {\n indexA = $(a).index();\n }\n if (indexB === undefined) {\n indexB = $(b).index();\n }\n indexA = parseInt(indexA, 10);\n indexB = parseInt(indexB, 10);\n return indexA > indexB ? 1 : indexA < indexB ? -1 : 0;\n });\n return cells;\n }\n function createPlaceholders(options) {\n var spans = [];\n var className = options.className;\n for (var i = 0, level = options.level; i < level; i++) {\n spans.push(kendoDomElement('span', { className: className }));\n }\n return spans;\n }\n function columnsWidth(cols) {\n var colWidth, width = 0;\n for (var idx = 0, length = cols.length; idx < length; idx++) {\n colWidth = cols[idx].style.width;\n if (colWidth && colWidth.indexOf('%') == -1) {\n width += parseInt(colWidth, 10);\n }\n }\n return width;\n }\n function syncTableHeight(table1, table2) {\n table1 = table1[0];\n table2 = table2[0];\n if (table1.rows.length !== table2.rows.length) {\n var lockedHeigth = table1.offsetHeight;\n var tableHeigth = table2.offsetHeight;\n var row;\n var diff;\n if (lockedHeigth > tableHeigth) {\n row = table2.rows[table2.rows.length - 1];\n diff = lockedHeigth - tableHeigth;\n } else {\n row = table1.rows[table1.rows.length - 1];\n diff = tableHeigth - lockedHeigth;\n }\n row.style.height = row.offsetHeight + diff + 'px';\n }\n }\n var Editor = kendo.Observable.extend({\n init: function (element, options) {\n kendo.Observable.fn.init.call(this);\n options = this.options = extend(true, {}, this.options, options);\n this.element = element;\n this.bind(this.events, options);\n this.model = this.options.model;\n this.fields = this._fields(this.options.columns);\n this._initContainer();\n this.createEditable();\n },\n events: [],\n _initContainer: function () {\n this.wrapper = this.element;\n },\n createEditable: function () {\n var options = this.options;\n this.editable = new ui.Editable(this.wrapper, {\n fields: this.fields,\n target: options.target,\n clearContainer: options.clearContainer,\n model: this.model\n });\n },\n _isEditable: function (column) {\n return column.field && this.model.editable(column.field);\n },\n _fields: function (columns) {\n var fields = [];\n var idx, length, column;\n for (idx = 0, length = columns.length; idx < length; idx++) {\n column = columns[idx];\n if (this._isEditable(column)) {\n fields.push({\n field: column.field,\n format: column.format,\n editor: column.editor\n });\n }\n }\n return fields;\n },\n end: function () {\n return this.editable.end();\n },\n close: function () {\n this.destroy();\n },\n destroy: function () {\n this.editable.destroy();\n this.editable.element.find('[' + kendo.attr('container-for') + ']').empty().end().removeAttr(kendo.attr('role'));\n this.model = this.wrapper = this.element = this.columns = this.editable = null;\n }\n });\n var PopupEditor = Editor.extend({\n init: function (element, options) {\n Editor.fn.init.call(this, element, options);\n this._attachHandlers();\n kendo.cycleForm(this.wrapper);\n this.open();\n },\n events: [\n CANCEL,\n SAVE\n ],\n options: {\n window: {\n modal: true,\n resizable: false,\n draggable: true,\n title: 'Edit',\n visible: false\n }\n },\n _initContainer: function () {\n var options = this.options;\n var formContent = [];\n this.wrapper = $('