How to use the @ng-bootstrap/ng-bootstrap.NgbModule function in @ng-bootstrap/ng-bootstrap

To help you get started, we’ve selected a few @ng-bootstrap/ng-bootstrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / modules / notification / modules / modals / modals.module.js View on Github external
var ModalsModule = /** @class */ (function () {
    function ModalsModule() {
    }
    ModalsModule = __decorate([
        core_1.NgModule({
            imports: [
                // MODULE IMPORTS
                ng_bootstrap_1.NgbModule.forRoot(),
                platform_browser_1.BrowserModule
            ],
            declarations: [
                // COMPONENTS IN THIS MODULE
                confirmation_modal_content_component_1.ConfirmationModalContent,
                error_modal_content_component_1.ErrorModalContent
            ],
            exports: [],
            providers: [
                // SERVICES
                confirmation_modal_service_1.ConfirmationModal,
                error_notification_modal_service_1.ErrorNotificationModalService
            ],
            bootstrap: [],
            entryComponents: [
                // ENTRY POINTS
github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / modules / views / side / modules / properties-editor / properties-editor.module.js View on Github external
var PropertiesEditorModule = /** @class */ (function () {
    function PropertiesEditorModule() {
    }
    PropertiesEditorModule = __decorate([
        core_1.NgModule({
            imports: [
                // MODULE IMPORTS
                platform_browser_1.BrowserModule,
                generic_form_module_1.GenericFormModule,
                navigator_module_1.NavigatorModule,
                ng_bootstrap_1.NgbModule.forRoot(),
                forms_1.FormsModule,
                forms_1.ReactiveFormsModule,
                icons_module_1.IconsModule
            ],
            declarations: [
                // COMPONENTS IN THIS MODULE
                properties_editor_component_1.PropertiesEditor,
                tracing_links_component_1.TracingLinks,
                tracing_link_component_1.TracingLink
            ],
            exports: [
                // THE COMPONENTS VISIBLE TO THE OUTSIDE
                properties_editor_component_1.PropertiesEditor
            ],
            providers: [],
            bootstrap: []
github RobertDyball / A2SPA / VS2017 / A2SPA / wwwroot / app / app.module.js View on Github external
var forms_1 = require("@angular/forms");
var http_1 = require("@angular/http");
var sampleData_service_1 = require("./services/sampleData.service");
var auth_service_1 = require("./security/auth.service");
var auth_guard_service_1 = require("./security/auth-guard.service");
require("./rxjs-operators");
var ng_bootstrap_1 = require("@ng-bootstrap/ng-bootstrap");
// enableProdMode();
var AppModule = (function () {
    function AppModule() {
    }
    return AppModule;
}());
AppModule = __decorate([
    core_1.NgModule({
        imports: [ng_bootstrap_1.NgbModule.forRoot(), animations_1.BrowserAnimationsModule, platform_browser_1.BrowserModule, forms_1.FormsModule, http_1.HttpModule, app_routing_1.routing],
        declarations: [app_component_1.AppComponent, app_routing_1.routedComponents],
        providers: [sampleData_service_1.SampleDataService,
            auth_service_1.AuthService,
            auth_guard_service_1.AuthGuard, platform_browser_1.Title, { provide: common_1.APP_BASE_HREF, useValue: '/a2spa' }],
        bootstrap: [app_component_1.AppComponent]
    })
], AppModule);
exports.AppModule = AppModule;
//# sourceMappingURL=app.module.js.map
github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / modules / views / main / static / modules / page-not-found / page-not-found.module.js View on Github external
var PageNotFoundModule = (function () {
    function PageNotFoundModule() {
    }
    PageNotFoundModule = __decorate([
        core_1.NgModule({
            imports: [
                // MODULE IMPORTS
                ng_bootstrap_1.NgbModule
            ],
            declarations: [
                // COMPONENTS IN THIS MODULE
                page_not_found_component_1.PageNotFound
            ],
            exports: [
                // THE COMPONENTS VISIBLE TO THE OUTSIDE
                page_not_found_component_1.PageNotFound
            ],
            providers: [],
            bootstrap: []
        })
    ], PageNotFoundModule);
    return PageNotFoundModule;
}());
exports.PageNotFoundModule = PageNotFoundModule;
github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / components / core / core.module.js View on Github external
var CoreModule = (function () {
    function CoreModule() {
    }
    CoreModule = __decorate([
        core_1.NgModule({
            imports: [
                platform_browser_1.BrowserModule,
                router_1.RouterModule,
                pipe_module_1.PipeModule,
                forms_1.FormsModule,
                forms_1.ReactiveFormsModule,
                ng_bootstrap_1.NgbModule
            ],
            declarations: [
                navigation_bar_component_1.NavigationBar,
                project_explorer_component_1.ProjectExplorer,
                element_tree_component_1.ElementTree,
                operation_monitor_component_1.OperationMonitor,
                common_controls_component_1.CommonControls,
                log_list_component_1.LogList,
                log_entry_component_1.LogEntry,
                navigation_target_directive_1.NavigationTargetDirective,
                confirmation_modal_content_component_1.ConfirmationModalContent,
                error_modal_content_component_1.ErrorModalContent,
                test_specification_generator_button_component_1.TestSpecificationGeneratorButton
            ],
            providers: [],
            bootstrap: [],
github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / specmate.module.js View on Github external
function SpecmateModule() {
    }
    SpecmateModule = __decorate([
        core_1.NgModule({
            imports: [
                forms_1.FormsModule,
                http_1.HttpModule,
                pages_module_1.PagesModule,
                core_module_1.CoreModule,
                specmate_forms_module_1.SpecmateFormsModule,
                requirements_module_1.RequirementsModule,
                tests_module_1.TestsModule,
                processes_module_1.ProcessesModule,
                specmate_routing_module_1.SpecmateRoutingModule,
                angular_split_1.AngularSplitModule,
                ng_bootstrap_1.NgbModule.forRoot(),
                ng2_dragula_1.DragulaModule
            ],
            declarations: [
                specmate_component_1.SpecmateComponent
            ],
            providers: [
                specmate_data_service_1.SpecmateDataService,
                editor_common_control_service_1.EditorCommonControlService,
                navigator_service_1.NavigatorService,
                logging_service_1.LoggingService,
                confirmation_modal_service_1.ConfirmationModal,
                error_notification_modal_service_1.ErrorNotificationModalService,
                view_controller_service_1.ViewControllerService,
                unsaved_changes_guard_1.UnsavedChangesGuard
            ],
            bootstrap: [