dependencies dependencies cluster_AppModule cluster_AppModule_imports cluster_AppModule_bootstrap cluster_AppModule_declarations AccessTokenDialogComponent AccessTokenDialogComponent AppModule AppModule AccessTokenDialogComponent->AppModule AppComponent AppComponent AppComponent->AppModule CommentComponent CommentComponent CommentComponent->AppModule ComponentContextMenuComponent ComponentContextMenuComponent ComponentContextMenuComponent->AppModule CreateComponentDialogComponent CreateComponentDialogComponent CreateComponentDialogComponent->AppModule CreateEditLabelDialogComponent CreateEditLabelDialogComponent CreateEditLabelDialogComponent->AppModule CreateInterfaceDialogComponent CreateInterfaceDialogComponent CreateInterfaceDialogComponent->AppModule CreateIssueDialogComponent CreateIssueDialogComponent CreateIssueDialogComponent->AppModule CreateProjectDialogComponent CreateProjectDialogComponent CreateProjectDialogComponent->AppModule FrameComponent FrameComponent FrameComponent->AppModule IssueContentsComponent IssueContentsComponent IssueContentsComponent->AppModule IssueDetailComponent IssueDetailComponent IssueDetailComponent->AppModule LinkedIssueItemComponent LinkedIssueItemComponent LinkedIssueItemComponent->AppModule LoginComponent LoginComponent LoginComponent->AppModule MarkdownEditorComponent MarkdownEditorComponent MarkdownEditorComponent->AppModule MarkdownPreviewComponent MarkdownPreviewComponent MarkdownPreviewComponent->AppModule NodeDetailsComponent NodeDetailsComponent NodeDetailsComponent->AppModule NodeDetailsPageComponent NodeDetailsPageComponent NodeDetailsPageComponent->AppModule ProfileSettingsDialogComponent ProfileSettingsDialogComponent ProfileSettingsDialogComponent->AppModule ProjectListComponent ProjectListComponent ProjectListComponent->AppModule ProjectOverviewComponent ProjectOverviewComponent ProjectOverviewComponent->AppModule RegisterComponent RegisterComponent RegisterComponent->AppModule RemoveDialogComponent RemoveDialogComponent RemoveDialogComponent->AppModule RemoveProjectMemberComponentComponent RemoveProjectMemberComponentComponent RemoveProjectMemberComponentComponent->AppModule SettingsDialogComponent SettingsDialogComponent SettingsDialogComponent->AppModule SideNavComponent SideNavComponent SideNavComponent->AppModule TextDisplayComponent TextDisplayComponent TextDisplayComponent->AppModule TimelineCoalescedItemsDirective TimelineCoalescedItemsDirective TimelineCoalescedItemsDirective->AppModule TimelineComponent TimelineComponent TimelineComponent->AppModule TimelineEventAddedArtifactComponent TimelineEventAddedArtifactComponent TimelineEventAddedArtifactComponent->AppModule TimelineEventAddedNfcComponent TimelineEventAddedNfcComponent TimelineEventAddedNfcComponent->AppModule TimelineEventAddedToComponentComponent TimelineEventAddedToComponentComponent TimelineEventAddedToComponentComponent->AppModule TimelineEventAddedToLocationComponent TimelineEventAddedToLocationComponent TimelineEventAddedToLocationComponent->AppModule TimelineEventAssignedComponent TimelineEventAssignedComponent TimelineEventAssignedComponent->AppModule TimelineEventCategoryChangedComponent TimelineEventCategoryChangedComponent TimelineEventCategoryChangedComponent->AppModule TimelineEventClosedComponent TimelineEventClosedComponent TimelineEventClosedComponent->AppModule TimelineEventDeletedIssueCommentComponent TimelineEventDeletedIssueCommentComponent TimelineEventDeletedIssueCommentComponent->AppModule TimelineEventDueDateChangedComponent TimelineEventDueDateChangedComponent TimelineEventDueDateChangedComponent->AppModule TimelineEventEstimatedTimeChangedComponent TimelineEventEstimatedTimeChangedComponent TimelineEventEstimatedTimeChangedComponent->AppModule TimelineEventLabelledComponent TimelineEventLabelledComponent TimelineEventLabelledComponent->AppModule TimelineEventLinkComponent TimelineEventLinkComponent TimelineEventLinkComponent->AppModule TimelineEventMarkedDuplicateComponent TimelineEventMarkedDuplicateComponent TimelineEventMarkedDuplicateComponent->AppModule TimelineEventPinnedComponent TimelineEventPinnedComponent TimelineEventPinnedComponent->AppModule TimelineEventPriorityChangedComponent TimelineEventPriorityChangedComponent TimelineEventPriorityChangedComponent->AppModule TimelineEventReferencedByIssueComponent TimelineEventReferencedByIssueComponent TimelineEventReferencedByIssueComponent->AppModule TimelineEventReferencedByOtherComponent TimelineEventReferencedByOtherComponent TimelineEventReferencedByOtherComponent->AppModule TimelineEventRemovedArtifactComponent TimelineEventRemovedArtifactComponent TimelineEventRemovedArtifactComponent->AppModule TimelineEventRemovedFromComponentComponent TimelineEventRemovedFromComponentComponent TimelineEventRemovedFromComponentComponent->AppModule TimelineEventRemovedFromLocationComponent TimelineEventRemovedFromLocationComponent TimelineEventRemovedFromLocationComponent->AppModule TimelineEventRemovedNfcComponent TimelineEventRemovedNfcComponent TimelineEventRemovedNfcComponent->AppModule TimelineEventRenamedComponent TimelineEventRenamedComponent TimelineEventRenamedComponent->AppModule TimelineEventReopenedComponent TimelineEventReopenedComponent TimelineEventReopenedComponent->AppModule TimelineEventStartDateChangedComponent TimelineEventStartDateChangedComponent TimelineEventStartDateChangedComponent->AppModule TimelineEventUnassignedComponent TimelineEventUnassignedComponent TimelineEventUnassignedComponent->AppModule TimelineEventUnlabelledComponent TimelineEventUnlabelledComponent TimelineEventUnlabelledComponent->AppModule TimelineEventUnlinkComponent TimelineEventUnlinkComponent TimelineEventUnlinkComponent->AppModule TimelineEventUnmarkedDuplicateComponent TimelineEventUnmarkedDuplicateComponent TimelineEventUnmarkedDuplicateComponent->AppModule TimelineEventUnpinnedComponent TimelineEventUnpinnedComponent TimelineEventUnpinnedComponent->AppModule TimelineEventWasLinkedComponent TimelineEventWasLinkedComponent TimelineEventWasLinkedComponent->AppModule TimelineEventWasUnlinkedComponent TimelineEventWasUnlinkedComponent TimelineEventWasUnlinkedComponent->AppModule TimelineItemComponent TimelineItemComponent TimelineItemComponent->AppModule TimelineItemDeletedDirective TimelineItemDeletedDirective TimelineItemDeletedDirective->AppModule TimelineSingleItemDirective TimelineSingleItemDirective TimelineSingleItemDirective->AppModule TopToolbarComponent TopToolbarComponent TopToolbarComponent->AppModule AppComponent AppComponent AppModule->AppComponent AppRoutingModule AppRoutingModule AppRoutingModule->AppModule GraphQLModule GraphQLModule GraphQLModule->AppModule GraphsModule GraphsModule GraphsModule->AppModule

