/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import * as tslib_1 from "tslib";
import { IgxExporterOptionsBase } from '../exporter-common/exporter-options-base';
/**
 * Objects of this class are used to configure the Excel exporting process.
 */
var /**
 * Objects of this class are used to configure the Excel exporting process.
 */
IgxExcelExporterOptions = /** @class */ (function (_super) {
    tslib_1.__extends(IgxExcelExporterOptions, _super);
    function IgxExcelExporterOptions(fileName) {
        var _this = _super.call(this, fileName, '.xlsx') || this;
        /**
         * Specifies if column pinning should be ignored. If ignoreColumnsOrder is set to true,
         * this option will always be considered as set to true.
         * ```typescript
         * let ignorePinning = this.exportOptions.ignorePinning;
         * this.exportOptions.ignorePinning = true;
         * ```
         * \@memberof IgxExcelExporterOptions
         */
        _this.ignorePinning = false;
        /**
         * Specifies whether the exported data should be formatted as Excel table. (True by default)
         * ```typescript
         * let exportAsTable = this.exportOptions.exportAsTable;
         * this.exportOptions.exportAsTable = false;
         * ```
         * \@memberof IgxExcelExporterOptions
         */
        _this.exportAsTable = true;
        return _this;
    }
    Object.defineProperty(IgxExcelExporterOptions.prototype, "columnWidth", {
        /**
         * Gets the width of the columns in the exported excel file.
         * ```typescript
         * let width = this.exportOptions.columnWidth;
         * ```
         * @memberof IgxExcelExporterOptions
         */
        get: /**
         * Gets the width of the columns in the exported excel file.
         * ```typescript
         * let width = this.exportOptions.columnWidth;
         * ```
         * \@memberof IgxExcelExporterOptions
         * @return {?}
         */
        function () {
            return this._columnWidth;
        },
        /**
         * Sets the width of the columns in the exported excel file. If left unspecified or 0,
         * the width of the largest string in the column will be used.
         * ```typescript
         * this.exportOptions.columnWidth = 55;
         * ```
         * @memberof IgxExcelExporterOptions
         */
        set: /**
         * Sets the width of the columns in the exported excel file. If left unspecified or 0,
         * the width of the largest string in the column will be used.
         * ```typescript
         * this.exportOptions.columnWidth = 55;
         * ```
         * \@memberof IgxExcelExporterOptions
         * @param {?} value
         * @return {?}
         */
        function (value) {
            if (value < 0) {
                throw Error('Invalid value for column width!');
            }
            this._columnWidth = value;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgxExcelExporterOptions.prototype, "rowHeight", {
        /**
         * Gets the height of the rows in the exported excel file.
         * ```typescript
         * let height = this.exportOptions.rowHeight;
         * ```
         * @memberof IgxExcelExporterOptions
         */
        get: /**
         * Gets the height of the rows in the exported excel file.
         * ```typescript
         * let height = this.exportOptions.rowHeight;
         * ```
         * \@memberof IgxExcelExporterOptions
         * @return {?}
         */
        function () {
            return this._rowHeight;
        },
        /**
         * Sets the height of the rows in the exported excel file. If left unspecified or 0,
         * the default height of the excel rows will be used.
         * ```typescript
         * this.exportOptions.rowHeight = 25;
         * ```
         * @memberof IgxExcelExporterOptions
         */
        set: /**
         * Sets the height of the rows in the exported excel file. If left unspecified or 0,
         * the default height of the excel rows will be used.
         * ```typescript
         * this.exportOptions.rowHeight = 25;
         * ```
         * \@memberof IgxExcelExporterOptions
         * @param {?} value
         * @return {?}
         */
        function (value) {
            if (value < 0) {
                throw Error('Invalid value for row height!');
            }
            this._rowHeight = value;
        },
        enumerable: true,
        configurable: true
    });
    return IgxExcelExporterOptions;
}(IgxExporterOptionsBase));
/**
 * Objects of this class are used to configure the Excel exporting process.
 */
export { IgxExcelExporterOptions };
if (false) {
    /**
     * @type {?}
     * @private
     */
    IgxExcelExporterOptions.prototype._columnWidth;
    /**
     * @type {?}
     * @private
     */
    IgxExcelExporterOptions.prototype._rowHeight;
    /**
     * Specifies if column pinning should be ignored. If ignoreColumnsOrder is set to true,
     * this option will always be considered as set to true.
     * ```typescript
     * let ignorePinning = this.exportOptions.ignorePinning;
     * this.exportOptions.ignorePinning = true;
     * ```
     * \@memberof IgxExcelExporterOptions
     * @type {?}
     */
    IgxExcelExporterOptions.prototype.ignorePinning;
    /**
     * Specifies whether the exported data should be formatted as Excel table. (True by default)
     * ```typescript
     * let exportAsTable = this.exportOptions.exportAsTable;
     * this.exportOptions.exportAsTable = false;
     * ```
     * \@memberof IgxExcelExporterOptions
     * @type {?}
     */
    IgxExcelExporterOptions.prototype.exportAsTable;
}
//# sourceMappingURL=data:application/json;base64, 