2017-02-17 10:55:52 +00:00
|
|
|
import { ViewArrayImpl } from "./services/view-array/view-array.impl";
|
|
|
|
import { RegexMatchViewComponent } from "./directives/ui/regex-match-view/regex-match-view.component";
|
2017-04-05 21:14:08 +00:00
|
|
|
import { NgModule } from 'ng-metadata/core';
|
|
|
|
import { QuayRoutesModule } from "./quay-routes.module";
|
2017-02-17 23:46:43 +00:00
|
|
|
import { DockerfilePathSelectComponent } from './directives/ui/dockerfile-path-select/dockerfile-path-select.component';
|
2017-03-21 21:24:11 +00:00
|
|
|
import { ContextPathSelectComponent } from './directives/ui/context-path-select/context-path-select.component';
|
2017-02-20 02:35:46 +00:00
|
|
|
import { LinearWorkflowComponent } from './directives/ui/linear-workflow/linear-workflow.component';
|
2017-02-21 23:59:26 +00:00
|
|
|
import { LinearWorkflowSectionComponent } from './directives/ui/linear-workflow/linear-workflow-section.component';
|
2017-04-05 21:14:08 +00:00
|
|
|
import { QuayConfigModule } from './quay-config.module';
|
2017-03-23 21:16:19 +00:00
|
|
|
import { AppPublicViewComponent } from './directives/ui/app-public-view/app-public-view.component';
|
|
|
|
import { VisibilityIndicatorComponent } from './directives/ui/visibility-indicator/visibility-indicator.component';
|
|
|
|
import { CorTableComponent } from './directives/ui/cor-table/cor-table.component';
|
|
|
|
import { CorTableColumn } from './directives/ui/cor-table/cor-table-col.component';
|
|
|
|
import { ChannelIconComponent } from './directives/ui/channel-icon/channel-icon.component';
|
2017-04-17 22:03:57 +00:00
|
|
|
import { TagSigningDisplayComponent } from './directives/ui/tag-signing-display/tag-signing-display.component';
|
2017-06-20 06:17:42 +00:00
|
|
|
import {
|
|
|
|
RepositorySigningConfigComponent
|
|
|
|
} from './directives/ui/repository-signing-config/repository-signing-config.component';
|
2017-04-05 18:01:55 +00:00
|
|
|
import { TimeMachineSettingsComponent } from './directives/ui/time-machine-settings/time-machine-settings.component';
|
|
|
|
import { DurationInputComponent } from './directives/ui/duration-input/duration-input.component';
|
2017-04-07 21:25:44 +00:00
|
|
|
import { SearchBoxComponent } from './directives/ui/search-box/search-box.component';
|
|
|
|
import { TypeaheadDirective } from './directives/ui/typeahead/typeahead.directive';
|
2017-03-06 04:47:23 +00:00
|
|
|
import { BuildServiceImpl } from './services/build/build.service.impl';
|
2017-03-06 08:02:57 +00:00
|
|
|
import { AvatarServiceImpl } from './services/avatar/avatar.service.impl';
|
2017-03-07 19:25:18 +00:00
|
|
|
import { DockerfileServiceImpl } from './services/dockerfile/dockerfile.service.impl';
|
2017-03-12 00:48:05 +00:00
|
|
|
import { DataFileServiceImpl } from './services/datafile/datafile.service.impl';
|
2017-04-10 18:57:09 +00:00
|
|
|
import { QuayRequireDirective } from './directives/structural/quay-require/quay-require.directive';
|
2017-05-10 21:18:37 +00:00
|
|
|
import { MarkdownInputComponent } from './directives/ui/markdown/markdown-input.component';
|
|
|
|
import { MarkdownViewComponent } from './directives/ui/markdown/markdown-view.component';
|
|
|
|
import { MarkdownToolbarComponent } from './directives/ui/markdown/markdown-toolbar.component';
|
|
|
|
import { MarkdownEditorComponent } from './directives/ui/markdown/markdown-editor.component';
|
2017-06-23 18:22:28 +00:00
|
|
|
import { DockerfileCommandComponent } from './directives/ui/dockerfile-command/dockerfile-command.component';
|
2017-06-23 18:53:02 +00:00
|
|
|
import { ImageCommandComponent } from './directives/ui/image-command/image-command.component';
|
2017-05-10 21:18:37 +00:00
|
|
|
import { BrowserPlatform, browserPlatform } from './constants/platform.constant';
|
2017-05-22 20:59:12 +00:00
|
|
|
import { ManageTriggerComponent } from './directives/ui/manage-trigger/manage-trigger.component';
|
2017-05-25 04:42:06 +00:00
|
|
|
import { ClipboardCopyDirective } from './directives/ui/clipboard-copy/clipboard-copy.directive';
|
2017-05-29 22:39:14 +00:00
|
|
|
import { CorTabsModule } from './directives/ui/cor-tabs/cor-tabs.module';
|
2017-07-12 19:09:27 +00:00
|
|
|
import { TriggerDescriptionComponent } from './directives/ui/trigger-description/trigger-description.component';
|
2017-05-10 21:18:37 +00:00
|
|
|
import { Converter, ConverterOptions } from 'showdown';
|
2017-05-25 04:42:06 +00:00
|
|
|
import * as Clipboard from 'clipboard';
|
2017-01-19 08:53:38 +00:00
|
|
|
|
2017-02-17 10:55:52 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Main application module.
|
|
|
|
*/
|
|
|
|
@NgModule({
|
2017-02-20 02:35:46 +00:00
|
|
|
imports: [
|
2017-04-05 21:14:08 +00:00
|
|
|
QuayRoutesModule,
|
|
|
|
QuayConfigModule,
|
2017-05-29 22:39:14 +00:00
|
|
|
CorTabsModule,
|
2017-02-20 02:35:46 +00:00
|
|
|
],
|
2017-02-17 10:55:52 +00:00
|
|
|
declarations: [
|
|
|
|
RegexMatchViewComponent,
|
2017-02-17 23:46:43 +00:00
|
|
|
DockerfilePathSelectComponent,
|
2017-03-21 21:24:11 +00:00
|
|
|
ContextPathSelectComponent,
|
2017-02-20 02:35:46 +00:00
|
|
|
LinearWorkflowComponent,
|
2017-02-21 23:59:26 +00:00
|
|
|
LinearWorkflowSectionComponent,
|
2017-03-23 21:16:19 +00:00
|
|
|
AppPublicViewComponent,
|
|
|
|
VisibilityIndicatorComponent,
|
|
|
|
CorTableComponent,
|
|
|
|
CorTableColumn,
|
|
|
|
ChannelIconComponent,
|
2017-04-10 18:57:09 +00:00
|
|
|
QuayRequireDirective,
|
2017-04-17 22:03:57 +00:00
|
|
|
TagSigningDisplayComponent,
|
2017-04-17 23:17:00 +00:00
|
|
|
RepositorySigningConfigComponent,
|
2017-04-05 18:01:55 +00:00
|
|
|
TimeMachineSettingsComponent,
|
|
|
|
DurationInputComponent,
|
2017-05-10 21:18:37 +00:00
|
|
|
MarkdownInputComponent,
|
|
|
|
MarkdownViewComponent,
|
|
|
|
MarkdownToolbarComponent,
|
|
|
|
MarkdownEditorComponent,
|
2017-04-07 21:25:44 +00:00
|
|
|
SearchBoxComponent,
|
2017-06-23 18:22:28 +00:00
|
|
|
DockerfileCommandComponent,
|
2017-06-23 18:53:02 +00:00
|
|
|
ImageCommandComponent,
|
2017-04-07 21:25:44 +00:00
|
|
|
TypeaheadDirective,
|
2017-05-22 20:59:12 +00:00
|
|
|
ManageTriggerComponent,
|
2017-05-25 04:42:06 +00:00
|
|
|
ClipboardCopyDirective,
|
2017-07-12 19:09:27 +00:00
|
|
|
TriggerDescriptionComponent,
|
2017-02-17 10:55:52 +00:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
ViewArrayImpl,
|
2017-03-06 04:47:23 +00:00
|
|
|
BuildServiceImpl,
|
2017-03-06 08:02:57 +00:00
|
|
|
AvatarServiceImpl,
|
2017-03-07 19:25:18 +00:00
|
|
|
DockerfileServiceImpl,
|
2017-03-12 00:48:05 +00:00
|
|
|
DataFileServiceImpl,
|
2017-04-13 02:06:40 +00:00
|
|
|
{provide: 'fileReaderFactory', useValue: () => new FileReader()},
|
2017-05-10 21:18:37 +00:00
|
|
|
{provide: 'markdownConverterFactory', useValue: (options?: ConverterOptions) => new Converter(options)},
|
|
|
|
{provide: 'BrowserPlatform', useValue: browserPlatform},
|
2017-05-25 04:42:06 +00:00
|
|
|
{provide: 'clipboardFactory', useValue: (trigger, options) => new Clipboard(trigger, options)},
|
2017-02-17 10:55:52 +00:00
|
|
|
],
|
|
|
|
})
|
2017-04-05 21:14:08 +00:00
|
|
|
export class QuayModule {
|
2017-02-17 10:55:52 +00:00
|
|
|
|
|
|
|
}
|