app.module.js 10.4 KB
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1 = require('@angular/core');
var platform_browser_1 = require('@angular/platform-browser');
var router_1 = require('@angular/router');
var http_1 = require('@angular/http');
var forms_1 = require('@angular/forms');
var app_component_1 = require('./app.component');
var site_menu_component_1 = require('./shared/site-menu.component');
var site_footer_component_1 = require('./shared/site-footer.component');
var update_password_component_1 = require('./pages/update-password.component');
var dashboard_component_1 = require('./pages/dashboard.component');
var admin_update_profile_component_1 = require('./pages/admin-update-profile.component');
var admin_change_password_component_1 = require('./pages/admin-change-password.component');
var admin_change_user_id_component_1 = require('./pages/admin-change-user-id.component');
var admin_search_license_component_1 = require('./pages/admin-search-license.component');
var admin_add_new_license_component_1 = require('./pages/admin-add-new-license.component');
var admin_setup_test_account_component_1 = require('./pages/admin-setup-test-account.component');
var admin_manage_discount_code_component_1 = require('./pages/admin-manage-discount-code.component');
var admin_subscription_price_component_1 = require('./pages/admin-subscription-price.component');
var admin_list_user_component_1 = require('./pages/admin-list-user.component');
var admin_add_user_component_1 = require('./pages/admin-add-user.component');
var admin_unblock_user_component_1 = require('./pages/admin-unblock-user.component');
var admin_user_group_component_1 = require('./pages/admin-user-group.component');
var admin_usage_report_component_1 = require('./pages/admin-usage-report.component');
var customer_summary_report_component_1 = require('./pages/customer-summary-report.component');
var admin_expiring_subscription_report_component_1 = require('./pages/admin-expiring-subscription-report.component');
var admin_new_subscription_report_component_1 = require('./pages/admin-new-subscription-report.component');
var admin_subscription_cancellation_report_component_1 = require('./pages/admin-subscription-cancellation-report.component');
var admin_net_ad_subscription_report_component_1 = require('./pages/admin-net-ad-subscription-report.component');
var admin_site_license_usage_report_component_1 = require('./pages/admin-site-license-usage-report.component');
var admin_discount_code_report_component_1 = require('./pages/admin-discount-code-report.component');
var admin_image_export_report_component_1 = require('./pages/admin-image-export-report.component');
var admin_add_building_level_account_component_1 = require('./pages/admin-add-building-level-account.component');
var admin_add_building_level_account1_component_1 = require('./pages/admin-add-building-level-account1.component');
var admin_view_update_profile_component_1 = require('./pages/admin-view-update-profile.component');
var admin_manage_modesty_settings_component_1 = require('./pages/admin-manage-modesty-settings.component');
var admin_manage_module_component_1 = require('./pages/admin-manage-module.component');
var appRoutes = [
    { path: '', component: dashboard_component_1.DashboardComponent },
    { path: 'dashboard', redirectTo: '', pathMatch: 'full' },
    //{ path: 'login', component: LoginComponent },
    //{ path: 'login/:slug', component: LoginComponent }
    { path: 'admin-update-profile', component: admin_update_profile_component_1.AdminUpdateProfileComponent },
    { path: 'admin-change-password', component: admin_change_password_component_1.AdminChangePasswordComponent },
    { path: 'admin-change-user-id', component: admin_change_user_id_component_1.AdminChangeUserIdComponent },
    { path: 'admin-search-license', component: admin_search_license_component_1.AdminSearchLicenseComponent },
    { path: 'admin-add-new-license', component: admin_add_new_license_component_1.AdminAddNewLicenseComponent },
    { path: 'admin-setup-test-account', component: admin_setup_test_account_component_1.AdminSetupTestAccountComponent },
    { path: 'admin-manage-discount-code', component: admin_manage_discount_code_component_1.AdminManageDiscountCodeComponent },
    { path: 'admin-subscription-price', component: admin_subscription_price_component_1.AdminSubscriptionPriceComponent },
    { path: 'admin-list-user', component: admin_list_user_component_1.AdminListUserComponent },
    { path: 'admin-add-user', component: admin_add_user_component_1.AdminAddUserComponent },
    { path: 'admin-unblock-user', component: admin_unblock_user_component_1.AdminUnblockUserComponent },
    { path: 'admin-user-group', component: admin_user_group_component_1.AdminUserGroupComponent },
    { path: 'admin-usage-report', component: admin_usage_report_component_1.AdminUsageReportComponent },
    { path: 'customer-summary-report', component: customer_summary_report_component_1.CustomerSummaryReportComponent },
    { path: 'admin-expiring-subscription-report', component: admin_expiring_subscription_report_component_1.AdminExpiringSubscriptionReportComponent },
    { path: 'admin-new-subscription-report', component: admin_new_subscription_report_component_1.AdminNewSubscriptionReportComponent },
    { path: 'admin-subscription-cancellation-report', component: admin_subscription_cancellation_report_component_1.AdminSubscriptionCancellationReportComponent },
    { path: 'admin-net-ad-subscription-report', component: admin_net_ad_subscription_report_component_1.AdminNetAdSubscriptionReportComponent },
    { path: 'admin-site-license-usage-report', component: admin_site_license_usage_report_component_1.AdminSiteLicenseUsageReportComponent },
    { path: 'admin-discount-code-report', component: admin_discount_code_report_component_1.AdminDiscountCodeReportComponent },
    { path: 'admin-image-export-report', component: admin_image_export_report_component_1.AdminImageExportReportComponent },
    { path: 'admin-add-building-level-account', component: admin_add_building_level_account_component_1.AdminAddBuildingLevelAccountComponent },
    { path: 'admin-add-building-level-account1', component: admin_add_building_level_account1_component_1.AdminAddBuildingLevelAccount1Component },
    { path: 'admin-view-update-profile', component: admin_view_update_profile_component_1.AdminViewUpdateProfileComponent },
    { path: 'admin-manage-modesty-settings', component: admin_manage_modesty_settings_component_1.AdminManageModestySettingsComponent },
    { path: 'admin-manage-module', component: admin_manage_module_component_1.AdminManageModuleComponent }
];
var AppModule = (function () {
    function AppModule() {
    }
    AppModule = __decorate([
        core_1.NgModule({
            imports: [
                platform_browser_1.BrowserModule,
                http_1.HttpModule,
                router_1.RouterModule.forRoot(appRoutes),
                forms_1.FormsModule
            ],
            declarations: [
                app_component_1.AppComponent,
                site_menu_component_1.SiteMenuComponent,
                site_footer_component_1.SiteFooterComponent,
                dashboard_component_1.DashboardComponent,
                //LoginComponent,
                update_password_component_1.UpdatePasswordComponent,
                admin_update_profile_component_1.AdminUpdateProfileComponent,
                admin_change_password_component_1.AdminChangePasswordComponent,
                admin_change_user_id_component_1.AdminChangeUserIdComponent,
                admin_search_license_component_1.AdminSearchLicenseComponent,
                admin_add_new_license_component_1.AdminAddNewLicenseComponent,
                admin_setup_test_account_component_1.AdminSetupTestAccountComponent,
                admin_manage_discount_code_component_1.AdminManageDiscountCodeComponent,
                admin_subscription_price_component_1.AdminSubscriptionPriceComponent,
                admin_list_user_component_1.AdminListUserComponent,
                admin_add_user_component_1.AdminAddUserComponent,
                admin_unblock_user_component_1.AdminUnblockUserComponent,
                admin_user_group_component_1.AdminUserGroupComponent,
                admin_usage_report_component_1.AdminUsageReportComponent,
                customer_summary_report_component_1.CustomerSummaryReportComponent,
                admin_expiring_subscription_report_component_1.AdminExpiringSubscriptionReportComponent,
                admin_new_subscription_report_component_1.AdminNewSubscriptionReportComponent,
                admin_subscription_cancellation_report_component_1.AdminSubscriptionCancellationReportComponent,
                admin_net_ad_subscription_report_component_1.AdminNetAdSubscriptionReportComponent,
                admin_site_license_usage_report_component_1.AdminSiteLicenseUsageReportComponent,
                admin_discount_code_report_component_1.AdminDiscountCodeReportComponent,
                admin_image_export_report_component_1.AdminImageExportReportComponent,
                admin_add_building_level_account_component_1.AdminAddBuildingLevelAccountComponent,
                admin_add_building_level_account1_component_1.AdminAddBuildingLevelAccount1Component,
                admin_view_update_profile_component_1.AdminViewUpdateProfileComponent,
                admin_manage_modesty_settings_component_1.AdminManageModestySettingsComponent,
                admin_manage_module_component_1.AdminManageModuleComponent
            ],
            bootstrap: [app_component_1.AppComponent]
        }), 
        __metadata('design:paramtypes', [])
    ], AppModule);
    return AppModule;
}());
exports.AppModule = AppModule;
//# sourceMappingURL=app.module.js.map