@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
35 lines (31 loc) • 1.73 kB
TypeScript
import { Router, ActivatedRoute } from '@angular/router';
import { Route, ExtensionFactory, Tab } from '@c8y/ngx-components';
import * as i0 from '@angular/core';
import { Observable } from 'rxjs';
declare const BRANDING_EDIT_CHILD_ROUTES: Route[];
declare const BRANDING_ROUTING: Route[];
declare class BrandingVariantsAndAssetsTabFactory implements ExtensionFactory<Tab> {
private router;
tabs: Tab[];
constructor(router: Router);
get(): Tab[];
static ɵfac: i0.ɵɵFactoryDeclaration<BrandingVariantsAndAssetsTabFactory, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<BrandingVariantsAndAssetsTabFactory>;
}
declare class SharedBrandingModule {
static ɵfac: i0.ɵɵFactoryDeclaration<SharedBrandingModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedBrandingModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<SharedBrandingModule>;
}
declare const lightThemeTabName: "Light theme";
declare const genericTabName: "Generic";
declare class BrandingTabFactory implements ExtensionFactory<Tab> {
get(activatedRoute?: ActivatedRoute): Observable<Tab | Tab[]>;
protected shouldShowTab$(): Observable<boolean>;
protected getPathForBranding<T extends string>(brandingName: string, subPath: T): `branding-editor/variants/${string}/edit/${T}`;
protected getTabsForVersion(name: string): Tab[];
static ɵfac: i0.ɵɵFactoryDeclaration<BrandingTabFactory, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<BrandingTabFactory>;
}
export { BRANDING_EDIT_CHILD_ROUTES, BRANDING_ROUTING, BrandingTabFactory, BrandingVariantsAndAssetsTabFactory, SharedBrandingModule, genericTabName, lightThemeTabName };
//# sourceMappingURL=index.d.ts.map