/**
 * @fileoverview added by tsickle
 * Generated from: utils/test/datagrid/vcd-datagrid.wo.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { __extends } from "tslib";
/*!
 * Copyright 2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { BaseWidgetObject } from '../widget-object/widget-object';
import { ClrDatagridWidgetObject } from './datagrid.wo';
/**
 * Widget Object for our VCD DataGrid
 * @template T
 */
var VcdDatagridWidgetObject = /** @class */ (function (_super) {
    __extends(VcdDatagridWidgetObject, _super);
    function VcdDatagridWidgetObject() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        /**
         * Gives the header above the grid.
         */
        _this.getHeader = _this.locatorForCssSelectors('h3');
        return _this;
    }
    Object.defineProperty(VcdDatagridWidgetObject.prototype, "clrDatagrid", {
        /**
         * Gives the widget object for this `clr-datagrid`.
         */
        get: /**
         * Gives the widget object for this `clr-datagrid`.
         * @return {?}
         */
        function () {
            // @ts-ignore
            return this.locatorDriver.findWidget(ClrDatagridWidgetObject);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(VcdDatagridWidgetObject.prototype, "vcdDatagrid", {
        /**
         * Unwraps the `vcd-datagrid`
         */
        get: /**
         * Unwraps the `vcd-datagrid`
         * @return {?}
         */
        function () {
            return this.locatorDriver.unwrap();
        },
        enumerable: true,
        configurable: true
    });
    VcdDatagridWidgetObject.tagName = "vcd-datagrid";
    return VcdDatagridWidgetObject;
}(BaseWidgetObject));
export { VcdDatagridWidgetObject };
if (false) {
    /** @type {?} */
    VcdDatagridWidgetObject.tagName;
    /**
     * Gives the header above the grid.
     * @type {?}
     */
    VcdDatagridWidgetObject.prototype.getHeader;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmNkLWRhdGFncmlkLndvLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHZjZC91aS1jb21wb25lbnRzLyIsInN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