/**
 * @fileoverview added by tsickle
 * Generated from: utils/test/activity-reporter/banner-activity-reporter.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 { WidgetObject } from '../widget-object';
var BannerActivityReporterWidgetObject = /** @class */ (function (_super) {
    __extends(BannerActivityReporterWidgetObject, _super);
    function BannerActivityReporterWidgetObject() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Object.defineProperty(BannerActivityReporterWidgetObject.prototype, "running", {
        get: /**
         * @return {?}
         */
        function () {
            return this.component.running;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(BannerActivityReporterWidgetObject.prototype, "errorText", {
        get: /**
         * @return {?}
         */
        function () {
            return this.component.errorText;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(BannerActivityReporterWidgetObject.prototype, "sucessText", {
        get: /**
         * @return {?}
         */
        function () {
            return this.component.successMessage;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(BannerActivityReporterWidgetObject.prototype, "loadingText", {
        get: /**
         * @return {?}
         */
        function () {
            return this.findElement('clr-alert').nativeElement.textContent;
        },
        enumerable: true,
        configurable: true
    });
    BannerActivityReporterWidgetObject.tagName = 'vcd-banner-activity-reporter';
    return BannerActivityReporterWidgetObject;
}(WidgetObject));
export { BannerActivityReporterWidgetObject };
if (false) {
    /** @type {?} */
    BannerActivityReporterWidgetObject.tagName;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFubmVyLWFjdGl2aXR5LXJlcG9ydGVyLndvLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHZjZC91aS1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsidXRpbHMvdGVzdC9hY3Rpdml0eS1yZXBvcnRlci9iYW5uZXItYWN0aXZpdHktcmVwb3J0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