com.phloxui
Version:
PhloxUI Ng2+ Framework
82 lines (81 loc) • 3 kB
TypeScript
/**
* <p style="text-indent: 2em;">
* A model class representing a single <code>Phlox Application</code>. An <code>application</code> may also consist of its <code>settings</code> and
* common <code>I18N</code>. An instance of this class is usually obtained from [[PhloxAppInfoService.getAppInfo]] which may load the info from backend
* server to return the user configurations such as language settings, user preferences, etc.
* </p>
*
* @author shiorin, tee4cute
* @see [[PhloxAppInfoService]]
*/
export declare class PhloxAppInfo {
static readonly DEFAULT_DATA_LANGUAGES: any[];
static readonly DEFAULT_COUNTRY_CODE: string;
static readonly DEFAULT_RIPPLE_EFFECT_DURATION: number;
static readonly DEFAULT_RIPPLE_EFFECT_WIDTH_RATIO: number;
static readonly DEFAULT_RIPPLE_EFFECT_HEIGHT_RATIO: number;
static readonly DEFAULT_RIPPLE_EFFECT_REMOVE_DURATION: number;
static readonly DEFAULT_APP_SWITCHER_POPOVER_DELAY: number;
static readonly DEFAULT_WIZARD_HEADER_HEIGHT: number;
static readonly DEFAULT_WIZARD_FOOTER_HEIGHT: number;
static readonly DEFAULT_OBJECT_ID_FIELD_NAME: string;
static readonly DEFAULT_LANGUAGE_FIELD_NAME: string;
static readonly DEFAULT_CONNECTION_TIMEOUT: number;
static readonly DEFAULT_UI_SYSTEM_CLOCK_INTERVAL: number;
static readonly DEFAULT_UI_ANIMATE_INTERVAL: number;
static readonly DEFAULT_MAX_NOTIFICATIONS: number;
static readonly DEFAULT_PAGE_LOAD_TIMEOUT: number;
static readonly DEFAULT_SYSTEM_YEAR_OFFSET: number;
static readonly DEFAULT_DATE_PATTERN: string;
static readonly DEFAULT_TIME_PATTERN: string;
static readonly DEFAULT_YEAR_OFFSET: number;
static readonly DEFAULT_TIMEZONE: number;
static readonly DEFAULT_DATA_DATE_TIME_PATTERN: string;
static readonly DEFAULT_DATA_DATE_PATTERN: string;
static readonly DEFAULT_DATA_TIME_PATTERN: string;
static readonly DEFAULT_DATA_TIME_ZONE: number;
static readonly DEFAULT_TIME_OUT_LOGIN_USER_SESSION: number;
/**
* An application name.
*/
name: string;
/**
* An application tagline.
*/
tagline: string;
/**
* An application icon url.
*/
iconURL: string;
/**
* An application group.
*/
group: string;
/**
* An application settings object.
*/
settings: any;
/**
* An application I18N object.
*/
i18n: any;
/**
* An application resources object.
*/
resources: any;
constructor(name: string, tagline: string, group: string, iconURL: string);
getName(): string;
setName(name: string): void;
getTagline(): string;
setTagline(tagline: string): void;
getSettings(): any;
setSettings(settings: any): void;
getIconURL(): string;
setIconURL(iconURL: string): void;
getGroup(): string;
setGroup(group: string): void;
getI18n(): any;
setI18n(i18n: any): void;
getResources(): any;
setResources(resources: any): void;
}