@flusys/ng-shared 6.0.2 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,9 @@ const SHARED_MESSAGES = {
17
17
  // Backend shared auth key (used by exception filters)
18
18
  'auth.token.required': 'Refresh token is required',
19
19
  'auth.token.invalid': 'Invalid token',
20
+ 'auth.token.expired': 'Token has expired',
21
+ 'auth.token.revoked': 'Token has been revoked',
22
+ 'auth.session.expired.title': 'Session Expired',
20
23
  'entity.belongs.another.company': '{{entity}} belongs to another company',
21
24
  'auth.company.no.access': 'No access to this company',
22
25
  // Backend error keys (used by exception filters)
@@ -381,10 +384,10 @@ function getFileIconClass(contentType) {
381
384
  return 'volume-up';
382
385
  if (contentType.includes('pdf'))
383
386
  return 'file-pdf';
384
- if (contentType.includes('word') || contentType.includes('document'))
385
- return 'file-word';
386
387
  if (contentType.includes('excel') || contentType.includes('spreadsheet'))
387
388
  return 'file-excel';
389
+ if (contentType.includes('word') || contentType.includes('document'))
390
+ return 'file-word';
388
391
  return 'file';
389
392
  }
390
393
  function formatFileSize(sizeInKb) {