/**
 * @fileoverview added by tsickle
 * Generated from: data-exporter/data-exporter.wo.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { __extends } from "tslib";
/*!
 * Copyright 2019-2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { BaseWidgetObject } from '../utils/test/widget-object/widget-object';
/**
 * Testing Object for {\@link DataExporterComponent}
 * @template T
 */
var DataExporterWidgetObject = /** @class */ (function (_super) {
    __extends(DataExporterWidgetObject, _super);
    function DataExporterWidgetObject() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        /**
         * The strings for the available column bubbles.
         */
        _this.getColumnBubbles = _this.locatorForCssSelectors('.column-container .column-label');
        /**
         * The strings for the available column checkboxes.
         */
        _this.getColumnCheckboxes = _this.locatorForCssSelectors('li .column-checkbox');
        /**
         * Gets the cancel button.
         */
        _this.getCancelButton = _this.locatorForCssSelectors('.cancel');
        /**
         * Gets the export button.
         */
        _this.getExportButton = _this.locatorForText('button', 'export');
        /**
         * Gets the arrow to open/close the column dropdown.
         */
        _this.getColumnDropdown = _this.locatorForCssSelectors('.dropdown-button');
        /**
         * Gets the export all switch
         */
        _this.getToggleSelectAll = _this.locatorForCssSelectors('.export-all');
        /**
         * Gets the sanitization switch
         */
        _this.getToggleSanitize = _this.locatorForCssSelectors('.sanitize-cells');
        /**
         * Gets the friendly field names switch
         */
        _this.getToggleFriendlyNames = _this.locatorForCssSelectors('.friendly-names');
        /**
         * Gets the progress bar.
         */
        _this.getProgress = _this.locatorForCssSelectors('progress');
        return _this;
    }
    /**
     * Gets the checkbox next to a given column
     * @param index Index of column, 0 based
     */
    /**
     * Gets the checkbox next to a given column
     * @param {?} index Index of column, 0 based
     * @return {?}
     */
    DataExporterWidgetObject.prototype.getColumnCheckbox = /**
     * Gets the checkbox next to a given column
     * @param {?} index Index of column, 0 based
     * @return {?}
     */
    function (index) {
        return this.locatorDriver.get(".dropdown-item:nth-of-type(" + (index + 1) + ")  .column-checkbox input").unwrap();
    };
    DataExporterWidgetObject.tagName = 'vcd-data-exporter';
    return DataExporterWidgetObject;
}(BaseWidgetObject));
export { DataExporterWidgetObject };
if (false) {
    /** @type {?} */
    DataExporterWidgetObject.tagName;
    /**
     * The strings for the available column bubbles.
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getColumnBubbles;
    /**
     * The strings for the available column checkboxes.
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getColumnCheckboxes;
    /**
     * Gets the cancel button.
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getCancelButton;
    /**
     * Gets the export button.
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getExportButton;
    /**
     * Gets the arrow to open/close the column dropdown.
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getColumnDropdown;
    /**
     * Gets the export all switch
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getToggleSelectAll;
    /**
     * Gets the sanitization switch
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getToggleSanitize;
    /**
     * Gets the friendly field names switch
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getToggleFriendlyNames;
    /**
     * Gets the progress bar.
     * @type {?}
     */
    DataExporterWidgetObject.prototype.getProgress;
}
//# sourceMappingURL=data:application/json;base64, 