UNPKG

lct-components

Version:
58 lines (57 loc) 1.99 kB
import { ComponentFactoryResolver, ViewContainerRef, OnInit, EventEmitter, SimpleChanges, ComponentRef } from '@angular/core'; import { ModalChangeStoreComponent } from './modal/modal-change-store/modal-change-store'; import * as i0 from "@angular/core"; interface Node { nodeName: string; nodeId: string; country: string; commerce: string; } export declare class ModalTooltipDirective implements OnInit { private viewContainerRef; private resolver; constructor(viewContainerRef: ViewContainerRef, resolver: ComponentFactoryResolver); tooltipText: string; version?: string; dateVersion: string; country: string; nodes: AccessFilter[]; stores: LctNode[]; changeNode: EventEmitter<boolean>; closeModal: EventEmitter<boolean>; openModalChangeNode: EventEmitter<boolean>; isMobile: boolean; userId: string; componentRef2: ComponentRef<ModalChangeStoreComponent> | undefined; ngOnInit(): void; formatStore(): void; ngOnChanges(changes: SimpleChanges): void; onMouseEnter(): void; openModal(): void; assingStore(): void; private selectedStore; static ɵfac: i0.ɵɵFactoryDeclaration<ModalTooltipDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ModalTooltipDirective, "[lctModalTooltip]", never, { "version": "version"; "dateVersion": "dateVersion"; "country": "country"; "nodes": "nodes"; "isMobile": "isMobile"; "userId": "userId"; }, { "changeNode": "changeNode"; "closeModal": "closeModal"; "openModalChangeNode": "openModalChangeNode"; }, never>; } interface Operator { name: string; id: string; country: string; commerce: string; } interface ANode { nodeId: string; nodeName: string; } interface AccessFilter { operator: Operator; node: ANode[]; } export declare class LctNode implements Node { nodeName: string; nodeId: string; country: string; commerce: string; constructor(_operator: any, _node: any); } export {};