/*
 * @license
 * Copyright Endlessjs. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
export var EL_DEFAULT_ROW_LEVEL = 0;
/**
 * Implicit context of cells and rows
 */
var ElTreeGridPresentationNode = /** @class */ (function () {
    function ElTreeGridPresentationNode(
    /**
     * Data object associated with row
     */
    data, children, 
    /**
     * Row expand state
     */
    expanded, level) {
        this.data = data;
        this.children = children;
        this.expanded = expanded;
        this.level = level;
    }
    /**
     * True if row has child rows
     */
    ElTreeGridPresentationNode.prototype.hasChildren = function () {
        return !!this.children && !!this.children.length;
    };
    return ElTreeGridPresentationNode;
}());
export { ElTreeGridPresentationNode };
//# sourceMappingURL=tree-grid.model.js.map