import { FundsPage } from './FundsPage';
import { BackupCodesPage } from './BackupCodesPage';
var DashboardPage = /** @class */ (function () {
    function DashboardPage(wrapper) {
        this.wrapper = wrapper;
    }
    DashboardPage.prototype.funds = function () {
        var _a;
        this.fundsPage = (_a = this.fundsPage, (_a !== null && _a !== void 0 ? _a : new FundsPage(this.wrapper)));
        return this.fundsPage;
    };
    DashboardPage.prototype.backupCodes = function () {
        var _a;
        this.backupCodesPage = (_a = this.backupCodesPage, (_a !== null && _a !== void 0 ? _a : new BackupCodesPage(this.wrapper)));
        return this.backupCodesPage;
    };
    DashboardPage.prototype.clickInitButton = function () {
        var uButton = this.wrapper.find('.udashboard-logo-btn');
        uButton.simulate('click');
    };
    DashboardPage.prototype.clickBackupCodesTab = function () {
        var backupLink = this.wrapper.find('a.udashboard-tab-backup').first();
        backupLink.simulate('click', { button: 0 });
    };
    DashboardPage.prototype.getGasParameters = function () {
        return this.wrapper.find('.transaction-fee-amount');
    };
    return DashboardPage;
}());
export { DashboardPage };
//# sourceMappingURL=DashboardPage.js.map