Skip to content

Commit

Permalink
fix: lint user card and tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrt committed Aug 5, 2024
1 parent b1c9bb3 commit 92e9745
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 91 deletions.
134 changes: 67 additions & 67 deletions projects/demo-app/src/app/user-card/user-card-demo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,77 +44,77 @@ export class UserCardDemoComponent {

public constructor() {
this.user1 = {
title: "Docteur",
firstname: "Jean",
lastname: "PATATE",
initials: "jpat",
type: "Type",
email: "[email protected]",
role: "Medecin",
groupFunctionLabel: "Group",
familyCode: "Infirmier-e",
functionSefName: "SefNameFunction",
functionSefCode: "SefCodeFunction",
organisation: "HUG",
speciality: "Neurochirurgie",
specialty1: "Dermatologie",
specialty2: "Pedicure",
esoN3Label: "EsoN3Label",
login: "PatateLogin",
phone: "+44 150 509 39",
bip: "8859595",
mobile: "+44 150 509 39",
address: "Carouge, 7 Rue St Julien",
city: "Carouge",
zipCode: "1227"
title: 'Docteur',
firstname: 'Jean',
lastname: 'PATATE',
initials: 'jpat',
type: 'Type',
email: '[email protected]',
role: 'Medecin',
groupFunctionLabel: 'Group',
familyCode: 'Infirmier-e',
functionSefName: 'SefNameFunction',
functionSefCode: 'SefCodeFunction',
organisation: 'HUG',
speciality: 'Neurochirurgie',
specialty1: 'Dermatologie',
specialty2: 'Pedicure',
esoN3Label: 'EsoN3Label',
login: 'PatateLogin',
phone: '+44 150 509 39',
bip: '8859595',
mobile: '+44 150 509 39',
address: 'Carouge, 7 Rue St Julien',
city: 'Carouge',
zipCode: '1227'
};
this.user2 = {
title: "Monsieur",
firstname: "Albert",
lastname: "Lullin",
initials: "alul",
type: "Type",
email: "[email protected]",
role: "Medecin",
groupFunctionLabel: "Group",
familyCode: "Médecin dentiste",
functionSefName: "SefNameFunction",
functionSefCode: "SefCodeFunction",
organisation: "HUG",
speciality: "Neurochirurgie",
esoN3Label: "EsoN3Label",
login: "LullinLogin",
phone: "+44 150 509 39",
bip: "8859595",
mobile: "+44 150 509 39",
address: "Lucerne, 0 James tutuche ",
city: "Lucerne",
zipCode: "6006"
title: 'Monsieur',
firstname: 'Albert',
lastname: 'Lullin',
initials: 'alul',
type: 'Type',
email: '[email protected]',
role: 'Medecin',
groupFunctionLabel: 'Group',
familyCode: 'Médecin dentiste',
functionSefName: 'SefNameFunction',
functionSefCode: 'SefCodeFunction',
organisation: 'HUG',
speciality: 'Neurochirurgie',
esoN3Label: 'EsoN3Label',
login: 'LullinLogin',
phone: '+44 150 509 39',
bip: '8859595',
mobile: '+44 150 509 39',
address: 'Lucerne, 0 James tutuche ',
city: 'Lucerne',
zipCode: '6006'
};
this.user3 = {
title: "Madame",
firstname: "Ludivine",
lastname: "Coluche",
initials: "lcol",
type: "Type",
email: "[email protected]",
role: "Infirmière",
groupFunctionLabel: "Group",
familyCode: "Médico-technique",
functionSefName: "SefNameFunction",
functionSefCode: "SefCodeFunction",
organisation: "HUG",
speciality: "Neurochirurgie",
specialty1: "Dermatologie",
specialty2: "Pedicure",
esoN3Label: "EsoN3Label",
login: "LddsdsdLogin",
phone: "+44 150 509 39",
bip: "8859595",
mobile: "+44 150 509 39",
address: "Carouge, 7 Rue St Julien",
city: "Carouge",
zipCode: "1227"
title: 'Madame',
firstname: 'Ludivine',
lastname: 'Coluche',
initials: 'lcol',
type: 'Type',
email: '[email protected]',
role: 'Infirmière',
groupFunctionLabel: 'Group',
familyCode: 'Médico-technique',
functionSefName: 'SefNameFunction',
functionSefCode: 'SefCodeFunction',
organisation: 'HUG',
speciality: 'Neurochirurgie',
specialty1: 'Dermatologie',
specialty2: 'Pedicure',
esoN3Label: 'EsoN3Label',
login: 'LddsdsdLogin',
phone: '+44 150 509 39',
bip: '8859595',
mobile: '+44 150 509 39',
address: 'Carouge, 7 Rue St Julien',
city: 'Carouge',
zipCode: '1227'
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,32 +45,32 @@ export class UserTooltipDemoComponent {

public constructor() {
this.user1 = {
title: "Docteur",
firstname: "Jean",
lastname: "PATATE",
initials: "jpat",
type: "Type",
email: "[email protected]",
role: "Medecin",
groupFunctionLabel: "Group",
familyCode: "Infirmier-e",
functionSefName: "SefNameFunction",
functionSefCode: "SefCodeFunction",
organisation: "HUG",
speciality: "Neurochirurgie",
specialty1: "Dermatologie",
specialty2: "Pedicure",
esoN3Label: "EsoN3Label",
login: "PatateLogin",
phone: "+44 150 509 39",
bip: "8859595",
mobile: "+44 150 509 39",
address: "Carouge, 7 Rue St Julien",
city: "Carouge",
zipCode: "1227"
title: 'Docteur',
firstname: 'Jean',
lastname: 'PATATE',
initials: 'jpat',
type: 'Type',
email: '[email protected]',
role: 'Medecin',
groupFunctionLabel: 'Group',
familyCode: 'Infirmier-e',
functionSefName: 'SefNameFunction',
functionSefCode: 'SefCodeFunction',
organisation: 'HUG',
speciality: 'Neurochirurgie',
specialty1: 'Dermatologie',
specialty2: 'Pedicure',
esoN3Label: 'EsoN3Label',
login: 'PatateLogin',
phone: '+44 150 509 39',
bip: '8859595',
mobile: '+44 150 509 39',
address: 'Carouge, 7 Rue St Julien',
city: 'Carouge',
zipCode: '1227'
};
}

protected userTooltip$(): (element: HTMLElement) => Observable<void> {
return (element: HTMLElement): Observable<void> => this.userTooltipService.open$(element, this.user1);
}
Expand Down

0 comments on commit 92e9745

Please sign in to comment.