diff --git a/guides/example-tx-config.yml b/guides/example-tx-config.yml index 364de2ee1..a44b1edf8 100644 --- a/guides/example-tx-config.yml +++ b/guides/example-tx-config.yml @@ -199,4 +199,4 @@ filters: source_language: en source_file: src/locale/properties/interstitials/interstitials.en.properties # path expression to translation files, must contain placeholder - translation_files_expression: src/locale/properties/interstitials/interstitials..properties \ No newline at end of file + translation_files_expression: src/locale/properties/interstitials/interstitials..properties diff --git a/src/app/authorize/authorize.module.ts b/src/app/authorize/authorize.module.ts index e5a8cd822..4dbdc64f2 100644 --- a/src/app/authorize/authorize.module.ts +++ b/src/app/authorize/authorize.module.ts @@ -37,7 +37,7 @@ import { InterstitialsModule } from '../cdk/interstitials/interstitials.module' TrustedIndividualsDropdownModule, InfoDropDownModule, MatProgressBarModule, - InterstitialsModule + InterstitialsModule, ], }) export class AuthorizeModule {} diff --git a/src/app/cdk/info-panel/info-panel/info-panel.component.spec.ts b/src/app/cdk/info-panel/info-panel/info-panel.component.spec.ts index 1cfc9e243..b2e99d7da 100644 --- a/src/app/cdk/info-panel/info-panel/info-panel.component.spec.ts +++ b/src/app/cdk/info-panel/info-panel/info-panel.component.spec.ts @@ -1,21 +1,21 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing' -import { InfoPanelComponent } from './info-panel.component'; +import { InfoPanelComponent } from './info-panel.component' describe('InfoPanelComponent', () => { - let component: InfoPanelComponent; - let fixture: ComponentFixture; + let component: InfoPanelComponent + let fixture: ComponentFixture beforeEach(() => { TestBed.configureTestingModule({ - declarations: [InfoPanelComponent] - }); - fixture = TestBed.createComponent(InfoPanelComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); + declarations: [InfoPanelComponent], + }) + fixture = TestBed.createComponent(InfoPanelComponent) + component = fixture.componentInstance + fixture.detectChanges() + }) it('should create', () => { - expect(component).toBeTruthy(); - }); -}); + expect(component).toBeTruthy() + }) +}) diff --git a/src/app/cdk/info-panel/info-panel/info-panel.component.ts b/src/app/cdk/info-panel/info-panel/info-panel.component.ts index cff766a00..7fd1c7178 100644 --- a/src/app/cdk/info-panel/info-panel/info-panel.component.ts +++ b/src/app/cdk/info-panel/info-panel/info-panel.component.ts @@ -1,10 +1,11 @@ -import { Component } from '@angular/core'; +import { Component } from '@angular/core' @Component({ selector: 'app-info-panel', templateUrl: './info-panel.component.html', - styleUrls: ['./info-panel.component.scss', './info-panel.component.scss-theme.scss'] + styleUrls: [ + './info-panel.component.scss', + './info-panel.component.scss-theme.scss', + ], }) -export class InfoPanelComponent { - -} +export class InfoPanelComponent {} diff --git a/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss b/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss index e02db7e34..694925408 100644 --- a/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss +++ b/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss @@ -1,12 +1,10 @@ @import '../../../../assets/scss/orcid.spacing.scss'; - h2 { margin-top: 16px; margin-bottom: 16px; - } -.published-email-container{ +.published-email-container { display: flex; align-items: center; } @@ -65,7 +63,6 @@ mat-divider { margin-bottom: 16px; } - mat-divider.last { margin-top: 32px; margin-bottom: 32px; diff --git a/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss-theme.scss b/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss-theme.scss index 150c755f1..d6828643e 100644 --- a/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss-theme.scss +++ b/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.scss-theme.scss @@ -12,13 +12,11 @@ background-color: mat.get-color-from-palette($primary, 700); } - ::ng-deep{ + ::ng-deep { .mat-divider.green-divider { border: solid 1px mat.get-color-from-palette($foreground, brand-primary); } } } - - @include theme($orcid-app-theme); diff --git a/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.ts b/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.ts index 526713901..6678b9712 100644 --- a/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.ts +++ b/src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.ts @@ -61,9 +61,8 @@ export class ShareEmailsDomainsComponent { accept(answear: boolean) { this.domainToMakePublic = this.form.value.items - .filter((item) => item.selected) - .map((item) => item.email) - + .filter((item) => item.selected) + .map((item) => item.email) if (answear && this.domainToMakePublic.length > 0) { this.userEmailsJson.emailDomains.forEach((domain) => { diff --git a/src/app/cdk/platform-info/browserlist.regexp.ts b/src/app/cdk/platform-info/browserlist.regexp.ts index bf8c4aa5c..545a90290 100644 --- a/src/app/cdk/platform-info/browserlist.regexp.ts +++ b/src/app/cdk/platform-info/browserlist.regexp.ts @@ -1,2 +1,3 @@ // tslint:disable-next-line: max-line-length -export const BROWSERLIST_REGEXP = /((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(13[_.]4|13[_.]([5-9]|\d{2,})|13[_.]7|13[_.]([8-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})[_.]\d+|14[_.]0|14[_.]([1-9]|\d{2,})|14[_.]4|14[_.]([5-9]|\d{2,})|14[_.]8|14[_.](9|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})[_.]\d+|15[_.]0|15[_.]([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[_.]\d+|16[_.]0|16[_.]([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})[_.]\d+|17[_.]0|17[_.]([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})[_.]\d+)(?:[_.]\d+)?)|((?:Chrome).*OPR\/(74|(7[5-9]|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Edge\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))(?:\.\d+)?)|((Chromium|Chrome)\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))\.\d+(?:\.\d+)?)|(Version\/(13\.1|13\.([2-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+|14\.0|14\.([1-9]|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})\.\d+|15\.0|15\.([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+|16\.0|16\.([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})\.\d+|17\.0|17\.([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})\.\d+)(?:\.\d+)? Safari\/)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+(pre|[ab]\d+[a-z]*)?)/ +export const BROWSERLIST_REGEXP = + /((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(13[_.]4|13[_.]([5-9]|\d{2,})|13[_.]7|13[_.]([8-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})[_.]\d+|14[_.]0|14[_.]([1-9]|\d{2,})|14[_.]4|14[_.]([5-9]|\d{2,})|14[_.]8|14[_.](9|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})[_.]\d+|15[_.]0|15[_.]([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[_.]\d+|16[_.]0|16[_.]([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})[_.]\d+|17[_.]0|17[_.]([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})[_.]\d+)(?:[_.]\d+)?)|((?:Chrome).*OPR\/(74|(7[5-9]|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Edge\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))(?:\.\d+)?)|((Chromium|Chrome)\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))\.\d+(?:\.\d+)?)|(Version\/(13\.1|13\.([2-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+|14\.0|14\.([1-9]|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})\.\d+|15\.0|15\.([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+|16\.0|16\.([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})\.\d+|17\.0|17\.([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})\.\d+)(?:\.\d+)? Safari\/)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+(pre|[ab]\d+[a-z]*)?)/