Spaces:
Build error
Build error
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
| import { NgModule } from '@angular/core'; | |
| import { registerLocaleData, CommonModule, DatePipe } from '@angular/common'; | |
| import { MatButtonModule } from '@angular/material/button'; | |
| import { MatButtonToggleModule } from '@angular/material/button-toggle'; | |
| import { MatCardModule } from '@angular/material/card'; | |
| import { MatCheckboxModule } from '@angular/material/checkbox'; | |
| import { MatAutocompleteModule } from '@angular/material/autocomplete'; | |
| import { MatNativeDateModule, MatRippleModule } from '@angular/material/core'; | |
| import { MatDialogModule } from '@angular/material/dialog'; | |
| import { MatExpansionModule } from '@angular/material/expansion'; | |
| import { MatGridListModule } from '@angular/material/grid-list'; | |
| import { MatIconModule } from '@angular/material/icon'; | |
| import { MatInputModule } from '@angular/material/input'; | |
| import { MatListModule } from '@angular/material/list'; | |
| import { MatMenuModule } from '@angular/material/menu'; | |
| import { MatTooltipModule } from '@angular/material/tooltip'; | |
| import { MatProgressBarModule } from '@angular/material/progress-bar'; | |
| import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; | |
| import { MatRadioModule } from '@angular/material/radio'; | |
| import { MatSelectModule } from '@angular/material/select'; | |
| import { MatSidenavModule } from '@angular/material/sidenav'; | |
| import { MatSlideToggleModule } from '@angular/material/slide-toggle'; | |
| import { MatSnackBarModule } from '@angular/material/snack-bar'; | |
| import { MatToolbarModule } from '@angular/material/toolbar'; | |
| import { MatTabsModule } from '@angular/material/tabs'; | |
| import { MatPaginatorModule } from '@angular/material/paginator'; | |
| import { MatSortModule } from '@angular/material/sort'; | |
| import { MatTableModule } from '@angular/material/table'; | |
| import { MatDatepickerModule } from '@angular/material/datepicker'; | |
| import { MatChipsModule } from '@angular/material/chips'; | |
| import { MatBadgeModule } from '@angular/material/badge'; | |
| import { DragDropModule } from '@angular/cdk/drag-drop'; | |
| import { ClipboardModule } from '@angular/cdk/clipboard'; | |
| import { TextFieldModule } from '@angular/cdk/text-field'; | |
| import { ScrollingModule } from '@angular/cdk/scrolling'; | |
| import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | |
| import { AppComponent } from './app.component'; | |
| import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
| import { PostsService } from 'app/posts.services'; | |
| import { RouterModule } from '@angular/router'; | |
| import { AppRoutingModule } from './app-routing.module'; | |
| import { MainComponent } from './main/main.component'; | |
| import { PlayerComponent } from './player/player.component'; | |
| import { VgControlsModule } from '@videogular/ngx-videogular/controls'; | |
| import { VgBufferingModule } from '@videogular/ngx-videogular/buffering'; | |
| import { VgOverlayPlayModule } from '@videogular/ngx-videogular/overlay-play'; | |
| import { VgCoreModule } from '@videogular/ngx-videogular/core'; | |
| import { InputDialogComponent } from './input-dialog/input-dialog.component'; | |
| import { CreatePlaylistComponent } from './create-playlist/create-playlist.component'; | |
| import { SubscriptionsComponent } from './subscriptions/subscriptions.component'; | |
| import { SubscribeDialogComponent } from './dialogs/subscribe-dialog/subscribe-dialog.component'; | |
| import { SubscriptionComponent } from './subscription//subscription/subscription.component'; | |
| import { SubscriptionInfoDialogComponent } from './dialogs/subscription-info-dialog/subscription-info-dialog.component'; | |
| import { SettingsComponent } from './settings/settings.component'; | |
| import { NgxFileDropModule } from 'ngx-file-drop'; | |
| import { AvatarModule } from 'ngx-avatars'; | |
| import { ContentLoaderModule } from '@ngneat/content-loader'; | |
| import es from '@angular/common/locales/es'; | |
| import { AboutDialogComponent } from './dialogs/about-dialog/about-dialog.component'; | |
| import { VideoInfoDialogComponent } from './dialogs/video-info-dialog/video-info-dialog.component'; | |
| import { ArgModifierDialogComponent, HighlightPipe } from './dialogs/arg-modifier-dialog/arg-modifier-dialog.component'; | |
| import { UpdaterComponent } from './updater/updater.component'; | |
| import { UpdateProgressDialogComponent } from './dialogs/update-progress-dialog/update-progress-dialog.component'; | |
| import { ShareMediaDialogComponent } from './dialogs/share-media-dialog/share-media-dialog.component'; | |
| import { LoginComponent } from './components/login/login.component'; | |
| import { DownloadsComponent } from './components/downloads/downloads.component'; | |
| import { UserProfileDialogComponent } from './dialogs/user-profile-dialog/user-profile-dialog.component'; | |
| import { SetDefaultAdminDialogComponent } from './dialogs/set-default-admin-dialog/set-default-admin-dialog.component'; | |
| import { ModifyUsersComponent } from './components/modify-users/modify-users.component'; | |
| import { AddUserDialogComponent } from './dialogs/add-user-dialog/add-user-dialog.component'; | |
| import { ManageUserComponent } from './components/manage-user/manage-user.component'; | |
| import { ManageRoleComponent } from './components/manage-role/manage-role.component'; | |
| import { CookiesUploaderDialogComponent } from './dialogs/cookies-uploader-dialog/cookies-uploader-dialog.component'; | |
| import { LogsViewerComponent } from './components/logs-viewer/logs-viewer.component'; | |
| import { ConfirmDialogComponent } from './dialogs/confirm-dialog/confirm-dialog.component'; | |
| import { UnifiedFileCardComponent } from './components/unified-file-card/unified-file-card.component'; | |
| import { RecentVideosComponent } from './components/recent-videos/recent-videos.component'; | |
| import { EditSubscriptionDialogComponent } from './dialogs/edit-subscription-dialog/edit-subscription-dialog.component'; | |
| import { CustomPlaylistsComponent } from './components/custom-playlists/custom-playlists.component'; | |
| import { EditCategoryDialogComponent } from './dialogs/edit-category-dialog/edit-category-dialog.component'; | |
| import { TwitchChatComponent } from './components/twitch-chat/twitch-chat.component'; | |
| import { LinkifyPipe, SeeMoreComponent } from './components/see-more/see-more.component'; | |
| import { H401Interceptor } from './http.interceptor'; | |
| import { ConcurrentStreamComponent } from './components/concurrent-stream/concurrent-stream.component'; | |
| import { SkipAdButtonComponent } from './components/skip-ad-button/skip-ad-button.component'; | |
| import { TasksComponent } from './components/tasks/tasks.component'; | |
| import { UpdateTaskScheduleDialogComponent } from './dialogs/update-task-schedule-dialog/update-task-schedule-dialog.component'; | |
| import { RestoreDbDialogComponent } from './dialogs/restore-db-dialog/restore-db-dialog.component'; | |
| import { NotificationsComponent } from './components/notifications/notifications.component'; | |
| import { NotificationsListComponent } from './components/notifications-list/notifications-list.component'; | |
| import { TaskSettingsComponent } from './components/task-settings/task-settings.component'; | |
| import { GenerateRssUrlComponent } from './dialogs/generate-rss-url/generate-rss-url.component'; | |
| import { SortPropertyComponent } from './components/sort-property/sort-property.component'; | |
| import { OnlyNumberDirective } from './directives/only-number.directive'; | |
| import { ArchiveViewerComponent } from './components/archive-viewer/archive-viewer.component'; | |
| registerLocaleData(es, 'es'); | |
| ({ | |
| declarations: [ | |
| AppComponent, | |
| MainComponent, | |
| PlayerComponent, | |
| InputDialogComponent, | |
| CreatePlaylistComponent, | |
| SubscriptionsComponent, | |
| SubscribeDialogComponent, | |
| SubscriptionComponent, | |
| SubscriptionInfoDialogComponent, | |
| SettingsComponent, | |
| AboutDialogComponent, | |
| VideoInfoDialogComponent, | |
| ArgModifierDialogComponent, | |
| HighlightPipe, | |
| LinkifyPipe, | |
| UpdaterComponent, | |
| UpdateProgressDialogComponent, | |
| ShareMediaDialogComponent, | |
| LoginComponent, | |
| DownloadsComponent, | |
| UserProfileDialogComponent, | |
| SetDefaultAdminDialogComponent, | |
| ModifyUsersComponent, | |
| AddUserDialogComponent, | |
| ManageUserComponent, | |
| ManageRoleComponent, | |
| CookiesUploaderDialogComponent, | |
| LogsViewerComponent, | |
| ConfirmDialogComponent, | |
| UnifiedFileCardComponent, | |
| RecentVideosComponent, | |
| EditSubscriptionDialogComponent, | |
| CustomPlaylistsComponent, | |
| EditCategoryDialogComponent, | |
| TwitchChatComponent, | |
| SeeMoreComponent, | |
| ConcurrentStreamComponent, | |
| SkipAdButtonComponent, | |
| TasksComponent, | |
| UpdateTaskScheduleDialogComponent, | |
| RestoreDbDialogComponent, | |
| NotificationsComponent, | |
| NotificationsListComponent, | |
| TaskSettingsComponent, | |
| GenerateRssUrlComponent, | |
| SortPropertyComponent, | |
| OnlyNumberDirective, | |
| ArchiveViewerComponent | |
| ], | |
| imports: [ | |
| CommonModule, | |
| BrowserModule, | |
| BrowserAnimationsModule, | |
| MatNativeDateModule, | |
| MatRadioModule, | |
| FormsModule, | |
| MatInputModule, | |
| MatSelectModule, | |
| ReactiveFormsModule, | |
| HttpClientModule, | |
| MatToolbarModule, | |
| MatCardModule, | |
| MatSnackBarModule, | |
| MatButtonModule, | |
| MatCheckboxModule, | |
| MatSidenavModule, | |
| MatIconModule, | |
| MatListModule, | |
| MatGridListModule, | |
| MatExpansionModule, | |
| MatProgressBarModule, | |
| MatProgressSpinnerModule, | |
| MatButtonToggleModule, | |
| MatRippleModule, | |
| MatMenuModule, | |
| MatDialogModule, | |
| MatSlideToggleModule, | |
| MatAutocompleteModule, | |
| MatTabsModule, | |
| MatTooltipModule, | |
| MatPaginatorModule, | |
| MatSortModule, | |
| MatTableModule, | |
| MatDatepickerModule, | |
| MatChipsModule, | |
| MatBadgeModule, | |
| DragDropModule, | |
| ClipboardModule, | |
| TextFieldModule, | |
| ScrollingModule, | |
| NgxFileDropModule, | |
| AvatarModule, | |
| ContentLoaderModule, | |
| VgCoreModule, | |
| VgControlsModule, | |
| VgOverlayPlayModule, | |
| VgBufferingModule, | |
| RouterModule, | |
| AppRoutingModule, | |
| ], | |
| providers: [ | |
| PostsService, | |
| { provide: HTTP_INTERCEPTORS, useClass: H401Interceptor, multi: true }, | |
| DatePipe | |
| ], | |
| exports: [ | |
| HighlightPipe, | |
| LinkifyPipe | |
| ], | |
| bootstrap: [AppComponent] | |
| }) | |
| export class AppModule { } | |