From 41b15c892192073828458d007256a9dfdf3bb6fb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Jul 2019 10:44:21 +0200 Subject: Update client dependencies --- .../src/app/shared/images/global-icon.component.ts | 92 +++++++++++----------- client/src/app/shared/instance/follow.service.ts | 2 +- 2 files changed, 47 insertions(+), 47 deletions(-) (limited to 'client/src/app/shared') 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 @@ import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core' const icons = { - 'add': require('../../../assets/images/global/add.html'), - 'user': require('../../../assets/images/global/user.html'), - 'sign-out': require('../../../assets/images/global/sign-out.html'), - 'syndication': require('../../../assets/images/global/syndication.html'), - 'help': require('../../../assets/images/global/help.html'), - 'sparkle': require('../../../assets/images/global/sparkle.html'), - 'alert': require('../../../assets/images/global/alert.html'), - 'cloud-error': require('../../../assets/images/global/cloud-error.html'), - 'user-add': require('../../../assets/images/global/user-add.html'), - 'no': require('../../../assets/images/global/no.html'), - 'cloud-download': require('../../../assets/images/global/cloud-download.html'), - 'undo': require('../../../assets/images/global/undo.html'), - 'history': require('../../../assets/images/global/history.html'), - 'circle-tick': require('../../../assets/images/global/circle-tick.html'), - 'cog': require('../../../assets/images/global/cog.html'), - 'download': require('../../../assets/images/global/download.html'), - 'go': require('../../../assets/images/menu/go.html'), - 'edit': require('../../../assets/images/global/edit.html'), - 'im-with-her': require('../../../assets/images/global/im-with-her.html'), - 'delete': require('../../../assets/images/global/delete.html'), - 'server': require('../../../assets/images/global/server.html'), - 'cross': require('../../../assets/images/global/cross.html'), - 'validate': require('../../../assets/images/global/validate.html'), - 'tick': require('../../../assets/images/global/tick.html'), - 'dislike': require('../../../assets/images/video/dislike.html'), - 'heart': require('../../../assets/images/video/heart.html'), - 'like': require('../../../assets/images/video/like.html'), - 'more-horizontal': require('../../../assets/images/global/more-horizontal.html'), - 'more-vertical': require('../../../assets/images/global/more-vertical.html'), - 'share': require('../../../assets/images/video/share.html'), - 'upload': require('../../../assets/images/video/upload.html'), - 'playlist-add': require('../../../assets/images/video/playlist-add.html'), - 'play': require('../../../assets/images/global/play.html'), - 'playlists': require('../../../assets/images/global/playlists.html'), - 'about': require('../../../assets/images/menu/about.html'), - 'globe': require('../../../assets/images/menu/globe.html'), - 'home': require('../../../assets/images/menu/home.html'), - 'recently-added': require('../../../assets/images/menu/recently-added.html'), - 'trending': require('../../../assets/images/menu/trending.html'), - 'videos': require('../../../assets/images/global/videos.html'), - 'folder': require('../../../assets/images/global/folder.html'), - 'administration': require('../../../assets/images/menu/administration.html'), - 'subscriptions': require('../../../assets/images/menu/subscriptions.html'), - 'users': require('../../../assets/images/global/users.html'), - 'search': require('../../../assets/images/global/search.html'), - 'refresh': require('../../../assets/images/global/refresh.html') + 'add': require('!!raw-loader?!../../../assets/images/global/add.svg'), + 'user': require('!!raw-loader?!../../../assets/images/global/user.svg'), + 'sign-out': require('!!raw-loader?!../../../assets/images/global/sign-out.svg'), + 'syndication': require('!!raw-loader?!../../../assets/images/global/syndication.svg'), + 'help': require('!!raw-loader?!../../../assets/images/global/help.svg'), + 'sparkle': require('!!raw-loader?!../../../assets/images/global/sparkle.svg'), + 'alert': require('!!raw-loader?!../../../assets/images/global/alert.svg'), + 'cloud-error': require('!!raw-loader?!../../../assets/images/global/cloud-error.svg'), + 'user-add': require('!!raw-loader?!../../../assets/images/global/user-add.svg'), + 'no': require('!!raw-loader?!../../../assets/images/global/no.svg'), + 'cloud-download': require('!!raw-loader?!../../../assets/images/global/cloud-download.svg'), + 'undo': require('!!raw-loader?!../../../assets/images/global/undo.svg'), + 'history': require('!!raw-loader?!../../../assets/images/global/history.svg'), + 'circle-tick': require('!!raw-loader?!../../../assets/images/global/circle-tick.svg'), + 'cog': require('!!raw-loader?!../../../assets/images/global/cog.svg'), + 'download': require('!!raw-loader?!../../../assets/images/global/download.svg'), + 'go': require('!!raw-loader?!../../../assets/images/menu/go.svg'), + 'edit': require('!!raw-loader?!../../../assets/images/global/edit.svg'), + 'im-with-her': require('!!raw-loader?!../../../assets/images/global/im-with-her.svg'), + 'delete': require('!!raw-loader?!../../../assets/images/global/delete.svg'), + 'server': require('!!raw-loader?!../../../assets/images/global/server.svg'), + 'cross': require('!!raw-loader?!../../../assets/images/global/cross.svg'), + 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg'), + 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg'), + 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg'), + 'heart': require('!!raw-loader?!../../../assets/images/video/heart.svg'), + 'like': require('!!raw-loader?!../../../assets/images/video/like.svg'), + 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg'), + 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg'), + 'share': require('!!raw-loader?!../../../assets/images/video/share.svg'), + 'upload': require('!!raw-loader?!../../../assets/images/video/upload.svg'), + 'playlist-add': require('!!raw-loader?!../../../assets/images/video/playlist-add.svg'), + 'play': require('!!raw-loader?!../../../assets/images/global/play.svg'), + 'playlists': require('!!raw-loader?!../../../assets/images/global/playlists.svg'), + 'about': require('!!raw-loader?!../../../assets/images/menu/about.svg'), + 'globe': require('!!raw-loader?!../../../assets/images/menu/globe.svg'), + 'home': require('!!raw-loader?!../../../assets/images/menu/home.svg'), + 'recently-added': require('!!raw-loader?!../../../assets/images/menu/recently-added.svg'), + 'trending': require('!!raw-loader?!../../../assets/images/menu/trending.svg'), + 'videos': require('!!raw-loader?!../../../assets/images/global/videos.svg'), + 'folder': require('!!raw-loader?!../../../assets/images/global/folder.svg'), + 'administration': require('!!raw-loader?!../../../assets/images/menu/administration.svg'), + 'subscriptions': require('!!raw-loader?!../../../assets/images/menu/subscriptions.svg'), + 'users': require('!!raw-loader?!../../../assets/images/global/users.svg'), + 'search': require('!!raw-loader?!../../../assets/images/global/search.svg'), + 'refresh': require('!!raw-loader?!../../../assets/images/global/refresh.svg') } 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 @@ import { catchError, map } from 'rxjs/operators' import { HttpClient, HttpParams } from '@angular/common/http' import { Injectable } from '@angular/core' -import { SortMeta } from 'primeng/primeng' import { Observable } from 'rxjs' import { ActorFollow, ResultList } from '@shared/index' import { environment } from '../../../environments/environment' import { RestExtractor, RestPagination, RestService } from '../rest' +import { SortMeta } from 'primeng/api' @Injectable() export class FollowService { -- cgit v1.2.3