diff options
Diffstat (limited to 'client/src/app')
9 files changed, 54 insertions, 54 deletions
diff --git a/client/src/app/+admin/admin.module.ts b/client/src/app/+admin/admin.module.ts index 256b7e1f5..9c56b5750 100644 --- a/client/src/app/+admin/admin.module.ts +++ b/client/src/app/+admin/admin.module.ts | |||
@@ -25,7 +25,7 @@ import { PluginsComponent } from '@app/+admin/plugins/plugins.component' | |||
25 | import { PluginListInstalledComponent } from '@app/+admin/plugins/plugin-list-installed/plugin-list-installed.component' | 25 | import { PluginListInstalledComponent } from '@app/+admin/plugins/plugin-list-installed/plugin-list-installed.component' |
26 | import { PluginSearchComponent } from '@app/+admin/plugins/plugin-search/plugin-search.component' | 26 | import { PluginSearchComponent } from '@app/+admin/plugins/plugin-search/plugin-search.component' |
27 | import { PluginShowInstalledComponent } from '@app/+admin/plugins/plugin-show-installed/plugin-show-installed.component' | 27 | import { PluginShowInstalledComponent } from '@app/+admin/plugins/plugin-show-installed/plugin-show-installed.component' |
28 | import { SelectButtonModule } from 'primeng/primeng' | 28 | import { SelectButtonModule } from 'primeng/selectbutton' |
29 | import { PluginApiService } from '@app/+admin/plugins/shared/plugin-api.service' | 29 | import { PluginApiService } from '@app/+admin/plugins/shared/plugin-api.service' |
30 | 30 | ||
31 | @NgModule({ | 31 | @NgModule({ |
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.ts b/client/src/app/+admin/follows/followers-list/followers-list.component.ts index e25d9ab66..eb3137e26 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.ts +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { ConfirmService, Notifier } from '@app/core' | 2 | import { ConfirmService, Notifier } from '@app/core' |
3 | import { SortMeta } from 'primeng/primeng' | 3 | import { SortMeta } from 'primeng/api' |
4 | import { ActorFollow } from '../../../../../../shared/models/actors/follow.model' | 4 | import { ActorFollow } from '../../../../../../shared/models/actors/follow.model' |
5 | import { RestPagination, RestTable } from '../../../shared' | 5 | import { RestPagination, RestTable } from '../../../shared' |
6 | import { FollowService } from '@app/shared/instance/follow.service' | 6 | import { FollowService } from '@app/shared/instance/follow.service' |
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.ts b/client/src/app/+admin/follows/following-list/following-list.component.ts index ded616624..b97923f04 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.ts +++ b/client/src/app/+admin/follows/following-list/following-list.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { Notifier } from '@app/core' | 2 | import { Notifier } from '@app/core' |
3 | import { SortMeta } from 'primeng/primeng' | 3 | import { SortMeta } from 'primeng/api' |
4 | import { ActorFollow } from '../../../../../../shared/models/actors/follow.model' | 4 | import { ActorFollow } from '../../../../../../shared/models/actors/follow.model' |
5 | import { ConfirmService } from '../../../core/confirm/confirm.service' | 5 | import { ConfirmService } from '../../../core/confirm/confirm.service' |
6 | import { RestPagination, RestTable } from '../../../shared' | 6 | import { RestPagination, RestTable } from '../../../shared' |
diff --git a/client/src/app/+admin/system/jobs/job.service.ts b/client/src/app/+admin/system/jobs/job.service.ts index b96dc3359..1daae8f03 100644 --- a/client/src/app/+admin/system/jobs/job.service.ts +++ b/client/src/app/+admin/system/jobs/job.service.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { catchError, map } from 'rxjs/operators' | 1 | import { catchError, map } from 'rxjs/operators' |
2 | import { HttpClient, HttpParams } from '@angular/common/http' | 2 | import { HttpClient, HttpParams } from '@angular/common/http' |
3 | import { Injectable } from '@angular/core' | 3 | import { Injectable } from '@angular/core' |
4 | import { SortMeta } from 'primeng/primeng' | 4 | import { SortMeta } from 'primeng/api' |
5 | import { Observable } from 'rxjs' | 5 | import { Observable } from 'rxjs' |
6 | import { ResultList } from '../../../../../../shared' | 6 | import { ResultList } from '../../../../../../shared' |
7 | import { JobState } from '../../../../../../shared/models' | 7 | import { JobState } from '../../../../../../shared/models' |
diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts index ebfb52779..b24353ca6 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.ts +++ b/client/src/app/+admin/system/jobs/jobs.component.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { peertubeLocalStorage } from '@app/shared/misc/peertube-local-storage' | 2 | import { peertubeLocalStorage } from '@app/shared/misc/peertube-local-storage' |
3 | import { Notifier } from '@app/core' | 3 | import { Notifier } from '@app/core' |
4 | import { SortMeta } from 'primeng/primeng' | 4 | import { SortMeta } from 'primeng/api' |
5 | import { Job } from '../../../../../../shared/index' | 5 | import { Job } from '../../../../../../shared/index' |
6 | import { JobState } from '../../../../../../shared/models' | 6 | import { JobState } from '../../../../../../shared/models' |
7 | import { RestPagination, RestTable } from '../../../shared' | 7 | import { RestPagination, RestTable } from '../../../shared' |
diff --git a/client/src/app/+my-account/my-account.module.ts b/client/src/app/+my-account/my-account.module.ts index 01dde5bb6..571f46de9 100644 --- a/client/src/app/+my-account/my-account.module.ts +++ b/client/src/app/+my-account/my-account.module.ts | |||
@@ -37,7 +37,7 @@ import { | |||
37 | } from '@app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component' | 37 | } from '@app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component' |
38 | import { DragDropModule } from '@angular/cdk/drag-drop' | 38 | import { DragDropModule } from '@angular/cdk/drag-drop' |
39 | import { MyAccountChangeEmailComponent } from '@app/+my-account/my-account-settings/my-account-change-email' | 39 | import { MyAccountChangeEmailComponent } from '@app/+my-account/my-account-settings/my-account-change-email' |
40 | import { MultiSelectModule } from 'primeng/primeng' | 40 | import { MultiSelectModule } from 'primeng/multiselect' |
41 | import { MyAccountInterfaceSettingsComponent } from '@app/+my-account/my-account-settings/my-account-interface' | 41 | import { MyAccountInterfaceSettingsComponent } from '@app/+my-account/my-account-settings/my-account-interface' |
42 | 42 | ||
43 | @NgModule({ | 43 | @NgModule({ |
diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts index 5b525dec1..a56674b58 100644 --- a/client/src/app/shared/images/global-icon.component.ts +++ b/client/src/app/shared/images/global-icon.component.ts | |||
@@ -1,52 +1,52 @@ | |||
1 | import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core' | 1 | import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core' |
2 | 2 | ||
3 | const icons = { | 3 | const icons = { |
4 | 'add': require('../../../assets/images/global/add.html'), | 4 | 'add': require('!!raw-loader?!../../../assets/images/global/add.svg'), |
5 | 'user': require('../../../assets/images/global/user.html'), | 5 | 'user': require('!!raw-loader?!../../../assets/images/global/user.svg'), |
6 | 'sign-out': require('../../../assets/images/global/sign-out.html'), | 6 | 'sign-out': require('!!raw-loader?!../../../assets/images/global/sign-out.svg'), |
7 | 'syndication': require('../../../assets/images/global/syndication.html'), | 7 | 'syndication': require('!!raw-loader?!../../../assets/images/global/syndication.svg'), |
8 | 'help': require('../../../assets/images/global/help.html'), | 8 | 'help': require('!!raw-loader?!../../../assets/images/global/help.svg'), |
9 | 'sparkle': require('../../../assets/images/global/sparkle.html'), | 9 | 'sparkle': require('!!raw-loader?!../../../assets/images/global/sparkle.svg'), |
10 | 'alert': require('../../../assets/images/global/alert.html'), | 10 | 'alert': require('!!raw-loader?!../../../assets/images/global/alert.svg'), |
11 | 'cloud-error': require('../../../assets/images/global/cloud-error.html'), | 11 | 'cloud-error': require('!!raw-loader?!../../../assets/images/global/cloud-error.svg'), |
12 | 'user-add': require('../../../assets/images/global/user-add.html'), | 12 | 'user-add': require('!!raw-loader?!../../../assets/images/global/user-add.svg'), |
13 | 'no': require('../../../assets/images/global/no.html'), | 13 | 'no': require('!!raw-loader?!../../../assets/images/global/no.svg'), |
14 | 'cloud-download': require('../../../assets/images/global/cloud-download.html'), | 14 | 'cloud-download': require('!!raw-loader?!../../../assets/images/global/cloud-download.svg'), |
15 | 'undo': require('../../../assets/images/global/undo.html'), | 15 | 'undo': require('!!raw-loader?!../../../assets/images/global/undo.svg'), |
16 | 'history': require('../../../assets/images/global/history.html'), | 16 | 'history': require('!!raw-loader?!../../../assets/images/global/history.svg'), |
17 | 'circle-tick': require('../../../assets/images/global/circle-tick.html'), | 17 | 'circle-tick': require('!!raw-loader?!../../../assets/images/global/circle-tick.svg'), |
18 | 'cog': require('../../../assets/images/global/cog.html'), | 18 | 'cog': require('!!raw-loader?!../../../assets/images/global/cog.svg'), |
19 | 'download': require('../../../assets/images/global/download.html'), | 19 | 'download': require('!!raw-loader?!../../../assets/images/global/download.svg'), |
20 | 'go': require('../../../assets/images/menu/go.html'), | 20 | 'go': require('!!raw-loader?!../../../assets/images/menu/go.svg'), |
21 | 'edit': require('../../../assets/images/global/edit.html'), | 21 | 'edit': require('!!raw-loader?!../../../assets/images/global/edit.svg'), |
22 | 'im-with-her': require('../../../assets/images/global/im-with-her.html'), | 22 | 'im-with-her': require('!!raw-loader?!../../../assets/images/global/im-with-her.svg'), |
23 | 'delete': require('../../../assets/images/global/delete.html'), | 23 | 'delete': require('!!raw-loader?!../../../assets/images/global/delete.svg'), |
24 | 'server': require('../../../assets/images/global/server.html'), | 24 | 'server': require('!!raw-loader?!../../../assets/images/global/server.svg'), |
25 | 'cross': require('../../../assets/images/global/cross.html'), | 25 | 'cross': require('!!raw-loader?!../../../assets/images/global/cross.svg'), |
26 | 'validate': require('../../../assets/images/global/validate.html'), | 26 | 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg'), |
27 | 'tick': require('../../../assets/images/global/tick.html'), | 27 | 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg'), |
28 | 'dislike': require('../../../assets/images/video/dislike.html'), | 28 | 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg'), |
29 | 'heart': require('../../../assets/images/video/heart.html'), | 29 | 'heart': require('!!raw-loader?!../../../assets/images/video/heart.svg'), |
30 | 'like': require('../../../assets/images/video/like.html'), | 30 | 'like': require('!!raw-loader?!../../../assets/images/video/like.svg'), |
31 | 'more-horizontal': require('../../../assets/images/global/more-horizontal.html'), | 31 | 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg'), |
32 | 'more-vertical': require('../../../assets/images/global/more-vertical.html'), | 32 | 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg'), |
33 | 'share': require('../../../assets/images/video/share.html'), | 33 | 'share': require('!!raw-loader?!../../../assets/images/video/share.svg'), |
34 | 'upload': require('../../../assets/images/video/upload.html'), | 34 | 'upload': require('!!raw-loader?!../../../assets/images/video/upload.svg'), |
35 | 'playlist-add': require('../../../assets/images/video/playlist-add.html'), | 35 | 'playlist-add': require('!!raw-loader?!../../../assets/images/video/playlist-add.svg'), |
36 | 'play': require('../../../assets/images/global/play.html'), | 36 | 'play': require('!!raw-loader?!../../../assets/images/global/play.svg'), |
37 | 'playlists': require('../../../assets/images/global/playlists.html'), | 37 | 'playlists': require('!!raw-loader?!../../../assets/images/global/playlists.svg'), |
38 | 'about': require('../../../assets/images/menu/about.html'), | 38 | 'about': require('!!raw-loader?!../../../assets/images/menu/about.svg'), |
39 | 'globe': require('../../../assets/images/menu/globe.html'), | 39 | 'globe': require('!!raw-loader?!../../../assets/images/menu/globe.svg'), |
40 | 'home': require('../../../assets/images/menu/home.html'), | 40 | 'home': require('!!raw-loader?!../../../assets/images/menu/home.svg'), |
41 | 'recently-added': require('../../../assets/images/menu/recently-added.html'), | 41 | 'recently-added': require('!!raw-loader?!../../../assets/images/menu/recently-added.svg'), |
42 | 'trending': require('../../../assets/images/menu/trending.html'), | 42 | 'trending': require('!!raw-loader?!../../../assets/images/menu/trending.svg'), |
43 | 'videos': require('../../../assets/images/global/videos.html'), | 43 | 'videos': require('!!raw-loader?!../../../assets/images/global/videos.svg'), |
44 | 'folder': require('../../../assets/images/global/folder.html'), | 44 | 'folder': require('!!raw-loader?!../../../assets/images/global/folder.svg'), |
45 | 'administration': require('../../../assets/images/menu/administration.html'), | 45 | 'administration': require('!!raw-loader?!../../../assets/images/menu/administration.svg'), |
46 | 'subscriptions': require('../../../assets/images/menu/subscriptions.html'), | 46 | 'subscriptions': require('!!raw-loader?!../../../assets/images/menu/subscriptions.svg'), |
47 | 'users': require('../../../assets/images/global/users.html'), | 47 | 'users': require('!!raw-loader?!../../../assets/images/global/users.svg'), |
48 | 'search': require('../../../assets/images/global/search.html'), | 48 | 'search': require('!!raw-loader?!../../../assets/images/global/search.svg'), |
49 | 'refresh': require('../../../assets/images/global/refresh.html') | 49 | 'refresh': require('!!raw-loader?!../../../assets/images/global/refresh.svg') |
50 | } | 50 | } |
51 | 51 | ||
52 | export type GlobalIconName = keyof typeof icons | 52 | export type GlobalIconName = keyof typeof icons |
diff --git a/client/src/app/shared/instance/follow.service.ts b/client/src/app/shared/instance/follow.service.ts index 978d60f6b..63f9e2687 100644 --- a/client/src/app/shared/instance/follow.service.ts +++ b/client/src/app/shared/instance/follow.service.ts | |||
@@ -1,11 +1,11 @@ | |||
1 | import { catchError, map } from 'rxjs/operators' | 1 | import { catchError, map } from 'rxjs/operators' |
2 | import { HttpClient, HttpParams } from '@angular/common/http' | 2 | import { HttpClient, HttpParams } from '@angular/common/http' |
3 | import { Injectable } from '@angular/core' | 3 | import { Injectable } from '@angular/core' |
4 | import { SortMeta } from 'primeng/primeng' | ||
5 | import { Observable } from 'rxjs' | 4 | import { Observable } from 'rxjs' |
6 | import { ActorFollow, ResultList } from '@shared/index' | 5 | import { ActorFollow, ResultList } from '@shared/index' |
7 | import { environment } from '../../../environments/environment' | 6 | import { environment } from '../../../environments/environment' |
8 | import { RestExtractor, RestPagination, RestService } from '../rest' | 7 | import { RestExtractor, RestPagination, RestService } from '../rest' |
8 | import { SortMeta } from 'primeng/api' | ||
9 | 9 | ||
10 | @Injectable() | 10 | @Injectable() |
11 | export class FollowService { | 11 | export class FollowService { |
diff --git a/client/src/app/videos/+video-edit/video-add.module.ts b/client/src/app/videos/+video-edit/video-add.module.ts index 3ecf96459..870f7cb97 100644 --- a/client/src/app/videos/+video-edit/video-add.module.ts +++ b/client/src/app/videos/+video-edit/video-add.module.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { ProgressBarModule } from 'primeng/primeng' | ||
3 | import { SharedModule } from '../../shared' | 2 | import { SharedModule } from '../../shared' |
4 | import { VideoEditModule } from './shared/video-edit.module' | 3 | import { VideoEditModule } from './shared/video-edit.module' |
5 | import { VideoAddRoutingModule } from './video-add-routing.module' | 4 | import { VideoAddRoutingModule } from './video-add-routing.module' |
@@ -8,6 +7,7 @@ import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.ser | |||
8 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' | 7 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' |
9 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' | 8 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' |
10 | import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component' | 9 | import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component' |
10 | import { ProgressBarModule } from 'primeng/progressbar' | ||
11 | 11 | ||
12 | @NgModule({ | 12 | @NgModule({ |
13 | imports: [ | 13 | imports: [ |