UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

46 lines (45 loc) 2.01 kB
import { ProductEntry } from '../core/public-api'; import * as i0 from "@angular/core"; export declare const PLATFORM_INFO_CM_NAME = "platform-info"; export declare const PLATFORM_NAME_ZH_KEY = "platformNameZH"; export declare const PLATFORM_NAME_EN_KEY = "platformNameEN"; export declare const DEFAULT_PLATFORM_NAME_ZH_KEY = "originPlatformNameZH"; export declare const DEFAULT_PLATFORM_NAME_EN_KEY = "originPlatformNameEN"; export declare const PORTAL_MAIN_TITLE_EN_KEY = "portalMainTitleEN"; export declare const PORTAL_MAIN_TITLE_ZH_KEY = "portalMainTitleZH"; export declare const PORTAL_SUB_TITLE_ZH_KEY = "portalSubTitleZH"; export declare const PORTAL_SUB_TITLE_EN_KEY = "portalSubTitleEN"; export declare const PORTAL_UI_CM_NAME = "ui-portal"; export declare const PORTAL_UI_CM_NAME_DEFAULT = "ui-portal-default"; export declare const PORTAL_TOP_IMAGE_KEY = "top-bg"; export declare const PORTAL_BOTTOM_IMAGE_KEY = "bottom-bg"; export declare const DEFAULT_PORTAL_TOP_RESOURCE_NAME = "portal-top.png"; export declare const DEFAULT_PORTAL_BOTTOM_RESOURCE_NAME = "portal-bottom.png"; export declare const DEFAULT_PORTAL_TOP_RESOURCE_URL = "images/light/portal-top.png"; export declare const DEFAULT_PORTAL_BOTTOM_RESOURCE_URL = "images/light/portal-bottom.png"; export declare class PlatformUIService { private readonly k8sApi; private readonly theme; getEntries(): import("rxjs").Observable<ProductEntry[]>; getPlatformInfo(): import("rxjs").Observable<{ name: { zh: string; en: string; }; mainTitle: { zh: string; en: string; }; subTitle: { zh: string; en: string; }; }>; getBackgroundImages(): import("rxjs").Observable<{ topImage: string; bottomImage: string; hasCustomized: boolean; }>; static ɵfac: i0.ɵɵFactoryDeclaration<PlatformUIService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<PlatformUIService>; }