@gouvfr-anct/mediation-numerique
Version:
📚 Bibliothèque pour la cartographie de l’offre de médiation numérique.
29 lines (28 loc) • 1.62 kB
TypeScript
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ButtonType } from '@gouvfr-anct/mediation-numerique/shared';
import { GeoJson } from '../../../map/models/geojson.model';
import { Structure } from '../../../map/models/structure.model';
import { StructureRepository } from '../../repositories/structure.repository';
import * as i0 from "@angular/core";
export declare class StructureListComponent implements OnChanges {
private route;
private router;
readonly structureService: StructureRepository;
structureList: Structure[];
location: GeoJson;
selectedStructure: Structure;
displayMapMarkerId: EventEmitter<string>;
selectedMarkerId: EventEmitter<string>;
buttonTypeEnum: typeof ButtonType;
showStructureDetails: boolean;
structure: Structure;
constructor(route: ActivatedRoute, router: Router, structureService: StructureRepository);
ngOnChanges(changes: SimpleChanges): void;
showDetails(event: Structure): void;
closeDetails(): void;
handleCardHover(structure: Structure): void;
mouseLeave(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<StructureListComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<StructureListComponent, "app-structure-list", never, { "structureList": "structureList"; "location": "location"; "selectedStructure": "selectedStructure"; }, { "displayMapMarkerId": "displayMapMarkerId"; "selectedMarkerId": "selectedMarkerId"; }, never, ["[slot=structure-list-actions]", "[slot=structure-list-elements]", "*"], false>;
}