UNPKG

ice-utilities

Version:

Utilities for manage arrays, breadcrumb, dom elements, dates, injectors, local storage, login, objects, router animations, router, session storage, strings and translate utilities, encryption, for angular 6+ with ECMAScript 6 - ECMAScript 2015

26 lines (25 loc) 1.18 kB
import { Router } from '@angular/router'; export declare abstract class RouterUtils { private static router; private static dynamicDir; private static staticDir; private static dynamicDirR; private static staticDirR; private static notAllowed; private static listDir; static setRouterInstance(router?: Router): void; static setStaticDir(dir: string): void; static setDynamicDir(dir: string): void; static setNotAllowedDir(dir: string): void; static setListDir(dir: string): void; static getRerouteUrl(modulo: string, tipo: string, end?: any): string; static setDinamicDirUrl(mod: string, id: number): string; static setCustomDirUrl(sys: string, mod: string): string; static evalPerm(extra?: any): void; static getSegmentsRoute(route: string, params?: any, lista?: boolean): (any | any)[]; static getSegmentsRouteId(route: string, id: number, params?: any, lista?: boolean): (any | any)[]; static setNotAllowMen(men: string): void; static getNotAllowMen(menset: string): string; static setAllowedUrl(url: any): void; static urlNotAllowed(url: string): boolean; }