File

src/app/app.module.ts

Declarations

Bootstrap

import {BrowserModule} from '@angular/platform-browser';
import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from '@angular/core';
import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {LayoutModule} from '@angular/cdk/layout';
import {MatToolbarModule} from '@angular/material/toolbar';
import {MatButtonModule} from '@angular/material/button';
import {MatSidenavModule} from '@angular/material/sidenav';
import {MatIconModule} from '@angular/material/icon';
import {MatListModule} from '@angular/material/list';
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
import {MatDialogModule} from '@angular/material/dialog';
import {MatTabsModule} from '@angular/material/tabs';
import {ProjectListComponent} from './project-list-component/project-list.component';
import {ProjectOverviewComponent} from './project-overview/project-overview.component';
import {TopToolbarComponent} from './top-toolbar/top-toolbar.component';
import {SideNavComponent} from './side-nav/side-nav.component';
import {GraphQLModule} from './graphql.module';
import {HttpClientModule} from '@angular/common/http';
import {IssueDetailComponent} from './issue-detail/issue-detail.component';
import {GraphsModule} from './graphs/graphs.module';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {NZ_ICONS} from 'ng-zorro-antd/icon';
import {en_US, NZ_I18N} from 'ng-zorro-antd/i18n';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import * as AllIcons from '@ant-design/icons-angular/icons';
import {IconDefinition} from '@ant-design/icons-angular';
import {CommonModule, registerLocaleData} from '@angular/common';
import en from '@angular/common/locales/en';
import {LoginComponent} from './login/login.component';
import {FrameComponent} from './frame/frame.component';
import {RegisterComponent} from './register/register.component';
import {CreateProjectDialogComponent} from 'src/app/dialogs/create-project-dialog/create-project-dialog.component';
import {MatInputModule} from '@angular/material/input';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatSelectModule} from '@angular/material/select';
import {MatExpansionModule} from '@angular/material/expansion';
import {GlobalConfig, ToastrModule} from 'ngx-toastr';
import {RemoveDialogComponent} from './dialogs/remove-dialog/remove-dialog.component';
import {CreateComponentDialogComponent} from './dialogs/create-component-dialog/create-component-dialog.component';
import {CreateInterfaceDialogComponent} from './dialogs/create-interface-dialog/create-interface-dialog.component';
import {CreateIssueDialogComponent} from './dialogs/create-issue-dialog/create-issue-dialog.component';
import {NgSelectModule} from '@ng-select/ng-select';
import {NgOptionHighlightModule} from '@ng-select/ng-option-highlight';
import {ColorPickerModule} from 'ngx-color-picker';
import {CreateEditLabelDialogComponent} from '@app/dialogs/create-label-dialog/create-edit-label-dialog.component';
import {RemoveProjectMemberComponentComponent} from './dialogs/remove-project-member-component/remove-project-member-component.component';
import {PortalModule} from '@angular/cdk/portal';
import {ComponentContextMenuComponent} from '@app/graphs/component-context-menu/component-context-menu.component';
import {NodeDetailsComponent} from '@app/node-details/node-details.component';
import {MonacoEditorModule} from 'ngx-monaco-editor';
import {MarkdownEditorComponent} from './markdown/markdown-editor/markdown-editor.component';
import {MarkdownModule} from 'ngx-markdown';
import {MarkdownPreviewComponent} from './markdown/markdown-preview/markdown-preview.component';
import {TimelineComponent} from './issue-detail/timeline/timeline.component';
import {CommentComponent} from './issue-detail/comment/comment.component';
import {NodeDetailsPageComponent} from '@app/node-details-page/node-details-page.component';
import {TextDisplayComponent} from '@app/text-display/text-display.component';
import {MatButtonToggleModule} from '@angular/material/button-toggle';
import {IssueContentsComponent} from '@app/issue-detail/issue-contents.component';
import {LinkedIssueItemComponent} from '@app/issue-detail/linked-issue-item.component';
import {SettingsDialogComponent} from '@app/dialogs/settings-dialog/settings-dialog.component';
import {ProfileSettingsDialogComponent} from './dialogs/profile-settings-dialog/profile-settings-dialog.component';
import {AccessTokenDialogComponent} from './dialogs/access-token-dialog/access-token-dialog.component';
import {
  TimelineCoalescedItemsDirective,
  TimelineItemComponent,
  TimelineItemDeletedDirective,
  TimelineSingleItemDirective
} from '@app/issue-detail/timeline/coalesced/timeline-item.component';
import {TimelineEventClosedComponent} from '@app/issue-detail/timeline/items/timeline-event-closed.component';
import {TimelineEventAssignedComponent} from '@app/issue-detail/timeline/items/timeline-event-assigned.component';
import {TimelineEventDueDateChangedComponent} from '@app/issue-detail/timeline/items/timeline-event-due-date-changed.component';
import {TimelineEventEstimatedTimeChangedComponent} from '@app/issue-detail/timeline/items/timeline-event-estimated-time-changed.component';
import {TimelineEventLabelledComponent} from '@app/issue-detail/timeline/items/timeline-event-labelled.component';
import {TimelineEventDeletedIssueCommentComponent} from '@app/issue-detail/timeline/items/timeline-event-deleted-issue-comment.component';
import {TimelineEventMarkedDuplicateComponent} from '@app/issue-detail/timeline/items/timeline-event-marked-duplicate.component';
import {TimelineEventLinkComponent} from '@app/issue-detail/timeline/items/timeline-event-link.component';
import {TimelineEventPinnedComponent} from '@app/issue-detail/timeline/items/timeline-event-pinned.component';
import {TimelineEventReferencedByIssueComponent} from '@app/issue-detail/timeline/items/timeline-event-referenced-by-issue.component';
import {TimelineEventPriorityChangedComponent} from '@app/issue-detail/timeline/items/timeline-event-priority-changed.component';
import {TimelineEventRemovedFromComponentComponent} from '@app/issue-detail/timeline/items/timeline-event-removed-from-component.component';
import {TimelineEventReferencedByOtherComponent} from '@app/issue-detail/timeline/items/timeline-event-referenced-by-other.component';
import {TimelineEventRemovedFromLocationComponent} from '@app/issue-detail/timeline/items/timeline-event-removed-from-location.component';
import {TimelineEventReopenedComponent} from '@app/issue-detail/timeline/items/timeline-event-reopened.component';
import {TimelineEventStartDateChangedComponent} from '@app/issue-detail/timeline/items/timeline-event-start-date-changed.component';
import {TimelineEventUnassignedComponent} from '@app/issue-detail/timeline/items/timeline-event-unassigned.component';
import {TimelineEventRenamedComponent} from '@app/issue-detail/timeline/items/timeline-event-renamed.component';
import {TimelineEventUnlabelledComponent} from '@app/issue-detail/timeline/items/timeline-event-unlabelled.component';
import {TimelineEventWasLinkedComponent} from '@app/issue-detail/timeline/items/timeline-event-was-linked.component';
import {TimelineEventUnmarkedDuplicateComponent} from '@app/issue-detail/timeline/items/timeline-event-unmarked-duplicate.component';
import {TimelineEventWasUnlinkedComponent} from '@app/issue-detail/timeline/items/timeline-event-was-unlinked.component';
import {TimelineEventUnpinnedComponent} from '@app/issue-detail/timeline/items/timeline-event-unpinned.component';
import {TimelineEventUnlinkComponent} from '@app/issue-detail/timeline/items/timeline-event-unlink.component';
import {TimelineEventAddedArtifactComponent} from '@app/issue-detail/timeline/items/timeline-event-added-artifact.component';
import {TimelineEventRemovedArtifactComponent} from '@app/issue-detail/timeline/items/timeline-event-removed-artifact.component';
import {TimelineEventAddedNfcComponent} from '@app/issue-detail/timeline/items/timeline-event-added-nfc.component';
import {TimelineEventRemovedNfcComponent} from '@app/issue-detail/timeline/items/timeline-event-removed-nfc.component';
import {TimelineEventAddedToComponentComponent} from '@app/issue-detail/timeline/items/timeline-event-added-to-component.component';
import {TimelineEventCategoryChangedComponent} from '@app/issue-detail/timeline/items/timeline-event-category-changed.component';
import {TimelineEventAddedToLocationComponent} from '@app/issue-detail/timeline/items/timeline-event-added-to-location.component';

registerLocaleData(en);
const antDesignIcons = AllIcons as {
  [key: string]: IconDefinition;
};
const icons: IconDefinition[] = Object.keys(antDesignIcons).map((key) => antDesignIcons[key]);

// configuration for toasts, the toastrservice is configured in graphql.module.ts
const toasterConfig: Partial<GlobalConfig> = {
  maxOpened: 4,
  autoDismiss: true
};

@NgModule({
  declarations: [
    AppComponent,
    ProjectListComponent,
    ProjectOverviewComponent,
    TopToolbarComponent,
    SideNavComponent,
    IssueDetailComponent,
    LoginComponent,
    FrameComponent,
    RegisterComponent,
    CreateProjectDialogComponent,
    RemoveDialogComponent,
    CreateComponentDialogComponent,
    CreateInterfaceDialogComponent,
    CreateIssueDialogComponent,
    CreateEditLabelDialogComponent,
    RemoveProjectMemberComponentComponent,
    ComponentContextMenuComponent,
    NodeDetailsComponent,
    NodeDetailsPageComponent,
    MarkdownEditorComponent,
    MarkdownPreviewComponent,
    TimelineComponent,
    CommentComponent,
    TextDisplayComponent,
    IssueContentsComponent,
    LinkedIssueItemComponent,
    SettingsDialogComponent,
    ProfileSettingsDialogComponent,
    AccessTokenDialogComponent,
    TimelineItemComponent,
    TimelineSingleItemDirective,
    TimelineCoalescedItemsDirective,
    TimelineItemDeletedDirective,
    TimelineEventClosedComponent,
    TimelineEventAssignedComponent,
    TimelineEventDueDateChangedComponent,
    TimelineEventEstimatedTimeChangedComponent,
    TimelineEventLabelledComponent,
    TimelineEventDeletedIssueCommentComponent,
    TimelineEventMarkedDuplicateComponent,
    TimelineEventLinkComponent,
    TimelineEventPinnedComponent,
    TimelineEventReferencedByIssueComponent,
    TimelineEventPriorityChangedComponent,
    TimelineEventRemovedFromComponentComponent,
    TimelineEventReferencedByOtherComponent,
    TimelineEventRemovedFromLocationComponent,
    TimelineEventReopenedComponent,
    TimelineEventStartDateChangedComponent,
    TimelineEventRenamedComponent,
    TimelineEventUnassignedComponent,
    TimelineEventUnlabelledComponent,
    TimelineEventWasLinkedComponent,
    TimelineEventUnmarkedDuplicateComponent,
    TimelineEventWasUnlinkedComponent,
    TimelineEventUnpinnedComponent,
    TimelineEventUnlinkComponent,
    TimelineEventAddedArtifactComponent,
    TimelineEventRemovedArtifactComponent,
    TimelineEventAddedNfcComponent,
    TimelineEventRemovedNfcComponent,
    TimelineEventAddedToComponentComponent,
    TimelineEventCategoryChangedComponent,
    TimelineEventAddedToLocationComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    ToastrModule.forRoot(toasterConfig),
    LayoutModule,
    MatToolbarModule,
    MatButtonModule,
    MatSidenavModule,
    MatIconModule,
    MatListModule,
    MatInputModule,
    MatSelectModule,
    MatFormFieldModule,
    MatTabsModule,
    MatSlideToggleModule,
    GraphQLModule,
    HttpClientModule,
    GraphsModule,
    MatDialogModule,
    FormsModule,
    ReactiveFormsModule,
    NgZorroAntdModule,
    NgSelectModule,
    CommonModule,
    NgOptionHighlightModule,
    ColorPickerModule,
    MatExpansionModule,
    PortalModule,
    MonacoEditorModule.forRoot(),
    MarkdownModule.forRoot(),
    MatButtonToggleModule
  ],
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  providers: [
    {provide: NZ_I18N, useValue: en_US},
    {provide: NZ_ICONS, useValue: icons}
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

results matching ""

    No results matching ""